/*
Theme Name: Reelbook
Description: A field guide to legal betting in South Africa: bookmaker scorecards, slot spec cards and lottery results. Requires the reelbook-core mu-plugin.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: reelbook
*/

@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("assets/fonts/public-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--rb-paper: #f6f1e6;
	--rb-paper-2: #ece4d2;
	--rb-sheet: #fffdf8;
	--rb-ink: #16181a;
	--rb-muted: #50564f;
	--rb-green: #123d2f;
	--rb-green-2: #1d5743;
	--rb-green-3: #e3ece5;
	--rb-gold: #e9a425;
	--rb-gold-soft: #f8e3b3;
	--rb-line: #d6cab0;
	--rb-red: #9a2b1d;
	--rb-red-soft: #f6e0d8;
	--rb-display: "Fraunces", Georgia, "Times New Roman", serif;
	--rb-text: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--rb-gutter: 16px;
	--rb-max: 70rem;
	--rb-read: 44rem;
	--rb-r: 10px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
	margin: 0;
	background: var(--rb-paper);
	color: var(--rb-ink);
	font: 400 1.0625rem/1.62 var(--rb-text);
	overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--rb-green-2); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rb-green); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rb-gold); outline-offset: 2px; border-radius: 3px; }
.rb-main:focus { outline: none; }
h1, h2, h3 { font-family: var(--rb-display); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; color: var(--rb-green); }
h3 { font-size: 1.2rem; }
small { font-size: 0.85em; }
.rb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.rb-num, .rb-strip dd, .rb-spec dd, .rb-calc__out dd, .rb-rank__table, .rb-feed__table { font-variant-numeric: tabular-nums lining-nums; }

.rb-wrap { width: 100%; max-width: var(--rb-max); margin: 0 auto; padding: 0 var(--rb-gutter); }

/* skip link */
.rb-skip { position: absolute; left: var(--rb-gutter); top: -4rem; z-index: 50; background: var(--rb-gold); color: var(--rb-ink); padding: 0.6rem 1rem; font-weight: 700; border-radius: 0 0 8px 8px; text-decoration: none; }
.rb-skip:focus { top: 0; }

/* masthead */
.rb-masthead { background: var(--rb-green); color: var(--rb-paper); border-bottom: 4px solid var(--rb-gold); }
.rb-masthead__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.rb-brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--rb-paper); text-decoration: none; min-width: 0; }
.rb-brand:hover { color: #fff; }
.rb-brand__mark { color: #0b2a20; flex: none; }
.rb-brand__txt { display: flex; flex-direction: column; min-width: 0; }
.rb-brand__name { font-family: var(--rb-display); font-size: 1.35rem; line-height: 1.1; }
.rb-brand__tag { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--rb-gold-soft); }
.rb-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.rb-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0.2rem; justify-content: flex-end; }
.rb-nav__list a { display: block; padding: 0.45rem 0.65rem; color: var(--rb-paper); text-decoration: none; font-weight: 700; font-size: 0.95rem; border-radius: 6px; }
.rb-nav__list a:hover, .rb-nav__list a[aria-current] { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 -3px 0 var(--rb-gold); }
.rb-nav__toggle { display: none; align-items: center; gap: 0.5rem; background: transparent; color: var(--rb-paper); border: 1.5px solid rgba(246, 241, 230, 0.55); border-radius: 8px; padding: 0.5rem 0.8rem; font: 700 0.95rem var(--rb-text); cursor: pointer; min-height: 44px; }
.rb-nav__icon, .rb-nav__icon::before, .rb-nav__icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.rb-nav__icon::before, .rb-nav__icon::after { content: ""; position: absolute; left: 0; }
.rb-nav__icon::before { top: -6px; }
.rb-nav__icon::after { top: 6px; }
@media (max-width: 860px) {
	.rb-js .rb-nav__toggle:not([hidden]) { display: inline-flex; }
	.rb-js .rb-nav { flex: 0 0 auto; }
	.rb-js .rb-nav__panel { display: none; }
	.rb-js .rb-nav.is-open { flex: 1 0 100%; flex-direction: column; }
	.rb-js .rb-nav.is-open .rb-nav__toggle { align-self: flex-end; }
	.rb-js .rb-nav.is-open .rb-nav__panel { display: block; width: 100%; padding: 0.5rem 0 0.25rem; }
	.rb-nav__list { justify-content: flex-start; }
	.rb-js .rb-nav__list { flex-direction: column; }
	.rb-js .rb-nav__list a { padding: 0.75rem 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0; }
	.rb-brand__tag { display: none; }
}

/* page frame */
.rb-main { display: block; padding: 1rem 0 3rem; }
.rb-page { display: block; }
.rb-page > * { max-width: var(--rb-read); }
.rb-page > .rb-rank, .rb-page > .rb-review-top, .rb-page > .rb-slot-layout, .rb-page > .rb-strip, .rb-page > .rb-sect, .rb-page > .rb-calc, .rb-page > .rb-offer, .rb-page > .rb-nrgp { max-width: none; }

/* breadcrumbs */
.rb-crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0; font-size: 0.875rem; color: var(--rb-muted); }
.rb-crumbs li { display: inline-flex; align-items: center; }
.rb-crumbs li + li::before { content: "/"; margin: 0 0.45rem; color: var(--rb-line); font-weight: 700; }
.rb-crumbs a { color: var(--rb-muted); padding: 0.2rem 0; }

/* head */
.rb-head { margin: 0 0 1.5rem; }
.rb-head__kicker { margin: 0 0 0.4rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rb-green-2); display: inline-flex; align-items: center; gap: 0.5rem; }
.rb-head__kicker::before { content: ""; width: 1.4rem; height: 4px; background: var(--rb-gold); border-radius: 2px; }
.rb-head__h1 { font-size: clamp(1.85rem, 1.3rem + 2.6vw, 2.9rem); margin: 0 0 0.6rem; }
.rb-head__lead { font-size: 1.15rem; line-height: 1.55; margin: 0 0 1rem; color: #2c312c; }
.rb-head--home .rb-head__h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.3rem); }
.rb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; font-size: 0.9rem; color: var(--rb-muted); border-top: 1px solid var(--rb-line); padding-top: 0.75rem; }
.rb-byline__who { display: inline-flex; align-items: center; gap: 0.6rem; }
.rb-byline__who > span { display: flex; flex-direction: column; line-height: 1.3; }
.rb-byline__by { color: var(--rb-ink); font-weight: 700; }
.rb-byline__role { font-size: 0.82rem; }
.rb-avatar { flex: none; }
.rb-avatar text { font-family: var(--rb-text); }

/* prose */
.rb-prose { font-size: 1.0625rem; }
.rb-prose > :first-child { margin-top: 0; }
.rb-prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); margin: 2.4rem 0 0.8rem; padding-top: 0.2rem; }
.rb-prose h3 { margin: 1.8rem 0 0.5rem; }
.rb-prose p, .rb-prose ul, .rb-prose ol { margin: 0 0 1.05rem; }
.rb-prose ul, .rb-prose ol { padding-left: 1.35rem; }
.rb-prose li { margin-bottom: 0.35rem; }
.rb-prose li::marker { color: var(--rb-green-2); font-weight: 700; }
.rb-prose blockquote { margin: 1.5rem 0; padding: 0.9rem 1.1rem; background: var(--rb-sheet); border-left: 4px solid var(--rb-gold); border-radius: 0 var(--rb-r) var(--rb-r) 0; }
.rb-prose blockquote p:last-child { margin-bottom: 0; }
.rb-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.25rem 0 1.5rem; border: 1px solid var(--rb-line); border-radius: var(--rb-r); background: var(--rb-sheet); }
.rb-scroll table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.rb-scroll th, .rb-scroll td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--rb-paper-2); vertical-align: top; }
.rb-scroll thead th { background: var(--rb-green); color: var(--rb-paper); font-weight: 700; white-space: nowrap; }
.rb-scroll tbody tr:last-child > * { border-bottom: 0; }
.rb-scroll caption { text-align: left; padding: 0.6rem 0.75rem; font-weight: 700; color: var(--rb-green); }

/* buttons, codes, chips */
.rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; padding: 0.55rem 1.1rem; background: var(--rb-gold); color: var(--rb-ink); border: 2px solid var(--rb-gold); border-radius: 999px; font: 700 0.98rem/1.2 var(--rb-text); text-decoration: none; white-space: nowrap; cursor: pointer; }
.rb-btn::after { content: ""; width: 0.45em; height: 0.45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.rb-btn:hover { background: #f2b440; color: var(--rb-ink); text-decoration: none; }
.rb-btn--sm { min-height: 40px; padding: 0.4rem 0.9rem; font-size: 0.9rem; }
.rb-btn--ghost { background: transparent; border-color: var(--rb-green-2); color: var(--rb-green); }
.rb-btn--ghost::after { display: none; }
.rb-btn--ghost:hover { background: var(--rb-green-3); }
.rb-more { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.rb-code { display: inline-block; font-size: 0.85rem; color: var(--rb-muted); }
.rb-code b { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--rb-ink); background: var(--rb-gold-soft); border: 1px dashed #b98314; border-radius: 4px; padding: 0.05rem 0.4rem; }
.rb-chip { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; padding: 0.15rem 0.55rem; border-radius: 999px; }
.rb-chip--ok { background: var(--rb-green-3); color: var(--rb-green); }
.rb-chip--warn { background: var(--rb-red-soft); color: var(--rb-red); }
.rb-chip--off { background: var(--rb-paper-2); color: var(--rb-muted); }
.rb-nil { color: var(--rb-muted); }
.rb-tags { list-style: none; padding: 0; margin: 0.25rem 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.rb-tags li { font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.55rem; border: 1px solid var(--rb-line); border-radius: 4px; background: var(--rb-paper); }

/* score meter: number, five segments, word */
.rb-meter { display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "num word" "bar bar"; align-items: baseline; gap: 0.15rem 0.5rem; }
.rb-meter__num { grid-area: num; font-variant-numeric: tabular-nums; color: var(--rb-green); white-space: nowrap; }
.rb-meter__num b { font-family: var(--rb-display); font-weight: 600; font-size: 1.35rem; }
.rb-meter__num small { color: var(--rb-muted); font-weight: 700; margin-left: 0.1rem; }
.rb-meter__word { grid-area: word; white-space: nowrap; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rb-muted); }
.rb-meter__bar { grid-area: bar; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; width: 100%; min-width: 7rem; }
.rb-meter__bar i { display: block; height: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--rb-gold) calc(var(--f) * 100%), var(--rb-paper-2) 0); box-shadow: inset 0 0 0 1px rgba(18, 61, 47, 0.12); }
.rb-meter--l .rb-meter__num b { font-size: 2.6rem; line-height: 1; }
.rb-meter--l .rb-meter__bar { min-width: 11rem; }
.rb-meter--l .rb-meter__bar i { height: 10px; }
.rb-meter--s .rb-meter__num b { font-size: 1.15rem; }
.rb-meter--none { font-size: 0.85rem; color: var(--rb-muted); }

/* ranking: table on wide screens, stacked cards on small ones */
.rb-rank { margin: 1.5rem 0 2.25rem; }
.rb-rank__head { margin-bottom: 0.75rem; }
.rb-rank__title { font-size: 1.5rem; margin: 0 0 0.25rem; }
.rb-rank__note, .rb-rank__foot { font-size: 0.875rem; color: var(--rb-muted); margin: 0; }
.rb-rank__foot { margin-top: 0.75rem; }
.rb-rank__table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--rb-sheet); border: 1px solid var(--rb-line); border-radius: var(--rb-r); overflow: hidden; }
.rb-rank__table thead th { background: var(--rb-green); color: var(--rb-paper); text-align: left; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.65rem 0.75rem; }
.rb-rank__table td, .rb-rank__table tbody th { padding: 0.8rem 0.75rem; border-top: 1px solid var(--rb-paper-2); text-align: left; vertical-align: middle; font-weight: 400; }
.rb-rank__table tbody tr:first-child > * { border-top: 0; }
.rb-rank__table tbody tr:nth-child(1) .rb-pos { background: var(--rb-gold); color: var(--rb-ink); border-color: var(--rb-gold); }
.rb-pos { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--rb-green); color: var(--rb-green); font-weight: 700; }
.rb-opcell { display: flex; align-items: center; gap: 0.6rem; }
.rb-opcell__n a { font-weight: 700; color: var(--rb-ink); }
.rb-col-go { text-align: right !important; }
@media (max-width: 760px) {
	.rb-rank__table, .rb-rank__table tbody, .rb-rank__table tr, .rb-rank__table td, .rb-rank__table tbody th { display: block; }
	.rb-rank__table { background: transparent; border: 0; overflow: visible; }
	.rb-rank__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
	.rb-rank__table tr { display: grid; grid-template-columns: auto 1fr; gap: 0 0.75rem; background: var(--rb-sheet); border: 1px solid var(--rb-line); border-radius: var(--rb-r); padding: 0.8rem; margin-bottom: 0.75rem; }
	.rb-rank__table tbody tr:first-child { border: 2px solid var(--rb-gold); }
	.rb-rank__table td, .rb-rank__table tbody th { border: 0; padding: 0.3rem 0; }
	.rb-rank__table .rb-col-pos { grid-row: 1; grid-column: 1; align-self: center; }
	.rb-rank__table .rb-col-op { grid-row: 1; grid-column: 2; }
	.rb-rank__table .rb-col-score, .rb-rank__table .rb-col-bonus, .rb-rank__table .rb-col-pay, .rb-rank__table .rb-col-go { grid-column: 1 / -1; }
	.rb-rank__table .rb-col-bonus::before, .rb-rank__table .rb-col-pay::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-muted); }
	.rb-rank__table .rb-col-score { border-top: 1px dashed var(--rb-line); margin-top: 0.4rem; padding-top: 0.6rem; }
	.rb-rank__table .rb-col-go { text-align: left !important; padding-top: 0.6rem; }
	.rb-rank__table .rb-col-go .rb-btn { width: 100%; }
}

/* monogram / logo badge */
.rb-badge { display: inline-grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: 12px; overflow: hidden; background: var(--rb-sheet); border: 1px solid var(--rb-line); }
.rb-badge img { width: 100%; height: 100%; object-fit: contain; }
.rb-badge--s { width: 2.4rem; height: 2.4rem; border-radius: 8px; }
.rb-badge--mono { font-family: var(--rb-display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--rb-paper); border: 0; }
.rb-badge--s.rb-badge--mono { font-size: 0.95rem; }
.rb-badge--h0 { background: var(--rb-green); }
.rb-badge--h1 { background: #3a4a2a; }
.rb-badge--h2 { background: #6b3a1d; }

/* operator card */
.rb-card { background: var(--rb-sheet); border: 1px solid var(--rb-line); border-radius: var(--rb-r); padding: 1rem; margin: 1.5rem 0; box-shadow: 0 1px 0 var(--rb-line); }
.rb-card__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.75rem; }
.rb-card__name { margin: 0 0 0.2rem; font-size: 1.3rem; }
.rb-card__score { padding: 0.6rem 0; border-top: 1px dashed var(--rb-line); border-bottom: 1px dashed var(--rb-line); margin-bottom: 0.75rem; }
.rb-card__facts { margin: 0; display: grid; gap: 0; }
.rb-card__facts > div { display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; gap: 0.75rem; padding: 0.45rem 0; border-bottom: 1px solid var(--rb-paper-2); font-size: 0.93rem; }
.rb-card__facts dt { color: var(--rb-muted); }
.rb-card__facts dd { margin: 0; font-weight: 700; }
.rb-card__warn { margin: 0.75rem 0 0; padding: 0.6rem 0.75rem; background: var(--rb-red-soft); color: var(--rb-red); border-radius: 8px; font-size: 0.9rem; }
.rb-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1rem; }

/* review top: scorecard + card */
.rb-review-top { display: grid; gap: 1.25rem; margin: 0 0 2rem; align-items: start; }
.rb-review-top .rb-card { margin: 0; }
@media (min-width: 900px) { .rb-review-top { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.rb-score { background: var(--rb-green); color: var(--rb-paper); border-radius: var(--rb-r); padding: 1.25rem; }
.rb-score a { color: var(--rb-gold-soft); }
.rb-score__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(246, 241, 230, 0.25); }
.rb-score__h { color: var(--rb-gold); font-size: 0.85rem; font-family: var(--rb-text); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.rb-score .rb-meter__num, .rb-score .rb-meter__num small, .rb-score .rb-meter__word { color: var(--rb-paper); }
.rb-score .rb-meter__bar i { background: linear-gradient(90deg, var(--rb-gold) calc(var(--f) * 100%), rgba(246, 241, 230, 0.18) 0); box-shadow: none; }
.rb-score__sum { font-size: 1.1rem; margin: 0.9rem 0; }
.rb-score__pc { display: grid; gap: 1rem; }
@media (min-width: 560px) { .rb-score__pc { grid-template-columns: 1fr 1fr; } }
.rb-pc h3 { color: var(--rb-paper); font-family: var(--rb-text); font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 0.4rem; }
.rb-pc ul { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.rb-pc li { position: relative; padding-left: 1.4rem; margin-bottom: 0.4rem; }
.rb-pc li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.rb-pc--plus li::before { content: "+"; color: var(--rb-gold); }
.rb-pc--minus li::before { content: "-"; color: #f1a493; }
.rb-crit { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.9rem; }
.rb-crit caption { text-align: left; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rb-gold-soft); padding-bottom: 0.3rem; }
.rb-crit th { text-align: left; font-weight: 400; padding: 0.3rem 0.5rem 0.3rem 0; }
.rb-crit th small { opacity: 0.75; }
.rb-crit__bar { width: 38%; }
.rb-crit__bar span { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--rb-gold) var(--w), rgba(246, 241, 230, 0.18) 0); }
.rb-crit .rb-num { text-align: right; font-weight: 700; padding-left: 0.5rem; width: 2.5rem; }
.rb-score__how { font-size: 0.85rem; margin: 1rem 0 0; opacity: 0.9; }

.rb-alert { background: var(--rb-red-soft); color: var(--rb-red); border-left: 4px solid var(--rb-red); padding: 0.8rem 1rem; border-radius: 0 8px 8px 0; }

/* detail strip */
.rb-opstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; background: var(--rb-sheet); border: 1px solid var(--rb-line); border-radius: var(--rb-r); padding: 0.8rem 1rem; margin: 0 0 1.75rem; }
.rb-opstrip__id { display: flex; flex-direction: column; gap: 0.2rem; }
.rb-opstrip__n { font-family: var(--rb-display); font-size: 1.15rem; color: var(--rb-green); }
.rb-opstrip__go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-left: auto; }

/* slot spec card: a collector card */
.rb-slot-layout { display: grid; gap: 1.5rem; align-items: start; }
.rb-slot-layout > .rb-prose { max-width: var(--rb-read); }
@media (min-width: 900px) { .rb-slot-layout { grid-template-columns: minmax(0, 1fr) 20rem; } .rb-slot-layout .rb-slot-side { grid-column: 2; grid-row: 1; position: sticky; top: 1rem; } .rb-slot-layout .rb-prose { grid-column: 1; grid-row: 1; } .rb-slot-layout--plain { grid-template-columns: 1fr; } }
.rb-spec { position: relative; background: var(--rb-sheet); border: 2px solid var(--rb-green); border-radius: 16px; padding: 0.5rem; box-shadow: 6px 6px 0 var(--rb-gold); margin: 0 6px 6px 0; max-width: 24rem; }
.rb-spec__head { background: var(--rb-green); color: var(--rb-paper); border-radius: 10px; padding: 0.8rem 0.9rem 0.9rem; display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.5rem; }
.rb-spec__kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-gold); }
.rb-spec__prov { font-size: 0.75rem; text-align: right; color: var(--rb-gold-soft); }
.rb-spec__name { grid-column: 1 / -1; margin: 0.15rem 0 0; font-family: var(--rb-display); font-size: 1.55rem; line-height: 1.1; }
.rb-spec__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; margin: 0.5rem 0 0; }
.rb-spec__grid > div { background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: 8px; padding: 0.5rem 0.6rem; }
.rb-spec__grid dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-muted); }
.rb-spec__grid dd { margin: 0.1rem 0 0; font-family: var(--rb-display); font-size: 1.35rem; color: var(--rb-green); line-height: 1.15; font-variant-numeric: tabular-nums lining-nums; }
.rb-spec__vol { grid-column: 1 / -1; }
.rb-spec__vol dd { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 1.15rem; }
.rb-pips { display: inline-flex; gap: 3px; }
.rb-pips i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--rb-green); }
.rb-pips i.on { background: var(--rb-gold); border-color: #b5800f; }
.rb-spec__rows { margin: 0.5rem 0 0; padding: 0 0.35rem; }
.rb-spec__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dotted var(--rb-line); font-size: 0.9rem; }
.rb-spec__rows dt { color: var(--rb-muted); }
.rb-spec__rows dd { margin: 0; font-weight: 700; text-align: right; }
.rb-spec__feat { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.6rem 0 0; padding: 0 0.35rem; }
.rb-spec__feat li { font-size: 0.78rem; font-weight: 700; background: var(--rb-gold-soft); border-radius: 999px; padding: 0.15rem 0.6rem; }
.rb-spec__src { font-size: 0.78rem; color: var(--rb-muted); margin: 0.6rem 0.35rem 0.3rem; line-height: 1.45; }

/* lists of pages */
.rb-sect { margin: 2.25rem 0; }
.rb-sect__h { font-size: 1.45rem; margin: 0 0 0.9rem; }
.rb-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.rb-index a { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 0.85rem 1rem; background: var(--rb-sheet); border: 1px solid var(--rb-line); border-left: 4px solid var(--rb-green); border-radius: 0 var(--rb-r) var(--rb-r) 0; text-decoration: none; color: var(--rb-ink); }
.rb-index a:hover { border-left-color: var(--rb-gold); background: #fff; }
.rb-index__t { font-weight: 700; color: var(--rb-green); }
.rb-index__stats { font-size: 0.8rem; font-weight: 700; color: var(--rb-muted); font-variant-numeric: tabular-nums; }
.rb-index__d { font-size: 0.9rem; color: var(--rb-muted); }
.rb-chapters { list-style: none; counter-reset: ch; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.rb-chapters li { counter-increment: ch; }
.rb-chapters a { position: relative; display: block; height: 100%; padding: 1rem 1rem 1rem 3.6rem; background: var(--rb-sheet); border: 1px solid var(--rb-line); border-radius: var(--rb-r); text-decoration: none; color: var(--rb-ink); }
.rb-chapters a::before { content: counter(ch, decimal-leading-zero); position: absolute; left: 1rem; top: 0.95rem; font-family: var(--rb-display); font-size: 1.4rem; color: var(--rb-gold); font-variant-numeric: tabular-nums; }
.rb-chapters a:hover { border-color: var(--rb-green-2); }
.rb-chapters__t { display: block; font-family: var(--rb-display); font-size: 1.2rem; color: var(--rb-green); }
.rb-chapters__d { display: block; font-size: 0.9rem; color: var(--rb-muted); margin-top: 0.2rem; }
.rb-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rb-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.9rem; border: 1.5px solid var(--rb-green-2); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.rb-pills a:hover { background: var(--rb-green-3); }

/* home facts strip */
.rb-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 1px; margin: 0 0 1.5rem; background: var(--rb-line); border: 1px solid var(--rb-line); border-radius: var(--rb-r); overflow: hidden; }
.rb-strip > div { background: var(--rb-sheet); padding: 0.8rem 1rem; }
.rb-strip dt { font-size: 0.78rem; color: var(--rb-muted); }
.rb-strip dd { margin: 0.15rem 0 0; font-family: var(--rb-display); font-size: 1.7rem; color: var(--rb-green); line-height: 1.1; }

/* results feed */
.rb-feed { margin: 1.5rem 0 2rem; }
.rb-feed__latest { background: var(--rb-green); color: var(--rb-paper); border-radius: var(--rb-r); padding: 1.1rem 1.1rem 1.2rem; }
.rb-feed__kicker { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-gold); }
.rb-feed__when { margin: 0.2rem 0 0.8rem; font-family: var(--rb-display); font-size: 1.3rem; }
.rb-feed__jp { margin: 0.9rem 0 0; font-size: 0.95rem; }
.rb-feed__jp b { font-family: var(--rb-display); font-size: 1.3rem; color: var(--rb-gold-soft); margin-left: 0.3rem; font-variant-numeric: tabular-nums; }
.rb-feed__meta { font-size: 0.82rem; color: var(--rb-muted); margin: 0.6rem 0 0; }
.rb-balls { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.rb-ball { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--rb-paper); color: var(--rb-green); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.rb-ball--bonus { background: var(--rb-gold); color: var(--rb-ink); box-shadow: 0 0 0 3px rgba(233, 164, 37, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
.rb-balls__plus { font-weight: 700; color: var(--rb-gold); margin: 0 0.15rem; }
.rb-balls--s .rb-ball { width: 1.85rem; height: 1.85rem; font-size: 0.82rem; background: var(--rb-green); color: var(--rb-paper); box-shadow: none; }
.rb-balls--s .rb-ball--bonus { background: var(--rb-gold); color: var(--rb-ink); box-shadow: 0 0 0 2px var(--rb-sheet), 0 0 0 3.5px var(--rb-gold); }
.rb-balls--s .rb-balls__plus { color: var(--rb-muted); }
.rb-feed__table td { vertical-align: middle; }
.rb-feed__table td:first-child { min-width: 7.5rem; }
.rb-feed__table .rb-balls { flex-wrap: nowrap; gap: 0.25rem; }
@media (max-width: 520px) { .rb-feed__table .rb-col-draw, .rb-feed__table .rb-col-jp { display: none; } .rb-feed__table td:first-child { min-width: 0; } .rb-balls--s .rb-ball { width: 1.6rem; height: 1.6rem; font-size: 0.75rem; } .rb-balls--l .rb-ball { width: 2.3rem; height: 2.3rem; } }
.rb-feed__table small { display: block; color: var(--rb-muted); }
.rb-feedgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.rb-feedgrid__i { background: var(--rb-sheet); border: 1px solid var(--rb-line); border-top: 4px solid var(--rb-green); border-radius: var(--rb-r); padding: 0.85rem 0.9rem; }
.rb-feedgrid__t { margin: 0; font-size: 1.15rem; }
.rb-feedgrid__when { margin: 0.1rem 0 0.55rem; font-size: 0.85rem; color: var(--rb-muted); }

/* calculator */
.rb-calc { background: var(--rb-sheet); border: 2px solid var(--rb-green); border-radius: 14px; padding: 1.1rem; margin: 0 0 2rem; max-width: 40rem !important; }
.rb-calc__h { font-size: 1.35rem; margin: 0 0 0.75rem; }
.rb-calc fieldset { border: 0; padding: 0; margin: 0 0 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.rb-calc legend { font-weight: 700; margin-bottom: 0.35rem; padding: 0; width: 100%; }
.rb-calc fieldset label { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.rb-calc input[type="radio"] { width: 1.15rem; height: 1.15rem; accent-color: var(--rb-green); }
.rb-calc__field label, .rb-calc__legs label span { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.rb-calc input[inputmode] { width: 100%; max-width: 14rem; min-height: 46px; padding: 0.5rem 0.7rem; font: 700 1.1rem var(--rb-text); font-variant-numeric: tabular-nums; color: var(--rb-ink); background: #fff; border: 1.5px solid #8d8574; border-radius: 8px; }
.rb-calc input[inputmode]:focus-visible { border-color: var(--rb-green); }
.rb-calc input[aria-invalid="true"] { border-color: var(--rb-red); background: var(--rb-red-soft); }
.rb-calc__legs { list-style: none; margin: 0.9rem 0 0.6rem; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
.rb-calc__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.rb-calc__err { color: var(--rb-red); font-weight: 700; margin: 0 0 0.75rem; }
.rb-calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: 1px; background: var(--rb-line); border-radius: 10px; overflow: hidden; margin: 0; }
.rb-calc__out > div { background: var(--rb-green); color: var(--rb-paper); padding: 0.6rem 0.75rem; }
.rb-calc__out dt { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rb-gold-soft); }
.rb-calc__out dd { margin: 0.1rem 0 0; font-family: var(--rb-display); font-size: 1.35rem; }
.rb-calc__note { font-size: 0.85rem; color: var(--rb-muted); margin: 0.8rem 0 0; }

/* table of contents */
.rb-toc { background: var(--rb-sheet); border: 1px solid var(--rb-line); border-radius: var(--rb-r); padding: 0.9rem 1.1rem; margin: 0 0 1.75rem; }
.rb-toc__h { margin: 0 0 0.4rem !important; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-green-2); }
.rb-toc ol { margin: 0 !important; padding-left: 1.3rem; }
.rb-toc li { margin: 0.2rem 0; }

/* FAQ and read next */
.rb-faq { margin: 2.5rem 0 1.5rem; }
.rb-faq h2 { font-size: 1.5rem; margin: 0 0 0.75rem; }
.rb-qa { border-top: 1px solid var(--rb-line); }
.rb-qa:last-child { border-bottom: 1px solid var(--rb-line); }
.rb-qa summary { cursor: pointer; list-style: none; padding: 0.85rem 2.2rem 0.85rem 0; font-weight: 700; position: relative; min-height: 44px; }
.rb-qa summary::-webkit-details-marker { display: none; }
.rb-qa summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.6rem; font-size: 1.4rem; line-height: 1; color: var(--rb-green-2); width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1.5px solid var(--rb-line); border-radius: 50%; }
.rb-qa[open] summary::after { content: "-"; background: var(--rb-gold-soft); }
.rb-qa__a p { margin: 0 0 1rem; }
.rb-also { margin: 2rem 0; padding: 1rem 1.1rem; background: var(--rb-green-3); border-radius: var(--rb-r); }
.rb-also h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.rb-also ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.rb-also a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; }
.rb-also a::before { content: ""; width: 0.4em; height: 0.4em; margin-right: 0.6rem; border-top: 2px solid var(--rb-gold); border-right: 2px solid var(--rb-gold); transform: rotate(45deg); }

/* 18+ and safer gambling */
.rb-18 { display: inline-grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 2.5px solid var(--rb-red); color: var(--rb-red); font-weight: 700; font-size: 0.82rem; background: #fff; }
.rb-18--lg { width: 3rem; height: 3rem; font-size: 1rem; }
.rb-safer { display: flex; align-items: center; gap: 0.8rem; margin: 2rem 0 0; padding: 0.8rem 1rem; border: 1px dashed var(--rb-line); border-radius: var(--rb-r); font-size: 0.92rem; }
.rb-offer .rb-card { max-width: 34rem; }
.rb-mail { font-weight: 700; }

/* National Responsible Gambling Programme notice */
.rb-nrgp { display: flex; align-items: center; gap: 1rem; }
.rb-nrgp p { margin: 0; }
.rb-nrgp__slogan { font-family: var(--rb-display); font-weight: 600; line-height: 1.15; }
.rb-nrgp__tel { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rb-nrgp--band { max-width: none !important; margin: 0 0 2rem; padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2.5rem); min-height: clamp(19rem, 30vw, 23rem); background: var(--rb-gold); color: var(--rb-ink); border-radius: 14px; border: 3px solid var(--rb-green); }
.rb-nrgp--band .rb-18 { width: clamp(4rem, 9vw, 6.5rem); height: clamp(4rem, 9vw, 6.5rem); font-size: clamp(1.2rem, 2.6vw, 2rem); border-width: 4px; border-color: var(--rb-ink); color: var(--rb-ink); background: transparent; }
.rb-nrgp--band .rb-nrgp__slogan { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); color: var(--rb-green); }
.rb-nrgp--band .rb-nrgp__line { font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem); font-weight: 700; margin-top: 0.4rem; }
.rb-nrgp--band .rb-nrgp__tel { color: var(--rb-green); }
.rb-nrgp--band .rb-nrgp__age-txt { font-size: 1rem; margin-top: 0.5rem; }
.rb-nrgp--band a { color: var(--rb-green); }
.rb-nrgp--foot { padding-bottom: 1.25rem; border-bottom: 1px solid rgba(231, 224, 207, 0.2); }
.rb-nrgp--foot .rb-nrgp__slogan { font-size: 1.4rem; color: var(--rb-gold); }
.rb-nrgp--foot .rb-18 { width: 3rem; height: 3rem; font-size: 1rem; }
.rb-foot__lic { margin: 1rem 0 0; max-width: 48rem; font-size: 0.92rem; }
@media (max-width: 520px) { .rb-nrgp { align-items: flex-start; } }

/* slot pages: legal note and where-listed names */
.rb-legal { margin: 0.9rem 0 1.25rem; padding: 0.7rem 0.9rem; background: var(--rb-paper-2); border-left: 4px solid var(--rb-green-2); border-radius: 0 8px 8px 0; font-size: 0.92rem; max-width: 34rem; }
.rb-slot-side .rb-legal { margin: 1rem 0 0; }
.rb-listed { margin: 2rem 0; }
.rb-listed__h { font-size: 1.3rem; margin: 0 0 0.6rem; }
.rb-listed ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; }
.rb-listed li { padding: 0.35rem 0.8rem; border: 1px solid var(--rb-line); border-radius: 6px; background: var(--rb-sheet); font-weight: 700; }
.rb-listed__note { font-size: 0.85rem; color: var(--rb-muted); margin: 0.6rem 0 0; }

/* footer */
.rb-foot { background: #0d2c22; color: #e7e0cf; padding: 2rem 0 2.5rem; border-top: 4px solid var(--rb-gold); }
.rb-foot a { color: var(--rb-gold-soft); }
.rb-foot a:hover { color: #fff; }
.rb-foot .rb-18 { background: transparent; border-color: var(--rb-gold); color: var(--rb-gold); }
.rb-foot__menu { list-style: none; margin: 1.25rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.rb-foot__menu a { display: inline-flex; align-items: center; min-height: 40px; }
.rb-foot__small { font-size: 0.82rem; color: #b9b29f; margin: 0; }

@media (min-width: 700px) {
	:root { --rb-gutter: 24px; }
	.rb-main { padding-top: 1.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
@media print {
	.rb-masthead, .rb-foot, .rb-btn, .rb-calc { display: none; }
}

/* ---------- media: covers, logo, portrait, slot galleries ---------- */
.rb-brand__logo { display: block; height: 36px; width: auto; }
img.rb-avatar { border-radius: 50%; border: 2px solid var(--rb-gold); object-fit: cover; background: var(--rb-paper); }
.rb-cover { margin: 0 0 1.75rem; border: 1px solid var(--rb-line); border-radius: var(--rb-r); overflow: hidden; background: var(--rb-sheet); }
.rb-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.rb-cover--404 { max-width: 40rem; }
.rb-cover--404 img { aspect-ratio: 3 / 2; }
.rb-chapters a.rb-chapters__img { padding: 0; overflow: hidden; }
.rb-chapters a.rb-chapters__img::before { top: auto; bottom: 0.95rem; }
.rb-chapters__img .rb-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--rb-line); }
.rb-chapters__img .rb-chapters__t, .rb-chapters__img .rb-chapters__d { padding-left: 3.6rem; padding-right: 1rem; }
.rb-chapters__img .rb-chapters__t { padding-top: 0.85rem; }
.rb-chapters__img .rb-chapters__d { padding-bottom: 1rem; }
.rb-gallery { margin: 2.5rem 0; }
.rb-gallery__h { font-family: var(--rb-display); color: var(--rb-green); font-size: 1.5rem; margin: 0 0 1rem; }
.rb-gallery__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); align-items: start; }
.rb-shot { margin: 0; background: var(--rb-sheet); border: 1px solid var(--rb-line); border-radius: var(--rb-r); overflow: hidden; }
.rb-shot a { display: block; }
.rb-shot img { display: block; width: 100%; height: auto; }
.rb-shot--mobile img { max-width: 18rem; margin: 0 auto; }
.rb-shot figcaption { padding: 0.55rem 0.8rem; font-size: 0.9rem; color: var(--rb-muted); border-top: 1px solid var(--rb-line); }
.rb-gallery__credit { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--rb-muted); }
