@font-face {
  font-family: "Noto Sans Hebrew";
  src: url("../fonts/NotoSansHebrew-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/*
 * Cool neutral theme — loaded last intentionally.
 * Keeps the brand green (#2fae90) and replaces legacy red artwork with
 * clean charcoal, light-grey and white betting surfaces.
 */
:root {
  --rb-site-bg-image: none;
  --rb-site-bg-overlay-from: #f3f5f4;
  --rb-site-bg-overlay-to: #e7ebea;
  --rb-header-bg-from: #202625;
  --rb-header-bg-to: #161b1a;
  --rb-header-border: rgba(47, 174, 144, .72);
  --rb-block-bg-35: #ffffff;
  --rb-surface: #ffffff;
  --rb-surface-soft: #f2f4f3;
  --rb-ink: #202625;
  --rb-border: #d7dfdc;
  --rb-border-subtle: #e7ecea;
  --rb-text: #202625;
  --rb-text-muted: #687570;
  --rb-text-on-accent: #ffffff;
  --rb-accent: #2fae90;
  --rb-accent-strong: #42c9a9;
  --rb-accent-deep: #23856d;
  --rb-accent-dark: #17604f;
  --rb-accent-hover: #258d75;
  --rb-accent-hover-deep: #17604f;
  --rb-accent-border: rgba(47, 174, 144, .88);
  --rb-accent-shadow: rgba(47, 174, 144, .22);
  --rb-odds-accent: rgba(47, 174, 144, .96);
  --rb-odds-accent-deep: rgba(31, 125, 102, .98);
  --rb-odds-border: rgba(47, 174, 144, .86);
  --rb-odds-shadow: rgba(47, 174, 144, .25);
  --rb-button-bg-to: #23856d;
  --rb-button-border: rgba(255, 255, 255, .45);
  --rb-sport-tab-bg: #f2f4f3;
  --rb-sport-tab-text: #34403d;
  --rb-sport-tab-active-bg: linear-gradient(180deg, #42c9a9, #23856d);
  --rb-sport-tab-active-border: rgba(47, 174, 144, .8);
  --rb-sport-tab-active-shadow: 0 4px 14px rgba(47, 174, 144, .22);
  --rb-sport-card-bg: #f6f8f7;
  --rb-odd-bg: #f4f6f5;
  --rb-odd-border: #d7dfdc;
  --rb-odd-active-bg: linear-gradient(180deg, #42c9a9, #23856d);
  --rb-odd-active-border: rgba(47, 174, 144, .86);
  --rb-odd-active-shadow: 0 4px 14px rgba(47, 174, 144, .25);
  --rb-odd-label-color: #4d5a56;
  --primary-color: #2fae90;
  --rb-primary: #2fae90;
  --royalbet-primary: #2fae90;
  --background-color: #f3f5f4;
}

html.dark-mode,
html.dark-mode body,
body {
  background: linear-gradient(180deg, #f6f8f7 0%, #e9edeb 100%) !important;
  color: var(--rb-text) !important;
}

/* Main containers and event cards */
.home-common-wrap,
.casino-banner,
.de-info,
.de-content,
.marketname-main,
.footer-blck,
.p-dialog,
.p-toast-message,
.rb-sport-context-card,
.rb-sport-submenu,
.rb-sport-submenu-sport,
.rb-sport-submenu-tabs button,
.rb-sport-submenu-tabs a,
.rb-home-sports-inner,
.rb-home-sport-card,
.rb-home-betting-board,
.rb-home-betting-slide,
.rb-home-betting-event,
.rb-sport-page-hero,
.rb-sport-page-event,
.rb-sport-page-side > section,
.rb-sport-page-market-block button,
.rb-casino-page-shell,
.rb-casino-page-nav {
  background: #ffffff !important;
  border-color: #d7dfdc !important;
  color: #202625 !important;
  box-shadow: 0 8px 22px rgba(28, 43, 38, .08) !important;
}

.rb-home-sports-inner,
.rb-sport-submenu,
.rb-home-sport-group,
.rb-home-sub-sport,
.rb-sport-submenu-sport,
.rb-sport-submenu-tabs button,
.rb-sport-submenu-tabs a {
  background: #f2f4f3 !important;
  border-color: #d7dfdc !important;
  color: #34403d !important;
}

.rb-home-sport-group.active,
.rb-home-sub-sport.active,
.rb-sport-submenu-sport.active,
.rb-sport-submenu-tabs button.active,
.rb-sport-submenu-tabs a.active,
.rb-home-sport-group:hover,
.rb-home-sub-sport:hover,
.rb-sport-submenu-sport:hover,
.rb-sport-submenu-tabs button:hover,
.rb-sport-submenu-tabs a:hover {
  background: linear-gradient(180deg, #42c9a9, #23856d) !important;
  border-color: #2fae90 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(47, 174, 144, .24) !important;
}

/* Bets, selected markets, actions and all legacy red active states */
.rb-odd,
.rb-home-betting-odd,
.rb-sport-page-market-block button,
[class*="odd"],
[class*="market"] button {
  background: #f3f5f4 !important;
  border-color: #d7dfdc !important;
  color: #202625 !important;
}

.rb-odd.active,
.rb-odd.selected,
.rb-home-betting-odd.active,
.rb-home-betting-odd.selected,
.rb-sport-page-market-block button.active,
.rb-sport-page-market-block button.selected,
[class*="odd"].active,
[class*="odd"].selected,
[class*="market"] button.active,
[class*="market"] button.selected,
.p-button:not(.p-button-secondary),
.btn-primary,
.rb-button-primary {
  background: linear-gradient(180deg, #42c9a9, #23856d) !important;
  border-color: #2fae90 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(47, 174, 144, .25) !important;
}

#rb-site-header,
#rb-site-header .rb-header {
  background: linear-gradient(180deg, #252c2a, #171c1b) !important;
  border-bottom-color: #2fae90 !important;
}

#rb-site-header.rb-menu-open .rb-main-nav,
#rb-site-header.rb-menu-open .rb-dropdown {
  background: #202625 !important;
  border-color: rgba(47, 174, 144, .42) !important;
}

/* Neutralize old crimson details in cards, dialogs, and player-bet panels. */
.rb-home-betting-event,
.rb-sport-page-event,
.rb-player-bets-panel,
.rb-player-bet-card,
.p-dialog,
.p-toast-message,
[class*="bet-slip"],
[class*="betslip"] {
  background: #ffffff !important;
  border-color: #d7dfdc !important;
  color: #202625 !important;
}

.rb-home-betting-event *,
.rb-sport-page-event *,
.rb-player-bets-panel *,
.rb-player-bet-card *,
.p-dialog *,
[class*="bet-slip"] *,
[class*="betslip"] * {
  border-color: inherit;
}

.rb-home-betting-event .rb-match-team,
.rb-sport-page-event .rb-match-team,
.rb-home-betting-event strong,
.rb-sport-page-event strong,
.rb-player-bets-panel strong,
.p-dialog .p-dialog-title {
  color: #202625 !important;
}

.rb-home-betting-event small,
.rb-sport-page-event small,
.rb-home-betting-event .muted,
.rb-sport-page-event .muted,
.rb-player-bets-panel small {
  color: #687570 !important;
}

input,
select,
textarea {
  background: #ffffff !important;
  border-color: #cfd8d4 !important;
  color: #202625 !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2fae90 !important;
  box-shadow: 0 0 0 3px rgba(47, 174, 144, .16) !important;
}

/* Global team/match name readability policy */
.rb-home-betting-teams strong,
.rb-home-betting-teams em,
.rb-sport-page-teams strong,
.rb-sport-page-teams i,
.rb-match-team strong,
.rb-match-team span,
.rb-match-teams strong,
.rb-match-teams span,
.sx-match-list strong,
.sx-match-list b,
.sx-livematch-card strong,
.sx-livematch-card b,
.sx-prematch-card strong,
.sx-prematch-card b,
[class*="team"] strong,
[class*="team"] b,
[class*="match"] strong,
[class*="match"] b,
[class*="fixture"] strong,
[class*="fixture"] b {
  font-weight: 400 !important;
  font-size: min(16px, 1em) !important;
}

/* Main sport page scrolling lists: keep team/sport labels lighter and smaller. */
.rb-sport-page .rb-sport-page-teams strong,
.rb-sport-page .rb-sport-page-teams i,
.rb-sport-page .rb-match-team strong,
.rb-sport-page .rb-match-team span,
.rb-sport-page .sx-sport-list li,
.rb-sport-page .sx-sport-list li a,
.rb-sport-page .sx-sport-list li span,
.rb-sport-page .sx-match-list strong,
.rb-sport-page .sx-match-list b,
.rb-sport-page .sx-livematch-card strong,
.rb-sport-page .sx-livematch-card b,
.rb-sport-page .sx-prematch-card strong,
.rb-sport-page .sx-prematch-card b,
body.sx-sport-page-wrap .rb-sport-page-teams strong,
body.sx-sport-page-wrap .rb-sport-page-teams i,
body.sx-sport-page-wrap .rb-match-team strong,
body.sx-sport-page-wrap .rb-match-team span,
body.sx-sport-page-wrap .sx-sport-list li,
body.sx-sport-page-wrap .sx-sport-list li a,
body.sx-sport-page-wrap .sx-sport-list li span,
body.sx-sport-page-wrap .sx-match-list strong,
body.sx-sport-page-wrap .sx-match-list b,
body.sx-sport-page-wrap .sx-livematch-card strong,
body.sx-sport-page-wrap .sx-livematch-card b,
body.sx-sport-page-wrap .sx-prematch-card strong,
body.sx-sport-page-wrap .sx-prematch-card b {
  font-weight: 400 !important;
  font-size: min(14px, 1em) !important;
}

/*
 * ╔══════════════════════════════════════════════════════════════════════╗
 * ║              ROYALBET — DESIGN CONTROL CENTER                       ║
 * ║ עריכת צבעי היסוד, הטקסט והלחצנים של כל האתר מתבצעת כאן בלבד.       ║
 * ║ רכיבים משתמשים במשתנים אלו; אין צורך לחפש צבעים בין דפי האתר.      ║
 * ╚══════════════════════════════════════════════════════════════════════╝
 */
:root {
  /* 1. בסיס האתר: רקע, משטחים, מסגרות וטקסט */
  --rb-site-bg-image: url("../images/bg.jpg");
  --rb-site-bg-overlay-from: rgba(13, 14, 14, 0.50);
  --rb-site-bg-overlay-to: rgba(10, 11, 11, 0.50);
  --rb-header-bg-from: rgba(7, 21, 16, 0.872);
  --rb-header-bg-to: rgba(18, 45, 29, 0.858);
  --rb-header-border: rgba(47, 174, 108, 0.436);
  --rb-block-bg-35: rgba(26, 52, 19, 0.65);
  --rb-surface: #0b271fbe;
  --rb-surface-soft: #0c2718be;
  --rb-ink: #030504d6;
  --rb-border: rgba(255, 255, 255, 0.14);
  --rb-border-subtle: rgba(255, 255, 255, 0.08);
  --rb-text: #f1eeee;
  --rb-text-muted: #aab9b3;
  --rb-text-on-accent: #ffffff;

  /* 2. צבעי מותג והדגשה */
  --rb-accent: #2fae90;
  --rb-accent-strong: #43e49e;
  --rb-accent-deep: #07452ed7;
  --rb-accent-dark: #032713b4;
  --rb-accent-hover: #c7f055;
  --rb-accent-hover-deep: #137a48;
  --rb-accent-border: rgba(47, 174, 132, 0.88);
  --rb-accent-shadow: rgba(47, 174, 123, 0.34);
  --rb-odds-accent: rgba(228, 71, 67, 0.92);
  --rb-odds-accent-deep: rgba(128, 24, 23, 0.86);
  --rb-odds-border: rgba(228, 71, 67, 0.84);
  --rb-odds-shadow: rgba(174, 48, 47, 0.28);

  /* 3. טיפוגרפיה כללית */
  --rb-font-family: "Noto Sans Hebrew", "Noto Sans", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --rb-font-size-control: 12px;
  --rb-font-weight-control: 500;

  /* 4. לחצנים כלליים */
  --rb-button-bg-from: var(--rb-accent-strong);
  --rb-button-bg-mid: var(--rb-accent);
  --rb-button-bg-to: #106839b8;
  --rb-button-border: rgba(210, 255, 234, 0.16);
  --rb-button-border-width: 1px;
  --rb-button-radius: 8px;
  --rb-button-shadow: 0 10px 28px var(--rb-accent-shadow);
  --rb-button-hover-from: var(--rb-accent-hover);
  --rb-button-hover-to: var(--rb-accent-hover-deep);

  /* 5. לחצני ענפי ספורט / טאבים */
  --rb-sport-tab-width: 136px;
  --rb-sport-tab-height: 36px;
  --rb-sport-tab-radius: 10px;
  --rb-sport-tab-bg: rgba(255, 255, 255, 0.045);
  --rb-sport-tab-text: #d9d2d2;
  --rb-sport-tab-font-family: "Noto Sans Hebrew Tabs", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
  --rb-sport-tab-font-size: 12px;
  --rb-sport-tab-font-weight: 500;
  --rb-sport-tab-active-bg: linear-gradient(180deg, var(--rb-odds-accent), rgba(104, 17, 16, .92));
  --rb-sport-tab-active-border: rgba(228, 71, 67, .78);
  --rb-sport-tab-active-shadow: 0 0 18px rgba(174, 48, 47, .32);
  --rb-sport-card-width: 148px;
  --rb-sport-card-height: 60px;
  --rb-sport-card-radius: 10px;
  --rb-sport-card-bg: rgba(255, 255, 255, 0.04);
  --rb-sport-card-font-family: "Noto Sans Hebrew Tabs", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
  --rb-sport-card-font-size: 13px;
  --rb-sport-card-font-weight: 500;

  /* 6. כפתורי יחסים */
  --rb-odd-radius: 8px;
  --rb-odd-bg: rgba(0, 0, 0, .28);
  --rb-odd-border: rgba(255, 255, 255, .10);
  --rb-odd-active-bg: linear-gradient(180deg, var(--rb-odds-accent), var(--rb-odds-accent-deep));
  --rb-odd-active-border: var(--rb-odds-border);
  --rb-odd-active-shadow: 0 0 18px var(--rb-odds-shadow);
  --rb-odd-label-color: #d6c0bf;

  /* Backwards-compatible names used by existing styles. */
  --primary-color: var(--rb-accent);
  --rb-primary: #2fae97;
  --royalbet-primary: #2fae6a;
  --background-color: #030504c2;
  --rb-red: var(--rb-accent);
  --rb-red-bright: var(--rb-accent-strong);
  --rb-red-dark: var(--rb-accent-deep);
  --rb-red-deep: var(--rb-accent-dark);
  --rb-panel: var(--rb-surface);
  --rb-panel-soft: var(--rb-surface-soft);
  --rb-silver: var(--rb-text);
  --rb-muted: var(--rb-text-muted);
}

.home-common-wrap,
.casino-banner,
.de-info,
.de-content,
.marketname-main,
.footer-blck,
.p-dialog,
.p-toast-message,
.rb-sport-context-card,
.rb-sport-submenu,
.rb-sport-submenu-sport,
.rb-sport-submenu-tabs button,
.rb-sport-submenu-tabs a,
.rb-home-sports-inner,
.rb-home-sport-card,
.rb-home-betting-board,
.rb-home-betting-slide,
.rb-home-betting-event,
.rb-sport-page-hero,
.rb-sport-page-event,
.rb-sport-page-side > section,
.rb-sport-page-market-block button,
.rb-casino-page-shell,
.rb-casino-page-nav {
  background: var(--rb-block-bg-35) !important;
}

@font-face {
  font-family: "Noto Sans Hebrew";
  src: url("../fonts/NotoSansHebrew-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Hebrew";
  src: url("../fonts/NotoSansHebrew-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Hebrew Tabs";
  src: url("../fonts/NotoSansHebrew-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

html,
body,
button,
input,
select,
textarea,
label,
span,
strong,
small,
p,
a,
li,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--rb-font-family) !important;
  letter-spacing: 0 !important;
}

html.dark-mode,
html.dark-mode body,
body {
  background:
    linear-gradient(var(--rb-site-bg-overlay-from), var(--rb-site-bg-overlay-to)),
    var(--rb-site-bg-image) center center / cover fixed no-repeat !important;
  color: var(--rb-silver);
}

html,
body {
  margin: 0 !important;
  overflow-x: hidden !important;
}

.app-main-content,
.main-content-wrapper,
.dashboard-wrapper,
.dash-container {
  background: transparent !important;
}

.HeadWarnMessage,
.WarnText,
.CloseWarning {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body:has(.dashboard-wrapper) .main-slider,
body:has(.dash-container) .main-slider {
  display: block !important;
}

html.home-page .dashboard-wrapper .casino-banner-wrapper,
html.home-page .dashboard-wrapper .dash-popular-prematch,
html.home-page .dashboard-wrapper .dashboardmain-games,
html.home-page .dashboard-wrapper .popular-slot-game,
html.home-page .dashboard-wrapper .sports-slider {
  display: revert !important;
  visibility: visible !important;
}

html.home-page .app-main-content,
html.home-page .main-content-wrapper,
html.home-page .dashboard-wrapper,
html.home-page .dash-container,
html.home-page .main-slider,
html.home-page #mainimageSwiper {
  position: relative;
  z-index: 1;
  visibility: visible !important;
}

html.home-page:not(.rb-page-slider-ready) .main-slider,
html.home-page:not(.rb-page-slider-ready) #mainimageSwiper {
  display: none !important;
}

html.rb-page-slider-pending .app-main-content,
html.rb-page-slider-pending .main-content-wrapper {
  visibility: visible !important;
}

html.page-casino .app-main-content,
html.page-casino .main-content-wrapper,
body.rb-casino-page-enhanced .app-main-content,
body.rb-casino-page-enhanced .main-content-wrapper,
body.rb-casino-page-enhanced .rb-casino-page {
  visibility: visible !important;
}

.main-header,
.header-main,
.sidebar-wrapper,
.main-sidebar,
.footer-main,
.main-footer-part {
  background:
    linear-gradient(180deg, var(--rb-header-bg-from), var(--rb-header-bg-to)) !important;
  border-color: var(--rb-header-border) !important;
}

.btn-primary,
.p-button,
button.p-button,
.login-btn,
.register-btn,
.deposit-btn,
.casino-banner .btn,
.footer-link.bm-betslip-btn a,
.backto-top {
  background:
    linear-gradient(180deg, var(--rb-button-bg-from), var(--rb-button-bg-mid) 58%, var(--rb-button-bg-to)) !important;
  border: var(--rb-button-border-width) solid var(--rb-button-border) !important;
  border-radius: var(--rb-button-radius) !important;
  color: var(--rb-text-on-accent) !important;
  box-shadow: var(--rb-button-shadow) !important;
}

.btn-primary:hover,
.p-button:hover,
button.p-button:hover,
.casino-banner .btn:hover {
  background:
    linear-gradient(180deg, var(--rb-button-hover-from), var(--rb-button-bg-mid) 58%, var(--rb-button-hover-to)) !important;
  color: var(--rb-text-on-accent) !important;
}

a:hover,
.active,
.router-link-active,
.market-filter a.active,
.dash-sports-slide.active,
.sidebar-menu li.active > a,
.sidebar-menu a.active,
.main-menu a.active {
  color: #fff !important;
  border-color: rgba(47, 174, 132, 0.88) !important;
}

.market-filter a.active,
.dash-sports-slide.active,
.sports-menu .active,
.home-swiper-pagination .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active {
  background:
    linear-gradient(180deg, rgba(67, 228, 153, 0.98), rgba(47, 174, 119, 0.96)) !important;
  box-shadow: 0 0 24px rgba(47, 174, 121, 0.45) !important;
}

.casino-banner,
.home-common-wrap,
.dash-event-swiper-prematch .swiper-slide,
.de-info,
.de-content,
.marketname-main,
.footer-blck,
.p-dialog,
.p-toast-message {
  border-color: rgba(47, 174, 106, 0.352) !important;
}

.casino-banner {
  background:
    linear-gradient(135deg, rgba(7, 25, 18, 0.95), rgba(8, 48, 29, 0.82) 58%, rgba(8, 17, 15, 0.96)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(246, 250, 249, 0.04),
    0 18px 44px rgba(9, 10, 10, 0.34) !important;
}

.casino-banner::before,
.home-common-wrap::before {
  background:
    radial-gradient(circle, rgba(49, 164, 101, 0.584), transparent 33%) !important;
  pointer-events: none !important;
}

.casino-banner::after,
.home-common-wrap::after {
  pointer-events: none !important;
}

.glow,
.ellipse,
.ellipse-border {
  border-color: rgba(47, 174, 134, 0.72) !important;
  background: rgba(47, 174, 134, 0.22) !important;
  box-shadow: 0 0 34px rgba(117, 174, 47, 0.46) !important;
}

.dash-section-heading h3,
.footer-blck h2,
.banner-game-title,
.banner-game-subtitle {
  color: #fff !important;
  font-size: 25px !important;
  line-height: 1.15 !important;
  text-shadow: 0 0 18px rgba(121, 174, 47, 0.48);
}

.de-title,
.de-name,
.market-filter,
.dash-sports-prematch,
.footer-copyright,
.bottom-betslip-fixed {
  background-color: rgba(4, 12, 9, 0.86) !important;
  border-color: rgba(47, 174, 117, 0.28) !important;
}

.de-content,
.odd-btn,
.odd,
.odds,
.market-odd,
.bet-option,
.p-inputtext {
  background-color: rgba(6, 17, 14, 0.92) !important;
  border-color: rgba(47, 174, 113, 0.28) !important;
  color: var(--rb-silver) !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
  background-color: rgba(6, 17, 11, 0.92) !important;
  border-color: rgba(47, 174, 140, 0.28) !important;
  color: var(--rb-silver) !important;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--rb-red) !important;
  cursor: pointer;
}

html,
body {
  direction: rtl !important;
}

.rb-language-switcher {
  position: fixed;
  top: 58px;
  left: 12px;
  z-index: 1245;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 6px 4px 8px;
  border: 1px solid rgba(47, 174, 117, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(10, 22, 15, 0.9), rgba(4, 14, 7, 0.86));
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 17, 17, 0.24), 0 0 18px rgba(47, 174, 129, 0.18);
  backdrop-filter: blur(10px);
  direction: rtl;
  text-align: right;
}

.rb-language-switcher > span {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.rb-language-button {
  min-width: 132px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  border: 1px solid rgba(236, 246, 239, 0.12);
  border-radius: 10px;
  background: rgba(30, 35, 33, 0.32) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  padding: 0 9px;
  cursor: pointer;
  direction: rtl;
}

.rb-language-button::after {
  content: "";
  width: 0;
  height: 0;
  margin-inline-start: auto;
  border-inline: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, .72);
  transition: transform .18s ease;
}

.rb-language-switcher.open .rb-language-button::after {
  transform: rotate(180deg);
}

.rb-language-flag {
  width: 24px;
  height: 16px;
  min-width: 24px;
  display: inline-block;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(245, 255, 250, 0.32);
  box-shadow: 0 1px 4px rgba(22, 25, 25, 0.34);
  background: linear-gradient(180deg, #eee, #bbb);
}

.rb-language-flag[data-rb-language-flag="il"] {
  background:
    linear-gradient(180deg, #fff 0 20%, #1f5fbf 20% 34%, #fff 34% 66%, #1f5fbf 66% 80%, #fff 80% 100%);
}

.rb-language-flag[data-rb-language-flag="gb"] {
  background:
    linear-gradient(34deg, transparent 0 44%, #fff 44% 49%, #10c87e 49% 53%, #fff 53% 58%, transparent 38%),
    linear-gradient(146deg, transparent 0 44%, #fff 44% 49%, #10c894 49% 53%, #fff 53% 58%, transparent 38%),
    linear-gradient(90deg, transparent 0 42%, #fff 42% 46%, #10c88e 46% 54%, #fff 54% 58%, transparent 38%),
    linear-gradient(180deg, transparent 0 38%, #fff 38% 43%, #10c87b 43% 57%, #fff 57% 62%, transparent 32%),
    #012169;
}

.rb-language-flag[data-rb-language-flag="es"] {
  background: linear-gradient(180deg, #14a968 0 25%, #f1bf00 25% 75%, #15aa71 75% 100%);
}

.rb-language-flag[data-rb-language-flag="fr"] {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #35efae 66.66% 100%);
}

.rb-language-flag[data-rb-language-flag="sa"] {
  background: linear-gradient(180deg, #006c35, #006c35);
}

.rb-language-flag[data-rb-language-flag="ru"] {
  background: linear-gradient(180deg, #fff 0 33.33%, #0039a6 33.33% 66.66%, #1ed586 66.66% 100%);
}

.rb-language-code {
  color: #eeffc8;
  font-size: 11px;
}

.rb-language-current {
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-language-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: auto;
  right: 0;
  width: 180px;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(174, 48, 47, .36);
  border-radius: 12px;
  background: rgba(12, 4, 5, .98);
  color: #fff;
  box-shadow: 0 18px 34px rgba(14, 15, 15, 0.42), 0 0 20px rgba(47, 174, 123, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  direction: rtl;
  text-align: right;
}

.rb-language-switcher.open .rb-language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rb-language-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: right;
  direction: rtl;
}

.rb-language-option:hover,
.rb-language-option.active {
  background: linear-gradient(180deg, rgba(23, 128, 74, 0.74), rgba(9, 45, 34, 0.72));
}

.rb-language-option-text {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.rb-language-option-text strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
}

.rb-language-option-text small {
  color: #d2b9b7;
  font-size: 10px;
  line-height: 1.1;
}

.odd-btn:hover,
.odd:hover,
.market-odd:hover,
.bet-option:hover,
.de-content:hover {
  border-color: rgba(67, 228, 75, 0.72) !important;
  box-shadow: 0 0 20px rgba(119, 174, 47, 0.24) !important;
}

svg .sb-icon-path,
.fa,
.far,
.fas,
.fab,
.statistic-icon svg path {
  color: var(--rb-red-bright) !important;
  fill: currentColor;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--rb-red-bright), var(--rb-red-dark));
}

::selection {
  background: rgba(47, 174, 140, 0.88);
  color: #fff;
}

.rb-click-active,
.sx-sport-list li.rb-click-active > a,
.sportcountry-view li.rb-click-active > a,
.sx-sports-swiper a.rb-click-active,
.sx-country-swiper a.rb-click-active,
.sx-sports-swiper swiper-slide.rb-click-active a,
.sx-country-swiper swiper-slide.rb-click-active a,
.market-filter a.rb-click-active,
.dash-sports-slide.rb-click-active,
.home-live-tabs a.rb-click-active {
  border-color: rgba(67, 228, 172, 0.9) !important;
  box-shadow: 0 0 22px rgba(174, 48, 47, .34) !important;
  color: #fff !important;
}

.rb-odd-selected,
.odd.rb-odd-selected,
.odd-btn.rb-odd-selected,
.market-odd.rb-odd-selected,
.bet-option.rb-odd-selected,
.sx-odd.rb-odd-selected,
.sx-bet-btn.rb-odd-selected,
.sx-market-odd.rb-odd-selected,
.sx-odd-cell.rb-odd-selected,
.odd-cell.rb-odd-selected,
[class*="odd"].rb-odd-selected {
  background: linear-gradient(180deg, rgba(240, 238, 238, .98), rgba(207, 196, 195, .96)) !important;
  border-color: rgba(255, 255, 255, .78) !important;
  color: #255b0c !important;
}

body.rb-betslip-collapsed right-sidebar-xl,
body.rb-betslip-collapsed .sx-right-panel,
body.rb-betslip-collapsed .sx-betslip-mainbox {
  display: none !important;
}

.rb-betslip-toggle {
  position: fixed;
  right: 16px;
  top: 42%;
  z-index: 1190;
  min-width: 94px;
  min-height: 38px;
  border: 1px solid rgba(245, 253, 252, 0.16);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--rb-red-bright), var(--rb-red) 58%, #10684e);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(45, 170, 130, 0.34);
}

.rb-betslip-toggle:hover {
  background: linear-gradient(180deg, #55f09b, var(--rb-red) 58%, #137a3c);
}

.rb-mobile-footer {
  display: none;
}

.rb-sport-context {
  width: min(1290px, calc(100vw - 32px));
  margin: 12px auto 14px;
  color: #fff;
  direction: rtl;
}

.rb-sport-context-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(79, 174, 47, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #103627c1, #093827d1),
    radial-gradient(circle at 10% 20%, rgba(228, 71, 67, .2), transparent 25%);
  box-shadow: 0 14px 34px rgba(18, 19, 18, 0.28), 0 0 22px rgba(47, 174, 132, 0.14);
}

.rb-sport-context-card img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: fill;
  border: 1px solid rgba(245, 251, 248, 0.2);
}

.rb-sport-context-card span,
.rb-sport-context-card p,
.rb-sport-context-events small {
  color: #b9d0cb;
}

.rb-sport-context-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.rb-sport-context-card p {
  margin: 4px 0 0;
  font-size: 13px;
}

.rb-sport-context-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.rb-sport-context-events article {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(47, 174, 149, 0.28);
  border-radius: 8px;
  background: rgba(6, 12, 9, 0.72);
}

.rb-sport-context-events span,
.rb-sport-context-events strong,
.rb-sport-context-events small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-sport-context-events span {
  color: #43e4b4;
  font-size: 11px;
  font-weight: 400;
}

.rb-sport-context-events strong {
  font-size: 13px;
  margin: 3px 0;
}

.rb-sport-submenu {
  position: relative;
  z-index: 8;
  pointer-events: auto;
  width: min(1290px, calc(100vw - 32px));
  margin: -2px auto 14px;
  border-top: 1px solid rgba(47, 174, 136, 0.28);
  border-bottom: 1px solid rgba(47, 174, 72, 0.28);
  background:
    linear-gradient(180deg, rgba(12, 36, 30, 0.651), rgba(28, 69, 43, 0.772));
  color: #fff;
  direction: rtl;
  overflow: hidden;
  animation: rbSubmenuIn .18s ease-out;
}

.rb-sport-submenu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 8px 12px 6px;
}

.rb-sport-submenu-head span {
  color: #d6c0bf;
  font-size: 12px;
  font-weight: 600;
}

.rb-sport-submenu-head strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.rb-sport-submenu-head-markets {
  border-top: 1px solid rgba(174, 48, 47, .2);
}


.rb-sport-submenu-sports {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 0 12px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  position: relative;
  z-index: 12;
}

.rb-sport-submenu-sport {
  flex: 0 0 var(--rb-sport-card-width);
  width: var(--rb-sport-card-width);
  min-width: var(--rb-sport-card-width);
  max-width: var(--rb-sport-card-width);
  min-height: var(--rb-sport-card-height);
  padding: 8px;
  border: var(--rb-button-border-width) solid var(--rb-odd-border);
  border-radius: var(--rb-sport-card-radius);
  background: var(--rb-sport-card-bg);
  color: var(--rb-text-on-accent);
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  text-align: right;
  pointer-events: auto;
  touch-action: manipulation;
  position: relative;
  z-index: 13;
}

.rb-sport-submenu-sport span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .28);
}

.rb-sport-submenu-sport img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.rb-sport-submenu-sport strong {
  display: block;
  margin: 0;
  font-size: var(--rb-sport-card-font-size);
  line-height: 1.2;
  font-weight: var(--rb-sport-card-font-weight) !important;
  font-family: var(--rb-sport-card-font-family) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-sport-submenu-sport {
  text-decoration: none !important;
}

.rb-sport-submenu-sport:hover,
.rb-sport-submenu-sport.active {
  border-color: var(--rb-sport-tab-active-border);
  background: var(--rb-sport-tab-active-bg);
  box-shadow: var(--rb-sport-tab-active-shadow);
}

.rb-sport-submenu-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  position: relative;
  z-index: 12;
}

.rb-sport-submenu-tabs button,
.rb-sport-submenu-tabs a {
  flex: 0 0 var(--rb-sport-tab-width);
  width: var(--rb-sport-tab-width);
  min-width: var(--rb-sport-tab-width);
  max-width: var(--rb-sport-tab-width);
  min-height: var(--rb-sport-tab-height);
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--rb-button-border-width) solid var(--rb-border-subtle);
  border-radius: var(--rb-sport-tab-radius);
  background: var(--rb-sport-tab-bg);
  color: var(--rb-sport-tab-text);
  cursor: pointer;
  font-size: var(--rb-sport-tab-font-size);
  font-weight: var(--rb-sport-tab-font-weight) !important;
  font-family: var(--rb-sport-tab-font-family) !important;
  white-space: nowrap;
  pointer-events: auto;
  touch-action: manipulation;
  position: relative;
  z-index: 13;
  text-decoration: none !important;
}

.rb-sport-submenu-tabs button:hover,
.rb-sport-submenu-tabs button.active,
.rb-sport-submenu-tabs a:hover,
.rb-sport-submenu-tabs a.active {
  border-color: var(--rb-sport-tab-active-border);
  background: var(--rb-sport-tab-active-bg);
  color: var(--rb-text-on-accent);
  box-shadow: var(--rb-sport-tab-active-shadow);
}

@keyframes rbSubmenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rb-home-sports {
  width: 100%;
  margin: 12px 0 18px;
  color: #fff;
  direction: rtl;
}

.rb-home-sports-inner {
  width: min(1290px, calc(100vw - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(174, 48, 47, .26);
  border-bottom: 1px solid rgba(174, 48, 47, .26);
  background: linear-gradient(180deg, rgba(37, 7, 11, 0.644), rgba(5, 3, 3, 0.479));
}

.rb-home-sports-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px 0;
}

.rb-home-sports-head strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.rb-home-live-line-wrap {
  margin: 8px 10px 10px;
}

.rb-live-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid rgba(228, 71, 67, .34);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)),
    rgba(10, 3, 4, .84);
  overflow: hidden;
}

.rb-live-line-title {
  color: #ff5f5a;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.rb-live-line-empty {
  color: #c7b1b0;
  font-size: 12px;
}

.rb-live-line-viewport {
  overflow: hidden;
  min-width: 0;
}

.rb-live-line-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  will-change: transform;
  animation: rbLiveLineMarquee 50s linear infinite;
}

.rb-live-line-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #f7ebeb;
  font-size: 12px;
}

.rb-live-line-item b {
  color: #fff;
  font-size: 12px;
}

.rb-live-line-item small {
  color: #f1a9a7;
  font-size: 11px;
}

.rb-live-line-item em {
  color: #c8b3b2;
  font-style: normal;
  font-size: 11px;
}

.rb-live-line-page {
  width: min(1260px, calc(100vw - 24px));
  margin: 10px auto 92px;
  color: #fff;
  direction: rtl;
}

.rb-live-line-page-inner {
  border: 1px solid rgba(174, 48, 47, .34);
  border-radius: 12px;
  padding: 12px;
  background:
    radial-gradient(circle at 20% 0, rgba(228, 71, 67, .2), transparent 34%),
    linear-gradient(180deg, rgba(52, 18, 22, 0.779), rgba(5, 3, 3, .86));
  box-shadow: 0 16px 44px rgba(0, 0, 0, .34);
}

.rb-live-line-page-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.rb-live-line-page-head span {
  color: #e44743;
  font-size: 12px;
  font-weight: 600;
}

.rb-live-line-page-head strong {
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.05;
}

.rb-live-line-page-head p {
  margin: 0;
  color: #cdb7b6;
  font-size: 13px;
}

.rb-live-line-page-list {
  display: grid;
  gap: 10px;
}

.rb-live-line-page-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
}

.rb-live-line-page-main strong,
.rb-live-line-page-main small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-live-line-page-main strong {
  color: #fff;
  font-size: clamp(16px, 2.6vw, 22px);
  line-height: 1.1;
}

.rb-live-line-page-main small {
  margin-top: 4px;
  color: #c8b3b2;
  font-size: 12px;
}

.rb-live-line-page-odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rb-live-line-page-odds button {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: rgba(0, 0, 0, .34);
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 2px;
  place-items: center;
  padding: 6px;
}

.rb-live-line-page-odds button:hover,
.rb-live-line-page-odds button.rb-odd-selected,
.rb-live-line-page-odds button.active {
  border-color: rgba(228, 71, 67, .84);
  background: linear-gradient(180deg, rgba(228, 71, 67, .92), rgba(128, 24, 23, .86));
  box-shadow: 0 0 18px rgba(174, 48, 47, .28);
}

.rb-live-line-page-odds button span {
  color: #f1b0af;
  font-size: 11px;
  font-weight: 600;
}

.rb-live-line-page-odds button b {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.rb-live-line-page-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: #cdb7b6;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
}

.rb-live-line-embed-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rb-live-line-embed-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(228, 71, 67, .42);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), hwb(0 100% 0% / 0.01));
  color: #ffd8d6;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}

.rb-live-line-embed-actions a:hover {
  border-color: rgba(228, 71, 67, .84);
  color: #fff;
}

.rb-live-line-embed-frame-wrap {
  width: 100%;
  border: 1px solid rgba(228, 71, 67, .28);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, .28);
}

.rb-live-line-embed-frame-wrap iframe {
  width: 100%;
  height: min(84vh, 960px);
  border: 0;
  display: block;
  background: #0b0303;
}

@media (max-width: 760px) {
  .rb-live-line-page {
    width: min(100vw - 12px, 1260px);
    margin-bottom: 88px;
  }
  .rb-live-line-page-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rb-live-line-page-odds {
    width: 100%;
  }
  .rb-live-line-embed-actions a {
    flex: 1 1 48%;
    justify-content: center;
  }
  .rb-live-line-embed-frame-wrap iframe {
    height: min(78vh, 760px);
  }
}

@keyframes rbLiveLineMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.rb-home-sports-groups,
.rb-home-sub-sports,
.rb-home-sports-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.rb-home-sports-groups::-webkit-scrollbar,
.rb-home-sub-sports::-webkit-scrollbar,
.rb-home-sports-slider::-webkit-scrollbar {
  display: none;
}

.rb-home-sports-groups {
  padding: 10px;
}

.rb-home-sub-sports {
  padding: 0 10px 10px;
}

.rb-home-sport-group,
.rb-home-sub-sport {
  position: relative;
  flex: 0 0 138px;
  width: 138px;
  min-width: 138px;
  max-width: 138px;
  min-height: 40px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 190, 190, .16), rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, rgba(125, 23, 22, .78), rgba(78, 14, 14, .82));
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(0, 0, 0, .35),
    0 4px 10px rgba(0, 0, 0, .26);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}

.rb-home-sub-sport {
  width: 138px;
  min-width: 138px;
  max-width: 138px;
  min-height: 32px;
}

.rb-home-sport-group::before,
.rb-home-sub-sport::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 48%;
  border-radius: 7px 7px 10px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.rb-home-sport-group span,
.rb-home-sub-sport span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rb-home-sub-sport span {
  width: 24px;
  height: 24px;
}

/* Sport tabs icon wrapper: no background frame (live-line page only) */
html.rb-route-live-line .rb-home-sport-group span,
html.rb-route-live-line .rb-home-sub-sport span,
html.rb-route-live-line .rb-sport-submenu-sport span,
html.rb-route-live-line .dash-sports-slide span,
html.rb-route-live-line .sx-sport-list li span,
html.rb-route-live-line .sx-sports-swiper swiper-slide span {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.rb-home-sport-group img,
.rb-home-sub-sport img,
.rb-home-sport-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.rb-home-sport-group strong,
.rb-home-sub-sport strong {
  min-width: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 500 !important;
  font-family: "Noto Sans Hebrew Tabs", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-variation-settings: "wght" 500;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-home-sport-group,
.rb-home-sub-sport,
.rb-sport-submenu-tabs button {
  font-family: "Noto Sans Hebrew Tabs", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-weight: 500 !important;
  font-variation-settings: "wght" 500;
}

.rb-home-sport-group.active,
.rb-home-sub-sport.active {
  border-color: rgba(255, 170, 170, .72) !important;
  background:
    linear-gradient(180deg, rgba(255, 210, 210, .12), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, rgba(74, 10, 10, .95), rgba(45, 8, 8, .97)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .56),
    0 0 0 1px rgba(255, 130, 130, .28),
    0 10px 20px rgba(20, 3, 3, .5) !important;
  transform: translateY(-1px);
}

.rb-home-sport-group.active strong,
.rb-home-sub-sport.active strong {
  color: #ffe7e7;
}

@media (hover: hover) and (pointer: fine) {
  .rb-home-sport-group:hover,
  .rb-home-sub-sport:hover {
    border-color: rgba(228, 71, 67, .82);
    background:
      linear-gradient(180deg, rgba(255, 170, 170, .18), rgba(255, 255, 255, 0) 34%),
      linear-gradient(180deg, rgba(128, 24, 23, .76), rgba(45, 9, 10, .78));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .24),
      inset 0 -1px 0 rgba(0, 0, 0, .34),
      0 6px 14px rgba(174, 48, 47, .28);
    transform: translateY(-1px);
  }
}

.rb-home-sports-slider {
  padding: 0 10px 12px;
  direction: ltr;
  scroll-snap-type: x mandatory;
}

.rb-home-sport-card {
  direction: rtl;
  flex: 0 0 calc((100% - 30px) / 4);
  min-width: 230px;
  min-height: 136px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(90, 133, 117, .58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(53, 83, 72, .92), rgba(35, 53, 46, .94)),
    #23352e;
  color: #fff !important;
  text-decoration: none !important;
  scroll-snap-align: start;
}

.rb-home-sport-card img {
  grid-row: 1 / 4;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
}

.rb-home-sport-card span {
  color: #6ed1b3;
  font-size: 11px;
  font-weight: 600;
}

.rb-home-sport-card strong,
.rb-home-sport-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-home-sport-card strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
}

.rb-home-sport-card small {
  color: #c3ccc8;
  font-size: 11px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rb-home-sport-card:hover {
  border-color: rgba(67, 228, 161, 0.84);
  box-shadow: 0 0 20px rgba(47, 174, 125, 0.3);
}

.rb-home-betting-board {
  padding: 0 10px 12px;
}

.rb-home-betting-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px;
  border-top: 1px solid rgba(174, 48, 47, .2);
}

.rb-home-betting-head span {
  display: block;
  color: #43e4a6;
  font-size: 11px;
  font-weight: 600;
}

.rb-home-betting-head strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.rb-home-betting-head a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(67, 228, 139, 0.38);
  border-radius: 8px;
  background: rgba(19, 21, 21, 0.22);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
}

.rb-home-betting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 10px;
  align-items: start;
}

.rb-home-betting-events {
  display: grid;
  gap: 8px;
}

.rb-home-betting-carousel {
  overflow: hidden;
}

.rb-home-betting-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.rb-home-betting-track.rb-auto-moving {
  scroll-snap-type: none;
}

.rb-home-betting-track::-webkit-scrollbar {
  display: none;
}

.rb-home-betting-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  border: 1px solid rgba(174, 48, 47, .34);
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(244, 253, 250, 0.12), transparent 25%),
    linear-gradient(165deg, rgba(6, 44, 32, 0.71) 0%, rgba(6, 45, 30, 0.756) 52%, #123f26b9 100%);
  box-shadow:
    inset 0 1px 0 rgba(242, 252, 248, 0.18),
    inset 0 -1px 0 rgba(12, 13, 13, 0.26),
    0 10px 24px rgba(0, 0, 0, .34),
    0 2px 0 rgba(255, 255, 255, .05);
  transform: translateZ(0);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.rb-home-betting-slide:hover {
  border-color: rgba(67, 228, 156, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(242, 249, 245, 0.24),
    inset 0 -1px 0 rgba(18, 19, 19, 0.3),
    0 14px 28px rgba(10, 11, 11, 0.4),
    0 0 18px rgba(45, 177, 135, 0.22);
  transform: translateY(-1px);
}

.rb-home-betting-slide .rb-sport-page-event-main {
  padding: 12px;
}

.rb-home-betting-slide .rb-sport-page-event-meta-new {
  display: none;
}

.rb-home-betting-slide .rb-match-center-image {
  max-width: min(260px, 58vw);
}

.rb-home-betting-slide .rb-sport-page-market-grid {
  margin-top: 8px;
}

.rb-home-betting-slide .rb-match-kickoff-bar {
  display: none;
}

.rb-home-kickoff-row {
  display: grid;
  grid-template-columns: minmax(62px, auto) minmax(0, 1fr) minmax(88px, auto);
  align-items: center;
  column-gap: 6px;
  width: 100%;
  margin: 0;
}

.rb-home-kickoff-row .rb-home-match-open,
.rb-home-kickoff-row .rb-home-match-league {
  color: #d8c9c8;
  font-size: clamp(12px, 2.2vw, 16px);
  font-style: normal;
  line-height: 1.1;
  white-space: nowrap;
  unicode-bidi: isolate;
}

.rb-home-kickoff-row .rb-home-match-open {
  justify-self: start;
  text-transform: lowercase;
}

.rb-home-kickoff-row .rb-home-match-league {
  justify-self: end;
}

.rb-home-betting-events .rb-home-betting-slide .rb-match-kickoff-bar,
.rb-home-betting-events .rb-home-betting-slide [data-rb-countdown-status] {
  display: none !important;
}

.rb-home-betting-events .rb-home-betting-slide .rb-match-kickoff {
  width: 100%;
  max-width: 100%;
  margin: 2px 0 0;
}

.rb-home-betting-events .rb-home-betting-slide .rb-match-countdown-grid {
  margin-inline: 0;
  width: 100%;
}

.rb-home-betting-events .rb-home-betting-slide .rb-home-kickoff-row .rb-match-countdown-grid {
  width: 100%;
}

/* Home slider card: keep compact and make center image nearly touch side logos */
.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-sport-page-event-main {
  padding: 8px 8px 6px;
  row-gap: 2px !important;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-teams {
  display: block !important;
  position: relative !important;
  min-height: clamp(158px, 20vw, 198px);
  margin: 0 !important;
  gap: 0 !important;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-center {
  width: 100% !important;
  position: relative;
  z-index: 1;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-center-image {
  width: 100% !important;
  height: clamp(156px, 20vw, 196px) !important;
  object-fit: fill !important;
  border-radius: 10px;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-team {
  position: absolute !important;
  top: 8px !important;
  z-index: 2 !important;
  width: clamp(84px, 12vw, 108px) !important;
  display: grid !important;
  justify-items: center !important;
  gap: 2px !important;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-team:first-child {
  left: 12px !important;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-team:last-child {
  right: 12px !important;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-team img,
.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-team span {
  width: clamp(58px, 9vw, 74px) !important;
  height: clamp(58px, 9vw, 74px) !important;
}

.rb-home-betting-events .rb-home-betting-slide.rb-sport-page-event .rb-match-team strong {
  font-size: clamp(18px, 2.6vw, 28px) !important;
  line-height: 1.05 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .58);
  color: #fff !important;
}

.rb-home-betting-events .rb-home-betting-slide .rb-match-kickoff {
  margin-top: -38px;
  position: relative;
  z-index: 3;
}

.rb-home-betting-events .rb-home-betting-slide .rb-match-countdown-grid article {
  min-height: 40px !important;
  padding: 2px 2px !important;
}

.rb-home-betting-event {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(260px, 38%);
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgba(174, 48, 47, .26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 15, 17, 0.674), rgba(55, 9, 10, .52)),
    rgba(51, 24, 24, 0.589);
}

.rb-home-betting-meta span,
.rb-home-betting-meta small,
.rb-home-betting-teams strong,
.rb-home-betting-teams em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-home-betting-meta span {
  color: #e44743;
  font-size: 12px;
  font-weight: 600;
}

.rb-home-betting-meta small {
  color: #d6c0bf;
  font-size: 11px;
}

.rb-home-betting-teams {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rb-home-betting-teams strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.15;
}

.rb-home-betting-teams em {
  color: #a99493;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.rb-home-betting-market {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.rb-home-betting-market button {
  min-width: 0;
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 6px;
  border: var(--rb-button-border-width) solid var(--rb-odd-border);
  border-radius: var(--rb-odd-radius);
  background: var(--rb-odd-bg);
  color: var(--rb-text-on-accent);
  cursor: pointer;
}

.rb-home-betting-market button:hover,
.rb-home-betting-market button.active {
  border-color: var(--rb-odd-active-border);
  background: var(--rb-odd-active-bg);
  box-shadow: var(--rb-odd-active-shadow);
}

.rb-home-betting-market button.rb-odd-selected {
  border-color: var(--rb-odd-active-border) !important;
  background: var(--rb-odd-active-bg) !important;
  color: var(--rb-text-on-accent) !important;
  box-shadow: var(--rb-odd-active-shadow) !important;
}

.rb-home-betting-market button span {
  color: var(--rb-odd-label-color);
  font-size: 11px;
  font-weight: 600;
}

.rb-home-betting-market button strong {
  color: var(--rb-text-on-accent);
  font-size: 16px;
  line-height: 1;
}

.rb-home-betting-market button.rb-odd-selected span,
.rb-home-betting-market button.rb-odd-selected strong {
  color: #fff !important;
}

.rb-home-bet-slip {
  position: sticky;
  top: 84px;
  min-height: 232px;
  padding: 12px;
  border: 1px solid rgba(228, 71, 67, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0, rgba(228, 71, 67, .18), transparent 56%),
    rgba(5, 3, 3, .92);
}

.rb-home-bet-slip strong,
.rb-home-bet-slip span,
.rb-home-bet-slip p,
.rb-home-bet-slip small,
.rb-home-bet-slip b {
  display: block;
}

.rb-home-bet-slip > strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
}

.rb-home-bet-slip > span {
  margin-top: 8px;
  color: #e44743;
  font-size: 12px;
  font-weight: 600;
}

.rb-home-bet-slip p {
  margin: 8px 0 10px;
  color: #d6c0bf;
  font-size: 12px;
  line-height: 1.35;
}

.rb-home-bet-slip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.rb-home-bet-slip-row small {
  color: #bda9a8;
  font-size: 11px;
}

.rb-home-bet-slip-row b {
  color: #fff;
  font-size: 13px;
  text-align: left;
}

.rb-home-bet-slip button {
  width: 100%;
  min-height: 36px;
  margin-top: 10px;
  border: 1px solid rgba(255, 210, 210, .16);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--rb-red-bright), var(--rb-red) 58%, #681110);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

body.rb-sport-page-enhanced .sx-page-wrapper,
body.rb-sport-page-enhanced .rb-sport-context,
body.rb-sport-page-enhanced .rb-page-slider {
  display: none !important;
}

.rb-sport-page-betting {
  width: 100%;
  padding: 1px clamp(10px, 2vw, 24px) 34px;
  direction: rtl;
  color: #fff;
}

.rb-sport-page-inner {
  width: min(1660px, 100%);
  margin: 0 auto;
}

.rb-sport-page-slider {
  position: relative !important;
  width: 100%;
  height: clamp(150px, 22vw, 220px);
  margin: 0 0 10px;
  overflow: hidden;
  direction: ltr;
  border: 1px solid rgba(228, 71, 67, .42);
  border-radius: 8px;
  background: rgba(44, 15, 15, 0.68);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .3);
}

.rb-sport-page-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(62, 16, 16, 0.42), transparent 24%, transparent 76%, rgba(41, 11, 11, 0.52)),
    linear-gradient(180deg, transparent 38%, rgba(61, 23, 23, 0.635));
}

.rb-sport-page-slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  animation: rb-sport-page-slide 8s infinite;
}

.rb-sport-page-slide {
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  margin: 0;
  direction: rtl;
}

.rb-sport-page-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.rb-sport-page-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.rb-sport-page-slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .32);
  animation: rb-sport-page-dot 8s infinite;
}

.rb-sport-page-slider-dots span:nth-child(2) {
  animation-delay: 4s;
}

@keyframes rb-sport-page-slide {
  0%, 42% {
    transform: translateX(0);
  }
  50%, 92% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes rb-sport-page-slide-rtl {
  0%, 42% {
    transform: translateX(0);
  }
  50%, 92% {
    transform: translateX(25%);
  }
  100% {
    transform: translateX(50%);
  }
}

@keyframes rb-sport-page-dot {
  0%, 45% {
    background: #e44743;
    width: 20px;
  }
  50%, 100% {
    background: rgba(255, 255, 255, .42);
    width: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rb-sport-page-slider-track,
  .rb-sport-page-slider-dots span {
    animation: none !important;
  }
}

.rb-sport-page-hero {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  align-items: center;
  gap: 18px;
  min-height: 126px;
  padding: 18px 22px;
  border: 1px solid rgba(228, 71, 67, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 9% 0, rgba(228, 71, 67, .24), transparent 34%),
    linear-gradient(135deg, rgba(20, 7, 8, .95), rgba(68, 10, 12, .72) 52%, rgba(5, 3, 3, .9));
  box-shadow: 0 20px 42px rgba(0, 0, 0, .28);
}

.rb-sport-page-hero span,
.rb-sport-page-filter summary span,
.rb-sport-page-filter-head span,
.rb-sport-page-side-card span,
.rb-sport-page-slip > span {
  display: block;
  color: #e44743;
  font-size: 12px;
  font-weight: 600;
}

.rb-sport-page-hero h1 {
  margin: 4px 0 8px;
  color: #fff;
  font-size: clamp(28px, 4vw, 54px);
  line-height: .95;
  letter-spacing: 0;
}

.rb-sport-page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dcc6c5;
  font-size: 14px;
  line-height: 1.45;
}

.rb-sport-page-hero img {
  width: 108px;
  box-sizing: border-box;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.rb-sport-page-controls {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(320px, 1.35fr);
  gap: 10px;
  margin-top: 10px;
}

.rb-sport-page-filter,
.rb-sport-page-mode-row {
  min-width: 0;
  border: 1px solid rgba(174, 48, 47, .3);
  border-radius: 8px;
  background: rgba(5, 3, 3, .82);
}

.rb-sport-page-filter summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px 8px;
}

.rb-sport-page-filter-head {
  padding: 12px 14px 8px;
}

.rb-sport-page-filter summary::-webkit-details-marker {
  display: none;
}

.rb-sport-page-filter summary strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.15;
}

.rb-sport-page-filter-head strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.15;
}

.rb-sport-page-group-grid,
.rb-sport-page-sub-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: 0 12px 12px;
}

.rb-sport-page-group-grid::-webkit-scrollbar,
.rb-sport-page-sub-grid::-webkit-scrollbar,
.rb-sport-page-mode-row::-webkit-scrollbar {
  height: 0;
}

.rb-sport-page-group-grid button,
.rb-sport-page-sub-grid button,
.rb-sport-page-sub-grid a {
  flex: 0 0 134px;
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  text-decoration: none !important;
}

.rb-sport-page-group-grid button.active,
.rb-sport-page-sub-grid button.active,
.rb-sport-page-sub-grid a.active,
.rb-sport-page-mode-row button.active {
  border-color: rgba(228, 71, 67, .86);
  background: linear-gradient(180deg, rgba(228, 71, 67, .92), rgba(128, 24, 23, .82));
  box-shadow: 0 0 18px rgba(174, 48, 47, .24);
}

.rb-sport-page-group-grid img,
.rb-sport-page-sub-grid img {
  width: 34px;
  aspect-ratio: 1;
  object-fit: contain;
}

.rb-sport-page-group-grid span,
.rb-sport-page-sub-grid span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.rb-sport-page-mode-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
}

.rb-sport-page-mode-row button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.rb-sport-page-mode-row a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none !important;
}

.rb-sport-page-mode-row a.active {
  border-color: rgba(228, 71, 67, .86);
  background: linear-gradient(180deg, rgba(228, 71, 67, .92), rgba(128, 24, 23, .82));
  box-shadow: 0 0 18px rgba(174, 48, 47, .24);
}

.rb-sport-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.rb-sport-page-events {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.rb-sport-page-events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(174, 48, 47, .28);
  border-radius: 8px;
  background: rgba(5, 3, 3, .72);
}

.rb-sport-page-events-head strong {
  font-size: 19px;
}

.rb-sport-page-events-head span {
  color: #d6c0bf;
  font-size: 12px;
  font-weight: 600;
}

.rb-sport-page-event {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(174, 48, 47, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #421418b0, rgba(64, 11, 13, 0.62)),
    rgba(59, 20, 20, 0.639);
}

.rb-sport-page-event-main {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 10px;
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.rb-sport-page-event-meta span,
.rb-sport-page-event-meta small,
.rb-sport-page-event-meta em,
.rb-sport-page-teams strong,
.rb-sport-page-teams i {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-sport-page-event-meta span {
  color: #e44743;
  font-size: 13px;
  font-weight: 600;
}

.rb-sport-page-event-meta small {
  color: #d6c0bf;
  font-size: 12px;
}

.rb-sport-page-event-meta em {
  color: #a99493;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.rb-sport-page-teams {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rb-sport-page-teams strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
}

.rb-sport-page-teams i {
  color: #e44743;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.rb-sport-page-error-note {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(228, 71, 67, .44);
  border-radius: 6px;
  background: rgba(64, 12, 12, .6);
  color: #ffd7d7;
  font-size: 11px;
  line-height: 1.35;
  word-break: break-word;
}

.rb-sport-page-market-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(158px, 1fr));
  gap: 8px;
}

.rb-sport-page-market-block {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
}

.rb-sport-page-market-block h3 {
  margin: 0 0 7px;
  color: #d6c0bf;
  font-size: 12px;
  line-height: 1.1;
}

.rb-sport-page-market-block > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.rb-sport-page-market-block button {
  min-width: 0;
  min-height: 46px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
}

.rb-sport-page-market-block button:hover,
.rb-sport-page-market-block button.active,
.rb-sport-page-market-block button.rb-odd-selected {
  border-color: rgba(228, 71, 67, .86);
  background: linear-gradient(180deg, rgba(228, 71, 67, .92), rgba(128, 24, 23, .86));
  box-shadow: 0 0 18px rgba(174, 48, 47, .28);
}

.rb-sport-page-market-block button span {
  max-width: 100%;
  overflow: hidden;
  color: #d6c0bf;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-sport-page-market-block button strong {
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.rb-sport-page-side {
  position: sticky;
  top: 66px;
  display: grid;
  gap: 10px;
}

.rb-sport-page-slip,
.rb-sport-page-side-card {
  padding: 14px;
  border: 1px solid rgba(228, 71, 67, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0, rgba(228, 71, 67, .16), transparent 56%),
    rgba(5, 3, 3, .92);
}

.rb-sport-page-slip strong,
.rb-sport-page-slip p,
.rb-sport-page-slip small,
.rb-sport-page-slip b,
.rb-sport-page-slip a,
.rb-sport-page-side-card strong,
.rb-sport-page-side-card p {
  display: block;
}

.rb-sport-page-slip > strong,
.rb-sport-page-side-card strong {
  margin-top: 3px;
  color: #fff;
  font-size: 19px;
  line-height: 1.1;
}

.rb-sport-page-slip p,
.rb-sport-page-side-card p {
  margin: 10px 0;
  color: #d6c0bf;
  font-size: 13px;
  line-height: 1.35;
}

.rb-sport-page-slip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.rb-sport-page-slip small {
  color: #bda9a8;
  font-size: 11px;
}

.rb-sport-page-slip b {
  color: #fff;
  font-size: 13px;
  text-align: left;
}

.rb-sport-page-slip a {
  min-height: 38px;
  margin-top: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 210, 210, .16);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--rb-red-bright), var(--rb-red) 58%, #681110);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}

.rb-player-bets-card {
  /* All player-card color and shape settings live here. */
  --rb-player-card-bg-from: rgba(31, 57, 48, .98);
  --rb-player-card-bg-to: rgba(13, 31, 26, .98);
  --rb-player-card-border-color: rgba(47, 174, 144, .72);
  --rb-player-card-border-width: 1px;
  --rb-player-card-selection-bg: #242424;
  --rb-player-card-input-bg: var(--rb-player-card-selection-bg);
  --rb-player-card-close-bg: #34423d;
  --rb-player-card-action-from: #345348;
  --rb-player-card-action-to: #345348;
  --rb-player-card-radius: 10px;
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 1285;
  width: min(360px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
  border-radius: var(--rb-player-card-radius);
  background: linear-gradient(155deg, var(--rb-player-card-bg-from), var(--rb-player-card-bg-to)) !important;
  color: #fff;
  direction: rtl;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 22px 58px rgba(0, 0, 0, .58),
    0 0 34px rgba(47, 174, 144, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}

/* The player card must remain usable when an odds selection is made inside
   the fixed live-simulation modal. */
html.rb-route-live-line .rb-player-bets-card.open {
  z-index: 2147483300 !important;
}

.rb-player-bets-card.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.rb-player-bets-launcher {
  position: fixed;
  left: max(10px, env(safe-area-inset-left));
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 1284;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(111, 225, 195, .62);
  border-radius: 13px;
  background: linear-gradient(145deg, #23856d, #102b24 72%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .44), 0 0 16px rgba(47, 174, 144, .28);
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: manipulation;
}

.rb-player-bets-launcher span { font-size: 23px; line-height: 1; }

.rb-player-bets-launcher b {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: #11a76a;
  color: #fff;
  font: 800 11px/17px Arial, sans-serif;
  text-align: center;
}

.rb-player-bets-launcher:focus-visible { outline: 2px solid #83e6cd; outline-offset: 3px; }
.rb-player-bets-launcher:active { transform: translateY(-50%) scale(.94); }

.rb-player-bets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
}

.rb-player-bets-head span {
  display: block;
  color: #74e1c5;
  font-size: 12px;
  font-weight: 600;
}

.rb-player-bets-head strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.rb-player-bets-pill {
  display: inline-flex;
  margin-top: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #c9f4e7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2px;
}

.rb-player-bets-head button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
  border-radius: var(--rb-player-card-radius);
  background: var(--rb-player-card-close-bg);
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.rb-player-bets-body {
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
}

.rb-player-bets-body p {
  margin: 0;
  color: #bad8ce;
  font-size: 13px;
  line-height: 1.35;
}

.rb-player-bet-main {
  padding: 12px;
  border: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
  border-radius: var(--rb-player-card-radius);
  background: var(--rb-player-card-selection-bg) !important;
  color: #eef7f3;
}

.rb-player-bet-main > span {
  display: block;
  color: #acdece;
  font-size: 12px;
  font-weight: 600;
}

.rb-player-bet-main > strong {
  display: block;
  margin: 5px 0 10px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.rb-player-bet-stake-row {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.rb-player-bet-stake-row label {
  color: #c7d8d1;
  font-size: 11px;
  font-weight: 600;
}

.rb-player-bet-stake-row input {
  width: 100%;
  min-height: 34px;
  border: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
  border-radius: var(--rb-player-card-radius);
  background: var(--rb-player-card-input-bg);
  color: #ffffff;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.rb-player-bet-stake-row input:focus {
  border-color: rgba(47, 174, 144, .74);
  box-shadow: 0 0 0 2px rgba(47, 174, 144, .16);
}

.rb-player-bet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.rb-player-bet-grid small {
  color: #b7cbc3;
  font-size: 11px;
}

.rb-player-bet-grid b {
  color: #ffffff;
  font-size: 13px;
  text-align: left;
}

.rb-player-bets-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.rb-player-bets-list article {
  padding: 9px;
  border: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
  border-radius: var(--rb-player-card-radius);
  background: transparent !important;
}

.rb-player-bets-list span,
.rb-player-bets-list strong,
.rb-player-bets-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-player-bets-list span {
  color: #74e1c5;
  font-size: 10px;
  font-weight: 600;
}

.rb-player-bets-list strong {
  color: #fff;
  font-size: 12px;
}

.rb-player-bets-list small {
  color: #a9c9be;
  font-size: 11px;
}

.rb-player-bets-actions {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 12px;
  border-top: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
}

.rb-player-bets-actions button,
.rb-player-bets-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rb-player-card-radius);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.rb-player-bets-actions button {
  border: var(--rb-player-card-border-width) solid var(--rb-player-card-border-color);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.rb-player-bets-actions a {
  border: 1px solid #5a8575;
  background: linear-gradient(180deg, var(--rb-player-card-action-from), var(--rb-player-card-action-to));
  color: #fff !important;
  box-shadow: none;
}

.rb-player-bets-actions a.rb-player-bets-cta {
  position: relative;
  overflow: hidden;
}

.rb-player-bets-actions a.rb-player-bets-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .24), transparent 40%);
  transform: translateX(-100%);
  transition: transform .35s ease;
}

.rb-player-bets-actions a.rb-player-bets-cta:hover::after {
  transform: translateX(100%);
}

.rb-native-casino-wins-hidden {
  display: none !important;
}

.rb-home-casino-showcase {
  width: min(1290px, calc(100vw - 28px));
  margin: 18px auto 24px;
  color: #fff;
  direction: rtl;
}

.rb-home-casino-inner {
  position: relative;
  overflow: hidden;
  padding: 14px 0 16px;
  border: 1px solid rgba(174, 48, 47, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 0, rgba(228, 71, 67, .26), transparent 34%),
    linear-gradient(180deg, rgba(16, 5, 6, .96), rgba(6, 2, 3, .96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .03),
    0 18px 44px rgba(0, 0, 0, .34),
    0 0 26px rgba(174, 48, 47, .16);
}

.rb-home-casino-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 12px;
}

.rb-home-casino-head span {
  display: block;
  color: #e44743;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.rb-home-casino-head strong {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
  text-shadow: 0 0 18px rgba(174, 48, 47, .5);
}

.rb-home-casino-head a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(228, 71, 67, .44);
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
}

.rb-casino-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 16px 14px;
  direction: ltr;
}

.rb-casino-rail::-webkit-scrollbar {
  display: none;
}

.rb-casino-game-card {
  position: relative;
  direction: rtl;
  flex: 0 0 190px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(228, 71, 67, .34);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.434);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .3);
}

.rb-casino-game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, .24) 60%, rgba(18, 3, 4, .92) 100%),
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .18), transparent 26%);
  pointer-events: none;
}

.rb-casino-game-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  transition: transform .28s ease;
}

.rb-casino-game-card:hover img {
  transform: scale(1.04);
}

.rb-casino-game-card span,
.rb-casino-game-card strong {
  position: absolute;
  z-index: 2;
  right: 12px;
  left: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-casino-game-card span {
  bottom: 38px;
  color: #ffb7b3;
  font-size: 11px;
  font-weight: 600;
}

.rb-casino-game-card strong {
  bottom: 14px;
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
}

.rb-casino-promo {
  position: relative;
  height: clamp(190px, 27vw, 340px);
  margin: 2px 16px 16px;
  overflow: hidden;
  border: 1px solid rgba(228, 71, 67, .42);
  border-radius: 8px;
  background: #090304;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .36), 0 0 24px rgba(174, 48, 47, .18);
}

.rb-casino-promo-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  color: #fff !important;
  text-decoration: none !important;
  transform: scale(1.015);
  transition: opacity .42s ease, transform .42s ease;
}

.rb-casino-promo-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.rb-casino-promo-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 1, 2, .08), rgba(6, 2, 3, .52) 58%, rgba(8, 2, 3, .92)),
    linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, .62));
}

.rb-casino-promo-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.rb-casino-promo-slide span,
.rb-casino-promo-slide strong,
.rb-casino-promo-slide small {
  position: absolute;
  z-index: 2;
  right: 24px;
  max-width: min(460px, 72%);
  text-shadow: 0 8px 20px rgba(0, 0, 0, .62);
}

.rb-casino-promo-slide span {
  top: 28px;
  color: #ffb7b3;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.rb-casino-promo-slide strong {
  top: 52px;
  color: #fff;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1;
}

.rb-casino-promo-slide small {
  bottom: 28px;
  color: #f0dede;
  font-size: clamp(13px, 1.7vw, 18px);
  line-height: 1.35;
}

.rb-casino-promo-dots {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.rb-casino-promo-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .54);
  cursor: pointer;
}

.rb-casino-promo-dots button.active {
  width: 24px;
  background: #a83331bd;
}

.rb-casino-rail-bottom {
  padding-bottom: 2px;
}

.rb-casino-page {
  width: 100%;
  padding: 52px clamp(8px, 2vw, 24px) 24px;
  direction: rtl;
  color: #fff;
}

.rb-casino-page-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.rb-casino-page-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.rb-casino-page-nav a {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 10, 11, .78), rgba(8, 5, 6, .78));
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.rb-casino-page-nav a.active,
.rb-casino-page-nav a:hover {
  border-color: rgba(228, 71, 67, .76);
  background: linear-gradient(180deg, rgba(174, 48, 47, .86), rgba(58, 10, 11, .88));
  box-shadow: 0 0 22px rgba(174, 48, 47, .26);
}

.rb-casino-page-nav i {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .32);
  color: #ffcfcc;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
}

.rb-casino-page-nav span,
.rb-casino-page-nav small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-casino-page-nav span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.rb-casino-page-nav small {
  color: #d9c5c5;
  font-size: 11px;
  line-height: 1.25;
}

.rb-casino-page-hero {
  position: relative;
  min-height: clamp(260px, 30vw, 420px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(228, 71, 67, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 84, 78, .24), transparent 32%),
    linear-gradient(135deg, rgba(22, 5, 6, .98), rgba(6, 2, 3, .96) 62%, rgba(92, 13, 14, .7));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34), 0 0 28px rgba(174, 48, 47, .16);
}

.rb-casino-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 40%, rgba(0, 0, 0, .34)),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .44));
}

.rb-casino-page-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(18px, 4vw, 44px);
}

.rb-casino-page-hero-copy > span,
.rb-casino-page-strip span,
.rb-casino-page-grid article span {
  color: #ffaaa6;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.rb-casino-page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 74px);
  line-height: .96;
  text-shadow: 0 0 26px rgba(228, 71, 67, .42);
}

.rb-casino-page-hero p {
  max-width: 680px;
  margin: 0;
  color: #f2dddd;
  font-size: clamp(14px, 1.8vw, 19px);
  line-height: 1.55;
}

.rb-casino-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.rb-casino-page-actions a,
.rb-casino-page-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 210, 210, .18);
  background: linear-gradient(180deg, #e44743, #ae302f 58%, #681110);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}

.rb-casino-page-actions a + a {
  background: rgba(0, 0, 0, .28);
  border-color: rgba(255, 255, 255, .14);
}

.rb-casino-page-hero-media {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

.rb-casino-page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: fill;
}

.rb-casino-page-stats {
  position: absolute;
  right: clamp(14px, 3vw, 36px);
  left: clamp(14px, 3vw, 36px);
  bottom: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
}

.rb-casino-page-stats strong {
  min-height: 58px;
  display: grid;
  align-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(6px);
}

.rb-casino-page-stats span {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.rb-casino-page-stats small {
  color: #e7caca;
  font-size: 11px;
}

.rb-casino-page-strip {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px 10px;
}

.rb-casino-page-strip strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.rb-casino-page-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 18px;
  direction: ltr;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rb-casino-page-rail::-webkit-scrollbar {
  display: none;
}

.rb-casino-page-game {
  position: relative;
  flex: 0 0 188px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(228, 71, 67, .34);
  border-radius: 8px;
  background: rgba(0, 0, 0, .34);
  color: #fff !important;
  text-decoration: none !important;
  direction: rtl;
  scroll-snap-align: start;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .32);
}

.rb-casino-page-game::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, .2) 58%, rgba(12, 2, 3, .94));
  pointer-events: none;
}

.rb-casino-page-game img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  transition: transform .28s ease;
}

.rb-casino-page-game:hover img {
  transform: scale(1.045);
}

.rb-casino-page-game span,
.rb-casino-page-game strong {
  position: absolute;
  z-index: 2;
  right: 12px;
  left: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-casino-page-game span {
  bottom: 38px;
  color: #ffb7b3;
  font-size: 11px;
  font-weight: 600;
}

.rb-casino-page-game strong {
  bottom: 14px;
  color: #fff;
  font-size: 16px;
}

.rb-casino-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.rb-casino-page-grid article {
  min-height: 148px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(24, 8, 9, .82), rgba(8, 4, 5, .82)),
    rgba(0, 0, 0, .2);
}

.rb-casino-page-grid article strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
}

.rb-casino-page-grid article p {
  margin: 8px 0 0;
  color: #dec9c9;
  font-size: 13px;
  line-height: 1.45;
}

body.rb-casino-page-enhanced .casinomain-wrapper {
  width: min(1500px, calc(100% - 16px));
  margin: 0 auto 24px;
}

body.rb-casino-page-enhanced .main-content-wrapper > :not(.rb-casino-page),
body.rb-casino-page-enhanced .casinomain-wrapper,
body.rb-casino-page-enhanced .sx-event-list-header,
body.rb-casino-page-enhanced .sx-match-list,
body.rb-casino-page-enhanced .sx-livematch-card,
body.rb-casino-page-enhanced .sx-prematch-card,
body.rb-casino-page-enhanced .sx-right-panel,
body.rb-casino-page-enhanced .sportsbook-wrapper {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Keep the header chrome, but remove the duplicate auth buttons from it. */
.login-btn,
.register-btn,
a.login-btn,
a.register-btn,
button.login-btn,
button.register-btn,
.rb-header-actions,
.header-account-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Remove the original template bar above the RoyalBet header. */
.header-wrapper.getheight,
.header-wrapper:has(.hdr-first-wrapper),
.hdr-first-wrapper {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

#rb-site-header,
#rb-site-header .rb-header {
  top: 0 !important;
  border-bottom: 1px solid #8a0302 !important;
}

body {
  padding-top: 0 !important;
}

#rb-site-header .rb-header-inner {
  max-width: none !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 8px !important;
  display: grid !important;
  grid-template-columns: minmax(56px, 1fr) auto minmax(148px, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  direction: rtl !important;
}

#rb-site-header .rb-header-right {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  min-width: 0 !important;
  position: static !important;
  transform: none !important;
}

#rb-site-header .rb-header-left {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  min-width: 0 !important;
  position: static !important;
  transform: none !important;
}

#rb-site-header .rb-logo {
  margin: 0 !important;
}

#rb-site-header .rb-logo-img {
  width: 148px !important;
  height: 38px !important;
}

#rb-site-header .rb-header-language-slot {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  position: static !important;
  transform: none !important;
}

#rb-site-header .rb-mobile-toggle {
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px !important;
  position: static !important;
  transform: none !important;
}

#rb-site-header .rb-main-nav,
#rb-site-header .rb-header-actions {
  display: none !important;
}

#rb-site-header.rb-menu-open .rb-main-nav {
  position: fixed !important;
  top: 50px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1290 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  max-height: calc(100vh - 50px) !important;
  margin: 0 !important;
  padding: 12px !important;
  overflow-y: auto !important;
  border-bottom: 1px solid rgba(228, 71, 67, .36) !important;
  background:
    radial-gradient(circle at 50% 0, rgba(228, 71, 67, .16), transparent 46%),
    rgba(8, 6, 6, .98) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .46) !important;
  direction: rtl !important;
  list-style: none !important;
}

#rb-site-header.rb-menu-open .rb-nav-item {
  width: 100% !important;
}

#rb-site-header.rb-menu-open .rb-nav-link {
  min-height: 44px !important;
  justify-content: flex-start !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  background: rgba(255, 255, 255, .04) !important;
}

#rb-site-header.rb-menu-open .rb-dropdown {
  position: static !important;
  display: block !important;
  min-width: 0 !important;
  margin: 5px 12px 0 0 !important;
  padding: 6px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, .28) !important;
  box-shadow: none !important;
}

#rb-site-header.rb-menu-open .rb-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}

#rb-site-header.rb-menu-open .rb-mobile-toggle span:nth-child(2) {
  opacity: 0 !important;
}

#rb-site-header.rb-menu-open .rb-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

#rb-site-header .rb-language-switcher {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 1001 !important;
  min-height: 36px !important;
  padding: 3px 5px !important;
}

#rb-site-header .rb-language-switcher > span {
  display: none !important;
}

#rb-site-header .rb-language-button {
  min-width: 136px !important;
  height: 32px !important;
}

#rb-site-header .rb-language-menu {
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: auto !important;
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 82px !important;
  }

  .rb-mobile-footer {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 1230;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 66px;
    padding: 7px 8px 6px;
    border: 1px solid rgba(47, 174, 144, .38);
    border-radius: 18px;
    background: rgba(25, 43, 36, .35);
    backdrop-filter: blur(10px);
    box-shadow: 0 -12px 34px rgba(0, 0, 0, .26), 0 0 22px rgba(47, 174, 144, .12);
    direction: rtl;
    overflow: visible !important;
  }

  .rb-language-switcher {
    top: 56px;
    left: 8px;
    min-height: 30px;
    padding: 3px 5px;
  }

  .rb-language-switcher > span {
    display: none;
  }

  .rb-language-button {
    min-width: 108px;
    height: 28px;
    font-size: 11px;
    padding: 0 7px;
  }

  .rb-language-current {
    max-width: 58px;
  }

  .rb-language-menu {
    width: 164px;
  }

  .rb-home-betting-board {
    padding: 0 8px 10px;
  }

  .rb-home-betting-head {
    align-items: center;
  }

  .rb-home-betting-head strong {
    font-size: 18px;
  }

  .rb-home-betting-head a {
    min-height: 30px;
    max-width: 128px;
    font-size: 11px;
    text-align: center;
  }

  .rb-home-betting-layout {
    grid-template-columns: 1fr;
  }

  .rb-home-betting-slide {
    flex-basis: 100%;
  }

  .rb-home-betting-event {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 10px;
  }

  .rb-home-betting-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .rb-home-betting-teams {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .rb-home-betting-teams strong:last-child {
    text-align: left;
  }

  .rb-home-betting-teams em {
    text-align: center;
  }

  .rb-home-betting-market button {
    min-height: 46px;
  }

  .rb-home-bet-slip {
    position: static;
    min-height: 0;
  }

  .rb-sport-page-betting {
    padding: 1px 8px 26px;
  }

  .rb-sport-page-slider {
    height: clamp(116px, 34vw, 150px);
    margin-bottom: 8px;
  }

  .rb-sport-page-hero {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px;
    min-height: 102px;
    padding: 13px;
  }

  .rb-sport-page-hero img {
    width: 100%;
    max-width: 72px;
    box-sizing: border-box;
    padding: 6px;
    justify-self: center;
  }

  .rb-sport-page-hero h1 {
    font-size: 27px;
  }

  .rb-sport-page-hero p {
    font-size: 12px;
    line-height: 1.35;
  }

  .rb-sport-page-controls,
  .rb-sport-page-layout,
  .rb-sport-page-event {
    grid-template-columns: 1fr;
  }

  .rb-sport-page-filter summary {
    padding: 10px 11px 7px;
  }

  .rb-sport-page-filter summary strong {
    font-size: 16px;
  }

  .rb-sport-page-group-grid,
  .rb-sport-page-sub-grid {
    padding: 0 10px 10px;
  }

  .rb-sport-page-group-grid button,
  .rb-sport-page-sub-grid button {
    flex-basis: 126px;
    min-height: 64px;
  }

  .rb-sport-page-events-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .rb-sport-page-event-main {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 6px 4px 10px;
  }

  .rb-sport-page-teams {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .rb-sport-page-teams strong:last-child {
    text-align: left;
  }

  .rb-sport-page-teams i {
    text-align: center;
  }

  .rb-sport-page-market-grid {
    grid-template-columns: 1fr;
  }

  .rb-sport-page-market-block > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rb-sport-page-market-block button {
    min-height: 44px;
  }

  .rb-sport-page-side {
    position: static;
  }

  .rb-player-bets-card {
    right: 10px;
    left: 10px;
    bottom: 88px;
    width: auto;
    max-height: calc(100vh - 138px);
  }

  .rb-player-bets-launcher {
    left: max(8px, env(safe-area-inset-left));
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 43px;
    height: 43px;
    border-radius: 12px;
  }

  .rb-home-casino-showcase {
    width: 100vw;
    margin: 14px 0 20px;
  }

  .rb-casino-page {
    padding: 52px 0 22px;
  }

  .rb-casino-page-shell {
    width: 100%;
  }

  .rb-casino-page-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 8px 8px;
    margin-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .rb-casino-page-nav::-webkit-scrollbar {
    display: none;
  }

  .rb-casino-page-nav a {
    flex: 0 0 178px;
    min-height: 66px;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 8px;
    scroll-snap-align: start;
  }

  .rb-casino-page-nav i {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .rb-casino-page-nav span {
    font-size: 12px;
  }

  .rb-casino-page-nav small {
    font-size: 10px;
  }

  .rb-casino-page-hero {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border-inline: 0;
    border-radius: 0;
  }

  .rb-casino-page-hero-copy {
    padding: 18px 12px 12px;
  }

  .rb-casino-page-hero h1 {
    font-size: 34px;
  }

  .rb-casino-page-hero p {
    font-size: 13px;
    line-height: 1.45;
  }

  .rb-casino-page-hero-media {
    height: 174px;
    order: -1;
  }

  .rb-casino-page-hero-media img {
    min-height: 174px;
  }

  .rb-casino-page-stats {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    padding: 0 12px 12px;
  }

  .rb-casino-page-stats strong {
    min-height: 50px;
    padding: 7px;
  }

  .rb-casino-page-stats span {
    font-size: 16px;
  }

  .rb-casino-page-strip {
    padding: 12px 10px 8px;
  }

  .rb-casino-page-strip strong {
    font-size: 18px;
  }

  .rb-casino-page-strip a {
    min-height: 30px;
    padding: 0 9px;
    font-size: 11px;
  }

  .rb-casino-page-rail {
    gap: 10px;
    padding: 2px 10px 14px;
  }

  .rb-casino-page-game {
    flex-basis: calc((100% - 10px) / 2);
    min-width: calc((100% - 10px) / 2);
  }

  .rb-casino-page-game span {
    bottom: 34px;
    font-size: 10px;
  }

  .rb-casino-page-game strong {
    bottom: 12px;
    font-size: 14px;
  }

  .rb-casino-page-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 8px;
  }

  .rb-casino-page-grid article {
    min-height: 0;
    padding: 12px;
  }

  .rb-casino-page-grid article strong {
    font-size: 15px;
  }

  .rb-casino-page-grid article p {
    font-size: 12px;
  }

  .rb-home-casino-inner {
    border-inline: 0;
    border-radius: 0;
    padding: 12px 0 14px;
  }

  .rb-home-casino-head {
    align-items: center;
    padding: 0 12px 10px;
  }

  .rb-home-casino-head strong {
    font-size: 22px;
  }

  .rb-home-casino-head a {
    min-height: 30px;
    padding: 0 9px;
    font-size: 11px;
  }

  .rb-casino-rail {
    gap: 10px;
    padding: 2px 12px 12px;
  }

  .rb-casino-game-card {
    flex-basis: calc((100% - 10px) / 2);
    min-width: calc((100% - 10px) / 2);
  }

  .rb-casino-game-card span {
    bottom: 34px;
    font-size: 10px;
  }

  .rb-casino-game-card strong {
    bottom: 12px;
    font-size: 14px;
  }

  .rb-casino-promo {
    height: 236px;
    margin: 0 12px 12px;
  }

  .rb-casino-promo-slide::after {
    background:
      linear-gradient(90deg, rgba(4, 1, 2, .08), rgba(6, 2, 3, .38) 46%, rgba(8, 2, 3, .88)),
      linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, .7));
  }

  .rb-casino-promo-slide span,
  .rb-casino-promo-slide strong,
  .rb-casino-promo-slide small {
    right: 16px;
    max-width: 78%;
  }

  .rb-casino-promo-slide span {
    top: 18px;
    font-size: 11px;
  }

  .rb-casino-promo-slide strong {
    top: 40px;
    font-size: 30px;
  }

  .rb-casino-promo-slide small {
    bottom: 48px;
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .rb-casino-promo-dots {
    right: 16px;
    bottom: 14px;
  }

  .rb-mobile-footer a,
  .rb-mobile-footer button {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500 !important;
    font-family: "Noto Sans Hebrew Tabs", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
    line-height: 1.1;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    padding: 0;
    overflow: visible !important;
  }

  .rb-mobile-footer a span[data-rb-i18n],
  .rb-mobile-footer button span[data-rb-i18n] {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500 !important;
    font-family: "Noto Sans Hebrew Tabs", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  }

  .rb-mobile-footer a.active,
  .rb-mobile-footer a:active,
  .rb-mobile-footer button[aria-expanded="true"] {
    background: rgba(47, 174, 144, .25);
    border-color: rgba(47, 174, 144, .42);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  }

  .rb-mobile-footer .rb-footer-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    font-size: 0;
    font-weight: 500;
    line-height: 1;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
    transform: translateY(-50px);
  }

  .rb-mobile-footer .rb-footer-icon img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain;
    display: block;
  }

  .rb-mobile-footer a span[data-rb-i18n],
  .rb-mobile-footer button span[data-rb-i18n] {
    margin-top: -34px;
  }

  /* Live Line is intentionally rendered as a literal Hebrew label rather
     than through data-rb-i18n.  Give it the same icon overlap and explicit
     centering as every other footer label. */
  .rb-mobile-footer a[href="/sport/live-line"] > span:not(.rb-footer-icon) {
    display: block;
    width: 100%;
    margin-top: -34px;
    overflow: hidden;
    color: inherit;
    font: inherit;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .rb-mobile-footer .rb-footer-icon::before { content: none !important; }

  .rb-mobile-footer a.active .rb-footer-icon {
    background: transparent !important;
  }

  .rb-footer-menu-trigger {
    appearance: none;
  }

  .rb-footer-fan {
    position: fixed;
    left: 50%;
    bottom: 86px;
    z-index: 1225;
    width: min(94vw, 440px);
    height: 300px;
    transform: translateX(-50%);
    pointer-events: none;
    direction: rtl;
  }

  .rb-footer-fan::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 180px;
    height: 180px;
    transform: translateX(-50%);
    border-radius: 999px;
    border: 1px solid rgba(47, 174, 144, .34);
    background: radial-gradient(circle at 50% 100%, rgba(47, 174, 144, .22), transparent 70%);
    opacity: 0;
    transition: opacity .2s ease;
  }

  body.rb-footer-menu-open .rb-footer-fan {
    pointer-events: none;
  }

  body.rb-footer-menu-open .rb-footer-fan::before {
    opacity: 1;
  }

  .rb-footer-fan-item {
    position: absolute;
    left: calc(50% - 38px);
    bottom: 0;
    width: 76px;
    min-height: 82px;
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #e7fff7 !important;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    opacity: 0;
    border: 0;
    appearance: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transform: scale(.62);
    transition:
      transform .34s cubic-bezier(.2, .8, .2, 1),
      opacity .2s ease;
    transition-delay: calc(min(var(--rb-i), 14) * 18ms);
  }

  body.rb-footer-menu-open .rb-footer-fan-item {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .rb-footer-fan-img {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 2px solid rgba(47, 174, 144, .84);
    background: rgba(18, 42, 34, .92);
    box-shadow: 0 0 18px rgba(47, 174, 144, .34), 0 10px 22px rgba(0, 0, 0, .42);
    overflow: hidden;
  }

  .rb-footer-fan-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
  }

  .rb-footer-fan-category .rb-footer-fan-img {
    width: 62px;
    height: 62px;
    border-color: rgba(116, 225, 197, .96);
    box-shadow: 0 0 22px rgba(47, 174, 144, .46), 0 12px 24px rgba(0, 0, 0, .42);
  }

  .rb-footer-fan-back .rb-footer-fan-img {
    background: linear-gradient(180deg, #42685b, #243d33);
  }

  .rb-footer-fan-symbol {
    color: #fff;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-1px);
  }


  .rb-sport-context {
    width: 100%;
    margin: 0 auto 12px;
  }

  .rb-sport-context-card {
    grid-template-columns: 52px 1fr;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 9px 10px;
  }

  .rb-sport-context-card img {
    width: 52px;
    height: 52px;
  }

  .rb-sport-context-card strong {
    font-size: 20px;
  }

  .rb-sport-context-card p {
    font-size: 11px;
  }

  .rb-sport-context-events {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }

  .rb-sport-submenu {
    width: 100%;
    margin: 0 0 12px;
  }

  .rb-sport-submenu-head {
    padding: 8px 10px 0;
  }

  .rb-sport-submenu-sports {
    gap: 8px;
    padding: 0 10px 10px;
  }

  .rb-sport-submenu-sport {
    min-width: 122px;
    min-height: 54px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .rb-sport-submenu-sport span {
    width: 30px;
    height: 30px;
  }

  .rb-sport-submenu-sport strong {
    font-size: 11px;
  }

  .rb-sport-submenu-sport {
    overflow: hidden;
  }

  .rb-sport-submenu-sport span {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
  }

  .rb-sport-submenu-sport img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    display: block !important;
  }

  .rb-sport-submenu-tabs {
    padding: 0 10px 10px;
  }

  .rb-sport-submenu-tabs button {
    min-width: 108px;
    min-height: 34px;
    font-size: 11px;
  }

  .rb-home-sports {
    margin: 8px 0 12px;
  }

  .rb-home-sports-inner {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .rb-home-sports-head {
    padding: 8px 10px 0;
  }

  .rb-home-sports-head strong {
    font-size: 16px;
  }

  .rb-home-sports-groups,
  .rb-home-sub-sports {
    gap: 8px;
  }

  .rb-home-sport-group {
    min-width: 118px;
    min-height: 34px;
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 4px 6px;
  }

  .rb-home-sub-sport {
    min-width: 112px;
    min-height: 28px;
    grid-template-columns: 20px minmax(0, 1fr);
    padding: 4px 6px;
  }

  .rb-home-sport-group span {
    width: 24px;
    height: 24px;
  }

  .rb-home-sub-sport span {
    width: 20px;
    height: 20px;
  }

  .rb-home-sport-group strong,
  .rb-home-sub-sport strong {
    font-size: 10px;
  }

  .rb-home-sports-slider {
    gap: 8px;
  }

  .rb-home-sport-card {
    flex-basis: calc((100% - 8px) / 2);
    min-width: calc((100% - 8px) / 2);
    min-height: 126px;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 9px;
  }

  .rb-home-sport-card img {
    width: 44px;
    height: 44px;
  }

  .rb-home-sport-card strong {
    font-size: 12px;
  }

  .rb-home-sport-card small {
    font-size: 10px;
  }

  .rb-betslip-toggle {
    right: 12px;
    top: auto;
    bottom: 96px;
  }
}

/* Selected sport controls: use the same calm charcoal-green as the bottom menu. */
html.rb-route-live-line body.rb-sport-theme .rb-sport-submenu-sport.active,
html.rb-route-live-line body.rb-sport-theme .rb-sport-submenu-tabs button.active,
html.rb-route-live-line body.rb-sport-theme .rb-sport-submenu-tabs a.active,
html.rb-route-live-line body.rb-sport-theme .rb-live-line-primary-tab.active,
html.rb-route-live-line body.rb-sport-theme .rb-live-line-secondary-tab.active,
html.rb-route-live-line body.rb-sport-theme .rb-live-line-country-chip.active,
html.rb-route-live-line body.rb-sport-theme .rb-live-line-league-chip.active,
html.rb-route-live-line body.rb-sport-theme .rb-live-line-all-bettable-chip.active,
html.rb-route-live-line body.rb-sport-theme .rb-live-line-world-cup-chip.active,
body.rb-sport-theme .rb-live-line-market-btn.active,
body.rb-sport-theme .rb-live-line-market-btn.placing {
  background: #345348 !important;
  border-color: #5a8575 !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 3px rgba(0,0,0,.24) !important;
  text-shadow: none !important;
}

body.rb-sport-theme .rb-live-line-market-btn.active small,
body.rb-sport-theme .rb-live-line-market-btn.active b,
body.rb-sport-theme .rb-live-line-market-btn.placing small,
body.rb-sport-theme .rb-live-line-market-btn.placing b {
  color: #ffffff !important;
}

/* One unambiguous home / score / away direction across list and accordion. */
html.rb-route-live-line .rb-live-line-list-match-main,
html.rb-route-live-line .rb-live-line-detail-main {
  direction: rtl !important;
  grid-auto-flow: row !important;
}

app-footer .footer-main .footer-blck-row.pb-0 {
  display: none !important;
}

@media (min-width: 901px) {
  app-footer .footer-main .footer-top,
  app-footer .footer-main .footer-blck-row.providers-img-part,
  app-footer .footer-main .footer-blck-row.footer-payment-wrapper {
    display: none !important;
  }

  app-footer .footer-main .footer-center-wrap,
  app-footer .footer-main .footer-wrapper {
    padding: 0 !important;
    margin: 0 !important;
  }
}

body.appSidebarVisible {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.mainsidebar,
.mainsidebar-overlay,
.sidebar-hamburger-btn,
app-main .mainsidebar,
app-main .mainsidebar-overlay,
app-main right-sidebar-xl,
right-sidebar-xl,
.sx-right-panel,
.sx-betslip-mainbox,
app-main .sx-right-panel,
.rightsidebar-overlay,
app-main .rightsidebar-overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#royalbet-strapi-bridge,
[id="royalbet-strapi-bridge"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.rb-static-page {
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 24px));
  margin: 70px auto 110px;
  padding: clamp(18px, 4vw, 42px);
  color: var(--rb-silver);
  background:
    linear-gradient(135deg, rgba(35, 8, 9, .86), rgba(8, 3, 3, .9)),
    radial-gradient(circle at 80% 0%, rgba(228, 71, 67, .28), transparent 34%);
  border: 1px solid rgba(228, 71, 67, .28);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .36);
}

.rb-static-page[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.rb-static-page h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 48px);
  line-height: 1.1;
}

.rb-static-page p {
  margin: 0;
  max-width: 760px;
  color: var(--rb-muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.rb-static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rb-static-page[dir="ltr"] .rb-static-actions {
  justify-content: flex-start;
}

.rb-static-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.rb-static-actions a:first-child {
  background: linear-gradient(180deg, var(--rb-red-bright), var(--rb-red) 58%, #681110);
}

/* Real fixture cards on sport pages */
.rb-sport-page-event {
  grid-template-columns: minmax(0, 1fr);
}

.rb-sport-page-event-main {
  display: grid;
  border-left: 0;
  padding: 8px 8px 4px;
  gap: 6px;
  font-weight: 500;
}

.rb-sport-page-event-meta-new {
  order: 2;
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  text-align: center;
  gap: 8px;
}

.rb-sport-page-event-meta-new small,
.rb-sport-page-event-meta-new span,
.rb-sport-page-event-meta-new em {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  opacity: .92;
}

.rb-match-teams {
  order: 1;
  --rb-match-center-width: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rb-match-center-width) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.rb-match-team {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
}

.rb-match-team img,
.rb-match-team span {
  width: 100px;
  height: 100px;
  border-radius: 0;
  object-fit: contain;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rb-match-team span {
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .2), transparent 35%),
    linear-gradient(180deg, #8f1f1d, #4a0c0b);
  border: 1px solid rgba(255, 255, 255, .22);
}

.rb-match-team strong {
  max-width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.12;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .2px;
}

.rb-match-center {
  width: 100%;
  max-width: var(--rb-match-center-width);
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 0;
}

.rb-match-center-image {
  width: 100%;
  height: clamp(108px, 12vw, 160px);
  object-fit: cover;
  object-position: center center;
  background: rgba(0, 0, 0, .28);
  border-radius: 4px;
  display: block;
}

.rb-match-kickoff {
  order: 3;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  justify-items: center;
  width: min(860px, 100%);
  margin: 0 auto;
}

.rb-match-kickoff-bar {
  width: 170px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 194, 194, .32);
  background: linear-gradient(180deg, rgba(228, 71, 67, .95), rgba(125, 23, 21, .92));
}

.rb-match-kickoff-bar span {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.rb-match-kickoff-bar small {
  color: #ffe7e6;
  font-size: 18px;
  font-weight: 500;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;
}

/* Hard hide legacy elements if cached markup still injects them */
.rb-match-center > i,
[data-rb-countdown-substatus] {
  display: none !important;
}

.rb-match-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 8px;
  border: 1px solid rgba(174, 48, 47, .34);
  overflow: hidden;
  background: rgba(0, 0, 0, .18);
}

.rb-match-countdown-grid article {
  min-height: 44px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 4px 2px;
}

.rb-match-countdown-grid article + article {
  border-right: 1px solid rgba(228, 71, 67, .36);
}

.rb-match-countdown-grid b {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
}

.rb-match-countdown-grid small {
  color: #d5b1b0;
  font-size: 11px;
  font-weight: 500;
}

.rb-sport-page-market-grid {
  grid-template-columns: minmax(0, 1fr);
}

.rb-sport-page-market-block {
  padding: 0;
  border: 0;
  background: transparent;
}

.rb-sport-page-market-block > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rb-sport-page-market-block button {
  min-height: 70px;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(8, 3, 3, .7);
}

.rb-sport-page-market-block button span {
  color: #ffe5e5;
  font-size: 21px;
  font-weight: 500;
}

.rb-sport-page-market-block button strong {
  font-size: 38px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .rb-match-teams {
    --rb-match-center-width: 240px;
  }

  .rb-match-team img,
  .rb-match-team span {
    width: 76px;
    height: 76px;
    font-size: 20px;
  }

  .rb-match-team strong {
    font-size: 20px;
  }

  .rb-match-center-image {
    height: 96px;
  }

  .rb-match-kickoff {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .rb-match-kickoff-bar {
    width: min(var(--rb-match-center-width), 100%);
    min-height: 38px;
  }

  .rb-match-countdown-grid b {
    font-size: 22px;
  }

  .rb-match-kickoff-bar span {
    font-size: 14px;
  }

  .rb-sport-page-market-block button {
    min-height: 58px;
  }

  .rb-sport-page-market-block button span {
    font-size: 17px;
  }

  .rb-sport-page-market-block button strong {
    font-size: 30px;
  }
}

/* Tablet landscape: keep countdown horizontal to reduce card height */
@media (min-width: 700px) and (max-width: 991px) {
  .rb-match-kickoff {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
  }

  .rb-match-kickoff-bar {
    width: 160px;
    min-height: 40px;
  }
}

/* Match card compact horizontal layout (as requested): meta on sides, countdown in center */
@media (min-width: 700px) {
  .rb-sport-page-event-main {
    grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 6px;
  }

  .rb-match-teams {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }

  .rb-sport-page-event-meta-new {
    display: contents;
  }

  .rb-sport-page-event-meta-new small,
  .rb-sport-page-event-meta-new em {
    font-size: 18px;
    line-height: 1;
  }

  .rb-sport-page-event-meta-new small {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: center;
  }

  .rb-sport-page-event-meta-new em {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    align-self: center;
  }

  .rb-match-kickoff {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: auto !important;
    margin: 0;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    justify-items: initial;
  }

  .rb-match-kickoff-bar {
    width: 140px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
  }

  .rb-match-countdown-grid {
    width: 236px;
  }

  .rb-match-countdown-grid article {
    min-height: 38px;
    padding: 3px 2px;
  }

  .rb-match-countdown-grid b {
    font-size: 20px;
  }

  .rb-match-countdown-grid small {
    font-size: 10px;
  }
}

/* Hard override: enforce side-by-side layout in sport cards */
.rb-sport-page-events .rb-sport-page-event .rb-sport-page-event-main {
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  row-gap: 6px !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-teams {
  --rb-side-col: 118px !important;
  gap: 7px !important;
  grid-template-columns: var(--rb-side-col) minmax(0, 1fr) var(--rb-side-col) !important;
  justify-content: center !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-center-image {
  width: 100% !important;
  height: clamp(128px, 15vw, 210px) !important;
  object-fit: cover !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-team:first-child {
  justify-self: end !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-team:last-child {
  justify-self: start !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-sport-page-event-meta-new {
  display: contents !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-sport-page-event-meta-new small {
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-self: center !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-sport-page-event-meta-new em {
  grid-column: 3 !important;
  grid-row: 2 !important;
  justify-self: center !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-sport-page-event-meta-new span {
  display: none !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-kickoff {
  grid-column: 2 !important;
  grid-row: 2 !important;
  width: var(--rb-match-center-width) !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-kickoff-bar {
  width: 100% !important;
  min-height: 20px !important;
  max-height: 20px !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-countdown-grid {
  width: 236px !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-countdown-grid article {
  min-height: 38px !important;
  padding: 3px 2px !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-countdown-grid b {
  font-size: 20px !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-countdown-grid small {
  font-size: 10px !important;
}

.rb-sport-page-events .rb-sport-page-event .rb-match-kickoff-bar span {
  font-size: 13px !important;
  line-height: 1 !important;
}

@media (max-width: 560px) {
  .rb-sport-page-events .rb-sport-page-event .rb-match-kickoff {
    flex-direction: column !important;
  }

  .rb-sport-page-events .rb-sport-page-event .rb-match-kickoff-bar,
  .rb-sport-page-events .rb-sport-page-event .rb-match-countdown-grid {
    width: 100% !important;
  }
}

@media (max-width: 991px) {
  .rb-sport-page-events .rb-sport-page-event .rb-match-teams {
    --rb-side-col: 92px !important;
    gap: 7px !important;
    grid-template-columns: var(--rb-side-col) minmax(0, 1fr) var(--rb-side-col) !important;
    justify-content: center !important;
  }

  .rb-sport-page-events .rb-sport-page-event .rb-match-center-image {
    height: 122px !important;
  }
}

@media (max-width: 991px) {
  :root {
    --rb-site-mobile-edge-gap: 4px;
    --rb-sport-tab-uniform-width: 138px;
  }

  .rb-home-sport-group,
  .rb-home-sub-sport,
  .rb-home-sport-group strong,
  .rb-home-sub-sport strong,
  .rb-sport-submenu-sport strong,
  .rb-sport-submenu-tabs button,
  .rb-sport-submenu-tabs a,
  .rb-mobile-footer a,
  .rb-mobile-footer button,
  .rb-mobile-footer a span[data-rb-i18n],
  .rb-mobile-footer button span[data-rb-i18n] {
    font-family: "Noto Sans Hebrew Tabs", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
    font-weight: 500 !important;
    font-synthesis: none !important;
    font-variation-settings: "wght" 500 !important;
  }

  .rb-home-sport-group *,
  .rb-home-sub-sport *,
  .rb-sport-submenu-sport *,
  .rb-sport-submenu-tabs button *,
  .rb-sport-submenu-tabs a *,
  .rb-mobile-footer a *,
  .rb-mobile-footer button * {
    text-shadow: none !important;
  }

  .app-main-content,
  .main-content-wrapper,
  .dashboard-wrapper,
  .dash-container {
    box-sizing: border-box !important;
    padding-inline: var(--rb-site-mobile-edge-gap) !important;
    overflow-x: clip !important;
  }

  app-root > .rb-sport-page-hero,
  app-root > .rb-sport-context,
  app-root > .rb-home-sports,
  app-root > .rb-sport-submenu,
  app-root > .rb-home-betting-board,
  app-root > .home-common-wrap {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: calc(100% - (var(--rb-site-mobile-edge-gap) * 2)) !important;
    margin-inline: var(--rb-site-mobile-edge-gap) !important;
  }

  .rb-sport-page-betting,
  .rb-sport-page-inner,
  .rb-home-sports,
  .rb-home-sports-inner,
  .rb-sport-context,
  .rb-sport-submenu,
  .rb-home-betting-board,
  .rb-home-betting-layout,
  .rb-home-betting-events,
  .rb-home-betting-carousel,
  .rb-home-betting-track,
  .rb-home-betting-slide,
  .rb-home-betting-event,
  .rb-sport-page-hero,
  .rb-sport-page-controls,
  .rb-sport-page-layout,
  .rb-sport-page-events,
  .rb-sport-page-event,
  .rb-casino-page,
  .rb-casino-page-shell,
  .rb-casino-page-nav,
  .home-common-wrap {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .rb-sport-page-betting {
    padding: 1px 0 26px !important;
    overflow-x: clip !important;
  }

  .rb-sport-page-hero {
    min-height: 96px !important;
    padding: 12px 86px 12px 12px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid rgba(174, 48, 47, .34) !important;
  }

  .rb-sport-page-hero img {
    right: 12px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 62px !important;
    max-width: 62px !important;
    padding: 6px !important;
    margin: 0 !important;
  }

  .rb-home-sports-inner,
  .rb-sport-submenu {
    border: 1px solid rgba(174, 48, 47, .34) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(18, 6, 7, .96), rgba(7, 3, 3, .92)) !important;
  }

  .rb-home-sports-groups,
  .rb-home-sub-sports,
  .rb-home-sports-slider,
  .rb-sport-submenu-sports,
  .rb-sport-submenu-tabs {
    padding-inline: var(--rb-site-mobile-edge-gap) !important;
    scroll-padding-inline: var(--rb-site-mobile-edge-gap) !important;
  }

  .rb-home-sports-groups {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .rb-home-sub-sports,
  .rb-sport-submenu-sports,
  .rb-sport-submenu-tabs {
    padding-bottom: 10px !important;
  }

  .rb-sport-page-event,
  .rb-home-betting-slide.rb-sport-page-event {
    padding-inline: var(--rb-site-mobile-edge-gap) !important;
    overflow: hidden !important;
  }

  .rb-sport-page-event .rb-match-team:first-child,
  .rb-home-betting-slide.rb-sport-page-event .rb-match-team:first-child {
    left: var(--rb-site-mobile-edge-gap) !important;
  }

  .rb-sport-page-event .rb-match-team:last-child,
  .rb-home-betting-slide.rb-sport-page-event .rb-match-team:last-child {
    right: var(--rb-site-mobile-edge-gap) !important;
  }

  .rb-home-sport-group,
  .rb-home-sub-sport,
  .rb-sport-submenu-sport,
  .rb-sport-submenu-tabs button,
  .rb-sport-submenu-tabs a {
    box-sizing: border-box !important;
    flex: 0 0 var(--rb-sport-tab-uniform-width) !important;
    width: var(--rb-sport-tab-uniform-width) !important;
    min-width: var(--rb-sport-tab-uniform-width) !important;
    max-width: var(--rb-sport-tab-uniform-width) !important;
  }

  .rb-home-sport-group {
    background:
      linear-gradient(180deg, rgba(255, 190, 190, .1), rgba(255, 255, 255, 0) 40%),
      linear-gradient(180deg, rgba(125, 23, 22, .6), rgba(78, 14, 14, .6)) !important;
  }

  .rb-home-sub-sport,
  .rb-sport-submenu-sport,
  .rb-sport-submenu-tabs button,
  .rb-sport-submenu-tabs a {
    background:
      linear-gradient(180deg, rgba(255, 190, 190, .1), rgba(255, 255, 255, 0) 40%),
      linear-gradient(180deg, rgba(125, 23, 22, .6), rgba(78, 14, 14, .6)) !important;
  }

  .rb-home-sport-group.active,
  .rb-home-sub-sport.active,
  .rb-sport-submenu-sport.active,
  .rb-sport-submenu-tabs button.active,
  .rb-sport-submenu-tabs a.active {
    background:
      linear-gradient(180deg, rgba(255, 210, 210, .09), rgba(255, 255, 255, 0) 30%),
      linear-gradient(180deg, rgba(74, 10, 10, .6), rgba(45, 8, 8, .6)) !important;
  }

  .rb-sport-page-betting > .rb-sport-page-hero,
  .rb-sport-page-betting > .rb-home-sports,
  .rb-sport-page-betting > .rb-sport-context,
  .rb-sport-page-betting > .rb-sport-submenu,
  .rb-sport-page-betting > .rb-home-betting-board,
  .rb-sport-page-betting > .rb-sport-page-controls,
  .rb-sport-page-betting > .rb-sport-page-layout,
  .rb-sport-page-betting > .rb-sport-page-events,
  .app-main-content > .rb-sport-page-hero,
  .app-main-content > .rb-home-sports,
  .app-main-content > .rb-sport-context,
  .app-main-content > .rb-sport-submenu,
  .app-main-content > .rb-home-betting-board {
    width: auto !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .rb-home-sports-inner,
  .rb-home-betting-board,
  .rb-home-betting-layout,
  .rb-home-betting-events,
  .rb-home-betting-carousel,
  .rb-home-betting-track,
  .rb-home-betting-slide,
  .rb-home-betting-event,
  .rb-sport-page-inner,
  .rb-sport-page-layout,
  .rb-sport-page-events,
  .rb-sport-page-controls {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
}

/* Final neutral-theme precedence: this must remain at the end of the file. */
:root {
  --rb-site-bg-image: none;
  --rb-site-bg-overlay-from: #f3f5f4;
  --rb-site-bg-overlay-to: #e7ebea;
  --rb-header-bg-from: #202625;
  --rb-header-bg-to: #161b1a;
  --rb-header-border: rgba(47, 174, 144, .72);
  --rb-block-bg-35: #ffffff;
  --rb-surface: #ffffff;
  --rb-surface-soft: #f2f4f3;
  --rb-ink: #202625;
  --rb-border: #d7dfdc;
  --rb-border-subtle: #e7ecea;
  --rb-text: #202625;
  --rb-text-muted: #687570;
  --rb-accent: #2fae90;
  --rb-accent-strong: #42c9a9;
  --rb-accent-deep: #23856d;
  --rb-accent-dark: #17604f;
  --rb-accent-hover: #258d75;
  --rb-accent-hover-deep: #17604f;
  --rb-accent-border: rgba(47, 174, 144, .88);
  --rb-accent-shadow: rgba(47, 174, 144, .22);
  --rb-odds-accent: rgba(47, 174, 144, .96);
  --rb-odds-accent-deep: rgba(31, 125, 102, .98);
  --rb-odds-border: rgba(47, 174, 144, .86);
  --rb-odds-shadow: rgba(47, 174, 144, .25);
  --rb-button-bg-to: #23856d;
  --rb-sport-tab-bg: #f2f4f3;
  --rb-sport-tab-text: #34403d;
  --rb-sport-tab-active-bg: linear-gradient(180deg, #42c9a9, #23856d);
  --rb-sport-tab-active-border: rgba(47, 174, 144, .8);
  --rb-sport-tab-active-shadow: 0 4px 14px rgba(47, 174, 144, .22);
  --rb-sport-card-bg: #f6f8f7;
  --rb-odd-bg: #f4f6f5;
  --rb-odd-border: #d7dfdc;
  --rb-odd-active-bg: linear-gradient(180deg, #42c9a9, #23856d);
  --rb-odd-active-border: rgba(47, 174, 144, .86);
  --rb-odd-active-shadow: 0 4px 14px rgba(47, 174, 144, .25);
  --rb-odd-label-color: #4d5a56;
  --primary-color: #2fae90;
  --rb-primary: #2fae90;
  --royalbet-primary: #2fae90;
  --background-color: #f3f5f4;
}

html.dark-mode, html.dark-mode body, body {
  background: linear-gradient(180deg, #f6f8f7, #e9edeb) !important;
  color: #202625 !important;
}

#rb-site-header, #rb-site-header .rb-header {
  background: linear-gradient(180deg, #252c2a, #171c1b) !important;
  border-bottom-color: #2fae90 !important;
}

.home-common-wrap, .casino-banner, .de-info, .de-content, .marketname-main,
.footer-blck, .p-dialog, .p-toast-message, .rb-sport-context-card,
.rb-sport-submenu, .rb-home-sports-inner, .rb-home-sport-card,
.rb-home-betting-board, .rb-home-betting-slide, .rb-home-betting-event,
.rb-sport-page-hero, .rb-sport-page-event, .rb-sport-page-side > section,
.rb-casino-page-shell, .rb-casino-page-nav, .rb-player-bets-panel,
.rb-player-bet-card, [class*="bet-slip"], [class*="betslip"] {
  background: #ffffff !important;
  border-color: #d7dfdc !important;
  color: #202625 !important;
  box-shadow: 0 8px 22px rgba(28, 43, 38, .08) !important;
}

.rb-home-sport-group, .rb-home-sub-sport, .rb-sport-submenu-sport,
.rb-sport-submenu-tabs button, .rb-sport-submenu-tabs a,
.rb-odd, .rb-home-betting-odd, .rb-sport-page-market-block button,
[class*="odd"], [class*="market"] button {
  background: #f3f5f4 !important;
  border-color: #d7dfdc !important;
  color: #202625 !important;
}

.rb-home-sport-group.active, .rb-home-sub-sport.active,
.rb-sport-submenu-sport.active, .rb-sport-submenu-tabs button.active,
.rb-sport-submenu-tabs a.active, .rb-odd.active, .rb-odd.selected,
.rb-home-betting-odd.active, .rb-home-betting-odd.selected,
.rb-sport-page-market-block button.active, .rb-sport-page-market-block button.selected,
[class*="odd"].active, [class*="odd"].selected,
[class*="market"] button.active, [class*="market"] button.selected,
.p-button:not(.p-button-secondary), .btn-primary, .rb-button-primary {
  background: linear-gradient(180deg, #42c9a9, #23856d) !important;
  border-color: #2fae90 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(47, 174, 144, .25) !important;
}

.rb-home-betting-event .rb-match-team, .rb-sport-page-event .rb-match-team,
.rb-home-betting-event strong, .rb-sport-page-event strong,
.rb-player-bets-panel strong, .p-dialog .p-dialog-title { color: #202625 !important; }
.rb-home-betting-event small, .rb-sport-page-event small,
.rb-home-betting-event .muted, .rb-sport-page-event .muted,
.rb-player-bets-panel small { color: #687570 !important; }

input, select, textarea { background: #ffffff !important; border-color: #cfd8d4 !important; color: #202625 !important; }
input:focus, select:focus, textarea:focus { border-color: #2fae90 !important; box-shadow: 0 0 0 3px rgba(47, 174, 144, .16) !important; }

/* Backgrounds match the charcoal-grey live board; white is reserved for odds and inputs. */
:root {
  --rb-site-bg-overlay-from: #343a38;
  --rb-site-bg-overlay-to: #292f2d;
  --rb-block-bg-35: #414846;
  --rb-surface: #414846;
  --rb-surface-soft: #4b5350;
  --rb-text: #f5f7f6;
  --rb-text-muted: #c2cbc7;
  --rb-border: #69736f;
  --rb-border-subtle: #56605c;
  --background-color: #343a38;
}

html.dark-mode, html.dark-mode body, body {
  background: linear-gradient(180deg, #343a38 0%, #292f2d 100%) !important;
  color: #f5f7f6 !important;
}

.home-common-wrap, .casino-banner, .de-info, .de-content, .marketname-main,
.footer-blck, .rb-sport-context-card, .rb-sport-submenu, .rb-home-sports-inner,
.rb-home-sport-card, .rb-home-betting-board, .rb-home-betting-slide,
.rb-home-betting-event, .rb-sport-page-hero, .rb-sport-page-event,
.rb-sport-page-side > section, .rb-casino-page-shell, .rb-casino-page-nav {
  background: #414846 !important;
  border-color: #65706b !important;
  color: #f5f7f6 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18) !important;
}

.rb-home-betting-event .rb-match-team, .rb-sport-page-event .rb-match-team,
.rb-home-betting-event strong, .rb-sport-page-event strong { color: #ffffff !important; }
.rb-home-betting-event small, .rb-sport-page-event small,
.rb-home-betting-event .muted, .rb-sport-page-event .muted { color: #c2cbc7 !important; }

/* ========================================================================
   CENTRALIZED ROYALBET PALETTE — the sole colour authority for the UI.
   Page-specific CSS owns layout only; these tokens and rules own colour.
   ======================================================================== */
:root {
  --rb-color-page: #252b29;
  --rb-color-page-deep: #1c211f;
  --rb-color-surface: #343c39;
  --rb-color-surface-raised: #414a47;
  --rb-color-surface-hover: #4b5651;
  --rb-color-panel: #eef1f0;
  --rb-color-control: #ffffff;
  --rb-color-border-dark: #64716b;
  --rb-color-border-light: #d1dbd6;
  --rb-color-ink: #17201d;
  --rb-color-muted: #69766f;
  --rb-color-text: #f7f9f8;
  --rb-color-accent: #2fae90;
  --rb-color-accent-light: #42c9a9;
  --rb-color-accent-dark: #23856d;
  --rb-color-disabled: #e2e7e5;
}

html.rb-route-live-line,
html.rb-route-live-line body {
  background: linear-gradient(180deg, var(--rb-color-page), var(--rb-color-page-deep)) !important;
  color: var(--rb-color-text) !important;
}

/* Sport and country filters */
html.rb-route-live-line .rb-home-sport-group,
html.rb-route-live-line .rb-home-sub-sport,
html.rb-route-live-line .rb-sport-submenu-sport,
html.rb-route-live-line .rb-sport-submenu-tabs button,
html.rb-route-live-line .rb-sport-submenu-tabs a,
html.rb-route-live-line .rb-live-line-primary-tab,
html.rb-route-live-line .rb-live-line-secondary-tab,
html.rb-route-live-line .rb-live-line-country-chip,
html.rb-route-live-line .rb-live-line-league-chip,
html.rb-route-live-line .rb-live-line-all-bettable-chip,
html.rb-route-live-line .rb-live-line-world-cup-chip {
  background: var(--rb-color-surface) !important;
  background-image: none !important;
  border-color: var(--rb-color-border-dark) !important;
  color: var(--rb-color-text) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html.rb-route-live-line .rb-home-sport-group strong,
html.rb-route-live-line .rb-home-sub-sport strong,
html.rb-route-live-line .rb-sport-submenu-sport strong,
html.rb-route-live-line .rb-live-line-primary-tab > strong,
html.rb-route-live-line .rb-live-line-secondary-tab .rb-live-line-secondary-label,
html.rb-route-live-line .rb-live-line-country-chip-label,
html.rb-route-live-line .rb-live-line-league-chip { color: var(--rb-color-text) !important; }
html.rb-route-live-line .rb-home-sport-group.active,
html.rb-route-live-line .rb-home-sub-sport.active,
html.rb-route-live-line .rb-sport-submenu-sport.active,
html.rb-route-live-line .rb-sport-submenu-tabs button.active,
html.rb-route-live-line .rb-sport-submenu-tabs a.active,
html.rb-route-live-line .rb-live-line-primary-tab.active,
html.rb-route-live-line .rb-live-line-secondary-tab.active,
html.rb-route-live-line .rb-live-line-country-chip.active,
html.rb-route-live-line .rb-live-line-league-chip.active,
html.rb-route-live-line .rb-live-line-all-bettable-chip.active,
html.rb-route-live-line .rb-live-line-world-cup-chip.active {
  background: linear-gradient(180deg, var(--rb-color-accent-light), var(--rb-color-accent-dark)) !important;
  border-color: var(--rb-color-accent-light) !important;
  color: #fff !important;
}
html.rb-route-live-line .rb-live-line-filter-count {
  background: var(--rb-color-page-deep) !important;
  border-color: var(--rb-color-accent) !important;
  color: #bff7e8 !important;
  box-shadow: none !important;
}

/* Live game list and selected-match areas */
html.rb-route-live-line .rb-home-betting-head,
html.rb-route-live-line .rb-home-betting-board,
html.rb-route-live-line .rb-home-betting-layout,
html.rb-route-live-line .rb-home-betting-events,
html.rb-route-live-line .rb-sport-page-events,
html.rb-route-live-line .rb-sport-page-event,
html.rb-route-live-line .rb-home-betting-slide.rb-sport-page-event,
html.rb-route-live-line .rb-live-line-shell,
html.rb-route-live-line .rb-live-line-list-wrap,
html.rb-route-live-line .rb-live-line-main-wrap {
  background: var(--rb-color-surface) !important;
  border-color: var(--rb-color-border-dark) !important;
}
html.rb-route-live-line .rb-live-line-game-card {
  background: var(--rb-color-surface-raised) !important;
  border-color: var(--rb-color-border-dark) !important;
  color: var(--rb-color-text) !important;
  box-shadow: none !important;
}
html.rb-route-live-line .rb-live-line-game-card.active,
html.rb-route-live-line .rb-live-line-game-card.is-live-now {
  background: var(--rb-color-surface-hover) !important;
  border-color: var(--rb-color-accent) !important;
  box-shadow: inset 3px 0 0 var(--rb-color-accent) !important;
}
html.rb-route-live-line .rb-live-line-mini-score,
html.rb-route-live-line .rb-live-line-countdown > div {
  background: var(--rb-color-page-deep) !important;
  border-color: var(--rb-color-accent) !important;
  box-shadow: none !important;
}

/* Live markets, details, statistics and inputs */
html.rb-route-live-line .rb-live-line-inline-accordion,
html.rb-route-live-line .rb-live-line-inline-match-detail,
html.rb-route-live-line .rb-live-line-detail,
html.rb-route-live-line .rb-live-line-markets,
html.rb-route-live-line .rb-live-line-accordion-item,
html.rb-route-live-line .rb-live-line-accordion-body,
html.rb-route-live-line .rb-live-line-detail-main,
html.rb-route-live-line .rb-live-line-overview-main,
html.rb-route-live-line .rb-live-line-overview-side {
  background: var(--rb-color-panel) !important;
  border-color: var(--rb-color-border-light) !important;
  color: var(--rb-color-ink) !important;
}
html.rb-route-live-line .rb-live-line-accordion-toggle,
html.rb-route-live-line .rb-live-line-market-toggle {
  background: var(--rb-color-surface) !important;
  border-color: var(--rb-color-border-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html.rb-route-live-line .rb-live-line-accordion-item.open > .rb-live-line-accordion-toggle,
html.rb-route-live-line .rb-live-line-market-row.open .rb-live-line-market-toggle {
  background: #345348 !important;
  border-color: #5a8575 !important;
}
html.rb-route-live-line .rb-live-line-market-search input,
html.rb-route-live-line .rb-live-line-market-id,
html.rb-route-live-line .rb-live-line-stat-matrix span,
html.rb-route-live-line .rb-live-line-timeline-row,
html.rb-route-live-line .rb-live-line-tv-toggle,
html.rb-route-live-line .rb-live-line-tv-list,
html.rb-route-live-line .rb-live-line-tv-list a,
html.rb-route-live-line .rb-live-line-tv-list > span {
  background: var(--rb-color-control) !important;
  border-color: var(--rb-color-border-light) !important;
  color: var(--rb-color-ink) !important;
  box-shadow: none !important;
}
html.rb-route-live-line .rb-live-line-market-search input::placeholder { color: var(--rb-color-muted) !important; }
html.rb-route-live-line .rb-live-line-detail-team b,
html.rb-route-live-line .rb-live-line-detail-score strong,
html.rb-route-live-line .rb-live-line-stat-matrix b,
html.rb-route-live-line .rb-live-line-timeline-row p { color: var(--rb-color-ink) !important; }
html.rb-route-live-line .rb-live-line-detail-score small,
html.rb-route-live-line .rb-live-line-stat-matrix i,
html.rb-route-live-line .rb-live-line-tv-toggle small,
html.rb-route-live-line .rb-live-line-tv-list p { color: var(--rb-color-muted) !important; }

/* Betting odds: white tiles, dark labels, green prices. */
html.rb-route-live-line .rb-live-line-market-btn,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd {
  background: var(--rb-color-control) !important;
  border-color: var(--rb-color-border-light) !important;
  color: #111817 !important;
  box-shadow: none !important;
}
html.rb-route-live-line .rb-live-line-market-btn small,
html.rb-route-live-line .rb-live-line-market-btn b,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd b {
  color: #111817 !important;
  opacity: 1 !important;
}
html.rb-route-live-line .rb-live-line-market-btn b { color: var(--rb-color-accent-dark) !important; }
html.rb-route-live-line .rb-live-line-market-btn.is-readonly,
html.rb-route-live-line .rb-live-line-market-btn.is-unavailable {
  background: var(--rb-color-disabled) !important;
  border-color: #d4dcda !important;
}
html.rb-route-live-line .rb-live-line-market-btn.active,
html.rb-route-live-line .rb-live-line-market-btn.placing {
  background: linear-gradient(180deg, var(--rb-color-accent-light), var(--rb-color-accent-dark)) !important;
  border-color: var(--rb-color-accent) !important;
}
html.rb-route-live-line .rb-live-line-market-btn.active small,
html.rb-route-live-line .rb-live-line-market-btn.active b,
html.rb-route-live-line .rb-live-line-market-btn.placing small,
html.rb-route-live-line .rb-live-line-market-btn.placing b { color: #fff !important; }

/* Live-market workspace follows the dark board; only odds remain white. */
html.rb-route-live-line .rb-live-line-inline-accordion,
html.rb-route-live-line .rb-live-line-inline-match-detail,
html.rb-route-live-line .rb-live-line-detail,
html.rb-route-live-line .rb-live-line-markets,
html.rb-route-live-line .rb-live-line-accordion-item,
html.rb-route-live-line .rb-live-line-accordion-body,
html.rb-route-live-line .rb-live-line-detail-main,
html.rb-route-live-line .rb-live-line-overview-main,
html.rb-route-live-line .rb-live-line-overview-side {
  background: var(--rb-color-surface) !important;
  border-color: var(--rb-color-border-dark) !important;
  color: var(--rb-color-text) !important;
}
html.rb-route-live-line .rb-live-line-detail-team b,
html.rb-route-live-line .rb-live-line-detail-score strong,
html.rb-route-live-line .rb-live-line-stat-matrix b,
html.rb-route-live-line .rb-live-line-timeline-row p { color: var(--rb-color-text) !important; }
html.rb-route-live-line .rb-live-line-detail-score small,
html.rb-route-live-line .rb-live-line-stat-matrix i,
html.rb-route-live-line .rb-live-line-tv-toggle small,
html.rb-route-live-line .rb-live-line-tv-list p { color: #c3ccc8 !important; }
html.rb-route-live-line .rb-live-line-tv-list a .rb-live-line-tv-watch {
  margin-inline-start: auto;
  padding: 3px 7px;
  border: 1px solid #5a8575;
  border-radius: 2px;
  color: #ffffff !important;
  background: #345348;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
html.rb-route-live-line .rb-live-line-stat-matrix span,
html.rb-route-live-line .rb-live-line-timeline-row,
html.rb-route-live-line .rb-live-line-tv-toggle,
html.rb-route-live-line .rb-live-line-tv-list,
html.rb-route-live-line .rb-live-line-tv-list a,
html.rb-route-live-line .rb-live-line-tv-list > span {
  background: var(--rb-color-surface-raised) !important;
  border-color: var(--rb-color-border-dark) !important;
  color: var(--rb-color-text) !important;
}

/* Market headings and the spacing between odds must retain contrast. */
html.rb-route-live-line .rb-live-line-market-toggle,
html.rb-route-live-line .rb-live-line-market-toggle h4,
html.rb-route-live-line .rb-live-line-market-toggle h4 small,
html.rb-route-live-line .rb-live-line-market-toggle i,
html.rb-route-live-line .rb-live-line-market-row.open .rb-live-line-market-toggle,
html.rb-route-live-line .rb-live-line-market-row.open .rb-live-line-market-toggle h4,
html.rb-route-live-line .rb-live-line-market-row.open .rb-live-line-market-toggle h4 small,
html.rb-route-live-line .rb-live-line-market-row.open .rb-live-line-market-toggle i {
  color: #ffffff !important;
}
html.rb-route-live-line .rb-live-line-market-list,
html.rb-route-live-line .rb-live-line-market-row,
html.rb-route-live-line .rb-live-line-market-odds {
  background: var(--rb-color-surface) !important;
  border-color: var(--rb-color-border-dark) !important;
}

/* Odds need to be readable at a glance. */
html.rb-route-live-line .rb-live-line-market-btn {
  min-height: 52px !important;
  gap: 4px !important;
}
html.rb-route-live-line .rb-live-line-market-btn small {
  font-size: 11px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
}
html.rb-route-live-line .rb-live-line-market-btn b {
  font-size: 17px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}
@media (max-width: 560px) {
  html.rb-route-live-line .rb-live-line-market-btn { min-height: 48px !important; }
  html.rb-route-live-line .rb-live-line-market-btn b { font-size: 15px !important; }
}

/* Compact 1/X/2 strip: unlike a full market, each odds cell is only a third
   of the match-row width. Keep its numeric price inside the tile on phones. */
html.rb-route-live-line .rb-live-line-card-market-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  min-width: 0 !important;
  overflow: hidden;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 28px !important;
  height: 28px !important;
  padding-inline: 1px !important;
  overflow: hidden !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd b {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums !important;
}
@media (max-width: 560px) {
  html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd {
    min-height: 26px !important;
    height: 26px !important;
  }
  html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd b {
    font-size: 10px !important;
  }
}

/* Price movement must remain visible on the light odds tiles. */
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-up {
  background: linear-gradient(180deg, #d8faef 0%, #b8f0dc 100%) !important;
  border-color: #087b5a !important;
  box-shadow: inset 0 3px 0 #11ad7e, 0 0 0 1px rgba(8, 123, 90, .32) !important;
}
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up b,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-up b,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up small {
  color: #064c39 !important;
}
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-down {
  background: linear-gradient(180deg, #ffe8e8 0%, #ffd0d1 100%) !important;
  border-color: #b4232c !important;
  box-shadow: inset 0 -3px 0 #d63b45, 0 0 0 1px rgba(180, 35, 44, .28) !important;
}
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down b,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-down b,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down small {
  color: #7a1720 !important;
}
html.rb-route-live-line .rb-live-line-odd-up .rb-live-line-odd-delta { color: #006c4d !important; }
html.rb-route-live-line .rb-live-line-odd-down .rb-live-line-odd-delta { color: #a31620 !important; }

html.rb-route-live-line .rb-live-line-market-more,
html.rb-route-live-line .rb-live-line-markets-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 12px);
  margin: 6px;
  min-height: 34px;
  border: 1px solid #648e80 !important;
  border-radius: 7px;
  background: #3b5a4f !important;
  color: #ffffff !important;
  font: 800 13px/1 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
}
html.rb-route-live-line .rb-live-line-market-more.is-collapse,
html.rb-route-live-line .rb-live-line-markets-more.is-collapse {
  background: var(--rb-color-surface-raised) !important;
  border-color: var(--rb-color-border-dark) !important;
  color: var(--rb-color-text) !important;
}

/* Compact live-minute badge in the same visual weight as team names. */
html.rb-route-live-line .rb-live-line-card-signals .rb-live-line-match-time {
  min-width: 0 !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  column-gap: 3px !important;
  padding: 2px 4px !important;
  border: 1px solid rgba(47, 174, 144, .55) !important;
  border-radius: 2px !important;
  background: rgba(10, 35, 29, .56) !important;
}
html.rb-route-live-line .rb-live-line-match-time i {
  width: 14px !important;
  height: 14px !important;
  font-size: 7px !important;
  background: rgba(47, 174, 144, .2) !important;
}
html.rb-route-live-line .rb-live-line-match-time span,
html.rb-route-live-line .rb-live-line-match-time b {
  font-size: 10px !important;
  line-height: 1.05 !important;
}
html.rb-route-live-line .rb-live-line-match-time b { color: #e5f3ee !important; }

/* Started-match status is rendered by the compact countdown, not the signal
   pill above. Keep this actual "חי · דקה N" label compact as well. */
html.rb-route-live-line .rb-live-line-countdown.is-compact.has-started {
  width: fit-content !important;
  min-width: 0 !important;
  margin: 2px 0 !important;
  padding: 3px 5px !important;
  border: 1px solid rgba(47, 174, 144, .52) !important;
  border-radius: 2px !important;
  background: rgba(10, 35, 29, .56) !important;
  color: #e5f3ee !important;
  box-sizing: border-box !important;
}
html.rb-route-live-line .rb-live-line-countdown.is-compact.has-started > strong {
  display: block !important;
  font: 700 10px/1.1 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  color: #e5f3ee !important;
  white-space: nowrap !important;
}

/* Match-row controls use the same tight 2px geometry. */
html.rb-route-live-line .rb-live-line-countdown,
html.rb-route-live-line .rb-live-line-countdown.is-compact,
html.rb-route-live-line .rb-live-line-countdown > div,
html.rb-route-live-line .rb-live-line-countdown.is-compact span,
html.rb-route-live-line .rb-live-line-market-btn,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd {
  border-radius: 2px !important;
}

/* Compact 1/X/2 strip: selection above, bold black odds below. */
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd {
  height: 28px !important;
  min-height: 28px !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 2px !important;
  padding-inline: 3px !important;
  border-radius: 2px !important;
  border-color: rgba(47, 174, 144, .7) !important;
  background: #29302e !important;
  position: relative !important;
  display: block !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd small {
  display: block !important;
  position: absolute !important;
  right: 4px !important;
  left: auto !important;
  top: 0 !important;
  height: 28px !important;
  line-height: 28px !important;
  transform: none !important;
  flex: 0 0 auto !important;
  max-width: 17px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #d6e0dc !important;
  font: 400 8px/1 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-variation-settings: "wght" 400 !important;
  opacity: 1 !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd b,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-price {
  color: #ffffff !important;
  flex: 0 0 auto !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: max-content !important;
  height: 28px !important;
  margin: auto !important;
  line-height: 28px !important;
  transform: none !important;
  font: normal 400 12px/1 "Noto Sans", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-variation-settings: "wght" 400 !important;
  font-synthesis: none !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
  gap: 2px !important;
  direction: rtl !important;
}
@media (max-width: 560px) {
  html.rb-route-live-line .rb-live-line-game-card {
    grid-template-columns: 164px 64px minmax(0, 1fr) !important;
  }
}

/* Keep each 1/X/2 label and price centred as one compact group. */
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd small {
  position: static !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

/* Mobile header / submenus: apply the sport palette only outside casino routes. */
@media (max-width: 1024px) {
  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-main-nav {
    border-bottom-color: rgba(47, 174, 144, .55) !important;
    background: linear-gradient(180deg, rgba(39, 59, 51, .99), rgba(21, 32, 28, .99)) !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .46) !important;
  }

  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-nav-link {
    background: rgba(47, 174, 144, .08) !important;
    border-color: rgba(94, 160, 140, .34) !important;
  }

  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-nav-link:hover,
  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-nav-link.active,
  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-nav-item.rb-nav-expanded > .rb-nav-link {
    background: rgba(47, 174, 144, .20) !important;
    border-color: rgba(74, 202, 164, .58) !important;
    color: #ffffff !important;
  }

  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-dropdown {
    background: rgba(19, 31, 27, .92) !important;
    border-color: rgba(81, 128, 112, .48) !important;
  }

  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-dropdown-link,
  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-menu-step {
    background: transparent !important;
    color: #eef8f4 !important;
  }

  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-dropdown-link:hover,
  body.rb-sport-theme #rb-site-header.rb-menu-open .rb-menu-step[aria-expanded="true"] {
    background: rgba(47, 174, 144, .18) !important;
  }
}

/* Clean fixture header: away | score | home, with each icon locked to its name. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  grid-template-areas: "away score home" !important;
  direction: ltr !important;
  align-items: center !important;
  justify-content: stretch !important;
  min-height: 44px !important;
  width: 100% !important;
  padding: 3px 6px !important;
  column-gap: 3px !important;
  row-gap: 0 !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score {
  grid-area: score !important;
  position: static !important;
  z-index: auto !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 1px 3px !important;
  line-height: 1 !important;
  transform: none !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 3px !important;
}
/* Home is to the right: score → icon → name. */
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child {
  grid-area: home !important;
  direction: ltr !important;
}
/* Away is to the left: name ← icon ← score. */
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away {
  grid-area: away !important;
  direction: rtl !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team > b {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 23px) !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  font-family: "Assistant", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 400 !important;
  text-align: start !important;
}

/* Match-list header mirrors the expanded card at 70% scale. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(58px, auto) minmax(0, 1fr) !important;
  grid-template-areas: "away score home" !important;
  align-items: center !important;
  column-gap: 6px !important;
  min-height: 52px !important;
  padding: 5px !important;
  direction: ltr !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away {
  position: static !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 2px !important;
  direction: rtl !important;
  transform: none !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child { grid-area: home !important; }
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away { grid-area: away !important; }
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-team-avatar--small {
  width: 24px !important;
  height: 24px !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team > b {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: center !important;
  font-family: "Assistant", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 12px !important;
  font-weight: 400 !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score {
  grid-area: score !important;
  min-width: 93px !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  background: rgba(13, 20, 18, .78) !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score b {
  font-size: 14px !important;
  line-height: 1 !important;
}

/* Exact visual counterpart of .rb-live-line-detail-main, scaled to 70%. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  gap: 6px !important;
  margin: 0 !important;
  padding: 5px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 6px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .12)),
    rgba(10, 6, 8, .56) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team > b {
  font-family: "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 12px !important;
  text-align: center !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score {
  min-width: 58px !important;
  padding: 4px 6px !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 6px !important;
  background: rgba(18, 5, 5, .8) !important;
  text-align: center !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score b {
  font-family: "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score::after {
  content: "משחק חי";
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .84);
  font: 500 7px/1.2 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
}

/* List rows use the same DOM pattern as the expanded fixture, at 70% scale. */
html.rb-route-live-line .rb-live-line-list-match-main {
  grid-area: score;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(58px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .12)),
    rgba(10, 6, 8, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
html.rb-route-live-line .rb-live-line-list-detail-team {
  min-width: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}
html.rb-route-live-line .rb-live-line-list-detail-team .rb-live-line-team-avatar--small {
  width: 24px;
  height: 24px;
}
html.rb-route-live-line .rb-live-line-list-detail-team b {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--rb-color-text);
  font: 600 12px/1.2 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
}
html.rb-route-live-line .rb-live-line-detail-team b {
  font-size: 12px !important;
  line-height: 1.2 !important;
}
html.rb-route-live-line .rb-live-line-list-detail-score {
  min-width: 58px;
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(18, 5, 5, .8);
  text-align: center;
}
html.rb-route-live-line .rb-live-line-list-detail-score strong {
  display: block;
  color: var(--rb-color-text);
  font: 700 14px/1 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
}
html.rb-route-live-line .rb-live-line-list-detail-score small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .84);
  font: 500 7px/1.2 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
}

/* Countdown tile matches one 1/X/2 tile in the row below it. */
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact,
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact.has-started {
  box-sizing: border-box !important;
  width: calc((176px - 6px) / 3) !important;
  min-width: calc((176px - 6px) / 3) !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 2px 3px !important;
  border-radius: 2px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact.has-started > strong {
  font-size: 8px !important;
  line-height: 1 !important;
  text-align: center !important;
}
/* A passed kick-off time is not a live signal. Keep waiting fixtures visibly
   distinct until the provider explicitly confirms in-play. */
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact.is-kickoff-pending {
  background: #333 !important;
  border-color: rgba(172, 222, 206, .42) !important;
  color: #dceae5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 3px !important;
}
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact.is-kickoff-pending > strong {
  font-size: 8px !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

/* Reset the pre-match countdown's nested cells to the same tile height. */
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact {
  width: 72px !important;
  min-width: 72px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  display: block !important;
}
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact > div {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  border-radius: 2px !important;
}
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact > div span {
  box-sizing: border-box !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 1px !important;
  display: grid !important;
  place-content: center !important;
}
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact.has-started {
  display: flex !important;
  padding: 2px 3px !important;
}

/* Odds movement: preserve the normal tile, show only a blinking corner cue. */
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-up,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-down {
  background: #29302e !important;
  border-color: rgba(47, 174, 144, .7) !important;
  box-shadow: none !important;
  animation: rb-live-line-odds-corner-flash .7s ease-in-out 4 !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-up::before,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-down::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 3 !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 9px solid transparent !important;
  border-left: 9px solid transparent !important;
  opacity: 1 !important;
  animation: rb-live-line-odds-corner-blink .7s ease-in-out 4 !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-up::before {
  border-top-color: #28d18a !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-down::before {
  border-top-color: #ff4b55 !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-up small,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-down small,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-up .rb-live-line-card-preview-price,
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-odd.rb-live-line-odd-down .rb-live-line-card-preview-price {
  color: #fff !important;
  opacity: 1 !important;
}
@keyframes rb-live-line-odds-corner-flash {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 0 7px rgba(47, 174, 144, .45); }
}
@keyframes rb-live-line-odds-corner-blink {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

/* One dark odds language for preview, tracker, and expanded market grids. */
html.rb-route-live-line .rb-live-line-market-btn {
  position: relative !important;
  background: #29302e !important;
  border-color: rgba(47, 174, 144, .7) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html.rb-route-live-line .rb-live-line-market-btn small {
  color: #d6e0dc !important;
  font: 400 9px/1.1 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  opacity: 1 !important;
}
html.rb-route-live-line .rb-live-line-market-btn b {
  color: #fff !important;
  font: 400 14px/1 "Noto Sans", Arial, sans-serif !important;
  font-variation-settings: "wght" 400 !important;
  opacity: 1 !important;
}
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down {
  background: #29302e !important;
  border-color: rgba(47, 174, 144, .7) !important;
  box-shadow: none !important;
  animation: rb-live-line-odds-corner-flash .7s ease-in-out 4 !important;
}
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up::after,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down::after {
  display: none !important;
}
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up::before,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 3 !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 10px solid transparent !important;
  border-left: 10px solid transparent !important;
  opacity: 1 !important;
  animation: rb-live-line-odds-corner-blink .7s ease-in-out 4 !important;
}
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up::before { border-top-color: #28d18a !important; }
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down::before { border-top-color: #ff4b55 !important; }
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up small,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-up b,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down small,
html.rb-route-live-line .rb-live-line-market-btn.rb-live-line-odd-down b {
  color: #fff !important;
  opacity: 1 !important;
}
html.rb-route-live-line .rb-live-line-market-btn .rb-live-line-odd-delta {
  display: none !important;
}

/* Team names: full words on one or two lines, never a clipped ellipsis. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  min-height: 44px !important;
  gap: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  gap: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team > b {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: pretty;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 400 !important;
  font-variation-settings: "wght" 400 !important;
  font-family: "Assistant", "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child > b {
  text-align: right !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away > b {
  text-align: left !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score {
  flex: 0 0 auto !important;
  margin-inline: 0 !important;
}

/* The score is pinned to the true centre; each team receives an equal side. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas: "away home" !important;
  justify-content: stretch !important;
  width: 100% !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score {
  position: absolute !important;
  z-index: 1 !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team {
  width: 100% !important;
  min-width: 0 !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child {
  grid-area: home !important;
  padding-left: 28px !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away {
  grid-area: away !important;
  padding-right: 28px !important;
}

/* Keep the entire fixture identity as one centred content group. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  gap: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score {
  position: static !important;
  transform: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away {
  grid-area: auto !important;
  width: auto !important;
  flex: 0 1 auto !important;
  max-width: calc(50% - 30px) !important;
  padding: 0 !important;
  gap: 3px !important;
}

/* Fixed centre score: each team icon sits 3px from its side. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  position: relative !important;
  display: block !important;
  min-height: 44px !important;
  width: 100% !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-mini-score {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 1px 3px !important;
  line-height: 1 !important;
  transform: translate(-50%, -50%) !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child,
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away {
  position: absolute !important;
  top: 50% !important;
  width: auto !important;
  max-width: calc(50% - 35px) !important;
  transform: translateY(-50%) !important;
  gap: 4px !important;
}
/* Home: score → icon → name (physical left-to-right). */
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team:first-child {
  left: calc(50% + 18px) !important;
  right: auto !important;
  direction: ltr !important;
}
/* Away: name ← icon ← score (the icon stays closest to the score). */
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team--away {
  right: calc(50% + 18px) !important;
  left: auto !important;
  direction: rtl !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline .rb-live-line-card-team > b {
  max-width: 118px !important;
  text-align: start !important;
}

/* Crisp team-name treatment for the compact live match rows. */
html.rb-route-live-line .rb-live-line-card-team {
  min-height: 14px !important;
  gap: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-team b {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  direction: rtl !important;
  text-align: right !important;
  color: #f4f8f6 !important;
  font-family: "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  font-variation-settings: "wght" 500 !important;
  font-synthesis: none !important;
  line-height: 14px !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Fixture identity gets its own full-width header above the odds row. */
html.rb-route-live-line .rb-live-line-game-card {
  grid-template-columns: 164px 64px minmax(0, 1fr) !important;
  grid-template-areas:
    "score score score"
    "market head head" !important;
  align-items: center !important;
  row-gap: 3px !important;
  padding: 4px !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline {
  min-height: 31px !important;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) !important;
  grid-template-areas: "away score home" !important;
  column-gap: 5px !important;
  row-gap: 0 !important;
  padding: 3px 6px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 3px !important;
  background: rgba(18, 26, 24, .42) !important;
}
html.rb-route-live-line .rb-live-line-card-team {
  min-height: 16px !important;
  gap: 5px !important;
}
html.rb-route-live-line .rb-live-line-card-team:first-child {
  direction: rtl !important;
  justify-content: flex-start !important;
}
html.rb-route-live-line .rb-live-line-card-team--away {
  direction: ltr !important;
  justify-content: flex-start !important;
}
html.rb-route-live-line .rb-live-line-team-avatar--small {
  width: 19px !important;
  height: 19px !important;
}
html.rb-route-live-line .rb-live-line-mini-score {
  min-width: 36px !important;
  border-radius: 3px !important;
  padding: 3px 4px !important;
  background: rgba(13, 20, 18, .78) !important;
}
html.rb-route-live-line .rb-live-line-mini-score b {
  font-size: 12px !important;
}
html.rb-route-live-line .rb-live-line-card-head-meta {
  grid-area: head;
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 5px;
}
html.rb-route-live-line .rb-live-line-card-sport-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dce7e2;
  font: 500 10px/1 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
}
html.rb-route-live-line .rb-live-line-card-head-meta .rb-live-line-countdown.is-compact {
  grid-area: auto !important;
  width: auto !important;
  min-width: 64px !important;
  margin: 0 !important;
}

/* Single-line match header and evenly spaced information row. */
html.rb-route-live-line .rb-live-line-game-card {
  grid-template-columns: 176px minmax(0, 1fr) !important;
  grid-template-areas:
    "score score"
    "market head" !important;
  column-gap: 4px !important;
  row-gap: 2px !important;
}
html.rb-route-live-line .rb-live-line-card-scoreline {
  direction: ltr !important;
  min-height: 38px !important;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) !important;
  grid-template-areas: "away score home" !important;
  padding: 3px 8px !important;
}
html.rb-route-live-line .rb-live-line-card-team:first-child {
  justify-content: flex-end !important;
}
html.rb-route-live-line .rb-live-line-card-team {
  gap: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-team--away {
  justify-content: flex-start !important;
}
html.rb-route-live-line .rb-live-line-team-avatar--small {
  width: 20px !important;
  height: 20px !important;
}
html.rb-route-live-line .rb-live-line-mini-score {
  min-width: 44px !important;
  min-height: 25px !important;
  justify-self: center !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview {
  height: 28px !important;
  gap: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-head-meta {
  min-height: 28px !important;
  padding-inline: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-sport-name {
  text-align: right !important;
  font-size: 10px !important;
}

/* Centre the two teams and score as one compact, evenly spaced group. */
html.rb-route-live-line .rb-live-line-card-scoreline {
  direction: rtl !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  column-gap: 0 !important;
  gap: 3px !important;
  padding-inline: 4px !important;
}
html.rb-route-live-line .rb-live-line-card-team,
html.rb-route-live-line .rb-live-line-card-team:first-child,
html.rb-route-live-line .rb-live-line-card-team--away {
  flex: 0 1 auto !important;
  justify-self: auto !important;
  justify-content: center !important;
  gap: 3px !important;
}
html.rb-route-live-line .rb-live-line-card-team:first-child {
  direction: rtl !important;
}
html.rb-route-live-line .rb-live-line-card-team--away {
  direction: ltr !important;
}
html.rb-route-live-line .rb-live-line-card-team b {
  flex: 0 1 auto !important;
  max-width: 118px !important;
}
html.rb-route-live-line .rb-live-line-mini-score {
  flex: 0 0 auto !important;
  margin: 0 !important;
}
html.rb-route-live-line .rb-live-line-card-market-preview .rb-live-line-card-preview-price {
  position: static !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

/* Sport and competition context in the compact live-game card header. */
html.rb-route-live-line .rb-live-line-card-head-meta {
  min-height: 40px !important;
  align-items: center !important;
  gap: 4px !important;
  position: relative;
  z-index: 12;
  pointer-events: auto !important;
}
html.rb-route-live-line .rb-live-line-card-meta-stack {
  direction: rtl;
  display: grid;
  grid-template-columns: minmax(0, max-content);
  align-content: center;
  justify-items: start;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
  z-index: 13;
  pointer-events: auto !important;
}
html.rb-route-live-line .rb-live-line-card-sport-name,
html.rb-route-live-line .rb-live-line-card-context-name {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  min-height: 16px;
  overflow: hidden;
  padding: 2px 5px;
  border: 1px solid rgba(120, 160, 145, .5);
  border-radius: 3px;
  background: rgba(51, 51, 51, .88);
  color: #eef8f4;
  font: 500 9px/1.05 "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif !important;
  white-space: nowrap;
  text-align: right !important;
  text-overflow: ellipsis;
}
html.rb-route-live-line .rb-live-line-card-context-name {
  color: #acdece;
}
html.rb-route-live-line a.rb-live-line-card-context-name.is-country {
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  z-index: 4;
}
html.rb-route-live-line a.rb-live-line-card-context-name.is-country:hover,
html.rb-route-live-line a.rb-live-line-card-context-name.is-country:focus-visible {
  border-color: #2fae90;
  background: rgba(47, 174, 144, .17);
  color: #fff;
  outline: none;
}

/* Country/team chooser opened from a compact live-game card. */
.rb-live-line-country-popup { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 18px; opacity: 0; pointer-events: none; transition: opacity .16s ease; direction: rtl; }
.rb-live-line-country-popup.is-open { opacity: 1; pointer-events: auto; }
.rb-live-line-country-popup__backdrop { position: absolute; inset: 0; background: rgba(4, 12, 10, .68); backdrop-filter: blur(2px); }
.rb-live-line-country-popup__dialog { position: relative; z-index: 1; width: min(100%, 390px); height: min(78dvh, 610px); box-sizing: border-box; padding: 19px 10px 10px; border: 1px solid rgba(47, 174, 144, .8); border-radius: 9px; background: #242424; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); text-align: center; color: #edf8f3; display: flex; flex-direction: column; }
.rb-live-line-country-popup__dialog small { display: block; margin-bottom: 4px; color: #acdece; font: 400 11px/1.2 "Noto Sans Hebrew", Arial, sans-serif; }
.rb-live-line-country-popup__dialog strong { display: block; margin-bottom: 13px; font: 600 17px/1.2 "Noto Sans Hebrew", Arial, sans-serif; }
.rb-live-line-country-popup__close { position: absolute; inset: 7px auto auto 7px; width: 27px; height: 27px; border: 1px solid rgba(172, 222, 206, .5); border-radius: 50%; background: transparent; color: #fff; font-size: 20px; line-height: 22px; cursor: pointer; }
.rb-live-line-country-popup__frame { display: block; width: 100%; min-height: 0; flex: 1 1 auto; border: 1px solid rgba(120, 160, 145, .45); border-radius: 5px; background: #18211e; }
