/* ==========================================================================
   roobet_01_vst — cloned from roobet.com
   Dark indigo shell (#090c1d page / #191939 surfaces), gold CTAs, 12px radii,
   Excon type. Docked 220px left rail on desktop, drawer + bottom bar on phones.
   ========================================================================== */

/* Excon is the source's brand face; it ships Latin only. Cyrillic is served by
   Onest — the closest geometric match in weight, width and x-height — scoped by
   unicode-range so Latin brand words still render in Excon. */
@font-face { font-family: 'Excon'; src: url('excon-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Excon'; src: url('excon-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Excon'; src: url('excon-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Excon'; src: url('excon-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

@font-face {
	font-family: 'Onest'; src: url('onest-cyr.woff2') format('woff2');
	font-weight: 100 900; font-style: normal; font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Onest'; src: url('onest-cyr-ext.woff2') format('woff2');
	font-weight: 100 900; font-style: normal; font-display: swap;
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
	--bg:        #090c1d;
	--surface:   #191939;
	--surface-2: #2c2852;
	--surface-3: #463e7a;
	--line:      rgba(255, 255, 255, .06);
	--text:      #ffffff;
	--mute:      #9789cd;
	--mute-2:    #7b6cb9;
	--head:      #d9d1f4;
	--gold-1:    #ffce00;
	--gold-2:    #ffb800;
	--purple:    #7741ed;
	--win:       #4ade80;
	--r:         12px;
	--r-s:       8px;
	/* Two separate knobs on purpose: --rail-w is the rail's own width, --rail is
	   the offset the layout reserves for it. Driving both from one variable made
	   collapsing set width:0, which turns translateX(-100%) into a no-op and
	   leaves the rail's contents painted over the page. */
	--rail-w:    220px;
	--rail:      var(--rail-w);
	--hdr:       72px;
	--gap:       24px;
	/* The source caps its content column at 1200px inner and centres it in the
	   space left of the rail — on a wide screen the gutters are equal, not a
	   single empty band on the right. 1248 = 1200 + 2 × 24px padding. */
	--maxw:      1248px;
	--gutter:    max(0px, (100vw - var(--rail) - var(--maxw)) / 2);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.5 'Excon', 'Onest', system-ui, sans-serif;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ------------------------------------------------------ */

.rb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 40px; padding: 9px 16px 11px;
	border-radius: var(--r);
	font-size: 13px; font-weight: 700; line-height: 1;
	white-space: nowrap; transition: filter .15s, background .15s;
}
.rb-btn--gold {
	background: linear-gradient(100deg, var(--gold-1) 0%, var(--gold-1) 42%, var(--gold-2) 100%);
	color: #23200a;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.rb-btn--gold:hover { filter: brightness(1.07); }
.rb-btn--ghost { background: var(--surface-2); color: #fff; }
.rb-btn--soft  { background: var(--surface-2); color: #fff; }
.rb-btn--ghost:hover, .rb-btn--soft:hover { background: var(--surface-3); }
.rb-btn--lg   { min-height: 52px; font-size: 16px; padding: 14px 28px 16px; }
.rb-btn--full { width: 100%; }

.rb-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--surface-2); color: #fff;
}
.rb-icon-btn:hover { background: var(--surface-3); }
.rb-icon-btn svg { width: 20px; height: 20px; }

/* ---------- header ------------------------------------------------------- */

.rb-hdr {
	position: fixed; inset: 0 0 auto 0; height: var(--hdr); z-index: 60;
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding: 0 24px; background: var(--surface);
}
.rb-hdr__l { display: flex; align-items: center; min-width: 0; }
.rb-hdr__r { display: flex; align-items: center; gap: 12px; }

.rb-rail-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: var(--r);
	background: var(--surface-2); color: #fff; flex: none;
}
.rb-rail-btn:hover { background: var(--surface-3); }
.rb-rail-btn svg { width: 20px; height: 20px; transition: transform .2s; }
body.rail-off .rb-rail-btn svg { transform: scaleX(-1); }

.rb-logo { display: block; flex: none; margin-left: max(16px, calc(var(--rail) - 40px + var(--gutter))); transition: margin-left .2s; }
.rb-logo img { width: 170px; height: 44px; }

/* ---------- left rail ---------------------------------------------------- */

.rb-rail {
	position: fixed; top: var(--hdr); bottom: 0; left: 0; width: var(--rail-w);
	z-index: 55; background: var(--surface); overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .2s;
}
body.rail-off { --rail: 0px; }
body.rail-off .rb-rail { transform: translateX(-100%); }
.rb-rail__head { display: none; }
.rb-rail__scroll {
	flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
	padding: 0 16px 24px; display: flex; flex-direction: column; gap: 8px;
	scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
}
/* Flex children must not shrink, or a short viewport silently squashes the
   accordion lists instead of scrolling them. */
.rb-rail__scroll > * { flex: none; }
.rb-rail__scroll::-webkit-scrollbar { width: 6px; }
.rb-rail__scroll::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.rb-grp { border-radius: var(--r); overflow: hidden; }
.rb-grp__t {
	display: flex; align-items: center; gap: 8px; width: 100%;
	min-height: 36px; padding: 6px 6px 6px 8px;
	background: var(--surface-2); border-radius: var(--r);
	font-size: 14px; font-weight: 700; text-align: left;
}
.rb-grp.is-open > .rb-grp__t { background: var(--surface-3); border-radius: var(--r) var(--r) 0 0; }
.rb-grp__lbl { flex: 1; }
.rb-grp__chev { width: 18px; height: 18px; color: var(--mute); transition: transform .2s; }
.rb-grp.is-open .rb-grp__chev { transform: rotate(180deg); }

.rb-grp__list { display: none; margin: 0; padding: 4px 0 8px; list-style: none; background: rgba(44, 40, 82, .45); border-radius: 0 0 var(--r) var(--r); }
.rb-grp.is-open .rb-grp__list { display: block; }
.rb-grp__list a {
	display: flex; align-items: center; gap: 12px;
	min-height: 32px; padding: 4px 8px 4px 30px;
	font-size: 12px; font-weight: 500; color: var(--mute);
}
.rb-grp__list a:hover { color: #fff; }
.rb-live {
	margin-left: auto; padding: 2px 6px 3px; border-radius: 6px;
	background: #d81f3c; color: #fff; font-size: 9px; font-weight: 700;
	font-style: normal; letter-spacing: .06em;
}

/* Rail icons — small CSS glyphs, no extra requests. */
.rb-grp__ico {
	width: 24px; height: 24px; flex: none; position: relative;
}
.rb-grp__ico::after {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 15px; line-height: 1; color: var(--gold-1);
}
.rb-grp__ico--casino::after  { content: '\1F0CF'; }
.rb-grp__ico--sport::after   { content: '\1F3C6'; }
.rb-grp__ico--predict::after { content: '\2197'; }
.rb-grp__ico--rtp::after     { content: '\0025'; }
.rb-grp__ico--promo::after   { content: '\1F4E3'; }
.rb-grp__ico--refer::after   { content: '\1F91D'; }
.rb-grp__ico--redeem::after  { content: '\1F3AB'; }
.rb-grp__ico--vip::after     { content: '\1F451'; }
.rb-grp__ico--support::after { content: '\1F3A7'; }
.rb-grp__ico--globe::after   { content: '\1F310'; }
.rb-grp__ico--guide::after   { content: '\1F4D6'; }

.rb-rail__flat { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.rb-rail__flat a {
	display: flex; align-items: center; gap: 8px;
	min-height: 36px; padding: 6px 8px; border-radius: var(--r);
	background: var(--surface-2); font-size: 14px; font-weight: 700;
}
.rb-rail__flat a:hover { background: var(--surface-3); }
/* The site's own articles sit above the affiliate categories: they are the only
   rail entries that lead somewhere on this domain, so the current one is marked. */
.rb-rail__flat--site { margin-top: 0; margin-bottom: 12px; }
.rb-rail__flat--site a { line-height: 1.25; }
.rb-rail__flat--site a.is-on { background: var(--surface-3); color: #fff; }

.rb-rail__lang {
	display: flex; align-items: center; gap: 8px;
	min-height: 36px; margin-top: 8px; padding: 6px 8px;
	border-radius: var(--r); background: var(--surface-2);
	font-size: 14px; font-weight: 700;
}
.rb-rail__stat {
	margin-top: 8px; padding: 10px 12px 12px;
	border-radius: var(--r); background: var(--surface-2);
}
.rb-rail__stat span { display: block; font-size: 11px; color: var(--mute); }
.rb-rail__stat b { display: block; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rb-rail__note {
	margin-top: 8px; padding: 10px 12px 12px;
	border-radius: var(--r); background: var(--surface-2);
}
.rb-rail__note span { display: block; font-size: 11px; color: var(--mute); }
.rb-rail__note b { display: block; font-size: 12px; font-weight: 700; line-height: 1.35; }

/* ---------- shell -------------------------------------------------------- */

.rb-shell { margin-left: var(--rail); padding-top: var(--hdr); transition: margin-left .2s; }
.rb-main {
	max-width: var(--maxw); margin-inline: auto; padding: var(--gap);
	display: flex; flex-direction: column; gap: var(--gap);
}

/* ---------- hero --------------------------------------------------------- */

.rb-hero { display: grid; grid-template-columns: minmax(0, 1fr) 407px; gap: 12px; }
.rb-hero--single { grid-template-columns: minmax(0, 1fr); }
.rb-hero__art { display: block; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.rb-hero__art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 765 / 260; }
.rb-hero--single .rb-hero__art img { aspect-ratio: 1530 / 340; }

.rb-hero__panel {
	background: var(--surface); border-radius: var(--r);
	padding: 24px; display: flex; flex-direction: column; align-items: center;
	text-align: center;
}
.rb-hero__t { display: block; font-size: 30px; font-weight: 900; line-height: 1.12; letter-spacing: -.01em; }
.rb-hero__sub { margin: 6px 0 18px; color: var(--mute); font-size: 15px; font-weight: 700; }
.rb-or {
	display: flex; align-items: center; gap: 12px; width: 100%;
	margin: 20px 0 12px; color: var(--mute); font-size: 12px; font-weight: 700;
}
.rb-or::before, .rb-or::after { content: ''; flex: 1; height: 1px; background: var(--surface-2); }
.rb-hero__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.rb-alt {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 8px 12px; border-radius: var(--r);
	background: var(--surface-2); font-size: 14px; font-weight: 700;
}
.rb-alt:hover { background: var(--surface-3); }
.rb-alt svg, .rb-alt img { width: 22px; height: 22px; stroke: none; }

/* ---------- raffle strip ------------------------------------------------- */

.rb-raffle {
	position: relative; display: grid; grid-template-columns: 1fr 1fr;
	min-height: 144px; border-radius: var(--r); overflow: hidden;
	background: var(--surface);
}
.rb-raffle__txt {
	position: relative; z-index: 2; padding: 24px 28px;
	display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.rb-raffle__t { font-size: 28px; font-weight: 900; line-height: 1.1; }
.rb-raffle__t b { color: var(--gold-1); font-weight: 900; }
.rb-raffle__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rb-timer {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px 11px; border-radius: var(--r);
	background: rgba(9, 12, 29, .5); font-size: 13px; font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.rb-timer i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); }
.rb-raffle__art { position: relative; }
.rb-raffle__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rb-raffle__art::before {
	content: ''; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, var(--surface) 0%, rgba(25, 25, 57, .55) 35%, rgba(25, 25, 57, 0) 70%);
}
.rb-raffle__badge {
	position: absolute; z-index: 2; top: 16px; right: 16px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 12px 10px; border-radius: var(--r);
	background: rgba(9, 12, 29, .82); color: var(--mute);
	font-size: 12px; font-weight: 700;
}
.rb-raffle__badge b { color: #fff; }

/* ---------- category cards ----------------------------------------------- */

.rb-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rb-cat {
	position: relative; display: block; border-radius: var(--r); overflow: hidden;
	aspect-ratio: 578 / 172; background: var(--surface);
}
.rb-cat__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rb-cat__art {
	position: absolute; right: 2%; bottom: 0; width: 46%; height: auto;
	object-fit: contain; transition: transform .25s;
}
.rb-cat:hover .rb-cat__art { transform: scale(1.04); }
.rb-cat__txt { position: absolute; left: 26px; bottom: 24px; z-index: 2; }
.rb-cat__txt b { display: block; font-size: 30px; font-weight: 900; line-height: 1.1; }
.rb-cat__txt em { display: block; margin-top: 2px; font-size: 15px; font-style: normal; font-weight: 500; color: rgba(255, 255, 255, .78); }

/* ---------- section heads + rails ---------------------------------------- */

.rb-rail-sec { display: flex; flex-direction: column; gap: 16px; }
.rb-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rb-sec-head__t { font-size: 28px; font-weight: 900; line-height: 1.2; }
.rb-sec-head__r { display: flex; align-items: center; gap: 8px; flex: none; }
.rb-arrows { display: flex; gap: 8px; }
.rb-arw {
	width: 40px; height: 40px; border-radius: var(--r);
	background: var(--surface-2); color: #fff;
	font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.rb-arw:hover { background: var(--surface-3); }

.rb-rail-track {
	--per: 7;
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--per) - 1) * 12px) / var(--per));
	gap: 12px; overflow-x: auto; scroll-behavior: smooth;
	padding-bottom: 4px; scrollbar-width: none;
}
.rb-rail-track::-webkit-scrollbar { display: none; }
.rb-tile { display: block; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.rb-tile img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .25s; }
.rb-tile:hover img { transform: scale(1.05); }

.rb-rail-track--sport { --per: 5; }
.rb-sport {
	display: flex; align-items: center; gap: 4px;
	padding: 4px; border-radius: var(--r); background: var(--surface);
	font-size: 15px; font-weight: 700;
}
.rb-sport:hover { background: var(--surface-2); }
.rb-sport img { width: 64px; height: 64px; border-radius: var(--r); flex: none; }
.rb-sport span { padding: 0 8px; }

.rb-rail-track--partner { --per: 3; }
.rb-partner {
	position: relative; display: flex; align-items: center; overflow: hidden;
	min-height: 104px; padding: 16px 20px; border-radius: var(--r);
	background: linear-gradient(90deg, var(--surface) 0%, var(--surface) 42%, var(--accent, #2b2b52) 130%);
}
.rb-partner__txt { position: relative; z-index: 2; }
.rb-partner__txt em { display: block; font-style: normal; font-size: 12px; font-weight: 500; color: var(--mute); }
.rb-partner__txt b { display: block; margin-top: 2px; font-size: 22px; font-weight: 900; line-height: 1.15; }
.rb-partner img {
	position: absolute; right: 0; bottom: 0;
	width: auto; height: 132%; max-width: 54%;
	object-fit: contain; object-position: bottom right;
}

/* ---------- live bets ---------------------------------------------------- */

.rb-bets { display: flex; flex-direction: column; }
.rb-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--surface-2); }
.rb-tab {
	position: relative; padding: 12px 24px 14px;
	font-size: 14px; font-weight: 700; color: var(--mute);
}
.rb-tab.is-on { color: #fff; }
.rb-tab.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #fff; }

.rb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rb-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.rb-table th {
	padding: 12px 16px 14px; background: var(--surface-2);
	font-size: 11px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; text-align: left; white-space: nowrap;
}
.rb-table th:first-child { padding-left: 24px; }
.rb-table th:last-child  { padding-right: 24px; }
.rb-table td { padding: 8px 16px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.rb-table td:first-child { padding-left: 24px; }
.rb-table td:last-child  { padding-right: 24px; }
.rb-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
.rb-table__game { display: flex; align-items: center; gap: 12px; }
.rb-table__game img { width: 32px; height: 32px; border-radius: var(--r); flex: none; object-fit: cover; }
.rb-table__game span { overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.rb-table__user { color: var(--mute); }
.rb-table__user i {
	display: inline-block; width: 18px; height: 18px; margin-right: 8px;
	vertical-align: -4px; border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
}
.rb-table__time { color: var(--mute); }
.rb-num { text-align: right; font-variant-numeric: tabular-nums; }
.rb-num.is-win { color: var(--win); }
.rb-table td.rb-num:not(.is-win) { color: var(--mute); }
.rb-table td:nth-child(4) { color: #fff; }

/* ---------- page headers (toplist / review / landing) -------------------- */

.rb-phead { padding: 24px 28px 28px; border-radius: var(--r); background: var(--surface); }
.rb-phead__t { display: block; font-size: 30px; font-weight: 900; line-height: 1.15; color: var(--head); }
.rb-phead p { margin: 12px 0 0; color: var(--mute); max-width: 70ch; }
.rb-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.rb-rate { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.rb-stars { color: var(--gold-1); letter-spacing: 2px; }
.rb-rate b { font-size: 24px; font-weight: 900; }
.rb-rate em { font-style: normal; color: var(--mute); }

.rb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 20px 0 0; }
.rb-facts > div { padding: 12px 16px 14px; border-radius: var(--r); background: var(--surface-2); }
.rb-facts dt { font-size: 12px; font-weight: 500; color: var(--mute); }
.rb-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }

.rb-cta {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; flex-wrap: wrap; padding: 24px 28px;
	border-radius: var(--r);
	background: linear-gradient(90deg, var(--surface) 0%, #2a2258 100%);
}
.rb-cta__txt span { display: block; font-size: 13px; font-weight: 700; color: var(--mute); }
.rb-cta__txt b { display: block; margin-top: 4px; font-size: 22px; font-weight: 900; line-height: 1.2; }

/* ---------- prose content ------------------------------------------------ */

.rb-content {
	position: relative; padding: 28px 32px 32px;
	border-radius: var(--r); background: var(--surface);
	color: #cfc8e6; font-size: 16px; line-height: 1.62;
}
.rb-content > *:first-child { margin-top: 0; }
.rb-content > *:last-child  { margin-bottom: 0; }
.rb-content h1 { margin: 0 0 18px; font-size: 30px; font-weight: 900; line-height: 1.2; color: var(--head); }
.rb-content h2 { margin: 32px 0 14px; font-size: 24px; font-weight: 900; line-height: 1.25; color: var(--head); }
.rb-content h3 { margin: 26px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.3; color: #fff; }
.rb-content h4 { margin: 22px 0 8px; font-size: 16px; font-weight: 700; color: #fff; }
.rb-content p { margin: 0 0 16px; }
.rb-content a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.rb-content a:hover { color: var(--gold-2); }
.rb-content strong, .rb-content b { color: #fff; font-weight: 700; }
.rb-content ul, .rb-content ol { margin: 0 0 18px; padding-left: 22px; }
.rb-content li { margin-bottom: 8px; }
.rb-content ul li::marker { color: var(--gold-1); }
.rb-content ol li::marker { color: var(--gold-1); font-weight: 700; }
/* Content images keep their own size. `width: 100%` used to force every file
   to the column width, which upscaled the small ones — the registration form
   is 599px wide and was being blown up to 1108. `max-width` only caps the
   oversized ones; `margin: … auto` centres the narrow ones so they do not
   hug the left edge. */
.rb-content img { margin: 20px auto; border-radius: var(--r); max-width: 100%; width: auto; height: auto; }
.rb-content blockquote {
	margin: 20px 0; padding: 16px 20px;
	border-left: 3px solid var(--gold-1); border-radius: 0 var(--r) var(--r) 0;
	background: var(--surface-2); color: #fff;
}
.rb-content figure { margin: 20px 0; }
.rb-content figcaption { margin-top: 8px; font-size: 13px; color: var(--mute); }

.rb-content table {
	width: 100%; margin: 20px 0; border-collapse: collapse;
	border-radius: var(--r); overflow: hidden; font-size: 15px;
}
.rb-content th {
	padding: 12px 16px; background: var(--surface-2); color: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: .05em;
	text-transform: uppercase; text-align: left;
}
.rb-content td { padding: 12px 16px; border-top: 1px solid var(--line); }
.rb-content tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
/* Wide tables must scroll inside their own box, never the page. Sizing the
   table to `max-content` rather than a fixed min-width is what keeps it
   readable: a flat min-width divides the same pixels across every column, so
   each cell wraps into a ragged stack and the table scrolls while looking
   broken. `min-width: 100%` keeps a narrow table filling the card. */
.rb-content .table-wrap, .rb-content .rb-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rb-content .table-scroll { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.rb-content .table-scroll table { width: max-content; min-width: 100%; margin: 0; }
.rb-content .table-scroll th { white-space: nowrap; }
.rb-content .table-scroll td { max-width: 38ch; }

/* "Читати далі" clamp, mirroring the source's collapsed SEO block. */
.rb-content.is-clamped { max-height: 340px; overflow: hidden; padding-bottom: 72px; }
.rb-content.is-clamped::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
	background: linear-gradient(180deg, rgba(25, 25, 57, 0) 0%, var(--surface) 78%);
}
.rb-more { position: absolute; left: 50%; bottom: 24px; z-index: 2; transform: translateX(-50%); }
.rb-content:not(.is-clamped) .rb-more { display: none; }

/* ---------- footer ------------------------------------------------------- */

.rb-foot {
	max-width: var(--maxw); margin-inline: auto; padding: 8px var(--gap) 40px;
	display: flex; flex-direction: column; gap: 32px;
	font-size: 15px;
}
.rb-foot > * + * { padding-top: 32px; border-top: 1px solid var(--surface); }
.rb-foot__lbl { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--mute); }

.rb-foot__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.rb-foot__t { display: block; margin-bottom: 14px; font-size: 16px; font-weight: 700; color: #fff; }
.rb-foot__col ul { margin: 0; padding: 0; list-style: none; }
.rb-foot__col li { margin-bottom: 8px; }
.rb-foot__col a { color: var(--mute); }
.rb-foot__col a:hover { color: #fff; }
.rb-social { display: flex; gap: 16px; }
.rb-social a { color: var(--mute); }
.rb-social a:hover { color: #fff; }
.rb-social svg { width: 24px; height: 24px; }

.rb-foot__cur { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.rb-foot__cur > div:first-child { flex: 1; min-width: 320px; }
.rb-cur { display: flex; flex-wrap: wrap; gap: 12px; }
.rb-cur__i {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px 12px; border-radius: var(--r); background: var(--surface);
	font-size: 14px;
}
.rb-cur__i i {
	display: grid; place-items: center; width: 20px; height: 20px;
	border-radius: 50%; background: var(--coin, #f7931a);
	color: #fff; font-size: 11px; font-style: normal; font-weight: 700;
}
.rb-cur__i b { font-weight: 700; }
.rb-cur__i em { font-style: normal; color: var(--mute); }
.rb-foot__langbox { min-width: 222px; }
.rb-select {
	display: flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 8px 12px; border-radius: var(--r);
	background: var(--surface); font-size: 14px; font-weight: 700;
}
.rb-select svg { width: 18px; height: 18px; margin-left: auto; color: var(--mute); }

.rb-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rb-logos > span {
	display: grid; place-items: center;
	min-width: 104px; min-height: 96px; padding: 12px 16px;
	border-radius: var(--r); background: var(--surface);
}
.rb-logos img { width: auto; max-height: 62px; }
.rb-logos--pay > span { min-height: 80px; }
.rb-logos--pay img { max-height: 32px; opacity: .82; }
.rb-rg { flex-direction: column; gap: 2px; text-align: center; }
.rb-rg b { color: var(--gold-1); font-size: 14px; font-weight: 900; }
.rb-rg i { font-style: normal; font-size: 12px; color: var(--mute); line-height: 1.3; }
.rb-age { font-size: 20px; font-weight: 900; color: var(--mute); }

.rb-foot__two { display: grid; grid-template-columns: auto 1fr; gap: 32px; }

.rb-foot__legal { display: flex; flex-direction: column; gap: 12px; }
.rb-foot__legal img { width: 123px; height: 32px; }
.rb-foot__legal p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--mute-2); }

/* ---------- mobile bottom bar, drawer, search --------------------------- */

.rb-bottom { display: none; }
.rb-dim {
	position: fixed; inset: 0; z-index: 80; background: rgba(9, 12, 29, .7);
	opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
body.drawer-on .rb-dim, body.search-on .rb-dim { opacity: 1; visibility: visible; }

/* Scroll lock behind the drawer / search sheet (phones — set by main.js).
   The negative `top` is written inline so the position is restored exactly. */
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

.rb-search {
	position: fixed; inset: 0 0 auto 0; z-index: 95;
	padding: 16px; background: var(--surface);
	transform: translateY(-100%); transition: transform .2s;
}
body.search-on .rb-search { transform: none; }
.rb-search__box {
	display: flex; align-items: center; gap: 12px;
	max-width: 640px; margin: 0 auto; padding: 10px 16px;
	border-radius: var(--r); background: var(--surface-2);
}
.rb-search__box svg { width: 20px; height: 20px; color: var(--mute); flex: none; }
.rb-search__box input {
	flex: 1; min-width: 0; border: 0; background: none; color: #fff;
	font: 500 15px 'Excon', 'Onest', sans-serif; outline: none;
}
.rb-search__box input::placeholder { color: var(--mute-2); }
.rb-search__x { font-size: 26px; line-height: 1; color: var(--mute); }
.rb-search__res {
	display: flex; flex-direction: column; gap: 8px;
	max-width: 640px; margin: 12px auto 0;
	max-height: min(60vh, 420px); overflow-y: auto;
}
.rb-search__res a {
	display: block; padding: 10px 14px;
	border-radius: var(--r); background: var(--surface-2);
}
.rb-search__res a:hover { background: var(--surface-3); }
.rb-search__res b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.rb-search__res em { display: block; margin-top: 2px; font-size: 13px; font-style: normal; color: var(--mute); }
.rb-search__none { padding: 10px 14px; font-size: 14px; color: var(--mute); }

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 1180px) {
	:root { --rail: 200px; }
	.rb-foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
	:root { --rail-w: 284px; --rail: 0px; --hdr: 64px; --gap: 16px; }

	.rb-rail-btn { display: none; }
	.rb-logo { margin-left: 0; }
	.rb-logo img { width: 140px; height: 36px; }
	.rb-hdr { padding: 0 16px; }
	.rb-hdr__r .rb-icon-btn { display: none; }
	.rb-btn { padding: 9px 14px 11px; }

	.rb-shell { margin-left: 0; }
	.rb-main { padding: var(--gap) var(--gap) 0; }
	.rb-foot { padding: 24px var(--gap) 96px; }

	/* rail → slide-in drawer */
	.rb-rail {
		top: 0; width: var(--rail-w); z-index: 90;
		transform: translateX(-100%); box-shadow: 0 0 40px rgba(0, 0, 0, .5);
	}
	body.drawer-on .rb-rail { transform: none; }
	body.rail-off .rb-rail { transform: translateX(-100%); }
	.rb-rail__head {
		display: flex; align-items: center; justify-content: space-between;
		height: var(--hdr); padding: 0 16px; flex: none;
	}
	.rb-rail__head .rb-logo { margin-left: 0; }
	.rb-rail__x { font-size: 28px; line-height: 1; color: var(--mute); }

	.rb-bottom {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		display: grid; grid-template-columns: repeat(5, 1fr);
		background: var(--surface); padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
	}
	.rb-bottom__i {
		display: flex; flex-direction: column; align-items: center; gap: 4px;
		padding: 4px 2px; color: var(--mute); font-size: 11px; font-weight: 700;
		text-transform: uppercase; letter-spacing: .03em;
	}
	.rb-bottom__i svg { width: 24px; height: 24px; }
	.rb-bottom__i:hover, .rb-bottom__i:focus-visible { color: #fff; }

	.rb-hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.rb-hero__art { border-radius: var(--r) var(--r) 0 0; }
	.rb-hero__art img { aspect-ratio: 1 / 1; }
	.rb-hero--single .rb-hero__art { border-radius: var(--r); }
	.rb-hero--single .rb-hero__art img { aspect-ratio: 16 / 9; }
	.rb-hero__panel { border-radius: 0 0 var(--r) var(--r); padding: 24px 20px 28px; }
	.rb-hero__t { font-size: 34px; }

	.rb-raffle { grid-template-columns: minmax(0, 1fr); }
	.rb-raffle__art { order: -1; min-height: 190px; }
	.rb-raffle__art::before { background: linear-gradient(180deg, rgba(25, 25, 57, 0) 40%, var(--surface) 100%); }
	.rb-raffle__badge { top: 12px; right: 12px; }
	.rb-raffle__txt { padding: 0 20px 24px; }

	.rb-cats { grid-template-columns: minmax(0, 1fr); }
	.rb-cat { aspect-ratio: 24 / 7; }
	.rb-cat__art { width: 52%; bottom: -6%; }
	.rb-cat__txt { left: 20px; bottom: 16px; }
	.rb-cat__txt b { font-size: 24px; }

	.rb-sec-head__t { font-size: 22px; }
	.rb-arrows { display: none; }
	.rb-rail-track { --per: 3.05; }
	.rb-rail-track--sport { --per: 2.05; }
	.rb-rail-track--partner { --per: 1.25; }
	.rb-partner { min-height: 96px; padding: 14px 16px; }
	.rb-partner__txt em { font-size: 11px; }
	.rb-partner__txt b { font-size: 18px; }
	.rb-partner img { max-width: 42%; }
	.rb-tab { padding: 12px 14px 14px; font-size: 13px; white-space: nowrap; }
	.rb-tabs { overflow-x: auto; scrollbar-width: none; }
	.rb-tabs::-webkit-scrollbar { display: none; }
	.rb-table td, .rb-table th { padding-left: 12px; padding-right: 12px; }
	.rb-table td:first-child, .rb-table th:first-child { padding-left: 16px; }
	.rb-table td:last-child, .rb-table th:last-child { padding-right: 16px; }

	.rb-content { padding: 22px 20px 26px; }
	.rb-content h1 { font-size: 25px; }
	.rb-content h2 { font-size: 21px; }
	.rb-content h3 { font-size: 18px; }
	.rb-phead { padding: 20px; }
	.rb-phead__t { font-size: 25px; }

	.rb-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.rb-foot__two { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.rb-hide-s { display: none; }
	.rb-table { min-width: 0; }
}

@media (max-width: 560px) {
	.rb-hdr__r { gap: 8px; }
	.rb-hero__t { font-size: 28px; }
	.rb-hero__alt { grid-template-columns: 1fr; }
	.rb-raffle__t { font-size: 22px; }
	.rb-cat { aspect-ratio: 20 / 7; }
	.rb-rail-track { --per: 2.8; }
	.rb-hide-m { display: none; }
	.rb-table__game span { max-width: 150px; }
	.rb-cta { padding: 20px; }
	.rb-cta__txt b { font-size: 18px; }
	.rb-foot__cols { grid-template-columns: minmax(0, 1fr); }
	.rb-logos > span { min-width: 88px; min-height: 84px; padding: 10px 12px; }
	.rb-logos img { max-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
