/* =========================================================================
   royale-win.com — «Qoz & Çəmən» 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: PODİUM-PİLLƏ — the stepped top edge, 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_rwt.py, not inherited — >= 4.5:1):
     on --field / --field-deep / --plate / --plate-raised
                                           : figure 16.0/16.9/15.0/13.6, paper 16.8/17.7/15.6/14.2,
                                             prose 13.7/14.4/12.8/11.6, muted 9.1/9.6/8.5/7.7,
                                             cemen 10.2/10.8/9.5/8.7, dim 6.7/7.0/6.2/5.7,
                                             amber 6.1/6.5/5.7/5.2
     on --live fill (AKTİV ice)            : figure 12.0, paper 12.6, prose 10.3, muted 6.8,
                                             dim 5.0, amber 4.6
     on --cemen-deep fill (deep meadow)    : figure 8.4, paper 8.8, prose 7.2, muted 4.8
                                             (dim 3.5 and amber 3.2 — NO)
     on --amber-deep fill (18+/RG note)    : figure 12.4, paper 12.9, prose 10.6, muted 7.0,
                                             dim 5.1, amber 4.7 (a link inside a filled note
                                             still takes --paper + underline)

   The ACCENT is the widest margin in the table (10.2:1 on the field) because a meadow green
   at l63 is simply brighter than the violets and cyans this network usually accents with —
   which is what makes it safe to set money copy in, not only buttons.
     on --cemen / --paper / --figure fill : ink 5.7 / 15.6 / 15.9
     the CTA ramp's DEEPEST stop (#3ec563) : ink 4.66 — the stop is CHOSEN for this. The
                                             natural h292 s66 l48 deepening (#2fb35a) measures
                                             3.84 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 bone metal the edge-spot inlay is made of and it measures 14.5/15.1/13.4/12.2
   — 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_rpy.js` gates --buz on ROLE (which elements may paint with
   it), not on contrast.
   ========================================================================= */

/* ---- 0. Tokens ---------------------------------------------------------- */
:root {
	--field: #17100b;
	--field-deep: #0D0906;
	--plate: #211710;
	--plate-raised: #2C1F16;
	--rule: #463225;
	--rule-lit: #6f5340;
	--paper: #f6f1ea;
	--prose: #e2dbd1;
	--muted: #bdb3a6;
	--dim: #a49889;
	--cemen: #5fd67a;
	--buz: #cfdde4;
	--cemen-deep: #134d27;
	/* The two stops the SIGNATURE needs by name. They were the donor's gradient literals
	   and nothing else, so `var(--cemen-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. */
	--cemen-lit: #93e8a4;
	--plate-top: #38281c;
	--ink: #17100b;
	--figure: #e6eef2;
	--live: #0e2f39;
	--live-lit: #4a94a8;
	--amber: #e3743d;
	--amber-deep: #42200e;

	--plate-grad: linear-gradient(183deg, #211710 0%, #17100b 100%);
	--plate-raised-grad: linear-gradient(183deg, #38281c 0%, #211710 100%);
	--cemen-grad: linear-gradient(166deg, #93e8a4 0%, #5fd67a 54%, #3ec563 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 one silhouette event the design has — 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 at a corner. */
	--r-plate: 14px;
	--r-ctl: 3px;
	--r-head: 14px;

	/* PODİUM-PİLLƏ geometry, stated once so the mark, the plate, the card and the
	   section divider are provably the same drawing at three scales.

	   The device RAISES THE TOP EDGE IN STEPS: from the left corner the outline climbs
	   three risers of --stair-h, each tread --stair-w wide, and only past the third does
	   it run flat to the right corner. The box stops being a rectangle, and it stops
	   being one in discrete increments rather than along a curve or a bevel.

	   Only the PRIMITIVES live here. --sig-stair (the silhouette) and --sig-treads (the same
	   staircase's EDGE, redrawn as three bars because the clip cuts the border away
	   underneath them) are declared on the COMPONENTS instead, in §2, and the reason is a
	   defect this build shipped and the 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 --stair-w: 20px still inherited a --sig-stair computed at
	   the root's 34px, and every card wore the plate's geometry and the plate's accent while
	   its own variables read 20px/6px — correct primitives, wrong drawing, and nothing in
	   the CSS looked wrong. Declaring the two composites on the components themselves makes
	   them resolve per element, which is what "one geometry, three scales" needs to be true
	   rather than merely intended. */
	--stair-w: 34px;       /* one tread */
	--stair-h: 9px;        /* one riser */
	--stair-tread: 1px;    /* the metal hairline that redraws the cut edge */
	--stair-tread-lit: 2px;  /* the accent tread is the heavier one — the winner's step */
	--stair-metal: var(--buz);
	--stair-lit: var(--cemen);

	--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;
	/* Young Serif defaults to OLD-STYLE figures — the render sheet shows «550» and
	   «2026» dancing across the baseline — and it carries an `lnum` feature (verified
	   in its GSUB this round), so this declaration is what actually corrects them.
	   It also stops a fallback slab (Rockwell) re-introducing the same defect. */
	font-variant-numeric: lining-nums;
}

/* A quiet walnut 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(95, 214, 122, .10), transparent 62%),
		radial-gradient(58rem 34rem at 8% 108%, rgba(207, 221, 228, .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. */
#rwt-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. */
.rwt-num,
.rwt-fact__val,
.rwt-offer__amount,
.rwt-meter__val,
.rwt-toc__num,
.rwt-steps__num {
	font-family: "Cascadia 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. */
.rwt-sec {
	padding-block: clamp(46px, 6vw, 84px);
	scroll-margin-top: 78px;
}

.rwt-sec + .rwt-sec {
	border-top: 1px solid rgba(70, 50, 37, .55);
}

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

.rwt-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. */
.rwt-lede {
	font-size: clamp(18px, 2.1vw, 21px);
	line-height: 1.62;
	color: var(--paper);
	max-width: 68ch;
}

/* ---- 2. THE SIGNATURE: PODİUM-PİLLƏ -------------------------------------- */
/*
   One idea, drawn at three scales:

   1. PİLLƏ — the stepped edge. Every plate, card, tile and the age-gate box climbs three
      risers at its TOP-LEFT corner before its top edge runs flat. The silhouette is the
      device; the box is not a rectangle any more.
   2. The TREADS are two-tone: the middle one is ÇƏMƏN and heavier, the outer two are BUZ
      hairlines. A win has one step that matters and this is it.
   3. The same three bars, laid at their own heights with the plate removed, are the
      section divider — the staircase seen alone rather than a second idea.

   Two mechanics, both load-bearing:

   * The clip CUTS THE BORDER AWAY along the ascent, so the three bars are not decoration
     over the border — they ARE the border there. Each bar is exactly one tread wide for
     that reason, and `background-origin: border-box` is mandatory, because clip-path
     resolves against the border box while background layers default to the padding box.
   * Everything is background layers, so BOTH pseudo-elements stay free. §14's cards spend
     one on the hover affordance; the 69th and 70th each lost a device to a component that
     had already spent its two.

   Padding-top on every component below is >= 3 × --stair-h + a line of air, because the
   clip removes the box above the staircase and content set there would be sliced.
*/
/* THE TWO COMPOSITES, declared on every component that wears the device.

   They cannot live on :root: a var() inside a custom property is substituted where that
   property is declared, so a root-level --sig-stair freezes the root's --stair-w and every
   card inherits the PLATE's geometry no matter what it re-declares. Declared here, each
   element resolves both from its own --stair-* values — which is why §14 can resize the
   whole device for a card by setting two numbers, and why --raised/--quiet/:hover can
   recolour the winner's step by setting one. */
.rwt-plate,
.rwt-gate__box,
.rwt-card,
.rwt-quick__card,
.rwt-game,
.rwt-rule {
	--sig-stair: polygon(
		0 calc(var(--stair-h) * 3),
		var(--stair-w) calc(var(--stair-h) * 3),
		var(--stair-w) calc(var(--stair-h) * 2),
		calc(var(--stair-w) * 2) calc(var(--stair-h) * 2),
		calc(var(--stair-w) * 2) var(--stair-h),
		calc(var(--stair-w) * 3) var(--stair-h),
		calc(var(--stair-w) * 3) 0,
		100% 0,
		100% 100%,
		0 100%);
	--sig-treads:
		linear-gradient(var(--stair-metal), var(--stair-metal)) 0 calc(var(--stair-h) * 3) / var(--stair-w) var(--stair-tread) no-repeat,
		linear-gradient(var(--stair-lit), var(--stair-lit)) var(--stair-w) calc(var(--stair-h) * 2) / var(--stair-w) var(--stair-tread-lit) no-repeat,
		linear-gradient(var(--stair-metal), var(--stair-metal)) calc(var(--stair-w) * 2) var(--stair-h) / var(--stair-w) var(--stair-tread) no-repeat;
}

.rwt-plate {
	position: relative;
	background: var(--sig-treads), var(--plate-grad);
	background-origin: border-box;
	border: 1px solid var(--rule);
	border-radius: var(--r-plate);
	clip-path: var(--sig-stair);
	padding: 34px 26px 26px;
}

/* The raised variant re-states the treads with its own ground. A rule that set only
   `background: var(--plate-raised-grad)` would drop all three bars — the shorthand resets
   every layer — which is exactly how the 58th lost a signature to a later declaration. */
.rwt-plate--raised {
	background: var(--sig-treads), var(--plate-raised-grad);
	background-origin: border-box;
	border-color: var(--rule-lit);
	--stair-lit: var(--cemen-lit);
}

/* The quiet variant is the SAME staircase with the winner's step UNLIT — the rostrum with
   nobody on it. A second volume of one drawing, not a second drawing. */
.rwt-plate--quiet {
	--stair-metal: var(--rule-lit);
	--stair-lit: var(--plate-top);
}

/* The age gate wears it too: it is the first plate a visitor sees and the one place the
   device has to introduce itself. */
.rwt-gate__box {
	background: var(--sig-treads), var(--plate-raised-grad);
	background-origin: border-box;
	clip-path: var(--sig-stair);
	--stair-lit: var(--cemen-lit);
}

/* PİLLƏ ALONE — the section divider is the three treads at their own heights with no plate
   under them, so the divider is the signature's own unit rather than a rule with a dot on
   it. Height carries the third riser plus the bar that sits on it. */
.rwt-rule {
	position: relative;
	height: calc(var(--stair-h) * 3 + var(--stair-tread));
	width: calc(var(--stair-w) * 3);
	max-width: 100%;
	margin: 6px 0 26px;
	background: var(--sig-treads);
	background-origin: border-box;
}

/* ---- 3. Chrome ---------------------------------------------------------- */
/* 3a. Skip link */
.rwt-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);
}

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

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

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

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

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

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

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

.rwt-wordmark__name {
	font-family: "Young Serif", "Rockwell", "Bookman Old Style", Georgia, serif;
	font-size: 21px;
	letter-spacing: -.012em;
	color: var(--paper);
}

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

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

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

.rwt-nav a:hover {
	color: var(--paper);
	border-color: var(--rule);
	background: rgba(44, 31, 22, .7);
}

.rwt-head__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--tap);
	padding: 10px 20px;
	background: var(--cemen-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(--cemen);
	flex: 0 0 auto;
}

.rwt-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. */
.rwt-trust {
	border-bottom: 1px solid var(--rule);
	background: rgba(33, 23, 16, .62);
}

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

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

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

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

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

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

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

.rwt-foot h2,
.rwt-foot h3 {
	font-size: 14px;
	font-family: "Encode Sans", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--paper);
	margin: 0 0 12px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.rwt-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: "Cascadia Mono", ui-monospace, monospace;
	font-size: 19px;
	font-weight: 700;
	color: var(--amber);
}

.rwt-gate__title {
	font-family: "Young Serif", "Rockwell", "Bookman Old Style", Georgia, serif;
	font-size: 26px;
	color: var(--paper);
	margin: 0 0 10px;
}

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

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

.rwt-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(23, 16, 11, .74);
	font-size: 14px;
	color: var(--prose);
}

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

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

.rwt-hero h1 {
	margin: 0 0 16px;
	/* 18ch broke «Royale Win 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;
}

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

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

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

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

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

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

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

.rwt-toc__list li {
	margin: 0;
}

.rwt-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(33, 23, 16, .55);
	color: var(--prose);
	text-decoration: none;
	font-size: 15.5px;
	line-height: 1.4;
}

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

.rwt-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(--cemen);
	flex: 0 0 auto;
	min-width: 2ch;
}

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

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

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

.rwt-quick__title {
	display: block;
	font-family: "Young Serif", "Rockwell", "Bookman Old Style", Georgia, serif;
	font-size: 20px;
	color: var(--paper);
	margin-bottom: 7px;
}

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

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

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

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

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

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

.rwt-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) */
.rwt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: var(--tap);
	padding: 14px 28px;
	background: var(--cemen-grad);
	color: var(--ink);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .025em;
	text-decoration: none;
	border: 1px solid var(--cemen);
	border-radius: var(--r-ctl);
	cursor: pointer;
}

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

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

.rwt-btn--ghost:hover {
	background: rgba(44, 31, 22, .8);
	color: var(--paper);
	border-color: var(--buz);
}

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

/* 4f. Chips */
.rwt-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(--rule);
	background: var(--plate-raised);
	color: var(--prose);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.rwt-game__name {
	display: block;
	font-family: "Young Serif", "Rockwell", "Bookman Old Style", Georgia, serif;
	font-size: 18px;
	color: var(--paper);
	margin-bottom: 6px;
}

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

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

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

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

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

/* 4j. Notes / callouts */
.rwt-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(33, 23, 16, .74);
	font-size: 15.5px;
	line-height: 1.62;
	color: var(--prose);
}

.rwt-note--warn {
	border-left-color: var(--amber);
	background: rgba(66, 32, 14, .5);
}

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

.rwt-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. */
.rwt-note--rg a,
.rwt-note--warn a {
	color: var(--paper);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

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

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

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

.rwt-tablewrap th,
.rwt-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;
}

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

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

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

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

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

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

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

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

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

.rwt-faq summary:hover {
	background: rgba(44, 31, 22, .6);
}

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

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

/* 4m. Payments rail in content */
.rwt-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.rwt-btn:focus-visible,
.rwt-head__cta:focus-visible,
.rwt-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],
.rwt-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. */
.rwt-main p,
.rwt-main li {
	font-size: max(15px, 1em);
}

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

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

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

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

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

	body {
		padding-bottom: 92px;
	}

	.rwt-head__cta {
		display: none;
	}

	:root {
		/* Three treads of 34px need 102px of top edge, and a 360px viewport minus two
		   16px gutters leaves 328px — the staircase would eat a third of it. The riser
		   keeps its height so the corner still reads as stepped rather than nibbled. */
		--stair-w: 26px;
		--stair-h: 8px;
	}

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

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

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

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

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

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

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

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

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

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

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

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

	.rwt-plate::before,
	.rwt-plate::after,
	.rwt-card::before,
	.rwt-quick__card::before,
	.rwt-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. */
.rwt-sig {
	display: grid;
	gap: 12px;
}

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

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

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

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

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

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

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

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

.rwt-anatomy__rows li:last-child {
	background: var(--cemen-deep);
}

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

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

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

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

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

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

.rwt-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(--cemen);
	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. */
.rwt-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.rwt-nav__list li {
	margin: 0;
}

.rwt-nav__mobile {
	display: none;
}

.rwt-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: 600;
}

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

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

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

.rwt-nav__panel li {
	margin: 0;
}

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

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

.rwt-nav a[aria-current],
.rwt-nav__list a[aria-current] {
	color: var(--paper);
	border-color: var(--rule);
	background: rgba(44, 31, 22, .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. */
.rwt-head__cta--quiet {
	background: transparent;
	background-image: none;
	color: var(--cemen);
	border-color: var(--rule-lit);
}

.rwt-head__cta--quiet:hover {
	background: rgba(44, 31, 22, .85);
	background-image: none;
	color: var(--paper);
	border-color: var(--buz);
}

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

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

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

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

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

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

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

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

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

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

	.rwt-nav__mobile {
		display: block;
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (min-width: 1100px) {
	.rwt-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. */
.rwt-tablewrap td a {
	display: inline-block;
	min-height: var(--tap);
	padding-block: 11px;
	box-sizing: border-box;
}

/* ---- 14. The card staircase: the same drawing, one volume quieter --------

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

     * SIZE — a card re-declares --stair-w/--stair-h and the whole polygon and all three
       bars follow, because custom properties substitute lazily. There is no second
       geometry to keep in step.
     * VOLUME — the winner's step is UNLIT on an idle card (it wears the card's own rule
       colour) and LIGHTS on hover. A card is a link; the step lighting up is the
       affordance, and the silhouette is identical in every state, which is the 69th's
       other lesson.

   No column-gap tuning is needed the way the 71st's sideways inlays needed it: this device
   stays INSIDE the box on every side. */
.rwt-card,
.rwt-quick__card,
.rwt-game {
	--stair-w: 20px;
	--stair-h: 6px;
	--stair-tread-lit: 2px;
	--stair-lit: var(--rule-lit);
	background: var(--sig-treads), var(--plate-grad);
	background-origin: border-box;
	clip-path: var(--sig-stair);
	padding-top: 26px;
}

.rwt-quick__card:hover,
.rwt-quick__card:focus-visible,
.rwt-game:hover {
	--stair-lit: var(--cemen);
}

/* The hover ground is re-stated WITH the treads for the same reason the raised plate is:
   a bare `background:` would reset all three layers and the staircase would vanish for
   exactly as long as the pointer is over it — the one state a static gate cannot see. */
.rwt-quick__card:hover {
	background: var(--sig-treads), var(--plate-raised-grad);
	background-origin: border-box;
}
