body {
  background: #071208;
  color: #f3f6f1;
  font-family: "Open Sans", Manrope, sans-serif;
}

.rb-top, .rb-bar, .rb-actions, .rb-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rb-top {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 16px;
  background: #0b160f;
}
.rb-top h1 { margin: 0; color: #e6c36a; font-size: 16px; }
.rb-find { margin-right: auto; color: #cfe0cf; }
.rb-in, .rb-reg, .rb-cash-link {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
}
.rb-in { background: #243028; }
.rb-reg, .rb-cash-link { background: #2fa043; color: #fff; }
.rb-bar {
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 12px 12px;
  background: #0b160f;
}
.rb-main { padding: 58px 16px 72px; }
.rb-hero { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(300px, 1fr); gap: 12px; }
.rb-hero a { display: block; overflow: hidden; border-radius: 16px; }
.rb-hero img { width: 100%; height: 280px; object-fit: cover; object-position: center; display: block; }
.rb-hero a:last-child img { height: 382px; min-height: 0; object-fit: cover; object-position: right center; }
.rb-stats { width: 100%; height: auto; display: block; border-radius: 12px; }
.rb-stats { max-width: calc(100% - 352px); margin: 12px 0 24px; }
.rb-app .slot-shelf li { background: #102016; }
.rb-app .slot-shelf img { border-radius: 14px; height: 140px; object-fit: cover; }
.rb-tabs { position: absolute; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .rb-main { padding: 12px 12px 72px; }
  .rb-top { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .rb-top .brand-logo { max-width: 112px; }
  .rb-top h1 { font-size: 11px; }
  .rb-find { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .rb-actions { order: 5; width: 100%; }
  .rb-actions a { flex: 1; text-align: center; }
  .rb-bar { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .rb-toggle:checked ~ .rb-bar {
    position: fixed;
    z-index: 30;
    left: 12px; right: 12px; top: 72px;
    width: auto; height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
    background: #102016;
  }
  .rb-hero { grid-template-columns: 1fr; }
  .rb-hero img, .rb-hero a:last-child img { height: auto; min-height: 0; }
  .rb-stats { max-width: none; }
  .rb-tabs {
    display: flex;
    position: fixed;
    width: auto;
    height: auto;
    overflow: visible;
    z-index: 25;
    left: 0; right: 0; bottom: 0;
    background: #0b160f;
    border-top: 1px solid #1e3a24;
  }
  .rb-tabs a { flex: 1; text-align: center; padding: 12px 2px; font-size: 12px; }
}

@media (min-width: 901px) {
  .rb-main {
    width: min(1440px, calc(100% - 32px));
    margin-inline: auto;
    padding-inline: 0;
  }
  .rb-main > .slot-shelf-wrap { width: 100%; margin-inline: 0; }
}

@media (min-width: 1500px) {
  .rb-hero { grid-template-columns: minmax(0, 1032px) 392px; }
  .rb-hero img { height: 322px; }
  .rb-hero a:last-child img { height: 440px; }
  .rb-stats { width: min(1014px, calc(100% - 404px)); max-width: none; }
}

/* At intermediate desktop widths the original stacks the welcome banner and
   Golden Rio Path; reserving a narrow side column cuts both images off. */
@media (min-width: 901px) and (max-width: 1499px) {
  .rb-main { padding-top: 28px; }
  .rb-hero { grid-template-columns: 1fr; }
  .rb-hero img { height: auto; aspect-ratio: 1400 / 320; object-fit: contain; }
  .rb-hero a:last-child img { height: auto; max-height: 320px; object-fit: contain; object-position: left center; }
  .rb-stats { max-width: none; }
}

.rb-carousel { position: relative; min-width: 0; height: 280px; overflow: hidden; border: 2px solid #c8ac50; border-radius: 16px; }
.rb-slide { position: absolute; inset: 0; display: none; overflow: hidden; background: #08110b; }
.rb-slide.is-active { display: block; }
.rb-hero .rb-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.rb-hero .rb-slide-art { position: absolute; right: 4%; bottom: 0; width: auto; height: 110%; max-width: 52%; aspect-ratio: auto; object-fit: contain; object-position: bottom right; }
.rb-slide-copy { position: absolute; z-index: 1; top: 50%; left: 24px; transform: translateY(-50%); }
.rb-slide-copy h2 { margin: 0; color: #46c94d; font-size: clamp(26px, 3vw, 50px); line-height: 1; }
.rb-slide-copy p { margin: 8px 0 20px; font-size: clamp(14px, 1.4vw, 22px); font-weight: 700; }
.rb-slide-copy a { display: inline-block; padding: 11px 16px; border-radius: 10px; background: #2fa043; color: #fff; font-weight: 700; }
.rb-carousel-dots { position: absolute; z-index: 2; bottom: 9px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); }
.rb-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #ffffff66; }
.rb-carousel-dots button.is-active { background: white; }
.rb-path { min-width: 0; overflow: hidden; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #142c19, #111c11); }
.rb-path { background: linear-gradient(90deg, rgba(4, 14, 5, .45), rgba(4, 14, 5, .75)), url('../lobby/riobet/official/path-owl.png') left top / auto 100% no-repeat, #101d11; }
.rb-path-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rb-path h2 { margin: 0 0 6px; font-size: 20px; }
.rb-path p { margin: 0; font-size: 13px; }
.rb-path-head button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: #344538; color: #fff; }
.rb-path-items { display: flex; gap: 8px; overflow-x: auto; margin-top: 38px; padding-top: 22px; scrollbar-width: none; }
.rb-path-items::-webkit-scrollbar { display: none; }
.rb-path-items a { position: relative; display: flex; flex: 0 0 140px; flex-direction: column; gap: 14px; min-height: 165px; padding: 52px 12px 12px; border: 1px solid #4a5340; border-radius: 12px; background: #263127; font-size: 14px; }
.rb-path-items a:first-child { border-color: #d2b750; background: #343c17; }
.rb-hero .rb-path-items img { position: absolute; top: -30px; left: 50%; width: 70px; height: 70px; aspect-ratio: auto; object-fit: contain; transform: translateX(-50%); }
.rb-hero .rb-path-items a { overflow: visible; }
.rb-hero .rb-path-items a:last-child img { width: 70px; height: 70px; object-fit: contain; }
.rb-path-items small { color: #ebd65d; }
@media (max-width: 1499px) { .rb-carousel { height: auto; aspect-ratio: 1400 / 320; } .rb-path-items { margin-top: 12px; } }
@media (max-width: 767px) { .rb-path-head { justify-content: center; text-align: center; } .rb-path-head button { display: none; } }
@media (max-width: 700px) { .rb-carousel { min-height: 190px; aspect-ratio: auto; } .rb-slide-copy { left: 15px; max-width: 57%; } .rb-slide-copy h2 { font-size: 26px; } .rb-slide-copy p { font-size: 13px; } .rb-hero .rb-slide-art { right: -4%; max-width: 55%; height: 90%; } }
.rb-app .rb-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; max-width: none; height: auto; overflow: hidden; background: #112516; }
.rb-stats-note { grid-column: 1 / -1; padding: 7px 18px 0; color: #9eb3a0; font-size: 10px; }
.rb-stats > div { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 18px; border-right: 1px solid #27402b; }
.rb-stats > div > span { font-size: 30px; }
.rb-stats p { margin: 0; color: #9eb3a0; font-size: 13px; }
.rb-stats strong { display: block; margin-top: 4px; color: #fff; font-size: 18px; }
@media (max-width: 700px) { .rb-app .rb-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } .rb-stats > div { padding: 12px; border-bottom: 1px solid #27402b; } .rb-stats > div > span { font-size: 22px; } .rb-stats p { font-size: 11px; } .rb-stats strong { font-size: 15px; } }
.rb-footer { margin-top: 42px; padding: 0; overflow: hidden; border: 0; background: #102017; color: #a7b5aa; }
.rb-original-games { padding: 24px; border: 1px solid #1d3b26; border-radius: 16px; background: #102217; }
.rb-games-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rb-games-heading h2 { margin: 0; font-size: 22px; }
.rb-games-heading h2 a { margin-left: 8px; color: #ebcf4a; font-size: 13px; text-decoration: underline; }
.rb-games-heading input { width: 240px; max-width: 100%; padding: 12px; border: 0; border-radius: 10px; background: #203527; color: white; }
.rb-game-categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; overflow-x: auto; padding: 24px 0; scrollbar-width: none; }
.rb-game-categories a { flex: 0 0 auto; padding: 9px 12px; border-radius: 10px; background: #203527; color: #e6eee8; font-size: 12px; font-weight: 700; }
.rb-game-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.rb-game-grid a { min-width: 0; overflow: hidden; border-radius: 10px; background: #203527; }
.rb-game-grid a[hidden] { display: none; }
.rb-game-grid img { display: block; width: 100%; height: auto; aspect-ratio: 284 / 189; object-fit: cover; }
.rb-footer-providers { overflow: hidden; padding: 20px 0; border-bottom: 1px solid #304135; background: #09150e; }
.rb-footer-track { display: flex; width: max-content; animation: rb-providers-scroll 70s linear infinite; }
.rb-footer-track:hover { animation-play-state: paused; }
.rb-footer-track > div { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.rb-footer-track img { width: 100px; height: 34px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.rb-footer-content { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; padding: 34px 28px; }
.rb-footer-content section, .rb-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rb-footer-content b { color: #fff; margin-bottom: 8px; }
.rb-footer-brand img { object-fit: contain; object-position: left center; }
.rb-footer-support { padding: 10px 16px; border-radius: 8px; background: #2da449; color: #fff; }
.rb-footer-legal { display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px 28px 28px; border-top: 1px solid #304135; font-size: 12px; }
@keyframes rb-providers-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rb-footer-track { animation: none; } }
@media (max-width: 700px) { .rb-original-games { padding: 16px; } .rb-games-heading { flex-wrap: wrap; } .rb-games-heading label, .rb-games-heading input { width: 100%; } .rb-game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .rb-footer-content { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 16px; } .rb-footer-brand { grid-column: 1 / -1; } .rb-footer-legal { padding-inline: 16px; } }

/* ============================================================
   RIOBET — доводка под оригинал riobet.com:
   логотип+название, иконки навигации, крупнее Golden Rio Path,
   статистика без пометки, стиль категорий, правый рейл,
   вылет персонажа за баннер, мобильное нижнее меню.
   ============================================================ */

/* Логотип + название вместо title */
.rb-logo { display: inline-flex; align-items: center; gap: 11px; }
.rb-logo .brand-logo { width: 46px; height: 46px; object-fit: contain; }
/* Название RIOBET — отдельный логотип-вордмарк (картинка), не текст */
.rb-logo b { display: block; width: 128px; height: 26px; overflow: hidden; text-indent: -9999px; background: url('/assets/lobby/riobet/wordmark.svg') left center / contain no-repeat; }
.rb-top h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rb-find { margin-right: auto; display: grid; width: 40px; height: 40px; place-items: center; }
.rb-find span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rb-find::before { content: "⌕"; color: #cfe0cf; font-size: 24px; }

/* Навигация с иконками, крупнее */
.rb-bar { gap: 22px; padding: 10px 12px 14px; }
.rb-bar a { display: inline-flex; align-items: center; gap: 8px; padding: 4px; color: #e6eee8; font-size: 15px; font-weight: 700; }
.rb-bar a:hover { color: #fff; }
.rb-bar a::before {
  content: ""; display: inline-block; width: 18px; height: 18px; vertical-align: -3px;
  background-color: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 17px 17px; mask-size: 17px 17px;
}
.rb-nav-slots::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M6 7h12M8 10v5M12 10v5M16 10v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M6 7h12M8 10v5M12 10v5M16 10v5'/%3E%3C/svg%3E"); }
.rb-nav-live::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M15 10l6-3v10l-6-3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M15 10l6-3v10l-6-3z'/%3E%3C/svg%3E"); }
.rb-nav-sport::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5l3.2 2.3-1.2 3.8h-4l-1.2-3.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5l3.2 2.3-1.2 3.8h-4l-1.2-3.8z'/%3E%3C/svg%3E"); }
.rb-nav-bonus::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='9' width='17' height='4' rx='1'/%3E%3Cpath d='M5 13h14v8H5z'/%3E%3Cpath d='M12 9v12'/%3E%3Cpath d='M12 9C10 9 8 8 8 6.5A2.5 2.5 0 0 1 12 5a2.5 2.5 0 0 1 4 1.5C16 8 14 9 12 9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='9' width='17' height='4' rx='1'/%3E%3Cpath d='M5 13h14v8H5z'/%3E%3Cpath d='M12 9v12'/%3E%3Cpath d='M12 9C10 9 8 8 8 6.5A2.5 2.5 0 0 1 12 5a2.5 2.5 0 0 1 4 1.5C16 8 14 9 12 9z'/%3E%3C/svg%3E"); }
.rb-nav-hall::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpolygon points='12,3 14.3,8.6 20.4,9 15.7,13.1 17.2,19 12,15.6 6.8,19 8.3,13.1 3.6,9 9.7,8.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpolygon points='12,3 14.3,8.6 20.4,9 15.7,13.1 17.2,19 12,15.6 6.8,19 8.3,13.1 3.6,9 9.7,8.6'/%3E%3C/svg%3E"); }
.rb-nav-tourn::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 5H4v2a3 3 0 0 0 3 3M17 5h3v2a3 3 0 0 1-3 3'/%3E%3Cpath d='M12 14v3M8 20h8M10 20v-2.5M14 20v-2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 5H4v2a3 3 0 0 0 3 3M17 5h3v2a3 3 0 0 1-3 3'/%3E%3Cpath d='M12 14v3M8 20h8M10 20v-2.5M14 20v-2.5'/%3E%3C/svg%3E"); }
.rb-nav-loyal::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 8l4 4 5-7 5 7 4-4-1.5 11h-15z'/%3E%3Cpath d='M4.5 19h15'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 8l4 4 5-7 5 7 4-4-1.5 11h-15z'/%3E%3Cpath d='M4.5 19h15'/%3E%3C/svg%3E"); }
.rb-nav-cal::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }

/* Golden Rio Path крупнее, всё влезает */
.rb-path { min-height: 320px; }
.rb-path h2 { font-size: 22px; }
.rb-path-items { margin-top: 30px; }
.rb-path-items a { flex-basis: 150px; min-height: 182px; padding: 56px 13px 14px; }

/* Статистика без пометки «Пример статистики» */
.rb-stats-note { display: none; }

/* Категории игр — как у оригинала (скруглённые пилюли, активная в обводке) */
.rb-game-categories { gap: 10px; flex-wrap: wrap; padding: 22px 0 8px; overflow: visible; }
.rb-game-categories a { padding: 10px 17px; border: 1px solid #284133; border-radius: 999px; background: #152a1d; color: #dcebe1; font-size: 13px; }
.rb-game-categories a:hover { border-color: #3c6048; }
.rb-game-categories a:first-child { border-color: #8fd79c; background: #1c3626; color: #fff; }

/* Правый боковой рейл */
.rb-side-rail { position: fixed; z-index: 15; right: 5px; top: 50%; display: grid; gap: 16px; transform: translateY(-50%); }
.rb-side-rail a { display: grid; width: 36px; height: 36px; place-items: center; color: #7f9684; font-size: 17px; line-height: 1; }
.rb-side-rail a:hover { color: #cfe0cf; }
.rb-side-rail a::before {
  content: ""; width: 22px; height: 22px;
  background-color: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 21px 21px; mask-size: 21px 21px;
}
.rb-sr-cup::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 5H4v2a3 3 0 0 0 3 3M17 5h3v2a3 3 0 0 1-3 3'/%3E%3Cpath d='M12 14v3M8 20h8M10 20v-2.5M14 20v-2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 5H4v2a3 3 0 0 0 3 3M17 5h3v2a3 3 0 0 1-3 3'/%3E%3Cpath d='M12 14v3M8 20h8M10 20v-2.5M14 20v-2.5'/%3E%3C/svg%3E"); }
.rb-sr-fav::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20S3.5 15 3.5 9.2A4.2 4.2 0 0 1 12 7a4.2 4.2 0 0 1 8.5 2.2C20.5 15 12 20 12 20z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20S3.5 15 3.5 9.2A4.2 4.2 0 0 1 12 7a4.2 4.2 0 0 1 8.5 2.2C20.5 15 12 20 12 20z'/%3E%3C/svg%3E"); }
.rb-sr-tg::before { color: #2aabee; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 4L3 11l6 2 2 6 3-4 4 3z'/%3E%3Cpath d='M9 13l8-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 4L3 11l6 2 2 6 3-4 4 3z'/%3E%3Cpath d='M9 13l8-7'/%3E%3C/svg%3E"); }
.rb-sr-help::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.5a2.4 2.4 0 0 1 4.6.9c0 1.6-2.2 1.9-2.2 3.6'/%3E%3Ccircle cx='12' cy='17' r='.6' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.5a2.4 2.4 0 0 1 4.6.9c0 1.6-2.2 1.9-2.2 3.6'/%3E%3Ccircle cx='12' cy='17' r='.6' fill='black'/%3E%3C/svg%3E"); }
.rb-sr-chat::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-4 3v-3H4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-4 3v-3H4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E"); }
@media (max-width: 1200px) { .rb-side-rail { display: none; } }

/* Персонаж и кубок вылезают за границы баннера */
.rb-carousel { overflow: visible; }
.rb-slide { overflow: visible; border-radius: 15px; }
.rb-hero .rb-slide-bg { border-radius: 15px; }
.rb-hero .rb-slide-art { height: 126%; bottom: 0; z-index: 2; max-width: 56%; }
@media (max-width: 700px) { .rb-hero .rb-slide-art { height: 112%; max-width: 58%; } }

/* Мобильное нижнее меню с иконками */
@media (max-width: 900px) {
  .rb-tabs { padding: 0; }
  .rb-tabs a, .rb-tabs label { display: grid; gap: 2px; place-items: center; padding: 8px 2px; color: #cfe0cf; font-size: 10px; cursor: pointer; }
  .rb-tabs i { font-size: 19px; font-style: normal; line-height: 1; }
  .rb-tab-home.is-active { color: #46c94d; }
  .rb-side-rail { display: none; }
}

/* ============================================================
   НОВАЯ КОМПОНОВКА HERO (как на оригинале):
   слева — баннер-карусель + строка статистики;
   справа — Golden Rio Path на всю высоту левой колонки.
   ============================================================ */
.rb-hero { display: grid; grid-template-columns: minmax(0, 1fr) 352px; gap: 16px; align-items: stretch; }
.rb-hero-left { display: grid; grid-template-rows: auto auto; gap: 14px; min-width: 0; align-content: start; }
.rb-carousel { width: 100%; height: 300px; aspect-ratio: auto; margin: 0; }

/* Строка статистики — единая полупрозрачная плашка с 4 ячейками и тонкими разделителями (как в оригинале) */
.rb-app .rb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: auto; max-width: none; margin: 0; overflow: hidden; background: rgba(255, 255, 255, .04); border: 0; border-radius: 16px; }
.rb-app .rb-stats > div, .rb-app .rb-stats li { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; padding: 14px 18px; border: 0; border-right: 1px solid rgba(255, 255, 255, .055); border-radius: 0; background: transparent; }
.rb-app .rb-stats > div:last-child, .rb-app .rb-stats li:last-child { border-right: 0; }
.rb-stats > div > span { flex: 0 0 auto; font-size: 26px; line-height: 1; }
.rb-stats p { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rb-stats strong { font-size: 18px; line-height: 1.15; font-weight: 600; color: #fff; }
.rb-stats small, .rb-stats p { font-size: 14px; color: #a7a7a7; margin: 0; }

/* Golden Rio Path — правая колонка на всю высоту */
.rb-path { height: 100%; align-self: stretch; margin: 0; display: flex; flex-direction: column; }
.rb-path-head button { display: none; } /* без стрелок — как в оригинале, навигация через трек снизу */
.rb-path-items { flex: 1 1 auto; }

/* Кнопка «Пройти» на активной карточке */
.rb-path-items a .rb-path-go { margin-top: auto; align-self: stretch; padding: 7px 0; border-radius: 8px; background: #2fa043; color: #fff; font-style: normal; font-size: 13px; font-weight: 800; text-align: center; }
.rb-path-items a:first-child { display: flex; }

/* Нижний трек прогресса + значок справки */
.rb-path-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 4px; }
.rb-path-help { flex: 0 0 auto; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #243026; color: #cfe0cf; font-weight: 800; cursor: pointer; }
.rb-path-track { position: relative; flex: 1 1 auto; height: 6px; border-radius: 4px; background: #243026; }
.rb-path-track i { position: absolute; left: 0; top: 0; width: 24%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #d9b94e, #f4d777); }
.rb-path-track s { position: absolute; left: 24%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #f4d777; border: 3px solid #0f1b10; transform: translate(-50%, -50%); }

/* ============================================================
   ЛОГОТИП В ВЕРХНЕМ МЕНЮ — пропорции и размер как в оригинале
   ============================================================ */
.rb-logo { gap: 0; }
.rb-logo-img { height: 42px; width: auto; display: block; }

@media (max-width: 1040px) {
  .rb-hero { grid-template-columns: 1fr; }
  .rb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
