/* Static-clone glue for the captured Rilek77 markup. The original swaps between a desktop
   and a mobile React layout at 1024px; the clone ships both and switches with CSS. */
.rk-view--mobile{display:none}
@media (max-width:1024px){
  .rk-view--desktop{display:none}
  .rk-view--mobile{display:block}
}
body.rk-locked{overflow:hidden}

/* Carousels are native scroll-snap scrollers (arrows, swipe and keyboard all work). */
.rk-scroller{overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.rk-scroller::-webkit-scrollbar{display:none}
.rk-scroller>*{transform:none!important}
.rk-scroller>*>*{scroll-snap-align:start}

/* The collapsed long-form article opens in place, like the original "Show more". */
[class*="article-section"].rk-expanded [class*="article-content"],
[class*="article-section"].rk-expanded [class*="collapse"]{max-height:none!important;height:auto!important;-webkit-mask-image:none!important;mask-image:none!important;overflow:visible!important}

/* Opened drawer and language menu (captured open, re-mounted on demand). */
.rk-drawer-open .mantine-Drawer-overlay{cursor:pointer}
.rk-language-open [role="menuitem"],.rk-language-open button{cursor:pointer}

@media (prefers-reduced-motion:reduce){
  .rk-scroller{scroll-behavior:auto}
}

/* A handful of tiles never mounted their artwork in any capture; hide them rather than show
   an empty box (the original shows these only after its lazy loader runs). */
.game-item-section:has(span.mantine-Image-root:empty),
.home-provider-game-item:has(span.mantine-Image-root:empty),
.mantine-Carousel-slide:has(> .home-provider-game-item span.mantine-Image-root:empty){display:none}
img[data-fallback="true"]{visibility:hidden}

/* Guide pages (src/v3/rilek77-guides.mjs) inside the clone's chrome. Colours come from the theme:
   primary for buttons, headings and links, secondary for the second action, accent for eyebrows. */
.rk-guide{color:var(--rk-text,#fff);font-size:15px;line-height:1.7;max-width:880px;margin:0 auto;padding:8px 4px 40px}
.rk-guide-crumbs{display:flex;gap:8px;font-size:13px;color:var(--rk-muted,#c58545);margin-bottom:18px}
.rk-guide-crumbs a{color:var(--rk-muted,#c58545);text-decoration:none}
.rk-guide-crumbs a:hover,.rk-guide-crumbs a:focus-visible{color:var(--rk-link,var(--color-primary))}
.rk-guide-head{background:var(--rk-surface,#2d2001);border-radius:16px;padding:28px 28px 24px;margin-bottom:24px}
.rk-guide-eyebrow{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--rk-accent,#35cdff)}
.rk-guide h1{margin:0 0 18px;font-size:clamp(24px,3.2vw,34px);line-height:1.2;color:var(--rk-text,#fff)}
.rk-guide h2{margin:34px 0 12px;font-size:21px;line-height:1.3;color:var(--rk-link,var(--color-primary))}
.rk-guide p{margin:0 0 14px;color:var(--rk-text,#fff)}
.rk-guide ul,.rk-guide ol{margin:0 0 16px;padding-left:22px}
.rk-guide li{margin:6px 0}
.rk-guide a{color:var(--rk-link,var(--color-primary));text-underline-offset:3px}
.rk-guide a:hover{text-decoration-thickness:2px}
.rk-guide-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.rk-guide .rk-guide-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 22px;border-radius:999px;font-weight:700;text-decoration:none;transition:filter .2s ease,transform .2s ease}
.rk-guide .rk-guide-button--primary{background:var(--button-primary-background);color:var(--rk-button-text,var(--button-primary-text))}
.rk-guide .rk-guide-button--secondary{background:var(--button-secondary-background);color:var(--rk-secondary-button-text,var(--button-secondary-text))}
.rk-guide .rk-guide-button:hover,.rk-guide .rk-guide-button:focus-visible{filter:brightness(1.08);transform:translateY(-1px)}
.rk-guide-toc{background:var(--rk-surface,#2d2001);border-radius:14px;padding:18px 22px;margin:0 0 8px}
.rk-guide-toc-title{font-weight:700;margin:0 0 8px;color:var(--rk-accent,#35cdff)}
.rk-guide-toc ol{margin:0}
.rk-guide-table{overflow-x:auto;margin:6px 0 18px}
.rk-guide table{width:100%;border-collapse:collapse;font-size:14px}
.rk-guide caption{text-align:left;font-weight:700;margin-bottom:8px;color:var(--rk-muted,#c58545)}
.rk-guide th,.rk-guide td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--rk-line,#443b24)}
.rk-guide th{color:var(--rk-link,var(--color-primary))}
.rk-guide-faq details{background:var(--rk-surface,#2d2001);border-radius:12px;margin:10px 0;padding:0 18px;interpolate-size:allow-keywords}
.rk-guide-faq summary{cursor:pointer;list-style:none;padding:14px 0;font-weight:700}
.rk-guide-faq summary::-webkit-details-marker{display:none}
.rk-guide-faq summary::after{content:'+';float:right;color:var(--rk-link,var(--color-primary));transition:transform .2s ease}
.rk-guide-faq details[open] summary::after{transform:rotate(45deg)}
.rk-guide-faq details::details-content{block-size:0;overflow:hidden;transition:block-size .25s ease,content-visibility .25s ease;transition-behavior:allow-discrete}
.rk-guide-faq details[open]::details-content{block-size:auto}
.rk-guide-faq details p{padding-bottom:6px}
.rk-guide-links{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.rk-guide-links li{background:var(--rk-surface,#2d2001);border-radius:12px;padding:12px 14px;margin:0}
.rk-guide-cta{background:var(--color-background-deep,#ffbf0030);border-radius:16px;padding:24px 26px;margin-top:34px}
.rk-guide-cta h2{margin-top:0}
.rk-guide :focus-visible{outline:2px solid var(--rk-accent,#35cdff);outline-offset:2px}

/* Guide links in every footer. */
.rk-footer-guides{padding:4px 0 18px}
.rk-footer-guides-title{margin:0 0 8px;font-size:13px;font-weight:700;color:var(--rk-text,#fff)}
.rk-footer-guides nav{display:flex;flex-wrap:wrap;gap:6px 18px}
.rk-footer-guides a,.rk-generator-links a{font-size:13px;color:var(--rk-muted,#c58545);text-decoration:none}
.rk-footer-guides a:hover,.rk-footer-guides a:focus-visible,.rk-generator-links a:hover{color:var(--rk-link,var(--color-primary))}
.rk-generator-links{display:flex;flex-wrap:wrap;gap:6px 18px;padding-bottom:12px}
@media (max-width:1024px){.rk-guide{padding:4px 12px 32px}.rk-guide-head{padding:22px 18px}.rk-guide h2{font-size:19px}}
@media (prefers-reduced-motion:reduce){.rk-guide .rk-guide-button,.rk-guide-faq details::details-content,.rk-guide-faq summary::after{transition:none}}

/* Self-hosted Paytone One (published sites only allow same-origin resources). */
@font-face{font-family:'Paytone One';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/paytone-one-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Paytone One';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/paytone-one-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* One H1 per page: visible in the desktop layout, named for screen readers in the mobile one. */
.rk-page-h1{margin:4px 0 16px;font-size:22px;line-height:1.3;font-weight:700;color:var(--rk-text,#fff)}
.rk-sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.rk-guide .rk-guide-h1{margin:0 0 18px;font-size:clamp(24px,3.2vw,34px);line-height:1.2;font-weight:700;color:var(--rk-text,#fff)}
.rk-promo-open .mantine-Modal-root{position:relative;z-index:500}

/* Blocks the original nested inside button labels (now spans, for valid markup) keep their block
   layout; zero specificity so the site's own styles still decide. */
:where(.rk-b){display:block}

/* 18+ and responsible-gambling note, with the page's updated date, in every footer. */
.rk-safe-play{padding:2px 0 16px;font-size:12px;line-height:1.6;color:var(--rk-muted,#c58545)}
.rk-safe-play p{margin:0 0 4px}
.rk-safe-play strong{color:var(--rk-text,#fff)}
.rk-safe-play a{color:var(--rk-link,var(--color-primary))}

/* Headings re-levelled or turned into plain elements for a valid outline keep the browser's
   default look for their original level (zero specificity: the site's own CSS still wins). */
:where(.rk-h1){display:block;font-size:2em;font-weight:700;margin-block:.67em}
:where(.rk-h2){display:block;font-size:1.5em;font-weight:700;margin-block:.83em}
:where(.rk-h3){display:block;font-size:1.17em;font-weight:700;margin-block:1em}
:where(.rk-h4){display:block;font-size:1em;font-weight:700;margin-block:1.33em}
:where(.rk-h5){display:block;font-size:.83em;font-weight:700;margin-block:1.67em}
:where(.rk-h6){display:block;font-size:.67em;font-weight:700;margin-block:2.33em}

/* Images carry width/height (no layout shift); where the site's CSS sets only a width, the height
   follows the aspect ratio instead of the attribute. Zero specificity: explicit sizes still win. */
:where(.rk-clone img[height]){height:auto}

/* "Show more" on the long-form articles: a filled button in the picked secondary colour. The original
   paints it with the page background and primary text, which disappears on a dark primary. */
[class*="article-section"] [class*="article-content"] [class*="article-button-container"] button[class*="article-show-button"] {
  background: var(--button-secondary-background);
  color: var(--button-secondary-text);
  box-shadow: none;
}
[class*="article-section"] [class*="article-content"] [class*="article-button-container"] button[class*="article-show-button"]:hover {
  background: var(--button-secondary-background-active);
}

/* The side menu (desktop sidebar and mobile drawer) scrolls without showing a scrollbar. */
[class*="styles_menu-section__"],
[class*="header-drawer"] {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
[class*="styles_menu-section__"]::-webkit-scrollbar,
[class*="header-drawer"]::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
