@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1b2431;
  --bg-2: #151c26;
  --green: #1a805e;
  --danger: #e7353c;
  --warning: #f5a000;
  --line: #313d4f;
  --muted: #7f8fa4;
  --surface: #222c3c;
  --hot: #f7d219;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html, body, button, input, select {
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-size: 14px;
}
body.theme-dark { background: var(--bg); color: #fff; }
html, body {
  scrollbar-width: thin;
  scrollbar-color: #313d4f transparent;
}
body.theme-dark ::-webkit-scrollbar { width: 5px; height: 5px; background: transparent; }
body.theme-dark ::-webkit-scrollbar-track { background: transparent; }
body.theme-dark ::-webkit-scrollbar-thumb { background: #313d4f; border-radius: 4px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.splash {
  position: fixed; inset: 0; z-index: 90;
  background: #1B2431 url("../img/logo.png") no-repeat center center;
  background-size: 200px auto;
  transition: opacity .45s ease;
}
.splash-loader { position: absolute; right: 18px; bottom: 18px; width: 72px; height: 72px; }
.splash.is-gone { opacity: 0; pointer-events: none; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
.app.is-booting { visibility: hidden; }
.app-page { flex: 1; padding-bottom: 0; }
body:has(.hb-sport) .app-page { flex: 0 0 auto; padding-bottom: 0; }

.hdr-desk {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  position: sticky; top: 0; z-index: 40;
  align-items: center; justify-content: space-between;
  height: 73px; padding: 0 16px; background: var(--green);
  overflow: visible;
}
.hdr-desk .brand img { width: 200px; height: 41px; object-fit: contain; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: 14px; flex: 1; padding: 0 10px; min-width: 0; overflow: visible; }
.top-right { flex: 0 0 auto; margin-left: auto; }
.nav-menu a {
  color: #fff; font-weight: 600; white-space: nowrap;
  position: relative; line-height: 73px;
}
.nav-menu a.is-on:after {
  content: ""; position: absolute; left: 0; right: 0;
  bottom: -4px; height: 5px; background: var(--hot);
}
.nav-menu .hot {
  color: #dfe3e8;
  font-size: 12px;
  font-weight: 600;
  line-height: 0;
  position: relative;
  top: -6px;
  vertical-align: baseline;
  margin-left: 0;
  background: #e7353c;
  padding: 2px;
  border-radius: 2px;
}
.top-right { display: flex; align-items: center; gap: 14px; }
.top-right > a { color: #fff; font-weight: 600; }
.btn-danger, .btn-warning {
  border: 0; height: 34px; padding: 7px 20px;
  font-size: 14px; font-weight: 600; color: #fff; border-radius: 2px;
}
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #e94349; }
.btn-warning { background: var(--warning); }
.btn-warning:hover { background: #ffa805; }

.hdr-mbl {
  display: none; position: sticky; top: 0; z-index: 40;
  align-items: center; height: 47px; background: var(--green); padding: 0 12px;
}
.menu-btn { border: 0; background: none; color: #e5e9ed; font-size: 22px; width: 36px; padding: 0; }
.brand-mbl { margin: 0 auto; }
.brand-mbl img { height: 36px; width: auto; }
.mbl-auth { display: flex; gap: 16px; font-weight: 600; font-size: 13px; }
.mbl-auth span { cursor: pointer; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-back { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.drawer-panel {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: min(300px, 86vw); background: #1b2431; padding: 0 0 16px; overflow: auto;
}
.drawer-brand {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 16px; background: #1a805e; margin-bottom: 8px;
}
.drawer-brand img { height: 28px; width: auto; }
.drawer-panel a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px; font-weight: 600; color: #dfe3e8;
}
.drawer-panel a i,
.drawer-panel a .di {
  font-family: beticon, sans-serif; font-style: normal; font-weight: 400;
  font-size: 20px; width: 22px; text-align: center; color: #26bf8c;
  display: inline-block; line-height: 1;
}
.drawer-panel a .di-sport:before { content: "\e8d0"; }
.drawer-panel a .di-live:before { content: "\e8c0"; }
.drawer-panel a .di-slot:before { content: "\e8bf"; }
.drawer-panel a .di-casino:before { content: "\e8a9"; }
.drawer-panel a .di-virt:before { content: "\e8ba"; }
.drawer-panel a .di-games:before { content: "\e8a7"; }
.drawer-panel a .di-bingo:before { content: "\e8af"; }
.drawer-panel a .di-promo:before { content: "\e897"; }
.drawer-panel a .di-aviator:before { content: "\f135"; }
.drawer-panel a svg {
  width: 20px; height: 20px; flex: 0 0 20px; color: #26bf8c;
}
.drawer-panel a:hover { background: #273142; color: #fff; }
.drawer-panel a.is-on { color: #fff; background: #222c3c; }
.drawer-out {
  display: block;
  width: calc(100% - 16px);
  margin: 12px 8px 8px;
  padding: 12px 14px;
  border: 0;
  border-radius: 6px;
  background: #222c3c;
  color: #ff8a90;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: 58px; background: #151c26; border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr 72px 1fr 1fr;
  align-items: center; text-align: center; font-size: 11px; font-weight: 600;
}
.tab-mid {
  width: 64px; height: 64px; margin: -18px auto 0; border-radius: 50%;
  background: #151c26; border: 3px solid #1b2431;
  display: grid; place-items: center; line-height: 1.15; font-size: 10px;
}

.hero-slider { position: relative; background: #0f161c; overflow: hidden; cursor: auto; user-select: none; }
.hero-slider.is-drag { cursor: auto; }
.hero-nav { display: none !important; }
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }
.hero-nav:before {
  content: ""; display: block; width: 10px; height: 10px; margin: 13px auto 0;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.hero-nav.prev:before { transform: rotate(-135deg); margin-left: 14px; }
.hero-nav.next:before { transform: rotate(45deg); margin-left: 10px; }
.hero-track {
  display: flex;
  height: 100%;
  transition: transform .52s ease;
}
.hero-track img,
.hero-slider img {
  width: 100%; height: 100%; object-fit: fill; object-position: center center;
  flex: 0 0 100%;
  display: block;
}
.hero-slider.is-home { height: calc(100vw * 532 / 1440); }
.hero-slider.is-slot,
.hero-slider.is-live { height: calc(100vw * 357 / 1920); }
.hero-slider.is-sport { height: 270px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 6px;
}
.hero-dots i { width: 8px; height: 8px; border-radius: 50%; background: #fff6; }
.hero-dots i.on { background: var(--green); }
@keyframes fadeSlide { from { opacity: .35; } to { opacity: 1; } }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

.home-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 1320px; margin: -36px auto 28px; padding: 0 24px; position: relative; z-index: 2;
}
.home-tile {
  background: linear-gradient(180deg, #243044, #1b2431);
  border: 1px solid var(--line); min-height: 88px; padding: 16px 14px;
  transition: transform .2s ease, border-color .2s ease;
}
.home-tile:hover { transform: translateY(-3px); border-color: var(--green); }
.home-tile b { display: block; font-size: 15px; margin-bottom: 6px; }
.home-tile span { color: var(--muted); font-size: 12px; line-height: 1.35; }

.sec { padding: 28px 0 8px; }
.sec h1 { margin: 0 0 6px; font-size: 32px; font-weight: 600; }
.sec h1.hr { padding-bottom: 20px; }
.sec .sub { margin: 0 0 18px; font-size: 20px; font-weight: 400; color: #fff; }
.sec .sub.muted { color: var(--muted); font-weight: 600; }

.pop-track { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pop-card {
  background: #222c3c; border: 1px solid var(--line); padding: 18px 16px 14px;
  min-height: 168px;
}
.pop-teams {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  text-align: center; margin-bottom: 16px; min-height: 72px;
}
.pop-teams b { font-size: 14px; }
.pop-meta { color: var(--muted); font-size: 12px; }
.pop-odds { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.pop-odds .odd { height: 36px; }

.subbar {
  display: flex; align-items: center; gap: 18px;
  height: 36px; background: #151c26; padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.subbar a { font-weight: 600; color: #dfe3e9; position: relative; line-height: 36px; }
.subbar a.is-on { color: #fff; }
.subbar a.is-on:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--hot);
}
.subbar .search {
  height: 28px; border: 0; background: transparent; color: #fff;
  width: 140px; padding-left: 22px;
}
.cas-sub { justify-content: flex-start; gap: 22px; }
.cas-sub .right { margin-left: auto; display: flex; gap: 16px; color: var(--muted); font-size: 13px; }

.sport-layout { display: grid; grid-template-columns: 248px 1fr; min-height: 70vh; }
.sport-side { background: #151c26; border-right: 1px solid var(--line); padding: 14px 0 24px; }
.side-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; font-weight: 600; color: #dfe3e9;
}
.side-h small { color: var(--muted); }
.sport-side a, .sport-side button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; color: #d9dde4; padding: 8px 16px; font-weight: 600;
}
.sport-side a:hover, .sport-side button:hover { background: #1f2836; }
.fav-empty { padding: 8px 16px 16px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.toggle { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; color: #dfe3e9; }
.knob { width: 34px; height: 18px; border-radius: 99px; background: #313d4f; position: relative; }
.knob:after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; position: absolute; top: 2px; left: 2px; }
.sport-main { padding: 0 0 24px; }
.league-bar {
  background: #2c3749; padding: 8px 14px; font-weight: 700;
  display: flex; justify-content: space-between;
}
.event-row {
  display: grid; grid-template-columns: 86px 1fr 70px 70px 70px;
  gap: 8px; align-items: center; background: #222c3c;
  border-bottom: 1px solid var(--line); padding: 10px 14px;
}
.odd {
  height: 34px; display: grid; place-items: center;
  background: #1b2431; border: 1px solid #354052; color: #39b54a; font-weight: 700;
  transition: background .15s ease;
}
.odd:hover { background: #243044; }
.when { color: var(--muted); font-size: 12px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e7353c; margin-right: 5px; }
.score { color: var(--hot); font-weight: 700; margin-right: 6px; }

.casino-tools {
  max-width: 1600px; margin: 0 auto; padding: 14px 16px 8px;
  display: grid; grid-template-columns: 220px 180px 180px auto; gap: 8px; align-items: center;
}
.field, .sel {
  height: 34px; background: #222c3c; border: 1px solid var(--line);
  color: #fff; padding: 0 12px 0 34px; width: 100%; border-radius: 4px;
}
.field { background: #222c3c url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237f8fa4' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3-3'/></svg>") no-repeat 12px center; }
.field::placeholder { color: #7f8fa480; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 16px 12px; max-width: 1600px; margin: 0 auto; }
.chip {
  height: 30px; padding: 0 12px; border: 1px solid var(--line);
  background: #273142; color: #dfe3e9; font-weight: 600; border-radius: 2px;
}
.chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }

.rail { padding: 10px 16px 22px; max-width: 1600px; margin: 0 auto; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.rail-head h3 { margin: 0; font-size: 18px; }
.rail-head small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.rail-head .all { color: #fff; font-weight: 600; cursor: pointer; }
.rail-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 200px 200px;
  grid-auto-columns: 212px;
  gap: 15px 22px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.rail-grid.one { grid-template-rows: 200px; }
.gcard {
  width: 212px; height: 200px; position: relative; overflow: hidden;
  background: #151c26; cursor: pointer;
}
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s ease, transform .25s ease; }
.gcard .prov {
  position: absolute; left: 0; right: 0; top: 0; padding: 6px 8px;
  font-size: 11px; font-weight: 700; background: linear-gradient(#0009, transparent);
}
.gcard .play {
  opacity: 0; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-weight: 700; letter-spacing: .3px;
  background: rgba(0,0,0,.45);
  transition: opacity .2s ease;
}
.gcard:hover .play { opacity: 1; }
.gcard:hover img { filter: brightness(.55); transform: scale(1.04); }
.gcard.wide { width: 202px; height: 160px; }
.rail-grid.liveg {
  grid-template-rows: 160px;
  grid-auto-columns: 202px;
}

.promo-hero { padding: 42px 16px 8px; max-width: 1320px; margin: 0 auto; }
.promo-hero h1 { margin: 0 0 8px; font-size: 32px; font-weight: 600; padding-bottom: 20px; }
.promo-hero p { margin: 0 0 18px; color: var(--muted); font-size: 20px; }
.promo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 0 16px 32px; max-width: 1320px; margin: 0 auto;
}
.promo-card { background: #273142; border: 1px solid var(--line); overflow: hidden; }
.promo-card .art { height: 178px; overflow: hidden; }
.promo-card .art img { width: 100%; height: 178px; object-fit: cover; }
.promo-card .body { padding: 12px 14px 16px; }
.promo-card .cat { color: var(--hot); font-size: 11px; font-weight: 700; }
.promo-card h3 { margin: 6px 0; font-size: 15px; }
.promo-card p { color: var(--muted); font-size: 13px; }
.promo-card .more {
  color: #fff; font-weight: 600; font-size: 12px;
  background: #1a805e; padding: 7px 12px; border-radius: 2px;
  white-space: nowrap;
}

.virt { display: grid; grid-template-columns: 260px 1fr; min-height: 60vh; }
.virt-side { background: #151c26; padding: 16px 0; border-right: 1px solid var(--line); }
.virt-side h3 { margin: 0 16px 10px; font-size: 15px; }
.virt-side a { display: block; padding: 9px 16px; color: #d9dde4; font-weight: 600; }
.virt-side a:hover, .virt-side a.is-on { background: #1f2836; }
.virt-main { padding: 24px; }
.virt-main h1 { margin: 0 0 12px; font-size: 22px; }

.game-stage { min-height: 60vh; display: grid; place-items: center; padding: 32px 16px; }
.stage-box { text-align: center; }
.stage-box img { width: 212px; height: 200px; object-fit: cover; margin: 0 auto 14px; }

.app-footer {
  background: #151c26; border-top: 1px solid var(--line);
  padding: 36px 71px 40px; color: #b2bcc8; font-size: 13px; text-align: center;
}
body:has(.hb-sport) .app-footer {
  position: relative;
  z-index: 5;
  clear: both;
}
body:has(.hb-sport) .hb-main > .app-footer {
  margin-top: 40px;
}
.foot-center { max-width: 1100px; margin: 0 auto; }
.foot-brand { display: flex; justify-content: center; margin-bottom: 16px; }
.foot-brand img { height: 25px; width: auto; }
.foot-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  max-width: 980px; margin: 0 auto 18px;
}
.foot-links a { color: #b2bcc8; }
.foot-legal, .foot-note, .foot-copy {
  max-width: 920px; margin: 0 auto 16px; color: #7f8fa4; font-size: 12px; line-height: 1.55;
}
.pay-row { display: flex; justify-content: center; margin: 8px 0 18px; }
.pay-row img { height: 71px; width: auto; max-width: 100%; }
.foot-seals {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 18px; margin: 18px 0;
}
.foot-seals img { width: auto; object-fit: contain; }
.foot-liga { margin: 8px auto 16px; width: 476px; max-width: 100%; height: 37px; object-fit: contain; display: block; }
.foot-copy { margin-bottom: 0; }

.modal-back {
  position: fixed; inset: 0; z-index: 99999999;
  background: rgba(0,0,0,.55);
  animation: fadeIn .2s ease;
}
.login-panel {
  position: absolute; inset: 0;
  width: auto; max-width: none;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  animation: zoomIn .28s ease;
}
.login-card,
.nsm-dialog.login-modal {
  position: relative;
  margin: 0;
  width: 400px; max-width: calc(100% - 48px);
  background: #1b2431;
  border: 1px solid #313d4f;
  border-radius: 4px;
  padding: 14px;
  overflow: auto;
  color: #7f8fa4;
  box-shadow: 0 7px 8px -4px #0003, 0 13px 19px 2px #00000024, 0 5px 24px 4px #0000001f;
}
.login-card .logo { display: block; width: 200px; height: 41px; margin: 22px auto 18px; object-fit: contain; }
.login-captcha { margin: 2px 0 14px; }
.rc-box {
  width: 304px;
  max-width: 100%;
  height: 78px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  box-shadow: 0 0 4px 1px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 72px;
  align-items: center;
  cursor: pointer;
  user-select: none;
  color: #000;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}
.rc-check {
  width: 28px;
  height: 28px;
  margin-left: 14px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  position: relative;
}
.rc-box.is-load .rc-check {
  border-color: transparent;
  background: transparent;
}
.rc-box.is-load .rc-check:after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 3px solid #4285f4;
  border-right-color: transparent;
  border-radius: 50%;
  animation: rc-spin .65s linear infinite;
}
.rc-box.is-ok .rc-check {
  border-color: transparent;
  background: transparent;
}
.rc-box.is-ok .rc-check:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 8px;
  height: 16px;
  border: solid #009e45;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  animation: none;
}
.rc-label {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  padding-left: 2px;
}
.rc-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px 8px 4px 0;
}
.rc-brand img { width: 32px; height: 32px; object-fit: contain; }
.rc-brand b {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #555;
  letter-spacing: .2px;
  line-height: 1.1;
  margin-top: 1px;
}
.rc-brand small {
  font-size: 8px;
  color: #555;
  line-height: 1.15;
}
@keyframes rc-spin { to { transform: rotate(360deg); } }
.login-copy { text-align: center; margin: 12px 0 18px; color: #dfe3e8; }
.login-copy .small { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #7f8fa4; }
.login-copy .mid { font-size: 15px; font-weight: 600; color: #dfe3e8; }
.fld-ico { position: relative; margin-bottom: 12px; }
.fld-ico input {
  width: 100%; height: 34px;
  border: 1px solid #313d4f; background: #222c3c; color: #fff;
  border-radius: 4px; padding: 0 36px 0 35px;
}
.fld-ico .ico {
  position: absolute; left: 10px; top: 8px; width: 16px; height: 16px;
  opacity: .7; pointer-events: none;
}
.fld-ico .eye {
  position: absolute; right: 8px; top: 7px; width: 20px; height: 20px;
  opacity: .7; cursor: pointer; background: none; border: 0; padding: 0; color: #7f8fa4;
  display: grid; place-items: center;
}
.fld-ico .eye svg { width: 16px; height: 16px; fill: none; stroke: #7f8fa4; stroke-width: 1.8; }
.login-switch { text-align: center; margin: 14px 0; color: #dfe3e9; font-size: 13px; }
.login-switch button { background: none; border: 0; color: #39b54a; font-weight: 600; cursor: pointer; padding: 0; }
.login-err {
  display: none;
  margin: 0 0 12px;
  padding: 9px 10px;
  background: #3a1c22;
  border: 1px solid #e7353c;
  color: #ff8a90;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
}
.login-err.is-on { display: block; }
.sms-copy { text-align: center; margin: 8px 12px 18px; font-size: 13px; line-height: 1.45; color: #7f8fa4; }
.sms-again { text-align: center; margin: 10px 0 4px; cursor: pointer; font-size: 13px; }
.sms-again:hover { color: #fff; }
.btn-login,
.btn-primary.btn-large {
  width: 100%; height: 45px; border: 0; border-radius: 4px;
  background: #313d4f; color: #7f8fa4; font-weight: 600; font-size: 14px;
  padding: 8px 20px; cursor: default;
}
.btn-login.is-on,
.btn-primary.btn-large:not(:disabled) { background: #1a805e; color: #fff; cursor: pointer; }
.btn-primary.btn-large:not(:disabled):hover { background: #1d8d67; }
.login-extra { text-align: center; margin: 14px 0 8px; cursor: pointer; }
.login-extra:hover { color: #fff; }
.form-hr { border: 0; border-top: 1px solid #313d4f; margin: 14px 0; }
.live-chat { text-align: center; cursor: pointer; }
.live-chat:hover { color: #fff; }
.nsm-close,
.nsm-dialog-btn-close {
  position: absolute; top: 12px; right: 12px;
  width: 16px; height: 16px; border: 0; background: transparent; color: #fff;
  padding: 0; min-width: auto; font-size: 12px; line-height: 16px; cursor: pointer;
}
@keyframes zoomIn {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hb-fab-wrap {
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 48;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.hb-fab {
  position: relative;
  width: 48px;
  height: 48px;
  border: 2px solid #b8ffe3;
  border-radius: 50%;
  background: #1a805e;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(184, 255, 227, .45), 0 3px 10px rgba(0, 0, 0, .35);
  cursor: pointer;
  padding: 0;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}
.hb-fab-wrap.is-open .hb-fab { transform: scale(1.2); }
.hb-fab-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0;
  transform: scale(.4) translateY(18px);
  pointer-events: none;
  transition: opacity .2s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.hb-fab-wrap.is-open .hb-fab-item {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hb-fab-wrap.is-open .hb-fab-item:nth-child(3) { transition-delay: .02s; }
.hb-fab-wrap.is-open .hb-fab-item:nth-child(2) { transition-delay: .07s; }
.hb-fab-wrap.is-open .hb-fab-item:nth-child(1) { transition-delay: .12s; }
.hb-fab-tip {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: #273142;
  color: #dfe3e9;
  border: 1px solid #313d4f;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.hb-fab-mini {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #1a805e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.hb-fab-mini.is-light {
  background: #f4f6f8;
  color: #1b2431;
}
.hb-fab-mini.is-plus {
  background: #1a805e;
  color: #fff;
  font-size: 26px;
  border: 2px solid #b8ffe3;
}
.hb-fab-mini svg { display: block; }
.hb-navload {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  background: rgba(113, 159, 176, 0.22);
  pointer-events: none;
}
.hb-navload.is-on { display: grid; }
.hb-navload .sk { display: flex; gap: 8px; }
.hb-navload .sk i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #26bf8c;
  animation: hb-bounce 1.2s infinite ease-in-out both;
}
.hb-navload .sk i:nth-child(1) { animation-delay: -0.24s; }
.hb-navload .sk i:nth-child(2) { animation-delay: -0.12s; }
@keyframes hb-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
.hb-chat[hidden] { display: none !important; }
.hb-chat:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 70;
}
.hb-chat-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 28, .35);
  animation: hb-chat-scrim .22s ease;
}
.hb-chat-panel {
  position: absolute;
  right: 16px;
  bottom: 86px;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 120px));
  background: #fff;
  border: 0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .42);
  transform-origin: bottom right;
}
.hb-chat-h {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 12px 0 14px;
  background: #1a805e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 0;
}
.hb-chat-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b8ffe3;
  box-shadow: 0 0 0 4px rgba(184, 255, 227, .25);
  flex: 0 0 10px;
}
.hb-chat-h-meta { flex: 1; min-width: 0; line-height: 1.2; }
.hb-chat-h-meta strong { display: block; font-size: 15px; font-weight: 700; }
.hb-chat-h-meta small { display: block; font-size: 11px; font-weight: 600; opacity: .85; }
.hb-chat-h button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}
.hb-chat-body {
  flex: 1;
  min-height: 0;
  background: #eef2f6;
  padding: 16px;
}
.hb-chat-bubble {
  max-width: 86%;
  background: #fff;
  color: #1b2431;
  border-radius: 4px 12px 12px 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(27, 36, 49, .08);
}
.hb-chat-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #e5e9ed;
}
.hb-chat-compose input {
  flex: 1;
  height: 38px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  color: #1b2431;
  background: #fff;
}
.hb-chat-compose button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #1a805e;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
body.hb-tawk-open iframe[title*="chat widget"].hb-tawk-visible {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2147483646 !important;
}
.hb-chat-panel.is-pop {
  animation: hb-chat-in .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes hb-chat-in {
  from { opacity: 0; transform: scale(.28) translate(20px, 28px); }
  to { opacity: 1; transform: none; }
}
@keyframes hb-chat-scrim { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1200px) {
  .hdr-desk { display: grid; }
  .hdr-mbl, .tabbar { display: none !important; }
  .hb-fab-wrap { right: 50px; bottom: 50px; }
  .app-page { padding-bottom: 0; }
  .app-footer { padding-bottom: 24px; }
  .hero-slider.is-home { height: calc(100vw * 532 / 1440); }
  .hero-slider img,
  .hero-slider.is-home img {
    object-fit: fill;
    object-position: center center;
  }
}
@media (max-width: 1199px) {
  .hdr-desk { display: none !important; }
  .hdr-mbl { display: flex; }
  .tabbar { display: grid; }
  .app-page { padding-bottom: 72px; }
  .home-tiles, .pop-track, .promo-grid, .foot-grid, .sport-layout, .virt { grid-template-columns: 1fr; }
  .casino-tools { grid-template-columns: 1fr 1fr; }
  .gcard { width: 160px; height: 150px; }
  .rail-grid { grid-auto-columns: 160px; grid-template-rows: 150px 150px; gap: 10px; }
  .hero-slider,
  .hero-slider.is-home,
  .hero-slider.is-slot,
  .hero-slider.is-live,
  .hero-slider.is-sport {
    height: 279px;
  }
  .hero-slider img {
    height: 279px;
    object-fit: fill;
    object-position: center center;
  }
  .login-panel {
    left: 0; right: 0; width: 100%;
    justify-content: center; align-items: center;
  }
  .login-card { margin: 12px; width: auto; }
  .rc-box { width: 100%; }
  .nav-menu { display: none; }
  .sec h1, .promo-hero h1 { font-size: 24px; }
  .sec .sub, .promo-hero p { font-size: 16px; }
}
