/*
 * redesign.css — bestescasino.ch front-end redesign
 * ------------------------------------------------------------------
 * Direction: dark, blue-glow ATF above the fold. Below it, EITHER the
 * white ground (the light tokens, still the default for pages 21/23/6/
 * ueber-mich) OR the dark ground carried all the way down — see the
 * `dark body` section at the foot of this file, which is switched on per
 * page by a body class and is currently the front page only.
 * Replaces the theme-options colour scheme (pink #ed006c / #ba0055),
 * which inc/redesign.php unhooks.
 *
 * Loaded AFTER style.css and dependent on it, so equal-specificity
 * rules here win. Where a rule has to beat the theme-options block
 * (in case it is ever re-enabled) it is written with an ID.
 *
 * Kept deliberately: ._logo PNG sprites, .rating star sprite,
 * .tnc full-width row footer, ._lic green (semantic "verified",
 * intentionally NOT the blue accent), and the Ubuntu webfont that is
 * already self-hosted and preloaded.
 */

:root {
	--rd-hero-1:  #040913;
	--rd-hero-2:  #08172B;
	--rd-hero-3:  #030710;

	--rd-blue:    #2AA5F5;
	--rd-blue-lo: #0D7FD4;
	--rd-blue-hi: #7FCBFF;

	/*
	 * The secondary: eggplant. --rd-plum is the client's value exactly as given,
	 * rgb(65, 13, 74) — H 291deg, S 70%, L 17%.
	 *
	 * ⚠️ IT CANNOT BE USED AS A STROKE OR AS TEXT ON THE DARK GROUND. At L 17% it
	 * measures 1.18:1 against the row panels — not dim, invisible. It is a FILL
	 * colour here: deep panels, chips, anything with light content on top.
	 *
	 * --rd-plum-lit is the same hue lifted to L 45% (and desaturated slightly, or it
	 * turns candy) until it clears 3:1, the WCAG minimum for a non-text graphic. That
	 * is the one the rating rings fade into. --rd-plum-hi is for anything that has to
	 * carry as small text on dark.
	 */
	--rd-plum:     #410D4A;
	--rd-plum-lit: #993CA9;
	--rd-plum-hi:  #C88AD8;

	/*
	 * The blue-to-eggplant ramp, in one place. The rating rings, the top pick's CTA
	 * and the hero pills all run on it, so the secondary colour arrives everywhere at
	 * the same angle and the same three stops rather than being re-mixed per component.
	 *
	 * #6E5BC6 in the middle is not filler: straight sRGB interpolation from #2AA5F5 to
	 * #993CA9 sags through a desaturated slate grey around the halfway point. The mid
	 * stop holds the chroma up across the transition.
	 */
	--rd-grad-bp: linear-gradient(120deg, #2AA5F5 0%, #6E5BC6 55%, #993CA9 100%);

	/* The eggplant note added to every hover glow. Light enough to register as a
	   colour on a dark ground -- --rd-plum itself is 1.18:1 there and would read as a
	   slightly darker shadow, not as a hue. */
	--rd-glow-plum: rgba(178, 96, 200, .40);

	/*
	 * ============================================================
	 * THE SITE'S DEFAULT HOVER. Use this on every rectangular element.
	 * ============================================================
	 *
	 * One blue core plus the eggplant halo. This is the hover the homepage cards
	 * answer with (.rd-card), and as of 2026-08-17 it is the site-wide default:
	 * anything rectangular and pointable should reach for these two custom
	 * properties rather than hand-rolling its own shadow. Current users are
	 * .rd-card, .ctable tr, .rd-faq and .rd-compare a.
	 *
	 * ⚠️ THE GLOW IS OMNIDIRECTIONAL AND THE GEOMETRY IS THE WHOLE TRICK.
	 * Both layers are `0 0 Xpx -Ypx`. Zero offsets keep the halo on centre, so the
	 * TOP edge is lit as well as the bottom -- the older `0 26px 46px -24px` style
	 * pushed the shadow below the box and read as a drop, not a glow. With zero
	 * offsets the visible reach is roughly X/2 - Y, so the spread can only be
	 * slightly negative or the blur has nothing left to show.
	 *
	 * ⚠️ THE ELEMENT AND ITS ANCESTORS MUST NOT CLIP. An upward glow is the first
	 * thing an `overflow: hidden` ancestor eats -- .ctable is overflow:visible for
	 * exactly this reason. Anything with `overflow: hidden` (.rd-facts,
	 * .rd-rev-facts) cannot take this hover until that is changed.
	 *
	 * ⚠️ box-shadow IS A WHOLE-VALUE PROPERTY. An element with a resting shadow has
	 * to repeat its own layers ahead of var(--rd-hover-glow), or it loses its lift
	 * at the moment it is pointed at.
	 *
	 * NOTHING MOVES ON HOVER. Colour and glow only -- no translate, no scale. That
	 * was settled when the comparison rows went omnidirectional; a card that lifts
	 * and a row that does not is the inconsistency this default exists to remove.
	 */
	--rd-hover-edge: rgba(42, 165, 245, .50);
	/* The eggplant alternative to the blue edge, for elements that should answer in
	   the secondary rather than the primary. Same value the top-pick row already
	   hovers to, so the two eggplant edges on the site stay identical. */
	--rd-hover-edge-plum: rgba(216, 150, 232, .82);
	--rd-hover-glow:
		0 0 26px -6px rgba(42, 165, 245, .45),
		0 0 54px -4px var(--rd-glow-plum);

	/*
	 * THE INLINE-TEXT SIBLING of --rd-hover-glow, for prose links (2026-09-02,
	 * client's call: the glow replaces the hover underline on content links).
	 *
	 * Same two layers in the same order -- tight blue, wide plum -- so a hovered
	 * link and a hovered card are recognisably the same gesture. It is text-shadow,
	 * not box-shadow: an inline <a> that wraps across two lines gets one box-shadow
	 * rectangle per line box, with square corners butting into the line above, and
	 * on the last line it hugs whatever fraction of the width the text ended on.
	 * A text-shadow follows the glyphs, so a wrapped link glows as one phrase.
	 *
	 * ⚠️ THE BLURS ARE ~1/4 OF THE BOX VALUES (26->6, 54->14) AND THAT RATIO IS THE
	 * POINT. A halo is read relative to the thing it surrounds; the card glow's radii
	 * around a 17px glyph swallow the counters and the link just looks out of focus.
	 * The blue alpha goes UP (.45 -> .78) to compensate: a card has a filled body
	 * reinforcing its glow, a letterform has only its stroke. 8px/.58 was tried first
	 * and photographed as haze rather than glow; 4px/1.0 goes the other way and reads
	 * as a highlighter pen behind the words. 6px is the window between the two.
	 *
	 * ⚠️ IT INHERITS, WHICH box-shadow DOES NOT. Any block-level <a> in the content
	 * -- .rd-jump, .rd-compare -- would pass this down to every word inside it on
	 * top of its own card glow, so both of those reset text-shadow on hover. A new
	 * whole-card link has to do the same. Same trap as the font-weight:600 reset
	 * noted on .rd-compare-t.
	 */
	--rd-hover-glow-text:
		0 0 6px  rgba(42, 165, 245, .78),
		0 0 14px var(--rd-glow-plum);

	/* The ghost button's edge -- --rd-blue-hi's triplet, the same light blue as the
	   FAQ and comparison-row panels. Held in one place because TWO buttons share it
	   (the hero's second CTA and every table row below the top pick) and they have to
	   stay identical. Lifted above the .26 the panels use because a ring around a
	   control has to read as an affordance, not as a panel edge.
	   --rd-ghost-fill is the ghostly blue wash that arrives on hover: the same
	   triplet again, so the fill, the ring and the panels are all one blue. */
	--rd-ghost-edge:    rgba(127, 203, 255, .34);
	--rd-ghost-edge-hi: rgba(127, 203, 255, .62);
	--rd-ghost-fill:    rgba(127, 203, 255, .14);

	--rd-paper:   #FFFFFF;
	--rd-panel:   #F2F7FC;
	--rd-panel-2: #E9F2FA;
	--rd-rule:    #DCE7F2;
	--rd-ink:     #0A1A2F;
	--rd-ink-2:   #33475D;
	--rd-muted:   #5D7085;
	--rd-good:    #14855C;

	/*
	 * The ATF call-to-action fill, shared by the hero pill and the header CTA so
	 * the two cannot drift apart.
	 *
	 * Matched to the reference button (2026-08-04): the ramp is HORIZONTAL, deep
	 * navy on the left to bright sky blue on the right -- not the vertical
	 * light-to-dark sheen these buttons used to have. The three stops track the
	 * reference's own per-column median colours (#092842 at the left edge,
	 * #0A6796 at 45%, #08A3DC near the right), which is also what keeps the
	 * middle dark enough to carry white text.
	 *
	 * 2026-08-07: the ramp now starts TRANSPARENT rather than on a solid navy, so
	 * the left end of the button dissolves into whatever it sits on -- the header
	 * bar's flat --rd-hero-2, the hero's mesh and glow -- and only becomes a solid
	 * object towards the bright right end.
	 *
	 * ⚠️ The 0%% stop is rgba(10, 43, 70, 0), i.e. the OLD left colour at alpha 0,
	 * not the `transparent` keyword. `transparent` is rgba(0,0,0,0), and a gradient
	 * running from it to a blue passes through washed-out darkened blues on the way
	 * (the classic "fade to grey" artefact). Fading a colour to its own zero-alpha
	 * twin keeps every intermediate stop on-hue.
	 *
	 * The mid stop is at .88 alpha because the fill is what carries the white label:
	 * at .55 the middle went transparent enough for the mesh triangles to read
	 * through the text.
	 *
	 * ⚠️ 2026-08-10, SETTLED — do not "correct" this back again. On 2026-08-07 the
	 * 0%% stop was taken to .55 alpha because the reference button, sampled at the
	 * pixel level, has a FILLED dark-blue left cap (~1.56 contrast against its
	 * ground) rather than a transparent one. That measurement is accurate and it is
	 * beside the point: what she asked for, twice, is a fill that begins at nothing
	 * and gathers towards the right. Alpha 0 is the brief. There is no ring to
	 * outline the vanishing end any more either (see .rd-pill-blue) -- the left cap
	 * is MEANT to have no edge and no fill there, and the two changes only make
	 * sense together.
	 */
	/*
	 * ALL BLUE, and it stays that way. The eggplant was tried here in two variants --
	 * at the dark left end and at the bright right end -- and both were rejected. This
	 * pair drives BOTH top buttons (the hero's primary pill and the header CTA), so a
	 * change here moves two things; that is why the eggplant reached the header button
	 * as well when it was tried.
	 */
	--rd-cta-fill: linear-gradient(90deg,
		rgba( 10,  43,  70,   0) 0%,
		rgba( 10, 103, 150, .88) 45%,
		rgba( 20, 173, 239,   1) 100%);
	/*
	 * --rd-cta-ring is deliberately GONE (2026-08-10). The reference button has no
	 * outline of any kind: sampled down its vertical centre, the fill runs straight
	 * into the ground over one antialiased pixel, top and bottom, with nothing
	 * paler than the fill anywhere on the edge. Ours had a 1px rim at rgb(153,205,
	 * 235) tracing the whole pill, which is the "border" she asked to lose. If a
	 * gradient outline is ever wanted back, git history has the variable and the
	 * masked-::before technique that painted it.
	 */

	/*
	 * The site typeface. Applied HERE rather than left to the theme, because the
	 * theme applied its font from inc/pre-color-schemes.php and the redesign unhooks
	 * that stylesheet for its palette -- which silently took the font-family with it
	 * and left the whole site rendering in Arial. Faces are declared in
	 * css/webfont.css. Swap the family here and the two src URLs there to move to
	 * Familjen Grotesk, which is already built alongside it.
	 */
	--rd-font: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

	--rd-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

	/*
	 * THE POLYGON MESH. One consumer today: .rd-atf::before, the hero.
	 *
	 * It was factored out to here while the footer drew the same pattern, so the two
	 * could not drift apart. The footer has since gone back to a plain gradient, so
	 * this is now a variable with a single user — kept anyway, because it is the
	 * honest home for a three-gradient value with a paragraph of reasoning attached,
	 * and because a second consumer is the sort of thing that comes back.
	 *
	 * Triangular rather than a square grid: three line families at 0 and +/-60
	 * degrees tile the plane with equilateral triangles, echoing the low-poly
	 * wireframe language of the hero art.
	 *
	 * ⚠️ The diagonals are spaced 62px, NOT 72: 72 * sin(60deg) = 62.4. One spacing
	 * for all three families gives squashed, uneven triangles.
	 *
	 * Alpha is deliberately ~.08, so to inspect this in a screenshot you have to
	 * brighten it several stops — at normal exposure it looks absent, which is the
	 * point.
	 */
	--rd-mesh:
		repeating-linear-gradient(60deg,
			rgba(122, 180, 230, .085) 0,
			rgba(122, 180, 230, .085) 1px,
			transparent 1px,
			transparent 62px),
		repeating-linear-gradient(-60deg,
			rgba(122, 180, 230, .085) 0,
			rgba(122, 180, 230, .085) 1px,
			transparent 1px,
			transparent 62px),
		repeating-linear-gradient(0deg,
			rgba(122, 180, 230, .07) 0,
			rgba(122, 180, 230, .07) 1px,
			transparent 1px,
			transparent 72px);

	/* One measure for everything: hero, 18+ band, footer, editorial column,
	   comparison table and criteria strip all share this width so every left
	   edge on the page lines up.
	   Long lines are compensated for with extra leading and a slightly larger
	   body size rather than by narrowing the column (see the prose rules). */
	--rd-shell: 1100px;

	/*
	 * DARK BODY palette — the below-the-fold ground.
	 *
	 * Used only by the `dark body` section at the foot of this file, which hangs
	 * off body.rd-dark (added by inc/redesign.php, front page only for now).
	 * The light tokens above are untouched, so the two schemes coexist and the
	 * scope of the experiment is one condition in the PHP.
	 *
	 * --rd-d-seam is deliberately identical to --rd-hero-3: it is the tone the
	 * ATF's gradient ends on, and the body's ground fades in FROM it so the two
	 * sections meet with no step. Change one and you must change both.
	 *
	 * Text colours were picked against --rd-d-1 for contrast, not by eye:
	 * body 10.2:1, muted 6.2:1, blue links 7.3:1 — all clear of AA, and the
	 * muted tone clears it at small sizes too, which is why the table's
	 * data-labels and the card copy can use it.
	 */
	--rd-d-seam:   #030710;
	--rd-d-1:      #050D1A;
	--rd-d-2:      #0A1524;
	--rd-d-3:      #0E1D30;
	--rd-d-rule:   rgba(122, 180, 230, .15);
	--rd-d-rule-2: rgba(122, 180, 230, .26);
	--rd-d-ink:    #EAF2FA;
	--rd-d-strong: #D8E6F3;
	--rd-d-body:   #A8BED4;
	--rd-d-muted:  #7D93A9;

	/* The "verified licence" green, lifted for a dark ground: #14855C lands at
	   3.96:1 here and fails AA. This is 8.4:1 and still unmistakably green, so
	   the semantic stays intact (see the ._lic note further down). */
	--rd-d-good:   #35C68E;
}

/* ============================================================ unwrap ==== */
/* The theme centres everything in a 1040px card with overflow:hidden,
   which would clip a full-bleed hero. Unwrap it and let inner shells
   do the centring instead. */
html {
	background: var(--rd-paper);
	/* suppresses the horizontal scrollbar the overflowing hand would cause */
	overflow-x: hidden;
}

body {
	background: var(--rd-paper);
	color: var(--rd-ink);
	font-family: var(--rd-font);
	font-size: 16px;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
}

/*
 * Form controls do not inherit font-family from the document, and style.css sets
 * Helvetica on `body` plus its own stacks on a few components, so the family is
 * pushed onto the elements that would otherwise opt out. Everything else picks it
 * up by inheritance.
 *
 * .rd-mono keeps the monospace stack, and FontAwesome's icon font is matched on
 * its own class, so neither is caught by this.
 */
button,
input,
select,
textarea,
optgroup,
#page .selectnav,
#page select.selectnav,
#page select.selectnav option {
	font-family: var(--rd-font);
}

#page.site {
	max-width: none;
	width: auto;
	margin: 0;
	padding: 0;
	background: var(--rd-paper);

	/* The theme had overflow:hidden here; it has to go so the hero can be
	   full-bleed. Deliberately NOT replaced with overflow-x:clip -- pairing a
	   clipped x-axis with a visible y-axis makes the y-axis compute to auto,
	   which would turn this into a nested vertical scroll container. Overflow
	   is instead prevented at source (see overflow-wrap below, and the min()
	   width on the breakout elements). */
	overflow: visible;

	/*
	 * ⚠️ STICKY FOOTER, and it is a BUG FIX rather than a nicety. Reported as "a dark
	 * rectangular part below the footer that looks like a bug", and that is exactly what
	 * it was.
	 *
	 * Some pages are shorter than a tall window: /kontakt/ is about 1084px at a 1440
	 * viewport and /uber-mich/ about 1358px. When the document is shorter than the
	 * viewport the browser fills the remainder with the CANVAS — the background
	 * propagated up from html — while #colophon stops wherever its content ends, well
	 * above the bottom of the screen. So those pages ended with a flat unlit slab beneath
	 * the footer, the full width of the window.
	 *
	 * ⚠️ THE BUG IS OLD AND ONLY BECAME VISIBLE ON 2026-08-11. The globe that used to
	 * close the footer had its lowest visible point pinned to the page ground, precisely
	 * so its foot would not draw a seam — which incidentally meant the canvas below a
	 * short document was the same colour as the footer's last row, and nobody could see
	 * the join. The aurora that replaced it ends on the mist's DENSEST, brightest band, so
	 * the same cut became a hard edge with a dark rectangle under it. A latent layout bug
	 * made visible by a paint change: worth remembering as a class of fault, because
	 * nothing about the footer's own code was wrong either before or after.
	 *
	 * Diagnosed by measuring, and the measurement is the transferable part: screenshot one
	 * page at several window heights and watch the band. It grew exactly 1:1 with the
	 * window — 39px at 2500, 239px at 2700, 539px at 3000 — while the footer itself stayed
	 * put. That can only mean the band is OUTSIDE the document. A band that were part of
	 * the page could not have moved with the window.
	 *
	 * The fix is the ordinary one: make this wrapper at least a screen tall and let the
	 * middle child absorb the slack, so #colophon is pushed to the foot of the viewport
	 * and no canvas is left to see.
	 *
	 * ⚠️ SAFE TO MAKE THIS A FLEX CONTAINER HERE, AND PROBABLY NOWHERE ELSE ON THIS SITE.
	 * Flex items do not collapse margins with each other, so converting a block container
	 * can silently change vertical rhythm everywhere inside it. All four children of #page
	 * — #masthead, #main.wrapper, .fosforit-footer-widgets and #colophon — are set to
	 * `margin: 0` in this file, which was checked before the change, so there is nothing
	 * here to collapse. Check it again before a fifth child is added.
	 *
	 * ⚠️ dvh AFTER vh, with both declared. 100vh on a phone is the viewport WITHOUT the
	 * browser chrome subtracted, so on its own it leaves a short page slightly taller than
	 * the screen and invents a scrollbar to nothing. The vh line stays as the fallback for
	 * anything that does not understand dvh.
	 */
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

/* The slack-taker for the sticky footer above: it grows, the masthead and the footer
   do not. flex-shrink stays 0 so a page whose content is TALLER than the viewport can
   never be squeezed to fit it. */
#page.site > #main.wrapper {
	flex: 1 0 auto;
}

#main.wrapper {
	max-width: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: none;
	box-shadow: none;
	background: var(--rd-paper);
}

/* Readable, CENTRED measure for the editorial column on every page.
 *
 * float:none is the important part. The theme floats .site-content left at
 * 64.1% (96% on full-width templates) inside a min-width:769px media query,
 * for a sidebar layout that this site never uses -- every page runs
 * page-templates/full-width.php and the widget area renders nothing.
 *
 * While it stayed floated: auto margins compute to 0 on a float so it could
 * never centre, AND everything after it (the 18+ band, the footer) failed to
 * clear it and rendered alongside as a narrow right-hand column with the
 * dark band's gradient showing through behind the body copy.
 */
#primary.site-content {
	float: none;
	width: auto;
	max-width: var(--rd-shell);
	margin: 0 auto;
	padding: 2.75rem 1.5rem 3.5rem;
	border-right: none;
	background: var(--rd-paper);
}

.rd-shell {
	max-width: var(--rd-shell);
	margin: 0 auto;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

/* ============================================================ masthead == */
/*
 * Pinned to the top while scrolling.
 *
 * Sticky survives `html { overflow-x: hidden }` above, which is worth recording
 * because that pairing is the usual reason sticky silently fails: overflow-x hidden
 * makes the root a scroll container (it computes to hidden/scroll here), but the
 * root IS the scrolling box sticky resolves against, so it still pins. Measured, not
 * assumed -- at scrollY 900 the masthead's bounding rect top reads 0.
 *
 * z-index is needed, not decorative: .rd-atf is positioned, so without an explicit
 * index on this positioned element the ATF would paint over the header as it scrolled
 * underneath. That also means the top-fade mask on the hero light pool is now
 * belt-and-braces rather than load-bearing -- the header paints above the ATF now, so
 * a glow reaching the ATF's top edge would pass behind it either way. Left in place.
 *
 * The background has to stay fully opaque for the same reason: white body content
 * scrolls under this bar.
 */
#masthead.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--rd-hero-2);
	background-color: var(--rd-hero-2);
	height: auto;
	margin: 0;
	padding: 0;
	border: none;
	box-shadow: none;
}

#masthead .rd-bar {
	max-width: var(--rd-shell);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 4.25rem;
	box-sizing: border-box;
	/* No divider under the bar on purpose. The masthead and the ATF now share one
	   continuous tone across the seam (see the top fade on .rd-atf), so a hairline
	   here was the only hard edge left and it read as a join rather than a detail. */
}

#masthead .fosforit-logo {
	float: none;
	margin: 0;
	padding: 0;
	flex: none;
	line-height: 0;
}

/*
 * Two-tone SVG wordmark: the word is fill="currentColor" and the .ch keeps its own
 * blue from inside the file, so the mark also works unchanged if it ever sits on
 * white.
 *
 * The colour MUST be declared on the <a>, not on this container. style.css:450 has
 * a bare `a { color: #444 }`, and a declaration on the element itself beats a value
 * INHERITED from an ancestor however specific that ancestor's selector is -- so
 * `color` on .rd-logo lost, currentColor resolved to #444, and the wordmark was
 * rendering dark grey on a dark header. `a:hover { color: #111 }` then made it
 * darker still on hover. Both are overridden here.
 */
#masthead .rd-logo a,
#masthead .rd-logo a:hover,
#masthead .rd-logo a:visited,
#masthead .rd-logo a:focus {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	line-height: 0;
	text-decoration: none;
	border: none;
	color: #FFFFFF;
	/* Carries the hover bloom out again; the delay-free direction. */
	transition: filter .28s ease-out;
}

/* The wordmark. Child selector so it cannot also catch the mark's own svg. */
#masthead .rd-logo > a > svg {
	display: block;
	height: 19px;
	width: auto;
	max-width: 100%;
}

/*
 * The card-fan mark. Deliberately much taller than the wordmark: the wordmark is
 * all-caps with no descenders, so matching their heights numerically leaves the
 * mark looking undersized. It tracks the wordmark: at a 24px wordmark 36 balanced
 * (32 read small, 40 dominated); the wordmark is now 19px and this is 30, keeping
 * roughly the same ratio.
 */
#masthead .rd-mark {
	display: block;
	flex: none;
	line-height: 0;
}

#masthead .rd-mark svg {
	display: block;
	height: 30px;
	width: auto;
}

/*
 * Hover: the same ghostly light as the buttons, over the whole lockup.
 *
 * drop-shadow rather than a glow layer, because it follows the alpha of what it is
 * given -- so the light traces the letterforms and each individual card instead of
 * haloing a rectangle. Two stacked shadows: a tight bright one for the edge, a wide
 * dim one for the bloom.
 *
 * Safe to spill here: unlike the pill buttons, nothing in the masthead sets
 * overflow, so nothing clips it.
 */
#masthead .rd-logo a:hover,
#masthead .rd-logo a:focus-visible {
	filter:
		drop-shadow(0 0 5px rgba(222, 245, 255, .95))
		drop-shadow(0 0 15px rgba(126, 203, 255, .78))
		drop-shadow(0 0 34px rgba(56, 158, 250, .50));
}

/* Fallback path: the theme-options PNG is red italic on transparent, which
   fights the blue system, so render it white if it is ever used. */
#masthead .fosforit-logo:not(.rd-logo) img {
	display: block;
	width: auto;
	height: 26px;
	max-width: 100%;
	filter: brightness(0) invert(1);
}

#masthead .fosforit-nav {
	float: none;
	margin: 0 0 0 auto;
	padding: 0;
	width: auto;
	background: none;
	border: none;
}

#site-navigation ul.nav-menu,
#site-navigation div.nav-menu > ul {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	float: none;
}

#site-navigation li,
#site-navigation li:hover {
	background: none;
	float: none;
	margin: 0;
	padding: 0;
	border: none;
	position: relative;
	/*
	 * display:flex so this box is exactly the anchor's box. As a block, the li lays the
	 * inline-block anchor out in an inline formatting context, and the line box adds
	 * strut leading below the anchor from the li's OWN inherited font-size -- so the li
	 * sat a few px taller than the link. Two of the four stardust drifts hang off this
	 * element and two off the anchor, and they all need the same baseline to rise from,
	 * which they only get if the two boxes coincide.
	 */
	display: flex;
	align-items: center;
}

#site-navigation li a,
#site-navigation li.current-menu-item > a,
#site-navigation .current-menu-item > a,
#site-navigation .current_page_item > a,
#site-navigation .current-menu-ancestor > a,
#site-navigation .current_page_ancestor > a {
	background: none;
	color: #A9BFD4;
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.4;
	padding: .4rem 0;
	margin: 0;
	border: none;
	border-bottom: 2px solid transparent;
	text-transform: none;
	text-decoration: none;
	display: inline-block;
	transition: color .18s ease, border-color .18s ease, text-shadow .24s ease-out;
}

/*
 * Menu links get the same ghostly light as the logo and the buttons, as a
 * text-shadow rather than a box-shadow or a filter: box-shadow would halo the
 * link's rectangle instead of its letters, and a drop-shadow filter on a text node
 * costs a rasterisation pass for the identical result. Two stops -- tight and
 * bright, then wide and dim -- so it reads as a glow rather than a blur.
 */
#site-navigation li a:hover,
#colophon .rd-flink a:hover {
	color: #FFFFFF;
	background: none;
	text-shadow:
		0 0 7px rgba(226, 246, 255, .95),
		0 0 17px rgba(126, 203, 255, .75),
		0 0 34px rgba(56, 158, 250, .48);
}

/* The current item is blue rather than white, so its glow follows suit -- a
   blue-white bloom on a blue link reads as a colour error rather than a light. */
#site-navigation li.current-menu-item > a:hover,
#site-navigation li.current_page_item > a:hover,
#site-navigation li.current-menu-ancestor > a:hover,
#site-navigation li.current_page_ancestor > a:hover {
	color: var(--rd-blue-hi);
	text-shadow:
		0 0 7px rgba(178, 224, 255, .95),
		0 0 17px rgba(88, 186, 250, .80),
		0 0 34px rgba(42, 165, 245, .52);
}

/*
 * Stardust on the menu hover: fine particles lifting off the bottom of the text and
 * fading as they rise, in keeping with the site's space register -- the wireframe
 * hand, the polygon mesh, the .rd-sparkle glitter over the hero.
 *
 * FOUR layers, and that number is forced: wp_nav_menu generates these list items, so
 * there is nowhere to hang per-particle markup. The <a> and the <li> each still have
 * ::before and ::after free, which is exactly four slots.
 *
 * Each layer is a whole DRIFT of particles rather than one particle: the dots are
 * radial-gradient background layers on a single box, positioned in PERCENTAGES so they
 * spread across whatever width the link happens to be. Placing them with box-shadow
 * offsets would have been simpler and wrong -- those are fixed pixels, so a short link
 * and a long one would get the same narrow column of dust.
 *
 * Four drifts on four different durations, delays, distances and sideways leans is
 * what makes one pass read as a rise rather than a single pulse: by the time A is
 * thinning out near the top, C is halfway up and D is only just leaving the baseline.
 *
 * Looping for as long as the pointer is there. The four staggered delays mean the
 * drifts never restart together after the first pass, so the loop has no seam -- there
 * is no moment where all four are at opacity 0 at once and the dust visibly restarts.
 * No fill mode is needed: the resting opacity is 0, so the dust simply stops when the
 * pointer leaves.
 *
 * z-index: -1 puts the dust BEHIND the glyphs. In front, particles cross the letters
 * and read as dirt on the screen; behind, the text stays crisp and the dust looks like
 * it is coming off it. Safe because the sticky masthead is its own stacking context,
 * so a negative index cannot escape the header.
 *
 * The keyframes are written out four times rather than driven by one shared block with
 * a custom property in it. A var() inside a keyframe would be tidier, but this
 * codebase has already been bitten by Chrome not re-resolving a custom property into a
 * pseudo-element, and a silent no-op is not worth the saved lines.
 */
#site-navigation li a::before,
#site-navigation li a::after,
#site-navigation li::before,
#site-navigation li::after,
.rd-flink a::before,
.rd-flink a::after,
.rd-flink::before,
.rd-flink::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	/*
	 * The bottom of the TEXT, not the bottom of the link box. The anchor carries
	 * padding-bottom plus a 2px border-bottom for the current-item underline, so
	 * bottom:0 started the dust roughly 8px below the descenders and it read as rising
	 * off the floor rather than off the letters. This is that padding and border added
	 * back. Written in rem because the theme sets html{font-size:90.5%}, so .4rem here
	 * computes to 5.79px, not 6.4px -- a hardcoded pixel value would drift if that ever
	 * changed.
	 */
	bottom: calc(.4rem + 2px);
	z-index: -1;
	opacity: 0;
	pointer-events: none;
	background-repeat: no-repeat;
}

/* Soft-edged dots: each gradient is solid to 55% and transparent by 100%, so a
   particle has a faint halo rather than a hard rim. That is what keeps them reading as
   dust caught in light rather than as punctuation. */
#site-navigation li a::before,
.rd-flink a::before {
	height: 22px;
	background-image:
		radial-gradient(circle, rgba(234, 247, 255, .95) 55%, rgba(234, 247, 255, 0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, .85) 55%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(234, 247, 255, .90) 55%, rgba(234, 247, 255, 0) 100%),
		radial-gradient(circle, rgba(160, 214, 255, .80) 55%, rgba(160, 214, 255, 0) 100%),
		radial-gradient(circle, rgba(234, 247, 255, .95) 55%, rgba(234, 247, 255, 0) 100%);
	background-size: 2.5px 2.5px, 2px 2px, 3px 3px, 2px 2px, 2.5px 2.5px;
	background-position: 9% 100%, 27% 88%, 47% 97%, 68% 82%, 89% 93%;
}

#site-navigation li a::after,
.rd-flink a::after {
	height: 28px;
	background-image:
		radial-gradient(circle, rgba(214, 240, 255, .85) 55%, rgba(214, 240, 255, 0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, .90) 55%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(170, 220, 255, .80) 55%, rgba(170, 220, 255, 0) 100%),
		radial-gradient(circle, rgba(234, 247, 255, .85) 55%, rgba(234, 247, 255, 0) 100%);
	background-size: 1.5px 1.5px, 2px 2px, 1.5px 1.5px, 2px 2px;
	background-position: 17% 94%, 38% 100%, 59% 86%, 81% 98%;
}

#site-navigation li::before,
.rd-flink::before {
	height: 18px;
	background-image:
		radial-gradient(circle, rgba(234, 247, 255, .95) 55%, rgba(234, 247, 255, 0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, .85) 55%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(234, 247, 255, .90) 55%, rgba(234, 247, 255, 0) 100%),
		radial-gradient(circle, rgba(150, 208, 255, .75) 55%, rgba(150, 208, 255, 0) 100%);
	background-size: 3px 3px, 2px 2px, 2.5px 2.5px, 2px 2px;
	background-position: 5% 100%, 33% 90%, 56% 100%, 93% 84%;
}

#site-navigation li::after,
.rd-flink::after {
	height: 32px;
	background-image:
		radial-gradient(circle, rgba(234, 247, 255, .80) 55%, rgba(234, 247, 255, 0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, .75) 55%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(234, 247, 255, .85) 55%, rgba(234, 247, 255, 0) 100%);
	background-size: 1.5px 1.5px, 2px 2px, 1.5px 1.5px;
	background-position: 23% 92%, 51% 100%, 77% 88%;
}

#site-navigation li a:hover::before,
.rd-flink a:hover::before { animation: rd-dust-a 1.5s linear infinite; }
#site-navigation li a:hover::after,
.rd-flink a:hover::after  { animation: rd-dust-b 2.1s linear .30s infinite; }
#site-navigation li:hover::before,
.rd-flink:hover::before   { animation: rd-dust-c 1.7s linear .62s infinite; }
#site-navigation li:hover::after,
.rd-flink:hover::after    { animation: rd-dust-d 2.4s linear .95s infinite; }

/*
 * The opacity peak sits early, at 18-22%, with a long tail: particles are brightest
 * just off the baseline and thin out as they climb, which is dust leaving a surface
 * rather than a row of lights blinking on and off in place.
 */
@keyframes rd-dust-a {
	0%   { opacity: 0;   transform: translate(0, 3px); }
	20%  { opacity: .95; }
	100% { opacity: 0;   transform: translate(3px, -24px); }
}

@keyframes rd-dust-b {
	0%   { opacity: 0;   transform: translate(0, 4px); }
	18%  { opacity: .80; }
	100% { opacity: 0;   transform: translate(-4px, -31px); }
}

@keyframes rd-dust-c {
	0%   { opacity: 0;   transform: translate(0, 2px); }
	22%  { opacity: .90; }
	100% { opacity: 0;   transform: translate(2px, -20px); }
}

@keyframes rd-dust-d {
	0%   { opacity: 0;   transform: translate(0, 5px); }
	18%  { opacity: .70; }
	100% { opacity: 0;   transform: translate(-3px, -35px); }
}

/*
 * The current page's menu item: blue, bolder, lit -- and NO underline.
 *
 * It used to colour the 2px border-bottom that every menu link reserves. The
 * declaration holding that space stays (border-bottom: 2px solid transparent, in
 * the base rule) because it is what keeps every item on one baseline; only the
 * colour is dropped, so nothing shifts between the current item and its
 * neighbours.
 *
 * The glow is this item's own :hover text-shadow at roughly half strength -- it
 * has to read as "you are here" at rest while leaving the hover somewhere
 * brighter to go. Blue-tinted rather than the white bloom the other links get: a
 * white-blue halo on a blue link reads as a colour error rather than as light
 * (same reasoning as the :hover rule further up).
 *
 * font-weight goes 500 -> 700. That widens the item slightly, which is why the
 * weight lives here and not on the li: the flex row simply re-measures, and
 * because the reserved border is transparent on every state there is no vertical
 * movement.
 *
 * THE ANCESTOR SELECTORS ARE WHY THIS ISN'T JUST current-menu-item. The three
 * operator reviews live under the "Casino-Tests" dropdown, so on those pages the
 * only item WordPress marks current is the child -- which is inside a closed
 * panel and therefore invisible. Without the ancestor, three of the eight pages
 * highlighted nothing at all. The child still gets the same treatment, so opening
 * the panel shows which review you are on.
 */
#site-navigation li.current-menu-item > a,
#site-navigation li.current_page_item > a,
#site-navigation li.current-menu-ancestor > a,
#site-navigation li.current_page_ancestor > a {
	color: var(--rd-blue);
	font-weight: 700;
	border-bottom-color: transparent;
	text-shadow:
		0 0 6px rgba(178, 224, 255, .52),
		0 0 15px rgba(88, 186, 250, .40),
		0 0 30px rgba(42, 165, 245, .26);
}

#masthead .rd-navcta {
	flex: none;
	margin-left: 1rem; /* keep the last menu item off the button */
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none;
	/* The +1px absorbs the 1px transparent border this button used to carry for the
	   old background-layer ring, so its size is unchanged. */
	padding: calc(.625rem + 1px) calc(1.25rem + 1px);
	border-radius: 999px;
	color: #FFFFFF;
	/* Same fill as the hero pill, and like it: no ring, no bevel, just the ramp and
	   an outer drop glow. See .rd-pill-blue. */
	background-image: var(--rd-cta-fill);
	background-repeat: no-repeat;
	border: 0;
	box-shadow: 0 6px 20px -7px rgba(42, 165, 245, .75);
	transition: transform .18s ease, box-shadow .18s ease;
}

/* Outer bloom -- see .rd-pill-blue:hover for why this is a box-shadow and why the
   base shadow is repeated. */
#masthead .rd-navcta:hover {
	color: #FFFFFF;
	/* Same reduced level as the hero pill; last two layers are the resting shadow. */
	box-shadow:
		0 0 10px -2px rgba(216, 241, 255, .62),
		0 0 26px 0 rgba(112, 196, 255, .48),
		0 0 54px 4px rgba(48, 152, 248, .26),
		0 0 40px 2px var(--rd-glow-plum),
		0 6px 20px -7px rgba(42, 165, 245, .75);
	/* No delay any more: the delay existed only to let the border light finish its
	   laps first, and that animation is gone. */
	transition: box-shadow .28s ease-out;
}

/* mobile select-nav that selectnav.js builds */
#page .selectnav,
#page select.selectnav,
#page select.selectnav option {
	background-color: var(--rd-hero-2);
	color: #FFFFFF;
	border: 1px solid rgba(122, 180, 230, .28);
	border-radius: 6px;
	padding: .5rem .625rem;
}

/* ============================================================ ATF ======= */
.rd-atf {
	position: relative;
	/*
	 * First layer is a top fade that starts at EXACTLY the masthead's colour and
	 * dissolves over 130px. Measured before adding it, the header sat at #08172B and
	 * the ATF's first row at #092440 -- a step of +13 green and +21 blue, which read
	 * as a hard band right under the menu. The two radial washes below both bite near
	 * the top edge, which is where that step came from; this holds them back until
	 * they have somewhere to fade in from.
	 *
	 * rgba(8, 23, 43, 0) rather than `transparent` at the far end: the colour is
	 * spelled out so the ramp interpolates through the navy itself instead of through
	 * transparent black, which greys the middle of the fade.
	 */
	background:
		linear-gradient(to bottom, rgba(8, 23, 43, 1) 0, rgba(8, 23, 43, 0) 130px),
		radial-gradient(120% 90% at 78% 18%, rgba(14, 76, 134, .55) 0%, rgba(14, 76, 134, 0) 58%),
		radial-gradient(90% 70% at 12% 8%, rgba(42, 165, 245, .13) 0%, rgba(42, 165, 245, 0) 55%),
		linear-gradient(168deg, var(--rd-hero-2) 0%, var(--rd-hero-1) 62%, var(--rd-hero-3) 100%);
	color: #EAF2FA;

	/* EXPERIMENT: was overflow:hidden, which clipped the hand at the ATF's
	   bottom edge. Visible here so the hand can spill into the white section.
	   The arm still has to be clipped horizontally, so that job moves to
	   html{overflow-x:hidden} -- doing it per-axis on this element is not an
	   option, because clip/hidden on one axis with visible on the other forces
	   the other to compute to auto and makes this a nested scroll container. */
	overflow: visible;
	/*
	 * ⚠️ BUT THE ROOT CLIP IS NOT ENOUGH ON A PHONE (2026-09-28). The arm still
	 * made the document ~609px wide in a 500px viewport, and mobile browsers let
	 * the page pan sideways despite html{overflow-x:hidden} -- which put the
	 * fixed, centred offer <dialog> visibly off-centre. `clip` is the exception
	 * to the warning above: unlike hidden it creates no scroll container, and
	 * clip + visible is the one pairing where the visible axis stays visible, so
	 * the hand still spills DOWN into the white while nothing reaches sideways.
	 * Browsers without `clip` ignore the line and keep today's behaviour.
	 */
	overflow-x: clip;
	isolation: isolate;
}

.rd-atf::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	/* The mesh itself is --rd-mesh in :root, because the footer draws the SAME
	   polygons and the two must not be able to drift apart. Only the mask differs:
	   here the field is strongest up around the hero art. */
	background-image: var(--rd-mesh);
	-webkit-mask-image: radial-gradient(85% 70% at 40% 30%, #000 0%, transparent 78%);
	mask-image: radial-gradient(85% 70% at 40% 30%, #000 0%, transparent 78%);
}

/*
 * The hand image.
 *
 * Anchored to .rd-art -- the cards' own box -- NOT to the ATF. That is the
 * whole point: every offset below is a percentage of .rd-art, and the canvas
 * inside .rd-art is always the same square, so the palm stays under the cards
 * at EVERY resolution by construction. Anchoring it to the ATF (as an earlier
 * revision did) meant hand and cards drifted apart whenever the layout
 * changed, and needed a different fudge per breakpoint.
 *
 * The numbers come from measuring the artwork: after cropping to its real
 * content the palm's cup surface sits at 0.364 of the image height and the
 * palm's centre at 0.253 of its width, with an aspect of 2.825. Solving for
 * "palm cup at 75% of .rd-art height, palm centred horizontally" gives
 *   left = 0.50 - 0.253 * W
 *   top  = 0.75 - 0.1288 * W
 * so the hand can be scaled by changing W alone and the palm will not move.
 * W = 195% here: enough that the wrist crosses the seam into the white
 * section, but not so much that it reaches the body copy.
 *
 * The long arm simply runs off the right and is clipped by .rd-atf's
 * overflow:hidden -- how much shows depends on the viewport, which is exactly
 * the "reaching in from off-screen" effect. Nothing about the palm moves.
 */
.rd-handwrap {
	position: absolute;
	z-index: 0;
	left: 0.7%;
	top: 49.9%;
	width: 195%;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
	opacity: .95;
}

/* Image and glitter share the wrapper's box, so they cannot fall out of
   register: the sparkle canvas has the image's own aspect ratio and simply
   fills it. */
.rd-hand,
.rd-hand img {
	display: block;
	width: 100%;
	height: auto;
}

.rd-sparkle {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.rd-hero {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	gap: 2rem;
	align-items: center;
	padding: 4rem 0 2.5rem;
}

.rd-htext {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.rd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--rd-blue-hi);
	background: rgba(42, 165, 245, .1);
	border: 1px solid rgba(42, 165, 245, .26);
	padding: .34rem .7rem;
	border-radius: 999px;
}

.rd-eyebrow .rd-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rd-blue);
	box-shadow: 0 0 9px 1px var(--rd-blue);
}

.rd-atf h1 {
	margin: 0;
	padding: 0;
	border: none;
	font-size: clamp(2rem, 5.2vw, 3.35rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.032em;
	text-wrap: balance;
	color: #FFFFFF;
}

.rd-atf h1 em {
	font-style: normal;
	background: linear-gradient(96deg, var(--rd-blue-hi) 0%, var(--rd-blue) 52%, var(--rd-blue-lo) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.rd-hsub {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.66;
	color: #9FB6CC;
	max-width: 52ch;
	text-wrap: pretty;
}

.rd-hbtns {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.rd-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .9375rem;
	font-weight: 700;
	text-decoration: none;
	padding: .75rem 1.5rem;
	border-radius: 999px;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

/*
 * THE PRIMARY ATF PILL: a bare gradient, and nothing on its edge.
 *
 * No border, no ring, and no `inset 0 1px 0 rgba(255,255,255,.28)` bevel either.
 * That bevel is worth calling out because it looks harmless in a box-shadow list:
 * with the ring present it was hidden underneath it, but on its own it draws a
 * pale line along the TOP of the pill only -- a half-border, which reads worse
 * than the full one she just asked to remove. The reference has no such highlight
 * (its top and bottom edges sample symmetrically, so what is there is antialiasing
 * and not a lit edge).
 *
 * What remains on the edge is therefore only the fill running out to it, plus the
 * OUTER drop glow below, which paints outside the border box and so never reads as
 * an outline.
 *
 * ⚠️ Historical trap, still relevant if a ring ever comes back: the ring was once a
 * second background layer under the fill on this element -- the no-wrapper
 * gradient-border trick -- which works only while the fill above it is fully
 * opaque, because it relies on the fill to hide it everywhere except the border
 * strip. Against a fill that is transparent at one end it surfaces as a pale
 * frosted wash across exactly the end that is meant to be dissolving. A masked
 * pseudo-element is the only version of it compatible with this fill.
 *
 * The padding keeps its `+ 1px` terms: they absorbed a 1px transparent border this
 * button used to carry, and leaving them alone is what keeps the rendered size
 * unchanged at 162x44 (and 228x51 for the header CTA).
 */
.rd-pill-blue {
	/* Kept although the ring it was added for is gone: a positioned element paints
	   above a static one, and the hero's decoration layers (.rd-handwrap, the
	   sparkle canvas) are positioned. Dropping this would drop the button into the
	   static flow and let them paint over it. */
	position: relative;
	background-image: var(--rd-cta-fill);
	background-repeat: no-repeat;
	color: #FFFFFF;
	border: 0;
	padding: calc(.75rem + 1px) calc(1.5rem + 1px);
	box-shadow: 0 6px 22px -6px rgba(42, 165, 245, .75);
}

/*
 * THE GRADIENT RING IS GONE (2026-08-10) -- these two buttons carry no outline.
 *
 * It lived here as a masked ::before on .rd-pill-blue and #masthead .rd-navcta:
 * padding:1px with two stacked masks composited `exclude` (`xor` in the legacy
 * -webkit- spelling), which subtracts the content box from the whole box and
 * leaves exactly a 1px frame that follows border-radius -- the one technique that
 * does round a corner properly, which is why border-image was not used.
 *
 * Removed rather than merely faded, for the reason in --rd-cta-fill's note: with
 * the fill starting at alpha 0, ANY ring keeps drawing a hard closed capsule
 * around the end that is supposed to be dissolving, so the two settings fight
 * each other. The reference has neither.
 *
 * ::before is therefore free on both buttons now. #masthead .rd-navcta's sheen is
 * on ::after and is unaffected -- do not "tidy" it onto ::before, the comment
 * there explains why it has to be a transformed layer.
 */

/*
 * Hover adds an outer bloom, and it has to be a box-shadow on the button rather
 * than anything drawn inside it: an inner glow would be cut off at the edge by the
 * overflow:hidden the header CTA needs for its idle sheen, whereas a box-shadow
 * paints outside the border box and an element's own overflow does not clip it.
 * It is also the only glow that stays a glow now that the buttons have no outline
 * -- anything painted ON the edge would just be the ring coming back.
 *
 * Delayed 0.78s on the way in so it arrives with the settled ring instead of ahead
 * of the laps; the undelayed base transition on .rd-pill takes it away the moment
 * the pointer leaves. The original shadow is repeated after the bloom because
 * box-shadow is a whole-value property -- omitting it would drop this button's drop
 * glow and inner top highlight for as long as the hover lasted.
 */
.rd-pill-blue:hover {
	color: #FFFFFF;
	/* Matched to .rd-pill-ghost:hover, which is the level she wanted. The last two
	   layers are this button's RESTING shadow repeated unchanged, so hover only adds
	   glow instead of also brightening the drop shadow underneath it. */
	box-shadow:
		0 0 10px -2px rgba(216, 241, 255, .62),
		0 0 26px 0 rgba(112, 196, 255, .48),
		0 0 54px 4px rgba(48, 152, 248, .26),
		0 0 40px 2px var(--rd-glow-plum),
		0 6px 22px -6px rgba(42, 165, 245, .75);
	transition: box-shadow .28s ease-out;
}

/*
 * The ghost button. Fully transparent now rather than a white whisper, and the
 * edge is the blue one from --rd-ghost-edge -- the same ring the comparison
 * table's non-top-pick CTAs wear, so the two read as one control in two places.
 * The old rgba(150,196,235,.28) was a blue-GREY and sat outside the accent system.
 */
.rd-pill-ghost {
	background: transparent;
	color: #DCE9F5;
	border: 2px solid var(--rd-ghost-edge);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

/* Same bloom, weaker: this button has no drop glow of its own to sit against, so
   at the blue pill's strength it would read as the louder of the two. The edge
   brightens with it -- with the fill gone, the ring is the button. */
.rd-pill-ghost:hover {
	color: #FFFFFF;
	background: var(--rd-ghost-fill);
	border-color: var(--rd-ghost-edge-hi);
	box-shadow:
		0 0 10px -2px rgba(216, 241, 255, .62),
		0 0 26px 0 rgba(112, 196, 255, .48),
		0 0 54px 4px rgba(48, 152, 248, .26),
		0 0 38px 2px var(--rd-glow-plum);
	transition: box-shadow .28s ease-out, border-color .28s ease-out, color .18s ease;
}

.rd-hfacts {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.75rem;
	padding-top: 1.5rem;
	margin-top: .25rem;
	border-top: 1px solid rgba(122, 180, 230, .13);
	width: 100%;
}

.rd-hfact {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .8125rem;
	color: #8EA6BE;
}

.rd-hfact svg { flex: none; color: var(--rd-blue); }
.rd-hfact b { color: #D3E2F0; font-weight: 700; }

/* Square, but capped so the art does not dictate an over-tall hero on wide
   viewports. Also the positioning context for .rd-hand. */
.rd-art {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 30rem;
	margin-left: auto;
}

/*
 * Light pool behind the cards.
 *
 * Anchored to .rd-art for the same reason the hand is: the cards are drawn in
 * .rd-art's own square canvas and scale with it, so ONE set of percentages
 * registers with them at every width -- including the 1024px breakpoint where
 * .rd-art shrinks to 22rem and re-centres. No per-breakpoint fudge.
 *
 * The box is 1.5x .rd-art, offset so that its own centre IS the card cluster
 * (measured on the rendered canvas: cluster centre sits at 52% x 41% of
 * .rd-art, i.e. slightly right of centre and above the palm).
 *   left = 52% - 150%/2 = -23%     top = 41% - 150%/2 = -34%
 * So the gradients below can simply sit at 50% 50%, and moving the light later
 * means moving the box, not re-solving four numbers.
 *
 * Oversizing it is what buys the soft boundary: both gradients reach zero
 * alpha at ~85% of their radius, well inside this box, so nothing is ever cut
 * off at an edge. Two layers rather than one -- a tight bright core plus a wide
 * dim halo -- because a single gradient bright enough to lift the cards has a
 * visibly steep shoulder, and long-form stops keep the falloff from banding on
 * dithered displays.
 *
 * The mask is what keeps the light off the header, and it is load-bearing:
 * .rd-atf is positioned and the masthead is not, so ATF content paints OVER the
 * header's opaque background. The vertical radius used to be capped at 40% to
 * stop short of that edge, which made every future radius change a header
 * regression risk. The mask replaces that cap with a guarantee -- alpha is zero
 * for the top 14% of this box and fully ramped in by 24%, and at desktop 14% of
 * the box IS the ATF's top edge (art top - 13.1% of art height = 62px = the
 * seam under the header). So the radii below can now grow in both directions
 * and the header stays clean by construction.
 *
 * Below 1024px .rd-art drops under the text block, so that same masked band
 * sits harmlessly inside the ATF rather than on its edge -- the top of the pool
 * is a little softer there, which is the price of one rule for all widths.
 *
 * What still bounds the radii: the pool must not cross the white seam below
 * (0.85 * 50% of the box lands at y~575, seam at ~600) and must stay inside the
 * box horizontally (0.85 * 56% lands 16px inside the box's own edge).
 *
 * z-index 0 + first-child paint order puts it under BOTH the hand
 * (.rd-handwrap, also z-index 0) and the cards (#rd-hero-canvas, z-index 1), so
 * the wireframe hand is backlit by it instead of washed out by it.
 */
.rd-art::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: -23%;
	top: -34%;
	width: 150%;
	height: 150%;
	pointer-events: none;
	background:
		radial-gradient(38% 36% at 50% 50%,
			rgba(178, 228, 255, .30) 0%,
			rgba(104, 195, 252, .19) 38%,
			rgba(42, 165, 245, .08) 66%,
			rgba(42, 165, 245, 0) 85%),
		radial-gradient(56% 50% at 50% 50%,
			rgba(42, 165, 245, .17) 0%,
			rgba(28, 118, 190, .10) 45%,
			rgba(20, 90, 160, .04) 68%,
			rgba(20, 90, 160, 0) 85%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 14%, #000 24%);
	mask-image: linear-gradient(to bottom, transparent 14%, #000 24%);
}

/*
 * Targets the cards canvas BY ID, not `.rd-art canvas`. There are two canvases
 * in .rd-art now, and a descendant selector would catch the sparkle layer too --
 * `.rd-art canvas` (0,0,1,1) outranks `.rd-sparkle` (0,0,1,0), which forced the
 * sparkles to position:relative, dropped them back into flow and stacked them
 * BELOW the hand image instead of over it.
 *
 * position + z-index: .rd-handwrap is absolutely positioned, and a positioned
 * element paints above a static one, so without these the hand would cover the
 * cards entirely.
 */
#rd-hero-canvas {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
}

/* The hairline seam that used to mark the dark-to-white boundary is gone: it
   was a positioned sibling of .rd-atf, so it painted a line straight across the
   hand where the two sections meet. The hand itself now carries the transition. */

/* ============================================= light-body typography ==== */
#primary.site-content h1,
#primary.site-content h2,
#primary.site-content h3,
#primary.site-content h4 {
	color: var(--rd-ink);
	font-weight: 700;
	letter-spacing: -.022em;
	text-wrap: balance;
	border: none;
	background: none;
	padding: 0;
}

#primary.site-content h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.18;
	margin: 2.75rem 0 1rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--rd-rule);
}

#primary.site-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

#primary.site-content h3 {
	font-size: 1.1875rem;
	line-height: 1.32;
	margin: 2rem 0 .625rem;
}

/* Full-width lines are long, so they get more leading and a slightly larger
   size — that is what keeps the eye from losing its place on the return
   sweep, and it is the right trade when the column has to fill the container. */
#primary.site-content p,
#primary.site-content li {
	color: var(--rd-ink-2);
	font-size: 1.0625rem;
	line-height: 1.8;
}

/* Overflow prevented at source rather than clipped at the container: a long
   unbreakable string (URL, operator name) wraps instead of widening the page. */
#primary.site-content { overflow-wrap: break-word; }
#primary.site-content img { max-width: 100%; height: auto; }

#primary.site-content p { margin: 0 0 1.125rem; }

#primary.site-content strong { color: var(--rd-ink); font-weight: 700; }

/* Prose links only. The :not() list matters: this selector carries an ID, so
   without it these rules beat the button and logo styles further down and
   turn every CTA into blue underlined text.
 *
 * NO RESTING UNDERLINE (client's call, 2026-08-13). Content links are colour +
 * weight at rest.
 *
 * NO HOVER UNDERLINE EITHER (client's call, 2026-09-02) -- it was replaced by the
 * site glow, --rd-hover-glow-text. This supersedes the warning that stood here
 * before, which said the hover underline was load-bearing for WCAG 1.4.1. It was
 * not: 1.4.1 asks that a link be distinguishable IN ITS RESTING STATE from the
 * copy around it, and what does that here is the 600 weight, which is untouched.
 * The hover response is a pointer affordance, and a glow is as non-colour a change
 * as an underline was -- it alters the glyph's rendering, not just its hue.
 *
 * ⚠️ THE font-weight:600 IS THE LOAD-BEARING ONE. It is now the ONLY non-colour
 * mark a content link carries at rest. Drop it and these links become blue body
 * copy for anyone who cannot separate the blue from the grey, and 1.4.1 fails for
 * real. The underline was expendable; this is not.
 *
 * ⚠️ THE :not() ARGUMENTS ARE WRAPPED IN :where() ON PURPOSE, AND IT MATTERS.
 * Written bare, `a:not(.btn):not(.rd-pill):not(.rd-navcta)` scores (1,4,1) --
 * each :not() donates its argument's class weight -- which outranked
 * .rd-jump a, .rd-compare a and .rd-facts a at (1,2,1). Those components each
 * set text-decoration:none and were being overruled, which is why the quicknav
 * pills and the operator cards rendered underlined. :where() contributes ZERO
 * specificity, so this is now (1,1,1): it still excludes exactly the same three
 * classes, but every component rule below outranks it the way it always read as
 * though it did. That also makes the separate ._logo a reset redundant.
 * This is the fourth bug in this file traceable to that trap. */
#primary.site-content a:not(:where(.btn, .rd-pill, .rd-navcta)) {
	color: var(--rd-blue-lo);
	font-weight: 600;
	text-decoration: none;
	/* The glow fades rather than snapping on -- .18s is the site's transition,
	   the same one .ctable tr, .rd-jump a and .rd-compare a already use. */
	transition: color .18s ease, text-shadow .18s ease;
}

/*
 * text-decoration:none is repeated here deliberately: it is what the rule above
 * already gives the hovered state, and saying it again is the record that the
 * missing underline is a decision and not an omission.
 *
 * ⚠️ THE COLOUR DOES NOT CHANGE ON THIS GROUND, AND THAT IS THE FIX, NOT AN
 * OVERSIGHT. This rule used to lighten --rd-blue-lo (#0D7FD4) to --rd-blue
 * (#2AA5F5) on hover, which was fine while an underline carried the response.
 * Paired with a glow it is not: the halo lifts the white AROUND the glyphs at the
 * same moment the glyphs themselves get lighter, the two meet in the middle, and
 * the hovered link photographs as FADING OUT -- lower contrast than at rest,
 * which is backwards for a pointer response. Keeping the dark blue gives the
 * halo a crisp edge to sit against, so the letterforms stay sharp and the glow
 * reads as light added rather than ink removed. #2AA5F5 is also only 2.6:1 on
 * white against #0D7FD4's 4.3:1, so this recovers the hover state's contrast too.
 *
 * On DARK it is the opposite and the lightening is correct, because there the
 * ground is what the halo lifts -- see the .rd-dark override, which still steps
 * to --rd-blue-hi and is deliberately left alone.
 */
#primary.site-content a:not(:where(.btn, .rd-pill, .rd-navcta)):hover {
	text-decoration: none;
	text-shadow: var(--rd-hover-glow-text);
}

#primary.site-content ._logo a { text-decoration: none; }

/* Buttons keep their own treatment regardless of where they sit. */
#primary.site-content a.btn,
#primary.site-content a.btn:hover,
#primary.site-content a.btn:visited {
	color: #FFFFFF;
	text-decoration: none;
}

#primary.site-content ul,
#primary.site-content ol { margin: 0 0 1.25rem 1.25rem; }
#primary.site-content li { margin-bottom: .4375rem; }

/* the page title the theme prints above the content */
.entry-header .entry-title {
	font-size: clamp(1.6rem, 3.4vw, 2.25rem);
	line-height: 1.14;
	letter-spacing: -.026em;
	color: var(--rd-ink);
	font-weight: 700;
	margin: 0 0 1.5rem;
}

/* The front-page title is suppressed in content-page.php rather than hidden
   here, so there is only ever one H1 in the DOM. */

/* No breakout rule needed: the editorial column is now the same width as the
   table and criteria strip, so they simply fill it. (An earlier revision
   floated them out of a narrower column with left:50% + translateX(-50%);
   that is dead weight once the widths match.) */

/* ============================================================ ctable === */
.ctable {
	border: 1px solid var(--rd-rule);
	border-radius: 14px;
	background: var(--rd-paper);
	box-shadow: 0 1px 2px rgba(10, 26, 47, .04), 0 18px 42px -28px rgba(10, 26, 47, .22);
	overflow: hidden;
	margin: 0 0 2.5rem;
}

.ctable tr {
	border-bottom: 1px solid var(--rd-rule);
	padding: .5rem 0;
	transition: background .18s ease;
}

.ctable tr:last-child { border-bottom: none; }
.ctable tr:hover { background: #F8FBFE; }

/* the theme marks the first row with thick green rules — make it the
   highlighted "top pick" instead */
.ctable tr:first-child {
	border-top: none;
	border-bottom: 1px solid var(--rd-rule);
	background: linear-gradient(180deg, var(--rd-panel) 0%, var(--rd-paper) 100%);
	box-shadow: inset 3px 0 0 var(--rd-blue);
}

.ctable tr:first-child:hover { background: linear-gradient(180deg, var(--rd-panel-2) 0%, var(--rd-paper) 100%); }

.ctable td {
	color: var(--rd-ink);
	font-size: 1rem;
	padding: .75rem 0;
}

.ctable td[data-label]:before {
	font-family: var(--rd-mono);
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-muted);
	margin-bottom: .25rem;
}

.ctable td > strong {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--rd-ink);
	letter-spacing: -.02em;
}

.ctable .rating { color: var(--rd-muted); }
.ctable .rating strong { color: var(--rd-ink); font-size: 1.25rem; letter-spacing: -.02em; }

/*
 * ⚠️ THE SELECTOR LIST IS THE POINT. The review pages' CTA (.rd-rev-offer a.btn)
 * is the SAME button as the comparison table's, so it joins this rule rather than
 * getting its own copy of the declarations -- the fill, the split glow and the
 * hover all have to stay identical, and two copies drift.
 *
 * It carries #primary.site-content because the prose rules do: without the ID,
 * `#primary.site-content a.btn` (1,1,1) -- which sets only colour and
 * text-decoration -- wins the cascade for everything else, and the CTA renders as
 * bare blue text with no fill, no padding and no radius. That is what shipped on
 * the first pass and what the screenshot caught. Same trap as the prose-link
 * :not() list and the .rd-shead reset.
 */
.ctable table td a.btn,
#primary.site-content .rd-rev-offer a.btn {
	/* Same ramp as the rating rings and the hero pills -- see --rd-grad-bp. White
	   label measures 5.63:1 on the plum end, which is the darkest point it crosses. */
	background: var(--rd-grad-bp);
	color: #FFFFFF;
	font-weight: 700;
	font-size: .9375rem;
	padding: .6875rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	/*
	 * THE GLOW FOLLOWS THE GRADIENT.
	 *
	 * One flat blue glow was wrong the moment this button stopped being flat blue: the
	 * fill ends in eggplant, so a blue halo hugged the purple right edge and read as a
	 * stray cyan crescent bleeding out of the button.
	 *
	 * A box-shadow carries one colour, so there are two -- blue OFFSET LEFT and plum
	 * OFFSET RIGHT. Each concentrates on its own side, so the halo tracks the fill it
	 * sits under instead of contradicting it. The negative spread keeps both tight
	 * enough that they read as one glow rather than two.
	 */
	box-shadow:
		-7px 5px 16px -6px rgba(42, 165, 245, .62),
		7px 5px 16px -6px rgba(155, 63, 176, .62),
		inset 0 1px 0 rgba(255, 255, 255, .25);
	/* No transform in this list any more: the hover lift is gone, and the ghost
	   variant needs its fill and ring to fade rather than snap. */
	transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/* Overrides style.css:1983, which turns this button red on hover. This one is
   below the fold, so it keeps a plain brighten-and-glow rather than any of the ATF
   light effects. No transform: every upward hover nudge on the page was removed at
   the client's request -- see the note in the reduced-motion block. */
.ctable table td a.btn:hover,
#primary.site-content .rd-rev-offer a.btn:hover {
	background: linear-gradient(120deg, var(--rd-blue-hi) 0%, #8D77E0 55%, #B14BC4 100%);
	/* Same split on hover -- see the resting rule. */
	box-shadow:
		-8px 9px 24px -7px rgba(42, 165, 245, .8),
		8px 9px 24px -7px rgba(178, 96, 200, .8),
		inset 0 1px 0 rgba(255, 255, 255, .3);
}

.ctable .tnc { border-top: 1px solid var(--rd-rule); color: var(--rd-muted); }

/* ._lic keeps its own green here in the light theme; the dark theme greys it out.
   The bold this rule used to add is gone in both — at 10px in a footer row, weight
   made the licence line compete with the offer above it. */
.ctable ._lic { color: var(--rd-good); }

/*
 * The logo IS the link to that operator's review.
 *
 * The licence cell used to end in "· Zum Testbericht", which put a second, tiny,
 * low-contrast link in the row's least-read cell while the brand mark next to the
 * rank -- the thing a reader actually aims at -- was inert. The relationship is now
 * the one .rd-compare already expresses: the mark carries the review.
 *
 * ⚠️ THE ANCHOR SITS INSIDE THE SPRITE SPAN (._logo > span > a), not around the
 * ._logo. style.css:1932 already sizes exactly that structure to 100%/100%, so the
 * whole plate becomes the hit area with no new box. Wrapping the ._logo from the
 * outside would have made the anchor the flex item in a display:flex row and moved
 * the cell layout.
 *
 * NO HOVER TREATMENT ON PURPOSE. The .rd-compare cards lift 2px and this logo was
 * given the same lift to match; it was removed by request. The cursor is the whole
 * affordance now, so if a hover cue is ever wanted back, put it here rather than on
 * ._logo generally -- and gate it on :has(a), because a ._logo with no link inside
 * must not advertise itself as one. position:relative stays regardless: the hit-area
 * rule below is positioned against it.
 */
#primary.site-content .ctable ._logo > span {
	position: relative;
}

/*
 * The hit area is the whole PLATE, rim included.
 *
 * style.css:1932 sizes the anchor to 100%/100%, which in the dark theme is 100% of
 * the CONTENT box -- the plate carries 7px/11px of padding, so ~13% of what the eye
 * reads as the logo was not clickable at all, including the corners a pointer most
 * often lands on. Absolute positioning fixes it in one line: a percentage on an
 * out-of-flow box resolves against the containing block's PADDING box, so the
 * inherited 100%/100% now measures the plate itself. Nothing else in the span is in
 * flow (the brand text lives inside the anchor and paints nothing at font-size:0),
 * so taking the anchor out of flow costs the span no height.
 */
#primary.site-content .ctable ._logo > span > a {
	position: absolute;
	top: 0;
	left: 0;
}

/*
 * Focus has to be drawn here and cannot be left to the browser default.
 * ._logo > span is font-size:0 / color:transparent -- the link's text is present
 * for assistive tech but paints nothing, so a UA outline would hug a zero-height
 * text box instead of the logo. The ring is put on the sprite span, which is the
 * shape the eye sees.
 */
#primary.site-content .ctable ._logo > span:has(a:focus-visible) {
	outline: 2px solid var(--rd-blue);
	outline-offset: 3px;
	border-radius: 10px;
}

/* ======================================================= criteria cards = */
.rd-band { padding: 3.5rem 0; }
.rd-band-tint { background: var(--rd-panel); border-block: 1px solid var(--rd-rule); }

/* The criteria strip is injected into the content column, so it renders as a
   contained panel rather than a full-bleed band — no viewport-width breakout
   hack, no risk of a horizontal scrollbar. */
.rd-criteria {
	background: var(--rd-panel);
	border: 1px solid var(--rd-rule);
	border-radius: 16px;
	padding: 2.5rem 2rem;
	margin: 1rem 0 3rem;
}

.rd-criteria .rd-shell { max-width: none; padding: 0; }
.rd-criteria .rd-shead { margin-bottom: 1.75rem; }

/* ID-prefixed on purpose: the editorial `#primary.site-content h2` rule adds a
   border-top and margins for the article's section headings, and it would
   otherwise win here and draw a stray rule above the panel heading. */
#primary.site-content .rd-shead h2 {
	margin: 0;
	padding: 0;
	border-top: none;
	max-width: 34ch;
}

.rd-shead {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .625rem;
	text-align: center;
	margin-bottom: 2.25rem;
}

.rd-kicker {
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--rd-blue-lo);
}

.rd-shead h2 {
	margin: 0;
	font-size: clamp(1.5rem, 3.2vw, 2rem);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -.026em;
	color: var(--rd-ink);
	max-width: 26ch;
	text-wrap: balance;
	border: none;
	padding: 0;
}

.rd-shead h2 em {
	font-style: normal;
	background: linear-gradient(96deg, var(--rd-blue) 0%, var(--rd-blue-lo) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.rd-shead p {
	margin: 0;
	color: var(--rd-muted);
	font-size: 1.0625rem;
	max-width: 56ch;
	text-wrap: pretty;
}

/* minmax tuned so all four cards still fit on one row inside the narrower
   editorial column, and drop to 2x2 rather than 3+1 on tablet. */
.rd-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
	gap: 1rem;
}

.rd-card {
	background: var(--rd-paper);
	border: 1px solid var(--rd-rule);
	border-radius: 14px;
	padding: 1.5rem 1.375rem;
	display: flex;
	flex-direction: column;
	gap: .6875rem;
	/* Centred card: this handles the heading and the copy. It does NOT place the
	   icon -- .rd-icn is a flex ITEM, and a flex item's cross-axis position comes
	   from align-self, never from text-align. Both declarations are needed. */
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rd-card:hover {
	border-color: rgba(42, 165, 245, .42);
	box-shadow:
		0 1px 2px rgba(10, 26, 47, .04),
		0 20px 40px -26px rgba(13, 127, 212, .4),
		0 14px 34px -24px var(--rd-glow-plum);
}

/* The defs carrier holds no geometry and must not take a row in the flex column. */
.rd-icn-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.rd-icn {
	width: 2.75rem;
	height: 2.75rem;
	/* Centred in the card. .rd-card is a flex COLUMN, so the cross axis is the
	   horizontal one and align-self is what centres it -- margin:0 auto would work
	   too, but this leaves the card's own align-items free for anything added later.
	   The heading and copy stay left-aligned; centring those as well is a
	   `text-align:center` on .rd-card if the whole card should be centred. */
	align-self: center;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: linear-gradient(180deg, var(--rd-panel-2) 0%, var(--rd-panel) 100%);
	border: 1px solid var(--rd-rule);
	color: var(--rd-blue-lo);
}

.rd-card h3 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.015em;
	/* balance, not pretty: these are two- and three-word titles that wrap in a
	   narrow column, and centred text with a one-word last line reads as a mistake.
	   balance evens the lines; pretty only fixes the final orphan. */
	text-wrap: balance;
	color: var(--rd-ink);
}

.rd-card p {
	margin: 0;
	font-size: .875rem;
	color: var(--rd-muted);
	line-height: 1.6;
}

/* ==================================================== responsible gaming = */
/*
 * NO background of its own. This block now lives inside #colophon (see
 * footer.php), so it sits on the footer's ground and inside the footer's polygon
 * field -- giving it a gradient here would paint a panel over both and put back
 * the seam that moving it was meant to remove.
 *
 * It kept its own 168deg gradient while it was a separate band between the
 * article and the footer. That is what made the bottom of the page read as three
 * stacked strips instead of one footer.
 */
.rd-rg {
	background: none;
	color: #C7D8E8;
	/* No padding of its own: the gap down to the copyright row is set in ONE place,
	   on #colophon .rd-rg + .site-info, so tuning it is one number rather than two
	   that have to be added together. */
	padding: 0;
}

.rd-rgin {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* Tightened with the type on 2026-08-12: at 2rem the column gap was wider than the
	   badge is now, which read as two unrelated pieces rather than one notice. */
	gap: 1rem 1.25rem;
}

/*
 * ⚠️ THE BADGE IS SIZED IN ONE PLACE and the border is NOT scaled with it. Taken down
 * from 3.25rem to 2.75rem on 2026-08-12 (font 1rem to .875rem) when the notice moved
 * into the footer's left column and had to stop out-weighing the links above it. The
 * 2px rim stays 2px: at 1.5px it renders as a grey hairline at 1x, and the glow around
 * it is what makes it read as lit rather than drawn.
 */
.rd-18 {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 2px solid var(--rd-blue);
	color: var(--rd-blue-hi);
	font-weight: 700;
	font-size: .875rem;
	flex: none;
	box-shadow: 0 0 24px -4px rgba(42, 165, 245, .5);
}

.rd-rg p {
	margin: 0;
	/* .8125rem, matching the copyright row: the notice sits directly under the links now,
	   so it is read as part of the same block and a second size in there looks accidental. */
	font-size: .8125rem;
	line-height: 1.6;
	/*
	 * ⚠️ A READABILITY CAP, not a layout device. The left column is a flex item that would
	 * otherwise take the whole measure minus the copyright, and the notice would set in
	 * 90ch lines. 66ch is the widest that still reads as a paragraph; the empty space it
	 * leaves before the copyright is deliberate footer air, not a gap to be filled. It was
	 * 62ch as a full-width band, and briefly 52ch here, which cramped it to six lines.
	 */
	max-width: 66ch;
	color: #C7D8E8;
}

.rd-rg b { color: #FFFFFF; }
.rd-rg .rd-hot { color: var(--rd-blue-hi); font-weight: 700; white-space: nowrap; }

/* ============================================================ footer ==== */
/* Transparent, like #colophon below and for the same reason: its --rd-hero-1 was
   one more ground colour stacked between the article and the footer, and every
   change of ground is a line. It holds no widgets on this site anyway. */
.fosforit-footer-widgets {
	background: none;
	border: none;
	padding: 0;
}

/*
 * The footer: one plain vertical ramp, LIGHTER AT THE TOP, darker at the bottom.
 *
 * It briefly carried the hero's polygon mesh (from --rd-mesh, stacked twice for
 * weight) plus two radial washes, mirrored so the page opened and closed on the
 * same sky. That was dropped at the client's request in favour of a straight
 * gradient, and the radial glows went with it — she asked for a linear gradient,
 * so this is a linear gradient and nothing else. Do not reintroduce the pattern
 * here; --rd-mesh now has exactly one consumer, .rd-atf::before.
 *
 * 168deg, the SAME angle as the hero, so the two ramps lean the same way — the
 * near-vertical tilt is what keeps a full-bleed gradient from looking like a
 * mechanical top-to-bottom fill.
 *
 * The generous padding stays: it was grown to give the mesh room, but the footer
 * now holds the 18+ notice as well, so it earns the height on content alone.
 *
 * Deliberately NOT scoped to .rd-dark. The footer is dark on every page, and one
 * that changed treatment between the front page and the legal pages would look
 * like a bug.
 */
#colophon,
#colophon[role="contentinfo"] {
	/*
	 * ⚠️ THIS COLOUR IS SET BY A MEASUREMENT, and it has moved four times.
	 *
	 * Whatever glows at the foot of the page paints above this element's own
	 * background but below its text, so it controls the BACKDROP the footer's text
	 * sits on. Measured off rendered pixels in text-free strips each time, never
	 * estimated: rgb(66,65,127) under the old aurora, rgb(8,29,50) under the first
	 * planet (which sat in its own band below the text), rgb(64,69,97) when the halo was
	 * widened to ~340px, and — re-measured 2026-08-11 at 1440 on /impressum/, after the
	 * nebula field and the eleven plumes went in — rgb(17,23,44) beside the copyright
	 * and rgb(28,33,60) behind the middle of it, the brightest strip in the footer.
	 *
	 * #B0C0D2 is 8.49:1 against the worst of those, so there is a lot of room now. Kept
	 * at #B0C0D2 anyway: it is the tone the footer was designed at, and the headroom is
	 * only true while the field is at its present strength.
	 *
	 * ⚠️ RE-MEASURED 2026-08-12, twice. First after the plumes and the nebula became one
	 * smooth gradient and --rd-mist-h went 27rem to 40rem: growing the ramp slid the
	 * copyright — pinned at 11rem, so it does not move with the ramp — further DOWN it into
	 * denser glow, and the backdrop got BRIGHTER rather than dimmer (7.15:1 and 6.78:1).
	 *
	 * Then again after the footer was rebuilt as two columns, which is the state below. The
	 * left column is now two stacked blocks, so the whole row is taller and sits higher off
	 * the glow's densest band, and the numbers went back up. Measured on /uber-mich/ at 1860
	 * wide, brightest pixel under each block with the text forced transparent:
	 *
	 *   links row        rgb(29,33,64)   #C2D2E2  10.13:1
	 *   18+ notice       rgb(49,41,87)   #C7D8E8   9.09:1
	 *   badge            rgb(42,38,81)   #C2D2E2   9.11:1
	 *   copyright        rgb(42,40,83)   #B0C0D2   7.41:1
	 *
	 * Taken at padding-bottom 5.5rem — the tightest the footer has been, so these are the
	 * worst numbers the current design produces. Sampled over each element's own
	 * getBoundingClientRect with the text forced transparent, so they cover the full box
	 * and not just the strip beside a glyph.
	 *
	 * ⚠️ HOW TO MEASURE IT, because sampling the rendered footer directly does not work: the
	 * text is the BRIGHTEST thing in the strip, so the worst pixel you find is a glyph. Force
	 * `#colophon .site-info, #colophon .site-info * { color: transparent }` and sample the
	 * text's own bounding box on that render — and exclude the badge, whose 2px --rd-blue rim
	 * is brighter than any backdrop and will read as a failure.
	 *
	 * ⚠️ The badge sits LOWEST of anything in the footer, so it meets the densest glow. If
	 * the bottom alphas or --rd-mist-h are ever raised, it is the first thing to check.
	 * Never dim the text instead.
	 *
	 * ⚠️ WHY THAT NUMBER MOVED THE WAY IT DID, because it is counter-intuitive and it is
	 * the whole reason this comment exists. Brightening the sky above the limb a long way
	 * made the strip BEHIND THE TEXT darker, not lighter, because the same change took
	 * the dome's body from #040B16 to #01050D and the smooth mist collar down by 45%. A
	 * footer that LOOKS brighter is not the same thing as a lighter backdrop, and only
	 * one of the two decides whether the text is legible.
	 *
	 * ⚠️ If the field, the plumes or the halo are ever pushed harder, MEASURE AGAIN in a
	 * text-free strip on this page and keep the result above 4.5:1. Never reason about
	 * it, and never dim the text instead.
	 */
	color: #B0C0D2;
	border: none;
	/*
	 * ⚠️ The bottom padding is STRUCTURAL, not spacing: it is the room the glow rises
	 * through BELOW the copyright, and at zero the page would end on the gradient's
	 * densest, brightest band with the text sitting right on it.
	 *
	 * ⚠️ IT IS NO LONGER TIED TO --rd-mist-h, and that is the thing to understand before
	 * changing either. It was calc(--rd-limb + 3rem) under the globe, then 11rem — "a
	 * little under half of --rd-mist-h" — under the aurora. Both were derived numbers, so
	 * both implied that growing the field should grow this. It should not: --rd-mist-h is
	 * how far the glow REACHES UP the page, and this is how much clean glow shows BELOW
	 * the text. They are independent, and keeping them proportional is what left 159px of
	 * empty purple down here once the field went to 40rem.
	 *
	 * Cut to 5.5rem and then to 4rem on 2026-08-12, which leaves 58px under the lowest
	 * text — the floor identified by the sweep below, and as tight as this goes while a
	 * band of the deepest purple still shows under the copyright. Reducing it
	 * does NOT shorten the gradient — .rd-mist is anchored to `bottom: 0` and is 40rem
	 * tall whatever this is — it only trims empty space off the bottom of it. What it DOES
	 * do is slide the text down into denser glow, so the contrast measurements on the
	 * colour note below were re-taken at this value. Swept 11 / 7 / 5.5 / 4rem: all four
	 * pass AA at every text block, so this is a judgement call, not a constraint. 4rem is
	 * the tightest that still shows a band of purple; below that the copyright starts to
	 * sit on the page edge.
	 */
	padding: 3.25rem 0 4rem;
	/*
	 * ⚠️ NO BACKGROUND AT ALL, and that is the fix for the seam above the footer.
	 *
	 * It used to carry `linear-gradient(168deg, --rd-hero-2, --rd-hero-1,
	 * --rd-hero-3)`. That ramp OPENS on #08172B while the article ground is #050D1A,
	 * so the footer's first row was measurably lighter than the last row of the
	 * article and the join read as a drawn line -- and it CLOSED on #030710 while
	 * the canvas below the document is #050D1A, which drew a second line at the page
	 * bottom. Two grounds meeting is always a line, however soft each one is.
	 *
	 * Transparent means the footer, the article and the canvas below the document
	 * are all one colour, so there is nothing left to draw a line between. The
	 * aurora is the gradient now -- it does the job the ramp was there for, and it
	 * does it without an edge.
	 *
	 * Positioning context for .rd-aurora, whose whole anchor is `bottom: 0` against
	 * this element. overflow stays visible so the dome can rise out of the footer
	 * and into the article -- that overflow IS the effect.
	 */
	background: none;
	position: relative;
}

/* ============================================================ glow ====== */
/*
 * THE GROUND GLOW at the foot of the page: ONE element, one background, four smooth
 * gradient layers, no texture and no moving parts.
 *
 * ⚠️ HISTORY, so none of it is walked a third time. What stood here was, in order: a
 * GLOBE (a dome showing only its cap, with a lit limb and the hero's polygon mesh over
 * its surface, inside a .rd-orbit clip box); then an AURORA — a two-layer mist with
 * ELEVEN .rd-erupt plumes rising out of it, each a masked SVG artwork leaned about its
 * own foot by a fan table, breathing on a long prime-ish cycle, over a .rd-nebula field
 * whose fractal-noise tile tore dark lanes through the colour so it read as cloud rather
 * than fog. The dome went on 2026-08-11, the plumes and the nebula on 2026-08-12: the
 * ribbons were not wanted, and once they were gone the two-layer split had nothing left
 * to do — .rd-mist was deliberately WEAK (alphas capped at .20) purely so the nebula's
 * lanes would not be filled in, and a weak layer with nothing on top of it is just a
 * faint footer. So the two collapsed into this one, at strengths that stand alone.
 *
 * img/nebula-plume.svg, img/nebula-plume-b.svg and img/nebula-cloud.svg are now unused.
 * They are left on disk deliberately: they are the only copies of that artwork, and the
 * full reasoning for every number in the fan lives in git alongside them. Read it there
 * before reviving any of this.
 *
 * WHAT SURVIVES FROM THE OLD DESIGN, because it was right and was arrived at by eye:
 *
 *  - PLUM AT THE BOTTOM, BLUE AT THE TOP, never the reverse. The eggplant is the
 *    lower-luminance of the two site colours, so keeping it low and letting the field
 *    cool as it rises is what stops the pair averaging into flat mauve. It also reads
 *    correctly: warm and dense at the ground, thinning to cold as it goes up.
 *
 *  - THE WARM CORE IS OFF-CENTRE, at 41% of the width, with the cool flanks outboard of
 *    it. That was the nebula field's magenta core and its blue edges, and the asymmetry
 *    is load-bearing: a symmetrical glow under a centred copyright row reads as a
 *    diagram. Do not tidy it to 50%.
 *
 *  - EVERY STOP FADES TO ITS OWN ZERO-ALPHA TWIN, never to the `transparent` keyword.
 *    `transparent` is rgba(0,0,0,0), so a ramp running to it passes through washed-out
 *    darkened blues on the way. Same rule as --rd-cta-fill at the top of this file.
 *
 * ⚠️ NO MASK, AND THAT IS WHY THE HEIGHTS ARE UNDER 100%. Each radial is anchored at
 * the bottom edge and sized to less than the element's height, so it has already reached
 * zero alpha before the top edge — there is no cut for a mask or a clip to hide. The
 * nebula needed a vertical fade mask because its colour was flat across its whole box;
 * these carry their own fade. Do not add one back: a mask over layers that already end
 * at zero only darkens the middle of the ramp.
 */
#colophon {
	/*
	 * How far the glow reaches up the page, and the one number to turn for "more" or
	 * "less". Raised from 27rem to 40rem on 2026-08-12: the plumes used to run 26 to 44rem
	 * above the foot, so the FIELD was tall even though the mist under it was not, and
	 * removing them without raising this left the glow in a shallow band that read as a
	 * stripe. 40rem keeps the old silhouette's reach with none of its structure.
	 *
	 * ⚠️ Raising this makes the glow denser BEHIND THE COPYRIGHT ROW, which sits at a
	 * fixed 11rem, not at a fraction of this: the row moves DOWN the ramp as the ramp
	 * grows. Re-measure the footer text's contrast in a text-free strip after changing it
	 * (see the note on #colophon's colour) and never dim the text instead.
	 */
	--rd-mist-h: 40rem;
}

.rd-mist {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--rd-mist-h);
	z-index: 0;
	pointer-events: none;
	/*
	 * Back to front: the warm core, the two cool flanks, then the even vertical ramp
	 * underneath them all. The three radials are what give the glow a shape across the
	 * width; the ramp is what stops the gaps between them going dark, which is the job the
	 * old .rd-mist did under the plumes.
	 */
	background-image:
		radial-gradient(112% 88% at 41% 100%,
			rgba(199,  96, 208, .30)   0%,
			rgba(176,  88, 202, .19)  28%,
			rgba(132,  92, 222, .08)  58%,
			rgba(120, 110, 236, 0)   100%),
		radial-gradient(86% 66% at 10% 100%,
			rgba( 96, 126, 240, .17)   0%,
			rgba( 88, 130, 242, .07)  44%,
			rgba( 88, 130, 242, 0)   100%),
		radial-gradient(88% 68% at 89% 100%,
			rgba( 74, 142, 245, .18)   0%,
			rgba( 74, 142, 245, .07)  44%,
			rgba( 74, 142, 245, 0)   100%),
		linear-gradient(to top,
			rgba(153,  60, 169, .20)   0%,
			rgba(132,  76, 206, .13)  24%,
			rgba( 92, 122, 236, .08)  50%,
			rgba( 74, 142, 245, .04)  74%,
			rgba(150, 190, 255, 0)   100%);
}

/* Footer content above the mist, which is a positioned sibling of it. .rd-rg used to
   need naming here too; it is a descendant of .site-info now, so it comes along. */
#colophon .site-info {
	position: relative;
	z-index: 1;
}

@media only screen and (max-width: 640px) {
	/*
	 * Shallower on a phone. The glow is proportional across the width on its own — every
	 * radial is placed and sized in percentages — so nothing else here has to be re-cut;
	 * only how far up it reaches, because 40rem on a 640px-tall screen would put the warm
	 * core level with the copy.
	 *
	 * Raised with the desktop value on 2026-08-12, 17rem to 24rem, same ratio as before.
	 */
	#colophon { --rd-mist-h: 24rem; }
}


/*
 * THE FOOTER ROW — two columns, and everything in here is separated by SPACE rather than
 * by a rule. Same decision as the article's sections: the whole foot of the page shares
 * one ground, so a divider would be the only hard edge left anywhere on it.
 *
 * Layout, as asked for on 2026-08-12: the links top-left, the 18+ notice under them, the
 * copyright in the bottom-right corner. Two flex children and `space-between` put the
 * copyright on the right edge with no margin trickery; `align-items: flex-end` is what
 * takes it to the BOTTOM of the row, i.e. level with the last line of the notice rather
 * than floating beside the middle of it.
 *
 * ⚠️ EXACTLY TWO CHILDREN. `space-between` distributes whatever it is given, so a third
 * one — the old <div class="clear">, a stray comment node is fine — drags the copyright
 * in from the corner. That clear div was removed from footer.php, not hidden.
 *
 * ⚠️ This is also the box that carries the shell now (1100px, centred). It used to be one
 * of two: .rd-rgin had .rd-shell on it as well, which centred the notice independently
 * inside its own band. There is one measure here, on purpose.
 */
#colophon .site-info {
	max-width: var(--rd-shell);
	margin: 0 auto;
	padding: 0 1.5rem;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.75rem 2.5rem;
	font-size: .8125rem;
}

/* The left column: links, then the notice. Gap, not margins, so the notice can be
   removed or the links can wrap without leaving a dangling space behind. */
#colophon .rd-footleft {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	/* Takes the measure the copyright does not need, so the notice's own cap decides how
	   wide it sets rather than the column shrink-wrapping to its longest line. */
	flex: 1 1 auto;
	/* Lets the notice's 52ch actually bind instead of the column refusing to shrink. */
	min-width: 0;
}

#colophon .footercopy,
#colophon .footercredit { float: none; margin: 0; padding: 0; }

/* Right-aligned so the last line sits ON the corner: the block is a flex item, so
   without this its text would start at the left of whatever width it is given. */
#colophon .footercopy { text-align: right; }

/*
 * The links read as one row, and wrap as one, at any width.
 *
 * ⚠️ THE GAP IS THE SEPARATOR NOW. footer.php strips the literal "|" characters out of
 * the theme option on output, so this is the only thing holding the links apart — a
 * column gap of 0 puts "KontaktImpressum" on the page. 1.5rem, wider than the .5rem it
 * was, because a pipe used to occupy that space and its absence read as a typo.
 */
#colophon .footercredit {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.5rem;
}

/*
 * FOOTER LINKS = HEADER LINKS. The stardust itself is not redefined here: .rd-flink is
 * added to the header's own selector lists in the stardust block above, so the two can
 * never drift apart. Scoped to .rd-flink rather than to .footercredit, because the
 * copyright's own link on the right carries the wrapper too and gets the same treatment
 * from the same rules. What this block does is give the footer anchor the same BOX the
 * dust's `bottom: calc(.4rem + 2px)` was measured against — .4rem of padding plus a 2px
 * transparent border. Without it the drifts start 6px below the descenders and read as
 * rising off the floor instead of off the letters.
 *
 * .rd-flink is position:relative for the same reason the <li> is: it supplies two of the
 * four pseudo-element slots, and they anchor to it.
 */
/*
 * ⚠️ flex + align-items:center, AND THE ANCHOR IS NOT POSITIONED. Both copied from
 * #site-navigation li for the reason given there: two of the four drifts hang off this
 * wrapper and two off the anchor, they all resolve `bottom` against the nearest
 * positioned ancestor, and they only rise from the same baseline if the two boxes
 * COINCIDE. As a block or inline-block this wrapper lays the inline-block anchor out in
 * an inline formatting context and the line box adds strut leading below it from this
 * element's own font-size, so the wrapper sits a few px taller than the link and the two
 * pairs of drifts start at different heights. Making the anchor position:relative would
 * "fix" that by splitting the anchors apart instead — which is the bug, not the fix.
 */
#colophon .rd-flink {
	position: relative;
	/*
	 * ⚠️ inline-FLEX, and it has to serve two very different parents. In .footercredit the
	 * wrapper is a flex item, where the spec blockifies inline-flex to flex anyway. In
	 * .footercopy it sits mid-sentence after "2026 Copyrights |", where plain `flex` would
	 * be block-level and throw the link onto a line of its own. inline-flex is the one
	 * value that is inline outside and flex inside, which is what both cases need.
	 */
	display: inline-flex;
	align-items: center;
}

#colophon .rd-flink a {
	display: inline-block;
	padding: .4rem 0;
	border-bottom: 2px solid transparent;
	text-decoration: none;
	transition: color .18s ease, text-shadow .24s ease-out;
}

/* No underline on hover, matching the header: the glow and the dust are the feedback.
   Overrides #colophon a:hover, which does underline — that rule still serves the
   copyright's own link and the links inside the article. */
#colophon .rd-flink a:hover {
	text-decoration: none;
}

/* One step brighter than the surrounding text so a link still reads as a link:
   #C2D2E2 is 6.1:1 on the current backdrop against the copy's 5.05:1. The hover
   keeps --rd-blue-hi. See the colour note on #colophon — these two move together. */
#colophon a { color: #C2D2E2; text-decoration: none; }
#colophon a:hover { color: var(--rd-blue-hi); text-decoration: underline; }

/* ============================================================ a11y ===== */
:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 2px solid var(--rd-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

/*
 * The skip link. ⚠️ Prefixed with .fosforit-nav to match style.css:465, whose
 * `.fosforit-nav .assistive-text:focus` (0,3,0) outranked the old bare
 * `.assistive-text:focus` (0,2,0) -- so keyboard users got the old theme's white
 * box, black text and grey border instead of this. The border and font size are
 * reset because that rule sets them and this one did not.
 */
.fosforit-nav .assistive-text:focus,
.fosforit-nav .assistive-text:active,
.fosforit-nav .assistive-text:hover {
	background: var(--rd-blue);
	border: 0;
	color: #FFFFFF;
	font-size: .875rem;
	font-weight: 600;
	padding: .5rem .875rem;
	border-radius: 4px;
	z-index: 100000;
}

/* ================================================ ATF button motion ==== */
/*
 * One piece of motion is left in the header, and it is not a hover: a light sheen
 * crosses the header CTA once every 3 seconds.
 *
 * It used to run on the hero blue pill as well, and a travelling border light used
 * to run on hover on all three ATF buttons. Both were cut back deliberately -- the
 * animation is now the header CTA's alone, and every other button and link in the
 * header simply glows on hover. The .rd-ring span and its whole conic/mask
 * apparatus went with the border light; see the memory note or git history if it is
 * ever wanted back, because two of the obvious CSS routes to it silently do not
 * animate.
 *//* Only the button that still carries the sheen needs these: position for the
   ::after layer, overflow to hide it while it waits off-stage. The hero pills had
   both for the sheen and the border light and need neither now. */
#masthead .rd-navcta {
	position: relative;
	overflow: hidden;
}

/*
 * The sheen band.
 *
 * An ::after layer rather than a second background layer, because it has to MOVE:
 * a background layer would have to be animated through background-position, which
 * is not compositor-accelerated, where a transform on its own layer is. It stays on
 * ::after even though ::before is free again (the gradient ring that held it was
 * removed 2026-08-10) -- there is nothing to gain by moving it and the transform
 * reasoning above is what matters.
 *
 * inset:0 is the full button: this element has no border, so padding box == border
 * box and the band sweeps the whole pill.
 *
 * ⚠️ The overflow:hidden above is what keeps the band from being visible while it
 * waits off-stage. Note it clips descendants at the PADDING box, so anything added
 * here later cannot live out in a border strip.
 */
#masthead .rd-navcta::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	transform: translateX(-100%);
	background: linear-gradient(100deg,
		rgba(233, 248, 255, 0) 28%,
		rgba(233, 248, 255, .50) 50%,
		rgba(233, 248, 255, 0) 72%);
	animation: rd-sheen 3s linear infinite;
}

/*
 * 13% of the 3s cycle is ~390ms of travel, then the band waits off-stage right
 * for the remaining ~2.6s. The 13% and 100% keyframes hold the SAME transform so
 * that wait is genuinely still, and the wrap back to off-stage left happens
 * between 100% and 0% where there is nothing to see -- no visible snap.
 *
 * ease-out is declared on the 0% keyframe, which sets the easing for the segment
 * that FOLLOWS it, so only the travel is eased.
 */
@keyframes rd-sheen {
	0%   { transform: translateX(-100%); animation-timing-function: ease-out; }
	13%  { transform: translateX(100%); }
	100% { transform: translateX(100%); }
}

/* ======================================================== responsive === */
@media only screen and (max-width: 1024px) {
	.rd-hero {
		grid-template-columns: 1fr;
		gap: 2.25rem;
		padding: 2.75rem 0 3.25rem;
	}
	.rd-art { max-width: 22rem; width: 100%; margin: 0 auto; }
	#masthead .rd-bar { flex-wrap: wrap; gap: .875rem 1rem; padding-block: .875rem; }
	#masthead .fosforit-nav { margin-left: auto; }
	.rd-atf h1 { font-size: clamp(1.85rem, 7vw, 2.5rem); }

}

@media only screen and (max-width: 640px) {
	#masthead .rd-navcta { display: none; }
	#primary.site-content { padding: 2rem 1.25rem 2.5rem; }
	.rd-shell { padding: 0 1.25rem; }
	.rd-band { padding: 2.5rem 0; }
	/*
	 * Stacked on a phone: .site-info wraps to one column, so the copyright lands under the
	 * notice instead of beside it, and right-aligned text in a full-width block would then
	 * read as a stray line pushed off to the side.
	 */
	#colophon .footercopy { text-align: left; }
	.rd-hbtns .rd-pill { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.rd-pill, .rd-card, .ctable tr, .ctable table td a.btn, #masthead .rd-navcta {
		transition: none;
	}
	/*
	 * A no-op guard as of now, and kept on purpose.
	 *
	 * Every upward hover nudge on the page was removed at the client's request --
	 * cards, comparison rows, the table CTAs and the FAQ panels all respond in
	 * colour, glow and shadow only -- so there is no transform left here to cancel.
	 * It stays because it costs nothing, and it means a lift added back later is
	 * covered automatically instead of silently shipping motion to someone who
	 * asked the OS for none.
	 */
	.rd-card:hover, .rd-pill:hover, .ctable table td a.btn:hover, #masthead .rd-navcta:hover {
		transform: none;
	}

	/* The idle sheen is motion for its own sake, so it stops. Killing the animation
	   leaves the band parked off-stage left, so the button simply sits still --
	   nothing half-drawn. The hover glows all stay: a fade is not motion, and
	   without them nothing in the header would respond to a pointer at all. */
	#masthead .rd-navcta::after {
		animation: none;
	}

	/* The stardust stops too, and stays hidden rather than freezing mid-rise: with the
	   animations gone the drifts hold their resting opacity of 0. The links still glow,
	   so the hover itself is not lost. */
	#site-navigation li a:hover::before,
	#site-navigation li a:hover::after,
	#site-navigation li:hover::before,
	#site-navigation li:hover::after {
		animation: none;
	}
}

/* ============================================================ dark body = */
/*
 * The dark ground carried BELOW the fold — the whole page in one register
 * instead of a dark hero sitting on a white article.
 *
 * --------------------------------------------------------------------------
 * SCOPE. Every rule here is prefixed with body.rd-dark, which inc/redesign.php
 * adds on the FRONT PAGE ONLY. Nothing in this section is front-page specific:
 * to take the dark theme site-wide, drop the is_front_page() test in
 * rd_body_class() and these rules start applying to the legal pages and
 * ueber-mich too. To abandon the experiment, delete that filter and the light
 * tokens above take back over, untouched.
 *
 * SPECIFICITY. Almost everything is written as
 *   .rd-dark #primary.site-content <thing>
 * even where the class alone would read better. The light rules above carry
 * #primary for their own reasons (they have to beat style.css), so
 * `.rd-dark .rd-card h3` (0,2,1) loses to `#primary.site-content h3` (1,1,1)
 * and the card headings would silently stay near-black ON near-black. The ID is
 * carried through rather than fought with !important — the same trap that has
 * already cost this file three bugs (see the prose-link :not() list, and the
 * ID-prefixed .rd-shead reset).
 * --------------------------------------------------------------------------
 */

/*
 * The canvas behind the document.
 *
 * html keeps its white background for the light pages, so the front page's dark
 * ground has to be selected with :has(). Browsers without :has() (pre-2023) show
 * white only in the overscroll gutter when the page is rubber-banded past its
 * end — never during normal scrolling, because body, #page and #main all carry
 * the dark ground themselves.
 */
html:has(body.rd-dark) { background: var(--rd-d-1); }

body.rd-dark,
body.rd-dark #page.site,
body.rd-dark #main.wrapper {
	background: var(--rd-d-1);
	color: var(--rd-d-body);
}

/*
 * The hero has to keep painting ABOVE the content column.
 *
 * #primary becomes positioned just below (it needs a positioned ::before for the
 * ambient light), and two positioned siblings with no z-index paint in DOM
 * order — so #primary's ground would cover the hand exactly where it spills
 * across the seam, which is the one element tying the two halves of this page
 * together. z-index restores the order. 1, not 10: the masthead is 50 and the
 * hero still has to pass underneath it.
 */
.rd-dark .rd-atf { z-index: 1; }

.rd-dark #primary.site-content {
	position: relative;
	/* Forces a stacking context, so the z-index:-1 glow layer below cannot escape
	   behind #page's own background and vanish. */
	isolation: isolate;
	background: var(--rd-d-1);
	color: var(--rd-d-body);
}

/*
 * The seam.
 *
 * A 220px fade starting at exactly --rd-d-seam, the tone .rd-atf's gradient ends
 * on, so the hero dissolves into the article instead of meeting it at a line. The
 * old light design needed a hairline here to explain the dark-to-white join;
 * there is now nothing to explain. The far stop is spelled out in rgba rather
 * than ending at `transparent`, which interpolates through transparent BLACK and
 * greys the middle of the fade.
 *
 * This carried three broad ambient washes too. They moved into the mist layer on
 * ::after: they were doing the same job by a different mechanism, and atmosphere
 * living in two rules meant tuning it in two places.
 *
 * THE THREE BACKGROUND LAYERS OF THE ARTICLE, back to front:
 *   -3  #primary::after   the mist
 *   -2  .rd-dust          the drifting starfield
 *   -1  this              the seam fade, which has to stay on top of both so the
 *                         join with the hero cannot be brightened by either
 * All negative, so all of them sit behind the copy; #primary's isolation:isolate
 * keeps them from escaping behind #page's own background.
 *
 * 100vw plus the centring transform because #primary is a 1100px CENTRED column:
 * anchored to it this would stop dead at the measure. The overflow that buys is
 * already handled at the root (html{overflow-x:hidden}), which the spilling hand
 * needed anyway.
 */
.rd-dark #primary.site-content::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(3, 7, 16, 1) 0, rgba(3, 7, 16, 0) 220px);
}

/* ------------------------------------------------------------- prose ---- */
.rd-dark #primary.site-content h1,
.rd-dark #primary.site-content h2,
.rd-dark #primary.site-content h3,
.rd-dark #primary.site-content h4 { color: var(--rd-d-ink); }

/*
 * Section headings carry NO separator: no rule, no band, no mark.
 *
 * The light theme gives every h2 a border-top. That was first recoloured to the
 * dark hairline, then replaced by alternating bands with a dome of light and a
 * gradient mark on each heading -- and every one of those was rejected in turn.
 * What is left is the thing that was wanted: sections separated by SPACE.
 *
 * So the border and its padding are removed outright rather than restyled, and the
 * top margin grows to carry the separation on its own. Do not reintroduce a rule,
 * a tint or a mark here.
 */
.rd-dark #primary.site-content h2 {
	border-top: none;
	padding-top: 0;
	margin: 3.25rem 0 1.125rem;
}

.rd-dark #primary.site-content p,
.rd-dark #primary.site-content li { color: var(--rd-d-body); }

/*
 * strong gets --rd-d-strong, NOT --rd-d-ink. There are 121 <strong> runs in this
 * page's copy; at full ink every one of them flares against the body tone and
 * the article reads as speckled. This is one step down — still unmistakably
 * emphasis, still 9:1 on the ground.
 */
.rd-dark #primary.site-content strong { color: var(--rd-d-strong); }

/* --rd-blue, not the light theme's --rd-blue-lo: #0D7FD4 falls to 4.7:1 here and
   reads as an already-visited link. This is 7.3:1. */
.rd-dark #primary.site-content a:not(:where(.btn, .rd-pill, .rd-navcta)) { color: var(--rd-blue); }
.rd-dark #primary.site-content a:not(:where(.btn, .rd-pill, .rd-navcta)):hover { color: var(--rd-blue-hi); }

.rd-dark .entry-header .entry-title { color: var(--rd-d-ink); }

/*
 * The article's closing rule — REMOVED.
 *
 * style.css:956 gives it `2px double #F3F3F3` — a near-white band 1100px wide,
 * and on this ground the single brightest thing below the fold. Found by scanning
 * the rendered page for long runs of uniform bright pixels rather than by eye,
 * which is the only reliable way to catch a leftover light rule in 11,800px of
 * page.
 *
 * First reduced to a faint 1px, then dropped entirely along with the section
 * hairlines: no horizontal rules in the article flow. The 18+ band below is a
 * tonal change of its own and needs no line to announce it.
 */
.rd-dark .site-content article {
	border-bottom: none;
}

/*
 * Content photographs.
 *
 * Both JPEGs on this page average 192 luminance with near-white corners (230),
 * so against this ground they land as bare bright rectangles. Framed rather than
 * filtered: a radius, a hairline and a soft drop shadow make the white read as a
 * photo mount, and the photograph itself is left exactly as shot. Dimming them
 * with a filter was the alternative, and it makes both images look broken.
 */
.rd-dark #primary.site-content .entry-content img {
	border-radius: 12px;
	box-shadow:
		0 0 0 1px var(--rd-d-rule),
		0 18px 40px -22px rgba(0, 0, 0, .85);
}

/*
 * ⚠️ AND TAKEN STRAIGHT BACK OFF EVERY LOGO PLATE. This is the fix for a real,
 * visible bug, reported 2026-09-09 as "a double border on the white rectangles
 * and around the logo".
 *
 * WHAT WAS HAPPENING. The rule above is for CONTENT PHOTOGRAPHS -- it frames the
 * two JPEGs on the site so a near-white photo does not sit on this ground as a
 * bare bright rectangle. But it selects `img`, and a logo on a light plate is also
 * an img inside .entry-content: so each logo got its OWN 12px radius, its own 1px
 * ring and its own drop shadow, drawn INSIDE the plate that already has a radius,
 * a rim and a shadow of its own. Two rounded rectangles, one inside the other,
 * plus a smudge of shadow across the bottom-left of the plate's white.
 *
 * ⚠️ IT WAS NOT NEW WITH THE PAYMENT LOGOS -- it has been on the front page's
 * three licence-card plates since they were built in August, and on the Fazit
 * box's plate. The payment estate simply added eight more of them and made it
 * obvious. Fixing it here fixes all of them at once, which is why the reset is
 * not in the payment section.
 *
 * ⚠️ SPECIFICITY IS THE WHOLE REASON THE .entry-content VARIANTS ARE LISTED. The
 * photo rule is (1,3,1). `.rd-plate img` further down this file is ALSO (1,3,1)
 * and sets only width/height/object-fit, so it never had a chance to cancel the
 * frame -- it does not mention box-shadow at all. The pairs below carry the
 * .entry-content class as well, i.e. (1,4,1), so they win on specificity rather
 * than on source order and cannot be undone by moving blocks around.
 *
 * The PLATE keeps its own rim and drop. Only the image inside it is unwrapped.
 */
.rd-dark #primary.site-content .rd-plate img,
.rd-dark #primary.site-content .rd-payplate img,
.rd-dark #primary.site-content .entry-content .rd-plate img,
.rd-dark #primary.site-content .entry-content .rd-payplate img {
	border-radius: 0;
	box-shadow: none;
}

/* -------------------------------------------------- editorial tables ---- */
/*
 * Any content table that is NOT the comparison table — on this page, the
 * game-shows list. The child combinator is what separates the two: the comparison
 * table is .entry-content > div.ctable > table, an editorial one is a direct child
 * of .entry-content. A plain descendant selector here would also catch the
 * comparison table and undo everything below it.
 *
 * style.css gives it 12px text in #757575 on an #ededed rule: 4:1 against this
 * ground, at a size where that is nowhere near enough.
 *
 * border-radius with no overflow:hidden is deliberate — overflow is not reliably
 * honoured on a table box, and there is nothing to clip here because the cells
 * carry rules rather than fills. A th WOULD square off the top corners; this
 * table has none, and the th rule exists for content added later.
 */
.rd-dark #primary.site-content .entry-content > table {
	width: 100%;
	margin: 0 0 2rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--rd-d-2);
	color: var(--rd-d-body);
	font-size: .9375rem;
	line-height: 1.7;
}

.rd-dark #primary.site-content .entry-content > table td,
.rd-dark #primary.site-content .entry-content > table th {
	padding: .625rem 1rem;
	border-top: 1px solid var(--rd-d-rule);
	color: var(--rd-d-body);
}

.rd-dark #primary.site-content .entry-content > table tr:first-child td,
.rd-dark #primary.site-content .entry-content > table tr:first-child th { border-top: none; }

.rd-dark #primary.site-content .entry-content > table th {
	background: rgba(122, 180, 230, .07);
	color: var(--rd-d-ink);
	font-size: .6875rem;
	letter-spacing: .1em;
}

/* ------------------------------------------------- comparison table ---- */
/*
 * SEPARATED ROWS. On white this was one card with hairline-divided rows. Here
 * each row is its own floating panel, in the same language as the FAQ cards: the
 * container stops being the card and becomes a plain stack, and the GAP between
 * rows does the work the divider used to do.
 *
 * Two constraints that are easy to miss:
 *   - .ctable's overflow:hidden has to go, or it clips the panels' outer glow.
 *   - tr is display:flex (style.css:1961), so nothing here may use ::before or
 *     ::after on the ROW. A pseudo-element on a flex container becomes a flex
 *     ITEM, and it would land in the cell layout as a fifth column. The corner
 *     light is therefore a background-image layer on the row itself.
 */
.rd-dark #primary.site-content .ctable {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

/*
 * The row panel.
 *
 * TRANSLUCENT, like the FAQ cards, so the mist and the drifting dust behind the
 * article show THROUGH each row -- that is what makes them read as suspended in
 * the page rather than laid on top of it. The radial layer is a single light
 * source at the top-left corner and the inset hairline is that same light caught
 * on the top edge: between them the panel has depth without an image.
 */
.rd-dark #primary.site-content .ctable tr {
	/* Containing block for the rank chip, on EVERY row -- not just the first. When
	   only tr:first-child had it, rows 2 and 3 resolved their absolutely positioned
	   chips against #primary instead and both stacked in the article's top-left
	   corner, far from the table. */
	position: relative;
	/* Row separation. Widened .875 -> 1.5rem on 2026-08-10: at the old value the
	   hover glow, which now radiates on all four sides, reached into the row above
	   and below and lit their edges too. The gap has to be wider than the glow's
	   visible reach (~22px) or "hover this row" stops being legible. */
	margin: 0 0 1.5rem;
	padding: .625rem 1.25rem;
	border: 2px solid var(--rd-d-rule);
	border-radius: 14px;
	background-color: rgba(10, 21, 36, .55);
	background-image: radial-gradient(140% 130% at 0% 0%, rgba(42, 165, 245, .10) 0%, rgba(42, 165, 245, 0) 58%);
	/* Same trap as the CTA above: 2px border + a gradient. */
	background-origin: border-box;
	background-repeat: no-repeat;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .35),
		inset 0 1px 0 rgba(127, 203, 255, .10),
		0 20px 38px -26px rgba(0, 0, 0, .85);
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rd-dark #primary.site-content .ctable tr:last-child { margin-bottom: 0; }

/*
 * Hover: the FAQ card's light-blue edge and the same blue glow, so a row and an
 * FAQ answer respond identically to the pointer. Colour and glow only -- nothing
 * on this page moves on hover any more.
 *
 * ⚠️ THE GLOW IS OMNIDIRECTIONAL (2026-08-10) and the geometry is the whole trick.
 * It used to read as a glow under the row only, because both glow layers carried a
 * big positive Y-offset against a big negative spread -- `0 26px 46px -24px` puts
 * the shrunken shadow 26px BELOW the box, so the top edge had nothing behind it.
 * Zero offsets put the halo back on centre, and the spread then has to be much
 * less negative or the blur has nothing left to show: with `0 0 Xpx -Ypx` the
 * visible reach is roughly X/2 - Y, so a -24px spread on a 46px blur would leave
 * about a pixel.
 *
 * .ctable is overflow:visible for exactly this reason (see its own rule) -- an
 * upward glow is the first thing a clipping ancestor eats.
 *
 * The last layer of the resting shadow is repeated rather than dropped: box-shadow
 * is a whole-value property, so omitting it would remove the row's dark drop and
 * the panel would lose its lift at the moment it is pointed at.
 */
.rd-dark #primary.site-content .ctable tr:hover {
	border-color: rgba(127, 203, 255, .26);
	background-color: rgba(14, 29, 48, .72);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .4),
		inset 0 1px 0 rgba(127, 203, 255, .16),
		0 0 26px -6px rgba(42, 165, 245, .42),
		0 0 54px -4px var(--rd-glow-plum),
		0 20px 38px -26px rgba(0, 0, 0, .85);
}

/*
 * The top pick keeps its blue wash, but the light theme's `inset 3px 0 0` left
 * bar is gone: an inset bar follows the border-radius, so on a 14px corner it
 * bends round and reads as a stray arc. A stronger blue EDGE says the same thing
 * and survives the rounding.
 *
 * It needs its own hover rather than sharing the one above, because the row rule
 * would otherwise take its border DOWN from .44 to .26 on hover -- the pick would
 * dim when you pointed at it.
 */
.rd-dark #primary.site-content .ctable tr:first-child {
	/* EGGPLANT edge, not blue. Alpha .58 rather than the blue's .44: the plum sits
	   lower in luminance, so at the blue's alpha the same border reads a step fainter
	   than it did. This composites to about (99, 66, 122) on the panel. */
	border-color: rgba(196, 120, 216, .58);
	background-image:
		radial-gradient(140% 130% at 0% 0%, rgba(42, 165, 245, .16) 0%, rgba(42, 165, 245, 0) 58%),
		linear-gradient(180deg, rgba(42, 165, 245, .12) 0%, rgba(42, 165, 245, 0) 100%);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .4),
		inset 0 1px 0 rgba(127, 203, 255, .18),
		0 22px 44px -26px rgba(42, 165, 245, .30);
}

/* Same omnidirectional geometry as the row hover above, one step stronger -- see
   that rule for why the offsets are zero and the spreads are only slightly
   negative. */
.rd-dark #primary.site-content .ctable tr:first-child:hover {
	border-color: rgba(216, 150, 232, .82);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .4),
		inset 0 1px 0 rgba(127, 203, 255, .22),
		0 0 30px -6px rgba(42, 165, 245, .52),
		0 0 62px -4px var(--rd-glow-plum),
		0 20px 38px -26px rgba(0, 0, 0, .85);
}

/*
 * ------------------------------------------------- the top-pick badge ----
 *
 * The blue edge and wash made this row LOOK different; the badge says what it
 * means. Markup comes from rd_toppick_badge() in inc/redesign.php.
 *
 * WHY IT SITS ON THE EDGE. At top:-13px it straddles the panel's own border, which
 * reads as a tab belonging to the card rather than a sticker dropped on it -- and,
 * practically, it stays clear of the operator logo. An earlier attempt put three
 * ambient twinkles INSIDE this corner instead: at <=1024px the cells reflow and the
 * logo's white plate slides up to ~(30, 24) from the corner, so anything sitting
 * there lands on white and reads as a speck of dirt. Above the border there is no
 * such collision at any width.
 *
 * ⚠️ It is a child of the first TD, not of the row: tr is display:flex, so a badge
 * parented to the row would become a flex ITEM and claim a share of the cell
 * layout. Absolute positioning against tr:first-child (which carries
 * position:relative) takes it out of flow, and the cells lay out untouched.
 *
 * The dark spread ring in the box-shadow is load-bearing: it punches the panel's
 * border line out from behind the badge, so the edge appears to pass under it
 * rather than collide with its outline.
 */
/*
 * ----------------------------------------------------- the rank chips ----
 *
 * Every row's position, as a small square held against the LEFT edge of the panel
 * and centred on its height. The rank is REAL TEXT from rd_rank_markup(), not a CSS
 * counter: a position in a ranking is information, and a counter is invisible to a
 * screen reader and to copy-paste.
 *
 * ⚠️ THE FILLS ARE OPAQUE, and that is the point. These were translucent tints
 * (rgba white .07 / rgba blue .17) and the panel's own corner-light gradient and the
 * page's polygon mesh showed straight through the chip, so the number sat on a set of
 * faint diagonal lines. Any value here must stay a solid colour — reach for a
 * two-stop gradient if it needs shaping, never an alpha.
 *
 * Vertical centring is transform-based, so the chip stays centred as rows change
 * height: at <=1024px the cells reflow to a 2x2 grid and these panels get roughly
 * two and a half times taller.
 */
.rd-dark #primary.site-content .ctable .rd-rank {
	position: absolute;
	top: 50%;
	/* Centred ON the panel's left edge, not inside it: left:0 puts the chip's own left
	   edge on the border line, and translate(-50%) pulls it back by half its width so
	   the BORDER runs through the chip's centre. Half of it therefore hangs outside the
	   panel -- safe, because the row's container is overflow:visible and #primary's
	   padding is 20px even at the narrowest breakpoint, against a 14px overhang. */
	left: 0;
	transform: translate(-50%, -50%);
	z-index: 2;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 9px;
	border: 1px solid rgba(233, 244, 255, .34);
	background: linear-gradient(180deg, #1C2B43 0%, #121C2E 100%);
	background-origin: border-box;
	font-family: var(--rd-mono);
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1;
	color: #E9F4FF;
	pointer-events: none;
	/* The dark spread ring is the badge's trick again, and it earns its place now that
	   the chip straddles the border: it punches the panel's edge out from behind the
	   chip so the line appears to pass under it instead of colliding with its corner. */
	box-shadow:
		0 0 0 3px rgba(4, 9, 19, .92),
		0 1px 2px rgba(0, 0, 0, .5),
		0 0 13px -3px rgba(233, 244, 255, .26);
}

/* The top pick's chip is the blue one, and the only one that glows properly. */
.rd-dark #primary.site-content .ctable tr:first-child .rd-rank {
	border-color: rgba(127, 203, 255, .66);
	background: linear-gradient(180deg, #14416B 0%, #0B2743 100%);
	color: #EAF7FF;
	box-shadow:
		0 0 0 3px rgba(4, 9, 19, .92),
		0 1px 2px rgba(0, 0, 0, .5),
		0 0 18px -2px rgba(127, 203, 255, .58),
		0 4px 14px -6px rgba(42, 165, 245, .65);
}

/*
 * NO CHIP (2026-08-10) -- the badge is the bare sparkle cluster.
 *
 * The round blue chip that used to hold the sparkles is gone: no border, no
 * gradient fill, no box-shadow. This element survives only as the positioning
 * wrapper, so the SVG keeps its place in the corner and the glint animation below
 * is untouched.
 *
 * WHAT HAPPENED TO THE BORDER LINE. The chip sat at top:-13px straddling the
 * panel's top border, and the `0 0 0 3px rgba(4,9,19,.92)` spread ring in its
 * box-shadow was what punched that line out from behind it. Strip the chip and the
 * punch goes with it, so the panel's edge now passes BEHIND the cluster -- which is
 * deliberate and was checked by rendering, not assumed: the sparkles' own glow (see
 * .rd-tp-spark) washes the 1px line out where it crosses and the dominant star
 * covers it outright. If it ever starts showing through, the fix is more glow, not
 * a scrim -- a scrim is the chip coming back.
 *
 * ⚠️ It STRADDLES the edge rather than being tucked fully inside the corner, and
 * that is not a free choice: at <=1024px the cells reflow and the operator logo's
 * white plate slides up to roughly (30, 24) from the corner, so a cluster sitting
 * inside the corner lands on white and reads as a speck of dirt. Straddling keeps
 * it clear at every width -- confirmed at 1440 and 500.
 *
 * Geometry: the old chip was 1px border + 5px padding + 16px SVG + 5px + 1px = 28px
 * at top:-13px / left:20px, centred at (34, +1). The SVG is now 32px and is the
 * whole box, so left:18px holds that same horizontal centre, and top:-10px drops
 * the cluster so most of it sits OVER the row with the top points breaking the
 * edge. Keep that horizontal centre if the size changes again: left = 34 - size/2.
 */
.rd-dark #primary.site-content .ctable tr:first-child .rd-toppick {
	position: absolute;
	top: -10px;
	left: 18px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0;
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

/* ⚠️ Light, NOT the old #06263F ink. That navy was picked to sit on the chip's pale
   blue fill; with the fill gone it would be near-invisible navy-on-navy. Only
   renders if RD_TOPPICK_LABEL is given a value again -- it is empty today. */
.rd-dark #primary.site-content .ctable tr:first-child .rd-tp-txt { color: #DCEBFA; }

.rd-dark #primary.site-content .ctable tr:first-child .rd-tp-spark {
	display: block;
	flex: none;
	/* 16px, not 13: at 13 the three-shape cluster went muddy and the dominant
	   sparkle stopped reading as a four-pointed star at all. */
	width: 32px;
	height: 32px;
	overflow: visible;
	fill: #FFFFFF;
	/* The glow the chip's box-shadow used to give the badge, moved onto the shapes
	   themselves now that there is no chip to carry it -- without it the stars read
	   as flat white specks rather than as a marker. Delete this one declaration for
	   bare unlit sparkles. */
	filter:
		drop-shadow(0 0 5px rgba(127, 203, 255, .8))
		drop-shadow(0 0 12px rgba(42, 165, 245, .5));
}

/*
 * The glint.
 *
 * Same shape of curve as the page's ambient stars -- long hold, brief flash, quick
 * decay -- but on a much higher floor and a much shorter cycle. Those live in the
 * sky and are allowed to disappear; this one is a marker, and a marker that spends
 * half its loop at .30 stops doing its job. Three offsets so the cluster shimmers
 * rather than pulsing as one object.
 *
 * transform-box: fill-box is required -- without it scale() pivots on the SVG's
 * user-space origin and swings each sparkle across the badge instead of growing it
 * in place.
 */
.rd-dark #primary.site-content .ctable tr:first-child .rd-tp-spark path {
	transform-box: fill-box;
	transform-origin: center;
}

.rd-dark #primary.site-content .ctable tr:first-child .rd-tp-s1 { animation: rd-tp-glint 3.4s ease-in-out infinite; }
.rd-dark #primary.site-content .ctable tr:first-child .rd-tp-s2 { animation: rd-tp-glint 2.6s ease-in-out .55s infinite; }
.rd-dark #primary.site-content .ctable tr:first-child .rd-tp-s3 { animation: rd-tp-glint 3.0s ease-in-out 1.3s infinite; }

@keyframes rd-tp-glint {
	0%, 44% { opacity: .62; transform: scale(.84); }
	60%     { opacity: 1;   transform: scale(1.14); }
	78%     { opacity: .78; transform: scale(.94); }
	100%    { opacity: .62; transform: scale(.84); }
}

/*
 * ------------------------------------------------- the rating rings ------
 *
 * Replaces the five-star sprite with a ring that fills on load, scored out of ten.
 * Markup from rd_rating_ring() in inc/redesign.php.
 *
 * The old .rating sprite rules further down this file are now INERT on the front
 * page -- the element they styled no longer exists there. They are left in place
 * deliberately: they still apply anywhere else a .ctable is used, and they are the
 * fallback if the filter is ever removed.
 *
 * A ring instead of a bar because it is a score out of a maximum, not a quantity: a
 * closed shape shows "how much of the whole" without needing a scale printed next to
 * it. And unlike the sprite, it is honest -- see the note in the PHP about .r47
 * having shown 92% next to the number 4.9.
 */
/* The gradient carrier holds no geometry. position:absolute rather than
   display:none — a paint server inside a display:none subtree is not reliably
   resolvable, and this has to stay referenceable. */
.rd-dark #primary.site-content .ctable .rd-ring-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

/* The gap is the space between the dial and the "/10" caption under it. It was
   1px, which read as the caption being stuck to the ring rather than labelling
   it. */
.rd-dark #primary.site-content .ctable .rd-ring {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: .375rem;
}

.rd-dark #primary.site-content .ctable .rd-ring-art {
	position: relative;
	width: 54px;
	height: 54px;
}

/* overflow: visible so the value stroke's glow is not clipped at the viewBox edge. */
.rd-dark #primary.site-content .ctable .rd-ring-svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.rd-dark #primary.site-content .ctable .rd-ring-trk {
	fill: none;
	stroke: rgba(122, 180, 230, .16);
	stroke-width: 3.2;
}

/*
 * The value arc.
 *
 * stroke-dasharray is the full circumference (2*pi*19); the OFFSET is inline per row,
 * emitted by the PHP. stroke-linecap:round is what stops a 96% ring from looking like
 * a full one -- a butt cap leaves a hairline gap that reads as a rendering artefact,
 * while two rounded ends read as a deliberate stop.
 */
.rd-dark #primary.site-content .ctable .rd-ring-val {
	fill: none;
	/* The gradient, with a flat colour after it as a fallback: an unresolvable
	   url() paint with nothing behind it is not painted AT ALL, so if the defs ever
	   stop being injected the ring would silently disappear rather than degrade. */
	stroke: url(#rd-ring-grad) var(--rd-blue);
	stroke-width: 3.2;
	stroke-linecap: round;
	stroke-dasharray: 119.381;
	/* Glow stays blue: the arc starts blue and only reaches the plum at its very end,
	   so a plum halo would be lighting a colour that is barely on screen. */
	filter: drop-shadow(0 0 4px rgba(42, 165, 245, .7));
	animation: rd-ring-fill 1.9s cubic-bezier(.22, .75, .24, 1) both;
}

/* The top pick keeps a stronger glow rather than its own stroke: all three rings
   now share one gradient def, and giving this one a different paint would mean a
   second <linearGradient> for a difference the glow already carries. */
.rd-dark #primary.site-content .ctable tr:first-child .rd-ring-val {
	filter: drop-shadow(0 0 7px rgba(127, 203, 255, .85));
}

/*
 * The load.
 *
 * ONE keyframe, `from`, and no `to`. The implicit to-keyframe takes each element's
 * own underlying value -- which is the inline stroke-dashoffset -- so a single shared
 * animation lands every row on its own score with no per-row keyframes and no JS.
 * `both` holds the start value through the delay so a staggered ring is empty rather
 * than full while it waits.
 */
@keyframes rd-ring-fill {
	from { stroke-dashoffset: 119.381; }
}

/* Staggered so the column fills top-down and reads as one gesture rather than three
   things happening at once. Covers more rows than this table has, on purpose. */
.rd-dark #primary.site-content .ctable tr:nth-child(2) .rd-ring-val { animation-delay: .18s; }
.rd-dark #primary.site-content .ctable tr:nth-child(3) .rd-ring-val { animation-delay: .36s; }
.rd-dark #primary.site-content .ctable tr:nth-child(4) .rd-ring-val { animation-delay: .54s; }
.rd-dark #primary.site-content .ctable tr:nth-child(5) .rd-ring-val { animation-delay: .72s; }
.rd-dark #primary.site-content .ctable tr:nth-child(6) .rd-ring-val { animation-delay: .90s; }

.rd-dark #primary.site-content .ctable .rd-ring-num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--rd-d-ink);
}

.rd-dark #primary.site-content .ctable tr:first-child .rd-ring-num { color: #FFFFFF; }

.rd-dark #primary.site-content .ctable .rd-ring-max {
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .08em;
	color: var(--rd-d-muted);
}


.rd-dark #primary.site-content .ctable td { color: var(--rd-d-body); }

/*
 * The two-line bonus. `._bq` is the qualifier line ("100% bis zu"), emitted by
 * rd_bonus_two_line() in inc/redesign.php; the amount below it is the <strong>,
 * now in the accent blue so the figure is what the eye lands on in each panel.
 *
 * The qualifier is a step down in size as well as in colour: at the same size as
 * a 1.25rem amount the two lines compete, and the cell stops having an obvious
 * subject. Trailing copy after the amount stays inline on the second line.
 */
.rd-dark #primary.site-content .ctable td > ._bq {
	display: block;
	font-size: .875rem;
	line-height: 1.4;
	color: var(--rd-d-body);
}

.rd-dark #primary.site-content .ctable td > strong { color: var(--rd-blue); }
.rd-dark #primary.site-content .ctable td[data-label]:before { color: var(--rd-d-muted); }
.rd-dark #primary.site-content .ctable .rating { color: var(--rd-d-muted); }
.rd-dark #primary.site-content .ctable .rating strong { color: var(--rd-d-ink); }

/* The licence line, now a footer INSIDE a padded panel: style.css gives it
   `margin: 0 10px`, which against the row's own 1.25rem padding left it inset by
   a different amount than the cells above it. Zeroed, and the breathing room
   moved to padding so the rule sits clear of the text. */
/*
 * ⚠️ THE background-origin / background-clip TRAP -- read before adding a border to
 * anything with a gradient on it.
 *
 * `background: <gradient>` leaves background-ORIGIN at its default padding-box while
 * background-CLIP defaults to border-box. The gradient is therefore SIZED to the
 * padding box but PAINTED across the border box, and because background-repeat also
 * defaults to repeat, the leftover border strip shows the start of the next TILE --
 * i.e. the gradient's 0%% colour.
 *
 * On the top pick's CTA that produced a hard 2px #2AA5F5 sliver down the right edge of
 * an otherwise eggplant button: a blue chunk with no source in any rule, which is
 * exactly how it was reported. It is only visible over the middle of the pill because
 * the 999px radius curves the border band away above and below.
 *
 * origin:border-box makes the gradient span what is actually painted; no-repeat means
 * a future size change cannot reintroduce a tile edge.
 */

/*
 * ONE FILLED BUTTON PER TABLE.
 *
 * The top pick keeps the solid blue CTA; every row below it gets the ghost, so the
 * table has a single loudest thing in it instead of three competing ones.
 *
 * The transparent 2px border on the filled button is not decoration: the ghost
 * adds a real 2px ring, and without a matching border here the top pick's button
 * would be 4px shorter and narrower than the ones under it.
 */
.rd-dark #primary.site-content .ctable table td a.btn {
	border: 2px solid transparent;
	background-origin: border-box;
	background-repeat: no-repeat;
}

.rd-dark #primary.site-content .ctable table tr:not(:first-child) td a.btn {
	background: transparent;
	color: #DCE9F5;
	border-color: var(--rd-ghost-edge);
	box-shadow: none;
}

/* Hover fills with the ghostly blue and brightens the ring. Deliberately a weaker
   bloom than .rd-pill-ghost's -- inside a panel this sits much closer to body copy
   than the hero button does, and at the hero's strength it hazes the text beside it. */
.rd-dark #primary.site-content .ctable table tr:not(:first-child) td a.btn:hover {
	background: var(--rd-ghost-fill);
	color: #FFFFFF;
	border-color: var(--rd-ghost-edge-hi);
	box-shadow:
		0 0 10px -2px rgba(216, 241, 255, .40),
		0 0 24px 0 rgba(112, 196, 255, .26),
		0 0 30px 1px var(--rd-glow-plum);
}

.rd-dark #primary.site-content .ctable .tnc {
	margin: .5rem 0 0;
	padding-top: .5rem;
	border-top-color: var(--rd-d-rule);
	color: var(--rd-d-muted);
}

/*
 * ._lic is no longer green.
 *
 * The green was a semantic claim -- "verified licence", state rather than brand --
 * but it reads as off-theme against the blue, so the line now sits in the same
 * muted grey as the rest of the .tnc row — and with the bold dropped too, it is
 * simply the quiet legal footer of the panel rather than a claim of its own.
 *
 * --rd-d-muted is a placeholder for the specific grey she picked; swap the value
 * here and nothing else needs to move. --rd-d-good is now unused by this rule but
 * stays defined for any future "verified" badge.
 */
.rd-dark #primary.site-content .ctable ._lic { color: var(--rd-d-muted); }

/*
 * Operator logos — the one thing on this page a dark ground genuinely breaks.
 *
 * All three sprites (casino-777-ch.png, jackpots-ch.png, mycasino-ch.png) are
 * DARK artwork on transparency: measured mean luminance 77, 17 and 33, with
 * 95-100% of their opaque pixels below 90. They were drawn for a white table and
 * on this ground they are very nearly invisible.
 *
 * So each gets a light chip to sit on. The alternatives are worse:
 * filter:invert() throws all three brands into the wrong hue, and
 * brightness(0) invert(1) flattens them to white silhouettes, losing exactly the
 * brand colour a comparison table exists to show. A near-white plate is also
 * what the operators' own brand guidelines assume.
 *
 * Mechanics: only background-COLOR may be set here. The sprite itself is a
 * background-image on this same element (style.css:1944), so any `background` or
 * `background-image` declaration would wipe the logo out. box-sizing:border-box
 * holds the plate at the inherited 164x72 while the padding insets the artwork,
 * and background-origin:content-box is what makes the theme's
 * `background-size: contain` respect that padding instead of filling the plate
 * edge to edge.
 *
 * ⚠️ THE REVIEW PAGES NEED THIS TOO. The sprites are equally invisible in the
 * review hero (.rd-rev-id) and in the closing operator strip (.rd-compare), so
 * both join the selector rather than getting a second copy of the plate — the
 * brands have to look identical everywhere they appear. This was missed on the
 * first pass and the screenshot caught it: two of the three logos read as empty
 * space on the review pages.
 */
.rd-dark #primary.site-content .ctable ._logo > span,
.rd-dark #primary.site-content .rd-rev-id ._logo > span,
.rd-dark #primary.site-content .rd-compare ._logo > span {
	box-sizing: border-box;
	padding: 7px 11px;
	background-color: #F4F8FC;
	background-origin: content-box;
	border-radius: 10px;
	box-shadow:
		inset 0 0 0 1px rgba(10, 26, 47, .14),
		0 6px 16px -8px rgba(0, 0, 0, .8);
}

/* The compare strip's plate is smaller (116x46), so the inset comes down with it
   — 7px of padding on a 46px-tall plate leaves the artwork too little room. */
.rd-dark #primary.site-content .rd-compare ._logo > span {
	padding: 5px 8px;
	border-radius: 8px;
}

/*
 * The rating sprite, which lies on a dark ground.
 *
 * img/star.png is two 18x15 rows: the base row is solid #CCCCCC and the overlay
 * row solid #FFA200, and the score is the overlay's clipped width (.r47 = 92%).
 * On white the grey row reads as an empty slot. On THIS ground grey #CCC is
 * brighter than the gold, so every rating read as five full stars — the sprite
 * was actively lying about the score.
 *
 * The base fix is a filter, which works everywhere. Where mask-image is
 * available the sprite is used as a MASK instead and each row gets a real
 * colour — a blue-grey slot and a slightly lifted gold — which is worth the
 * extra rules because filtered grey goes muddy against navy. The @supports
 * direction is the safe one: no mask support means no mask, and the filter
 * fallback stands.
 */
.rd-dark #primary.site-content .ctable .rating:before { filter: brightness(.34); }
.rd-dark #primary.site-content .ctable .rating:after { filter: brightness(1.06) saturate(1.1); }

@supports ((-webkit-mask-image: url("../img/star.png")) or (mask-image: url("../img/star.png"))) {
	.rd-dark #primary.site-content .ctable .rating:before,
	.rd-dark #primary.site-content .ctable .rating:after {
		background-image: none;
		filter: none;
		-webkit-mask-image: url(../img/star.png);
		mask-image: url(../img/star.png);
		-webkit-mask-repeat: repeat-x;
		mask-repeat: repeat-x;
		-webkit-mask-position: 0 0;
		mask-position: 0 0;
	}

	.rd-dark #primary.site-content .ctable .rating:before {
		background-color: rgba(141, 181, 214, .24);
	}

	/* Second row of the sprite, same offset the theme uses for the background
	   version. Declared after the shared rule above, which sets position 0 0. */
	.rd-dark #primary.site-content .ctable .rating:after {
		background-color: #FFB222;
		-webkit-mask-position: 0 -15px;
		mask-position: 0 -15px;
	}
}

/* ---------------------------------------------------- criteria strip ---- */
/* Both of the strip's classes carry a light background (.rd-band-tint and
   .rd-criteria), so both are answered. The panel is a LIFT of the ground rather
   than a colour of its own — a flat fill at this size reads as a hole. */
.rd-dark #primary.site-content .rd-band-tint {
	background: transparent;
	border-block-color: var(--rd-d-rule);
}

.rd-dark #primary.site-content .rd-criteria {
	background: linear-gradient(180deg, rgba(122, 180, 230, .06) 0%, rgba(122, 180, 230, .02) 100%);
	border-color: var(--rd-d-rule);
}

/*
 * Re-asserts the criteria panel's heading reset.
 *
 * `#primary.site-content .rd-shead h2` (light theme, further up) and
 * `.rd-dark #primary.site-content h2` (the article rule) BOTH weigh (1,2,1), and
 * the dark one comes later in the file -- so it wins, and the article's section
 * spacing leaks into the panel and shoves its heading off-centre. Restated here,
 * after both, rather than by inflating either selector.
 *
 * This is the THIRD time this exact collision has bitten this file: an ID-carrying
 * layout rule against a component rule of equal weight. If a component inside
 * #primary ever looks like it has picked up article spacing, look here first.
 */
.rd-dark #primary.site-content .rd-shead h2 {
	margin: 0;
	padding: 0;
	border-top: none;
}

.rd-dark #primary.site-content .rd-kicker { color: var(--rd-blue-hi); }

/* Brighter end of the ramp first: the light theme's blue-to-blue-lo gradient
   ends at 4.7:1 here, so the last word of the heading faded out. */
.rd-dark #primary.site-content .rd-shead h2 em {
	background-image: linear-gradient(96deg, var(--rd-blue-hi) 0%, var(--rd-blue) 100%);
}

.rd-dark #primary.site-content .rd-shead p { color: var(--rd-d-muted); }

.rd-dark #primary.site-content .rd-card {
	background: var(--rd-d-2);
	border-color: var(--rd-d-rule);
}

/* Omnidirectional glow, the same geometry and for the same reason as the
   comparison rows -- see .ctable tr:hover, which explains why the offsets are zero
   and why the spreads can only be slightly negative. A card and a table row now
   answer the pointer identically. */
.rd-dark #primary.site-content .rd-card:hover {
	border-color: rgba(42, 165, 245, .5);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .5),
		0 0 26px -6px rgba(42, 165, 245, .45),
		0 0 54px -4px var(--rd-glow-plum);
}

/*
 * Blue titles, and specifically --rd-blue.
 *
 * ⚠️ NOT --rd-blue-lo, the light theme's accent: #0D7FD4 measures 4.37:1 on the
 * card's --rd-d-2 ground, i.e. under AA for text this size. #2AA5F5 measures 6.81:1.
 * That is the third place in this file where the low blue has had to be rejected on
 * a dark ground -- see the prose-link and FAQ notes.
 */
.rd-dark #primary.site-content .rd-card h3 { color: var(--rd-blue); }
.rd-dark #primary.site-content .rd-card p { color: var(--rd-d-muted); }

.rd-dark #primary.site-content .rd-icn {
	background: linear-gradient(180deg, rgba(42, 165, 245, .17) 0%, rgba(42, 165, 245, .05) 100%);
	border-color: rgba(42, 165, 245, .3);
	color: var(--rd-blue-hi);
}

/*
 * The icon glyphs, painted with the wordmark's gradient (see #rd-icn-grad, emitted
 * by rd_criteria_markup()).
 *
 * ⚠️ The flat colour AFTER the url() is a fallback and is not optional: an
 * unresolvable paint server with nothing behind it is not painted AT ALL, so if the
 * defs carrier ever stops being emitted the icons would vanish rather than fall
 * back to a colour. Same guard as the rating rings.
 *
 * This is scoped to .rd-dark deliberately. The ramp opens on #E9F2FA, which is
 * near-white -- correct on the dark ground, invisible on the light theme's white
 * card. ?rdlight=1 keeps the flat --rd-blue-lo from the base rule.
 *
 * CSS beats the SVG's own stroke="currentColor" presentation attribute, so the
 * markup does not need to change.
 */
.rd-dark #primary.site-content .rd-icn svg {
	stroke: url(#rd-icn-grad) var(--rd-blue-hi);
}

/* --------------------------------------------------- hero starfield ---- */
/*
 * Stars across the whole ATF.
 *
 * THREE layers: the .rd-stars element itself plus its own ::before and ::after.
 * The element's group is deliberately STATIC and only the two pseudo groups
 * twinkle -- because animating opacity on the parent would multiply into its
 * children's rendered opacity and drag both pseudo layers along with it, which
 * is exactly the "whole hero blinks in unison" failure the three layers exist to
 * avoid. A steady base sky under two out-of-phase twinkling groups also just
 * looks better than everything moving.
 *
 * One mask on the parent covers all three, since pseudo-element children are
 * masked with the element: the field thins out toward the bottom of the hero so
 * the stars do not march into the article.
 */
.rd-dark .rd-stars,
.rd-dark .rd-stars::before,
.rd-dark .rd-stars::after {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	pointer-events: none;
}

.rd-dark .rd-stars {
	/* z-index 0 keeps the field above .rd-atf::before (the polygon mesh) and below
	   .rd-hero, which is z-index 2 -- so stars sit behind the headline and behind
	   the cards, never over them. */
	z-index: 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 94%);
	mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 94%);
}

.rd-dark .rd-stars::before,
.rd-dark .rd-stars::after {
	content: "";
}

/*
 * TWO animations per group: the twinkle (opacity) and a slow drift (transform).
 *
 * The drift is what makes the sky feel like a place rather than a texture, and it
 * is why the durations are so long — 46 and 61 seconds, so nothing ever looks like
 * it is travelling. Different directions per group, which is what reads as
 * parallax: the two layers separate and rejoin instead of sliding as one sheet.
 *
 * Each drift goes out and comes BACK (see the keyframes) rather than translating
 * continuously. A one-way drift accumulates offset, and eventually every star has
 * left the box through one edge.
 *
 * Durations are deliberately not multiples of each other, so twinkle and drift
 * never resync into a visible common beat.
 */
.rd-dark .rd-stars::before {
	animation:
		rd-tw-a 5.5s ease-in-out infinite,
		rd-drift-a 46s ease-in-out infinite;
}

.rd-dark .rd-stars::after {
	animation:
		rd-tw-b 7.3s ease-in-out 1.9s infinite,
		rd-drift-b 61s ease-in-out infinite;
}

.rd-dark .rd-stars {
	background-image:
		radial-gradient(circle, rgba(206,236,255,0.88) 46%, rgba(206,236,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.85) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.99) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.94) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.99) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.92) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.92) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.95) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(206,236,255,0.91) 46%, rgba(206,236,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.92) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.87) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.96) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.95) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.9) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.87) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(178,220,255,1.0) 46%, rgba(178,220,255,0) 100%);
	background-size: 2.1px 2.1px, 1.8px 1.8px, 2.5px 2.5px, 2.7px 2.7px, 2.4px 2.4px, 2.8px 2.8px, 2.4px 2.4px, 2.6px 2.6px, 2.2px 2.2px, 1.9px 1.9px, 2.7px 2.7px, 2.2px 2.2px, 1.6px 1.6px, 2.3px 2.3px, 2.0px 2.0px, 2.0px 2.0px;
	background-position: 76.5% 59.3%, 51.2% 45.6%, 42.8% 10.8%, 99.8% 70.6%, 54.0% 65.7%, 86.5% 9.1%, 40.1% 11.4%, 31.1% 63.5%, 7.1% 51.3%, 88.8% 35.8%, 59.3% 21.8%, 49.6% 44.2%, 43.9% 97.7%, 94.7% 29.6%, 94.4% 13.4%, 89.9% 95.2%;
}

.rd-dark .rd-stars::before {
	background-image:
		radial-gradient(circle, rgba(236,247,255,0.76) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.82) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.74) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.88) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.71) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.89) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.77) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.85) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.89) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.81) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(206,236,255,0.94) 46%, rgba(206,236,255,0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.79) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.89) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.89) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.89) 46%, rgba(236,247,255,0) 100%);
	background-size: 2.0px 2.0px, 2.6px 2.6px, 2.0px 2.0px, 1.6px 1.6px, 2.5px 2.5px, 2.0px 2.0px, 2.2px 2.2px, 1.4px 1.4px, 2.4px 2.4px, 1.4px 1.4px, 1.9px 1.9px, 1.7px 1.7px, 2.2px 2.2px, 1.5px 1.5px, 2.3px 2.3px;
	background-position: 91.4% 44.1%, 14.6% 78.0%, 37.7% 24.1%, 64.5% 10.9%, 97.0% 47.7%, 36.6% 11.6%, 88.9% 25.8%, 76.2% 94.7%, 96.8% 37.0%, 18.3% 6.6%, 21.6% 23.3%, 33.6% 12.7%, 75.7% 56.0%, 0.8% 41.3%, 23.3% 95.9%;
}

.rd-dark .rd-stars::after {
	background-image:
		radial-gradient(circle, rgba(178,220,255,0.7) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.73) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.72) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206,236,255,0.75) 46%, rgba(206,236,255,0) 100%),
		radial-gradient(circle, rgba(206,236,255,0.78) 46%, rgba(206,236,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.69) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.68) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206,236,255,0.79) 46%, rgba(206,236,255,0) 100%),
		radial-gradient(circle, rgba(206,236,255,0.58) 46%, rgba(206,236,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.68) 46%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.75) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(178,220,255,0.71) 46%, rgba(178,220,255,0) 100%),
		radial-gradient(circle, rgba(236,247,255,0.67) 46%, rgba(236,247,255,0) 100%),
		radial-gradient(circle, rgba(206, 142, 224, 0.66) 46%, rgba(206, 142, 224, 0) 100%);
	background-size: 1.8px 1.8px, 1.5px 1.5px, 2.2px 2.2px, 1.5px 1.5px, 2.6px 2.6px, 2.5px 2.5px, 1.5px 1.5px, 2.0px 2.0px, 2.8px 2.8px, 1.7px 1.7px, 2.4px 2.4px, 2.0px 2.0px, 1.9px 1.9px, 2.3px 2.3px;
	background-position: 43.0% 88.7%, 67.0% 49.8%, 31.0% 66.3%, 44.6% 15.8%, 15.7% 5.0%, 96.2% 64.2%, 51.8% 18.0%, 68.3% 35.3%, 59.6% 59.0%, 49.2% 56.1%, 66.8% 84.0%, 60.6% 25.6%, 0.6% 26.3%, 28.5% 47.4%;
}

/*
 * The twinkle curve.
 *
 * Long dim hold, brief flash, quick decay -- NOT a symmetrical fade. A plain
 * ease in and out spends most of its time mid-bright and reads as pulsing; this
 * is the CSS approximation of the pow4-on-a-sine curve the canvas dust and the
 * hand's glitter both use, and it has to match them or the hero has two
 * different ideas of what a star does.
 */
@keyframes rd-tw-a {
	0%, 58% { opacity: .30; }
	70%     { opacity: 1; }
	82%     { opacity: .46; }
	100%    { opacity: .30; }
}

@keyframes rd-tw-b {
	0%, 52% { opacity: .26; }
	64%     { opacity: .96; }
	78%     { opacity: .40; }
	100%    { opacity: .26; }
}

/* ------------------------------------------------------------- mist ---- */
/*
 * The atmosphere behind the article: soft luminous washes drifting across the
 * ground, replacing the wireframe globes an earlier revision put here.
 *
 * WHY WASHES AND NOT AN OBJECT: a globe is a thing, and a thing in the
 * background of a 3,600-word article competes with the copy and asks to be
 * explained. Mist is a condition -- it gives the ground depth without adding a
 * subject. (img/galaxy.svg and its generator are left on disk, unreferenced, so
 * the globes are four lines of CSS away if they are ever wanted back. Nothing
 * requests them, so they cost nothing at runtime.)
 *
 * THIRTEEN layers, and the count is the point: one radial gradient reads as a
 * blob however soft it is, because the eye finds its centre. Overlapping washes
 * at different sizes, elongations and colours have no single centre, and that is
 * what reads as mist. Three of them (30/25%, and the pair at 63/72%) deliberately
 * OVERLAP their neighbour so the combined shape is irregular.
 *
 * Each layer is a sized, positioned box rather than a full-box gradient, so a
 * layer only rasterises where it actually paints -- thirteen full-page gradient
 * layers over a 12,000px article would be thirteen times the work per tile.
 * closest-side means the ellipse reaches zero alpha exactly at its box edge, so
 * no layer can show a cut edge.
 *
 * Colours are the site's three: --rd-blue for the lit washes, a deeper 14,76,134
 * navy for the heavy ones, and a pale 150,206,252 for the few bright cores.
 * Alphas run .05-.26 -- high enough to see, low enough that body copy over any of
 * them keeps its contrast.
 *
 * z-index -3: behind the drifting stars (-2) and the seam fade (-1). See the seam
 * rule for the full stack.
 */
.rd-dark #primary.site-content::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	z-index: -3;
	pointer-events: none;
	background-repeat: no-repeat;
	background-image:
		radial-gradient(closest-side, rgba(42,165,245,0.152) 0%, rgba(42,165,245,0.086) 36%, rgba(42,165,245,0.030) 66%, rgba(42,165,245,0) 100%),
		radial-gradient(closest-side, rgba(150,206,252,0.109) 0%, rgba(150,206,252,0.061) 36%, rgba(150,206,252,0.022) 66%, rgba(150,206,252,0) 100%),
		radial-gradient(closest-side, rgba(14,76,134,0.377) 0%, rgba(14,76,134,0.212) 36%, rgba(14,76,134,0.075) 66%, rgba(14,76,134,0) 100%),
		radial-gradient(closest-side, rgba(42,165,245,0.131) 0%, rgba(42,165,245,0.072) 36%, rgba(42,165,245,0.026) 66%, rgba(42,165,245,0) 100%),
		radial-gradient(closest-side, rgba(150,206,252,0.080) 0%, rgba(150,206,252,0.045) 36%, rgba(150,206,252,0.016) 66%, rgba(150,206,252,0) 100%),
		radial-gradient(closest-side, rgba(14,76,134,0.348) 0%, rgba(14,76,134,0.194) 36%, rgba(14,76,134,0.070) 66%, rgba(14,76,134,0) 100%),
		radial-gradient(closest-side, rgba(42,165,245,0.123) 0%, rgba(42,165,245,0.070) 36%, rgba(42,165,245,0.025) 66%, rgba(42,165,245,0) 100%),
		radial-gradient(closest-side, rgba(14,76,134,0.319) 0%, rgba(14,76,134,0.178) 36%, rgba(14,76,134,0.064) 66%, rgba(14,76,134,0) 100%),
		radial-gradient(closest-side, rgba(150,206,252,0.087) 0%, rgba(150,206,252,0.049) 36%, rgba(150,206,252,0.017) 66%, rgba(150,206,252,0) 100%),
		radial-gradient(closest-side, rgba(42,165,245,0.116) 0%, rgba(42,165,245,0.065) 36%, rgba(42,165,245,0.023) 66%, rgba(42,165,245,0) 100%),
		radial-gradient(closest-side, rgba(14,76,134,0.334) 0%, rgba(14,76,134,0.187) 36%, rgba(14,76,134,0.067) 66%, rgba(14,76,134,0) 100%),
		radial-gradient(closest-side, rgba(42,165,245,0.102) 0%, rgba(42,165,245,0.057) 36%, rgba(42,165,245,0.020) 66%, rgba(42,165,245,0) 100%),
		radial-gradient(closest-side, rgba(150,206,252,0.072) 0%, rgba(150,206,252,0.041) 36%, rgba(150,206,252,0.014) 66%, rgba(150,206,252,0) 100%);
	background-size:
		1280px 640px,
		980px 470px,
		900px 430px,
		1320px 580px,
		820px 380px,
		1080px 500px,
		960px 450px,
		1260px 560px,
		1040px 470px,
		1300px 590px,
		980px 450px,
		900px 420px,
		1180px 540px;
	background-position:
		left -430px top 2%,
		right -300px top 8%,
		left -210px top 16%,
		right -400px top 25%,
		left -180px top 30%,
		left -320px top 39%,
		right -250px top 47%,
		left -420px top 56%,
		right -300px top 63%,
		right -380px top 72%,
		left -260px top 80%,
		right -220px top 88%,
		left -360px top 95%;
}

/* ----------------------------------------------- article dust sparks --- */
/*
 * The near, MOVING dust behind the article — the hero's spark field carried down
 * the page. Drawn by js/page-dust.js; this rule is the box it lives in, and the box
 * is the interesting part.
 *
 * STICKY, ONE VIEWPORT TALL. The article is ~12,000px, and a canvas that size would
 * be tens of megabytes of backing store for pixels that are almost never on screen.
 * Sticky pins the canvas to the top of the viewport while the article is in view, so
 * it stays exactly viewport-sized and the field is scrolled THROUGH it by a parallax
 * offset in the JS. Cost is constant however long the article grows.
 *
 * Sticky also solves the harder problem, which is CLIPPING. A fixed canvas would
 * hang over the whole viewport permanently — doubling up on the hero's own dust and
 * painting straight over the footer — and would have needed z-index rules on both
 * to dig itself back out.
 *
 * ⚠️ TWO ELEMENTS, AND WHICH PROPERTY LIVES ON WHICH IS THE WHOLE FIX. The sticky
 * box used to be the WRAPPER, at height:100vh with margin-bottom:-100vh to cancel
 * its own height so it did not push the article 100vh down the page. That negative
 * margin is exactly what let it escape: a sticky box is held inside its containing
 * block by its MARGIN box, so -100vh handed it 100vh of licence to slide past
 * #primary's bottom edge. Measured 2026-08-12 on /uber-mich/ at 1860x935: #primary
 * ended at 1005 and this box reached 1430 — over the footer, and 79px PAST the end
 * of the document, which the browser then painted in the bare html background. That
 * was the black band at the foot of every page.
 *
 * So the wrapper is now absolutely positioned at inset:0 — out of flow, so there is
 * nothing to cancel and no negative margin to abuse, and its box is #primary's box
 * to the pixel, so it can contribute no overflow of its own. `overflow: clip` on it
 * is what actually enforces "stops at #primary's edges", which the sticky box was
 * only ever assumed to do. clip rather than hidden: it is not a scroll container, so
 * the canvas inside still resolves its stickiness against the VIEWPORT, which is the
 * one thing that has to keep working.
 *
 * ⚠️ Do not put z-index, opacity, transform or isolation on the wrapper. It must not
 * become a stacking context: the footer's plumes blend with `screen` against this
 * layer's backdrop, and isolating it would flatten them.
 *
 * ⚠️ js/page-dust.js sizes the backing store from the CANVAS's own box, not the
 * wrapper's — the wrapper is now article-tall, and measuring it would rebuild the
 * ~70MB canvas this rule exists to avoid.
 *
 * z-index -1: above the starfield (-2) and the mist (-3), still behind the copy.
 */
.rd-dark .rd-sparkwrap {
	position: absolute;
	inset: 0;
	overflow: clip;
	z-index: -1;
	pointer-events: none;
}

.rd-dark .rd-sparkwrap canvas {
	display: block;
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
}

/* ------------------------------------------------ the gutter chips ----- */
/*
 * The glowing chip pair, out in the LEFT gutter beside the article.
 *
 * ANCHORING. right:100% puts the picture's right edge exactly on #primary's left
 * edge -- i.e. entirely outside the content column -- and the negative
 * margin-right then tucks it back under that edge by a fixed amount so it reads as
 * passing BEHIND the column rather than floating loose in the margin. Anchoring to
 * the column (not to the viewport, and not with a left offset) is what keeps the
 * relationship constant at every width: the gutter grows and shrinks, the overlap
 * does not. Same lesson the hand cost us -- anchor decoration to the element it
 * relates to.
 *
 * It needs no breakpoint to keep it off the copy: at z-index -1 inside #primary's
 * stacking context the article always paints over it, and anything running off the
 * left of the viewport is clipped by the root's overflow-x:hidden.
 *
 * BLENDING. Three things together, none of them enough alone:
 *   - opacity, so it sits back in the page instead of competing with the copy;
 *   - a radial mask, so the asset's rectangular edge dissolves instead of ending;
 *   - mix-blend-mode:screen, which takes every dark pixel to nothing and leaves
 *     only the light the chips emit. On a near-black ground that is the difference
 *     between an image placed on the page and a glow coming out of it.
 *
 * ⚠️ screen blends against the backdrop WITHIN #primary's stacking context, which
 * exists because .rd-dark #primary.site-content sets isolation:isolate. That is
 * load-bearing here -- without the isolation the blend would reach further back and
 * composite against #page's ground instead.
 */
.rd-dark .rd-chips,
.rd-dark .rd-deck {
	position: absolute;
	z-index: -1;
	display: block;
	width: min(30rem, 32vw);
	pointer-events: none;
	opacity: .5;
	mix-blend-mode: screen;
	-webkit-mask-image: radial-gradient(closest-side, #000 52%, rgba(0, 0, 0, 0) 100%);
	        mask-image: radial-gradient(closest-side, #000 52%, rgba(0, 0, 0, 0) 100%);
}

.rd-dark .rd-chips img,
.rd-dark .rd-deck img {
	display: block;
	width: 100%;
	height: auto;
}

/* Left gutter, upper third. */
.rd-dark .rd-chips {
	top: 26rem;
	right: 100%;
	margin-right: -110px;
}

/*
 * REVIEW PAGES ONLY: the chips drop to the middle third (2026-08-17).
 *
 * A review page has a THIRD gutter piece the other pages do not -- the fairy,
 * injected inside .rd-rev by rd_review_fairy(). She is centred on that panel, which
 * sits at the very top of the article, and at 26rem the chips landed essentially on
 * top of her: measured on /casino777/ at 1440, the fairy's centre was 376px down
 * #primary and the chips' centre 476px -- ONE HUNDRED PIXELS apart -- and then
 * nothing at all for the 2,235px down to the deck. Two pieces crowded at the top and
 * a long empty middle.
 *
 * 26.5% puts the chips' centre almost exactly halfway between the two, so the three
 * pieces are evenly spaced down the page: measured gaps 1164px and 1171px.
 *
 * ⚠️ A PERCENTAGE, NOT A rem VALUE, for the same reason the deck uses one -- it has
 * to track the article's length or it drifts back towards the fairy on a long review
 * and past the deck on a short one. Checked across all three review pages below.
 *
 * ⚠️ :has() IS THE SCOPE and there is deliberately no PHP behind it. rd_body_class()
 * emits only `rd-dark`, and its own note warns against narrowing the dark switch to a
 * page list; .rd-chips is a child of #primary and .rd-rev is inside #content within
 * the same #primary, so the relationship is already in the DOM. If :has() ever fails
 * to match, the chips simply keep the 26rem above -- the page degrades to its
 * previous look rather than breaking.
 */
.rd-dark #primary:has(.rd-rev) .rd-chips {
	top: 26.5%;
}

/*
 * Right gutter, middle of the page. left:100% is the mirror of the chips'
 * right:100% -- it puts the picture's LEFT edge on the column's right edge -- and
 * the negative margin-left tucks it back under by the same 110px, so the two
 * pieces sit symmetrically however wide the gutter happens to be.
 *
 * ⚠️ The vertical centre is `calc(50% - 10rem)`, NOT top:50% with a
 * translateY(-50%). The transform property belongs entirely to the scroll
 * animation below; a centring transform here would be overwritten by the very
 * first keyframe and the piece would jump. 10rem is half its rendered height
 * (30rem wide at the asset's 1.449 aspect is ~20.7rem tall).
 *
 * 50% of #primary, so it self-adjusts: the middle of the ~12,000px homepage and
 * the middle of a short legal page are both genuinely the middle.
 */
.rd-dark .rd-deck {
	top: calc(50% - 10rem);
	left: 100%;
	margin-left: -110px;
}

/*
 * The scroll pass.
 *
 * A SCROLL-DRIVEN animation, not a time-based one: `animation-timeline: view()`
 * ties the keyframe sequence to this element's own progress through the viewport,
 * so it drifts and turns exactly as far as you scroll and stops when you stop. A
 * time-based animation would keep moving while you read, which is the thing that
 * makes decoration feel like an advert.
 *
 * animation-range entry 0% -> exit 100% runs the sequence from the instant its top
 * edge enters to the instant its bottom edge leaves, so both fades land off-screen
 * and it is never caught appearing or disappearing.
 *
 * ⚠️ THE @supports GUARD IS NOT OPTIONAL. animation-timeline is Chrome/Edge 115+;
 * Firefox and Safari do not have it. Without the guard those browsers would apply
 * the animation with no timeline, fall back to the DOCUMENT timeline, run it once
 * on load and park the element on the final keyframe -- rotated, displaced and at
 * opacity 0, i.e. invisible. With the guard they get the static rule above, which
 * is a perfectly good result. Do not lift these rules out of the block.
 */
@keyframes rd-chips-pass {
	from { opacity: 0;   transform: translate3d(-26px, 70px, 0) rotate(-9deg) scale(.9); }
	28%  { opacity: .55; }
	72%  { opacity: .5; }
	to   { opacity: 0;   transform: translate3d(18px, -70px, 0) rotate(7deg) scale(1.06); }
}

/* Mirrored: it leans and drifts the other way, so the two gutters do not read as
   the same clip played twice. Slightly gentler rotation because the card fan has
   strong diagonals of its own and a big tilt fights them. */
@keyframes rd-deck-pass {
	from { opacity: 0;   transform: translate3d(26px, 70px, 0) rotate(7deg) scale(.92); }
	28%  { opacity: .52; }
	72%  { opacity: .48; }
	to   { opacity: 0;   transform: translate3d(-18px, -70px, 0) rotate(-6deg) scale(1.06); }
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.rd-dark .rd-chips,
		.rd-dark .rd-deck {
			animation: linear both;
			animation-timeline: view();
			animation-range: entry 0% exit 100%;
			/* Its own compositor layer, so the article's text is never re-rastered
			   as these move. */
			will-change: transform, opacity;
		}

		.rd-dark .rd-chips { animation-name: rd-chips-pass; }
		.rd-dark .rd-deck  { animation-name: rd-deck-pass; }
	}
}

/*
 * Both hidden below 900px. Not because they break -- the article paints over them
 * either way -- but because there is no gutter left at that width, so the whole
 * point of them (something BESIDE the column) is gone and all that is left is a
 * bright smear under body copy on the screens where contrast matters most.
 */
/*
 * ⚠️ 1180px, NOT 900px (2026-09-23). Between 901 and ~1180 #primary is the full
 * width of the screen, so there is no gutter at all: the deck sat ENTIRELY past
 * the right edge -- invisible, but 208px of extra scroll width on every page at
 * 1024 (iPad landscape), which is what lets iOS pan a page sideways. 1180 is also
 * the burger breakpoint, i.e. where the desktop layout begins.
 */
@media only screen and (max-width: 1180px) {
	.rd-dark .rd-chips,
	.rd-dark .rd-deck { display: none; }
}

/* --------------------------------------------- article starfield ------- */
/*
 * Stars over the article, drifting -- the hero's sky carried down the page rather
 * than stopping at the fold.
 *
 * TILED, not placed. The hero's field lists every star explicitly, which is right
 * for one screenful. The article box is 100vw by ~12,000px, and covering that at
 * the same density explicitly took ~190 background layers that the compositor has
 * to consider for every tile it rasterises. Instead each group is a handful of
 * dots inside a REPEATING tile: 13 layers total, and the field covers any article
 * length, including one that grows when an editor adds a section.
 *
 * The three tile sizes are deliberately unrelated (820x780, 960x910, 1100x1030) so
 * their common period is tens of thousands of pixels -- far longer than the page,
 * so the pattern never visibly repeats. The drift breaks it up further.
 *
 * Each star's position is expressed INSIDE its own gradient (`at X% Y%`), which is
 * what removes the need for a background-position list, and with it the risk of
 * three lists drifting out of order.
 *
 * As in the hero, the element's own group is STATIC and only the two pseudo groups
 * move: animating the parent would carry its children and the whole sky would
 * slide as one sheet.
 *
 * z-index -2: over the mist (-3), under the seam fade (-1).
 */
.rd-dark .rd-dust,
.rd-dark .rd-dust::before,
.rd-dark .rd-dust::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	pointer-events: none;
}

.rd-dark .rd-dust {
	z-index: -2;
	/* Fades the field IN over the first 320px, so the article's stars begin exactly
	   where the hero's masked-out field ends and none of them sit on the seam. */
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 320px);
	mask-image: linear-gradient(to bottom, transparent 0, #000 320px);
}

.rd-dark .rd-dust::before,
.rd-dark .rd-dust::after {
	content: "";
}

/*
 * ⚠️ The drift keyframes MUST carry the -50% centring, because animating transform
 * replaces the WHOLE property -- a keyframe of plain translate3d() would drop the
 * translateX(-50%) above and slam both layers half a viewport sideways. That is why
 * these use rd-dust-drift-*, while the hero's inset-positioned layers can share
 * rd-drift-*: those have no base transform to preserve.
 *
 * Their twinkle is rd-tw-c/d, not the hero's rd-tw-a/b: the hero curve rests at
 * .26-.30 opacity, which is right for a dramatic sky over one screen but leaves
 * these stars invisible for most of their cycle behind body copy. These rest around
 * .5 and are a shimmer rather than a flash.
 */
.rd-dark .rd-dust::before {
	animation:
		rd-tw-c 6.7s ease-in-out infinite,
		rd-dust-drift-a 78s ease-in-out infinite;
}

.rd-dark .rd-dust::after {
	animation:
		rd-tw-d 9.1s ease-in-out 2.4s infinite,
		rd-dust-drift-b 104s ease-in-out infinite;
}

.rd-dark .rd-dust {
	background-image:
		radial-gradient(circle 1.28px at 18.3% 56.7%, rgba(226,242,255,0.85) 38%, rgba(226,242,255,0) 100%),
		radial-gradient(circle 1.0px at 71.6% 74.4%, rgba(206, 142, 224, 0.88) 38%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle 1.39px at 69.3% 70.1%, rgba(160,206,250,0.97) 38%, rgba(160,206,250,0) 100%),
		radial-gradient(circle 1.03px at 45.8% 61.0%, rgba(226,242,255,0.93) 38%, rgba(226,242,255,0) 100%),
		radial-gradient(circle 0.98px at 26.7% 14.8%, rgba(226,242,255,0.9) 38%, rgba(226,242,255,0) 100%);
	background-size: 820px 780px;
	background-repeat: repeat;
}

.rd-dark .rd-dust::before {
	background-image:
		radial-gradient(circle 1.33px at 35.3% 95.4%, rgba(190,224,255,0.75) 38%, rgba(190,224,255,0) 100%),
		radial-gradient(circle 1.14px at 15.6% 64.7%, rgba(206, 142, 224, 0.92) 38%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle 1.1px at 69.7% 16.5%, rgba(226,242,255,0.82) 38%, rgba(226,242,255,0) 100%),
		radial-gradient(circle 0.86px at 25.2% 50.7%, rgba(226,242,255,0.86) 38%, rgba(226,242,255,0) 100%);
	background-size: 960px 910px;
	background-repeat: repeat;
}

.rd-dark .rd-dust::after {
	background-image:
		radial-gradient(circle 1.13px at 11.9% 56.7%, rgba(226,242,255,0.72) 38%, rgba(226,242,255,0) 100%),
		radial-gradient(circle 1.28px at 14.4% 27.5%, rgba(206, 142, 224, 0.77) 38%, rgba(206, 142, 224, 0) 100%),
		radial-gradient(circle 1.18px at 11.9% 8.3%, rgba(190,224,255,0.76) 38%, rgba(190,224,255,0) 100%),
		radial-gradient(circle 1.3px at 29.9% 44.2%, rgba(190,224,255,0.83) 38%, rgba(190,224,255,0) 100%);
	background-size: 1100px 1030px;
	background-repeat: repeat;
}

/* Shimmer rather than flash -- see the note on .rd-dust::before. */
@keyframes rd-tw-c {
	0%, 48% { opacity: .52; }
	62%     { opacity: 1; }
	80%     { opacity: .66; }
	100%    { opacity: .52; }
}

@keyframes rd-tw-d {
	0%, 44% { opacity: .46; }
	58%     { opacity: .92; }
	76%     { opacity: .60; }
	100%    { opacity: .46; }
}

/*
 * The drift curves.
 *
 * Out and BACK, never one-way: a continuous translate accumulates offset until
 * every star has left the box through an edge. 50% is the far point, so a cycle is
 * one slow breath.
 *
 * translate3d rather than translate, to keep each field on its own composited
 * layer -- these boxes are 100vw by the full article height, and repainting one per
 * frame is not something to hand the main thread.
 *
 * Amplitudes are tens of pixels over a minute or more. Anything faster stops being
 * a sky and becomes a slideshow behind the text.
 */
@keyframes rd-drift-a {
	0%   { transform: translate3d(0, 0, 0); }
	50%  { transform: translate3d(28px, -16px, 0); }
	100% { transform: translate3d(0, 0, 0); }
}

@keyframes rd-drift-b {
	0%   { transform: translate3d(0, 0, 0); }
	50%  { transform: translate3d(-24px, 12px, 0); }
	100% { transform: translate3d(0, 0, 0); }
}

/* The -50% is the centring from the base rule, carried through -- see the warning
   on .rd-dust::before above. */
@keyframes rd-dust-drift-a {
	0%   { transform: translateX(-50%) translate3d(0, 0, 0); }
	50%  { transform: translateX(-50%) translate3d(34px, -20px, 0); }
	100% { transform: translateX(-50%) translate3d(0, 0, 0); }
}

@keyframes rd-dust-drift-b {
	0%   { transform: translateX(-50%) translate3d(0, 0, 0); }
	50%  { transform: translateX(-50%) translate3d(-30px, 15px, 0); }
	100% { transform: translateX(-50%) translate3d(0, 0, 0); }
}

/* ------------------------------------------------------------- FAQ ----- */
/*
 * The FAQ as an accordion of floating cards. Markup comes from
 * rd_faq_accordion() in inc/redesign.php -- native <details>/<summary>, so the
 * open/close behaviour is the browser's and needs no JS.
 *
 * "Floating in space" is doing real work here: the panel background is
 * TRANSLUCENT, so the mist and the drifting dust sparks behind the article show
 * THROUGH each card. An opaque panel would cover them and the cards would read as
 * sitting on the page; letting the sky through is what makes them read as
 * suspended in it. That is also why the shadow is wide and soft rather than tight
 * -- it has to look like distance, not like a raised button.
 */
.rd-dark #primary.site-content .rd-faq {
	margin: 0 0 .875rem;
	/* --rd-blue-hi's triplet, not the old blue-grey: the edge now reads as light
	   BLUE rather than as a neutral hairline. Alpha stays low (.26) on purpose --
	   the hover (.46) and open (.52) edges have to stay visibly ahead of the
	   resting one, or the card stops signalling that it can be opened. */
	border: 2px solid rgba(127, 203, 255, .26);
	border-radius: 14px;
	background: rgba(10, 21, 36, .55);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .35),
		0 20px 38px -26px rgba(0, 0, 0, .85);
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Last one keeps the section's own bottom spacing rather than adding to it. */
.rd-dark #primary.site-content .rd-faq:last-child { margin-bottom: 0; }

/*
 * The site default hover -- see --rd-hover-glow. Converted 2026-08-17: this card
 * had been left on the OLD directional geometry (`0 24px 42px -22px`) when the
 * comparison rows and .rd-card went omnidirectional on 2026-08-10, so an FAQ card
 * and a table row were answering the pointer differently despite the note above
 * saying they should match. Now they do.
 *
 * ⚠️ THE EDGE STAYS .46 AND DOES NOT TAKE --rd-hover-edge (.50). This card is the
 * one element with a THREE-state edge ladder -- resting .26, hover .46, open .52 --
 * and .50 would sit close enough to the open state to erase the difference between
 * "pointed at" and "opened". The glow is the shared part; the edge is local.
 *
 * Both resting layers are repeated. The old rule dropped the `0 20px 38px -26px`
 * dark layer, so the card lost its lift at the moment it was pointed at.
 */
.rd-dark #primary.site-content .rd-faq:hover {
	border-color: rgba(42, 165, 245, .46);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .35),
		0 20px 38px -26px rgba(0, 0, 0, .85),
		var(--rd-hover-glow);
}

/* Open: the light-blue edge comes up and the glow deepens, so at a glance you can
   see which one you opened. */
.rd-dark #primary.site-content .rd-faq[open] {
	border-color: rgba(42, 165, 245, .52);
	background: rgba(14, 29, 48, .72);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .4),
		0 28px 50px -26px rgba(42, 165, 245, .38);
}

/*
 * An OPEN card still answers the pointer (2026-08-17).
 *
 * ⚠️ THIS RULE IS LOAD-BEARING AND ITS POSITION IS THE POINT. `[open]` and
 * `:hover` carry the SAME specificity (one id, four classes/attributes), so the
 * later one wins outright -- and `[open]` is the later one. Without this,
 * hovering a card you had already opened silently produced no glow at all: the
 * open state's shadow simply replaced it. Must stay AFTER the `[open]` rule.
 *
 * The open edge (.52) is kept -- "which one did I open" outranks "which one am I
 * pointing at" -- and the open state's own directional blue layer is dropped,
 * because the omnidirectional blue in --rd-hover-glow is already doing that job.
 */
.rd-dark #primary.site-content .rd-faq[open]:hover {
	box-shadow:
		0 1px 2px rgba(0, 0, 0, .4),
		var(--rd-hover-glow);
}

/*
 * The question row.
 *
 * display:flex is what removes the browser's default disclosure triangle in
 * Chrome -- the marker only renders on a summary that is display:list-item. The
 * list-style and ::-webkit-details-marker rules cover the other engines, and one
 * of the three is redundant in every browser; which one varies, so all three stay.
 */
.rd-dark #primary.site-content .rd-faq > summary {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.125rem 1.375rem;
	cursor: pointer;
	list-style: none;
	-webkit-tap-highlight-color: transparent;
}

.rd-dark #primary.site-content .rd-faq > summary::-webkit-details-marker { display: none; }

/*
 * The h3 stays a real h3 (see the PHP note) so it needs the article's heading
 * spacing stripped off it. ID-prefixed because `#primary.site-content h3` would
 * otherwise win and put a 2rem margin inside the summary row.
 *
 * The question is set in --rd-blue -- the SAME accent as the chevron beside it and
 * the card's open/hover edge, so the whole card speaks in one colour. Not
 * --rd-blue-lo: like the prose links, #0D7FD4 drops under 5:1 on this ground.
 */
.rd-dark #primary.site-content .rd-faq > summary h3 {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 1.0625rem;
	line-height: 1.42;
	color: var(--rd-blue);
	text-wrap: pretty;
}

/* ------------------------------------------------ the question number -- */
/*
 * The same numbering the quicknav uses, in front of each question.
 *
 * ⚠️ A CSS COUNTER, NOT DIGITS IN THE MARKUP — the same argument as the quicknav,
 * and here it is stronger. These questions are authored in post_content on every
 * page that has an FAQ, and on the slot reviews they are written by a build
 * helper; a hand-typed 1..7 is a chance per question for the numbering to
 * disagree with the list after one is added, removed or reordered in wp-admin.
 * A counter counts the cards that are actually there.
 *
 * ⚠️ ::before, BECAUSE ::after IS THE CHEVRON. The summary is already a flex row
 * of [ h3 | chevron ]; the number becomes the first item in it, which is exactly
 * where the quicknav puts its own — see the note on .rd-jump a::before for why
 * the figure is mono and tabular, and why it is plain decimal rather than
 * decimal-leading-zero.
 *
 * ⚠️ THE COUNTER IS RESET ON .entry-content, not on the h2 above the FAQ. The
 * cards are top-level siblings in the article with no wrapper of their own, and
 * the h2's id differs per page (#faqs on a review, not everywhere). One reset per
 * article is correct while there is one FAQ run per page; a second run would
 * continue the numbering rather than restart it.
 */
.rd-dark #primary.site-content .entry-content { counter-reset: rd-faq; }

.rd-dark #primary.site-content .rd-faq { counter-increment: rd-faq; }

.rd-dark #primary.site-content .rd-faq > summary::before {
	content: counter(rd-faq);
	flex: none;
	/*
	 * ⚠️ NEGATIVE, AND IT IS CANCELLING THE ROW'S OWN gap. The summary sets
	 * gap: 1.25rem, which is the distance the QUESTION needs from the chevron at
	 * the far end of the row — 20px between a number and the question it belongs
	 * to reads as two separate things. This pulls that one pair back to .75rem
	 * and leaves the chevron's spacing alone, which editing the gap itself would
	 * not: the h3 absorbs the free space, so the gap is only really visible here.
	 */
	margin-right: -.5rem;
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .03em;
	font-variant-numeric: tabular-nums;
	color: var(--rd-plum-hi);
	transition: color .18s ease;
}

/*
 * ⚠️ THE SWAP RUNS THE OPPOSITE WAY TO THE QUICKNAV'S, AND THAT IS THE POINT.
 * There the label is neutral and the number is the eggplant, so hover hands the
 * number to the blue. Here the QUESTION is already blue at rest and goes eggplant
 * on hover (see the rule below it) — so a number that stayed eggplant would land
 * on the same colour as the text beside it and the card would lose the two-colour
 * reading it has at rest. Sending the number to blue as the question leaves it
 * keeps exactly one of each at every moment.
 */
.rd-dark #primary.site-content .rd-faq:hover > summary::before,
.rd-dark #primary.site-content .rd-faq[open] > summary::before {
	color: var(--rd-blue-hi);
}

/*
 * The chevron, drawn from two borders rather than shipped as an icon: two
 * declarations, no request, and it inherits the accent colour. Rotating it is the
 * whole open/closed affordance.
 *
 * The translate compensates for the rotation -- a square rotated about its centre
 * hangs visually low against a line of text.
 */
.rd-dark #primary.site-content .rd-faq > summary::after {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--rd-blue);
	border-bottom: 2px solid var(--rd-blue);
	transform: rotate(45deg) translate(-1px, -2px);
	transition: transform .24s ease, border-color .2s ease;
}

.rd-dark #primary.site-content .rd-faq[open] > summary::after {
	border-color: var(--rd-blue-hi);
	transform: rotate(-135deg) translate(-2px, -1px);
}

/*
 * Hover moves the question to the SECONDARY: blue at rest, eggplant under the
 * pointer. It answers the plum note already sitting in the card's hover glow
 * (--rd-glow-plum), so the colour change and the glow are now the same event
 * rather than a blue text move over a plum-tinted shadow.
 *
 * ⚠️ --rd-plum-hi, NOT --rd-plum. The client's eggplant is L 17% and measures
 * 1.2:1 against this panel -- it would read as the question going out, not as it
 * changing colour. --rd-plum-hi is that same 291deg hue at the level the palette
 * reserves for eggplant carrying as text on dark, and lands at ~7:1 here.
 *
 * Only the h3 moves. The chevron stays --rd-blue so the open/closed affordance
 * keeps one colour through the whole interaction, and the glow is untouched.
 */
.rd-dark #primary.site-content .rd-faq > summary h3 { transition: color .2s ease; }
.rd-dark #primary.site-content .rd-faq > summary:hover h3 { color: var(--rd-plum-hi); }

/* The answer. Padding on three sides only: the top gap comes from the summary's
   own padding-bottom, so opening a card does not double-space the first line. */
.rd-dark #primary.site-content .rd-faq-a {
	padding: 0 1.375rem 1.25rem;
}

.rd-dark #primary.site-content .rd-faq-a p {
	margin: 0;
	color: var(--rd-d-body);
}

.rd-dark #primary.site-content .rd-faq-a p + p { margin-top: .875rem; }

/*
 * Opening animation.
 *
 * <details> cannot be height-animated in CSS alone -- the content simply exists or
 * does not -- so this fades and slides the answer in instead, which reads as an
 * open rather than as a jump. It runs on [open] because that is the only moment
 * the element enters the box tree. There is deliberately no closing animation: the
 * content is gone the instant the attribute is removed, and faking it needs JS.
 */
.rd-dark #primary.site-content .rd-faq[open] > .rd-faq-a {
	animation: rd-faq-open .26s ease-out;
}

@keyframes rd-faq-open {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

/*
 * No mobile override for the mist, deliberately.
 *
 * The globes that used to live on this pseudo-element needed one: sized for a
 * 1440px page they each swallowed a phone screen. A wash has no edges and no
 * subject, so one that covers a narrow viewport still just reads as haze -- and
 * the override that WAS here listed four background-size values, which against
 * the mist's thirteen layers would have silently truncated the field.
 */

/*
 * ------------------------------------------------------ forms on dark ----
 *
 * Added 2026-08-10 with the site-wide switch. Until then the dark rules only ever
 * met the front page, which has no form -- so /kontakt/ came through with the
 * browser's default white inputs and grey submit button sitting on the dark
 * ground. Nothing else on the site was affected.
 *
 * The markup is the Contact Form plugin's (`.cntctfrm_*`), so the selectors are
 * pinned to element types INSIDE #primary rather than to that plugin's classes:
 * a plugin update can rename its wrappers, and this way any form on any page
 * inherits the treatment. #primary.site-content is carried for the same
 * specificity reason as the rest of this section.
 *
 * ⚠️ The captcha input cannot be fully styled from here: the plugin prints
 * `style="margin-bottom:0;display:inline;font-size:12px;width:40px"` INLINE on it,
 * and an inline declaration beats any selector short of !important. Those four
 * properties are therefore left alone -- only its colours are set, which the
 * inline style does not claim. Do not add !important to fight it; the 40px box is
 * fine and the fight would have to be re-fought on every plugin update.
 */
.rd-dark #primary.site-content input[type="text"],
.rd-dark #primary.site-content input[type="email"],
.rd-dark #primary.site-content input[type="url"],
.rd-dark #primary.site-content input[type="tel"],
.rd-dark #primary.site-content input[type="number"],
.rd-dark #primary.site-content input[type="search"],
.rd-dark #primary.site-content textarea,
.rd-dark #primary.site-content select {
	box-sizing: border-box;
	max-width: 100%;
	padding: .625rem .75rem;
	border: 1px solid rgba(122, 180, 230, .30);
	border-radius: 8px;
	/* A LIFT off the ground rather than a hole in it: the panels and cards on this
	   site are all a step lighter than what they sit on, and an input that went
	   darker would be the only inverted surface here. */
	background: rgba(233, 244, 255, .055);
	color: var(--rd-d-ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.rd-dark #primary.site-content textarea {
	display: block;
	width: 100%;
	min-height: 9rem;
	resize: vertical; /* horizontal resize would break out of the measure */
}

/* ::placeholder needs its own rule -- it does NOT inherit the input's color. */
.rd-dark #primary.site-content input::placeholder,
.rd-dark #primary.site-content textarea::placeholder { color: var(--rd-d-muted); }

/*
 * Focus is a RING, not just a border-colour change: a 1px colour shift is easy to
 * miss, and this is the only keyboard affordance on the page. outline:none is not
 * used -- the box-shadow ring is drawn in addition to whatever the UA draws, so a
 * forced-colours or high-contrast user keeps a real outline.
 */
.rd-dark #primary.site-content input[type="text"]:focus,
.rd-dark #primary.site-content input[type="email"]:focus,
.rd-dark #primary.site-content input[type="url"]:focus,
.rd-dark #primary.site-content input[type="tel"]:focus,
.rd-dark #primary.site-content input[type="number"]:focus,
.rd-dark #primary.site-content input[type="search"]:focus,
.rd-dark #primary.site-content textarea:focus,
.rd-dark #primary.site-content select:focus {
	border-color: rgba(127, 203, 255, .72);
	background: rgba(233, 244, 255, .085);
	box-shadow: 0 0 0 3px rgba(42, 165, 245, .22);
}

/* Colours only -- see the inline-style warning above. */
.rd-dark #primary.site-content input.cptch_input {
	border: 1px solid rgba(122, 180, 230, .30);
	border-radius: 6px;
	padding: .25rem;
	text-align: center;
	background: rgba(233, 244, 255, .055);
	color: var(--rd-d-ink);
}

/* The field labels and the required marker. */
.rd-dark #primary.site-content label { color: var(--rd-d-body); }
.rd-dark #primary.site-content .required { color: var(--rd-blue-hi); }

/*
 * The search form (theme searchform.php) laid out as one row.
 *
 * flex rather than leaving the two controls inline: inline-level siblings are
 * separated by whatever whitespace happens to be in the source, which is a gap
 * nobody chose and that disappears if the markup is ever minified. The input
 * needs a flex-basis wide enough for the placeholder -- at its default size it
 * clipped "Suchbegriff eingeben" mid-word -- and min-width:0 so it can still
 * shrink below that basis on a phone instead of pushing the button off-screen
 * (a flex item's default min-width:auto refuses to shrink past its content).
 */
.rd-dark #primary.site-content .rd-searchform {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .625rem;
	/* Capped, because the content column is 1100px: an input that filled it read as
	   a banner rather than as a control, and the button ended up marooned at the far
	   right of the page. The cap is on the FORM, so the two children keep their
	   relationship and the whole row still collapses cleanly on a phone. */
	max-width: 34rem;
	margin: 1.25rem 0 0;
}

.rd-dark #primary.site-content .rd-searchform input[type="search"] {
	flex: 1 1 20rem;
	min-width: 0;
}

.rd-dark #primary.site-content .rd-searchform input[type="submit"] {
	flex: none;
	margin-top: 0; /* the row's align-items handles it; the stacked-form margin would offset it */
}

/*
 * The submit button reuses the ATF pill's fill, so the site has ONE primary
 * button and not a second one that merely resembles it. Same no-ring, no-bevel
 * treatment as .rd-pill-blue -- see the note there.
 *
 * A min-width, because --rd-cta-fill is a horizontal ramp: on a very short label
 * the dark left end and the bright right end land within a few characters of each
 * other and the gradient reads as a smudge rather than a ramp.
 *
 * ⚠️ background-color:transparent IS LOAD-BEARING, and it is the one difference
 * between this rule and .rd-pill-blue. Those pills are <a> elements, which have no
 * default background; a submit control has a UA-painted light grey one. Setting
 * only background-IMAGE leaves that grey underneath, and since --rd-cta-fill now
 * starts at alpha 0 it shows straight through -- the button renders with a white
 * left end and a blue right end. Caught by rendering it; nothing about the
 * declaration list looks wrong.
 */
.rd-dark #primary.site-content input[type="submit"],
.rd-dark #primary.site-content button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 11rem;
	margin-top: .25rem;
	padding: calc(.75rem + 1px) calc(1.5rem + 1px);
	border: 0;
	border-radius: 999px;
	background-color: transparent;
	background-image: var(--rd-cta-fill);
	background-repeat: no-repeat;
	color: #FFFFFF;
	font-family: inherit;
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 22px -6px rgba(42, 165, 245, .75);
	transition: transform .18s ease, box-shadow .18s ease;
}

.rd-dark #primary.site-content input[type="submit"]:hover,
.rd-dark #primary.site-content button[type="submit"]:hover {
	color: #FFFFFF;
	box-shadow:
		0 0 10px -2px rgba(216, 241, 255, .62),
		0 0 26px 0 rgba(112, 196, 255, .48),
		0 0 54px 4px rgba(48, 152, 248, .26),
		0 6px 22px -6px rgba(42, 165, 245, .75);
	transition: box-shadow .28s ease-out;
}

@media (prefers-reduced-motion: reduce) {
	/*
	 * The stars stay; the twinkling AND the drift stop. Killing the animation leaves
	 * each pseudo group at the keyframes' own 0% values -- resting opacity, zero
	 * offset -- so both fields are still fully there and correctly placed, just
	 * still. Removing the stars would change the composition rather than remove
	 * motion.
	 *
	 * `animation: none` covers both animations on each layer, since the shorthand
	 * resets the whole list. .rd-dust's layers keep their base translateX(-50%)
	 * from the class rule, because that lives outside the keyframes.
	 *
	 * The canvas dust already has the same policy, enforced in js/hero-hand.js: one
	 * static frame rather than no particles.
	 */
	.rd-dark .rd-stars::before,
	.rd-dark .rd-stars::after,
	.rd-dark .rd-dust::before,
	.rd-dark .rd-dust::after {
		animation: none;
		opacity: .34;
	}

	/*
	 * The top-pick badge's sparkles stop glinting but stay FULLY lit.
	 *
	 * .34 is right for a star in the sky and wrong here: this cluster is part of a
	 * label, and a label at a third opacity reads as disabled. So it is held at the
	 * bright end of the curve rather than at its resting value — still means "not
	 * moving", not "half faded".
	 */
	.rd-dark #primary.site-content .ctable tr:first-child .rd-tp-spark path {
		animation: none;
		opacity: 1;
		transform: none;
	}

	/*
	 * The rating rings arrive already filled.
	 *
	 * Killing the animation is all that is needed and is exactly right here: the final
	 * offset is an inline style on each circle, so with no animation running the ring
	 * simply renders at its score. Nothing to restore, nothing half-drawn.
	 */
	.rd-dark #primary.site-content .ctable .rd-ring-val {
		animation: none;
	}
}

/* ====================================================== review pages ==== */
/*
 * Furniture for the operator reviews (/casino777/, /jackpots/, /mycasino/) and
 * the topic pages (/bonus/, /spielautomaten/, /twint/).
 *
 * --------------------------------------------------------------------------
 * WHY THESE ARE NOT PREFIXED WITH .rd-dark
 *
 * Everything in the section above is, because those rules RESTYLE light-theme
 * components for the dark ground -- both skins have to stay reachable so
 * ?rdlight=1 remains an honest "before". These components have no light
 * ancestor: they were authored for the dark site and ship in post_content, so
 * there is nothing to compare them against. One skin, written on the dark
 * tokens, applied in both modes. Under ?rdlight=1 they render as dark panels on
 * the white ground -- which is why they carry their own --rd-d-* backgrounds and
 * never inherit a ground from the body.
 *
 * SPECIFICITY. #primary.site-content is carried on anything that has to beat the
 * prose rules (h2/h3/p/li/a all carry that ID -- see the note at the head of the
 * dark section). A bare .rd-pc h3 is (0,2,1) and loses to (1,1,1); it would
 * silently take the prose heading's size and margins.
 * --------------------------------------------------------------------------
 */

/* --------------------------------------------------------- review hero -- */
/*
 * The operator card at the top of a review: who it is, what we scored it, what
 * the offer is, and the four facts that decide most visits (concession holder,
 * game count, payout route, minimum deposit).
 *
 * Deliberately NOT a .ctable row. A comparison table ranks operators against each
 * other; this page is about one of them, so the layout leads with identity and
 * verdict rather than with a rank chip and a "top pick" badge.
 */
#primary.site-content .rd-rev {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.25rem 2rem;
	align-items: center;
	margin: 0 0 2rem;
	padding: 1.75rem;
	border: 1px solid var(--rd-d-rule-2);
	border-radius: 18px;
	/*
	 * TRANSLUCENT ON PURPOSE, SO THE FAIRY READS THROUGH THE CARD.
	 *
	 * --rd-d-2 as a flat colour is opaque, and the fairy is a negative-z-index
	 * child: .rd-rev is position:relative with z-index:auto, so it is NOT a
	 * stacking context and the panel's own background paints OVER her. An opaque
	 * fill therefore hid every part of the figure that reached under the card,
	 * which is most of her.
	 *
	 * .58 is the legibility ceiling, found by rendering rather than by taste: the
	 * panel still reads as a card against the page ground, and the glow that comes
	 * through lands at roughly 40% strength, which body copy at --rd-d-body
	 * survives. Lower than this and the small uppercase labels in the facts row
	 * start to wash out.
	 *
	 * ⚠️ NO backdrop-filter HERE. Blurring the backdrop is the usual reflex for a
	 * translucent card and it would defeat the whole point: the fairy is a fine
	 * wireframe lattice, and blurred she becomes a blue smudge.
	 */
	/*
	 * TWO CORNERS, blue top right and eggplant bottom left -- the panel family
	 * treatment .rd-abt and .rd-verdict already carry, and which this panel was
	 * described as carrying before it actually did (see the note on .rd-abt's own
	 * background, written against three panels when only two had the second
	 * layer). Added 2026-09-08 with the rest of the review rework.
	 *
	 * The eggplant is held to .18 against .rd-abt's .10 because this panel's flat
	 * layer is only .58 opaque, so a share of the wash is lost to the ground
	 * showing through it. Measured rather than guessed: at .10 here the corner was
	 * not distinguishable from the panel in a screenshot.
	 *
	 * ⚠️ IT IS THE BOTTOM LEFT CORNER, WHICH IS THE ONE THE FAIRY DOES NOT USE.
	 * She enters from the right gutter at the panel's vertical middle, and a wash
	 * on that side would be competing with her glow rather than balancing it.
	 */
	background:
		radial-gradient(120% 140% at 88% 0%, rgba(42, 165, 245, .10) 0, rgba(42, 165, 245, 0) 58%),
		radial-gradient(96% 130% at 0% 104%, rgba(153, 60, 169, .18) 0, rgba(153, 60, 169, 0) 62%),
		rgba(24, 34, 44, .58);
	box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
	transition: border-color .2s ease, box-shadow .2s ease;
}

/*
 * The gradient hairline across the panel's top edge.
 *
 * The one thing on the card that is pure decoration, and it is here because the
 * panel is 1px of --rd-d-rule-2 all the way round: an even hairline on four sides
 * gives a box no top, and every other lead element on the site (the hero pill,
 * the CTA, the rating rings, the payout rail) announces itself with the ramp
 * somewhere. This is that, at 1px.
 *
 * ⚠️ INSET AT BOTH ENDS, NOT edge to edge. Run to the corners and it fights the
 * border radius -- a straight 1px line meeting a curve reads as a rendering
 * fault. Inset past the radius and it reads as a highlight ON the edge.
 *
 * ⚠️ NO z-index, deliberately. .rd-rev must not become a stacking context (see
 * the hover note below) and this needs no index: a positioned pseudo-element
 * declared on the panel paints above the panel's own background already.
 */
#primary.site-content .rd-rev::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 1.5rem;
	right: 1.5rem;
	height: 1px;
	border-radius: 1px;
	background: linear-gradient(90deg,
		rgba( 42, 165, 245, 0)   0%,
		rgba( 42, 165, 245, .8) 20%,
		rgba(200, 138, 216, .9) 64%,
		rgba(153,  60, 169, 0) 100%);
	pointer-events: none;
}

/*
 * The site default hover -- see --rd-hover-glow -- but the edge answers in
 * EGGPLANT rather than blue (2026-08-17, at her request).
 *
 * The blue edge would have been wrong here specifically: this panel already
 * carries a blue radial wash in its own background and sits with the blue fairy
 * behind it, so a blue hover edge had nothing to react against. The eggplant is
 * the one accent on the card that is not already blue.
 *
 * ⚠️ NO overflow OR z-index MAY BE ADDED TO .rd-rev. The panel is deliberately
 * position:relative with z-index:auto so it is NOT a stacking context -- that is
 * what lets the z-index:-1 fairy paint behind it (see the background note above).
 * box-shadow is safe because it creates no stacking context; overflow:hidden would
 * additionally eat the upper half of the glow.
 *
 * The resting drop is repeated ahead of the glow, or the card loses its lift at
 * the moment it is pointed at.
 */
#primary.site-content .rd-rev:hover {
	border-color: var(--rd-hover-edge-plum);
	box-shadow:
		0 24px 60px -40px rgba(0, 0, 0, .9),
		var(--rd-hover-glow);
}

/* Identity block: sprite logo, then the verdict sentence. */
#primary.site-content .rd-rev-id { min-width: 0; }

#primary.site-content .rd-rev-id ._logo > span { width: 148px; height: 62px; }

#primary.site-content .rd-rev-claim {
	margin: .75rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--rd-d-strong);
}

/*
 * The score.
 *
 * A plain number, not a ring. The comparison table already spends a ring per row
 * on exactly this value; repeating the device here would make the review look
 * like a one-row table. The number is the loudest thing in the panel because it
 * is the page's answer.
 */
#primary.site-content .rd-rev-score {
	flex: none;
	text-align: center;
	/*
	 * min-width, not a width on the meter. The plate sits in the grid's `auto`
	 * column, so it sizes to its widest child -- which used to be the 13px "von
	 * 10 Punkten" caption at about 96px. A ten-segment meter in 96px gives 6.6px
	 * bars and reads as a dotted line, so the floor is set here and the meter
	 * takes the width it is given. 11.5rem leaves it 134px, i.e. 10.4px bars.
	 */
	min-width: 11.5rem;
	padding: .875rem 1.375rem 1rem;
	/*
	 * The eggplant edge, for the same reason .rd-rev hovers to one: this plate is
	 * gradient-clipped blue text on a blue-washed panel, and the secondary is the
	 * only outline on it that is not already competing with something.
	 */
	border: 1px solid rgba(200, 138, 216, .3);
	border-radius: 14px;
	/*
	 * Held DENSER than the panel (.78 against .58). This plate sits in the panel's
	 * top-right corner, which is exactly where the fairy's wing passes, and it
	 * carries the page's single most important number in gradient-clipped text --
	 * already the least contrast headroom in the card, so it keeps a near-solid
	 * ground instead of competing with a glow behind it.
	 */
	background: rgba(14, 29, 48, .78);
}

#primary.site-content .rd-rev-num {
	display: block;
	font-size: 2.5rem;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -.03em;
	background: var(--rd-grad-bp);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	/* The gradient text has no colour of its own if background-clip:text is
	   unsupported, so a fallback colour is painted first by the shorthand above
	   being overridden here only where the feature exists. */
	-webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	#primary.site-content .rd-rev-num { color: var(--rd-blue-hi); -webkit-text-fill-color: currentColor; }
}

#primary.site-content .rd-rev-max {
	display: block;
	margin-top: .25rem;
	font-size: .8125rem;
	color: var(--rd-d-muted);
}

/* The offer + CTA row spans both columns under the identity block. */
#primary.site-content .rd-rev-offer {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .875rem 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rd-d-rule);
}

#primary.site-content .rd-rev-bonus {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--rd-d-body);
}

#primary.site-content .rd-rev-bonus strong {
	display: block;
	font-size: 1.375rem;
	line-height: 1.25;
	color: var(--rd-d-ink);
}

/*
 * The CTA reuses .btn so it inherits the table's filled-button treatment rather
 * than defining a third button style (the selector list that does that is up in
 * the ctable section). margin-left:auto pushes it to the right edge on a wide
 * panel and is harmless once the row wraps.
 *
 * ⚠️ THE ANCHOR IS WRAPPED IN .rd-rev-go IN post_content, AND HAS TO BE.
 * wpautop() leaves block-level elements alone but treats an inline element
 * sitting at block level as a paragraph of its own -- a bare <a class="btn"> on
 * its own line came back as `<p><a ...></a>` with NO CLOSING </p>. That both
 * invalidated the markup and put a stray <p> between the flex container and the
 * button, so margin-left:auto was being applied to something that was no longer
 * a flex item and the CTA sat mid-row. The wrapper is the fix; do not "simplify"
 * it away.
 */
#primary.site-content .rd-rev-go { margin-left: auto; }

/*
 * The four facts.
 *
 * ⚠️ auto-fit ALONE DID NOT GIVE THE 2x2 IT WAS WRITTEN FOR, and the note that
 * used to sit here said it did. minmax(160px, 1fr) inside the narrowing measure
 * lands on THREE columns for most of the tablet range, so the fourth fact sat
 * alone on a second row beside two empty cells whose 1px gaps still drew the grid
 * -- an L-shaped facts block, visible at every width from about 500px to 860px.
 * The explicit two-column rule in the responsive block below is the fix; auto-fit
 * still does the work above it, where four columns genuinely fit.
 */
/* ⚠️ SHARED WITH .rd-pay-facts as of 2026-09-09, and shared rather than copied on
   purpose: the review hero and the payment hero print the same kind of row -- four
   short labelled facts on hairline-separated cells -- and two copies of these three
   rules is a pair that drifts. Only the grid placement differs, and that lives in
   the payment section. */
#primary.site-content .rd-rev-facts,
#primary.site-content .rd-pay-facts,
#primary.site-content .rd-imp-facts {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	overflow: hidden;
	/* The 1px grid gap shows this through as the hairlines between cells, so the
	   dividers cost no extra elements and cannot fall out of sync with the count. */
	background: var(--rd-d-rule);
}

#primary.site-content .rd-rev-facts li,
#primary.site-content .rd-pay-facts li,
#primary.site-content .rd-imp-facts li {
	margin: 0;
	padding: .75rem .875rem;
	/* .66 -- between the panel and the score plate. These cells carry 12px
	   uppercase labels at --rd-d-muted, the weakest type in the card, so they get
	   more ground than the panel while still letting the figure through. */
	background: rgba(24, 34, 44, .66);
	font-size: .9375rem;
	line-height: 1.45;
	color: var(--rd-d-strong);
}

/*
 * flex, not block: the label line now carries the glyph rd_rev_facts_icons()
 * injects ahead of it. The glyph is INSIDE the <b> and not in a plate to the left
 * of the cell -- see that function's docblock for the width arithmetic that
 * decided it.
 */
#primary.site-content .rd-rev-facts b,
#primary.site-content .rd-pay-facts b,
#primary.site-content .rd-imp-facts b {
	display: flex;
	align-items: center;
	gap: .3125rem;
	margin-bottom: .1875rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

/*
 * The 18+ / T&C footnote. Small, muted, and always present under a CTA.
 *
 * ⚠️ IT HAS TWO HOMES AND THEY NEED DIFFERENT MARGINS. In the review hero it is a
 * GRID ITEM of .rd-rev, where the grid's own row gap spaces it and any margin of
 * its own would push the card's floor away from it -- that is what `margin: 0`
 * was written for. On the payment and topic pages the same paragraph is dropped
 * into NORMAL FLOW straight after a .rd-compare strip, and there `margin: 0` left
 * it with nothing to separate it from whatever came next.
 *
 * That went unnoticed for as long as it did because most of those pages happen to
 * follow the footnote with an <h2>, and the h2's own 47px top margin covered for
 * it. On /apple-pay/, where a plain <p> follows, the gap measured EXACTLY 0.0px --
 * the footnote and the body paragraph ran together as one block of text -- since
 * the prose rule spaces paragraphs with margin-BOTTOM only, so the following <p>
 * brings no top margin to collapse against.
 *
 * So the base rule now carries the flow margin, which is the case that breaks
 * when it is missing, and the grid home resets it below.
 */
#primary.site-content .rd-rev-tnc {
	grid-column: 1 / -1;
	margin: 0 0 2rem;
	font-size: .8125rem;
	line-height: 1.55;
	color: var(--rd-d-muted);
}

/* Home 1: grid item in the review hero -- the gap does the spacing. */
#primary.site-content .rd-rev > .rd-rev-tnc { margin: 0; }

/*
 * Home 2: in flow under the strip it annotates.
 *
 * The strip gives up most of its 2rem bottom margin so the footnote sits CLOSE
 * UNDER the cards, and the block separation moves below the footnote instead.
 * Spacing is grouping: with 29px above and 0 below, the footnote read as the
 * opening line of the paragraph after it rather than as a note on the three
 * cards it actually qualifies. This puts the big gap on the side where the
 * subject changes.
 *
 * :has() rather than a blanket smaller margin on .rd-compare, because a strip
 * with no footnote under it still wants its full 2rem. If :has() ever fails to
 * match, the fallback is the old 2rem -- loose, not broken.
 */
#primary.site-content .rd-compare:has(+ .rd-rev-tnc) { margin-bottom: .75rem; }

/* ------------------------------------------------------------ quicknav -- */
/*
 * Jump links to the page's own h2 ids. A nav landmark with a label, not a bare
 * ul: on a 2,000-word review this is the second most used control on the page
 * after the CTA, and a screen reader should be able to find it by role.
 */
#primary.site-content .rd-jump {
	margin: 0 0 2.25rem;
	padding: 1rem 1.125rem 1.125rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	/*
	 * The panel family's eggplant corner, from the TOP LEFT here and not the bottom
	 * left. On a review this panel sits immediately under .rd-rev, whose wash is in
	 * its bottom-left corner -- put both in the same corner and the two washes meet
	 * across the gap between the panels and read as one continuous purple stripe
	 * down the left of the page. Alternating the corner makes them read as two
	 * panels that belong to each other, which is the point of the family.
	 */
	background:
		radial-gradient(78% 128% at 0% 0%, rgba(153, 60, 169, .17) 0, rgba(153, 60, 169, 0) 58%),
		var(--rd-d-2);
}

/*
 * ⚠️ THE LABEL IS A <p class="rd-jump-t">, NOT A <b>. wpautop() treats an inline
 * element sitting on its own line at block level as paragraph content: a bare
 * <b>Inhalt</b> here came back as `<b>Inhalt</b></p>` -- a stray closing tag with
 * no opening one. It rendered, because browsers discard an unmatched </p>, but it
 * was invalid markup on every page carrying this component. Authoring the label
 * as a real paragraph gives wpautop nothing to do. Same trap as .rd-rev-go.
 */
#primary.site-content .rd-jump .rd-jump-t {
	display: flex;
	align-items: center;
	gap: .4375rem;
	margin: 0 0 .8125rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	/* Eggplant, not --rd-d-muted, 2026-09-08. Every pill under this label is
	   blue-edged and blue on hover; the label is the one part of the component
	   that is not a control, so it is the one that can answer in the secondary. */
	color: var(--rd-plum-hi);
}

/* The contents glyph. See rd_rev_jump_icon() for why this is the ONE icon in the
   component and the pills are numbered instead. */
#primary.site-content .rd-jico {
	display: inline-flex;
	flex: none;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-jico svg { display: block; }

#primary.site-content .rd-jump ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	/*
	 * ⚠️ THE NUMBERS ARE A CSS COUNTER AND NOT WRITTEN INTO THE MARKUP, on purpose.
	 * The quicknav is authored in post_content on eight pages; a hand-typed 1..7 is
	 * seven chances per page for the numbering to disagree with the list after a
	 * section is added, removed or reordered in wp-admin. A counter cannot: it
	 * counts the <li>s that are actually there.
	 *
	 * The list is also the reason the pills are numbered rather than iconed -- see
	 * rd_rev_jump_icon(), which has the argument and the counter-example.
	 */
	counter-reset: rd-jump;
}

#primary.site-content .rd-jump li {
	margin: 0;
	counter-increment: rd-jump;
}

/*
 * ⚠️ inline-flex, NOT block, AND THE LABEL IS AN ANONYMOUS FLEX ITEM. The pill's
 * text is a bare text node in post_content -- `<a href="#bonus">Bonus</a>` -- so
 * there is no element to align the counter against. Flex wraps a bare text run in
 * an anonymous item, which is what lets `gap` sit between the number and the word
 * and `align-items: baseline` put the 11px mono figure on the same baseline as the
 * 14px label. With `display: block` the ::before would have run inline and the two
 * would have had to be spaced with a margin that no baseline knows about.
 */
#primary.site-content .rd-jump a {
	display: inline-flex;
	align-items: baseline;
	gap: .4375rem;
	padding: .375rem .875rem .375rem .6875rem;
	border: 1px solid var(--rd-ghost-edge);
	border-radius: 999px;
	/* A whisper of a fill at rest, so the pill is an object before it is pointed
	   at -- the hover then has somewhere to step UP to rather than appearing out of
	   nothing. Same reasoning as the background step on .rd-compare a:hover. */
	background: rgba(122, 180, 230, .045);
	font-size: .875rem;
	color: #DCE9F5;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, color .18s ease,
	            box-shadow .28s ease-out;
}

/*
 * The section number. Plain decimal since 2026-09-09 -- decimal-leading-zero was
 * the first version and the padding 0 read as part of the styling rather than as
 * part of the number.
 *
 * Mono and tabular is still worth keeping: it holds the figure on the digit grid,
 * so the labels in a row of pills start on the same offset, and it stays correct
 * if a page ever runs past nine sections and the row mixes one- and two-digit
 * numbers.
 */
#primary.site-content .rd-jump a::before {
	content: counter(rd-jump);
	flex: none;
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .03em;
	font-variant-numeric: tabular-nums;
	color: var(--rd-plum-hi);
	transition: color .18s ease;
}

/*
 * ⚠️ THE SITE DEFAULT HOVER, added 2026-09-08 -- see --rd-hover-glow. This pill
 * was the last rectangular pointable element on the site still answering with a
 * fill and an edge alone, which is what the 2026-08-17 default was declared to
 * replace; it was missed then because the carrier list was written from the
 * article's panels and this one lives in a nav.
 *
 * It takes the DEFAULT two-layer glow and not the hero pills' five-layer bloom.
 * That is the same call .ctable's row buttons already document: a control sitting
 * inside a panel is much closer to body copy than the hero's buttons are, and at
 * the hero's strength the bloom hazes the text beside it. Eight of these in a row,
 * a paragraph below, would have been the worst case for that.
 *
 * The ghost fill stays and steps up, for the reason given on .rd-compare a:hover:
 * this element has no resting shadow of its own, so glow alone is a fainter answer
 * than the panels get.
 *
 * :focus-visible takes the same treatment. A keyboard reader using the quicknav is
 * exactly the reader it was built for.
 *
 * text-shadow:none -- see --rd-hover-glow-text. This is a block-level <a>, so the
 * prose link's inheritable text glow would land on the label on top of the pill's
 * own box glow: two glows for one gesture.
 */
#primary.site-content .rd-jump a:hover,
#primary.site-content .rd-jump a:focus-visible {
	background: var(--rd-ghost-fill);
	border-color: var(--rd-hover-edge);
	box-shadow: var(--rd-hover-glow);
	color: #FFFFFF;
	text-shadow: none;
}

/* The number hands off from the secondary to the primary, so the pill's two
   colours swap roles on hover. Colour only -- nothing moves. */
#primary.site-content .rd-jump a:hover::before,
#primary.site-content .rd-jump a:focus-visible::before {
	color: var(--rd-blue-hi);
}

/* -------------------------------------------------------- pros & cons --- */
#primary.site-content .rd-pc {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin: 1.75rem 0 2rem;
}

#primary.site-content .rd-pc-col {
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	background: var(--rd-d-2);
}

#primary.site-content .rd-pc h3 {
	display: flex;
	align-items: center;
	gap: .4375rem;
	margin: 0 0 .75rem;
	font-size: 1rem;
	letter-spacing: .01em;
	color: var(--rd-d-ink);
}

#primary.site-content .rd-pc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#primary.site-content .rd-pc li {
	position: relative;
	margin: 0 0 .5rem;
	padding-left: 1.5rem;
	font-size: .9375rem;
	line-height: 1.55;
	color: var(--rd-d-body);
}

#primary.site-content .rd-pc li:last-child { margin-bottom: 0; }

/*
 * The marks are drawn with borders rather than set as ✓/✕ glyphs: a text tick
 * is announced by some screen readers as "check mark" in the middle of the
 * sentence, and the column heading already says which list this is.
 */
#primary.site-content .rd-pc li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 9px;
	height: 5px;
	border-left: 2px solid var(--rd-d-good);
	border-bottom: 2px solid var(--rd-d-good);
	transform: translateY(-50%) rotate(-45deg);
}

#primary.site-content .rd-pc-con li::before {
	top: .7em;
	width: 10px;
	height: 0;
	border-left: none;
	border-bottom: 2px solid #E2718B;
	transform: none;
}

/* ------------------------------------------------------------ scorecard - */
/*
 * How the headline score was reached, one row per criterion.
 *
 * This exists because the number in the hero and in the comparison table is
 * otherwise an assertion. The four criteria are the SAME four the front page's
 * criteria strip names (Spielangebot, Sicherheit, Bonus, Ein- & Auszahlungen),
 * so the methodology the homepage advertises is the methodology the reviews
 * visibly apply.
 */
#primary.site-content .rd-score {
	margin: 1.75rem 0 2rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	background: var(--rd-d-2);
	overflow: hidden;
}

#primary.site-content .rd-score-row {
	display: grid;
	grid-template-columns: minmax(140px, 1.1fr) minmax(90px, 2fr) auto;
	gap: .75rem 1rem;
	align-items: center;
	padding: .875rem 1.25rem;
	border-bottom: 1px solid var(--rd-d-rule);
}

#primary.site-content .rd-score-row:last-child { border-bottom: none; }

#primary.site-content .rd-score-k {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--rd-d-strong);
}

/*
 * The bar. --v is set inline per row as a percentage; everything else is here so
 * a row in post_content carries one number and no styling.
 */
#primary.site-content .rd-score-bar {
	position: relative;
	height: 7px;
	border-radius: 999px;
	background: rgba(122, 180, 230, .14);
	overflow: hidden;
}

#primary.site-content .rd-score-bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--v, 0%);
	border-radius: inherit;
	background: var(--rd-grad-bp);
}

#primary.site-content .rd-score-v {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--rd-d-ink);
	font-variant-numeric: tabular-nums;
}

/* The total sits on the tinted row at the foot. */
#primary.site-content .rd-score-row.is-total {
	background: var(--rd-d-3);
	border-top: 1px solid var(--rd-d-rule-2);
}

#primary.site-content .rd-score-row.is-total .rd-score-k,
#primary.site-content .rd-score-row.is-total .rd-score-v { color: var(--rd-d-ink); }

/* ---------------------------------------------------------- facts table - */
/*
 * The at-a-glance spec block. A <dl> and not a <table>: it is a set of
 * term/definition pairs with no second axis, and a one-column table would give a
 * screen reader row and column semantics that mean nothing here.
 */
/*
 * ⚠️ THE COLUMN COUNT IS PINNED, AND THE LAST ROW IS CLOSED EXPLICITLY.
 * The 1px rules are `gap`, i.e. the container's ground showing through, so a cell
 * that does not exist is not blank -- it is a SLAB OF RULE COLOUR. Ten facts in
 * three columns is nine plus one, and /spielautomaten/book-of-dead/ rendered two
 * thirds of its last row as a hole; the five-fact blocks on the payment pages had
 * the same hole in one cell. Same conclusion as the criteria strip, the live
 * tables and the payment tiles, reached from the other direction.
 *
 * auto-fit CANNOT fix this. The span a trailing orphan needs depends on how many
 * tracks auto-fit chose, and that is the one thing it will not tell a selector.
 * Pinning is what keeps the two in step: every column count below carries its own
 * orphan rules, so the rules and the grid cannot drift apart.
 *
 * Blocks of one or two facts are the exception and keep EQUAL columns, via
 * :has(), rather than a 1/3 + 2/3 split -- /apple-pay/ and /paysafecard/ open
 * with a two-operator block whose value wraps onto a second line in a third-width
 * cell. Where :has() is unavailable the block degrades to that split: narrower,
 * still hole-free.
 */
#primary.site-content .rd-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 1.75rem 0 2rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	overflow: hidden;
	background: var(--rd-d-rule);
}

/* One or two facts: equal columns, no stretched tail. */
#primary.site-content .rd-facts:has(> div:nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

#primary.site-content .rd-facts:has(> div:only-child) {
	grid-template-columns: minmax(0, 1fr);
}

/* 4, 7, 10 facts leave one cell of the last row empty; 5, 8, 11 leave two. */
#primary.site-content .rd-facts > div:last-child:nth-child(3n + 1):nth-child(n + 4) { grid-column: span 3; }
#primary.site-content .rd-facts > div:last-child:nth-child(3n + 2):nth-child(n + 5) { grid-column: span 2; }

#primary.site-content .rd-facts > div {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1rem;
	justify-content: space-between;
	padding: .8125rem 1.125rem;
	background: var(--rd-d-2);
}

#primary.site-content .rd-facts dt {
	font-size: .9375rem;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-facts dd {
	margin: 0;
	font-size: .9375rem;
	font-weight: 600;
	text-align: right;
	color: var(--rd-d-strong);
}

/*
 * Each column count restates the orphan rules for ITSELF -- see the note above.
 * The three-column spans are reset first, because a `span 3` item in a
 * two-track grid conjures an implicit third track and breaks the block outright.
 */
@media (max-width: 880px) {
	#primary.site-content .rd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#primary.site-content .rd-facts > div:last-child:nth-child(3n + 1):nth-child(n + 4),
	#primary.site-content .rd-facts > div:last-child:nth-child(3n + 2):nth-child(n + 5) { grid-column: auto; }
	/* 3, 5, 7... facts: the odd one out takes the whole row. */
	#primary.site-content .rd-facts > div:last-child:nth-child(2n + 1):nth-child(n + 3) { grid-column: span 2; }
}

/*
 * One column, so nothing can be orphaned. The :has() rule above outranks the
 * plain one on specificity and would otherwise hold a two-fact block at two
 * columns all the way down, so it is restated here.
 */
@media (max-width: 600px) {
	#primary.site-content .rd-facts,
	#primary.site-content .rd-facts:has(> div:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
	/*
	 * ⚠️ RESET EVERY SPAN BY ITS FULL SELECTOR, not by a short `> div:last-child`.
	 * The two-column rule above is three pseudo-classes deep and outranks the
	 * short form, so the shorthand left `span 2` standing here -- which does not
	 * error, it CONJURES AN IMPLICIT SECOND TRACK, and the whole block silently
	 * stayed two columns wide on a phone.
	 */
	#primary.site-content .rd-facts > div:last-child:nth-child(3n + 1):nth-child(n + 4),
	#primary.site-content .rd-facts > div:last-child:nth-child(3n + 2):nth-child(n + 5),
	#primary.site-content .rd-facts > div:last-child:nth-child(2n + 1):nth-child(n + 3) { grid-column: auto; }
}

/* ------------------------------------------------------------- verdict -- */
#primary.site-content .rd-verdict {
	margin: 1.75rem 0 2rem;
	padding: 1.5rem 1.625rem;
	/* The eggplant edge the panel's own eggplant wash always wanted. Same value
	   as the review hero's score plate, so the page's two verdict surfaces are
	   outlined alike. */
	border: 1px solid rgba(200, 138, 216, .28);
	border-radius: 16px;
	background:
		radial-gradient(120% 160% at 0% 0%, rgba(153, 60, 169, .12) 0, rgba(153, 60, 169, 0) 60%),
		var(--rd-d-2);
}

#primary.site-content .rd-verdict h3 {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 .625rem;
	font-size: 1.125rem;
	color: var(--rd-d-ink);
}

#primary.site-content .rd-verdict p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------- inline callout ---- */
/*
 * For the things that must not read as body copy: the responsible-gambling
 * reminder, the "terms change, check at the operator" note, the Sperrliste
 * warning. Left border rather than a full tint, so a run of them down a page
 * does not turn the article into a stack of boxes.
 */
#primary.site-content .rd-note {
	position: relative;
	margin: 1.5rem 0;
	/*
	 * The left padding is the glyph's gutter. rd_rev_note_icons() injects an
	 * absolutely positioned icon as the note's first child, so the space has to be
	 * reserved here rather than taken from the copy.
	 */
	padding: .875rem 1.125rem .875rem 2.9375rem;
	/*
	 * ⚠️ EGGPLANT, NOT BLUE, since 2026-09-08. The plain callout is advice we are
	 * offering, which is the secondary colour's job on this site; blue is the
	 * primary and by now carries links, both CTAs and every rating fill, so a blue
	 * rule beside a paragraph containing blue links said nothing. The .is-warn
	 * variant keeps its rose below, because a warning is not advice.
	 *
	 * --rd-plum-lit and NOT --rd-plum: at L 17% the client value measures 1.18:1
	 * on this ground and would read as a slightly darker shadow of the panel edge,
	 * not as a colour. See the token note in :root.
	 */
	border-left: 3px solid var(--rd-plum-lit);
	border-radius: 0 10px 10px 0;
	background: var(--rd-d-2);
}

/*
 * The callout's glyph: a bulb for advice, a triangle for a warning.
 *
 * Absolutely positioned rather than a grid cell, because .rd-note holds whatever
 * the copy put in it -- one paragraph on most pages, two on some, and a list on
 * /twint/. A two-column grid would have needed every one of those children
 * assigned to the second column; taking the icon out of flow needs no knowledge
 * of what follows it.
 *
 * top is set to the copy's own first-line centre (padding .875rem + half of a
 * .9375rem/1.65 line) rather than to a round number, so the glyph is optically on
 * the first line of the note at any width.
 */
#primary.site-content .rd-nico {
	position: absolute;
	top: 1.0625rem;
	left: 1rem;
	display: inline-flex;
	/* ⚠️ NOT the icon ramp -- see the exclusions note in ONE ICON PALETTE. The
	   colour is the speech act: eggplant advises, rose warns. */
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-nico svg { display: block; }

#primary.site-content .rd-note p {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.65;
	color: var(--rd-d-body);
}

#primary.site-content .rd-note p + p { margin-top: .625rem; }

#primary.site-content .rd-note.is-warn { border-left-color: #E2718B; }
#primary.site-content .rd-note.is-warn .rd-nico { color: #E2718B; }

/* -------------------------------------------------------- byline strip -- */
/*
 * Who tested this and when. Directly under the h1 on every review.
 *
 * The date is a real <time datetime>, so the value stays machine-readable even
 * though the visible text is a Swiss-formatted date.
 */
/*
 * ⚠️ THE RULES BELOW ARE THE FALLBACK, NOT THE DESIGN, since 2026-09-09.
 * rd_rev_byline() rebuilds this paragraph's two runs as .rd-eyebrow pills, so what
 * these declarations actually style now is only the flex row that holds them --
 * plus a byline authored some other way, which that function declines to convert
 * and which therefore still lands on the old 14px muted treatment rather than on
 * nothing. Do not delete them for being unused.
 *
 * WHAT CHANGED HERE: the hairline is gone. Two pills already read as a distinct
 * band under the h1, and a rule beneath them made a three-layer stack of
 * heading / pills / line above a bordered hero panel. The separation it was doing
 * moves into the bottom margin instead.
 */
#primary.site-content .rd-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .625rem;
	margin: 0 0 1.75rem;
	font-size: .875rem;
	color: var(--rd-d-muted);
}

/*
 * The pills.
 *
 * ⚠️ line-height IS SET HERE AND HAS TO BE. .rd-eyebrow is an ATF rule and sets no
 * line-height of its own -- in the hero it inherits one from .rd-htext. Dropped
 * into the article it would inherit the prose leading instead, which is set for
 * 17px body copy and made an 11px pill about 8px taller than the homepage's.
 *
 * ⚠️ NOT #primary-prefixed for colour or font, and it does not need to be: the
 * article's prose rules reach this element only by INHERITANCE, and any direct
 * declaration -- which .rd-eyebrow's own colour, font and size all are -- beats
 * inherited values regardless of specificity. Only the properties .rd-eyebrow
 * leaves unset can leak in, which is why line-height is the one listed here.
 */
#primary.site-content .rd-byline .rd-eyebrow {
	line-height: 1.25;
	/* The pill is a flex item in a wrapping row; without this a long author run
	   would stretch to the row's height rather than hugging its own text. */
	align-self: center;
}

/*
 * The date's own run stays on one line. "LETZTE PRÜFUNG: 13. AUGUST 2026" broken
 * after the colon reads as two separate claims, and the row already wraps between
 * the pills where a break is meaningful.
 */
#primary.site-content .rd-byline .rd-eyebrow:last-child { white-space: nowrap; }

/*
 * ⚠️ THE AUTHOR PILL MUST BE ALLOWED TO WRAP INSIDE ITSELF. It is the longer of
 * the two -- "ZUSAMMENGESTELLT VON DER REDAKTION VON BESTESCASINO.CH" is about
 * 46 characters of tracked uppercase mono -- and on a phone it is wider than the
 * viewport. nowrap here would have pushed the page into a horizontal scroll that
 * the root's overflow-x:hidden then silently clipped.
 */
#primary.site-content .rd-byline .rd-eyebrow:first-child { white-space: normal; }

/* ------------------------------------------------------------ compare --- */
/*
 * The three-operator strip that closes a review and opens a topic page.
 *
 * Not a .ctable either: it is a navigation device pointing at the other two
 * reviews, so the cells are links to our own pages, not affiliate buttons.
 */
#primary.site-content .rd-compare {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin: 1.75rem 0 2rem;
	padding: 0;
	list-style: none;
}

#primary.site-content .rd-compare li { margin: 0; }

/*
 * ⚠️ box-sizing IS LOAD-BEARING HERE AND WAS THE BUG. There is no global
 * `* { box-sizing: border-box }` on this site -- style.css only sets it on a
 * couple of specific components -- so these cards default to CONTENT-BOX, and
 * `height: 100%` then means "100% of the row, PLUS my own padding and border".
 *
 * Every card was therefore drawn 34.6px taller than the <li> it lives in:
 * 2 x 1.125rem padding (32.6px) + 2 x 1px border. The grid, the <ul> and every
 * element after it are laid out against the <li> height, so the cards SPILLED
 * 34.6px past the bottom of the strip and sat on top of the 18+ footnote below
 * it -- measured at -23.7px of clear space, i.e. a real overlap, at every
 * viewport width. Nothing about the footnote's own margins could fix that; the
 * cards were simply bigger than the box the page had reserved for them.
 *
 * border-box makes `height: 100%` mean the row height exactly. The cards keep
 * their equal heights (which is what height:100% is for -- the grid stretches
 * the <li>, not the <a> inside it) and lose the strip of empty background that
 * was hanging below the content.
 *
 * The other three `height: 100%` in this file -- .rd-sparkle, #rd-hero-canvas,
 * .rd-ring-svg -- are all zero-padding, zero-border, so they are unaffected and
 * deliberately left on the default.
 */
/*
 * ⚠️ A GRID, AND THE ROW TEMPLATE IS LOAD-BEARING. rd_rev_compare_cards() inserts
 * the score, the concession chip and the floor as SIBLINGS -- there is no wrapper
 * element (see that function for why a regex must not try to place one) -- so the
 * layout is done entirely by auto-placement:
 *
 *   ._logo         auto-places at row 1, column 1
 *   .rd-cmp-score  auto-places at row 1, column 2, pushed right by justify-self
 *   everything after carries `grid-column: 1 / -1` and therefore takes a full row
 *   of its own, in document order: chip, then sentence, then floor.
 *
 * The `1fr` is the THIRD row, i.e. the sentence: it absorbs the difference between
 * a two-line description and a three-line one, so the floors of two cards side by
 * side line up on the same pixel. Without it the shorter card's "Zum Test" sat
 * mid-air with the card's own empty background under it.
 *
 * ⚠️ box-sizing IS STILL LOAD-BEARING -- see the note below, which predates this
 * and is the reason `height: 100%` means the row height rather than the row height
 * plus 34.6px of padding and border.
 */
#primary.site-content .rd-compare a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto 1fr auto;
	align-items: center;
	gap: .875rem 1rem;
	box-sizing: border-box;
	height: 100%;
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	background: var(--rd-d-2);
	text-decoration: none;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

/*
 * The site default hover -- see --rd-hover-glow. Converted 2026-08-17.
 *
 * ⚠️ THE translateY IS GONE ON PURPOSE, and so is `transform` in the transition
 * above. This is the whole card as one <a>, i.e. the most obviously pointable
 * rectangle on the page, and it was the last thing on the site still MOVING under
 * the pointer while the cards and comparison rows had settled on colour-and-glow.
 * A lift here and no lift on .rd-card is exactly the inconsistency the default
 * exists to remove.
 *
 * The background still steps to --rd-d-3: this card starts on the flat --rd-d-2
 * panel fill with no resting shadow of its own, so the glow alone was a fainter
 * answer than the rows get. The fill keeps the response at the same strength.
 */
#primary.site-content .rd-compare a:hover {
	border-color: var(--rd-hover-edge);
	background: var(--rd-d-3);
	box-shadow: var(--rd-hover-glow);
	/* The whole card is one <a>, so the prose link's inheritable text glow would
	   land on every word of the description on top of this card's own box glow --
	   two glows for one gesture. See --rd-hover-glow-text. */
	text-shadow: none;
}

#primary.site-content .rd-compare ._logo > span { width: 116px; height: 46px; }

/* ------------------------------------------------ the compare card ----- */
/*
 * The three elements rd_rev_compare_cards() adds: the score, the concession chip
 * and the floor. Read that function first -- it says what the card was, why the
 * new parts are derived from rd_operators() rather than typed into post_content,
 * and why none of them is wrapped.
 */

/*
 * The score. Deliberately the SAME shape as .rd-lscore on the front page's licence
 * cards -- a bold figure over a small mono caption, right-aligned -- because those
 * cards and these cards are the two places on the site that print a score out of
 * ten next to an operator's logo, and they should not be two devices.
 *
 * ⚠️ NOT a plate, unlike the review hero's .rd-rev-score. That one is the page's
 * answer and earns a bordered ground of its own; this is one of three numbers in a
 * row of cards, and a border round each turned the strip into a grid of boxes
 * inside boxes.
 */
#primary.site-content .rd-cmp-score {
	justify-self: end;
	text-align: right;
	line-height: 1.1;
}

#primary.site-content .rd-cmp-score b {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	/* The ramp, clipped to the figure -- the same treatment the review hero's own
	   score number takes, so the number is the one thing that looks identical
	   whether you are on the review or being pointed at it from another page. */
	background: var(--rd-grad-bp);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Same guard as .rd-rev-num: gradient text has no colour of its own where
   background-clip:text is unsupported, so the flat blue is restored there. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	#primary.site-content .rd-cmp-score b {
		color: var(--rd-blue-hi);
		-webkit-text-fill-color: currentColor;
	}
}

#primary.site-content .rd-cmp-score > span {
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

/*
 * The concession chip.
 *
 * ⚠️ THE GREEN IS ON THE GLYPH AND NOT ON THE CHIP, which is the split .rd-lbadge
 * documents: --rd-d-good is a semantic claim on this site ("verified", and
 * deliberately not the blue accent), so it stays on the tick that does the
 * verifying while the words stay in the body tone. A whole chip in green would
 * have read as a status badge on a navigation card.
 */
#primary.site-content .rd-cmp-badge {
	grid-column: 1 / -1;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	padding: .1875rem .5625rem .1875rem .4375rem;
	border: 1px solid rgba(122, 180, 230, .2);
	border-radius: 999px;
	background: rgba(122, 180, 230, .06);
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--rd-d-strong);
	text-decoration: none;
}

#primary.site-content .rd-cmp-bico {
	display: inline-flex;
	flex: none;
	color: var(--rd-d-good);
}

#primary.site-content .rd-cmp-bico svg { display: block; }

/*
 * The card's floor: a hairline and the one line that says what the card is.
 *
 * ⚠️ IT EXISTS BECAUSE THE WHOLE CARD IS ONE <a> WITH NO BUTTON IN IT. Before
 * this, the only affordance on a 250px rectangle of logo and prose was the cursor
 * changing shape -- and on a touch screen there is no cursor. This is not
 * decoration; it is the card's label.
 *
 * A <span>, not an <a>: nesting a link inside a link is invalid and the parent is
 * already the link. It gets the link colour so it reads as one anyway.
 */
#primary.site-content .rd-cmp-foot {
	grid-column: 1 / -1;
	align-self: end;
	display: block;
	padding-top: .8125rem;
	border-top: 1px solid var(--rd-d-rule);
}

#primary.site-content .rd-cmp-go {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--rd-blue);
	text-decoration: none;
	transition: color .18s ease;
}

#primary.site-content .rd-cmp-arrow {
	display: inline-flex;
	flex: none;
}

#primary.site-content .rd-cmp-arrow svg { display: block; }

/*
 * Hover: the label brightens with the card's own glow. Colour only -- the site
 * default is explicit that nothing moves, so the arrow does NOT slide, which was
 * the first thing tried and is the one gesture this site has decided against.
 */
#primary.site-content .rd-compare a:hover .rd-cmp-go,
#primary.site-content .rd-compare a:focus-visible .rd-cmp-go {
	color: var(--rd-blue-hi);
}


/*
 * ⚠️ font-weight IS RESET HERE ON PURPOSE. The whole card is one <a>, so the prose
 * link rule's font-weight:600 -- which exists to give content links a non-colour
 * affordance now that they carry no underline -- was inheriting into the card's
 * body copy and setting the entire description in semibold. This is a paragraph
 * that happens to live inside a link, not link text, so it takes the body weight.
 * <strong> inside it still bolds, because that rule is more specific.
 */
#primary.site-content .rd-compare span.rd-compare-t {
	display: block;
	/*
	 * grid-column, and margin-top is GONE: the card is a grid now and its row gap
	 * does the spacing. A margin here would have added to that gap on one side
	 * only, which is what made the sentence sit closer to the floor than to the
	 * chip above it.
	 */
	grid-column: 1 / -1;
	align-self: start;
	font-size: .9375rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--rd-d-body);
	text-decoration: none;
}

/* ------------------------------------------------- the verdict block --- */
/*
 * The score plate's two new lines: the word and the meter.
 *
 * The plate now says the same value three ways -- 9.0, AUSGEZEICHNET, and nine
 * segments of ten. That is not repetition for its own sake: a number is precise
 * and unreadable at a glance, a word is readable and imprecise, and a meter is
 * the only one of the three that shows the value against its CEILING. Between
 * them the corner of the card answers "is this good" in about a third of a second
 * instead of asking the reader to know what 9.0 is out of.
 */

/*
 * The word. --rd-plum-hi and not --rd-plum-lit: this is TEXT, at 11px, and the
 * :root note is explicit that plum-lit clears 3:1 (the graphic minimum) while
 * plum-hi is the one for small type. 7.4:1 on this plate.
 */
#primary.site-content .rd-rev-word {
	display: block;
	margin-top: .3125rem;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

/*
 * The ten-segment meter.
 *
 * ⚠️ THE GRADIENT IS THE ELEMENT'S BACKGROUND AND THE SEGMENTS ARE A MASK. The
 * obvious build -- ten child elements, the lit ones filled -- cannot carry the
 * ramp, because --rd-grad-bp on each child would run pale-to-plum inside every
 * single 10px segment instead of once across the meter. Painting the ramp on the
 * whole box and cutting notches out of it means the eggplant lands where 10/10
 * is, which is the entire reason the device is worth having: a full meter is the
 * secondary colour, and a low one never reaches it.
 *
 * ⚠️ THE MASK TILE IS 10% WIDE AND THE GAP IS SPLIT ACROSS BOTH ITS ENDS. Putting
 * a 3px gap on one side of the tile leaves a 3px gap hanging off the meter's own
 * right (or left) edge, which reads as a rendering error rather than as a scale.
 * 1.5px at each end gives nine 3px gaps between the bars and a 1.5px inset at
 * each end of the meter -- symmetrical, and flush by construction at any width.
 *
 * DEGRADATION: if mask-image is not supported the declarations are dropped and
 * the meter renders as one continuous gradient bar with its unlit end scrimmed.
 * Still an honest gauge, just not a segmented one -- so no @supports guard is
 * needed.
 */
#primary.site-content .rd-rev-meter {
	position: relative;
	display: block;
	height: 9px;
	margin: .5rem 0 .5625rem;
	background: var(--rd-grad-bp);

	-webkit-mask-image: linear-gradient(90deg,
		transparent 0, transparent 1.5px,
		#000 1.5px, #000 calc(100% - 1.5px),
		transparent calc(100% - 1.5px), transparent 100%);
	        mask-image: linear-gradient(90deg,
		transparent 0, transparent 1.5px,
		#000 1.5px, #000 calc(100% - 1.5px),
		transparent calc(100% - 1.5px), transparent 100%);
	-webkit-mask-size: 10% 100%;
	        mask-size: 10% 100%;
	-webkit-mask-repeat: repeat-x;
	        mask-repeat: repeat-x;
}

/*
 * The unlit end. A scrim over the gradient, scaled from the RIGHT edge, so the
 * lit length is the transform and the ramp underneath never moves.
 *
 * ⚠️ calc(1 - var(--vf)) IS WHY --vf IS UNITLESS. rd_rev_hero_score() writes it
 * as 0.9, not 90%, because calc() cannot subtract a percentage from a bare 1.
 * The scorecard's bars below take --v as a percentage instead, since there the
 * value goes straight into a width. Do not "unify" the two.
 *
 * ⚠️ IT IS OPAQUE, AND IT IS THE TRACK RATHER THAN A SCRIM. A translucent scrim
 * was tried first, and at every alpha it was wrong in one of two ways: low enough
 * to look like an empty slot and the eggplant end of the ramp read through it, so
 * a 9.0 looked like a 10; high enough to hide the ramp and the empty slots went
 * so dark they disappeared into the plate and the meter looked like a nine-segment
 * meter that was full. So this paints the plate's own ground at full opacity and
 * puts the SAME faint blue wash on it that .rd-score-bar uses for its track --
 * which makes an unlit segment on the hero meter and an unlit stretch of a
 * scorecard bar the same colour, one page apart.
 *
 * #0D1B2C is the plate's rgba(14, 29, 48, .78) composited over the panel, sampled
 * rather than calculated -- the panel is itself translucent, so the arithmetic has
 * three layers in it and the rendered value is the shorter route.
 */
#primary.site-content .rd-rev-mdim {
	position: absolute;
	inset: 0;
	transform-origin: right center;
	transform: scaleX(calc(1 - var(--vf, 1)));
	background:
		linear-gradient(rgba(122, 180, 230, .15), rgba(122, 180, 230, .15)),
		#0D1B2C;
}

/* ------------------------------------------------- concession ribbon --- */
/*
 * The chip astride the review hero's top edge. See rd_rev_ribbon() for why the
 * concession claim was moved out of the facts row and onto the panel's edge, and
 * why it is only emitted when the copy states it.
 *
 * ⚠️ EGGPLANT GROUND, GREEN GLYPH. The green is the site's documented "verified"
 * semantic (see the ._lic note) and it has to stay on the thing that does the
 * confirming, which is the tick inside the shield. The GROUND is the deep client
 * eggplant, which is exactly what --rd-plum is for -- the :root note says it is a
 * fill colour and cannot be a stroke or text, and this is the fill case.
 *
 * The chip must NOT take the site default hover: it is a label, not a control,
 * and .rd-rev already answers the pointer for the whole card it belongs to.
 */
#primary.site-content .rd-rev-ribbon {
	position: absolute;
	top: -.6875rem;
	left: 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	padding: .1875rem .6875rem .1875rem .5625rem;
	border: 1px solid rgba(200, 138, 216, .45);
	border-radius: 999px;
	background: linear-gradient(112deg, #2B0A33 0%, var(--rd-plum) 58%, #2A1040 100%);
	box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .95);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #F1E4F7;
	white-space: nowrap;
}

#primary.site-content .rd-rev-rico {
	display: inline-flex;
	flex: none;
	color: var(--rd-d-good);
}

#primary.site-content .rd-rev-rico svg { display: block; }

/*
 * The second clause, and its separator.
 *
 * ⚠️ IT IS A SEPARATE SPAN SO THE PHONE CAN DROP IT. The full label is about
 * 250px of nowrap uppercase; the panel is 320px wide at the narrowest viewport
 * this site is built for, minus 1.5rem of offset, so the chip would have run past
 * the panel's right edge. Hiding the clause rather than wrapping the chip keeps
 * it a chip -- a two-line ribbon on a panel edge reads as a broken badge.
 */
#primary.site-content .rd-rev-rsub::before {
	content: "\00b7";
	margin: 0 .375rem 0 0;
	color: rgba(241, 228, 247, .5);
}

/* ----------------------------------------------------- the fact glyphs - */
/*
 * ⚠️ FLAT EGGPLANT, NOT THE ICON RAMP -- along with every other glyph on these
 * pages. The whole-component exception is argued once, in the ONE ICON PALETTE
 * section; the short version is that #rd-icn-grad OPENS on #E9F2FA, and a 14px
 * mark beside a 12px --rd-d-muted label cannot afford to be the brightest thing
 * on its line. The ramp's own midpoint is #C88AD8, i.e. this colour, so a flat
 * plum-hi is what the ramp looks like when it is read at an inline size anyway.
 */
#primary.site-content .rd-fico {
	display: inline-flex;
	flex: none;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-fico svg { display: block; }

/* -------------------------------------------------- the scorecard cap -- */
/*
 * What the five rows are. See rd_rev_scorecard() for why the block states its own
 * methodology instead of relying on the paragraph above it.
 *
 * The eggplant is a left-anchored wash rather than a flat tint: it marks the
 * card's opening corner and fades out before the label ends, so the cap reads as
 * the top of the gauge below it rather than as a fifth panel colour.
 */
#primary.site-content .rd-score-head {
	display: flex;
	align-items: center;
	gap: .5625rem;
	padding: .75rem 1.25rem;
	border-bottom: 1px solid var(--rd-d-rule);
	background:
		linear-gradient(90deg,
			rgba(153, 60, 169, .22) 0%,
			rgba( 42, 165, 245, .07) 44%,
			rgba( 42, 165, 245, 0) 100%),
		var(--rd-d-3);
}

#primary.site-content .rd-score-hico {
	display: inline-flex;
	flex: none;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-score-hico svg { display: block; }

#primary.site-content .rd-score-ht {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-d-strong);
}

/* The criterion glyphs, on the same flat eggplant as everything else here --
   see the exception note in ONE ICON PALETTE. */
#primary.site-content .rd-sico {
	display: inline-flex;
	flex: none;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-sico svg { display: block; }

/* ------------------------------------------- pros, cons and the verdict - */
/*
 * ⚠️ THE SAME TWO COLOURS THE ITEM MARKS ALREADY USE, and deliberately not the
 * icon ramp. Each column's items are ticked in --rd-d-good or dashed in #E2718B;
 * a gradient glyph on the heading above them would have been the one icon on the
 * page whose colour disagreed with the list underneath it.
 */
#primary.site-content .rd-pcico {
	display: inline-flex;
	flex: none;
	color: var(--rd-d-good);
}

#primary.site-content .rd-pc-con .rd-pcico { color: #E2718B; }

#primary.site-content .rd-pcico svg { display: block; }

/* The closing verdict's rosette. Flat eggplant for the same reason as .rd-fico:
   at 19px the ramp is readable, but this glyph sits on a panel that already
   carries an eggplant wash and an eggplant edge, and the ramp's pale opening
   stop broke that. */
#primary.site-content .rd-vico {
	display: inline-flex;
	flex: none;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-vico svg { display: block; }

/* ---------------------------------------------------------- responsive -- */
/*
 * The facts row's own band, wider than the section's 640px breakpoint on purpose:
 * the L-shape described on .rd-rev-facts appears as soon as the measure stops
 * fitting four 160px columns, which is around 860px and not 640px.
 */
@media (max-width: 860px) {
	/* ⚠️ .rd-imp-facts IS NOT IN THIS RULE. It has THREE cells, so two columns
	   gives 2 + 1 and leaves an empty cell whose 1px gaps still draw the grid --
	   the same L-shape this rule exists to fix for the four-cell rows. It goes
	   straight from three columns to one; its own breakpoint is in the Impressum
	   section at the foot of this file. */
	#primary.site-content .rd-rev-facts,
	#primary.site-content .rd-pay-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
	#primary.site-content .rd-rev-facts,
	#primary.site-content .rd-pay-facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {

	#primary.site-content .rd-rev {
		grid-template-columns: 1fr;
		padding: 1.25rem;
	}

	/*
	 * The score moves ABOVE the logo on a phone rather than staying in source
	 * order below it. It is the page's answer and it should not require a scroll
	 * past a 62px sprite to reach.
	 */
	#primary.site-content .rd-rev-score {
		order: -1;
		justify-self: start;
		padding: .625rem 1rem;
	}

	#primary.site-content .rd-rev-num { font-size: 2rem; }

	#primary.site-content .rd-rev-go { margin-left: 0; width: 100%; }
	#primary.site-content .rd-rev-offer a.btn { display: block; text-align: center; }

	/*
	 * The scorecard drops the bar on a narrow screen and keeps label + number.
	 * A 90px-minimum bar next to a label in a 320px column leaves neither enough
	 * room, and the number is the information -- the bar only makes it scannable.
	 */
	#primary.site-content .rd-score-row { grid-template-columns: 1fr auto; }
	#primary.site-content .rd-score-bar { display: none; }

	/*
	 * The ribbon loses its second clause and its tracking. See the note on
	 * .rd-rev-rsub::before: the full label is wider than the panel at this
	 * viewport, and a chip that wraps stops looking like a chip.
	 */
	#primary.site-content .rd-rev-ribbon {
		left: 1rem;
		font-size: .625rem;
		letter-spacing: .03em;
	}

	#primary.site-content .rd-rev-rsub { display: none; }

	/*
	 * ⚠️ THE min-width FLOOR IS NOT RELAXED HERE, and that was the first thing
	 * tried. The plate carries justify-self:start above, so on a phone it does NOT
	 * fill the column -- it shrinks to its widest child, and with the floor lifted
	 * that is the caption again. Photographed at 560px the meter came out about
	 * 110px wide and the ten segments read as a dotted line rather than as a
	 * scale. It keeps the desktop floor; only the padding comes in, which gives the
	 * meter slightly MORE room here than it has on a wide screen.
	 */
	#primary.site-content .rd-rev-score { padding: .625rem 1rem .75rem; }

	#primary.site-content .rd-score-head { padding: .625rem 1rem; }
}

/*
 * The `prefers-reduced-motion` block that used to sit here is gone (2026-08-17).
 * Its only rule was `.rd-compare a:hover { transform: none; }`, cancelling a lift
 * that no longer exists -- the site default hover is colour and glow, nothing
 * moves. There is nothing left here to reduce.
 */

/* ================================================= header dropdown ===== */
/*
 * A one-level dropdown under the header's "Casino-Tests" item.
 *
 * WHY IT EXISTS. The site went from two pages to eight, and a flat row of every
 * link no longer fits beside the wordmark and the CTA in .rd-bar. Grouping the
 * three operator reviews under one parent keeps the top level at five items,
 * which does fit, and puts the reviews one predictable hop away instead of only
 * being reachable from the comparison table.
 *
 * The theme has NO submenu styling of its own -- style.css styles a flat list
 * only -- so all of this is new. #site-navigation li already carries
 * position:relative (it was needed for the stardust drifts), which is exactly the
 * containing block a dropdown wants, so nothing above had to change.
 *
 * ⚠️ :focus-within IS NOT OPTIONAL. A hover-only dropdown is unreachable by
 * keyboard: the child links stay display:none, so they never take focus and the
 * whole group is skipped in tab order. Pairing :hover with :focus-within is what
 * makes tabbing into the parent open the panel. Do not drop it for "simplicity".
 *
 * MOBILE IS ALREADY HANDLED. js/selectnav.js is initialised with
 * `nested: true, indent: '-- '` (functions.php:86 enqueues it), so it flattens
 * this second level into indented <option>s by itself. No media query needed.
 */
#site-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 60;
	display: block;
	min-width: 190px;
	margin: 0;
	padding: .5rem;
	list-style: none;
	border-radius: 12px;
	background: #0A1524;

	/*
	 * The panel's edge is a LIT edge, not a hairline. Same light-blue triplet as the
	 * FAQ cards and the comparison rows, so the one floating panel in the header
	 * belongs to the same family as the ones in the article.
	 *
	 * The glow is three casts on one shadow list, and the order matters: the black
	 * depth cast first so it sits furthest back, then the blue bloom, then the plum
	 * note the rest of the site adds to every hover glow (--rd-glow-plum), then an
	 * inset skim that lights the inside of the border so the edge reads as emitting
	 * rather than as being lit from somewhere off-screen.
	 *
	 * No transition of its own: the whole panel fades in on opacity, and the glow
	 * fades with it.
	 */
	border: 1px solid rgba(127, 203, 255, .58);
	box-shadow:
		0 18px 44px -18px rgba(0, 0, 0, .95),
		0 0 9px -1px rgba(127, 203, 255, .55),
		0 0 26px -2px rgba(42, 165, 245, .48),
		0 16px 36px -16px var(--rd-glow-plum),
		inset 0 0 16px -6px rgba(127, 203, 255, .60);

	/*
	 * Hidden with opacity + visibility rather than display:none, so the panel can
	 * FADE. visibility (unlike opacity alone) still removes it from hit-testing and
	 * from the accessibility tree while closed, which display:none also did.
	 *
	 * ⚠️ THE TRANSLATE IS NOT A MOTION CHOICE, IT IS THE CENTRING. The panel is
	 * placed with left:50% and pulled back by half its own width, so ANY transform
	 * written here has to carry translateX(-50%) along with it or the panel jumps to
	 * the right of its parent. The open state repeats it for the same reason.
	 *
	 * It drops in from 6px up and 2% small, against transform-origin:top center, so
	 * the panel reads as unfolding from the link it hangs off rather than appearing
	 * whole. Short and eased-out (.19s): a header menu opens under a moving pointer
	 * and anything slower feels like lag rather than like animation.
	 */
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(-6px) scale(.98);
	transform-origin: top center;
	transition:
		opacity .19s ease,
		visibility .19s ease,
		transform .19s cubic-bezier(.2, .7, .3, 1);
}

/*
 * The bridge. Without it, the 100%-top panel starts exactly where the parent's
 * box ends and any sub-pixel gap drops the hover on the way down, so the menu
 * flickers shut. A transparent pad on the panel's own ::before spans the seam.
 */
#site-navigation .menu-item-has-children > .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 10px;
}

#site-navigation .menu-item-has-children:hover > .sub-menu,
#site-navigation .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	/* translateX(-50%) repeated because it is the centring, not the animation. */
	transform: translateX(-50%) translateY(0) scale(1);
}

/* The sub-menu is a real block list again -- the flex the top level uses would
   lay these out in a row. */
#site-navigation .sub-menu li {
	display: block;
	width: 100%;
}

#site-navigation .sub-menu li a {
	display: block;
	padding: .5rem .625rem;
	border-radius: 8px;
	border-bottom: none;
	white-space: nowrap;
	transition: background .16s ease, color .16s ease, text-shadow .24s ease-out;
}

/*
 * The rows glow like the top-level links, over the fill rather than instead of it:
 * the fill says WHICH row the pointer is on, the glow says it is live. Both, because
 * a bloom alone on a tight-stacked list is ambiguous about its own row.
 *
 * ⚠️ TIGHTER RADII THAN THE TOP LEVEL ON PURPOSE. These rows are ~34px apart inside
 * a panel, where the header's links sit alone against the bar. The 34px outer stop
 * the top level uses reaches the rows above and below and the whole panel hazes over,
 * which is why this hover carried `text-shadow: none` before. Two stops at 6 and 15px
 * stay inside the row.
 */
#site-navigation .sub-menu li a:hover {
	background: var(--rd-ghost-fill);
	color: #FFFFFF;
	text-shadow:
		0 0 6px rgba(226, 246, 255, .90),
		0 0 15px rgba(126, 203, 255, .60);
}

/*
 * The caret that says "there is more under this one".
 *
 * A rotated pair of borders rather than a glyph, so it inherits currentColor and
 * needs no font -- the same construction as the FAQ chevron, at menu scale.
 *
 * ⚠️ IT IS A REAL <span>, NOT a::after, AND IT HAS TO BE. All four pseudo slots on
 * this menu (li::before/::after, a::before/::after) belong to the stardust drifts.
 * The caret used to be written on `.menu-item-has-children > a::after`: more specific
 * than the drift rule, so its own declarations won, but the drift's
 * `position:absolute; opacity:0` was never overridden and the caret has therefore
 * never once been visible on this site. rd_menu_caret() in inc/redesign.php emits the
 * span through link_after; that PHP note carries the rest of the story.
 *
 * Nothing here may set position or opacity -- that is the trap this markup exists to
 * get out of.
 */
#site-navigation .rd-caret {
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-left: .45rem;
	vertical-align: 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transform-origin: 60% 60%;
	transition: transform .19s cubic-bezier(.2, .7, .3, 1);
}

/*
 * Open: the caret turns up. -135deg rather than +135 so it unwinds back through the
 * same quarter it came from -- the two directions are the same still frame and a
 * different move, and this one reads as the panel pulling it open.
 *
 * transform-origin sits at 60%/60% rather than dead centre: the drawn mark is the
 * bottom-right corner of the box, not the whole of it, so rotating about the box's
 * middle swings the visible chevron off its own line.
 */
#site-navigation .menu-item-has-children:hover > a .rd-caret,
#site-navigation .menu-item-has-children:focus-within > a .rd-caret {
	transform: rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
	#site-navigation .sub-menu,
	#site-navigation .rd-caret { transition: none; }
}

/* ============================================ header menu, the two gates = */
/*
 * ⚠️ THE ONLY !important IN THIS FILE, AND IT IS UNAVOIDABLE.
 *
 * style.css:1637, inside `@media screen and (min-width: 769px)`, says:
 *
 *     .fosforit-nav ul.nav-menu, .fosforit-nav div.nav-menu > ul {
 *         display: inline-block !important;   width: 100%;
 *     }
 *
 * An !important declaration cannot be beaten by specificity from the same
 * origin -- only by another !important. So the flex row set on #site-navigation
 * ul.nav-menu near the top of this file (which reads as though it works) was
 * being discarded the whole time, and the menu laid out as an inline-block box
 * with each li -- itself display:flex -- stacking underneath the last.
 *
 * IT WENT UNNOTICED BECAUSE THE MENU HAD ONE ITEM. A single stacked item is
 * indistinguishable from a row. It only became visible when the menu grew to
 * five, at which point the items ran down the header and collided with the CTA.
 * Diagnosed by dumping getComputedStyle().display into document.title and
 * reading it back with --dump-dom; the served CSS looked correct on inspection.
 *
 * Scoped to min-width:769 rather than written at top level ON PURPOSE -- see the
 * mobile gate below, which the top-level version would have broken.
 */
@media only screen and (min-width: 769px) {

	#site-navigation ul.nav-menu,
	#site-navigation div.nav-menu > ul {
		display: flex !important;
		/* The theme's width:100% would stretch the row across the bar and push the
		   items away from the CTA they sit next to. */
		width: auto;
	}
}

/*
 * The mobile gate.
 *
 * The theme hides the real menu under 769px and swaps in selectnav's <select>
 * (js/selectnav.js, enqueued in functions.php) -- but it hides it with
 * `.fosforit-nav ul.nav-menu { display: none }`, which is (0,2,1). The flex rule
 * at the top of this file carries an ID, so it OUTRANKED that and the full list
 * was rendering on phones in addition to the « Menu » select. With one item that
 * was one stray link under the logo; with five it is a stack down the page.
 *
 * So the hide is restated here at matching specificity. It has to come after the
 * flex rule in source order, which is why this block lives at the foot of the
 * file rather than beside it.
 */
/*
 * ⚠️ SUPERSEDED 2026-09-23 by the burger (MOBILE NAV, foot of this file), which
 * hides the row below 1181px whenever JS runs. What is left here is the no-JS
 * case: selectnav.js is dequeued now, so hiding the row without JS would leave a
 * phone with no navigation at all. Without JS the row therefore stays, wrapped.
 */

/* ============================================== review-page fairy ======= */
/*
 * The wireframe fairy in the right gutter of an operator review, level with the
 * hero panel. Injected by rd_review_fairy() as .rd-rev's first child, so it is
 * positioned against the PANEL -- that is what puts it at the panel's vertical
 * level without a single hard-coded offset.
 *
 * It deliberately reuses the gutter-art recipe already established by .rd-chips
 * and .rd-deck rather than inventing a second one: negative z-index, screen
 * blend, a radial mask that fades the plate's own edges, and a hard stop at the
 * width where the gutter runs out. Same visual family as the hero hand and the
 * card mesh, which is what keeps the page reading as one illustration system.
 *
 * ⚠️ mix-blend-mode:screen IS DOING REAL WORK, NOT DECORATION. The artwork is
 * additive glow, so screen makes its dark ground disappear into the page and the
 * light add rather than sit on top as a rectangle. The alpha channel is kept as
 * well, so the piece still composites correctly if blending is ever unavailable.
 *
 * ⚠️ z-index:-1 is what makes the overlap work. The panel's background is opaque,
 * so the part of the fairy that reaches over it is hidden and only the part in the
 * gutter shows -- she reads as being BEHIND the card. .rd-rev is position:relative
 * with z-index:auto, i.e. not a stacking context, so the child really does paint
 * behind the panel's own background; #primary's isolation:isolate then stops it
 * falling further back than the article.
 */
#primary.site-content .rd-rev .rd-fairy {
	position: absolute;
	z-index: -1;
	top: 50%;
	/* left:100% puts her left edge on the panel's right edge; the small negative
	   margin tucks her back under it just enough that she emerges from behind the
	   card rather than floating clear of it. */
	left: 100%;
	/*
	 * -110px, arrived at by rendering at several widths rather than by taste. The
	 * visible window is only the gutter -- (100vw - the 1100px column) / 2, so
	 * ~170px at 1440 -- and everything left of the panel's edge is hidden behind
	 * it. At -64px that window landed on her arm and torso and the HEAD fell off
	 * the right of the screen, leaving an unreadable glowing slab. Pulling her
	 * 110px under the card slides the head into the middle of the window at 1440
	 * and keeps it there up to ~1900. The cost is the tip of the pointing arm,
	 * which goes behind the panel; a recognisable head beats a recognisable hand.
	 */
	margin-left: -110px;
	width: min(30rem, 32vw);
	height: auto;
	transform: translateY(-50%);
	opacity: .62;
	mix-blend-mode: screen;
	pointer-events: none;
	/*
	 * ⚠️ AN ELLIPTICAL MASK, NOT closest-side. The chips and the deck are roughly
	 * square, so closest-side suits them; this plate is 700x471 (1.49:1), where
	 * closest-side takes its radius from the HEIGHT and therefore fades the figure
	 * out horizontally long before the edge -- it was dimming her head and the
	 * pointing arm, the two parts that have to read. Sized per-axis instead, and
	 * biased slightly up and left towards where the figure actually sits in the
	 * plate, so the fade lands on empty pixels rather than on her.
	 */
	-webkit-mask-image: radial-gradient(ellipse 86% 96% at 46% 44%, #000 62%, rgba(0, 0, 0, 0) 100%);
	        mask-image: radial-gradient(ellipse 86% 96% at 46% 44%, #000 62%, rgba(0, 0, 0, 0) 100%);
}

/*
 * Gone below 1280px.
 *
 * Higher than the 900px the chips and the deck use, and for a different reason:
 * those sit beside a long article and merely lose their point at narrow widths,
 * whereas this one is level with the page's most important panel. Once the gutter
 * closes there is nothing left of her but a bright smear behind the operator's
 * name, bonus figure and CTA -- the three things on the page that most need to
 * stay legible.
 */
@media only screen and (max-width: 1280px) {
	#primary.site-content .rd-rev .rd-fairy { display: none; }
}

/* No motion to disable -- she is static by design; the scroll pass belongs to the
   gutter pieces further down the article, where drifting art cannot collide with
   a call to action. */

/* ==================================================== content blocks ====
 *
 * The article's prose lists, as elements. Markup comes from
 * rd_content_blocks() in inc/redesign.php -- eleven blocks between the
 * comparison table and the FAQ, applied at render time only.
 *
 * SCOPE. Every rule carries `.rd-dark #primary.site-content`, and the ID is
 * not decoration: the light rules above carry #primary to beat style.css, so a
 * plain class selector here (0,1,0) loses to `#primary.site-content p` (1,1,1)
 * and the copy inside these blocks would silently keep the article's colour and
 * spacing. That collision has already cost this file three bugs -- see the
 * note on the .rd-shead reset.
 *
 * HOVER. Everything rectangular reaches for --rd-hover-glow and
 * --rd-hover-edge, the site default: omnidirectional, and NOTHING MOVES. The
 * one exception is .rd-help, which answers in --rd-hover-edge-plum because it
 * is the only block on the page that is not a casino recommendation.
 *
 * ⚠️ NO ANCESTOR OF THESE BLOCKS MAY CLIP. The glow is `0 0 Xpx -Ypx` and an
 * upward halo is the first thing an `overflow: hidden` ancestor eats. They all
 * sit directly in the content column, which does not clip -- but a wrapper
 * added later must not either.
 *
 * COLUMN COUNTS ARE PINNED, NOT auto-fit. Six criteria cards, twelve live
 * tables and seven payment methods at auto-fit each left one item alone in a
 * final row, stretched over dead space. The counts below fill their rows.
 * ------------------------------------------------------------------------- */

/* ------------------------------------------------------- 01 licences ---- */
.rd-dark #primary.site-content .rd-lic {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 1.5rem 0 2rem;
}

.rd-dark #primary.site-content .rd-lic-c {
	background: var(--rd-d-2);
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	padding: 1.5rem 1.375rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.rd-dark #primary.site-content .rd-lic-c:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .5), var(--rd-hover-glow);
}

.rd-dark #primary.site-content .rd-lic-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

/*
 * The light plate.
 *
 * img/{mycasino,jackpots,casino-777}-ch.png are dark artwork on transparent and
 * measure as good as nothing on this ground -- the same problem the comparison
 * table has, so this is the same plate: #F4F8FC, 7px/11px of inset, an inset
 * hairline for the edge and a drop to lift it off the panel. See
 * `.rd-dark ... .ctable ._logo > span`, which must stay identical to this; the
 * brands have to look the same everywhere they appear on the site.
 *
 * Here the plate is the <a>, not a span around one, so it needs the flex reset
 * and line-height:0 -- an inline anchor otherwise carries a text baseline gap
 * under the image.
 */
.rd-dark #primary.site-content .rd-plate {
	box-sizing: border-box;
	display: inline-flex;
	flex: none;
	padding: 7px 11px;
	background-color: #F4F8FC;
	border-radius: 10px;
	line-height: 0;
	box-shadow:
		inset 0 0 0 1px rgba(10, 26, 47, .14),
		0 6px 16px -8px rgba(0, 0, 0, .8);
	transition: box-shadow .2s ease;
}

.rd-dark #primary.site-content .rd-plate img {
	width: 128px;
	height: 52px;
	object-fit: contain;
	display: block;
}

.rd-dark #primary.site-content .rd-lic-c:hover .rd-plate {
	box-shadow:
		inset 0 0 0 1px rgba(10, 26, 47, .14),
		0 6px 16px -8px rgba(0, 0, 0, .8),
		0 0 18px -6px rgba(42, 165, 245, .5);
}

.rd-dark #primary.site-content .rd-lscore {
	text-align: right;
	flex: none;
}

.rd-dark #primary.site-content .rd-lscore b {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--rd-d-ink);
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
}

.rd-dark #primary.site-content .rd-lscore span {
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

.rd-dark #primary.site-content .rd-lop {
	margin: 0;
	font-size: .9375rem;
	color: var(--rd-d-body);
}

/*
 * The verified-licence green. --rd-d-good, NOT the light theme's #14855C, which
 * lands at 3.96:1 here and fails AA -- the same rejection the ._lic note
 * records. The semantic ("verified", deliberately not the blue accent) is
 * intact; only the level moves.
 */
.rd-dark #primary.site-content .rd-lbadge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: var(--rd-mono);
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--rd-d-good);
	background: rgba(53, 198, 142, .1);
	border: 1px solid rgba(53, 198, 142, .28);
	border-radius: 999px;
	padding: .3rem .6rem;
}

/* Jackpots' badge states a first, not a licence class, so it answers in the
   secondary rather than borrowing the verified green. --rd-plum-hi, because
   --rd-plum is 1.2:1 on this ground. */
.rd-dark #primary.site-content .rd-lbadge-first {
	color: var(--rd-plum-hi);
	background: rgba(200, 138, 216, .1);
	border-color: rgba(200, 138, 216, .3);
}

/* margin-top:auto pins the bonus to the card's foot, so the three cards share a
   baseline even though Jackpots' badge carries an extra clause. Without it the
   badge's line count decides where each bonus figure lands. */
.rd-dark #primary.site-content .rd-lbon {
	margin: auto 0 0;
	font-size: .875rem;
	color: var(--rd-d-muted);
	border-top: 1px solid var(--rd-d-rule);
	padding-top: .875rem;
}

.rd-dark #primary.site-content .rd-lbon b {
	display: block;
	color: var(--rd-blue);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: -.01em;
}

/* ------------------------------------------------------- 03 staircase --- */
/*
 * ⚠️ THE BAR HEIGHT IS THE CUMULATIVE CAP, NOT THE MATCH RATE. Mapped to the
 * percentage the stair DESCENDS -- 200% becomes the tallest bar and the package
 * reads as shrinking, which is the opposite of what it does. The cumulative cap
 * rises 400 / 800 / 1400 / 2000, so the top step is the total and the shape
 * answers the question the reader actually has. The heights are passed per step
 * as --rd-h from rd_bonus_stair().
 *
 * The bars live in their own bottom-aligned track ABOVE the cards. Inside them
 * they read as decoration, because the cards are all the same height.
 */
.rd-dark #primary.site-content .rd-stair {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .75rem;
	margin: 1.5rem 0 0;
}

.rd-dark #primary.site-content .rd-step {
	display: flex;
	flex-direction: column;
}

/*
 * ⚠️ TALL ENOUGH THAT NOTHING SHRINKS. At 7.5rem the box was 120px and the
 * label plus the gap took 33 of them, so the tallest bar -- the one that IS the
 * CHF 2'000 total, and the only one whose height is the full scale -- was
 * flex-shrunk from 95px to 87px. A bar whose whole job is to be proportional
 * cannot be 8% short, and it distorted the top step specifically.
 */
.rd-dark #primary.site-content .rd-riserbox {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 8.25rem;
	gap: .4rem;
}

.rd-dark #primary.site-content .rd-riserlab {
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .08em;
	color: var(--rd-d-muted);
	font-variant-numeric: tabular-nums;
	transition: color .2s ease;
}

.rd-dark #primary.site-content .rd-riser {
	height: var(--rd-h);
	/* Belt and braces for the same thing: a flex item shrinks by default, and a
	   height that encodes a value must never be negotiable. */
	flex: none;
	border-radius: 4px 4px 0 0;
	background: var(--rd-grad-bp);
	opacity: .6;
	transition: opacity .2s ease;
}

.rd-dark #primary.site-content .rd-step:hover .rd-riser { opacity: 1; }
.rd-dark #primary.site-content .rd-step:hover .rd-riserlab { color: var(--rd-blue-hi); }

/* border-top:0 and the square top corners: the card is the foot of its bar, so
   the two have to read as one object rather than a bar sitting on a card. */
.rd-dark #primary.site-content .rd-stepc {
	background: var(--rd-d-2);
	border: 1px solid var(--rd-d-rule);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	padding: 1.125rem 1rem;
	display: flex;
	flex-direction: column;
	gap: .4rem;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.rd-dark #primary.site-content .rd-step:hover .rd-stepc {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .5), var(--rd-hover-glow);
}

.rd-dark #primary.site-content .rd-stepn,
.rd-dark #primary.site-content .rd-termq {
	font-family: var(--rd-mono);
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

.rd-dark #primary.site-content .rd-stepp {
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.035em;
	background: var(--rd-grad-bp);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}

.rd-dark #primary.site-content .rd-stepv {
	font-size: .9375rem;
	color: var(--rd-d-strong);
	font-weight: 600;
}

.rd-dark #primary.site-content .rd-stepf {
	font-size: .8125rem;
	color: var(--rd-d-muted);
}

.rd-dark #primary.site-content .rd-stairsum {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .5rem 1.25rem;
	margin: 1rem 0 2rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--rd-d-rule-2);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(122, 180, 230, .06) 0%, rgba(122, 180, 230, .02) 100%);
}

.rd-dark #primary.site-content .rd-stairsum span {
	font-family: var(--rd-mono);
	font-size: .6875rem;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

.rd-dark #primary.site-content .rd-stairsum b {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--rd-d-ink);
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}

.rd-dark #primary.site-content .rd-stairsum em {
	font-style: normal;
	font-size: .875rem;
	color: var(--rd-d-muted);
}

/* ----------------------------------------------------- 04 bonus terms --- */
.rd-dark #primary.site-content .rd-terms {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin: 1.5rem 0 2rem;
}

.rd-dark #primary.site-content .rd-term {
	background: var(--rd-d-2);
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	padding: 1.375rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.rd-dark #primary.site-content .rd-term:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .5), var(--rd-hover-glow);
}

.rd-dark #primary.site-content .rd-term .rd-termq { color: var(--rd-blue-hi); }

/* The article's h4 rule would otherwise give these the heading margins. */
.rd-dark #primary.site-content .rd-term h4 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--rd-d-ink);
}

.rd-dark #primary.site-content .rd-term p {
	margin: 0;
	font-size: .875rem;
	color: var(--rd-d-muted);
	line-height: 1.6;
}

/* ------------------------------------------------------- 05 chips ------- */
.rd-dark #primary.site-content .rd-gchips {
	display: flex;
	flex-wrap: wrap;
	gap: .625rem;
	margin: 1.5rem 0 2rem;
}

.rd-dark #primary.site-content .rd-gchip {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--rd-d-2);
	border: 1px solid var(--rd-d-rule);
	border-radius: 999px;
	padding: .5rem .9375rem .5rem .75rem;
	font-size: .9375rem;
	font-weight: 500;
	color: var(--rd-d-strong);
	transition: box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.rd-dark #primary.site-content .rd-gchip:hover {
	border-color: var(--rd-hover-edge);
	color: var(--rd-d-ink);
	box-shadow: var(--rd-hover-glow);
}

.rd-dark #primary.site-content .rd-gchip svg {
	color: var(--rd-blue-hi);
	flex: none;
}

/* -------------------------------------------- 06 + 07 tiles ------------- */
/* Four columns: twelve live tables land as three full rows, and the seven
   payment methods as 4+3 with one empty cell rather than two stretched
   orphans. */
.rd-dark #primary.site-content .rd-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .75rem;
	margin: 1.5rem 0 2rem;
}

.rd-dark #primary.site-content .rd-tile {
	background: var(--rd-d-2);
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	padding: 1rem .875rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .625rem;
	text-align: center;
	text-decoration: none;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.rd-dark #primary.site-content .rd-tile:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .5), var(--rd-hover-glow);
}

.rd-dark #primary.site-content .rd-tilem {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: linear-gradient(180deg, rgba(42, 165, 245, .17) 0%, rgba(42, 165, 245, .05) 100%);
	border: 1px solid rgba(42, 165, 245, .3);
	color: var(--rd-blue-hi);
}

.rd-dark #primary.site-content .rd-tile b {
	font-size: .875rem;
	font-weight: 600;
	color: var(--rd-d-strong);
	letter-spacing: -.01em;
	line-height: 1.3;
	text-wrap: balance;
}

.rd-dark #primary.site-content .rd-tile > span:last-child {
	font-family: var(--rd-mono);
	font-size: .5625rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

/* The payment tiles are links, so their name takes the link colour -- and the
   prose-link glow is reset, because --rd-hover-glow-text INHERITS and a
   block-level <a> would pass it to every word inside on top of the card glow.
   Same trap as .rd-jump and .rd-compare. */
.rd-dark #primary.site-content a.rd-tile b { color: var(--rd-blue); }
.rd-dark #primary.site-content a.rd-tile:hover b { color: var(--rd-blue-hi); }
.rd-dark #primary.site-content a.rd-tile:hover { text-shadow: none; }

/* ------------------------------------------------------- 08 rail -------- */
.rd-dark #primary.site-content .rd-rail {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 2.5rem 0 0;
	margin: 1.5rem 0 2.5rem;
}

/* Inset 6% at each end so the line starts and stops under the outer dots
   rather than running off past them. */
.rd-dark #primary.site-content .rd-rail::before {
	content: "";
	position: absolute;
	top: 2.5rem;
	left: 6%;
	right: 6%;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, rgba(42, 165, 245, .7) 0%, #6E5BC6 55%, rgba(153, 60, 169, .7) 100%);
}

.rd-dark #primary.site-content .rd-node {
	position: relative;
	padding: 0 .75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .625rem;
}

/* The 4px spread ring in the ground colour is what punches the rail line out
   from behind the dot -- without it the gradient runs straight through. */
.rd-dark #primary.site-content .rd-nodedot {
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	background: var(--rd-d-1);
	border: 2px solid var(--rd-blue);
	margin-top: -.5rem;
	box-shadow: 0 0 0 4px var(--rd-d-1), 0 0 14px -2px rgba(42, 165, 245, .7);
	transition: box-shadow .2s ease;
}

/* The last stage is the money arriving, so it closes on the secondary -- the
   same ramp the rail line itself ends on. */
.rd-dark #primary.site-content .rd-node:last-child .rd-nodedot {
	border-color: var(--rd-plum-lit);
	box-shadow: 0 0 0 4px var(--rd-d-1), 0 0 14px -2px rgba(153, 60, 169, .8);
}

.rd-dark #primary.site-content .rd-node:hover .rd-nodedot {
	box-shadow: 0 0 0 4px var(--rd-d-1), 0 0 20px 0 rgba(42, 165, 245, .9);
}

.rd-dark #primary.site-content .rd-nodein {
	display: flex;
	flex-direction: column;
	gap: .3rem;
}

.rd-dark #primary.site-content .rd-nodet {
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--rd-blue-hi);
	font-variant-numeric: tabular-nums;
}

.rd-dark #primary.site-content .rd-node h4 {
	margin: 0;
	font-size: .9375rem;
	font-weight: 700;
	color: var(--rd-d-ink);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.rd-dark #primary.site-content .rd-node p {
	margin: 0;
	font-size: .8125rem;
	color: var(--rd-d-muted);
	line-height: 1.55;
	max-width: 20ch;
}

/* ------------------------------------------------------- 09 facts ------- */
/*
 * A rule-divided strip, NOT four cards: it is one fact in four parts, not four
 * topics. overflow:hidden is safe here only because the strip itself takes no
 * hover glow -- if one is ever added, the clip has to go first.
 */
.rd-dark #primary.site-content .rd-lawfacts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	overflow: hidden;
	margin: 1.5rem 0 2rem;
	background: linear-gradient(180deg, rgba(122, 180, 230, .06) 0%, rgba(122, 180, 230, .02) 100%);
}

.rd-dark #primary.site-content .rd-lawfact {
	padding: 1.5rem 1.375rem;
	border-right: 1px solid var(--rd-d-rule);
	display: flex;
	flex-direction: column;
	gap: .375rem;
}

.rd-dark #primary.site-content .rd-lawfact:last-child { border-right: 0; }

.rd-dark #primary.site-content .rd-lawfact span {
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

/* Brighter end of the ramp first, for the same reason as .rd-shead h2 em: the
   light theme's blue-to-blue-lo ends at 4.7:1 here and the last glyph fades. */
.rd-dark #primary.site-content .rd-lawfact b {
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.035em;
	background: linear-gradient(96deg, var(--rd-blue-hi) 0%, var(--rd-blue) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}

.rd-dark #primary.site-content .rd-lawfact p {
	margin: 0;
	font-size: .8125rem;
	color: var(--rd-d-body);
	line-height: 1.5;
}

/* --------------------------------------------------- 10 protection ----- */
.rd-dark #primary.site-content .rd-prot {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 1rem;
	align-items: start;
	margin: 1.5rem 0 2rem;
}

/* list-style and padding reset here rather than globally: the article's own
   <ul> rules still apply to every other list on the page. */
.rd-dark #primary.site-content .rd-checks {
	display: flex;
	flex-direction: column;
	gap: .625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rd-dark #primary.site-content .rd-checks li {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	background: var(--rd-d-2);
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	padding: .875rem 1.125rem;
	margin: 0;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.rd-dark #primary.site-content .rd-checks li:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .5), var(--rd-hover-glow);
}

.rd-dark #primary.site-content .rd-checks li > svg {
	color: var(--rd-d-good);
	flex: none;
	margin-top: .28rem;
}

.rd-dark #primary.site-content .rd-checks b {
	display: block;
	font-size: .9375rem;
	color: var(--rd-d-strong);
	font-weight: 600;
}

.rd-dark #primary.site-content .rd-checks em {
	font-style: normal;
	font-size: .8125rem;
	color: var(--rd-d-muted);
	line-height: 1.5;
}

/*
 * The helpline, and the one block on this page that answers in the EGGPLANT.
 *
 * It is the only element here that is not a casino recommendation, and the
 * secondary is how the palette says so -- same reasoning as the top-pick row's
 * plum edge. The fill can use --rd-plum's hue at low alpha; the EDGE cannot use
 * --rd-plum itself, which measures 1.2:1 on this ground.
 */
.rd-dark #primary.site-content .rd-help {
	border: 1px solid rgba(200, 138, 216, .32);
	border-radius: 14px;
	padding: 1.5rem 1.375rem;
	background: linear-gradient(180deg, rgba(153, 60, 169, .14) 0%, rgba(153, 60, 169, .05) 100%);
	display: flex;
	flex-direction: column;
	gap: .75rem;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.rd-dark #primary.site-content .rd-help:hover {
	border-color: var(--rd-hover-edge-plum);
	box-shadow:
		0 0 26px -6px rgba(153, 60, 169, .5),
		0 0 54px -4px var(--rd-glow-plum);
}

.rd-dark #primary.site-content .rd-help > span {
	font-family: var(--rd-mono);
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

/* The number is the block's subject, so it gets the inline-text sibling of the
   card glow rather than the article's link colour. */
.rd-dark #primary.site-content .rd-tel {
	font-size: 1.625rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--rd-d-ink);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
	transition: text-shadow .2s ease, color .2s ease;
}

.rd-dark #primary.site-content .rd-tel:hover {
	color: #FFFFFF;
	text-shadow: var(--rd-hover-glow-text);
}

.rd-dark #primary.site-content .rd-help p {
	margin: 0;
	font-size: .875rem;
	color: var(--rd-d-body);
	line-height: 1.55;
}

/* ------------------------------------------------------- 11 Fazit ------ */
.rd-dark #primary.site-content .rd-fazit {
	border: 1px solid var(--rd-d-rule-2);
	border-radius: 16px;
	padding: 2rem;
	margin: 1.5rem 0 2.5rem;
	background: linear-gradient(180deg, rgba(122, 180, 230, .07) 0%, rgba(122, 180, 230, .02) 100%);
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.75rem;
	align-items: center;
}

.rd-dark #primary.site-content .rd-fazit .rd-plate img {
	width: 140px;
	height: 56px;
}

.rd-dark #primary.site-content .rd-fbody > span {
	display: block;
	margin-bottom: .4rem;
	font-family: var(--rd-mono);
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-blue-hi);
}

.rd-dark #primary.site-content .rd-fbody h4 {
	margin: 0 0 .4rem;
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -.025em;
	color: var(--rd-d-ink);
}

.rd-dark #primary.site-content .rd-fbody p {
	margin: 0;
	font-size: .9375rem;
	color: var(--rd-d-body);
	max-width: 52ch;
}

/* The ATF pill, reused. It needs the icon gap and nothing else -- .rd-pill and
   .rd-pill-blue already carry the fill, the radius and the hover bloom, which
   is the point of reusing them rather than restyling a new button. */
.rd-dark #primary.site-content .rd-fazit .rd-pill {
	gap: .5rem;
	flex: none;
	padding: .875rem 1.75rem;
	font-size: 1rem;
}

/* ------------------------------------------------- blocks, responsive -- */
@media (max-width: 1000px) {
	.rd-dark #primary.site-content .rd-tiles { grid-template-columns: repeat(3, 1fr); }
	.rd-dark #primary.site-content .rd-terms { grid-template-columns: repeat(2, 1fr); }
	.rd-dark #primary.site-content .rd-lawfacts { grid-template-columns: repeat(2, 1fr); }
	/* The two cells that are no longer at the end of a row need their rule back. */
	.rd-dark #primary.site-content .rd-lawfact:nth-child(2) { border-right: 0; }
	.rd-dark #primary.site-content .rd-lawfact:nth-child(-n+2) { border-bottom: 1px solid var(--rd-d-rule); }
}

/*
 * The rail goes vertical at 1100px, not with the rest at 900 (2026-09-23): at
 * 1024 (iPad landscape) its five stages were 127px columns of copy -- the audit's
 * one "text squeezed too narrow" finding on the whole site.
 */
@media (max-width: 1100px) {
	/* The rail turns vertical: the line moves to the left edge and each stage
	   becomes a row. The dots keep punching it out, so only the geometry
	   changes, not the mechanism. */
	.rd-dark #primary.site-content .rd-rail {
		grid-template-columns: 1fr;
		gap: 1.75rem;
		padding: 0 0 0 .25rem;
	}

	.rd-dark #primary.site-content .rd-rail::before {
		top: 1rem;
		bottom: 1rem;
		left: .5rem;
		right: auto;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, rgba(42, 165, 245, .7) 0%, #6E5BC6 55%, rgba(153, 60, 169, .7) 100%);
	}

	.rd-dark #primary.site-content .rd-node {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		padding: 0;
		gap: 1rem;
	}

	.rd-dark #primary.site-content .rd-nodedot { margin-top: .3rem; }
	.rd-dark #primary.site-content .rd-node p { max-width: none; }
}

@media (max-width: 900px) {
	.rd-dark #primary.site-content .rd-lic { grid-template-columns: 1fr; }
	.rd-dark #primary.site-content .rd-prot { grid-template-columns: 1fr; }
	.rd-dark #primary.site-content .rd-fazit { grid-template-columns: 1fr; gap: 1.25rem; }
	/* One column: the plate, a grid item, stretched the full width with the logo
	   at its left end. Back to its own size, centred -- and the label, name and
	   fact chips centre under it, so the box reads as one stacked card. */
	.rd-dark #primary.site-content .rd-fazit .rd-plate { justify-self: center; }
	.rd-dark #primary.site-content .rd-fbody { text-align: center; }
	.rd-dark #primary.site-content .rd-fbody p { margin-inline: auto; }
	.rd-dark #primary.site-content .rd-ffacts { justify-content: center; }


	.rd-dark #primary.site-content .rd-stair { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
	.rd-dark #primary.site-content .rd-tiles { grid-template-columns: repeat(2, 1fr); }
	.rd-dark #primary.site-content .rd-terms { grid-template-columns: 1fr; }
	.rd-dark #primary.site-content .rd-lawfacts { grid-template-columns: 1fr; }
	.rd-dark #primary.site-content .rd-lawfact { border-right: 0; border-bottom: 1px solid var(--rd-d-rule); }
	.rd-dark #primary.site-content .rd-lawfact:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
	.rd-dark #primary.site-content .rd-stair { grid-template-columns: 1fr; }

	/*
	 * The bars go, they do not shrink. One bar per row reads as four unrelated
	 * bars -- a scale you cannot compare across is worse than no scale, and the
	 * cumulative figure is in .rd-riserlab, which stays.
	 */
	.rd-dark #primary.site-content .rd-riserbox {
		height: auto;
		flex-direction: row;
		align-items: baseline;
		padding-bottom: .375rem;
	}

	.rd-dark #primary.site-content .rd-riser { display: none; }

	.rd-dark #primary.site-content .rd-stepc {
		border-top: 1px solid var(--rd-d-rule);
		border-radius: 12px;
	}
}

/* The criteria strip carries six cards from 2026-09-04. At the shared
   auto-fit minmax the sixth sat alone in a row, so the count is pinned. */
.rd-dark #primary.site-content .rd-criteria .rd-cards,
#primary.site-content .rd-criteria .rd-cards {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
	.rd-dark #primary.site-content .rd-criteria .rd-cards,
	#primary.site-content .rd-criteria .rd-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.rd-dark #primary.site-content .rd-criteria .rd-cards,
	#primary.site-content .rd-criteria .rd-cards {
		grid-template-columns: 1fr;
	}
}

/* The Fazit box's fact line: three chips, not a paragraph -- see the note in
   rd_verdict_box() for why it is not prose. flex-wrap so a narrow column drops
   them onto their own rows instead of squeezing the middle one. */
.rd-dark #primary.site-content .rd-ffacts {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .5rem;
	margin: 0;
}

.rd-dark #primary.site-content .rd-ffacts span {
	font-size: .8125rem;
	font-weight: 500;
	color: var(--rd-d-body);
	background: rgba(122, 180, 230, .08);
	border: 1px solid var(--rd-d-rule);
	border-radius: 999px;
	padding: .3rem .75rem;
}

/* The licence chip answers in the verified green, the same semantic the badges
   on the concession cards carry -- one meaning, one colour, both blocks. */
.rd-dark #primary.site-content .rd-ffacts span:first-child {
	color: var(--rd-d-good);
	background: rgba(53, 198, 142, .1);
	border-color: rgba(53, 198, 142, .28);
}

/* ================================================= content figures ====
 *
 * The two front-page illustrations, img/fig-datenschutz.svg and img/fig-apps.svg,
 * inlined by rd_content_figures() in inc/redesign.php in place of the 2015 stock
 * photos that were there (a keyboard key with a wifi glyph; iPhone 4 handsets
 * spilling US dollar bills).
 *
 * ⚠️ THE ART CARRIES NO COLOUR OF ITS OWN. Every stroke and fill in both files is
 * a .rdf class answered here, against the palette tokens. That is the whole
 * reason the figures are INLINED rather than referenced with <img>: an external
 * SVG is a separate document and cannot see this stylesheet or the custom
 * properties, so it would have to hard code the palette and would drift from it.
 * Same reasoning as the wordmark, see rd_inline_svg().
 *
 * The only literal colours are the gradient stops inside each file, because an
 * SVG paint server can only be referenced from its own document.
 * --------------------------------------------------------------------------- */

.rd-dark #primary.site-content .rd-fig {
	margin: 2rem 0 2.25rem;
	display: flex;
	flex-direction: column;
	gap: .875rem;
}

/*
 * Full column width, and no height of its own.
 *
 * The photos it replaces were 424px and 283px wide, centred, which is what made
 * them read as dropped in: everything else on this page spans the 1100px measure
 * (see the --rd-shell note). An SVG with a viewBox and no width/height attribute
 * scales to its container and keeps its ratio, so there is no fixed height to
 * set and nothing to shift while the page loads.
 */
.rd-dark #primary.site-content .rd-figart {
	display: block;
	width: 100%;
	height: auto;
	/* Belt and braces for the aspect: both files are 900x300, and a UA that
	   somehow fails to derive the ratio from the viewBox would otherwise give
	   the block zero height. */
	aspect-ratio: 3 / 1;
	overflow: visible;
}

/* ------------------------------------------------ the photo variant ---- */
/*
 * .rd-fig.is-photo — a finished raster illustration rather than drawn art.
 * Everything above about inlining and palette tokens is about the SVGs and does
 * not apply here; these rules only have to make an image behave like the figures
 * around it.
 */
/*
 * ⚠️ THE ROUNDED CORNERS AND THE EDGE ARE NOT SET HERE, AND THAT IS DELIBERATE.
 * `.rd-dark #primary.site-content .entry-content img` further down this file is
 * the site's CONTENT PHOTOGRAPH treatment — 12px radius, a 1px rule and a soft
 * drop — and this figure is a content photograph, so it inherits the house frame
 * instead of declaring a second, slightly different one. A 16px radius was
 * written here first; it lost to that rule on source order at equal specificity
 * (1,3,1), which was the cascade pointing out that the convention already
 * existed. The hairline is also exactly what a dark render needs so it does not
 * bleed into this ground.
 *
 * ⚠️ AND NO `overflow: hidden` ON THE <picture>. It would clip the drop shadow
 * that same rule applies, leaving the frame cut off along two edges.
 */
.rd-dark #primary.site-content .rd-fig.is-photo picture {
	display: block;
}

.rd-dark #primary.site-content .rd-figimg {
	display: block;
	width: 100%;
	height: auto;
	/*
	 * Stated so the box is reserved before the bytes land — this figure sits far
	 * down a 13'000px article and everything below it would otherwise jump. The
	 * width/height attributes say the same thing; this survives them being lost.
	 */
	aspect-ratio: 2.5 / 1;
}

.rd-dark #primary.site-content .rd-fig figcaption {
	font-size: .875rem;
	line-height: 1.55;
	color: var(--rd-d-muted);
	text-wrap: pretty;
	/*
	 * ⚠️ NO max-width. A 68ch measure was tried first and it is the SAME mistake
	 * the body copy already rejected: a narrow column of prose sitting under a
	 * 1100px element reads as orphaned, not as typographically careful. Her call
	 * on the article was one measure for everything, with extra leading to carry
	 * the long lines -- see the --rd-shell note. A caption is no different.
	 */
	line-height: 1.65;
}

.rd-dark #primary.site-content .rd-fig figcaption b {
	color: var(--rd-d-strong);
	font-weight: 600;
}

/* ---------------------------------------------------------- the art ---- */
/* Strokes only: every path in both files is unfilled unless it says otherwise,
   so the default is declared once on the group. */
.rd-dark #primary.site-content .rdf {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* The structural wireframe. Alpha, not a darker blue: on this ground a dimmed
   hue goes muddy while a translucent one stays blue. */
.rd-dark #primary.site-content .rdf-wire {
	stroke: rgba(42, 165, 245, .45);
	stroke-width: 1.6;
}

/* The subject's own outline, one step up so the shield and the handset read as
   the thing the figure is about. */
.rd-dark #primary.site-content .rdf-wire-hi {
	stroke: var(--rd-blue);
	stroke-width: 2.2;
}

/* Facet fill: the same ramp the rating rings and the hero pills run on, at the
   alpha the criteria icons use. */
.rd-dark #primary.site-content .rdf-facet {
	fill: url(#rdf-ds-grad);
	fill-opacity: .14;
	stroke: none;
}

.rd-dark #primary.site-content .rdf-node {
	fill: var(--rd-blue-hi);
	stroke: none;
}

.rd-dark #primary.site-content .rdf-node-dim {
	fill: rgba(125, 147, 169, .55);
	stroke: none;
}

/* The lock, the speaker pill and the panel glyphs: light blue, thinner than the
   subject outline so they read as detail rather than structure. */
.rd-dark #primary.site-content .rdf-lock {
	stroke: var(--rd-blue-hi);
	stroke-width: 1.8;
}

/* ------------------------------------------------- the data channel ---- */
/* The rail is always visible; .rdf-flow travels along it. Two coincident paths
   rather than one dashed one, so the channel is still a continuous link when the
   animation is off. */
.rd-dark #primary.site-content .rdf-rail {
	stroke: rgba(42, 165, 245, .28);
	stroke-width: 2;
}

.rd-dark #primary.site-content .rdf-flow {
	stroke: var(--rd-blue-hi);
	stroke-width: 2.4;
	stroke-dasharray: 14 22;
	animation: rd-figflow 2.6s linear infinite;
}

/*
 * Negative offset, so the packets travel LEFT to RIGHT: from the player into the
 * casino, the direction the label claims. A positive offset animates the dashes
 * backwards, which quietly says the opposite.
 *
 * The distance is one full dash period (14 + 22), so the loop is seamless.
 */
@keyframes rd-figflow {
	from { stroke-dashoffset: 0; }
	to   { stroke-dashoffset: -36; }
}

/* --------------------------------------------------- refused channel --- */
/* Grey, not a dimmed blue: everything blue in these figures is something that
   works, so the refused path leaves the accent entirely. */
.rd-dark #primary.site-content .rdf-dim {
	stroke: rgba(125, 147, 169, .5);
	stroke-width: 1.8;
	stroke-dasharray: 5 7;
}

/* The third party's own box: the same grey as the channel to it, but SOLID. The
   dashes on .rdf-dim mean "this route is broken"; the company at the end of it is
   not broken, it is simply not getting anything. */
.rd-dark #primary.site-content .rdf-dim-solid {
	stroke: rgba(125, 147, 169, .5);
	stroke-width: 1.8;
}

/* The cut answers in the EGGPLANT, which is where this palette puts a mark that
   is neither an affordance nor a success. --rd-plum-hi and not --rd-plum: the
   client's eggplant is 1.2:1 on this ground and would be invisible. */
.rd-dark #primary.site-content .rdf-x {
	stroke: var(--rd-plum-hi);
	stroke-width: 2.6;
}

/* -------------------------------------------------------- the phone --- */
.rd-dark #primary.site-content .rdf-tile {
	fill: rgba(42, 165, 245, .1);
	stroke: rgba(42, 165, 245, .34);
	stroke-width: 1.2;
}

.rd-dark #primary.site-content .rdf-tile-lit {
	fill: url(#rdf-app-grad);
	fill-opacity: .55;
	stroke: var(--rd-blue-hi);
	stroke-width: 1.4;
}

.rd-dark #primary.site-content .rdf-panel {
	fill: rgba(122, 180, 230, .05);
	stroke: var(--rd-d-rule-2);
	stroke-width: 1.4;
}

/* -------------------------------------------------------- the type ---- */
/*
 * SVG <text> inherits the document's font because these files are INLINED, so
 * the labels are set in the same mono the kickers use rather than in whatever
 * the UA defaults to. Another thing an <img> could not do.
 *
 * font-size is in user units, i.e. viewBox units, so it scales with the figure
 * and must not be given a rem value here.
 */
.rd-dark #primary.site-content .rdf-lab {
	font-family: var(--rd-mono);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1.4px;
	fill: var(--rd-blue-hi);
	stroke: none;
}

.rd-dark #primary.site-content .rdf-lab-dim { fill: var(--rd-d-muted); }

.rd-dark #primary.site-content .rdf-val {
	font-family: var(--rd-mono);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .5px;
	fill: var(--rd-d-strong);
	stroke: none;
}

/* ------------------------------------------------------- responsive --- */
/*
 * Below ~700px a 3:1 figure is under 100px tall, and a four part diagram at that
 * size is decoration rather than information.
 *
 * ⚠️ DO NOT "FIX" THIS BY CHANGING aspect-ratio ON THE ART. The viewBox is 900x300
 * and preserveAspectRatio defaults to meet, so a 16:9 box just letterboxes the
 * same 3:1 drawing inside dead bands. It looks like a fix and changes nothing.
 *
 * So the figure becomes its own horizontal scroll container below a floor width,
 * the same treatment wide tables get, and the labels scale UP in viewBox units to
 * hold ~15px rendered at that floor. Scaling type against the container is the one
 * thing the raster photos could not do at all: they simply got smaller until the
 * subject was unreadable.
 */
/*
 * ⚠️ SCALED, NOT PANNED (client's call, 2026-09-23). Until then the figure was its
 * own horizontal scroll container below a floor width -- 900px for the raster
 * art, 620px for the drawn SVG -- so the baked-in labels stayed around 10px and
 * the reader panned. She wants the whole picture on screen instead, so both
 * floors and the overflow are gone and the art simply fits the column.
 *
 * The trade is the one the note above describes: the raster's labels are pixels
 * in the picture and get small on a phone (roughly 5px at 462px wide). If that
 * becomes a problem, the answer is the SVG version (its type scales) or a
 * tap-to-enlarge -- not bringing the scroll back without asking.
 */
.rd-dark #primary.site-content .rd-fig { overflow-x: visible; }

.rd-dark #primary.site-content :is(.rd-figimg, .rd-figart) {
	min-width: 0;
	width: 100%;
	height: auto;
}

@media (max-width: 700px) {
	.rd-dark #primary.site-content .rdf-lab { font-size: 22px; letter-spacing: 1px; }
	.rd-dark #primary.site-content .rdf-val { font-size: 24px; }
	.rd-dark #primary.site-content .rdf-wire { stroke-width: 2; }
}

@media (prefers-reduced-motion: reduce) {
	.rd-dark #primary.site-content .rdf-flow { animation: none; }
}

/* ================================================== reveal on load ====
 *
 * Components fall a short way and fade in, site wide.
 *
 * ⚠️ THE PARKED STATE IS NOT IN THIS FILE. It is generated from
 * rd_reveal_selectors() and printed inline in the head by rd_reveal_head(),
 * because the class that gates it has to be on <html> before first paint or the
 * page flashes its content, hides it and animates it back on every load. Read
 * the REVEAL ON LOAD section of inc/redesign.php before changing anything here;
 * the selector list is single sourced there and must not be copied into this
 * file. What lives here is only the motion.
 * --------------------------------------------------------------------------- */

/*
 * ⚠️ animation-fill-mode BOTH, and it is load bearing. The delay is per element
 * (js/reveal.js writes --rd-rd when it reveals a batch), and without `both` the
 * element would snap to its final state for the length of its own delay and then
 * jump back to the start to animate. `both` holds the from keyframe through the
 * delay, which is the only reason a stagger reads as a stagger.
 */
html.rd-anim .rd-in {
	animation: rd-fall .52s cubic-bezier(.16, .84, .28, 1) both;
	animation-delay: var(--rd-rd, 0ms);
}

/*
 * Ease out, not ease in out: a thing that falls arrives fast and settles. The
 * curve overshoots nothing -- a bounce was tried on the cards and reads as a
 * toy against a comparison table.
 */
@keyframes rd-fall {
	from { opacity: 0; transform: translateY(-26px); }
	to   { opacity: 1; transform: none; }
}

/* Transform only. See the LCP note in inc/redesign.php for why the headline
   must never start transparent. */
html.rd-anim :is(.rd-htext h1).rd-in { animation-name: rd-fall-slide; }

@keyframes rd-fall-slide {
	from { transform: translateY(-14px); }
	to   { transform: none; }
}

/*
 * The criteria panel's own heading is unparked again.
 *
 * `#primary.site-content .entry-content > h2` in the list catches every section
 * heading in the article, which is what it is for -- but .rd-shead's h2 sits
 * inside the criteria panel, and that panel already arrives as a unit via
 * .rd-shead and .rd-card. Left in, the heading would fall a second time,
 * separately from the box around it.
 *
 * ⚠️ Written with the ID because that is what the parked rule's :is() weighs
 * against; a bare .rd-shead h2 (0,1,1) loses to it. Same collision as everything
 * else in the dark section.
 */
html.rd-anim #primary.site-content .rd-shead h2 {
	opacity: 1;
	transform: none;
	animation: none;
}

/*
 * ⚠️ Belt and braces only. The boot script already declines to add .rd-anim when
 * reduced motion is asked for, so this should be unreachable -- it is here in
 * case the class is ever set some other way, because the cost of being wrong is
 * a page that never appears.
 */
@media (prefers-reduced-motion: reduce) {
	html.rd-anim .rd-in,
	html.rd-anim :is(.rd-htext h1).rd-in {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------- the bars grow on load ----- */
/*
 * The staircase's bars rise out of nothing as their step arrives.
 *
 * ⚠️ scaleY, NOT height. The bar's height IS the datum -- rd_bonus_stair() writes
 * it per step as --rd-h, and it encodes the cumulative cap (see the warning on
 * .rd-stair). Animating the height property would relayout the flex column on
 * every frame and drag the card below it up and down; a transform is composited
 * and moves nothing. It also means the growth is correct for any --rd-h without
 * the keyframes knowing the value.
 *
 * transform-origin: bottom is the whole effect. The default centre origin makes a
 * bar bloom outwards from its middle, which reads as a fade in, not as a bar
 * being filled.
 *
 * Keyed off the STEP's .rd-in and not the bar's own: .rd-riser is deliberately
 * absent from rd_reveal_selectors() -- it must not be observed or staggered
 * independently, because a bar has to grow with the card it labels.
 */
html.rd-anim .rd-riser {
	transform: scaleY(0);
	transform-origin: bottom;
}

html.rd-anim .rd-step.rd-in .rd-riser {
	animation: rd-grow .62s cubic-bezier(.22, .72, .3, 1) both;
	/*
	 * Starts as the card is landing, not before it. The step's own delay is in
	 * --rd-rd; calc() adds the card's travel on top so the bar reads as a
	 * consequence of the card arriving rather than as a separate event.
	 */
	animation-delay: calc(var(--rd-rd, 0ms) + 200ms);
}

@keyframes rd-grow {
	from { transform: scaleY(0); }
	to   { transform: scaleY(1); }
}

/*
 * The cumulative figure above each bar comes in with it, slightly later, so the
 * number lands on a bar that has already reached its height.
 */
html.rd-anim .rd-riserlab {
	opacity: 0;
}

html.rd-anim .rd-step.rd-in .rd-riserlab {
	animation: rd-figure-in .4s ease-out both;
	animation-delay: calc(var(--rd-rd, 0ms) + 620ms);
}

@keyframes rd-figure-in {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: none; }
}

/* The scale is dropped on a phone (see the .rd-stair mobile note), so there is no
   bar to grow and the figure must not be left waiting on one. */
@media (max-width: 560px) {
	html.rd-anim .rd-riserlab { opacity: 1; }
	html.rd-anim .rd-step.rd-in .rd-riserlab { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
	html.rd-anim .rd-riser { transform: none; }
	html.rd-anim .rd-riserlab { opacity: 1; }
	html.rd-anim .rd-step.rd-in .rd-riser,
	html.rd-anim .rd-step.rd-in .rd-riserlab { animation: none; }
}

/* ---------------------------------------- the RTP scale draws on load -- */
/*
 * The spread draws itself as the panel lands: the two reference lines appear
 * first, then the band grows from the lowest build up to the default, and each
 * build lights up as the band reaches it.
 *
 * Keyed off the PANEL's .rd-in, exactly as the staircase's bars are keyed off
 * their step — see the note on .rd-riser. None of these parts is in
 * rd_reveal_selectors() and none may be: they have to be sequenced BY the line,
 * and an independent stagger would claim them first. Same reasoning that took
 * .rd-node out of that list in favour of .rd-rail.
 */

/*
 * ⚠️ clip-path, NOT scaleX. .rd-rtp-fill is painted with --rd-grad-bp, and
 * scaling a gradient squashes the whole ramp into the drawn portion: a
 * quarter-drawn band shows its FAR end colour at the leading edge, and the
 * colour crawls backwards as it grows. Clipping reveals the finished gradient
 * where it will finally sit. .rd-rail hit this first and solved it the same way;
 * this is the second component to need it, which is what makes it a rule rather
 * than a quirk.
 */
html.rd-anim .rd-rtp-fill { clip-path: inset(0 100% 0 0); }

html.rd-anim .rd-rtp.rd-in .rd-rtp-fill {
	animation: rd-rtp-draw .62s cubic-bezier(.22, .72, .3, 1) both;
	/* After the panel itself has travelled, so the band reads as a consequence of
	   the panel arriving rather than as a separate event. */
	animation-delay: calc(var(--rd-rd, 0ms) + 180ms);
}

@keyframes rd-rtp-draw {
	from { clip-path: inset(0 100% 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}

/*
 * ⚠️ THE DOT'S RESTING transform IS LOAD BEARING AND BOTH KEYFRAMES REPEAT IT.
 * .rd-rtp-dot is centred on its value with translateX(-50%) — a keyframe that
 * animates `transform` without carrying that shift drops the centring for the
 * life of the animation and, with fill-mode both, keeps it dropped afterwards:
 * every build would sit half a dot right of the number it names, which on a
 * 12-point axis is most of a percentage point. This is the same trap the
 * positioning note on .rd-rtp-dot describes, arriving from the other direction.
 *
 * ⚠️ AND NOTHING HERE TOUCHES box-shadow, which is the dot's 2px ring. A held
 * final keyframe outranks normal declarations — see the warning on the site
 * hover. Transform and opacity only.
 */
html.rd-anim .rd-rtp-dot { opacity: 0; }

html.rd-anim .rd-rtp.rd-in .rd-rtp-dot {
	animation: rd-rtp-dot-in .3s cubic-bezier(.2, .9, .3, 1.25) both;
	/*
	 * --rd-dd is written per dot by rd_slotrev_rtp(): how far along the band that
	 * build sits, in ms, against RD_RTP_DRAW_MS. So a build appears as the line
	 * reaches it, at whatever spacing that game's builds happen to have.
	 */
	animation-delay: calc(var(--rd-rd, 0ms) + 180ms + var(--rd-dd, 0ms));
}

@keyframes rd-rtp-dot-in {
	from { opacity: 0; transform: translateX(-50%) scale(.3); }
	to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* The reference lines first: the axis exists, then the data is drawn onto it. */
html.rd-anim .rd-rtp-th { opacity: 0; }

html.rd-anim .rd-rtp.rd-in .rd-rtp-th {
	animation: rd-figure-in .34s ease-out both;
	animation-delay: calc(var(--rd-rd, 0ms) + 40ms);
}

@media (prefers-reduced-motion: reduce) {
	html.rd-anim .rd-rtp-fill { clip-path: none; }
	html.rd-anim .rd-rtp-dot,
	html.rd-anim .rd-rtp-th { opacity: 1; }
	html.rd-anim .rd-rtp.rd-in .rd-rtp-fill,
	html.rd-anim .rd-rtp.rd-in .rd-rtp-dot,
	html.rd-anim .rd-rtp.rd-in .rd-rtp-th { animation: none; }
}

/*
 * ⚠️ PRINT HAS TO UNPARK THESE BY HAND. The parked states above are plain
 * `html.rd-anim` rules, and the print block that unparks the reveal is generated
 * from rd_reveal_selectors() — it only knows the selectors in that list. Anything
 * parked outside it stays parked on paper unless it is named here, and a printed
 * page would show an empty track with no band and no builds. A reader who never
 * scrolled this far before hitting print never gets .rd-in either, so this is not
 * only about paper.
 *
 * ⚠️ .rd-riser AND .rd-riserlab ARE IN THE SAME POSITION and are covered here
 * too. They are parked the same way, are equally absent from the reveal list,
 * and the staircase prints as four blank columns today. Same bug, same line.
 */
@media print {
	html.rd-anim .rd-rtp-fill { clip-path: none !important; animation: none !important; }
	html.rd-anim .rd-rtp-dot,
	html.rd-anim .rd-rtp-th,
	html.rd-anim .rd-riserlab { opacity: 1 !important; animation: none !important; }
	html.rd-anim .rd-rtp-dot { transform: translateX(-50%) !important; }
	html.rd-anim .rd-riser { transform: none !important; animation: none !important; }
}

/* ------------------------------------ the scorecard bars fill on load -- */
/*
 * Each criterion's bar sweeps out to its score as its row arrives.
 *
 * ⚠️ clip-path, NOT scaleX AND NOT width -- the same three-way choice the payout
 * rail documents further down this file, decided the same way. The fill carries
 * --rd-grad-bp, so scaleX would squash the ramp along with the box and the
 * eggplant end would already be showing at a quarter drawn: every bar would pass
 * through a colour it has no business being. width would relayout the
 * pseudo-element every frame for nothing. clip-path reveals the gradient AS
 * PAINTED, which is the only one of the three where a 8.2 and a 10.0 are the same
 * colour at the same pixel.
 *
 * ⚠️ THE PARKED RULE HAS TO CARRY #primary.site-content. The rule it overrides is
 * `#primary.site-content .rd-score-bar::after` at (1,2,1); a bare
 * `html.rd-anim .rd-score-bar::after` is (0,2,1) and would lose silently -- the
 * bars would sit at full width and only the animation would run, which is a
 * flicker rather than a fill. Same specificity trap as everything else in this
 * file that has to reach inside the article.
 *
 * ⚠️ inset(0 0 0 0) AND NOT `none` AT THE END. The fill has
 * border-radius: inherit, i.e. the 999px pill; inset() with no round() argument
 * clips to the BORDER BOX, which entirely contains the rounded shape, so the
 * finished bar is pixel-identical to the unclipped one. Animating to `none`
 * instead would not interpolate at all -- clip-path has no defined transition
 * between a shape and the keyword.
 *
 * Keyed off the ROW's .rd-in and not the bar's own: .rd-score-bar is deliberately
 * absent from rd_reveal_selectors(), because a bar has to fill with the row that
 * labels it -- exactly the reasoning on .rd-riser above. The rows each carry their
 * own --rd-rd from js/reveal.js, so the five bars cascade in document order and
 * the total arrives last without a nth-child rule.
 */
html.rd-anim #primary.site-content .rd-score-bar::after {
	clip-path: inset(0 100% 0 0);
}

html.rd-anim #primary.site-content .rd-score-row.rd-in .rd-score-bar::after {
	animation: rd-score-fill .72s cubic-bezier(.22, .72, .3, 1) both;
	/* Starts as the row is landing, not before it -- see the .rd-riser note for
	   why the card's own travel is added to its delay rather than replacing it. */
	animation-delay: calc(var(--rd-rd, 0ms) + 180ms);
}

@keyframes rd-score-fill {
	from { clip-path: inset(0 100% 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}

/* The number lands on a bar that has already reached its length, the same beat
   the staircase's cumulative figure keeps. rd-figure-in is reused rather than
   redeclared. */
html.rd-anim #primary.site-content .rd-score-v { opacity: 0; }

html.rd-anim #primary.site-content .rd-score-row.rd-in .rd-score-v {
	animation: rd-figure-in .4s ease-out both;
	animation-delay: calc(var(--rd-rd, 0ms) + 620ms);
}

/*
 * ⚠️ THE BAR IS display:none UNDER 640px (see the .rd-score-row responsive note),
 * so on a phone there is nothing to fill -- and the number must not be left
 * waiting on an animation whose subject is not rendered. Same guard, for the same
 * reason, as .rd-riserlab's mobile rule above.
 */
@media (max-width: 640px) {
	html.rd-anim #primary.site-content .rd-score-v { opacity: 1; }
	html.rd-anim #primary.site-content .rd-score-row.rd-in .rd-score-v { animation: none; }
}

/* ---------------------------------------- the hero meter fills on load -- */
/*
 * The review hero's ten-segment meter, filling with the plate it is printed on.
 *
 * A transform here and a clip-path on the bars above, and that is not an
 * inconsistency: on the meter the ramp is the PLATE's background and what moves
 * is the scrim over it, so the gradient is anchored by construction and the
 * cheapest correct property wins. On the bars the ramp is the moving element
 * itself, which is precisely why they cannot use a transform.
 *
 * Keyed off .rd-rev-score's .rd-in -- the plate is in rd_reveal_selectors() as of
 * this change, and it is in there partly so this rule has something to hang off.
 */
html.rd-anim #primary.site-content .rd-rev-mdim {
	transform: scaleX(1);
}

html.rd-anim #primary.site-content .rd-rev-score.rd-in .rd-rev-mdim {
	animation: rd-meter-fill .84s cubic-bezier(.22, .72, .3, 1) both;
	animation-delay: calc(var(--rd-rd, 0ms) + 260ms);
}

/*
 * ⚠️ var(--vf) INSIDE A KEYFRAME IS RESOLVED PER ELEMENT, which is the whole
 * reason this works with one keyframe block for three reviews scoring 9.0, 9.4
 * and 9.6. The property is set inline on .rd-rev-meter by rd_rev_hero_score() and
 * inherits to the scrim.
 */
@keyframes rd-meter-fill {
	from { transform: scaleX(1); }
	to   { transform: scaleX(calc(1 - var(--vf, 1))); }
}

/* The word arrives once the meter has stopped, so it reads as the meter's
   conclusion rather than as a third thing appearing at the same time. */
html.rd-anim #primary.site-content .rd-rev-word { opacity: 0; }

html.rd-anim #primary.site-content .rd-rev-score.rd-in .rd-rev-word {
	animation: rd-figure-in .42s ease-out both;
	animation-delay: calc(var(--rd-rd, 0ms) + 820ms);
}

/*
 * ⚠️ Belt and braces, as with the reveal itself. The boot script never adds
 * .rd-anim under reduced motion, so this should be unreachable -- but the cost of
 * being wrong is a scorecard whose bars are all empty and a hero meter that never
 * fills, i.e. three wrong numbers on the page rather than a missing animation.
 */
@media (prefers-reduced-motion: reduce) {
	html.rd-anim #primary.site-content .rd-score-bar::after { clip-path: none; }
	html.rd-anim #primary.site-content .rd-score-v,
	html.rd-anim #primary.site-content .rd-rev-word { opacity: 1; }
	html.rd-anim #primary.site-content .rd-rev-mdim {
		transform: scaleX(calc(1 - var(--vf, 1)));
	}
	html.rd-anim #primary.site-content .rd-score-row.rd-in .rd-score-bar::after,
	html.rd-anim #primary.site-content .rd-score-row.rd-in .rd-score-v,
	html.rd-anim #primary.site-content .rd-rev-score.rd-in .rd-rev-mdim,
	html.rd-anim #primary.site-content .rd-rev-score.rd-in .rd-rev-word { animation: none; }
}

/* ============================================== one icon palette ======
 *
 * Every icon glyph on the site takes the criteria cards' treatment: the
 * wordmark's ramp, pale into plum into blue, from #rd-icn-grad.
 *
 * ⚠️ THE FLAT COLOUR AFTER THE url() IS NOT OPTIONAL, on any of these. An
 * unresolvable paint server with NOTHING behind it is not painted at all, so an
 * icon that names the ramp alone would vanish rather than fall back if
 * rd_icon_defs() ever stopped being emitted. Same guard as .rd-icn and the
 * rating rings; the fallback is what made it safe to move the carrier to
 * wp_body_open in one pass.
 *
 * ⚠️ SCOPED TO .rd-dark, like .rd-icn's own rule and for the same reason: the
 * ramp OPENS on #E9F2FA, which is near white. Correct on this ground, invisible
 * on the light theme's white card, so ?rdlight=1 keeps the flat colours each
 * component sets for itself.
 *
 * The plates already match -- .rd-tilem was built from .rd-icn's gradient and
 * border -- so what changes here is only the glyph.
 *
 * THREE ICONS ARE DELIBERATELY LEFT ALONE, because in each of them colour is
 * carrying meaning rather than style:
 *
 *   .rd-pill svg          the CTA arrow. It sits on the blue gradient button,
 *                         where white is a contrast requirement: the ramp's far
 *                         end is #2AA5F5, blue on blue.
 *   .rdf-x                the severed channel's cross in fig-datenschutz. Its
 *                         eggplant IS the message; see the note on that class.
 *   .rdf-* generally      the figure internals are illustration, not iconography,
 *                         and they answer to their own .rdf palette.
 * --------------------------------------------------------------------------- */

/* the live-table and payment tiles */
.rd-dark #primary.site-content .rd-tilem svg {
	stroke: url(#rd-icn-grad) var(--rd-blue-hi);
}

/* the table-game chips */
.rd-dark #primary.site-content .rd-gchip svg {
	stroke: url(#rd-icn-grad) var(--rd-blue-hi);
}

/*
 * The player-protection ticks.
 *
 * These were --rd-d-good, i.e. the "verified" green. Unlike the licence badge
 * below, that green was not carrying a claim -- these are four tools a casino
 * offers, not four things confirmed about one -- so the glyph joins the set.
 */
.rd-dark #primary.site-content .rd-checks li > svg {
	color: var(--rd-blue-hi);
	stroke: url(#rd-icn-grad) var(--rd-blue-hi);
}

/*
 * The concession badge's tick.
 *
 * ⚠️ ONLY THE GLYPH. .rd-lbadge keeps `color: var(--rd-d-good)`, so the LABEL is
 * still the verified green and the badge still reads as a confirmation rather
 * than as decoration. That green is a documented semantic on this site -- see the
 * ._lic note, where it is green specifically so it is NOT the blue accent -- and
 * putting the ramp on the whole badge would have thrown it away. The tick matches
 * the other icons; the meaning stays in the words.
 */
.rd-dark #primary.site-content .rd-lbadge svg {
	stroke: url(#rd-icn-grad) var(--rd-d-good);
}

/*
 * The hero facts.
 *
 * Not inside #primary, so this one is scoped on .rd-dark alone -- and it needs no
 * ID, because nothing in style.css reaches an svg in the ATF.
 */
.rd-dark .rd-hfact svg {
	stroke: url(#rd-icn-grad) var(--rd-blue);
}

/*
 * ⚠️ THE REVIEW PAGES ARE A WHOLE-COMPONENT EXCEPTION, added 2026-09-08. None of
 * .rd-fico, .rd-sico, .rd-score-hico, .rd-vico, .rd-pcico, .rd-nico or
 * .rd-rev-rico is in the list above. They are not oversights, and the exception is
 * argued here rather than seven times over:
 *
 * TWO OF THEM ARE THE USUAL KIND -- colour carrying meaning, the same reason
 * .rdf-x and the .rd-pill arrow are out. .rd-pcico takes the same green and rose
 * as the list items under each heading, and .rd-nico the same rose for a warning;
 * a gradient glyph over a green list is the one icon whose colour would disagree
 * with the thing beneath it. .rd-rev-rico keeps the documented "verified" green,
 * exactly as .rd-lbadge's tick does.
 *
 * THE OTHER FOUR ARE A SCALE ARGUMENT, and it is the first time this file has had
 * to make one. Every carrier in the list above is a glyph on a PLATE or a chip at
 * 17-22px, with its own ground behind it. The review glyphs are 14-19px marks set
 * INLINE, beside type, with the panel showing through: a fact label, a criterion
 * name, a callout's first line. #rd-icn-grad opens on #E9F2FA, which is brighter
 * than --rd-d-ink, so on those lines the icon becomes the loudest thing next to
 * the quietest text on the card -- and rendered at that size the three stops
 * average out to a warm grey, which is the opposite of the brief these pages were
 * reworked to. They answer in a flat --rd-plum-hi instead, which is the ramp's own
 * midpoint stop.
 *
 * SO THE PRINCIPLE IS NOW: a glyph on a plate rides the wave; a glyph set inline
 * beside type takes the secondary flat; a glyph whose colour is a claim keeps the
 * claim. Anything new on a plate still belongs in the list above.
 */

/* ========================================== the rail draws in phases ====
 *
 * The payout timeline builds itself: the line travels to the first stage, waits,
 * travels to the second, and so on, and each stage appears as the line reaches
 * it. One timeline drives the whole block -- .rd-rail is the observed element
 * (see the note in rd_reveal_selectors()) and everything below hangs off its
 * single .rd-in.
 *
 * ⚠️ clip-path, NOT scaleX AND NOT width.
 *   scaleX squashes the GRADIENT along with the box, so at a quarter drawn the
 *   leading edge would already be showing the eggplant end of the ramp instead of
 *   the blue start. The line's colour has to be the colour it will end up being.
 *   width would relayout the pseudo-element every frame for no benefit.
 * clip-path reveals the gradient as painted, and is composited.
 *
 * ⚠️ THE STOPS ARE THE DOT POSITIONS, COMPUTED, NOT EYEBALLED. .rd-rail is a
 * four column grid and each dot is centred in its column, so the dots sit at
 * 12.5 / 37.5 / 62.5 / 87.5% of the RAIL BOX. The line's own box is inset 6% at
 * each end, i.e. it spans 88% of that box, so a dot at d% of the grid is at
 * (d - 6) / 88 of the line: 7.4 / 35.8 / 64.2 / 92.6%. An inset() from the right
 * is the complement of that, which is where 92.6 / 64.2 / 35.8 / 7.4 below come
 * from -- the same four numbers reversed, which is a coincidence of the geometry
 * being symmetrical and not a copy paste error.
 *
 * ⚠️ If the rail ever stops being four columns, these numbers are wrong and the
 * line will stop short of the dots or run past them.
 * --------------------------------------------------------------------------- */

html.rd-anim .rd-rail::before {
	clip-path: inset(0 100% 0 0);
}

html.rd-anim .rd-rail.rd-in::before {
	animation: rd-rail-draw 2.2s linear both;
	/* After the rail itself has finished falling in, so the line does not start
	   drawing while the block is still arriving. */
	animation-delay: calc(var(--rd-rd, 0ms) + 300ms);
}

@keyframes rd-rail-draw {
	0%   { clip-path: inset(0 100%  0 0); }
	12%  { clip-path: inset(0 92.6% 0 0); }   /* stage 1 reached */
	26%  { clip-path: inset(0 92.6% 0 0); }   /* hold */
	40%  { clip-path: inset(0 64.2% 0 0); }   /* stage 2 */
	54%  { clip-path: inset(0 64.2% 0 0); }
	68%  { clip-path: inset(0 35.8% 0 0); }   /* stage 3 */
	82%  { clip-path: inset(0 35.8% 0 0); }
	96%  { clip-path: inset(0 7.4%  0 0); }   /* stage 4 */
	100% { clip-path: inset(0 0     0 0); }
}

/* The stages wait for the line. */
html.rd-anim .rd-rail .rd-node { opacity: 0; }

html.rd-anim .rd-rail.rd-in .rd-node {
	animation: rd-node-in .42s cubic-bezier(.2, .8, .3, 1) both;
}

/*
 * The four arrival times are the keyframe stops above, in milliseconds of the
 * 2.2s draw, plus the same 300ms head start: 12% -> 264ms, 40% -> 880,
 * 68% -> 1496, 96% -> 2112. Kept as literal sums so the arithmetic is auditable
 * against the keyframes rather than hidden in a single number.
 */
html.rd-anim .rd-rail.rd-in .rd-node:nth-child(1) { animation-delay: calc(var(--rd-rd, 0ms) + 300ms +  264ms); }
html.rd-anim .rd-rail.rd-in .rd-node:nth-child(2) { animation-delay: calc(var(--rd-rd, 0ms) + 300ms +  880ms); }
html.rd-anim .rd-rail.rd-in .rd-node:nth-child(3) { animation-delay: calc(var(--rd-rd, 0ms) + 300ms + 1496ms); }
html.rd-anim .rd-rail.rd-in .rd-node:nth-child(4) { animation-delay: calc(var(--rd-rd, 0ms) + 300ms + 2112ms); }

/*
 * The dot lands with a brief overshoot and a flash of its own glow, so the
 * arrival reads as the line ARRIVING rather than as the text fading up. The
 * scale is on the dot only; the copy underneath just fades, because a heading
 * that scales is a heading that looks like it is being clicked.
 */
@keyframes rd-node-in {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}

html.rd-anim .rd-rail.rd-in .rd-node .rd-nodedot {
	animation: rd-dot-land .42s cubic-bezier(.2, .9, .25, 1) both;
	animation-delay: inherit;
}

/*
 * ⚠️ animation-delay: inherit on the dot, so it reuses the delay computed on its
 * own .rd-node above. animation-delay is not an inherited property by default,
 * and without this the dot would land at 0ms on all four stages while the copy
 * arrived in sequence. Explicit inherit is the whole reason the nth-child rules
 * can stay on the node and not be repeated for the dot.
 */
/*
 * ⚠️ TRANSFORM ONLY. box-shadow was in here as well, to flash the dot's glow on
 * arrival -- and with animation-fill-mode: both that final keyframe is held
 * forever, and an animation's value BEATS a normal author declaration. So the
 * dot's own `:hover` glow would have stopped working for good, on a site whose
 * one hover rule is the thing every element answers with. The overshoot alone
 * reads as a landing.
 *
 * Scaling the dot also scales its `0 0 0 4px` ring, which is what punches the
 * line out from behind it -- so while the dot is small the line shows through
 * where it will sit. That is correct: the line is being drawn through that point
 * at exactly that moment.
 */
@keyframes rd-dot-land {
	0%   { transform: scale(.2); }
	60%  { transform: scale(1.18); }
	100% { transform: scale(1); }
}

/*
 * Vertical rail, below 900px.
 *
 * ⚠️ THE PHASED STOPS ARE DROPPED HERE ON PURPOSE. Stacked, each stage is a row
 * whose height depends on how long its copy wraps, so there is no fixed
 * percentage the dots sit at -- the four numbers above are only correct for the
 * equal columns of the desktop grid. Rather than four stops that are wrong on
 * every viewport, the line draws top to bottom at a constant rate and the stages
 * still arrive in order on their own delays. Same gesture, honest geometry.
 */
@media (max-width: 900px) {
	html.rd-anim .rd-rail::before {
		clip-path: inset(0 0 100% 0);
	}

	html.rd-anim .rd-rail.rd-in::before {
		animation-name: rd-rail-draw-v;
	}

	@keyframes rd-rail-draw-v {
		0%   { clip-path: inset(0 0 100% 0); }
		100% { clip-path: inset(0 0 0    0); }
	}
}

@media (prefers-reduced-motion: reduce) {
	html.rd-anim .rd-rail::before { clip-path: none; }
	html.rd-anim .rd-rail .rd-node { opacity: 1; }
	html.rd-anim .rd-rail.rd-in::before,
	html.rd-anim .rd-rail.rd-in .rd-node,
	html.rd-anim .rd-rail.rd-in .rd-node .rd-nodedot { animation: none; }
}


/* =============================== the phone's live app selection ======
 *
 * The lit tile moves around the handset's game grid, endlessly.
 *
 * ⚠️ transform, NOT the x/y attributes. SVG2 makes x and y CSS properties on a
 * <rect> and animating them would be the obvious route, but support is not
 * universal and a rect whose x does not animate simply sits still -- a silent
 * failure. A translate on an SVG element works everywhere and is composited.
 *
 * ⚠️ THE RECT STAYS AT (132,110) IN THE MARKUP and every hop is relative to it.
 * That is deliberate: with the animation off -- reduced motion -- the highlight
 * rests on the centre cell it was originally drawn on, rather than wherever
 * keyframe zero happens to be.
 *
 * The route is a Hamiltonian cycle over all twelve cells, generated so that every
 * consecutive pair is orthogonally ADJACENT and the last cell is adjacent to the
 * first. Two consequences worth keeping: the highlight never jumps across the
 * grid, and the loop closes on itself with no visible seam. The dog-leg through
 * the middle is what gives it its figure-eight character rather than reading as a
 * lap of the perimeter.
 *
 * 9s for twelve cells is about 750ms each, roughly two thirds of that sitting
 * still. Faster and it reads as a fault light; this is meant to sit behind the
 * copy the way the drifting dust does.
 * --------------------------------------------------------------------------- */

/*
 * ⚠️ THE ORDER IS DECIDED IN js/app-hop.js, NOT HERE. This was a @keyframes walk
 * over all twelve cells first, and a keyframe sequence is fixed by definition --
 * at nine seconds a lap the repeat was obvious on second watch. What CSS keeps is
 * the SLIDE; the script only writes where to go and when. Moving the route back
 * into a keyframe block brings the repetition back with it.
 */
.rd-dark #primary.site-content .rdf-tile-lit {
	transition: transform .34s cubic-bezier(.4, .72, .3, 1),
	            fill .2s ease, stroke .2s ease, filter .2s ease;
}

/* ------------------------------------------- the tiles answer the pointer ---- */
/*
 * ⚠️ filter: drop-shadow, NOT box-shadow. --rd-hover-glow is a box-shadow and a
 * box-shadow does not apply to an SVG shape at all -- it would be accepted by the
 * parser and paint nothing. This is the same two-layer glow, blue core into an
 * eggplant halo, expressed as the one property an SVG rect can carry.
 *
 * NOTHING MOVES, per the site default: the stroke brightens, the fill lifts and
 * the glow arrives. No scale, no translate.
 *
 * ⚠️ NO cursor: pointer. These rectangles are illustration, not controls. They
 * respond to the pointer because it is pleasing, but a hand cursor would promise
 * a click that does not exist.
 */
/*
 * ⚠️ `.rdf-tile rect`, NOT `.rdf-tile`. In fig-apps.svg the class is on the <g>
 * that wraps the eleven tiles, not on each rect -- the group carries the fill and
 * stroke and the rects INHERIT them, which is why they paint correctly. But a <g>
 * has no geometry of its own, so it is :hover whenever ANY child is hovered, and
 * a filter set on it applies to the whole group: pointing at one tile lit all
 * eleven. The rects have to be addressed individually.
 *
 * `filter` is not an inherited property, so it has to land on the rect anyway.
 * `.rdf-panel` and `.rdf-tile-lit` are single rects carrying their own class, so
 * those two are addressed directly.
 */
/* .rdf-tile-lit is deliberately NOT in this list -- it sets its own transition
   above, which has to include transform, and a second shorthand here would
   overwrite it depending on source order. */
.rd-dark #primary.site-content .rdf-tile rect,
.rd-dark #primary.site-content .rdf-panel {
	transition: fill .2s ease, stroke .2s ease, filter .2s ease;
}

.rd-dark #primary.site-content .rdf-tile rect:hover {
	fill: rgba(42, 165, 245, .2);
	stroke: var(--rd-blue);
	filter: drop-shadow(0 0 5px rgba(42, 165, 245, .55))
	        drop-shadow(0 0 11px rgba(178, 96, 200, .45));
}

.rd-dark #primary.site-content .rdf-tile-lit:hover {
	stroke: #FFFFFF;
	filter: drop-shadow(0 0 6px rgba(42, 165, 245, .7))
	        drop-shadow(0 0 13px rgba(178, 96, 200, .5));
}

.rd-dark #primary.site-content .rdf-panel:hover {
	fill: rgba(122, 180, 230, .1);
	stroke: var(--rd-hover-edge);
	filter: drop-shadow(0 0 6px rgba(42, 165, 245, .4))
	        drop-shadow(0 0 14px rgba(178, 96, 200, .38));
}

/* js/app-hop.js returns early under reduced motion, so no inline transform is
   ever written and the rect stays on the cell the SVG authored it on. Killing the
   transition here as well means that even a transform arriving some other way
   cannot animate. */
@media (prefers-reduced-motion: reduce) {
	.rd-dark #primary.site-content .rdf-tile-lit { transition: none; }
}

/* ==================================================== the about hero ====
 *
 * The author presentation at the top of /uber-mich/: who is writing this site,
 * in the same panel idiom the reviews already use for "who is this operator".
 *
 * ⚠️ NOT PREFIXED WITH .rd-dark, on purpose, and for the same reason .rd-rev is
 * not: this is a self-contained panel that carries its own ground, so it reads
 * correctly in the ?rdlight=1 preview too rather than collapsing into unstyled
 * prose there. The generic dark-body rules it would otherwise depend on are the
 * ones that do not apply in that preview.
 *
 * The panel has NO BOTTOM PADDING. That is what lets the portrait reach the
 * panel's own bottom edge and dissolve into it; the text column carries the
 * matching padding itself so the copy still clears the border.
 * --------------------------------------------------------------------------- */

#primary.site-content .rd-abt {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 16rem;
	gap: 1.5rem 2.5rem;
	align-items: center;
	margin: 0 0 2.25rem;
	padding: 2rem 2.25rem 0;
	border: 1px solid var(--rd-d-rule-2);
	border-radius: 20px;
	/*
	 * The blue wash sits behind the portrait (top right) and the eggplant answers
	 * it from the opposite corner -- the same two-corner treatment as .rd-verdict
	 * and the review hero, so the three panels read as one family.
	 */
	background:
		radial-gradient(110% 140% at 84% 0%, rgba(42, 165, 245, .13) 0, rgba(42, 165, 245, 0) 62%),
		radial-gradient(90% 130% at 0% 100%, rgba(153, 60, 169, .10) 0, rgba(153, 60, 169, 0) 64%),
		var(--rd-d-2);
	box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
	transition: border-color .2s ease, box-shadow .2s ease;
}

/* The site default hover -- see --rd-hover-glow. Safe to put on this panel
   because, unlike .rd-rev, nothing paints behind it and it has no overflow
   clip that would eat the upper half of the glow. */
#primary.site-content .rd-abt:hover {
	border-color: var(--rd-hover-edge);
	box-shadow:
		0 24px 60px -40px rgba(0, 0, 0, .9),
		var(--rd-hover-glow);
}

#primary.site-content .rd-abt-txt { padding-bottom: 2.25rem; }

/*
 * ⚠️ ID-PREFIXED BECAUSE THE THEME'S OWN `#primary.site-content h1` IS (1,1,1).
 * A plain `.rd-abt h1` is (0,2,1) and loses to it wherever the two disagree --
 * the same specificity trap the criteria strip's h2 border-top hit.
 */
#primary.site-content .rd-abt h1 {
	margin: .5rem 0 0;
	padding: 0;
	border: 0;
	font-size: clamp(1.9rem, 1.15rem + 2.4vw, 2.75rem);
	line-height: 1.12;
	letter-spacing: -.032em;
	color: var(--rd-d-ink);
	text-wrap: balance;
}

#primary.site-content .rd-abt-role {
	margin: .625rem 0 0;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -.005em;
	color: var(--rd-blue);
}

#primary.site-content .rd-abt-lead {
	margin: 1.125rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.72;
	color: var(--rd-d-body);
}

/*
 * The pull quote. The bar is a pseudo-element and NOT a border-image: a gradient
 * border on one side only depends on the other three having zero width, which is
 * a rule any later shorthand can undo silently. It carries the same
 * blue -> indigo -> eggplant ramp as the rail line and the rating rings.
 */
#primary.site-content .rd-abt-quote {
	position: relative;
	margin: 1.5rem 0 0;
	padding: .125rem 0 .125rem 1.375rem;
	/*
	 * ⚠️ THE THEME PUTS A LIGHT CARD BEHIND EVERY BLOCKQUOTE. style.css has
	 * `.entry-content blockquote { background:#FAFAFA; border-left/right:4px solid
	 * #D6D6D6; border-radius:14px }`. This selector outranks it (an id beats any
	 * number of classes) but only for the properties it actually names -- the
	 * background and the radius came through until they were reset here, and the
	 * quote rendered as a white box with pale text on it. Resetting what you do
	 * not want is not optional when you inherit from a rule this broad.
	 */
	background: none;
	border: 0;
	border-radius: 0;
	font-size: 1.0625rem;
	font-style: italic;
	line-height: 1.66;
	color: var(--rd-d-strong);
	text-wrap: pretty;
}

#primary.site-content .rd-abt-quote::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3rem;
	bottom: .3rem;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--rd-blue) 0%, #6E5BC6 55%, var(--rd-plum-lit) 100%);
}

#primary.site-content .rd-abt-quote p { margin: 0; }

/* ------------------------------------------------------- the portrait -- */
/*
 * A cut-out figure on transparent, standing on the panel's bottom edge.
 *
 * ⚠️ THE MASK IS WHAT MAKES IT BELONG HERE. The suit is within a few percent of
 * the panel ground, so a hard-cropped rectangle would read as a photo pasted onto
 * the card. Fading the last quarter to nothing lets him stand IN the panel
 * instead -- the same move as the hero hand crossing out of the dark section.
 *
 * ⚠️ object-fit NEEDS A DEFINITE HEIGHT. The source is 760x1407; left to its
 * natural aspect in a 19rem column it would be 563px tall and the panel would
 * become a portrait with some text beside it. The fixed height crops from the
 * top of the frame (object-position 50% 6%) so the crop lands at the waist,
 * which is where the mask takes over.
 */
#primary.site-content .rd-abt-shot {
	position: relative;
	align-self: end;
	margin: 0;
	padding: 0;
}

/* <picture> is INLINE, so it builds a line box and leaves a descender gap under
   the block-level img inside it -- the figure measured 10px taller than its own
   image, which is 10px of dead space between the portrait and the panel edge it
   is supposed to stand on. */
#primary.site-content .rd-abt-shot picture {
	display: block;
	/*
	 * A tight rim plus an ambient wash, both following the cut-out's own alpha --
	 * which is the whole reason this is drop-shadow and not box-shadow.
	 *
	 * ⚠️ ON THE <picture>, NOT THE <img>, AND THAT IS THE FIX FOR A VISIBLE BOX.
	 * The img also carries the bottom-fade mask, and CSS applies filter FIRST and
	 * mask SECOND on the same element: the mask cut the glow off square at the
	 * image's own edges, so a faint rectangle of blue haze framed the figure
	 * (photographed 2026-09-23 at 700px). One level up, the drop-shadow is
	 * computed from the already-masked silhouette and is free to spread.
	 */
	filter:
		drop-shadow(0 0 2px rgba(127, 203, 255, .5))
		drop-shadow(0 10px 34px rgba(42, 165, 245, .26));
}

/*
 * The glow behind the figure, so his silhouette separates from the ground. It
 * has to be BEHIND: z-index -1 is safe here only because .rd-abt is
 * position:relative with z-index:auto and therefore not a stacking context, so
 * the pseudo paints under the figure but still over the panel background.
 */
#primary.site-content .rd-abt-shot::before {
	content: "";
	position: absolute;
	inset: 12% -12% 0 -12%;
	z-index: -1;
	background: radial-gradient(56% 46% at 50% 56%, rgba(42, 165, 245, .22) 0, rgba(42, 165, 245, 0) 72%);
	pointer-events: none;
}

#primary.site-content .rd-abt-shot img {
	display: block;
	width: 100%;
	/*
	 * ⚠️ NO FIXED HEIGHT AND NO object-fit. Both used to be here (27rem + cover)
	 * and that is what cut him off at the waist: the source is 760x1407, i.e. an
	 * aspect of 0.54, and a 19rem x 27rem box is 0.70 -- so `cover` filled the box
	 * by WIDTH and threw away the bottom 23% of the figure. Every breakpoint then
	 * needed its own height, and each one cropped by a different amount.
	 *
	 * Letting the image keep its own ratio removes the crop everywhere at once and
	 * leaves exactly one number to tune: the width of the column above. The
	 * width/height attributes on the <img> reserve the ratio, so there is no shift
	 * as it decodes.
	 */
	height: auto;
	/*
	 * Mirrored, at her request (2026-09-08), so the figure turns INTO the copy
	 * rather than away from the page.
	 *
	 * Done here rather than by re-encoding the asset: it is a placement decision,
	 * it is one line to undo, and the file in uploads stays the photograph as
	 * supplied. The vertical mask and the 0-offset drop shadows are unaffected by a
	 * horizontal flip.
	 */
	transform: scaleX(-1);
	/* style.css puts `box-shadow: 0 1px 4px; margin-bottom: 10px` on every
	   .entry-content img. Both are wrong on a cut-out and both are reset here;
	   the DARK theme's heavier version of the same idea is reset below, where it
	   can be matched on specificity. */
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	/* The glow is NOT here -- see the <picture> rule below. */
	/*
	 * The fade exists to hide ONE thing: the source is cropped at mid-thigh with a
	 * hard alpha edge, which would otherwise draw a straight horizontal line across
	 * the panel. It starts at 86% now rather than 74% -- while the image was being
	 * cropped by `cover` as well, the longer fade was hiding a crop on top of a
	 * crop, and between them they took the figure off at the waist.
	 */
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0, 0, 0, .42) 95%, transparent 100%);
	        mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0, 0, 0, .42) 95%, transparent 100%);
}

/*
 * ⚠️ THE PHOTO MOUNT MUST NOT REACH THIS ONE, AND ONLY A MATCHING SELECTOR CAN
 * STOP IT. `.rd-dark #primary.site-content .entry-content img` (1,3,1) frames
 * every content photograph in a 12px radius, a hairline ring and a drop shadow,
 * because the JPEGs it was written for are bright rectangles on a dark ground.
 *
 * This portrait is the opposite case: a CUT-OUT on transparent. A mount draws a
 * visible rounded box around the empty space beside him -- which is precisely how
 * it rendered, a faint rounded rectangle floating around the figure.
 *
 * The reset on the base rule above is (1,2,1) and LOST to it. Restating it here
 * at (1,3,1), later in the file, is what actually removes the frame.
 */
.rd-dark #primary.site-content .rd-abt-shot img {
	border-radius: 0;
	box-shadow: none;
}

/* ------------------------------------------------------- responsive ---- */
@media (max-width: 900px) {

	#primary.site-content .rd-abt {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 1.75rem 1.5rem 0;
	}

	/* The text no longer sits beside the portrait, so it stops carrying the
	   panel's bottom padding -- the figure below it does. */
	#primary.site-content .rd-abt-txt { padding-bottom: 0; }

	/*
	 * The figure keeps the desktop treatment at a smaller size rather than
	 * becoming a circular avatar: a circle would crop a cut-out whose corners are
	 * transparent, so the panel would show through around his shoulders.
	 *
	 * DOM order is kept (copy first, figure second). Moving the portrait above
	 * the h1 with `order` would put an image ahead of the page's only heading for
	 * a screen reader, and hand the LCP to a decorative element.
	 */
	/* Width ONLY. The height follows from it, so the figure is as complete here as
	   it is on the desktop -- which is the whole point of dropping the fixed
	   heights that used to live in these two blocks. */
	#primary.site-content .rd-abt-shot {
		justify-self: center;
		width: min(13rem, 52%);
	}
}

@media (max-width: 560px) {
	#primary.site-content .rd-abt { padding: 1.5rem 1.25rem 0; }
	#primary.site-content .rd-abt-shot { width: min(11.5rem, 58%); }
}

/*
 * The principles grid is injected straight into the article rather than into a
 * .rd-shell panel like the criteria strip, so it has to bring its own vertical
 * rhythm -- .rd-cards itself carries none.
 *
 * Columns are PINNED to 2x2 rather than left on the shared auto-fit minmax:
 * four cards at minmax(11.5rem, 1fr) fit on one row in this column, and four
 * sentences of this length in a 16rem card is a very tall thin stack. The same
 * reasoning, and the same fix, as the six criteria cards and the seven payment
 * tiles.
 */
#primary.site-content .rd-abt-cards {
	grid-template-columns: repeat(2, 1fr);
	margin: 1.75rem 0 2.25rem;
}

@media (max-width: 560px) {
	#primary.site-content .rd-abt-cards { grid-template-columns: 1fr; }
}

/* ============================================== the payment estate ====
 *
 * The hub (/zahlungsmethoden/) and the seven method pages. Rendered from
 * rd_payments() by three functions -- rd_pay_hero(), rd_pay_grid() and
 * rd_pay_matrix() -- so read that section of inc/redesign.php first; it says
 * where every figure in these components comes from and why none of it is a new
 * claim.
 *
 * ⚠️ NOT PREFIXED WITH .rd-dark, on the same terms as the review section: these
 * panels carry their own ground, so they read correctly under ?rdlight=1 instead
 * of collapsing into unstyled prose there. The ONE exception is the logo plates'
 * hover, which is scoped to .rd-dark because it borrows .rd-plate's shadow stack.
 *
 * SPECIFICITY. #primary.site-content throughout, because the prose rules for
 * h2/h3/p/li/a/table all carry that ID -- see the note at the head of the dark
 * section. A bare .rd-mx td is (0,1,1) and loses to (1,1,1), which is how the
 * matrix silently kept the editorial table's padding on the first attempt.
 * --------------------------------------------------------------------------- */

/* ------------------------------------------------------- the plate ----- */
/*
 * ⚠️ THE PLATE IS LOAD-BEARING, NOT DECORATION. Measured on the eight PNGs
 * installed in img/: pay-apple-pay and pay-paysafecard are pure black artwork on
 * transparent (mean luminance 0), pay-twint is 14, pay-yapeal 78. On this ground
 * they range from invisible to barely there. Identical problem, identical fix, to
 * .rd-plate and .ctable ._logo > span, and the values here are that rule's --
 * #F4F8FC, 10px, the inset hairline plus a drop -- so every light plate on the
 * site is the same object.
 *
 * ⚠️ FIXED IMG BOX + object-fit: contain, AND THE SIZE IS PER CONTEXT. The eight
 * marks run from 2.4:1 (Apple Pay) to 7.1:1 (PaysafeCard) in content aspect
 * ratio. Sizing a plate to its image gives a ragged row of eight different
 * rectangles; a constant box with the mark fitted inside it is what makes eight
 * brands read as one set. This is why there is no `width: auto` anywhere below.
 */
#primary.site-content .rd-payplate {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	padding: 7px 11px;
	border-radius: 10px;
	background-color: #F4F8FC;
	line-height: 0;
	box-shadow:
		inset 0 0 0 1px rgba(10, 26, 47, .14),
		0 6px 16px -8px rgba(0, 0, 0, .8);
	transition: box-shadow .2s ease;
}

#primary.site-content .rd-payplate img {
	display: block;
	width: 132px;
	height: 50px;
	object-fit: contain;
}

#primary.site-content .rd-payplate.is-hero img { width: 168px; height: 62px; }
#primary.site-content .rd-payplate.is-cell img { width: 92px;  height: 34px; }
#primary.site-content .rd-payplate.is-op   img { width: 96px;  height: 38px; }

/*
 * Banküberweisung's plate. It has no brand mark -- see the note in
 * rd_pay_plate() for why the asset library's English "BANK TRANSFER" wordmark was
 * not used -- so it carries the theme's own drawn bank glyph at the plate's own
 * size. The glyph takes the INK colour and not the icon ramp: the ramp opens on
 * #E9F2FA, which is near-white, and this is the one glyph on the site that sits on
 * a white ground.
 */
#primary.site-content .rd-payplate.is-glyph {
	width: 154px;
	height: 64px;
}

#primary.site-content .rd-payplate.is-hero.is-glyph { width: 190px; height: 76px; }
#primary.site-content .rd-payplate.is-cell.is-glyph { width: 114px; height: 48px; }

#primary.site-content .rd-payglyph {
	display: inline-flex;
	color: #2A3F57;
}

#primary.site-content .rd-payglyph svg { display: block; }

/* ------------------------------------------------- the method hero ----- */
/*
 * ⚠️ IT IS .rd-pay AND NOT .rd-rev, and the two are deliberately separate rule
 * sets that happen to share a look. A review hero's second column is a SCORE
 * PLATE, because a review's answer is a judgement; a payment page makes no
 * judgement, so the same markup would have left an empty plate where the number
 * goes. What they share is the panel family -- the border, the two-corner wash,
 * the gradient hairline, the eggplant hover edge -- and that is intentional: a
 * reader should recognise "this is the page's answer panel" on both halves of the
 * site.
 *
 * No fairy behind this one, so unlike .rd-rev the ground can be opaque and the
 * hover edge may be either colour. It answers in eggplant anyway, to match.
 */
#primary.site-content .rd-pay {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1.25rem 1.75rem;
	align-items: center;
	margin: 0 0 2rem;
	padding: 1.75rem;
	border: 1px solid var(--rd-d-rule-2);
	border-radius: 18px;
	background:
		radial-gradient(120% 140% at 88% 0%, rgba(42, 165, 245, .10) 0, rgba(42, 165, 245, 0) 58%),
		radial-gradient(96% 130% at 0% 104%, rgba(153, 60, 169, .16) 0, rgba(153, 60, 169, 0) 62%),
		var(--rd-d-2);
	box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
	transition: border-color .2s ease, box-shadow .2s ease;
}

/* The same gradient hairline the review hero wears, inset past the radius for the
   same reason -- see .rd-rev::before. */
#primary.site-content .rd-pay::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 1.5rem;
	right: 1.5rem;
	height: 1px;
	border-radius: 1px;
	background: linear-gradient(90deg,
		rgba( 42, 165, 245, 0)   0%,
		rgba( 42, 165, 245, .8) 20%,
		rgba(200, 138, 216, .9) 64%,
		rgba(153,  60, 169, 0) 100%);
	pointer-events: none;
}

/* The site default hover, eggplant edge -- see --rd-hover-glow. The resting drop
   is repeated ahead of the glow, or the panel loses its lift when pointed at. */
#primary.site-content .rd-pay:hover {
	border-color: var(--rd-hover-edge-plum);
	box-shadow:
		0 24px 60px -40px rgba(0, 0, 0, .9),
		var(--rd-hover-glow);
}

#primary.site-content .rd-pay-id { min-width: 0; }

/* ------------------------------------------------ the status chips ----- */
/*
 * "Can I pay in" and "can I be paid out", which is what these seven pages exist
 * to answer and what previously took four paragraphs to find.
 *
 * ⚠️ THE WORD IS THE ANSWER AND THE GLYPH IS THE SHORTHAND. Each chip prints a
 * real word beside its mark, so it still answers with CSS off, in print, to a
 * screen reader, and to a reader who does not share the convention that a cross
 * means no. A chip that was only a tick would have been the whole panel's meaning
 * resting on one 15px vector.
 */
#primary.site-content .rd-paystat {
	display: flex;
	flex-wrap: wrap;
	gap: .625rem;
	justify-self: end;
}

#primary.site-content .rd-paypill {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem .875rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	background: rgba(122, 180, 230, .05);
	font-size: .8125rem;
	line-height: 1.3;
}

#primary.site-content .rd-paypill b {
	display: block;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-paypill > span:last-child {
	display: block;
	font-weight: 600;
	color: var(--rd-d-ink);
}

#primary.site-content .rd-payico { display: inline-flex; flex: none; }
#primary.site-content .rd-payico svg { display: block; }

/*
 * THE THREE STATES, and there are three and not two on purpose: "teilweise" is
 * PostFinance's real answer in the hub's own matrix, and collapsing it to yes or
 * no would have made this panel disagree with the table further down its own
 * site. Green for yes and rose for no are the site's existing semantics (see the
 * ._lic and .rd-pc-con notes); the middle state takes the eggplant, which is the
 * one accent left that means neither.
 */
#primary.site-content .rd-paypill.is-yes  { border-color: rgba(53, 198, 142, .34); }
#primary.site-content .rd-paypill.is-yes  .rd-payico { color: var(--rd-d-good); }
#primary.site-content .rd-paypill.is-no   { border-color: rgba(226, 113, 139, .34); }
#primary.site-content .rd-paypill.is-no   .rd-payico { color: #E2718B; }
#primary.site-content .rd-paypill.is-part { border-color: rgba(200, 138, 216, .38); }
#primary.site-content .rd-paypill.is-part .rd-payico { color: var(--rd-plum-hi); }

/* ------------------------------------------------- the facts row ------- */
/* .rd-pay-facts is styled by the .rd-rev-facts rules, which now carry both
   selectors -- see the review section. Only the grid placement is here. */
#primary.site-content .rd-pay-facts { grid-column: 1 / -1; }

/* --------------------------------------------- who accepts it ---------- */
/*
 * ⚠️ THE OPERATORS THAT DO NOT TAKE THE METHOD ARE SHOWN, DIMMED, NOT OMITTED.
 * Printing only the two that accept Apple Pay answers "where does this work" and
 * leaves "where does it not" to be inferred from an absence -- and the second
 * question is the one that stops a reader opening an account they cannot fund.
 * The state is carried in the opacity AND in a word under each plate, because an
 * opacity difference is not an answer.
 */
#primary.site-content .rd-payops {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rd-d-rule);
}

#primary.site-content .rd-payops-t {
	flex: none;
	margin-right: .25rem;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-payop {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: .375rem;
	text-decoration: none;
	transition: opacity .18s ease;
}

#primary.site-content .rd-payop-s {
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--rd-d-good);
	text-decoration: none;
}

/*
 * ⚠️ grayscale AND opacity, not opacity alone. These plates are white with a
 * coloured logo on them; at the opacity that dims the plate enough to read as
 * "off", the LOGO was still fully saturated and the card looked faded rather than
 * unavailable. Desaturating is what makes the state legible without touching the
 * word underneath.
 */
#primary.site-content .rd-payop.is-off .rd-payplate {
	filter: grayscale(1);
	opacity: .42;
}

#primary.site-content .rd-payop.is-off .rd-payop-s { color: var(--rd-d-muted); }

#primary.site-content .rd-payop:hover .rd-payplate {
	box-shadow:
		inset 0 0 0 1px rgba(10, 26, 47, .14),
		0 6px 16px -8px rgba(0, 0, 0, .8),
		0 0 18px -6px rgba(42, 165, 245, .5);
}

#primary.site-content .rd-payop.is-off:hover .rd-payplate { opacity: .62; }

/* ------------------------------------------------ the hub's grid ------- */
/*
 * All eight methods in one screen. See rd_pay_grid() for why this is not a
 * duplicate of the matrix below it: the grid answers the arriving question ("which
 * of these pays me out, and how fast") without being read, the matrix answers the
 * per-operator follow-up and needs five columns to do it.
 */
/*
 * ⚠️ THE COLUMN COUNT IS PINNED TO THE NUMBER OF CARDS, AND IT IS AN ITEM-COUNT
 * DECISION RATHER THAN A WIDTH ONE.
 *
 * With eight cards this was auto-fill minmax(240px, 1fr): 240px fits four in the
 * 1100px measure, so eight laid out 4 + 4 and the block was a rectangle. Splitting
 * Skrill / Neteller into two rows on 2026-09-15 made it NINE, and auto-fill then
 * gave 4 + 4 + 1 -- one card alone in a stretched final row, which is the same
 * orphan the criteria strip and the live tables were each pinned to avoid.
 *
 * Five columns is the fix the old note here predicted: nine is 5 + 4, so the last
 * row is short by one cell rather than carrying a single stranded card, and the
 * cards stay a set. At 1100px a column is ~209px and the 154px plate still clears
 * its padding, so nothing had to shrink to make room.
 *
 * ⚠️ repeat(5, ...) AND NOT auto-fill. auto-fill derives the count from a width
 * floor, so it can only ever land on 4 here; the count is the decision and it is
 * now stated as one. minmax(0, 1fr) rather than 1fr so a long method name cannot
 * push a column past its share.
 */
#primary.site-content .rd-paygrid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: .875rem;
	margin: 0 0 2.25rem;
}

/*
 * Three across as soon as the column stops being its full 1100px. Five columns
 * need ~209px each and the plate inside one is 154px plus 34px of padding, so at
 * 1100px there are 21px of slack and by ~1050px there is none -- the mark would
 * touch the card's edge before anything looked wrong enough to notice.
 *
 * Nine cards are 3 + 3 + 3 here, the one count that is a full rectangle.
 */
@media (max-width: 1180px) {
	#primary.site-content .rd-paygrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#primary.site-content .rd-paycard {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .5rem;
	box-sizing: border-box;
	height: 100%;
	padding: 1rem 1.0625rem 1.125rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	background: var(--rd-d-2);
	text-decoration: none;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

/* The site default hover -- see --rd-hover-glow. The background steps up as well,
   for the reason given on .rd-compare a:hover: this card has no resting shadow of
   its own, so glow alone is a fainter answer than the panels get. */
#primary.site-content a.rd-paycard:hover {
	border-color: var(--rd-hover-edge);
	background: var(--rd-d-3);
	box-shadow: var(--rd-hover-glow);
	/* The whole card is one <a>, so the prose link's inheritable text glow would
	   land on every word inside it on top of the box glow. See
	   --rd-hover-glow-text. */
	text-shadow: none;
}

/*
 * ⚠️ Skrill / Neteller HAS NO PAGE, so its card is a <div> and not an <a> -- see
 * the note on that row in rd_payments(). It keeps the card's ground and loses the
 * hover, because a rectangle that lights up under the pointer and then does
 * nothing is worse than one that never suggested it would.
 */
/*
 * ⚠️ NO OPACITY ON THIS CARD, and that was the first attempt. `opacity: .82` on
 * the card dimmed its LOGO PLATE too -- the plate is white, so against seven white
 * plates the eighth came out grey and read as a rendering fault rather than as
 * "this one has no page". The state is carried instead by what is actually
 * different about it: it is not a link, so it has no hover and no pointer, and its
 * border stays the quiet one while the others brighten.
 */

#primary.site-content .rd-paycard-n {
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--rd-d-ink);
	text-decoration: none;
}

#primary.site-content .rd-paycard-m {
	display: inline-flex;
	align-items: center;
	gap: .3125rem;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.3;
	color: #E2718B;
	text-decoration: none;
}

#primary.site-content .rd-paycard-m .rd-payico { color: #E2718B; }
#primary.site-content .rd-paycard-m.is-yes { color: var(--rd-d-good); }
#primary.site-content .rd-paycard-m.is-yes .rd-payico { color: var(--rd-d-good); }

#primary.site-content .rd-paycard-o {
	margin-top: auto;
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
	text-decoration: none;
}

/* ------------------------------------------------- the matrix ---------- */
/*
 * ⚠️ THIS IS AN EDITORIAL TABLE THAT HAS BEEN PROMOTED, NOT A NEW COMPONENT. It
 * is still authored in post_content, still says ja / nein / teilweise in words,
 * and rd_pay_matrix() only adds a class, a plate and a glyph. So it degrades to
 * the ordinary editorial-table rules further up this file if the transform ever
 * stops running, rather than to nothing.
 *
 * ⚠️ overflow-x ON A WRAPPERLESS TABLE. Five columns with a 92px plate in the
 * first will not fit a phone, and there is no wrapper div to scroll -- the table
 * is a direct child of .entry-content. display:block + overflow-x makes the TABLE
 * its own scroll container; the trade is that a block-level table no longer
 * establishes a table formatting context for its own width, which is why
 * min-width is set on the tbody rows below rather than on the table.
 */
#primary.site-content table.rd-mx {
	display: block;
	overflow-x: auto;
	width: 100%;
	margin: 1.75rem 0 2rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	border-collapse: collapse;
	background: var(--rd-d-2);
	-webkit-overflow-scrolling: touch;
}

#primary.site-content table.rd-mx tbody { display: table; width: 100%; min-width: 640px; }

#primary.site-content table.rd-mx tr { transition: background .18s ease; }

#primary.site-content table.rd-mx tr:first-child {
	background: var(--rd-d-3);
}

#primary.site-content table.rd-mx tr:first-child td {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
	white-space: nowrap;
}

#primary.site-content table.rd-mx tr:first-child td strong { color: var(--rd-d-muted); font-weight: 600; }

#primary.site-content table.rd-mx td {
	padding: .6875rem .875rem;
	border: 0;
	border-bottom: 1px solid var(--rd-d-rule);
	font-size: .875rem;
	color: var(--rd-d-body);
	vertical-align: middle;
}

#primary.site-content table.rd-mx tr:last-child td { border-bottom: 0; }

/* The row answers the pointer, the same gesture .ctable rows use -- this is a
   nine-row grid of small cells and highlighting the row is what keeps a finger on
   the right method while scrolling sideways. */
#primary.site-content table.rd-mx tbody tr:not(:first-child):hover { background: var(--rd-d-3); }

/* The method cell: plate, then the name. */
#primary.site-content table.rd-mx td.rd-mx-m {
	display: flex;
	align-items: center;
	gap: .6875rem;
	min-width: 15rem;
}

#primary.site-content table.rd-mx .rd-mx-n {
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--rd-d-strong);
}

#primary.site-content table.rd-mx .rd-mx-n a { font-weight: 600; }

/* The answer cells. The glyph carries the state's colour; the word stays in the
   body tone so a run of them down a column does not read as a traffic light. */
#primary.site-content table.rd-mx td.rd-mx-a {
	white-space: nowrap;
}

#primary.site-content table.rd-mx td.rd-mx-a .rd-payico {
	margin-right: .375rem;
	vertical-align: -.1875rem;
}

#primary.site-content table.rd-mx td.is-yes  .rd-payico { color: var(--rd-d-good); }
#primary.site-content table.rd-mx td.is-no   .rd-payico { color: #E2718B; }
#primary.site-content table.rd-mx td.is-part .rd-payico { color: var(--rd-plum-hi); }
#primary.site-content table.rd-mx td.is-no   span { color: var(--rd-d-muted); }
#primary.site-content table.rd-mx td.is-na   span { color: var(--rd-d-muted); }

/* ------------------------------------------------- responsive --------- */
@media (max-width: 720px) {

	#primary.site-content .rd-pay {
		grid-template-columns: 1fr;
		padding: 1.25rem;
	}

	/* The chips go under the logo rather than beside it, and stop being pushed to
	   the right edge of a column that is now the full width. */
	#primary.site-content .rd-paystat { justify-self: start; }

	#primary.site-content .rd-payplate.is-hero img { width: 140px; height: 54px; }

	#primary.site-content .rd-payops { gap: .625rem .75rem; }
	#primary.site-content .rd-payops-t { flex-basis: 100%; margin-right: 0; }
}

@media (max-width: 560px) {
	/* Two across rather than one: these cards are a logo and three short lines, so
	   a single column wastes half the screen and pushes the matrix two scrolls
	   down.
	   With nine cards this leaves the last one alone on its row. Left as it is on
	   purpose: at phone width a half-width card at the end of a two-up list is how
	   every list wraps and reads as the end of one, while the same gap in a four-
	   or five-column desktop row is a hole big enough to read as a missing method.
	   Spanning the last card across both columns was the alternative and was
	   rejected -- it would give the least important method the only full-width
	   card on the page. */
	#primary.site-content .rd-paygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#primary.site-content .rd-payplate img { width: 100%; height: 42px; }
}

/* ========================================= the Impressum's owner card ====
 *
 * Replaces the 2015 PNG that used to carry the operator's legal identity. Read
 * the note on rd_imp_card() first -- it says why this is a compliance and
 * accessibility fix rather than a restyle, and why the telephone number is not a
 * link.
 *
 * ⚠️ THE FACTS ROW IS .rd-rev-facts' RULE SET, SHARED, NOT COPIED. Three labelled
 * cells on hairline dividers is the same object as the review hero's four and the
 * payment hero's four; only the grid placement differs. Third consumer of those
 * three rules now.
 * --------------------------------------------------------------------------- */

#primary.site-content .rd-imp {
	position: relative;
	display: grid;
	margin: 1.5rem 0 2rem;
	padding: 1.5rem 1.625rem 1.625rem;
	border: 1px solid rgba(200, 138, 216, .28);
	border-radius: 16px;
	/*
	 * The panel family's two corners -- see .rd-abt. This card sits alone on a
	 * page of unbroken legal prose, so it is the only object on it; the eggplant
	 * is held a step higher than the review hero's because there is nothing else
	 * nearby for it to react against.
	 */
	background:
		radial-gradient(110% 150% at 92% 0%, rgba(42, 165, 245, .09) 0, rgba(42, 165, 245, 0) 60%),
		radial-gradient(94% 130% at 0% 104%, rgba(153, 60, 169, .18) 0, rgba(153, 60, 169, 0) 62%),
		var(--rd-d-2);
	box-shadow: 0 22px 56px -40px rgba(0, 0, 0, .9);
}

/* The gradient hairline, as on the review and payment heroes. */
#primary.site-content .rd-imp::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 1.5rem;
	right: 1.5rem;
	height: 1px;
	border-radius: 1px;
	background: linear-gradient(90deg,
		rgba( 42, 165, 245, 0)   0%,
		rgba( 42, 165, 245, .8) 20%,
		rgba(200, 138, 216, .9) 64%,
		rgba(153,  60, 169, 0) 100%);
	pointer-events: none;
}

/*
 * The header. It carries the sentence the replaced paragraph used to say, which
 * is why that paragraph is gone rather than sitting above this.
 *
 * ⚠️ ID-PREFIXED, because `#primary.site-content p` (1,1,1) sets the prose bottom
 * margin and a bare .rd-imp-t would be (0,1,0) and lose to it.
 */
#primary.site-content .rd-imp .rd-imp-t {
	display: flex;
	align-items: center;
	gap: .4375rem;
	margin: 0 0 1rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-imp-ico {
	display: inline-flex;
	flex: none;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-imp-ico svg { display: block; }

/*
 * ⚠️ font-style: normal ON THE <address>. That element is the semantically
 * correct wrapper for a site operator's contact block and it is the whole point
 * of the change -- but every UA stylesheet renders it italic, and an italic legal
 * address reads as a quotation. The element stays; its default look does not.
 */
#primary.site-content .rd-imp-body {
	display: grid;
	gap: 1rem;
	margin: 0;
	font-style: normal;
}

#primary.site-content .rd-imp-who {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.015em;
	color: var(--rd-d-ink);
}

/* The cells take .rd-rev-facts' treatment; only the placement is local, and
   three cells rather than four means a wider minimum so they do not become
   three narrow columns of wrapped text. */
#primary.site-content .rd-imp-facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/*
 * The e-mail. It is the one actionable thing on the page, so it takes the prose
 * link colour and the site's own text hover glow rather than being left as body
 * copy -- the mailto: is the improvement this card exists to deliver.
 */
#primary.site-content .rd-imp-facts a {
	font-weight: 600;
	overflow-wrap: anywhere;
}

/*
 * ⚠️ THE TELEPHONE IS DELIBERATELY NOT A LINK, so it is given the mono face to
 * make it read as a value rather than as unlinked link text. See the note in
 * rd_imp_owner(): the published number does not parse as a Swiss number and a
 * tel: href would promise a call that cannot connect.
 */
#primary.site-content .rd-imp-tel {
	font-family: var(--rd-mono);
	letter-spacing: .02em;
}

/*
 * ⚠️ THREE CELLS GO STRAIGHT TO ONE COLUMN, never through two. auto-fit with a
 * 200px minimum lands on two columns anywhere from about 420 to 660px of measure,
 * which puts the e-mail cell alone on a second row beside an empty one -- and an
 * empty cell in this grid still draws its dividers, so it reads as a missing
 * field on a page of legal details. 640px is where three 200px columns stop
 * fitting the measure.
 */
@media (max-width: 640px) {
	#primary.site-content .rd-imp-facts { grid-template-columns: minmax(0, 1fr); }
	#primary.site-content .rd-imp { padding: 1.25rem 1.25rem 1.375rem; }
	#primary.site-content .rd-imp-who { font-size: 1.1875rem; }
}

/* ==================================== the Datenschutzregelung ==========
 *
 * Three of the page's eight bullet lists become elements, plus the supervisory
 * authority's contact block. Built by rd_dsg_blocks(); read that section of
 * inc/redesign.php first -- it explains that the copy is re-laid-out and never
 * rewritten, and why every anchor there is ASCII-only.
 * --------------------------------------------------------------------------- */

/* Section 1. .rd-checks' rule set is reused whole; the span only needs to be
   allowed to shrink inside the row's flex. */
.rd-dark #primary.site-content .rd-dsg-sum { margin: 1.25rem 0 2rem; }
.rd-dark #primary.site-content .rd-dsg-sum li > span { min-width: 0; }

/* ---------------------------------------------------- section 9: rights - */
/*
 * The six data-subject rights. Three columns of short cards rather than one
 * column of long bullets: each is a title, a statute reference and one sentence,
 * which is card-shaped content that was being read as prose.
 */
/*
 * ⚠️ THE MINIMUM IS SET FROM THE ITEM COUNT, NOT FROM A COMFORTABLE CARD WIDTH.
 * There are SIX rights. At minmax(230px) the measure fits four columns, so the
 * grid laid out 4 + 2 and left a two-card hole at the bottom right. 290px fits
 * three, so six cards are 3 + 3 and the block is a rectangle. Third time this
 * exact trap has been hit in this file -- see .rd-paygrid and .rd-rev-facts.
 */
#primary.site-content .rd-dsg-rights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: .875rem;
	margin: 1.25rem 0 2rem;
}

#primary.site-content .rd-dsg-right {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .4375rem;
	padding: 1rem 1.125rem 1.125rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	background: var(--rd-d-2);
	transition: border-color .18s ease, box-shadow .18s ease;
}

/* The site default hover -- see --rd-hover-glow. These are not links, but the
   whole grid is a reference a reader scans and points at while reading; the glow
   marks which one they are on. Nothing moves. */
#primary.site-content .rd-dsg-right:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .35), var(--rd-hover-glow);
}

#primary.site-content .rd-dsg-rt {
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rd-d-ink);
}

/*
 * ⚠️ THE STATUTE CHIP IS THE WHOLE POINT OF THIS BLOCK. Every right is written
 * "Auskunft (Art. 25 DSG) - Sie können...", so the one string a reader needs in
 * order to cite the right was buried mid-sentence in brackets. Lifted into a mono
 * chip it is scannable down the grid, and the sentence still reads without it.
 *
 * Mono, because it is a reference and not prose. Eggplant, because it is the one
 * piece of each card that is a label rather than a statement.
 */
#primary.site-content .rd-dsg-art {
	display: inline-flex;
	padding: .125rem .5rem;
	border: 1px solid rgba(200, 138, 216, .34);
	border-radius: 999px;
	background: rgba(153, 60, 169, .14);
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-dsg-rx {
	font-size: .875rem;
	line-height: 1.55;
	color: var(--rd-d-body);
}

/* ------------------------------------------------ section 10: the nots - */
/*
 * ⚠️ A MINUS AND NOT A TICK -- see the note on rd_dsg_nots(). Eight green ticks
 * beside eight phrases that each open with "keine" would read as eight features
 * being confirmed; the mark has to say ABSENT, because the absence is the
 * reassurance. Eggplant carries it: rose would read as a warning, green as a
 * claim, and this is neither.
 */
/*
 * ⚠️ TWO COLUMNS, FROM THE ITEM COUNT AGAIN. There are EIGHT items. At
 * minmax(280px) the measure fits three, giving 3 + 3 + 2 -- and because the
 * dividers here are a 1px grid gap showing the container through, the empty ninth
 * cell was not blank space but a fully drawn cell with nothing in it, on a page of
 * legal statements. 420px fits two, so eight items are 4 + 4 with no ninth.
 */
#primary.site-content .rd-dsg-nots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
	gap: 1px;
	margin: 1.25rem 0 2rem;
	padding: 0;
	list-style: none;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	overflow: hidden;
	/* The 1px gap shows this through as the hairlines, so the dividers cost no
	   elements and cannot fall out of sync with the count -- same construction as
	   .rd-rev-facts. */
	background: var(--rd-d-rule);
}

#primary.site-content .rd-dsg-nots li {
	display: flex;
	align-items: flex-start;
	gap: .625rem;
	margin: 0;
	padding: .8125rem 1.0625rem;
	background: var(--rd-d-2);
	font-size: .875rem;
	line-height: 1.5;
	color: var(--rd-d-body);
}

#primary.site-content .rd-dsg-nico {
	display: inline-flex;
	flex: none;
	margin-top: .1875rem;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-dsg-nico svg { display: block; }

/* ------------------------------------------- the authority's own card -- */
/*
 * ⚠️ BLUE-EDGED, WHERE THE OPERATOR CARD IS EGGPLANT, and the difference carries
 * meaning: one card is US and the other is the regulator a reader can complain to
 * ABOUT us. Two identical panels on one page would have implied the second was
 * also our own contact details.
 */
#primary.site-content .rd-imp.is-auth {
	border-color: var(--rd-d-rule-2);
	background:
		radial-gradient(110% 150% at 92% 0%, rgba(42, 165, 245, .12) 0, rgba(42, 165, 245, 0) 62%),
		var(--rd-d-2);
}

#primary.site-content .rd-imp.is-auth::before {
	background: linear-gradient(90deg,
		rgba(42, 165, 245, 0)   0%,
		rgba(42, 165, 245, .8) 26%,
		rgba(42, 165, 245, .5) 72%,
		rgba(42, 165, 245, 0) 100%);
}

#primary.site-content .rd-imp.is-auth .rd-imp-t,
#primary.site-content .rd-imp.is-auth .rd-imp-ico { color: var(--rd-blue-hi); }

/* Two cells rather than three, so they do not stretch to half the panel each. */
#primary.site-content .rd-imp.is-auth .rd-imp-facts {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#primary.site-content .rd-imp.is-auth .rd-imp-who { font-size: 1.125rem; line-height: 1.3; }

/* ============================================== the slots page ========
 *
 * /spielautomaten/ — the ATF, the studio strip and the example-title strip.
 * Read the THE SLOTS PAGE section of inc/redesign.php first: it records that
 * every title and studio here is already named in the site's own copy, and why
 * the titles are framed as examples of a slot TYPE rather than as a list of what
 * is playable where.
 *
 * The panel reuses .rd-pay wholesale — same border, same two-corner wash, same
 * gradient hairline, same eggplant hover edge — because it answers the same shape
 * of question ("what is here, and how much of it"). Only the interior differs.
 * --------------------------------------------------------------------------- */

/* ------------------------------------------------- the ATF's columns --- */
/*
 * Three operators side by side, each a link to its review. Pinned to three
 * columns rather than auto-fit: there are exactly three concessioned operators in
 * Switzerland, so a column count that reflows is answering a question the market
 * does not ask — and at auto-fit the third dropped to a second row at tablet
 * width and read as an afterthought.
 */
#primary.site-content .rd-slot-ops {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	overflow: hidden;
	/* The 1px gap shows this through as the dividers — same construction as
	   .rd-rev-facts, so the two panels' internal rules match. */
	background: var(--rd-d-rule);
}

#primary.site-content .rd-slot-op {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .4375rem;
	padding: 1.125rem 1rem 1.25rem;
	background: var(--rd-d-2);
	text-align: center;
	text-decoration: none;
	transition: background .18s ease;
}

#primary.site-content a.rd-slot-op:hover {
	background: var(--rd-d-3);
	/* No box glow: these cells are butted together inside a rounded, CLIPPING
	   container, and an omnidirectional glow on one cell is sliced off square by
	   its neighbours and by the overflow — see the clipping warning on
	   --rd-hover-glow. The plate's own lift below is the hover instead. */
	text-shadow: none;
}

#primary.site-content a.rd-slot-op:hover .rd-payplate {
	box-shadow:
		inset 0 0 0 1px rgba(10, 26, 47, .14),
		0 6px 16px -8px rgba(0, 0, 0, .8),
		0 0 18px -6px rgba(42, 165, 245, .5);
}

/* The library size. The one number on the page a visitor arrives wanting, so it
   takes the ramp — the same gradient-clipped treatment as a review's score. */
#primary.site-content .rd-slot-n {
	margin-top: .1875rem;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.02em;
	background: var(--rd-grad-bp);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	#primary.site-content .rd-slot-n { color: var(--rd-blue-hi); -webkit-text-fill-color: currentColor; }
}

#primary.site-content .rd-slot-u {
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
	text-decoration: none;
}

#primary.site-content .rd-slot-s {
	font-family: var(--rd-mono);
	font-size: .6875rem;
	letter-spacing: .03em;
	color: var(--rd-plum-hi);
	text-decoration: none;
}

/* The plate size for a studio mark, which is wider than an operator's. */
#primary.site-content .rd-payplate.is-studio img { width: 116px; height: 40px; }

/* ------------------------------------------------- the studio strip --- */
#primary.site-content .rd-studios,
#primary.site-content .rd-titles {
	margin: 1.75rem 0 2rem;
	padding: 1.125rem 1.25rem 1.25rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	background:
		radial-gradient(80% 130% at 0% 0%, rgba(153, 60, 169, .13) 0, rgba(153, 60, 169, 0) 58%),
		var(--rd-d-2);
}

/* ⚠️ ID-PREFIXED: `#primary.site-content p` carries the prose bottom margin and
   would beat a bare class selector. Same collision as .rd-imp-t. */
#primary.site-content .rd-studios .rd-studios-t,
#primary.site-content .rd-titles .rd-titles-t {
	display: flex;
	align-items: center;
	gap: .4375rem;
	margin: 0 0 1rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-studios-g {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: .875rem;
}

#primary.site-content .rd-studio {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
}

#primary.site-content .rd-studio-n {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--rd-d-strong);
}

/* -------------------------------------------------- the title strip --- */
/*
 * ⚠️ NO LIGHT PLATE ON THE GAME ARTWORK, and that is a measurement and not a
 * preference. A slot's logo is bright, saturated artwork drawn for a dark casino
 * lobby — Starburst measures mean luminance 132 and Sizzling Hot 124 on
 * transparent — so it reads on this ground unaided, and a white plate behind it
 * looks like a sticker. The STUDIO wordmarks above are the opposite case (NetEnt
 * 61, Novomatic 66) and keep their plates.
 */
#primary.site-content .rd-titles-g {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: .875rem;
}

#primary.site-content .rd-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	padding: 1rem .875rem 1.125rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	background: var(--rd-d-1);
	text-align: center;
	transition: border-color .18s ease, box-shadow .18s ease;
}

/* The site default hover — see --rd-hover-glow. These are separate rounded tiles
   in a gapped grid with no clipping ancestor, so unlike the ATF's butted columns
   they can carry the full glow. */
#primary.site-content .rd-title:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .35), var(--rd-hover-glow);
}

#primary.site-content .rd-title-art {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 62px;
}

#primary.site-content .rd-title-art img {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 62px;
	object-fit: contain;
}

#primary.site-content .rd-title-n {
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--rd-d-ink);
}

#primary.site-content .rd-title-m {
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

/*
 * ⚠️ A LINKED TILE MUST OPT OUT OF THE PROSE-LINK RULE BY HAND. Once a title has
 * a review, rd_slot_title_strip() renders the tile as a block-level <a>, and
 * `#primary.site-content a:not(:where(...))` up at the top of this file then
 * paints every word in it --rd-blue-lo at weight 600 and glows the lot on hover.
 * :where() contributes no specificity, so the tile has to say so itself. Fifth
 * bug of this shape in this file -- see the note on that rule.
 *
 * The affordance is the card, not blue text: the border and the glow it already
 * had, plus the "Zum Test" foot below.
 */
#primary.site-content a.rd-title,
#primary.site-content a.rd-title:hover,
#primary.site-content a.rd-title:visited {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	text-shadow: none;
}

#primary.site-content .rd-title-go {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	margin-top: .125rem;
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-blue);
}

#primary.site-content .rd-title-go .rd-cmp-arrow {
	display: inline-flex;
	transition: transform .18s ease;
}

#primary.site-content a.rd-title:hover .rd-title-go .rd-cmp-arrow { transform: translateX(3px); }

/*
 * The footnote. It is the component's disclaimer, not decoration: the strip shows
 * game logos on a page about three named operators, and without this line a
 * reader could reasonably read it as "these four are available at all three".
 * ⚠️ Do not drop it if the strip is ever restyled.
 */
#primary.site-content .rd-titles .rd-titles-f {
	margin: 1.125rem 0 0;
	padding-top: .875rem;
	border-top: 1px solid var(--rd-d-rule);
	font-size: .8125rem;
	line-height: 1.55;
	color: var(--rd-d-muted);
}

/* ---------------------------------------------------- responsive ------ */
@media (max-width: 560px) {
	/*
	 * The three operator columns stack. They keep the divider grid rather than
	 * becoming cards, so the block still reads as one comparison.
	 */
	#primary.site-content .rd-slot-ops { grid-template-columns: minmax(0, 1fr); }
	#primary.site-content .rd-slot-op { flex-direction: row; justify-content: flex-start; gap: .875rem; text-align: left; padding: .875rem 1rem; }
	#primary.site-content .rd-slot-n { font-size: 1.25rem; margin-top: 0; }
	#primary.site-content .rd-titles-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#primary.site-content .rd-studios-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================== slot reviews =========
 *
 * One page per game under /spielautomaten/. Read the SLOT REVIEWS section of
 * inc/redesign.php first — it records what these pages may and may not claim,
 * and why the RTP is a range rather than a number.
 * --------------------------------------------------------------------------- */

/* The game art, unplated — see the note on .rd-title for the luminance reason. */
#primary.site-content .rd-slotrev-art {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

#primary.site-content .rd-slotrev-art img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 88px;
	object-fit: contain;
}

/* The RTP plate. Borrows .rd-rev-score's shell so a slot's headline figure and a
   casino's score are the same object in the same corner of the panel. */
/*
 * ⚠️ justify-self, BECAUSE THIS PLATE IS IN THE 1fr COLUMN. .rd-pay's grid is
 * `auto minmax(0, 1fr)`: the payment hero puts a flex row of chips in column two,
 * which fills it happily, but a single plate there STRETCHES the full remaining
 * width and reads as an empty box with a number floating in it. The review hero's
 * score plate hugs the right edge for the same reason; this matches it.
 */
#primary.site-content .rd-slotrev-rtp {
	min-width: 12.5rem;
	justify-self: end;
}

#primary.site-content .rd-slotrev-lab {
	display: block;
	margin-bottom: .25rem;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-slotrev-rtp .rd-rev-num { font-size: 2.125rem; }

/* ------------------------------------------------- the RTP spread ----- */
#primary.site-content .rd-rtp {
	margin: 1.75rem 0 2rem;
	padding: 1.25rem 1.375rem 1.375rem;
	border: 1px solid rgba(200, 138, 216, .28);
	border-radius: 14px;
	background:
		radial-gradient(80% 130% at 0% 0%, rgba(153, 60, 169, .15) 0, rgba(153, 60, 169, 0) 58%),
		var(--rd-d-2);
}

#primary.site-content .rd-rtp .rd-rtp-t {
	display: flex;
	align-items: center;
	gap: .4375rem;
	margin: 0 0 2.25rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

/*
 * ⚠️ THE SCALE NEEDS ITS VERTICAL ROOM RESERVED, because everything on it is
 * absolutely positioned: the build labels sit above the track and the threshold
 * labels below it, so the container has no content to size itself from. The
 * height here is that reservation — reduce it and the labels collide with the
 * heading above and the axis below.
 */
#primary.site-content .rd-rtp-scale {
	position: relative;
	height: 2.25rem;
	margin: 0 1.25rem;
}

#primary.site-content .rd-rtp-track {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 6px;
	margin-top: -3px;
	border-radius: 999px;
	background: rgba(122, 180, 230, .14);
}

/* The span the provider actually ships, from the lowest build to the default. */
#primary.site-content .rd-rtp-fill {
	position: absolute;
	top: 50%;
	height: 6px;
	margin-top: -3px;
	border-radius: 999px;
	background: var(--rd-grad-bp);
}

/*
 * A build. The dot sits ON the track and its figure above it.
 *
 * ⚠️ translateX(-50%) ON BOTH THE DOT AND ITS LABEL. `left` positions the box's
 * left edge, so without the shift every marker sits half a dot to the right of
 * the value it names — which on a 12-point axis is most of a percentage point.
 */
#primary.site-content .rd-rtp-dot {
	position: absolute;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--rd-d-3);
	box-shadow: 0 0 0 2px var(--rd-blue-hi);
}

#primary.site-content .rd-rtp-dot.is-default {
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: var(--rd-blue-hi);
	box-shadow: 0 0 0 3px rgba(42, 165, 245, .3), 0 0 14px -2px rgba(42, 165, 245, .8);
}

#primary.site-content .rd-rtp-dot i {
	position: absolute;
	left: 50%;
	bottom: 1.125rem;
	transform: translateX(-50%);
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-style: normal;
	white-space: nowrap;
	color: var(--rd-d-strong);
}

#primary.site-content .rd-rtp-dot.is-default i {
	bottom: 1.25rem;
	font-weight: 700;
	color: var(--rd-blue-hi);
}

/* The site's own 94 % / 96 % guidance, on the same axis. A dashed rule so it
   reads as a reference line and not as a value the game has. */
#primary.site-content .rd-rtp-th {
	position: absolute;
	top: -.25rem;
	bottom: -.25rem;
	width: 0;
	border-left: 1px dashed rgba(200, 138, 216, .55);
}

#primary.site-content .rd-rtp-th i {
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	margin-top: .1875rem;
	font-family: var(--rd-mono);
	font-size: .625rem;
	font-style: normal;
	white-space: nowrap;
	color: var(--rd-plum-hi);
}

/* The axis ends, labelled — see the truncation warning in rd_slotrev_rtp(). */
#primary.site-content .rd-rtp .rd-rtp-ax {
	display: flex;
	justify-content: space-between;
	margin: 1.5rem 1.25rem 0;
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .04em;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-rtp .rd-rtp-f {
	margin: 1rem 0 0;
	padding-top: .875rem;
	border-top: 1px solid var(--rd-d-rule);
	font-size: .875rem;
	line-height: 1.6;
	color: var(--rd-d-body);
}

@media (max-width: 560px) {
	#primary.site-content .rd-slotrev-rtp { min-width: 0; }
	/* The five build labels cannot share 320px, so they alternate above and below
	   the track rather than overlapping. */
	#primary.site-content .rd-rtp-scale { height: 3.25rem; margin: 0 1rem; }
	#primary.site-content .rd-rtp-dot:nth-of-type(even) i { bottom: auto; top: 1.125rem; }
}

/* ============================================== weitere Slots ========
 *
 * "Weitere Spielautomaten im Test", at the foot of every slot review, one card
 * per OTHER review. Built by rd_slotrev_more() from the same registry the title
 * strip on /spielautomaten/ uses, so the two can never disagree about a game's
 * studio, type or default RTP.
 * --------------------------------------------------------------------------- */

#primary.site-content .rd-moreslots {
	margin: 2rem 0 2.25rem;
	padding: 1.25rem 1.375rem 1.5rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 16px;
	background: var(--rd-d-1);
}

#primary.site-content .rd-moreslots-t {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1.125rem;
	font-family: var(--rd-mono);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

/* ------------------------------------------------------- the rail ----- */
/*
 * A CONTINUOUS MARQUEE, AND IT IS A REAL SCROLL CONTAINER. js/slot-marquee.js
 * advances scrollLeft and wraps it, rather than animating a transform, so touch
 * gets native momentum scrolling, a keyboard user tabbing to a card scrolls it
 * into view, and with the script absent this degrades to an ordinary horizontal
 * scroller instead of a clipped row. Read that file before changing anything
 * here — the two halves of this component are the markup's repeated sets and
 * the script's wrap point, and they agree only because both derive from
 * data-rd-mq-set.
 *
 * ⚠️ overflow IS SET ON BOTH AXES EXPLICITLY. `overflow-x: auto` alone would
 * leave overflow-y computed as auto too, which makes this a vertical scroll
 * container as well — the trap already documented at the top of this file.
 * y is hidden and the glow is given room by padding instead.
 */
#primary.site-content .rd-mq {
	/* Full-bleed to the panel's inner edge, then padded back — the padding is
	   what keeps the hover glow (54px blur, -4px spread ≈ 23px of reach) inside
	   the clip instead of being sheared off at the top and bottom. */
	margin: 0 -1.375rem;
	padding: 1.75rem 1.375rem;
	overflow-x: auto;
	overflow-y: hidden;
	cursor: grab;
	scrollbar-width: none;
	-ms-overflow-style: none;
	/* The rail runs under both edges rather than stopping at a hard cut, which is
	   also how a reader is told there is more in each direction. */
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 3.5rem, #000 calc(100% - 3.5rem), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 3.5rem, #000 calc(100% - 3.5rem), transparent 100%);
}

#primary.site-content .rd-mq::-webkit-scrollbar { display: none; }

/*
 * ⚠️ THE RAIL MUST NEVER INHERIT SMOOTH SCROLLING. js/slot-marquee.js sets
 * scrollLeft to wrap the loop, and a smooth scroller would animate that
 * correction — turning an invisible jump of exactly one period into a visible
 * slide back across the whole rail. scroll-behavior does not inherit, so the
 * `html` rule in the smooth-scrolling section does not reach here today; this is
 * stated so a later `* { scroll-behavior: smooth }` cannot break the loop
 * silently.
 */
#primary.site-content .rd-mq { scroll-behavior: auto; }

/* The cursor answers the press immediately... */
#primary.site-content .rd-mq.is-pressed { cursor: grabbing; }

/*
 * ...but the cards stay clickable until the pointer has actually TRAVELLED, and
 * these are two classes for exactly that reason.
 *
 * ⚠️ pointer-events:none FROM pointerdown MAKES EVERY CARD UNCLICKABLE. A click
 * is only delivered to the element under the pointer at both press AND release;
 * take the card out of hit-testing on mousedown and the release lands on the
 * rail, so the <a> never sees the click and the carousel silently stops
 * navigating. js/slot-marquee.js adds `is-dragging` only past the 8px threshold.
 * It exists so a drag does not drag hover states along with it.
 */
#primary.site-content .rd-mq.is-dragging .rd-moreslot { pointer-events: none; }

/*
 * ⚠️ THE TRACK CARRIES THE DRIFT AS A TRANSFORM — see js/slot-marquee.js. It is
 * promoted to its own layer because the alternative, animating the scroll
 * offset, is quantised to whole device pixels: at 30px/s that is one pixel every
 * other frame and it reads as a stutter. A composited transform interpolates at
 * sub-pixel precision, so the same speed is continuous.
 */
#primary.site-content .rd-mq-track {
	display: flex;
	align-items: stretch;
	width: max-content;
	will-change: transform;
}

#primary.site-content .rd-moreslot {
	display: grid;
	grid-template-rows: auto auto auto auto 1fr auto;
	gap: .375rem;
	padding: 1rem 1rem 1.125rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	background: var(--rd-d-2);
	transition: border-color .18s ease, box-shadow .18s ease;
}

/*
 * ⚠️ THE SPACING IS margin-right ON EVERY CARD, NOT `gap` ON THE TRACK, AND THAT
 * IS WHAT MAKES THE LOOP SEAMLESS. With `gap`, a track of K sets is K·n cards
 * but only K·n−1 gaps, so one set is not exactly 1/K of the track and the rail
 * jumps by half a gap on every lap. A trailing margin on the last card of each
 * set makes the period exactly n·(card + gap). The measured wrap in the script
 * tolerates either, but this keeps the geometry honest at the source.
 */
#primary.site-content .rd-mq .rd-moreslot {
	flex: 0 0 20rem;
	margin-right: .875rem;
	/* A drag across the rail should not select the card's text. */
	-webkit-user-select: none;
	user-select: none;
}

#primary.site-content .rd-mq .rd-moreslot img { -webkit-user-drag: none; }

/*
 * The same opt-out the linked title tile needs, and for the same reason: this is
 * a block-level <a> inside the article. See the note on a.rd-title.
 */
#primary.site-content a.rd-moreslot,
#primary.site-content a.rd-moreslot:hover,
#primary.site-content a.rd-moreslot:visited {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	text-shadow: none;
}

/* The site default hover — see --rd-hover-glow. */
#primary.site-content a.rd-moreslot:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .35), var(--rd-hover-glow);
}

/* No plate — slot artwork is bright by design. See the note on .rd-titles-g. */
#primary.site-content .rd-moreslot-art {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 54px;
}

#primary.site-content .rd-moreslot-art img {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 54px;
	object-fit: contain;
}

#primary.site-content .rd-moreslot-n {
	margin-top: .25rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--rd-d-ink);
}

#primary.site-content .rd-moreslot-m {
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

/*
 * ⚠️ THE FIGURE IS LABELLED "Standardversion" AND THAT WORDING IS LOAD-BEARING.
 * These cards sit at the foot of a review whose entire argument is that one
 * number does not describe a slot. An unlabelled RTP here would contradict the
 * page it is printed on.
 */
#primary.site-content .rd-moreslot-rtp {
	display: flex;
	align-items: baseline;
	gap: .4rem;
	margin: .25rem 0 .125rem;
}

#primary.site-content .rd-moreslot-rtp b {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--rd-blue-hi);
}

#primary.site-content .rd-moreslot-rtp > span {
	font-family: var(--rd-mono);
	font-size: .5625rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-moreslot-b {
	font-size: .8125rem;
	line-height: 1.5;
	color: var(--rd-d-body);
}

#primary.site-content .rd-moreslot .rd-cmp-foot {
	margin-top: .625rem;
	padding-top: .75rem;
	border-top: 1px solid var(--rd-d-rule);
}

@media (max-width: 600px) {
	#primary.site-content .rd-moreslots { padding: 1.125rem 1rem 1.25rem; }
	#primary.site-content .rd-mq { margin: 0 -1rem; padding: 1.5rem 1rem; }
	#primary.site-content .rd-mq .rd-moreslot { flex-basis: 17rem; }
	/* The fade has to shrink with the rail or it eats most of a 17rem card. */
	#primary.site-content .rd-mq {
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
		mask-image: linear-gradient(to right, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
	}
}

/*
 * ⚠️ REDUCED MOTION STOPS THE DRIFT AND THEN THE COPIES HAVE TO GO. The script
 * already refuses to advance the rail, but the duplicated sets are still in the
 * document, and a rail that does not move showing the same three games three
 * times reads as a mistake rather than as a loop. Hiding them leaves one set in
 * a container that still scrolls and still drags, which is the honest static
 * form of this component.
 */
@media (prefers-reduced-motion: reduce) {
	#primary.site-content .rd-mq [aria-hidden="true"].rd-moreslot { display: none; }
}

/* ============================================== the studio estate ====
 *
 * The hub (/hersteller/) and one page per studio. Read the STUDIO ESTATE
 * section of inc/redesign.php before changing any of this.
 *
 * ⚠️ MOST OF THIS ESTATE HAS NO RULES HERE, AND THAT IS THE DESIGN. The hub's
 * grid is .rd-paygrid and its cards are .rd-paycard, its table is .rd-mx, a
 * studio's history is the front page's .rd-rail and its games are the slots
 * page's .rd-titles — all borrowed whole, so a change to any of them changes
 * this estate too and the site keeps one vocabulary. What follows is only the
 * four things those components cannot already do: size a studio wordmark on the
 * two plates it had never appeared on, print a count where a review prints a
 * score, draw the disclosure block, and let a tile that has become a link say so.
 * --------------------------------------------------------------------------- */

/*
 * The mark on the ATF plate and in the matrix cell. A studio wordmark is a long
 * horizontal lockup — the five here run between 2.6:1 and 3.4:1 — where an
 * operator's is close to 2.5:1 and a payment mark is squarer still, so it needs
 * its own width at both sizes. Without these two rules .rd-payplate.is-studio's
 * 116px wins on source order and the hero plate comes out smaller than the
 * matrix cell it is supposed to headline.
 */
#primary.site-content .rd-payplate.is-hero.is-studio img { width: 168px; height: 60px; }
#primary.site-content .rd-payplate.is-cell.is-studio img { width: 92px;  height: 33px; }

/* ---------------------------------------- the panel's count ----------- */
/*
 * ⚠️ THIS PLATE HOLDS A COUNT, NOT A SCORE, and it is deliberately NOT styled to
 * look like one. It borrows .rd-rev-num's gradient because it is the same kind of
 * headline figure, but the denominator is set inside the number rather than in
 * the caption below it: "4" alone in that typeface is a rating, "4 von 5" is a
 * tally. See the warning on rd_studio_hero() — we do not rate studios.
 */
#primary.site-content .rd-studiorev-open { min-width: 12.5rem; justify-self: end; }

#primary.site-content .rd-studiorev-open .rd-rev-num { font-size: 2.5rem; }

#primary.site-content .rd-studiorev-of {
	margin-left: .375rem;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0;
}

/* An unchecked studio prints an en dash, which must not arrive in the gradient
   reserved for a figure that exists. */
#primary.site-content .rd-studiorev-open .rd-rev-num.rd-studiorev-na {
	background: none;
	-webkit-text-fill-color: currentColor;
	color: var(--rd-d-muted);
}

/* ---------------------------------------- the disclosure block -------- */
/*
 * Five rows: mark, metric, what the studio actually publishes for it. The panel
 * ground is .rd-studios' — this block sits on the same pages as that strip and is
 * the same kind of object, a framed aside inside the article.
 */
#primary.site-content .rd-disclose {
	margin: 1.75rem 0 2rem;
	padding: 1.125rem 1.25rem 1.25rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 14px;
	background:
		radial-gradient(80% 130% at 0% 0%, rgba(42, 165, 245, .12) 0, rgba(42, 165, 245, 0) 58%),
		var(--rd-d-2);
}

/* ⚠️ ID-PREFIXED: `#primary.site-content p` carries the prose bottom margin and
   would beat a bare class selector. Same collision as .rd-studios-t. */
#primary.site-content .rd-disclose .rd-disclose-t {
	display: flex;
	align-items: center;
	gap: .4375rem;
	margin: 0 0 1rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-blue);
}

/* The list is the component: no bullets, no prose indent, a rule between rows. */
#primary.site-content .rd-disclose .rd-disclose-l {
	margin: 0;
	padding: 0;
	list-style: none;
}

#primary.site-content .rd-disclose-r {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: .75rem;
	margin: 0;
	padding: .8125rem 0;
	border-top: 1px solid var(--rd-d-rule);
}

#primary.site-content .rd-disclose-l > li:first-child { border-top: 0; padding-top: 0; }

#primary.site-content .rd-disclose-i {
	display: inline-flex;
	margin-top: .125rem;
}

#primary.site-content .rd-disclose-r.is-yes .rd-disclose-i { color: var(--rd-d-good); }
#primary.site-content .rd-disclose-r.is-no  .rd-disclose-i { color: #E2718B; }

#primary.site-content .rd-disclose-m b {
	display: block;
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rd-d-ink);
}

#primary.site-content .rd-disclose-s {
	display: block;
	margin-top: .1875rem;
	font-size: .8125rem;
	line-height: 1.5;
	color: var(--rd-d-muted);
}

/*
 * The verdict word, as a pill. Right-aligned and monospaced so the five of them
 * form a column the eye can run down without reading — which is the whole point
 * of asking every studio the same five questions.
 */
#primary.site-content .rd-disclose-v {
	align-self: center;
	padding: .25rem .5rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 999px;
	font-family: var(--rd-mono);
	font-size: .625rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-disclose-r.is-yes .rd-disclose-v {
	border-color: rgba(78, 191, 137, .45);
	color: var(--rd-d-good);
}

#primary.site-content .rd-disclose .rd-disclose-f {
	margin: 1.125rem 0 0;
	padding-top: .875rem;
	border-top: 1px solid var(--rd-d-rule);
	font-size: .8125rem;
	line-height: 1.55;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-disclose .rd-disclose-f b { color: var(--rd-d-strong); }

/*
 * The middling count on a hub card. The matrix already answers "teilweise" in
 * plum (table.rd-mx td.is-part), so the grid says it the same way rather than
 * inventing a third colour for the same idea.
 */
#primary.site-content .rd-paycard-m.is-part { color: var(--rd-plum-hi); }
#primary.site-content .rd-paycard-m.is-part .rd-payico { color: var(--rd-plum-hi); }

/* ---------------------------------------- the strip becomes cards ----- */
/*
 * ⚠️ EVERY TILE TAKES THE CARD, NOT ONLY THE LINKED ONES. Once a studio has a
 * portrait its tile grows a "Zum Porträt" foot, and a foot on a bare column next
 * to four bare columns reads as a rendering fault. The five now sit in the same
 * frame the title strip below them on /spielautomaten/ already uses, so the two
 * strips on that page are one family — and an unlinked tile differs from a linked
 * one in exactly the way the payment grid's unlinked card does: no pointer, no
 * hover, no foot.
 */
#primary.site-content .rd-studio {
	padding: 1rem .875rem 1.125rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 12px;
	background: var(--rd-d-1);
	text-align: center;
	transition: border-color .18s ease, box-shadow .18s ease;
}

/* The site default hover — see --rd-hover-glow. Separate rounded tiles in a
   gapped grid with no clipping ancestor, so they carry the full glow. */
#primary.site-content a.rd-studio:hover {
	border-color: var(--rd-hover-edge);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .35), var(--rd-hover-glow);
}

/*
 * ⚠️ A LINKED TILE MUST OPT OUT OF THE PROSE-LINK RULE BY HAND. Once a studio has
 * a portrait, rd_slot_studio_strip() renders the tile as a block-level <a>, and
 * `#primary.site-content a:not(:where(...))` at the top of this file then paints
 * every word in it --rd-blue-lo at weight 600 and glows the lot on hover.
 * :where() contributes no specificity, so the tile has to say so itself. Sixth
 * bug of this shape in this file — see the note on that rule, and the identical
 * block on a.rd-title.
 */
#primary.site-content a.rd-studio,
#primary.site-content a.rd-studio:hover,
#primary.site-content a.rd-studio:visited {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	text-shadow: none;
}

#primary.site-content a.rd-studio:hover .rd-title-go .rd-cmp-arrow { transform: translateX(3px); }

/*
 * The hub's own cards need the same opt-out for the same reason: .rd-paycard is
 * an <a> whose text is a studio name, and the payment grid never hit this because
 * its cards were written before that prose-link rule grew its :where() list.
 */
#primary.site-content a.rd-studiocard,
#primary.site-content a.rd-studiocard:hover,
#primary.site-content a.rd-studiocard:visited {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

/* ---------------------------------------------------- responsive ------ */
@media (max-width: 560px) {
	/* The metric and its note keep the row; the pill drops under them rather than
	   squeezing the note into a two-word column. */
	#primary.site-content .rd-disclose-r { grid-template-columns: auto minmax(0, 1fr); }
	#primary.site-content .rd-disclose-v { grid-column: 2; justify-self: start; margin-top: .375rem; }
}

/* ============================================== the contact page =====
 *
 * /kontakt/. Read THE CONTACT PAGE section of inc/redesign.php first — it
 * explains why the page leads with where NOT to write.
 *
 * ⚠️ THE FORM'S COLOURS ARE NOT HERE. They were set site-wide in "forms on
 * dark" above, in August, pinned to element types so any form anywhere inherits
 * them. What was never done is LAYOUT: six fields at the plugin's own
 * `size="40"` came out ~160px wide in a 1100px column, stacked down the left
 * edge against half a screen of nothing. That is all this block fixes, and it is
 * why the rules below set geometry and almost no colour.
 * --------------------------------------------------------------------------- */

/*
 * The form becomes a panel, like every other answer surface in the estate.
 *
 * ⚠️ GRID AREAS, NOT AUTO-FLOW, because the plugin emits the label and the input
 * as two SIBLING divs. In a two-column auto-flow grid that lays out as
 * label | input, label | input — every caption beside its own box, which is
 * neither of the two readable arrangements. Named areas put each label directly
 * above its field and pair name with e-mail across the top.
 *
 * ⚠️ If the plugin is ever configured to show its address or phone fields, they
 * have no area and auto-place after the named ones. That degrades to a full-width
 * row rather than breaking — see the catch-all rule below — but the areas here
 * would want extending.
 */
.rd-dark #primary.site-content form.cntctfrm_contact_form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 1.25rem;
	margin: 1.5rem 0 2rem;
	padding: 1.75rem;
	border: 1px solid var(--rd-d-rule-2);
	border-radius: 18px;
	background:
		radial-gradient(120% 140% at 88% 0%, rgba(42, 165, 245, .10) 0, rgba(42, 165, 245, 0) 58%),
		radial-gradient(96% 130% at 0% 104%, rgba(153, 60, 169, .16) 0, rgba(153, 60, 169, 0) 62%),
		var(--rd-d-2);
	box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
	grid-template-areas:
		"ln le"
		"in ie"
		"ls ls"
		"is is"
		"lm lm"
		"im im"
		"cap sub";
}

.rd-dark #primary.site-content .cntctfrm_label_name    { grid-area: ln; }
.rd-dark #primary.site-content .cntctfrm_input_name    { grid-area: in; }
.rd-dark #primary.site-content .cntctfrm_label_email   { grid-area: le; }
.rd-dark #primary.site-content .cntctfrm_input_email   { grid-area: ie; }
.rd-dark #primary.site-content .cntctfrm_label_subject { grid-area: ls; }
.rd-dark #primary.site-content .cntctfrm_input_subject { grid-area: is; }
.rd-dark #primary.site-content .cntctfrm_label_message { grid-area: lm; }
.rd-dark #primary.site-content .cntctfrm_input_message { grid-area: im; }
.rd-dark #primary.site-content .cntctfrm_input_captcha { grid-area: cap; }
.rd-dark #primary.site-content .cntctfrm_input_submit  { grid-area: sub; }

/*
 * Anything the plugin prints that is NOT one of the ten fields above — its error
 * summary, its "message sent" notice — spans the panel instead of being squeezed
 * into whichever half-column auto-placement finds for it. The notice after a
 * failed send is the one piece of this form a visitor MUST be able to read.
 */
.rd-dark #primary.site-content form.cntctfrm_contact_form > *:not([class*="cntctfrm_label_"]):not([class*="cntctfrm_input_"]) {
	grid-column: 1 / -1;
}

/* The caption over each field, in the estate's label voice (see .rd-slotrev-lab). */
.rd-dark #primary.site-content .cntctfrm_label {
	margin: 1.125rem 0 .4375rem;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--rd-d-muted);
}

/* The first row of captions needs no top margin; the panel's padding is the gap. */
.rd-dark #primary.site-content .cntctfrm_label_name,
.rd-dark #primary.site-content .cntctfrm_label_email { margin-top: 0; }

.rd-dark #primary.site-content .cntctfrm_label label { display: block; }

/*
 * ⚠️ THE FIELDS ARE NARROW BECAUSE OF A CAP ON THEIR WRAPPER, NOT ON THEMSELVES.
 * This cost a rendering pass to find. The plugin's form_style.css already sets
 * `width:100%; box-sizing:border-box` on its inputs and textareas — so the fields
 * DO fill their container — and then caps the container:
 *
 *     .cntctfrm_label, .cntctfrm_input { max-width: 320px; }
 *
 * 100% of 320px is 320px, which is what the form rendered at inside an 1100px
 * column, and why adding width to the INPUT changed nothing. The cap is what has
 * to be lifted; the two width declarations below are kept only so this file states
 * the intent rather than inheriting it from a plugin that may drop it.
 *
 * The plugin's own padding on the label goes with it — spacing here is margin, set
 * on .cntctfrm_label above, and 5px of extra padding would double-space it.
 */
.rd-dark #primary.site-content .cntctfrm_label,
.rd-dark #primary.site-content .cntctfrm_input {
	max-width: none;
	padding: 0;
}

.rd-dark #primary.site-content .cntctfrm_input input.text { width: 100%; }
.rd-dark #primary.site-content .cntctfrm_input textarea   { width: 100%; min-height: 10rem; }

/*
 * ⚠️ `line-height: normal !important` IS SET BY THE PLUGIN ON EVERY DESCENDANT
 * (`.cntctfrm_contact_form *`), along with `text-align: left !important`. Neither
 * can be beaten from here, so nothing in this block tries: the label rule above
 * sets its own line-height for the wrapping case and lets the fields take the
 * plugin's, and the submit button is centred with flexbox rather than text-align
 * for exactly this reason.
 */

/*
 * The captcha and the submit share the last row, baseline-aligned so the sum sits
 * on the button's text line rather than floating above it.
 *
 * ⚠️ THE <br> IS THE PLUGIN'S, and it is the first child of .cptch_block. Left in,
 * it pushes the sum onto a second line and the row loses its alignment. Hidden
 * rather than fought with negative margin.
 */
.rd-dark #primary.site-content .cntctfrm_input_captcha {
	display: flex;
	align-items: center;
	margin-top: 1.25rem;
}

.rd-dark #primary.site-content .cntctfrm_input_captcha .cptch_block {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0;
	font-size: .875rem;
	color: var(--rd-d-muted);
}

.rd-dark #primary.site-content .cntctfrm_input_captcha .cptch_block br { display: none; }

.rd-dark #primary.site-content .cntctfrm_input_submit {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-top: 1.25rem;
}

/* ---------------------------------------------- the ATF panel --------- */
/*
 * The panel's left column: the one sentence the rest of the page rests on, in the
 * slot where a review prints its score. It is set in the h2's face rather than in
 * .rd-rev-num's 2.5rem gradient — that treatment is for a FIGURE, and a sentence
 * in it would be a headline shouting, not a statement.
 */
#primary.site-content .rd-kon-claim {
	min-width: 0;
	max-width: 15rem;
}

#primary.site-content .rd-kon-claim strong {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--rd-d-ink);
}

/* ⚠️ ID-PREFIXED: `#primary.site-content p` owns the prose margin and beats a
   bare class selector. Same collision as .rd-disclose-t. */
#primary.site-content .rd-kontakt .rd-kon-lead {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.6;
	color: var(--rd-d-body);
}

/* ------------------------------------------- the routing block -------- */
/*
 * The three rows that send a reader elsewhere. Plum, not red: the sender has done
 * nothing wrong, this is a signpost — the same answer the payment matrix and the
 * studio grid already give in plum. Green stays for the one case that belongs in
 * the form.
 */
#primary.site-content .rd-disclose-r.is-route .rd-disclose-i { color: var(--rd-plum-hi); }

#primary.site-content .rd-disclose-r.is-route .rd-disclose-v {
	border-color: rgba(153, 60, 169, .45);
	color: var(--rd-plum-hi);
}

/* The routing block's cases are sentences, not two-word metric names, so they get
   the body measure rather than the disclosure block's tighter label setting. */
#primary.site-content .rd-kon-routes .rd-disclose-m b { line-height: 1.4; }

/* ---------------------------------------------------- responsive ------ */
@media (max-width: 680px) {
	/*
	 * One column. Name and e-mail stop sharing a row — two half-width fields on a
	 * phone are narrower than the text they hold — and the captcha sits above the
	 * button instead of beside it, so neither has to shrink.
	 */
	.rd-dark #primary.site-content form.cntctfrm_contact_form {
		grid-template-columns: minmax(0, 1fr);
		padding: 1.25rem;
		grid-template-areas:
			"ln" "in" "le" "ie" "ls" "is" "lm" "im" "cap" "sub";
	}

	.rd-dark #primary.site-content .cntctfrm_label_email { margin-top: 1.125rem; }
	.rd-dark #primary.site-content .cntctfrm_input_submit { justify-content: stretch; }
	.rd-dark #primary.site-content .cntctfrm_input_submit input[type="submit"] { width: 100%; }
	#primary.site-content .rd-kon-claim { max-width: none; }
}

/* ============================================== smooth scrolling =====
 *
 * In-page anchors — the jump nav on every review and topic page, the header's
 * "Top-Casinos ansehen" CTA, the FAQ links — glide instead of teleporting.
 * --------------------------------------------------------------------------- */

/*
 * ⚠️ scroll-padding-top IS NOT DECORATION, IT IS THE FIX. #masthead is
 * position:sticky, so without it every anchor lands at the top of the viewport
 * and therefore UNDERNEATH the bar: the heading you clicked is the one thing you
 * cannot see. scroll-padding on the scroll container is the modern answer and
 * needs nothing on the targets themselves, so it covers headings that do not
 * exist yet.
 *
 * ⚠️ THE VALUE COMES FROM js/anchors.js, WHICH MEASURES THE HEADER. Its height
 * is 62px at 1440 but 108px between about 800 and 1000 where the menu wraps, and
 * 120px again near 640 — non-monotonic, because it depends on how the menu items
 * wrap. A media-query ladder would be wrong the first time a menu item is
 * renamed. The 5rem fallback here is the desktop case, so anchors still clear
 * the bar if that script never runs.
 *
 * The extra 1rem is breathing room, so the target sits just below the bar rather
 * than welded to it.
 */
:root {
	scroll-padding-top: calc(var(--rd-headroom, 5rem) + 1rem);
}

/*
 * ⚠️ NO `scroll-behavior: smooth` HERE, AND ITS ABSENCE IS DELIBERATE.
 * The animation is run by js/anchors.js instead, to match
 * onlinecasinosdeutschland-de.sub.plus, which forces the smoothscroll polyfill
 * over the native property on purpose: the polyfill eases over a FIXED 468ms
 * whatever the distance, where Chrome's native implementation scales duration
 * with distance and crawls on a jump to the foot of a long review. CSS cannot
 * express a fixed duration.
 *
 * ⚠️ AND THE TWO MUST NOT BOTH BE ON. The script animates by calling
 * window.scrollTo() every frame; with `scroll-behavior: smooth` on the root each
 * of those 28 calls would itself be a smooth scroll, and the two easings fight —
 * the page creeps toward the target and overshoots the end of the gesture.
 * Reduced motion is handled in the script, which jumps instead.
 *
 * scroll-padding-top above STAYS: it is what makes a fragment in the URL land
 * correctly on first load, which is a browser scroll the script never sees.
 */

/* ============================================ the hero offer panel ====
 *
 * Opens three seconds after a click on one of the hero's cards. Markup from
 * rd_offer_dialog(), behaviour in js/hero-offer.js.
 *
 * ⚠️ EVERY RULE HERE IS UNPREFIXED, AND THAT IS FORCED BY WHERE IT LIVES. The
 * dialog is rendered in the footer, outside #primary.site-content, so the
 * article's selectors do not reach it — which is the point: the CTA is styled
 * here and only here instead of fighting `#primary.site-content a`. It is still
 * a child of <body>, so :root's tokens reach it normally.
 * --------------------------------------------------------------------------- */

.rd-offer {
	/* The UA gives a dialog a border, a white ground and its own margins. */
	width: min(26rem, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	overflow: visible;
	color: var(--rd-d-body);
}

/* ⚠️ The backdrop is NOT inherited from the page and must be painted. A modal
   dialog's ::backdrop starts fully transparent, so without this the panel would
   float over a live-looking page and the click-outside target would be
   invisible. */
.rd-offer::backdrop {
	background: rgba(3, 7, 16, .72);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.rd-offer-in {
	position: relative;
	/*
	 * ⚠️ THE SCROLL IS HERE AND NOT ON THE DIALOG, so the panel's glow survives.
	 * box-shadow is painted outside this element's border box, so its own
	 * overflow never clips it — putting overflow on the <dialog> instead would
	 * cut the glow off on all four sides. A landscape phone is about 380px tall
	 * and this panel is taller than that, so without it the CTA is unreachable.
	 */
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	/* Focused programmatically by showModal(); it is a container, not a control. */
	outline: none;
	padding: 1.75rem 1.5rem 1.5rem;
	border: 1px solid rgba(127, 203, 255, .30);
	border-radius: 18px;
	background:
		radial-gradient(120% 150% at 50% 0%, rgba(153, 60, 169, .20) 0, rgba(153, 60, 169, 0) 60%),
		var(--rd-d-2);
	box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .9), var(--rd-hover-glow);
	text-align: center;
}

.rd-offer-x {
	position: absolute;
	top: .625rem;
	right: .625rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* 44px, which is the pointer target this needs to be on a phone even though
	   the glyph inside it is 16. */
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--rd-d-muted);
	cursor: pointer;
	transition: color .18s ease, background .18s ease;
}

.rd-offer-x:hover,
.rd-offer-x:focus-visible {
	background: rgba(127, 203, 255, .12);
	color: var(--rd-d-ink);
}

.rd-offer-eyebrow {
	margin: 0 0 1rem;
	font-family: var(--rd-mono);
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

.rd-offer-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: .875rem;
}

/* The operator marks are dark artwork on transparent — see the measured note on
   .rd-titles-g. The plate is not decoration, it is what makes them visible. */
.rd-offer .rd-plate {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .5rem .75rem;
	border-radius: 10px;
	background: #FFFFFF;
}

.rd-offer .rd-plate img { display: block; width: 110px; height: auto; }

.rd-offer-score {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.rd-offer-score b { font-size: 1.75rem; font-weight: 700; color: var(--rd-blue-hi); }

.rd-offer-score span {
	font-family: var(--rd-mono);
	font-size: .5625rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

.rd-offer-n {
	margin: 0 0 .25rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--rd-d-ink);
}

.rd-offer-op {
	margin: 0 0 .875rem;
	font-size: .8125rem;
	color: var(--rd-d-muted);
}

.rd-offer-op strong { color: var(--rd-d-strong); font-weight: 600; }

.rd-offer .rd-lbadge {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	padding: .3125rem .625rem;
	border: 1px solid rgba(20, 133, 92, .45);
	border-radius: 999px;
	font-size: .6875rem;
	color: var(--rd-d-good, #3FBF8F);
}

.rd-offer-bon {
	margin: 1.125rem 0 1.25rem;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

.rd-offer-bon b { font-size: 1.375rem; font-weight: 700; line-height: 1.25; color: var(--rd-d-ink); }

.rd-offer-bon span {
	font-family: var(--rd-mono);
	font-size: .5625rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-d-muted);
}

.rd-offer-cta {
	display: block;
	padding: .875rem 1.25rem;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--rd-blue) 0%, var(--rd-blue-lo) 100%);
	color: #FFFFFF;
	font-weight: 700;
	text-decoration: none;
	transition: box-shadow .18s ease, filter .18s ease;
}

.rd-offer-cta:hover,
.rd-offer-cta:focus-visible {
	box-shadow: var(--rd-hover-glow);
	filter: brightness(1.06);
	color: #FFFFFF;
	text-decoration: none;
}

.rd-offer-rev {
	display: inline-block;
	margin-top: .875rem;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--rd-blue-hi);
	text-decoration: none;
}

/* The colour is restated on hover because style.css:455 `a:hover { color: #111 }`
   (0,1,1) outranks .rd-offer-rev (0,1,0): without it the label went near-black
   under the blue glow and read as a darker blue instead of lighting up. */
.rd-offer-rev:hover,
.rd-offer-rev:focus-visible {
	color: var(--rd-blue-hi);
	text-shadow: var(--rd-hover-glow-text);
}

.rd-offer-tnc {
	margin: 1.125rem 0 0;
	padding-top: .875rem;
	border-top: 1px solid var(--rd-d-rule);
	font-size: .6875rem;
	line-height: 1.55;
	color: var(--rd-d-muted);
}

.rd-offer-tnc b { color: var(--rd-d-strong); font-weight: 600; }

/*
 * It arrives rather than appearing. Transform and opacity only — see the warning
 * on the site hover about animating box-shadow with a held final keyframe, which
 * this panel would hit on its CTA.
 */
@media (prefers-reduced-motion: no-preference) {
	.rd-offer[open] .rd-offer-in { animation: rd-offer-in .28s cubic-bezier(.2, .8, .3, 1) both; }
	.rd-offer[open]::backdrop { animation: rd-offer-fade .28s ease both; }
}

@keyframes rd-offer-in {
	from { opacity: 0; transform: translateY(10px) scale(.97); }
	to   { opacity: 1; transform: none; }
}

@keyframes rd-offer-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Nothing to print: it is an overlay that only exists after a click. */
@media print {
	.rd-offer { display: none !important; }
}

/* ================================================================= 404 ====
 *
 * The client's artwork on top, then the words, then the ways out (2026-09-23).
 * Markup lives in 404.php. Everything is ID-prefixed so it outranks the prose
 * rules on #primary.site-content, in particular the link colour and hover glow,
 * which would otherwise paint every card in the section list as a prose link.
 * The chips and card fan are not rendered here -- see rd_atmosphere_layers().
 * ------------------------------------------------------------------------- */

#primary.site-content .rd-404 {
	position: relative;
	margin: 0 0 3rem;
	padding: 0;
	border: 0;
}

/*
 * THE ART IS BLENDED INTO THE SKY, NOT FRAMED (client's call, second pass).
 *
 * Two things do it, and it takes both:
 *
 * 1. mix-blend-mode: screen. The artwork is light drawn on near-black, and
 *    screen makes black contribute nothing -- so the image's own ground drops
 *    out and the page's gradient and starfield show through it, while every
 *    glowing line stays at full strength. Without this, even a perfectly faded
 *    edge leaves a darker rectangle in the middle, because the art's black and
 *    the page's navy are not the same colour.
 * 2. A mask on all four edges. Screen alone still shows the hard boundary of
 *    the brighter parts (the water and the rock run off the bottom edge), so
 *    the sides fade over 10% and the bottom over the last third, where the
 *    heading then sits.
 *
 * ⚠️ NOTHING BETWEEN THE IMAGE AND #primary MAY BE ISOLATED -- no opacity < 1,
 * transform, translate, filter, z-index or isolation on .rd-404 or .rd-404-art -- or the
 * blend composites against a transparent group and the black comes back.
 *
 * ⚠️ IT SPANS #primary'S PADDING BOX EXACTLY, NO WIDER. #primary is
 * `isolation: isolate` with its --rd-d-1 background on its own box only, so
 * any part of the art hanging outside that box has nothing to screen against,
 * paints as a plain image, and shows a vertical seam at the box edge. It was
 * first 1360px wide and did exactly that. Bleeding into the padding (and up
 * over the top padding) is as wide as it can go; the side fades finish inside.
 */
#primary.site-content .rd-404-art {
	display: block;
	/* #primary's side and top padding, cancelled. Margins, NOT translate: a
	   transform is exactly the isolation the warning above rules out. */
	width: calc(100% + 3rem);
	margin: -2.75rem -1.5rem -3.25rem;
	pointer-events: none;
}

#primary.site-content .rd-404-art img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	mix-blend-mode: screen;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%),
		linear-gradient(to bottom, transparent 0, #000 8%, #000 66%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%),
		linear-gradient(to bottom, transparent 0, #000 8%, #000 66%, transparent 100%);
	mask-composite: intersect;
}

/* The heading rides up onto the faded water, above the art. */
#primary.site-content .rd-404-head {
	position: relative;
	z-index: 1;
	max-width: 46rem;
	margin: 0 auto 3rem;
	text-align: center;
}

#primary.site-content .rd-404-eyebrow {
	margin: 0 0 .75rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-404-head .entry-title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4.2vw, 2.75rem);
}

#primary.site-content .rd-404-lede {
	margin: 0 0 1.75rem;
	color: var(--rd-d-muted);
}

#primary.site-content .rd-404-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin: 0;
}

/* Same panel family as .rd-jump: rule, --rd-d-2, eggplant corner wash. */
#primary.site-content .rd-404-nav {
	position: relative;
	z-index: 1;
	padding: 1.5rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 18px;
	background:
		radial-gradient(78% 128% at 0% 0%, rgba(153, 60, 169, .17) 0, rgba(153, 60, 169, 0) 58%),
		var(--rd-d-2);
}

#primary.site-content .rd-404-navt {
	margin: 0 0 1.125rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-404-nav ul {
	/* Six cards: 3 x 2 on desktop, 2 x 3 on tablet, one column below 700px --
	   fixed counts, so the grid never leaves a lone orphan on the last row. */
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 900px) {
	#primary.site-content .rd-404-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	#primary.site-content .rd-404-nav ul { grid-template-columns: 1fr; }
}

/* The li stretches to its grid row; the link fills it with flex, not
   height:100% -- that plus padding overflowed the row and the cards overlapped. */
#primary.site-content .rd-404-nav li {
	display: flex;
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

/* Icon tile, text, arrow. The site hover: blue edge + two-layer glow, nothing moves. */
.rd-dark #primary.site-content .rd-404-nav a {
	display: flex;
	flex: 1 1 auto;
	align-items: flex-start;
	gap: .875rem;
	box-sizing: border-box;
	padding: 1.125rem 1.125rem 1.125rem 1rem;
	border: 1px solid var(--rd-ghost-edge);
	border-radius: 14px;
	background: rgba(122, 180, 230, .045);
	color: var(--rd-d-muted);
	font-weight: 400;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/*
 * The site's icon tile, as on .rd-icn in the criteria cards (and shared with the
 * sitemap's group headings): the same blue
 * plate and edge, and the glyph stroked with the wordmark ramp (#rd-icn-grad,
 * emitted site-wide by rd_icon_defs()). The flat colour after the url() is the
 * required fallback -- see the note on rd_icon_defs().
 */
#primary.site-content .rd-404-ico,
#primary.site-content .rd-smap-ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(42, 165, 245, .3);
	border-radius: 11px;
	background: linear-gradient(180deg, rgba(42, 165, 245, .17) 0%, rgba(42, 165, 245, .05) 100%);
	color: var(--rd-blue-hi);
	transition: border-color .18s ease, background .18s ease;
}

/* The arrow takes the ramp too (client's call): pale tail, blue head. It is one
   path with real height, so the objectBoundingBox gradient has a box to span --
   a lone horizontal line would have none and would not paint. */
.rd-dark #primary.site-content .rd-404-ico svg,
.rd-dark #primary.site-content .rd-404-go svg,
.rd-dark #primary.site-content .rd-smap-ico svg {
	stroke: url(#rd-icn-grad) var(--rd-blue-hi);
}

#primary.site-content .rd-404-txt {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: .25rem;
	min-width: 0;
}

#primary.site-content .rd-404-txt b {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rd-d-ink);
	transition: color .18s ease;
}

#primary.site-content .rd-404-txt span {
	font-size: .875rem;
	line-height: 1.5;
}

#primary.site-content .rd-404-go {
	display: inline-flex;
	flex: none;
	align-self: center;
	color: var(--rd-d-muted);
	transition: color .18s ease;
}

#primary.site-content .rd-404-ico svg,
#primary.site-content .rd-404-go svg { display: block; }

.rd-dark #primary.site-content .rd-404-nav a:hover,
.rd-dark #primary.site-content .rd-404-nav a:focus-visible {
	background: var(--rd-ghost-fill);
	border-color: var(--rd-hover-edge);
	box-shadow: var(--rd-hover-glow);
	color: var(--rd-d-strong);
	text-shadow: none;
}

#primary.site-content .rd-404-nav a:hover .rd-404-txt b,
#primary.site-content .rd-404-nav a:focus-visible .rd-404-txt b,
#primary.site-content .rd-404-nav a:hover .rd-404-go,
#primary.site-content .rd-404-nav a:focus-visible .rd-404-go { color: var(--rd-blue-hi); }

#primary.site-content .rd-404-nav a:hover .rd-404-ico,
#primary.site-content .rd-404-nav a:focus-visible .rd-404-ico {
	border-color: var(--rd-hover-edge);
	background: linear-gradient(180deg, rgba(42, 165, 245, .26) 0%, rgba(42, 165, 245, .09) 100%);
}

/* 640 = the breakpoint where #primary drops to 1.25rem side padding. */
@media (max-width: 640px) {
	#primary.site-content .rd-404-art {
		width: calc(100% + 2.5rem);
		margin: -2rem -1.25rem -2rem;
	}

	#primary.site-content .rd-404-art img {
		-webkit-mask-image:
			linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
			linear-gradient(to bottom, transparent 0, #000 6%, #000 70%, transparent 100%);
		mask-image:
			linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
			linear-gradient(to bottom, transparent 0, #000 6%, #000 70%, transparent 100%);
	}

	#primary.site-content .rd-404-nav { padding: 1.125rem; }
}

/* ============================================================= sitemap ====
 *
 * [rd_sitemap] on /sitemap/ -- markup and the reasoning for building it from the
 * menu are in inc/redesign.php. One panel per group, in the same family as the
 * 404's "Beliebte Seiten" panel and .rd-jump. The icon tile is .rd-404-ico's rule.
 *
 * ⚠️ CSS COLUMNS, NOT GRID. The groups run from 3 to 9 links, so a grid row is
 * as tall as its longest panel and the short ones sit over a hole. Columns pack
 * them like a masonry wall with no JS; break-inside keeps a panel whole. The
 * cost is that reading order runs DOWN each column, which for a sitemap -- a
 * set of independent groups, not a sequence -- is harmless.
 * ------------------------------------------------------------------------- */

#primary.site-content .rd-smap {
	columns: 3 17rem;
	column-gap: 1rem;
	margin: 2rem 0 1rem;
}

#primary.site-content .rd-smap-g {
	break-inside: avoid;
	margin: 0 0 1rem;
	padding: 1.25rem 1.25rem .75rem;
	border: 1px solid var(--rd-d-rule);
	border-radius: 16px;
	background:
		radial-gradient(78% 128% at 0% 0%, rgba(153, 60, 169, .17) 0, rgba(153, 60, 169, 0) 58%),
		var(--rd-d-2);
}

/* The site's h2 carries a big top margin and a size meant for article sections;
   this is a panel label. ID-prefixed and .rd-dark-prefixed to outrank both. */
.rd-dark #primary.site-content .rd-smap-h {
	display: flex;
	align-items: center;
	gap: .875rem;
	margin: 0 0 .75rem;
	padding: 0;
	border: 0;
	font-size: 1.125rem;
	line-height: 1.3;
}

#primary.site-content .rd-smap-t {
	display: flex;
	flex-direction: column;
	gap: .125rem;
	min-width: 0;
}

/* The hub link reads as the heading, not as a blue prose link. */
.rd-dark #primary.site-content .rd-smap-t a {
	color: var(--rd-d-ink);
	font-weight: 700;
}

.rd-dark #primary.site-content .rd-smap-t a:hover { color: var(--rd-blue-hi); }

#primary.site-content .rd-smap-t small {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rd-plum-hi);
}

#primary.site-content .rd-smap ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Hairline between rows, none above the first: the list reads as one block. */
.rd-dark #primary.site-content .rd-smap li {
	margin: 0;
	padding: .5rem 0 .5rem 1.125rem;
	position: relative;
	font-size: .9375rem;
	line-height: 1.5;
	border-top: 1px solid var(--rd-d-rule);
}

.rd-dark #primary.site-content .rd-smap li:first-child { border-top: 0; }

/* A small chevron in the gradient's blue, drawn with borders so it needs no glyph. */
#primary.site-content .rd-smap li::before {
	content: "";
	position: absolute;
	left: .125rem;
	top: 50%;
	width: .375rem;
	height: .375rem;
	border-top: 1.5px solid var(--rd-blue);
	border-right: 1.5px solid var(--rd-blue);
	transform: translateY(-50%) rotate(45deg);
	opacity: .8;
}

/* Sub-page links are lighter than the prose default: in a list of thirty, bold
   blue on every row is a wall. They keep the site's glow on hover. */
.rd-dark #primary.site-content .rd-smap li a {
	color: var(--rd-d-strong);
	font-weight: 500;
}

.rd-dark #primary.site-content .rd-smap li a:hover { color: var(--rd-blue-hi); }

/* ========================================================== mobile nav ====
 *
 * The burger and its drawer (2026-09-23). Markup in header.php, behaviour in
 * js/mobile-nav.js. Replaces selectnav.js's native <select>.
 *
 * ⚠️ THE BREAKPOINT IS 1180px, NOT THE THEME'S 768px. Measured: the desktop row
 * (wordmark + six items + CTA) needs ~1180px. At 1100 the CTA ran off the right
 * edge and at 1024 and below the bar wrapped onto two lines. So every tablet,
 * portrait and landscape, gets the burger.
 *
 * ⚠️ EVERYTHING IS GATED ON html.rd-js (added inline in the head by
 * rd_reveal_head()). Without JavaScript the burger could not open anything, so
 * it never shows and the old menu row stays, wrapped, as a working fallback.
 *
 * The drawer lives OUTSIDE #masthead (see header.php) at z 49, one under the
 * bar's 50: it slides in beneath the bar, and the burger -- now an X -- stays on
 * top as the close control. Its top edge is --rd-headroom, the live header
 * height published by js/anchors.js.
 * ------------------------------------------------------------------------- */

.rd-burger,
.rd-mnav { display: none; }

@media only screen and (max-width: 1180px) {

	html.rd-js #site-navigation ul.nav-menu,
	html.rd-js #site-navigation div.nav-menu > ul { display: none !important; }

	/* One row again: nothing left in the nav to wrap. The nav element itself
	   stays, because the skip link lives in it. */
	html.rd-js #masthead .rd-bar { flex-wrap: nowrap; gap: .75rem; padding-block: 0; }
	html.rd-js #masthead .fosforit-nav { margin: 0; flex: 0 0 auto; }
	html.rd-js #masthead .rd-navcta { margin-left: auto; }

	html.rd-js .rd-burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 2.75rem;
		height: 2.75rem;
		margin: 0;
		padding: 0;
		border: 1px solid var(--rd-ghost-edge);
		border-radius: 12px;
		background: rgba(122, 180, 230, .045);
		color: #DCE9F5;
		cursor: pointer;
		transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
	}

	html.rd-js .rd-mnav { display: block; }
}

@media only screen and (max-width: 640px) {
	/* The bar CTA is already hidden here (see the 640 block); push the burger right. */
	html.rd-js .rd-burger { margin-left: auto; }
}

/* The site hover, as on every other rectangular control. */
.rd-burger:hover,
.rd-burger:focus-visible,
html.rd-mnav-open .rd-burger {
	background: var(--rd-ghost-fill);
	border-color: var(--rd-hover-edge);
	box-shadow: var(--rd-hover-glow);
	color: #FFFFFF;
}

/* Three bars that fold into an X: the middle one fades, the outer two meet in
   the centre and rotate. Transform + opacity only. */
.rd-burger-box {
	position: relative;
	display: block;
	width: 1.25rem;
	height: .875rem;
}

.rd-burger-box > span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .26s cubic-bezier(.2, .8, .3, 1), opacity .18s ease, top .26s cubic-bezier(.2, .8, .3, 1);
}

.rd-burger-box > span:nth-child(1) { top: 0; }
.rd-burger-box > span:nth-child(2) { top: calc(50% - 1px); }
.rd-burger-box > span:nth-child(3) { top: calc(100% - 2px); }

/* The short middle bar is the one detail that makes it a designed mark rather
   than the default icon; it is also the one that leaves first. */
.rd-burger-box > span:nth-child(2) { width: 70%; left: auto; right: 0; }

html.rd-mnav-open .rd-burger-box > span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
html.rd-mnav-open .rd-burger-box > span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
html.rd-mnav-open .rd-burger-box > span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

/* ----------------------------------------------------------- drawer --- */

.rd-mnav {
	position: fixed;
	top: var(--rd-headroom, 4.25rem);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 49;
	/* ⚠️ CLIPS THE PARKED PANEL. Closed, the panel sits at translateX(100%), just
	   past the right edge -- and even hidden it widened the document's scroll area
	   (measured: 1201px of scroll width in a 993px viewport on every page), which
	   is exactly what lets iOS Safari pan a page sideways despite html's
	   overflow-x:hidden. */
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
	/* Hidden only after the slide-out has finished. */
	transition: visibility 0s linear .32s;
}

html.rd-mnav-open .rd-mnav {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

/* The page does not scroll under an open drawer. */
html.rd-mnav-open,
html.rd-mnav-open body { overflow: hidden; }

.rd-mnav-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 14, .62);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .32s ease;
}

html.rd-mnav-open .rd-mnav-backdrop { opacity: 1; }

.rd-mnav-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(25rem, 100%);
	box-sizing: border-box;
	padding: .75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	border-left: 1px solid var(--rd-d-rule);
	/* The panel family's eggplant corner, bottom left here, over the header's navy. */
	background:
		radial-gradient(90% 60% at 0% 100%, rgba(153, 60, 169, .20) 0, rgba(153, 60, 169, 0) 62%),
		radial-gradient(80% 50% at 100% 0%, rgba(42, 165, 245, .12) 0, rgba(42, 165, 245, 0) 60%),
		var(--rd-hero-2);
	box-shadow: -24px 0 60px -24px rgba(0, 0, 0, .7);
	transform: translateX(100%);
	transition: transform .32s cubic-bezier(.2, .8, .3, 1);
}

html.rd-mnav-open .rd-mnav-panel { transform: none; }

@media only screen and (max-width: 560px) {
	.rd-mnav-panel { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.rd-mnav-panel,
	.rd-mnav-backdrop,
	.rd-burger-box > span { transition: none; }
}

/* ------------------------------------------------------------ list ---- */

.rd-mnav-nav { flex: 1 0 auto; }

.rd-mnav-list,
.rd-mnav-list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rd-mnav-list > li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	margin: 0;
	border-bottom: 1px solid var(--rd-d-rule);
}

.rd-mnav-list a {
	display: block;
	text-decoration: none;
}

.rd-mnav-list > li > a {
	padding: 1rem .25rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: var(--rd-d-ink);
	transition: color .18s ease, text-shadow .18s ease;
}

.rd-mnav-list > li > a:hover,
.rd-mnav-list .sub-menu a:hover {
	color: var(--rd-blue-hi);
	text-shadow: var(--rd-hover-glow-text);
}

/* style.css:558 paints `li.current-menu-item { background: #009900 }` on EVERY
   list, not just the old nav -- the current page's row turned bright green. */
.rd-mnav-list li,
.rd-mnav-list li.current-menu-item { background: none; }

/* Where you are. Colour only, like the desktop row's current item. */
.rd-mnav-list .current-menu-item > a,
.rd-mnav-list .current_page_item > a { color: var(--rd-blue-hi); }

.rd-mnav-tog {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--rd-ghost-edge);
	border-radius: 10px;
	background: rgba(122, 180, 230, .045);
	color: #DCE9F5;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rd-mnav-tog:hover,
.rd-mnav-tog:focus-visible {
	background: var(--rd-ghost-fill);
	border-color: var(--rd-hover-edge);
	box-shadow: var(--rd-hover-glow);
}

/* The chevron takes the icon ramp, like every other glyph on the site. */
.rd-mnav-tog svg {
	display: block;
	stroke: url(#rd-icn-grad) var(--rd-blue-hi);
	transition: transform .22s ease;
}

.rd-mnav-list li.is-open > .rd-mnav-tog svg { transform: rotate(180deg); }

.rd-mnav-list .sub-menu {
	display: none;
	grid-column: 1 / -1;
	margin: -.25rem 0 .875rem .25rem;
	padding-left: .875rem;
	border-left: 1px solid rgba(42, 165, 245, .3);
}

.rd-mnav-list li.is-open > .sub-menu { display: block; }

.rd-mnav-list .sub-menu li { margin: 0; }

.rd-mnav-list .sub-menu a {
	padding: .5rem .25rem;
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--rd-d-strong);
	transition: color .18s ease, text-shadow .18s ease;
}

/* ------------------------------------------------------------ foot ---- */

.rd-mnav-foot {
	padding-top: 1.5rem;
}

.rd-mnav .rd-mnav-cta {
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

.rd-mnav-rg {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 1rem 0 0;
	font-size: .75rem;
	line-height: 1.4;
	color: var(--rd-d-muted);
}

.rd-mnav-rg span {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 1.5px solid var(--rd-blue);
	border-radius: 50%;
	font-size: .625rem;
	font-weight: 700;
	color: var(--rd-blue-hi);
}

/* ================================================ mobile & tablet pass ====
 *
 * 2026-09-23. Found by a geometry audit of every page at 520 / 768 / 1024 plus
 * full-page captures of each template, not by guessing. Collected in one block
 * at the foot of the file so it outranks the rules it adjusts at equal
 * specificity and can be read (or reverted) as one change.
 * ------------------------------------------------------------------------- */

/* --- A. The comparison table on ONE line on tablets ----------------------
 * style.css:2002 stacks the rows at <=1024 (cells to 40/60 via data-m-*),
 * which on an 820px tablet left each row a tall two-storey card with a lot of
 * empty space. There is room for the desktop row -- logo | bonus | rating |
 * button -- down to 641px, so the stacking now starts at the phone width. */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
	.ctable td,
	.ctable[data-m-40*="1"] td:first-child,
	.ctable[data-m-40*="3"] td:nth-child(3),
	.ctable[data-m-60*="2"] td:nth-child(2),
	.ctable[data-m-60*="4"] td:nth-child(4) { flex-basis: 25%; max-width: 25%; }

	/* The bonus cell carries the longest line ("CHF 2'200 + 200 Freispiele"), so
	   it takes the extra width; the rating ring needs the least. */
	#primary.site-content .ctable td:nth-child(1) { flex-basis: 24%; max-width: 24%; }
	#primary.site-content .ctable td:nth-child(2) { flex-basis: 32%; max-width: 32%; }
	#primary.site-content .ctable td:nth-child(3) { flex-basis: 18%; max-width: 18%; }
	#primary.site-content .ctable td:nth-child(4) { flex-basis: 26%; max-width: 26%; }

	#primary.site-content .ctable td.tnc { flex-basis: 100%; max-width: none; }
}

/* --- B. The six criteria cards ------------------------------------------
 * On a phone each card was ~240px of centred icon, heading and one line of
 * copy -- about 1,400px of scrolling for six short points; on an 820px tablet
 * three tall rows of two. Icon left, text right, left-aligned, up to 900px:
 * the same six points in roughly a third of the height. (Three columns on
 * tablets was tried first and saved nothing -- narrower cards just wrap
 * their copy onto more lines.) Two columns stay on tablets; one on phones.
 * Every .rd-cards grid, not just the criteria strip: About's four principles
 * are the same component with the same problem. */
@media (max-width: 900px) {
	.rd-dark #primary.site-content .rd-cards .rd-card,
	#primary.site-content .rd-cards .rd-card {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas: "icn h" "icn p";
		column-gap: .875rem;
		row-gap: .25rem;
		align-items: start;
		padding: 1rem 1.125rem;
		text-align: left;
	}

	#primary.site-content .rd-cards .rd-card .rd-icn { grid-area: icn; align-self: start; margin: 0; }
	#primary.site-content .rd-cards .rd-card h3 { grid-area: h; margin: .125rem 0 0; }
	#primary.site-content .rd-cards .rd-card p { grid-area: p; margin: 0; }
}

/* --- C. The hero art on a phone ------------------------------------------
 * 22rem square put the first comparison row ~975px down, below the fold on
 * every phone. 17rem keeps the hand-and-cards picture and brings the table up
 * by about 70px; the art stays centred. */
@media (max-width: 560px) {
	.rd-art { max-width: 17rem; }
}

/* --- D. The slot hub's operator strip ------------------------------------
 * At <=560 the three columns become rows (see the slot-hub block), but a row of
 * plate + number + two labels in one line left "über 1'000" breaking in two
 * and the labels squeezed into a sliver. Plate on the left across both lines,
 * the number on top, the two labels under it. */
@media (max-width: 560px) {
	#primary.site-content .rd-slot-op {
		display: grid;
		grid-template-columns: auto auto minmax(0, 1fr);
		grid-template-areas: "plate n n" "plate u s";
		align-items: center;
		column-gap: .75rem;
		row-gap: .125rem;
	}

	#primary.site-content .rd-slot-op .rd-payplate { grid-area: plate; }
	#primary.site-content .rd-slot-op .rd-slot-n { grid-area: n; }
	#primary.site-content .rd-slot-op .rd-slot-u { grid-area: u; }
	#primary.site-content .rd-slot-op .rd-slot-s { grid-area: s; }
}

/* --- E. The "compare" cards: one per row on a phone ----------------------
 * auto-fit minmax(200px) gave two narrow columns at phone width and left the
 * third operator alone on a half-width row. */
@media (max-width: 560px) {
	#primary.site-content .rd-compare { grid-template-columns: minmax(0, 1fr); }
}

/* --- F. The review score as a band on a phone ----------------------------
 * The score moves above the logo on a phone (deliberately -- see the 640 block
 * in the review section) but kept its desktop box, so it sat in the left half
 * with the right half empty. Full width, number on the left, word / meter /
 * "von 10" beside it. The meter gets MORE room than before, which is what the
 * min-width floor there exists to protect. Casino reviews only: the studio and
 * slot heroes put different children in this box. */
@media (max-width: 640px) {
	#primary.site-content .rd-rev > .rd-rev-score {
		justify-self: stretch;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas: "num word" "num meter" "num max";
		align-items: center;
		column-gap: 1rem;
		row-gap: .25rem;
		min-width: 0;
		text-align: left;
	}

	#primary.site-content .rd-rev > .rd-rev-score .rd-rev-num   { grid-area: num; }
	#primary.site-content .rd-rev > .rd-rev-score .rd-rev-word  { grid-area: word; margin: 0; }
	#primary.site-content .rd-rev > .rd-rev-score .rd-rev-meter { grid-area: meter; margin: 0; }
	#primary.site-content .rd-rev > .rd-rev-score .rd-rev-max   { grid-area: max; margin: 0; }
}

/* --- G. The bonus staircase on a phone -----------------------------------
 * The bars go below 560 (see the staircase block) but the cumulative label
 * stayed where the bar's top had been: a tiny right-aligned "CHF 400" floating
 * above each card. It is kept -- it is the running total -- but reads as part
 * of its step now, and the four steps sit 2 x 2 instead of one tall column. */
@media (max-width: 560px) {
	.rd-dark #primary.site-content .rd-stair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rd-dark #primary.site-content .rd-riserbox { justify-content: flex-start; padding: 0 .125rem .375rem; }
	.rd-dark #primary.site-content .rd-riserlab { font-size: .75rem; letter-spacing: .04em; }
}

@media (max-width: 360px) {
	.rd-dark #primary.site-content .rd-stair { grid-template-columns: minmax(0, 1fr); }
}

/* --- H. The micro-labels, readable on phones and tablets -----------------
 * The theme's html { font-size: 90.5% } makes 1rem 14.48px, so the site's
 * .5625-.75rem labels come out at 8.1-10.9px: fine as desktop detail, hard to
 * read on a phone, and under the 12px floor mobile audits flag. Raising the root
 * would rescale every length on the site; instead each tier steps up one notch
 * below 1180px -- tablets in landscape (1024) are read at the same distance as
 * in portrait. Measured list, not a guess -- see the audit in the commit. */
@media (max-width: 1180px) {
	/* 8.1px -> 10.9px */
	.rd-dark #primary.site-content .entry-content :is(.rd-moreslot-rtp span, .rd-tile > span) { font-size: .75rem; }

	/* 9.05 / 9.96px -> 10.9px */
	.rd-dark #primary.site-content :is(
		.rd-cmp-score > span, .rd-disclose-v, .rd-moreslot-m, .rd-paycard-o,
		.rd-title-go, .rd-title-m, .rd-rev-rmain, .rd-stepn, .rd-termq,
		.rd-dsg-art, .rd-ring-max, .rd-lbadge, .rd-rtp-th i, .rd-rtp-dot i,
		.rd-eyebrow, .rd-nodet, .rd-payop-s, .rd-paypill b, .rd-slotrev-lab,
		.rd-rev-word, .rd-payops-t, .rd-moreslots-t, .rd-slot-u, .rd-slot-s,
		.rd-kicker, .rd-stairsum span, .cntctfrm_label label
	) { font-size: .75rem; }

	/* 10.9px -> 11.8px */
	.rd-dark #primary.site-content :is(
		.rd-pay-facts li > b, .rd-cmp-badge, .rd-jump-t, .rd-paycard-m,
		.rd-disclose-t, .rd-smap-t small, .rd-titles-t, .rd-imp-t, .rd-score-ht,
		.rd-rtp-t, .rd-studios-t, .rd-404-eyebrow, .rd-404-navt
	) { font-size: .8125rem; }

	/* Found by the re-audit: labels the lists above missed, or reached at a
	   lower specificity than their own rule. */
	.rd-dark #primary.site-content .entry-content :is(
		.rd-lawfact > span, .rd-rtp-ax > span, .rd-lscore > span,
		.rd-help > span, .rd-fbody > span, .rd-rev-rsub, .rd-riserlab
	) { font-size: .75rem; }

	.rd-dark #primary.site-content .ctable .rd-ring-max { font-size: .75rem; }

	/* The hero's eyebrow is outside #primary. */
	.rd-dark .rd-htext .rd-eyebrow { font-size: .75rem; }
}

/* --- I. Tap targets ------------------------------------------------------
 * Sitemap rows: the padding was on the <li>, so the link itself was a 21px
 * strip of text. Moved onto the <a>, so the whole row is the target. */
.rd-dark #primary.site-content .rd-smap li { padding: 0; }
.rd-dark #primary.site-content .rd-smap li a { display: block; padding: .625rem 0 .625rem 1.125rem; }

/* Small inline links inside tables and fact lists (studio names in the matrix,
   the fact grids, the imprint's e-mail): ~18px tall. Padding enlarges the tap
   area and the equal negative margin cancels it, so no text moves. */
@media (max-width: 1180px) {
	#primary.site-content :is(.rd-mx-n, .rd-facts, .rd-imp-facts, .rd-pay-facts, .rd-rev-rmain, .rd-smap-t) a {
		display: inline-block;
		padding-block: .5rem;
		margin-block: -.5rem;
	}

	/* The wordmark link: 30px tall in a 68px bar. */
	#masthead .rd-logo a { padding-block: .5rem; }
}

/* --- J. Slot rails as a grid, not a scroller (client's call) --------------
 * Below 900px the "Weitere Spielautomaten" / "im Einzeltest" rail stops being a
 * drifting, draggable scroller and becomes a static grid: every card visible,
 * nothing to swipe. js/slot-marquee.js reads the SAME breakpoint and stops its
 * drift there (it drives a transform, which would otherwise keep sliding a
 * track that no longer scrolls). The duplicated loop sets are hidden, exactly
 * as the reduced-motion rule above does. Keep the 900 in both files in step. */
@media (max-width: 900px) {
	#primary.site-content .rd-mq {
		margin: 0;
		padding: 0;
		overflow: visible;
		cursor: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	#primary.site-content .rd-mq-track {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .875rem;
		width: auto;
		transform: none !important;
	}

	#primary.site-content .rd-mq .rd-moreslot {
		flex: none;
		margin: 0;
		-webkit-user-select: auto;
		user-select: auto;
	}

	#primary.site-content .rd-mq [aria-hidden="true"].rd-moreslot { display: none; }
}

@media (max-width: 420px) {
	#primary.site-content .rd-mq-track { grid-template-columns: minmax(0, 1fr); }
}

/* --- K. The matrices as cards on a phone (client's call) ------------------
 * Hersteller and Zahlungsmethoden: below 761px the table no longer scrolls
 * sideways at a 640px floor. Each row becomes a card -- the method or studio
 * as its title, then one line per column, its header on the left (from the
 * data-label rd_mx_labels() copies onto every cell) and the answer on the
 * right. The header row itself is hidden: every card now carries it. */
/* Between the card layout and ~690px the table's 640px floor was wider than
   the column, so it still scrolled there. The floor goes; the table fits. */
@media (max-width: 900px) {
	#primary.site-content table.rd-mx { overflow: visible; }
	#primary.site-content table.rd-mx tbody { min-width: 0; }
	#primary.site-content table.rd-mx td.rd-mx-m { min-width: 0; }
}

/* 760, not 640: measured at 660 both tables were still 35-105px wider than the
   column even without the floor; from 768 they fit as tables. */
@media (max-width: 760px) {
	#primary.site-content table.rd-mx {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: none;
	}

	#primary.site-content table.rd-mx tbody {
		display: grid;
		gap: .75rem;
		min-width: 0;
	}

	#primary.site-content table.rd-mx tr:first-child { display: none; }

	#primary.site-content table.rd-mx tr {
		display: block;
		padding: .25rem 1rem .5rem;
		border: 1px solid var(--rd-d-rule);
		border-radius: 14px;
		background: var(--rd-d-2);
	}

	#primary.site-content table.rd-mx tbody tr:not(:first-child):hover { background: var(--rd-d-2); }

	#primary.site-content table.rd-mx td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: .5rem 0;
		border-bottom: 1px solid var(--rd-d-rule);
		white-space: normal;
		text-align: right;
	}

	#primary.site-content table.rd-mx tr td:last-child { border-bottom: 0; }

	#primary.site-content table.rd-mx td[data-label]::before {
		content: attr(data-label);
		flex: none;
		max-width: 50%;
		font-size: .75rem;
		font-weight: 600;
		letter-spacing: .04em;
		text-transform: uppercase;
		text-align: left;
		color: var(--rd-d-muted);
	}

	/* The title line: plate + name, left-aligned, no label. */
	#primary.site-content table.rd-mx td.rd-mx-m {
		justify-content: flex-start;
		min-width: 0;
		padding: .75rem 0;
		text-align: left;
	}

	#primary.site-content table.rd-mx td.rd-mx-a { white-space: nowrap; }

	/* The label takes the free space, so the answer's icon and word stay
	   together on the right instead of spreading across the row. */
	#primary.site-content table.rd-mx td[data-label]::before { margin-right: auto; }
	#primary.site-content table.rd-mx td.rd-mx-a { gap: 0; }

	/* The payments matrix: four short answers per method, so they sit 2 x 2,
	   label above value -- a third less height per card than one per line.
	   The studio matrix keeps one line each: its values are sentences. */
	#primary.site-content table.rd-mx:not(.rd-mx-studio) tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1rem;
	}

	#primary.site-content table.rd-mx:not(.rd-mx-studio) td.rd-mx-m { grid-column: 1 / -1; }

	/* Restated: the grid rule above outranks the plain header hide. */
	#primary.site-content table.rd-mx:not(.rd-mx-studio) tr:first-child { display: none; }

	#primary.site-content table.rd-mx:not(.rd-mx-studio) td.rd-mx-a {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		row-gap: .25rem;
		text-align: left;
		border-bottom: 0;
		padding: .5rem 0;
	}

	#primary.site-content table.rd-mx:not(.rd-mx-studio) td.rd-mx-a::before {
		grid-column: 1 / -1;
		max-width: none;
		margin: 0;
	}
}

/* --- L. The hero logos centred once the hero is one column ---------------
 * Once the review, payment and studio heroes collapse to one column, the logo
 * plate was the only thing in the panel still hugging the left edge -- the
 * score band, the CTA and the fact grid all run the full width around it. It
 * is centred in its own row; the verdict sentence under the casino logo stays
 * left-aligned, as body copy. Slot reviews too: their plate is game art, a
 * flex box rather than a text line, so it centres by justify-content.
 *
 * TWO BREAKPOINTS BECAUSE THE PANELS COLLAPSE AT TWO WIDTHS: .rd-rev at 640,
 * .rd-pay (which the studio and slot heroes also are) at 720. Above 640 the casino logo
 * still sits beside its score and must not be centred. */
@media (max-width: 720px) {
	#primary.site-content .rd-pay-id,
	#primary.site-content .rd-studiorev .rd-slotrev-id { text-align: center; }
	#primary.site-content .rd-slotrev-art { justify-content: center; }

	/* The studio count and slot RTP plates kept their desktop justify-self:end,
	   which left them in the right half over a now-centred logo. Full width,
	   like the casino score band above its logo. */
	#primary.site-content :is(.rd-studiorev-open, .rd-slotrev-rtp) { justify-self: stretch; min-width: 0; }
}

@media (max-width: 640px) {
	#primary.site-content .rd-rev-id ._logo { display: flex; justify-content: center; }
}

/* --- M. The slot rail's cards centred once it is a grid -------------------
 * Same breakpoint as J: below 900px the rail is a static grid of cards, and
 * each card centres its art, name, meta, RTP, blurb and "Zum Test" link, as
 * does the rail's own heading. Above 900 it is a drifting scroller and stays
 * left-aligned. */
@media (max-width: 900px) {
	#primary.site-content .rd-moreslots-t { justify-content: center; }
	#primary.site-content .rd-moreslot { text-align: center; }
	#primary.site-content :is(.rd-moreslot-art, .rd-moreslot-rtp) { justify-content: center; }

	/* In a narrow card the "RTP, Standardversion" label wrapped beside the
	   figure as a ragged two-line block; it drops under it instead. */
	#primary.site-content .rd-moreslot-rtp { flex-wrap: wrap; row-gap: .125rem; }

	/* An odd last card (three games in two columns) was stranded in the left
	   column. It moves to the middle, at one column's width. The hidden loop
	   copies are excluded from the count, or "last" would be one of them. */
	#primary.site-content .rd-mq-track > .rd-moreslot:nth-child(odd of .rd-moreslot:not([aria-hidden="true"])):nth-last-child(1 of .rd-moreslot:not([aria-hidden="true"])) {
		grid-column: 1 / -1;
		justify-self: center;
		box-sizing: border-box;
		width: calc(50% - .4375rem);
	}
}

/* One column: nothing to centre it against, so it takes the full width. */
@media (max-width: 420px) {
	#primary.site-content .rd-mq-track > .rd-moreslot { width: auto; }
}
