@font-face {
  font-family: Brand Inter;
  src: url("/assets/reference/brand-font.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face { font-family: Blinker; src: url("/assets/reference/blinker-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Blinker; src: url("/assets/reference/blinker-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Blinker; src: url("/assets/reference/blinker-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: #fff;
  font: 400 16px/1.42 "Brand Inter", Inter, sans-serif;
  --canvas: #0b0e13;
  --panel: #121a25;
  --line: #252f3b;
  --active: #233346;
  --secondary: #b6bec9;
  --accent: #72d8f4;
  --accent-ink: #081620;
  background: var(--canvas);
}
body.royal {
  --canvas: #12141b;
  --panel: #1c2029;
  --line: #2b303b;
  --active: #2b303c;
  --accent: #cc291c;
  --accent-ink: #fff;
}
body.roll {
  font-family: Blinker, Arial, sans-serif;
  --canvas: #170a23;
  --panel: #0d0e33;
  --line: #3b3047;
  --active: #252733;
  --accent: #d22ac6;
  --accent-ink: #fff;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
img, svg { display: block; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1 { font-size: 30px; line-height: 1.12; }
h2 { font-size: 20px; line-height: 1.2; font-weight: 750; }
svg { width: 24px; height: 24px; flex: 0 0 auto; }
.skip { position: fixed; top: 7px; right: 110%; padding: 8px; }
.skip:focus { right: auto; left: 12px; z-index: 20; background: var(--panel); }

.shell { padding-left: 76px; }
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; height: 64px;
  justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.brand-logo { display: grid; place-items: center; min-width: 0; }
.brand-logo img { width: 128px; height: 45px; object-fit: contain; object-position: left center; }
.royal .brand-logo img { width: 134px; }
.actions { display: flex; align-items: center; gap: 12px; }
.button, .search-button {
  min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  font-size: 13px; font-weight: 680; white-space: nowrap;
}
.button.outline { border-color: color-mix(in srgb,var(--accent),var(--line) 28%); }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button:hover, .promo-button:hover { filter: brightness(1.12); }
.search-button { width: 42px; padding: 0; }
.search-button svg { width: 20px; height: 20px; }
.mobile-menu, .bottom { display: none; }
.side {
  position: fixed; inset: 0 auto 0 0; z-index: 6; display: flex; flex-direction: column;
  align-items: stretch; gap: 4px; width: 76px; padding: 8px 10px 10px;
  background: var(--panel); border-right: 1px solid var(--line); color: var(--secondary);
}
.side a, .side button { display: grid; place-items: center; min-height: 48px; border-radius: 9px; background: transparent; border: 0; padding: 0; }
.side a:nth-child(2), .side a:hover, .side button:hover { background: var(--active); color: white; }
.side .language { margin-top: auto; border: 1px solid var(--line); font-size: 13px; }
.side .help { border: 1px solid color-mix(in srgb,var(--accent),var(--line) 40%); }
.header-menu span { display: none; }

main, footer { max-width: 1680px; margin-inline: auto; padding-inline: 16px; }
main { padding-top: 16px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; min-height: 40px; }
.arrows { display: flex; align-items: center; gap: 8px; }
.arrows button {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px;
  border: 0; background: var(--panel); color: var(--secondary); padding: 0;
}
.arrows button:first-child { background: transparent; }
.arrows svg { width: 18px; height: 18px; }
.rail {
  display: grid; grid-auto-flow: column; gap: 8px; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { min-width: 0; scroll-snap-align: start; }
.promotion-rail { grid-auto-columns: calc((100% - 16px) / 3); }
.promotion { border-radius: 9px; background: var(--panel); }
.promotion figure { position: relative; }
.promotion img {
  width: 100%; aspect-ratio: 12 / 7; object-fit: cover; border-radius: 9px 9px 0 0;
}
.promotion figcaption {
  position: absolute; inset: 0 auto auto 0; padding: 4px 12px; border-radius: 9px 0 10px 0;
  color: var(--accent-ink); background: var(--accent); font-size: 12px; font-weight: 650;
}
.promo-copy { min-height: 72px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.wager .promo-copy { min-height: 80px; font-weight: 650; }
.promo-button {
  display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px;
  font-size: 19px; line-height: 1; border-radius: 50%; color: var(--accent-ink); background: var(--accent);
}
.shelf { margin-top: 24px; }
.game-rail { grid-auto-columns: 141px; }
.game-rail .slide img { width: 100%; height: 188px; object-fit: cover; border-radius: 9px; background: var(--panel); }
.sports-rail { grid-auto-columns: calc((100% - 16px) / 3); }
.sports-rail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.provider-rail { grid-auto-columns: 141px; }
.provider-rail .slide { display: grid; place-items: center; min-height: 74px; border-radius: 9px; background: var(--panel); }
.provider-rail img { width: 80%; max-height: 58px; object-fit: contain; }
.shelf-feature {
  padding: 60px 8px 8px; border-radius: 9px; background-color: var(--panel);
  background-image: linear-gradient(0deg,#171015 0%,transparent 68%),var(--feature);
  background-position: center top; background-size: cover;
}
.shelf-feature .section-title { margin-bottom: 8px; }

.roll .shell { padding-left: 80px; }
.roll .topbar { height: 96px; background: #140a1c; border: 0; padding: 0 20px; }
.roll .brand-logo img { width: 148px; height: 48px; }
.roll .actions { gap: 12px; }
.roll .button { min-width: 104px; min-height: 36px; border-radius: 30px; border: 0; font-weight: 400; text-transform: uppercase; }
.roll .button.outline { background: #403744; border: 1px solid #675d6b; }
.roll .button.primary { background: linear-gradient(#db24be,#7330b6); }
.roll .search-button { display: none; }
.roll .side {
  inset: 97px auto auto 12px; width: 69px; padding: 8px; gap: 1px;
  background: #0e151c; border: 1px solid #46515a; border-radius: 12px; color: white;
}
.roll .side a, .roll .side button { min-height: 44px; }
.roll .side a:nth-child(2) { background: transparent; }
.roll .side .header-menu {
  position: fixed; top: 16px; left: 17px; display: flex; flex-direction: column-reverse;
  align-items: center; justify-content: center; gap: 0; width: 58px; min-height: 58px;
  border: 1px solid #283942; background: #0c151b; border-radius: 13px;
}
.roll .header-menu span { display: block; text-transform: uppercase; font-size: 9px; }
.roll .header-menu svg { height: 18px; }
.roll .side .help { border: 0; }
.roll main, .roll footer { padding-inline: 12px 25px; }
.roll main { padding-top: 34px; }
.roll-hero {
  min-height: 386px; display: flex; align-items: center; padding: 25px; border-radius: 4px;
  background: #110920 var(--roll-banner) center top / cover no-repeat;
}
.roll-intro { max-width: min(68%,720px); }
.offer-tag { display: inline-block; padding: 4px 6px; margin-bottom: 6px; background: #499ea7; font-size: 15px; text-transform: uppercase; }
.roll-hero h1 { text-transform: uppercase; font-size: clamp(33px,4.2vw,46px); font-weight: 600; }
.roll-hero h2 { font-size: 29px; font-weight: 600; }
.roll-hero p { font-size: 21px; }
.roll-hero .cta { margin-top: 14px; padding: 10px 32px; font-size: 22px; min-height: 54px; }
.roll-content { margin-top: 10px; padding: 22px 12px; border-radius: 3px; background: var(--panel); display: grid; gap: 12px; }
.roll-content h2 { font-size: 25px; font-weight: 600; }
.roll-category { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.roll-category a { background: #282042; border-radius: 6px; padding: 5px 10px; }
.tracker { display: grid; gap: 12px; max-width: 660px; }
.tracker img { width: 100%; height: auto; }

.market { display: grid; gap: 10px; margin-top: 24px; padding: 16px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); }
.market h1 { font-size: 24px; }
.crumb, .languages, .footer-links { display: flex; flex-wrap: wrap; gap: 6px 13px; }
.crumb, .market p, footer { color: var(--secondary); }
.crumb { font-size: 13px; }
.market .primary { width: fit-content; }
.market a:not(.button), .footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.market details summary { cursor: pointer; font-weight: 650; }
.market details p { margin-top: 7px; }
footer { margin-top: 22px; padding-bottom: 28px; font-size: 13px; display: grid; gap: 12px; }
.footer-logo { width: 125px; height: 43px; object-fit: contain; object-position: left center; }
dialog { width: min(420px, calc(100% - 28px)); max-height: 80vh; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--panel); color: white; }
dialog::backdrop { background: #000a; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dialog-top button { border: 1px solid var(--line); border-radius: 5px; background: transparent; width: 35px; height: 35px; font-size: 25px; line-height: 1; }
.drawer { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; gap: 5px; }
.drawer a { display: flex; gap: 8px; align-items: center; padding: 9px 5px; border-radius: 5px; min-width: 0; }
.drawer a:hover { background: var(--active); }
#site-search input { width: 100%; border-radius: 6px; padding: 8px; color: white; background: var(--canvas); border: 1px solid var(--line); }
#site-search ul { list-style: none; padding: 8px 0 0; }
#site-search li a { display: block; padding: 6px 2px; }

@media (max-height: 670px) and (min-width: 768px) {
  .side { overflow-y: auto; scrollbar-width: none; }
}
@media (max-width: 900px) and (min-width: 768px) {
  .promotion-rail, .sports-rail { grid-auto-columns: calc((100% - 8px) / 2); }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 64px; }
  .shell, .roll .shell { padding-left: 0; }
  .side, .search-button, .arrows { display: none; }
  .topbar { height: 56px; padding-inline: 16px; gap: 8px; }
  .brand-logo img, .royal .brand-logo img { width: 92px; height: 34px; }
  .actions { gap: 8px; min-width: 0; }
  .button { min-height: 38px; padding-inline: 10px; font-size: 12px; }
  main { padding-top: 16px; }
  .section-title { min-height: 22px; margin-bottom: 10px; }
  .section-title h2 { font-size: 16px; }
  .section-title h2::after { content: "›"; margin-left: 12px; color: var(--secondary); }
  .promotion-rail { grid-auto-columns: 100%; }
  .promotion img { aspect-ratio: 8 / 5; }
  .promo-copy, .wager .promo-copy { min-height: 72px; }
  .shelf { margin-top: 24px; }
  .game-rail { grid-auto-columns: 111px; }
  .game-rail .slide img { height: 148px; }
  .sports-rail { grid-auto-columns: 74%; }
  .shelf-feature { padding-top: 60px; }
  .bottom {
    position: fixed; inset: auto 0 0; z-index: 4; min-height: 64px; display: grid;
    grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); padding: 6px 4px max(6px,env(safe-area-inset-bottom));
    background: var(--panel); border-top: 1px solid var(--line); color: var(--secondary);
  }
  .bottom a, .bottom button {
    display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 0;
    border: 0; padding: 0 2px; background: transparent; text-align: center; font-size: 11px; line-height: 1.13;
  }
  .bottom svg { width: 21px; height: 21px; }
  footer { padding-bottom: 90px; }
  .roll .topbar { height: 76px; padding-inline: 8px; justify-content: start; gap: 6px; }
  .roll .mobile-menu { display: block; padding: 0; border: 0; background: transparent; }
  .roll .mobile-menu svg { width: 17px; }
  .roll .brand-logo img { width: min(37vw,146px); height: 45px; }
  .roll .actions { margin-left: auto; gap: 7px; }
  .roll .button { min-width: 0; min-height: 35px; font-size: 12px; }
  .roll main, .roll footer { padding-inline: 5px; }
  .roll main { padding-top: 14px; }
  .roll-hero { min-height: 276px; align-items: start; padding: 24px 15px 16px; }
  .roll-intro { max-width: 100%; }
  .roll-hero h1 { font-size: clamp(29px,9vw,40px); }
  .roll-hero h2 { font-size: 25px; }
  .roll-hero p { font-size: 18px; }
  .roll-hero .cta { margin-top: 7px; padding-inline: 23px; min-height: 42px; font-size: 16px; }
  .roll .bottom { background: #170f20; }
  .roll .bottom button span { display: none; }
  .roll .bottom button svg { width: 29px; height: 29px; border-radius: 50%; padding: 5px; background: #95919b; color: #1f1b25; }
}
@media (max-width: 365px) {
  .topbar { padding-inline: 10px; }
  .actions { gap: 6px; }
  .actions .button { padding-inline: 7px; font-size: 11px; }
  .bottom a, .bottom button { font-size: 10px; }
}
