:root {
  color-scheme: dark;
  --bg-page: #0b1813;
  --bg-surface: #172b21;
  --bg-header: #10241c;
  --bg-header-hover: #1a3c2c;
  --bg-drawer: #142b21;
  --bg-toolbar: #10241c;
  --brand: #c6a76b;
  --brand-mid: #173629;
  --brand-line: #355844;
  --divider-drawer: #355844;
  --text-title: #f2e7ce;
  --text-body: #d4e1d7;
  --text-muted: #b0c5b4;
  --text-white: #f6efdf;
  --bb-border: #355442;
  --bb-gold: #e9c77d;
  --bb-mint: #aadeb9;
}
body.bb-page { background: var(--bg-page); color: var(--text-body); }
.bb-page .main { min-height: 55vh; }
.bb-page .head-bar__bar { background: #10241c; border-bottom: 1px solid var(--bb-border); }
.bb-page .head-bar__content { max-width: 1420px; margin: 0 auto; min-height: 66px; gap: 16px; }
.bb-page .head-bar__left { display: flex; flex: none; }
.bb-page .bb-toggle { display: grid; place-items: center; color: var(--text-white); font-size: 21px; width: 36px; height: 40px; }
.bb-page .bb-brand { display: inline-flex; align-items: center; position: static; transform: none; gap: 9px; color: var(--text-white); flex: 0 0 auto; min-width: 0; width: auto; height: auto; font-size: clamp(20px, 3vw, 29px); font-weight: 750; letter-spacing: -.065em; }
.bb-brand img { display:block; width: 38px; height: 38px; object-fit: contain; }
.bb-brand span span, .bb-footer-brand span { color: var(--bb-gold); }
.bb-page .head-bar__nav { flex: 1 1 auto; min-width: 0; }
.bb-page .head-bar__links { gap: clamp(4px, 1vw, 16px); justify-content: center; }
.bb-page .head-bar__link { font-size: 14px; color: var(--text-body); white-space: nowrap; }
.bb-page a[aria-current=page] { color: var(--bb-gold); }
.bb-header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.bb-languages { display: inline-flex; border: 1px solid var(--bb-border); border-radius: 9px; padding: 3px; gap: 2px; }
.bb-languages a { padding: 6px 7px; color: var(--text-muted); font-size: 12px; border-radius: 6px; }
.bb-languages a[aria-current=true] { background: #315442; color: #f8e5b7; }
.bb-page .bb-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #e2bd70; min-height: 42px; padding: 9px 16px; border: 1px solid #eccf94; color: #11251c; box-shadow: none; text-shadow: none; width: max-content; max-width: 100%; }
.bb-page .bb-btn:hover { background: #f4d88f; color: #11251c; }
.bb-page .bb-btn .sp-btn__title { color: inherit; text-shadow: none; font-size: 14px; white-space: normal; text-align: center; }
.bb-page .bb-drawer { color: var(--text-white); background: #142b21; }
.bb-drawer > strong { display:block; font-size: 24px; margin: 14px 0; }
.bb-drawer-links { display: grid; margin: 20px 0; }
.bb-drawer-links > a { padding: 11px 5px; border-bottom: 1px solid var(--bb-border); }
.bb-page .bb-close { color: var(--text-white); font-size: 25px; }
.bb-hero, .bb-promo, .bb-shortcuts, .bb-game-grid { position: relative; width: min(100% - 48px, 1240px); margin: 24px auto; padding: 0; }
.bb-page .bb-track { display: flex; gap: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bb-page .bb-track > div { flex: 0 0 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; scroll-snap-align: start; }
.bb-page .bb-hero-frame { display: grid; min-height: clamp(340px, 37vw, 510px); isolation: isolate; overflow: hidden; position: relative; border-radius: 19px; border: 1px solid var(--bb-border); background: #10251b; }
.bb-hero-art { width: 100%; height: 100%; inset: 0; position: absolute; object-fit: cover; object-position: 65% center; z-index: -2; }
.bb-hero-slide:not(:first-child) .bb-hero-art { width: 57%; left: auto; object-fit: contain; object-position: right center; }
.bb-hero-frame::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #10241cf5 0%, #10241ce5 24%, #10241c78 55%, transparent 78%); }
.bb-hero-copy { align-self: center; padding: 38px clamp(40px, 6vw, 84px); max-width: min(100%, 650px); }
.bb-kicker { color: var(--bb-gold); font-size: clamp(14px, 1.7vw, 18px); font-weight: 650; }
.bb-hero-text { margin: 9px 0 13px; max-width: 14ch; color: var(--text-title); font-size: clamp(32px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -.045em; font-weight: 780; text-wrap: balance; }
.bb-hero-note { max-width: 38ch; margin: 0 0 20px; color: var(--text-body); }
.bb-hero-note:empty { display: none; }
.bb-hero-text + p:empty + a { margin-top: 10px; }
.bb-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); background: #10241cea; border: 1px solid #7a8260; border-radius: 50%; width: 35px; height: 35px; display: grid; place-items: center; color: var(--text-white); font-size: 25px; line-height: 1; }
.bb-prev { left: 10px; } .bb-next { right: 10px; }
.bb-shortcuts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.bb-shortcut { display: flex; align-items: center; min-width: 0; min-height: 62px; gap: 10px; padding: 6px 10px; border: 1px solid var(--bb-border); border-radius: 10px; background: #152b20; color: var(--text-title); font-size: 14px; }
.bb-shortcut img { width: 56px; height: 48px; border-radius: 6px; object-fit: cover; }
.bb-promo .bb-promo-card { display: grid; align-items: center; isolation: isolate; min-height: 228px; height: auto; padding: 20px 52px; overflow: hidden; position: relative; color: var(--text-body); background: #142d22; border: 1px solid var(--bb-border); border-radius: 16px; }
.bb-promo-card > img { position: absolute; inset: 0 0 0 auto; width: 55%; height: 100%; object-fit: contain; z-index: -2; object-position: right center; }
.bb-promo-card::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#142d22 36%,#142d2255 65%,transparent); }
.bb-promo-copy { max-width: 65%; }
.bb-promo-copy p { margin-bottom: 11px; }
.bb-promo-title { color: var(--text-title); font-size: clamp(23px, 3vw, 37px); font-weight: 730; line-height: 1.1; }
.bb-game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.bb-game-card { display: grid; background: #172e23; border: 1px solid var(--bb-border); border-radius: 12px; overflow: hidden; color: var(--text-title); }
.bb-game-card img { width:100%; aspect-ratio: 2.25; object-fit: cover; object-position: center 45%; }
.bb-game-card div { display:grid; gap:5px; padding:13px 15px; }
.bb-game-card p { font-size: 13px; color: var(--text-muted); }
.bb-page .bb-article-shell { background: none; padding: 0; margin: 32px auto 48px; }
.bb-article { width: min(100% - 40px, 980px); margin-inline: auto; padding: clamp(17px, 4vw, 38px); border:1px solid var(--bb-border); border-radius: 16px; background: #14271e; min-width:0; }
.bb-article h1 { color: var(--text-title); font-weight: 760; font-size: clamp(30px, 4.6vw, 49px); line-height:1.09; letter-spacing:-.035em; margin: 0 0 23px; }
.bb-crumb { display: flex; flex-wrap: wrap; font-size:13px; gap:10px; color:var(--text-muted); margin-bottom: 15px; }
.bb-crumb a, .bb-editorial p a { color:var(--bb-mint); text-decoration:underline; text-underline-offset:3px; }
.bb-editorial { color: var(--text-body); line-height:1.7; overflow-wrap: break-word; }
.bb-editorial > :is(p, ul, ol, figure, .bb-table, .bb-illustration, .bb-inline-promo) { margin: 0 0 16px; }
.bb-editorial :is(ul,ol) { padding-inline-start: 25px; }
.bb-editorial :is(ul,ol) li { list-style:revert; }
.bb-editorial h2 { color: var(--text-title); font-size:clamp(23px,3.6vw,30px); line-height:1.22; font-weight:690; margin: 32px 0 13px; letter-spacing:-.018em; }
.bb-editorial h3 { color: var(--text-title); font-weight:650; margin: 22px 0 9px; font-size:20px; }
.bb-table { width:100%; overflow-x:auto; border:1px solid var(--bb-border); border-radius:9px; }
.bb-table table { width:100%; min-width:510px; line-height:1.4; }
.bb-table tr:nth-child(even) { background:#1c3528; }
.bb-table th, .bb-table td { text-align:left; padding:10px 12px; border-bottom:1px solid #345343; }
.bb-table th { background:#254a37; color:var(--text-title); }
.bb-table tr:last-child td { border-bottom:0; }
.bb-illustration { display:block; width:100%; height:auto; background:#10241c; border-radius:12px; }
.bb-article-cta { display:flex; margin:-6px 0 23px; }
.bb-faq { margin:8px 0; border-radius:8px; border:1px solid var(--bb-border); background:#1a3327; }
.bb-faq summary { cursor:pointer; padding:11px 14px; color:var(--text-title); font-weight:620; }
.bb-faq-answer { padding:1px 14px 12px; }
.bb-mock, .bb-inline-promo { width:100%; padding:clamp(12px,3vw,22px); background:#172F23; border:1px solid var(--bb-border); border-radius:12px; }
.bb-mock-frame { padding:clamp(12px,4vw,32px); background:#0d2219; border:1px solid var(--bb-border); border-radius:10px; }
.bb-mock-bar, .bb-mock-fields, .bb-mock-action { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:6px 0; }
.bb-mock-bar strong { color:var(--bb-gold); margin-right:8px; }
.bb-mock-fields span { border:1px solid #476550; padding:10px 12px; min-width: min(38%,140px); border-radius:7px; }
.bb-mock-action b { color:#fa7971; font-size:27px; }
.bb-mock-action span { background:#325b44; padding:4px 12px; border-radius:7px; }
.bb-mock figcaption { font-size:13px; margin-top:10px; color:var(--text-muted); }
.bb-inline-promo { display:grid; grid-template-columns:minmax(0,1fr) minmax(90px,30%); gap:14px; align-items:center; }
.bb-inline-promo strong { font-size:20px; color:var(--text-title); }
.bb-inline-promo p { margin-bottom:10px; }
.bb-inline-promo img { width:100%; border-radius:10px; }
.bb-error { display:grid; gap:18px; }
.bb-error img { width: min(100%,360px); border-radius:10px; }
.bb-page .bb-footer { background:#10241c; color:var(--text-body); border-top:1px solid var(--bb-border); }
.bb-page .bb-footer .f-out__shell { display:block; width:min(100% - 40px, 980px); margin:auto; padding:24px 0; }
.bb-footer-head, .bb-trust { display:flex; flex-wrap:wrap; align-items:center; gap:15px; }
.bb-footer-head { justify-content:space-between; }
.bb-footer-brand { color:var(--text-white); letter-spacing:-.045em; font-size:26px; }
.bb-footer-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:20px 0; }
.bb-footer-grid nav { display:flex; gap:10px 16px; flex-wrap:wrap; }
.bb-footer-link, .bb-trust { font-size:14px; }
.bb-trust { border-top:1px solid var(--bb-border); padding-top:14px; color:var(--bb-mint); }
.bb-mobile { display:none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline:2px solid #f6d88b; outline-offset:3px; }
@media(max-width:940px) {
  .bb-page .head-bar__nav { display:none; }
}
@media(max-width:700px) {
  .bb-page .head-bar__content { min-height:57px; padding-inline:12px; gap:9px; }
  .bb-brand img { width:28px; height:28px; }
  .bb-header-actions > .bb-btn { display:none; }
  .bb-hero, .bb-promo, .bb-shortcuts, .bb-game-grid { width:calc(100% - 24px); margin:13px auto; }
  .bb-page .bb-hero-frame { min-height:0; }
  .bb-hero-frame::after { background:linear-gradient(0deg,#10241c 42%,transparent 94%); }
  .bb-hero-art, .bb-hero-slide:not(:first-child) .bb-hero-art { position: relative; left:auto; width:100%; height:clamp(130px,42vw,210px); object-fit:contain; object-position:center; }
  .bb-hero-copy { padding: 2px 42px 23px; }
  .bb-hero-text { max-width: 18ch; font-size: clamp(27px,7.5vw,43px); }
  .bb-hero-note { font-size:14px; margin-bottom:12px; }
  .bb-arrow { width:27px; height:29px; font-size:20px; } .bb-prev{left:6px} .bb-next{right:6px}
  .bb-shortcuts { display:flex; overflow-x:auto; gap:8px; padding-bottom:4px; }
  .bb-shortcut { flex:0 0 auto; min-height:45px; gap:7px; padding:4px 9px; font-size:13px; }
  .bb-shortcut img { width:32px;height:31px; }
  .bb-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .bb-promo .bb-promo-card { min-height:185px; padding:16px 38px; }
  .bb-promo-copy { max-width:75%; } .bb-promo-copy p { font-size:14px; } .bb-promo-copy .bb-promo-title { font-size:24px; }
  .bb-promo-card::after { background:linear-gradient(90deg,#142d22 33%,#142d2299 70%,transparent); }
  .bb-article { width:calc(100% - 24px); }
  .bb-inline-promo { grid-template-columns:minmax(0,1fr) minmax(62px,24%); gap:8px; }
  .bb-footer-grid { grid-template-columns:1fr; }
  body.bb-page { padding-bottom:calc(62px + env(safe-area-inset-bottom)); }
  .bb-mobile { display:grid; position:fixed; inset:auto 0 0; padding:5px 7px calc(5px + env(safe-area-inset-bottom)); z-index:5000; grid-template-columns:repeat(3,minmax(0,1fr)); background:#10241c; border-top:1px solid var(--bb-border); }
  .bb-mobile > * { display:grid; place-items:center; gap:2px; min-height:47px; font-size:12px; text-align:center; color:var(--text-white); }
  .bb-mobile span { font-size:17px; color:var(--bb-gold); }
}
.bb-hero-art { object-fit: contain; object-position: right center; }
.bb-game-card img { object-fit: contain; background: #10241c; }
@media(max-width:700px) {
  .bb-hero-slide:first-child .bb-hero-art { content:url('/assets/image/site/home-mobile.webp'); }
}
.bb-lobby { width:min(100% - 48px,1240px); margin:28px auto; padding:0; }
.bb-lobby h2 { font-size:clamp(22px,3vw,30px); font-weight:700; color:var(--text-title); }
.bb-lobby .bb-game-grid { width:100%; margin:12px 0; }
.bb-categories { display:flex; flex-wrap:wrap; gap:8px; }
.bb-categories a { padding:7px 11px; border:1px solid var(--bb-border); border-radius:8px; color:var(--text-body); }
@media(max-width:700px) { .bb-lobby { width:calc(100% - 24px); } }
.bb-page .bb-hero-slide .bb-hero-art { object-position: right center; }
@media(max-width:700px) {
  .bb-page .bb-hero-slide .bb-hero-art { object-position: center; }
  .bb-page .bb-drawer { padding-top: 23px; }
}
body.bb-page { --header-height: 66px; }
@media(max-width:700px) { body.bb-page { --header-height: 57px; } }

/* Original lobby shelves, live cards, spotlight banners and catalogue grid. */
.bb-template-lobby > .container {
  width: min(100% - 48px, 1240px);
  padding-inline: 0;
  margin: 24px auto;
}
.bb-template-lobby .shelf__title, .bb-template-lobby .allg__title,
.bb-template-lobby .wins__title, .bb-template-lobby .live__title {
  color: var(--text-title);
}
.bb-template-lobby :is(.gcard,.jcard) { background-color: #18382a; }
.bb-template-lobby :is(.gcard,.jcard)::after { box-shadow: inset 0 0 0 1px #cedac842; }
.bb-template-lobby .gcard__tag { background: #236442; color: #f4ead0; }
.bb-template-lobby .gcard__tag--live { background: #94423b; }
.bb-template-lobby .sp-btn--secondary { background: #e2bd70; box-shadow: none; }
.bb-template-lobby .sp-btn--secondary > span { color: #11251c; text-shadow: none; }
.bb-card-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 14px 6px 6px;
  color: #fff9e9;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 550;
  background: linear-gradient(transparent, #0b1514ed 39%);
  overflow-wrap: anywhere;
}
.bb-template-lobby :is(.gcard,.jcard):is(:hover,:focus-visible) .bb-card-caption { opacity: 0; }
.bb-template-lobby :is(.wins__carousel,.live__wrap) > .bb-arrow.is-hidden { visibility: hidden; }
.bb-template-lobby :is(.wins__carousel,.live__wrap) > .bb-prev { left: 5px; }
.bb-template-lobby :is(.wins__carousel,.live__wrap) > .bb-next { right: 5px; }
.bb-template-lobby .wins__item { padding: 10px; width: 254px; flex-basis: 254px; background: #162f24; border: 1px solid var(--bb-border); color: var(--text-body); }
.bb-template-lobby .wins__body { justify-content: space-between; width: 100%; align-items: center; }
.bb-template-lobby .wins__amount { color: var(--bb-gold); }
.bb-template-lobby .wins__player { color: var(--text-body); }
.bb-lobby-note { color: var(--text-muted); margin: 3px 0 12px; font-size: 13px; }
.bb-template-lobby :is(.live__tab,.live__card) { background: #183427; border-color: var(--bb-border); color: var(--text-body); }
.bb-template-lobby .live__tab--active { color: var(--bb-gold); }
.bb-sport-card { position: relative; overflow: hidden; display: grid; align-content: start; gap: 7px; min-height: 145px; }
.bb-sport-card img { position: absolute; inset: 10px 10px auto auto; border-radius: 9px; opacity: .65; }
.bb-sport-card h3, .bb-sport-card p, .bb-sport-card a { position: relative; padding-right: 76px; }
.bb-sport-card h3 { color: var(--text-title); }
.bb-sport-card a { color: var(--bb-gold); }
.bb-template-lobby .bb-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 14px;
  align-items: center;
  background: #10291d;
  border: 1px solid var(--bb-border);
  padding: 20px clamp(17px, 4vw, 49px);
  border-radius: 16px;
  color: var(--text-body);
  text-align: left;
}
.bb-spotlight h2 { color: var(--text-title); font-weight: 750; font-size: clamp(25px, 4vw, 51px); line-height: 1.05; }
.bb-spotlight p { margin: 8px 0 15px; }
.bb-spotlight img { width: 100%; height: clamp(110px, 23vw, 285px); object-fit: contain; border-radius: 12px; }
.bb-template-lobby .jack { background: linear-gradient(145deg,#0d241a,#18382b 62%,#12271b); }
.bb-template-lobby .jack__inner { max-width: 1288px; }
.bb-hero .hero__dots { position: relative; inset: auto; display: flex; justify-content: center; margin-top: 10px; }
@media(max-width:700px) {
  .bb-template-lobby > .container { width: calc(100% - 24px); margin-top: 20px; }
  .bb-template-lobby .bb-spotlight { gap: 7px; padding: 13px; }
  .bb-spotlight p { font-size: 13px; }
  .bb-template-lobby :is(.live__wrap,.wins__carousel) > .bb-arrow { display:none; }
}

/* Fit generated artwork to the template's cards without letterboxing. */
.bb-page .bb-hero-frame { min-height: 0; aspect-ratio: 2 / 1; }
.bb-page .bb-hero-slide:first-child .bb-hero-art { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bb-page .bb-hero-slide:not(:first-child) .bb-hero-art {
  width: 58%; height: 100%; object-fit: cover; object-position: center 55%;
}
.bb-page .bb-hero-text { max-width: 16ch; font-size: clamp(31px, 4.5vw, 59px); }
.bb-promo .bb-promo-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  padding-block: 0;
  padding-right: 0;
  min-height: clamp(210px, 24vw, 310px);
}
.bb-promo .bb-promo-copy { grid-area: 1 / 1; max-width: 100%; padding: 24px 8px 24px 0; z-index: 1; }
.bb-promo .bb-promo-card > img {
  position: static;
  grid-area: 1 / 2;
  width: 100%;
  height: clamp(210px, 24vw, 310px);
  object-fit: cover;
  object-position: center 54%;
  z-index: 0;
  mask-image: linear-gradient(90deg, transparent, #000 26%);
}
.bb-promo-card::after { display: none; }
.bb-template-lobby .bb-spotlight {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  padding: 0 0 0 clamp(16px, 4vw, 49px);
  overflow: hidden;
}
.bb-spotlight > div { padding-block: 22px; }
.bb-template-lobby .bb-spotlight img {
  display: block;
  width: 100%;
  height: clamp(175px, 28vw, 325px);
  object-fit: cover;
  object-position: center 54%;
  border-radius: 0;
  mask-image: linear-gradient(90deg, transparent, #000 23%);
}
.bb-template-lobby .bb-sport-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  grid-auto-rows: min-content;
  align-content: center;
  padding: 14px 13px;
  gap: 5px 12px;
  min-height: 130px;
}
.bb-template-lobby .bb-sport-card img {
  position: static;
  grid-area: 1 / 2 / span 3;
  align-self: center;
  width: 78px;
  height: 78px;
  object-fit: cover;
  opacity: 1;
}
.bb-template-lobby .bb-sport-card :is(h3,p,a) { grid-column: 1; padding: 0; }
.bb-template-lobby .live__tabs { gap: 8px; }
.bb-template-lobby .live__tab { background: #183427; border: 1px solid var(--bb-border); }
.bb-template-lobby .live__tab--active { background: #284a37; color: var(--bb-gold); }
.bb-template-lobby .wins__item { padding: 15px; }
.bb-template-lobby .wins__body { position: static; padding: 0; background: none; gap: 10px; }
.bb-template-lobby .wins__amount { white-space: nowrap; font-size: clamp(16px, 1.7vw, 22px); }
.bb-win-icon {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  height: 34px;
  color: var(--bb-gold);
  border: 1px solid #6f6844;
  border-radius: 50%;
  background: #263c29;
  font-weight: 750;
}
@media(max-width:700px) {
  .bb-page .bb-hero-frame { aspect-ratio: auto; }
  .bb-page .bb-hero-slide .bb-hero-art { display: block; position: relative; width: 100%; height: clamp(145px, 48vw, 245px); object-fit: cover; }
  .bb-page .bb-hero-slide:first-child .bb-hero-art { height: clamp(145px, 48vw, 245px); object-position: center 57%; }
  .bb-page .bb-hero-slide:not(:first-child) .bb-hero-art { width: 100%; height: clamp(145px, 48vw, 245px); object-position: center 54%; }
  .bb-hero-frame::after { background: linear-gradient(0deg, #10241c 34%, transparent 85%); }
  .bb-page .bb-hero-text { font-size: clamp(27px, 7vw, 42px); }
  .bb-promo .bb-promo-card { min-height: 180px; padding-left: 35px; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .bb-promo .bb-promo-card > img { height: 100%; min-height: 180px; object-position: 55% center; }
  .bb-promo .bb-promo-copy { padding-block: 13px; }
  .bb-promo-copy .bb-promo-title { font-size: clamp(18px, 5.3vw, 24px); }
  .bb-template-lobby .bb-spotlight { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .bb-template-lobby .bb-spotlight img { height: 100%; min-height: 185px; object-position: 55% center; }
  .bb-spotlight > div { padding-block: 14px; }
}
.bb-page .bb-hero-frame { height: auto; }
.bb-hero .hero__dots { transform: none; width: 100%; }
.bb-hero .hero__dot { border-color: var(--bb-gold); }
.bb-hero .hero__dot.is-active { background: var(--bb-gold); }
.bb-template-lobby .wins__amount { background: none; -webkit-text-fill-color: currentColor; }
.bb-promo .bb-promo-card > img, .bb-template-lobby .bb-spotlight img {
  object-fit: contain;
  object-position: center;
}
@media(min-width:701px) {
  .bb-promo .bb-promo-card { padding-right: clamp(40px, 7vw, 115px); }
  .bb-template-lobby .bb-spotlight { padding-right: clamp(35px, 6vw, 96px); }
}

/* Keep the square artwork intact and blend its edges into each banner. */
.bb-page .bb-hero-slide:not(:first-child) .bb-hero-frame,
.bb-promo .bb-promo-card,
.bb-template-lobby .bb-spotlight,
.bb-inline-promo {
  background: radial-gradient(ellipse at 76% 48%, #244c32 0%, #142d22 45%, #0d2119 84%);
}
.bb-page .bb-hero-slide:not(:first-child) .bb-hero-frame::after { content: none; }
.bb-page .bb-hero-slide:not(:first-child) .bb-hero-art,
.bb-promo .bb-promo-card > img,
.bb-template-lobby .bb-spotlight img,
.bb-inline-promo img {
  box-sizing: border-box;
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  mask-image:
    linear-gradient(to right, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}
.bb-page .bb-hero-slide:not(:first-child) .bb-hero-art {
  top: 50%;
  right: 6%;
  bottom: auto;
  width: min(43%, 485px);
  transform: translateY(-50%);
}
.bb-promo .bb-promo-card > img,
.bb-template-lobby .bb-spotlight img {
  width: min(100%, 325px);
  justify-self: center;
  padding: 8px;
}
.bb-inline-promo img { width: min(100%, 220px); justify-self: center; }
@media(max-width:700px) {
  .bb-page .bb-hero-slide:not(:first-child) .bb-hero-art {
    position: relative;
    inset: auto;
    width: min(57%, 225px);
    margin: 0 auto;
    transform: none;
  }
  .bb-promo .bb-promo-card > img,
  .bb-template-lobby .bb-spotlight img { width: 100%; padding: 2px; }
}

.bb-page .bb-hero-slide .bb-sports-hero {
  grid-template-columns: minmax(0, 1fr);
  background: #071911;
}
.bb-banner-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.bb-banner-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}
.bb-page .bb-hero-slide .bb-sports-hero::after {
  content: "";
  background: linear-gradient(90deg, #071911f5 0%, #071911e8 23%, #0719117d 46%, transparent 68%);
}
.bb-sports-copy {
  align-self: center;
  justify-self: start;
  width: min(100%, 610px);
  padding: clamp(22px, 5.5vw, 82px) clamp(50px, 7vw, 105px);
}
.bb-sports-copy .bb-kicker { margin-bottom: 12px; }
.bb-sports-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .18em;
  margin-bottom: 15px;
  color: var(--text-title);
  font-weight: 550;
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.08;
}
.bb-sports-amount strong {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 780;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.bb-sports-copy .bb-hero-note { color: #e5ecdf; }
@media (max-width: 700px) {
  .bb-page .bb-hero-slide .bb-sports-hero { min-height: clamp(400px, 100vw, 510px); }
  .bb-banner-scene img { object-position: center 22%; }
  .bb-page .bb-hero-slide .bb-sports-hero::after {
    background: linear-gradient(0deg, #071911 6%, #071911f5 25%, #071911a3 49%, transparent 72%);
  }
  .bb-sports-copy {
    align-self: end;
    padding: 0 39px 24px;
  }
  .bb-sports-copy .bb-kicker { margin-bottom: 6px; }
  .bb-sports-amount { margin-bottom: 10px; }
  .bb-sports-amount strong { font-size: clamp(39px, 10vw, 56px); }
}

.bb-promo .bb-promo-card.bb-scene-banner,
.bb-template-lobby .bb-spotlight.bb-scene-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(225px, 33vw, 405px);
  padding: 0 clamp(46px, 6vw, 95px);
  background: #081b13;
}
.bb-scene-banner .bb-banner-scene {
  left: 31%;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.bb-scene-banner .bb-banner-scene img {
  width: 100%;
  height: 100%;
  padding: 0;
  mask-image: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center right;
}
.bb-promo .bb-scene-banner::after,
.bb-template-lobby .bb-scene-banner::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #081b13f5 6%, #081b13c7 33%, #081b135c 49%, transparent 73%);
}
.bb-scene-banner .bb-banner-copy { width: min(100%, 540px); }
@media (max-width: 700px) {
  .bb-promo .bb-promo-card.bb-scene-banner,
  .bb-template-lobby .bb-spotlight.bb-scene-banner {
    min-height: clamp(310px, 86vw, 420px);
    align-items: end;
    padding: 0 35px;
  }
  .bb-scene-banner .bb-banner-scene,
  .bb-sports-hero .bb-banner-scene {
    left: 0;
    bottom: 19%;
    mask-image: linear-gradient(#000 55%, transparent);
  }
  .bb-scene-banner .bb-banner-scene img { object-position: center 30%; }
  .bb-promo .bb-scene-banner::after,
  .bb-template-lobby .bb-scene-banner::after {
    background: linear-gradient(0deg, #081b13 12%, #081b13ba 41%, transparent 66%);
  }
  .bb-scene-banner .bb-banner-copy { padding: 0 0 20px; }
}
@media (max-width: 700px) {
  .bb-scene-banner .bb-banner-scene,
  .bb-sports-hero .bb-banner-scene { bottom: auto; }
  .bb-scene-banner .bb-banner-scene img,
  .bb-sports-hero .bb-banner-scene img { height: auto; }
}

.bb-overview-table {
  background: #152d23;
  border-color: #31513f;
  border-radius: 14px;
  color: #eef5ed;
}
.bb-overview-table table { min-width: 0; table-layout: fixed; }
.bb-overview-table th,
.bb-overview-table td { padding: 13px 16px; border-bottom: 1px solid #345342; overflow-wrap: anywhere; }
.bb-overview-table th { background: #294e3b; color: #eef5ed; font-weight: 750; }
.bb-overview-table tbody tr { background: #172e24; }
.bb-overview-table tbody tr:nth-child(even) { background: #1c392b; }
.bb-overview-table a { color: #c2efd5; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) {
  .bb-overview-table :is(th,td) { padding: 9px 7px; font-size: 14px; }
  .bb-overview-table :is(th,td):first-child { width: 34%; }
}

/* FIX-2026-11-16: overview table contrast, non-heading lobby titles, language dropdown */
.bb-overview-table table, .bb-overview-table :is(th,td) { color:#eef5ed; }
.bb-overview-table td { display:block; font-weight:500; }
.bb-overview-table tr { align-items:stretch; }
.bb-overview-table td:first-child { font-weight:700; }
.bb-overview-table td a { color:#c2efd5; font-weight:600; }
.bb-h2, .bb-h3 { font-family: var(--font-base); font-weight:700; color: var(--text-title); line-height:1.2; }
.bb-h2, .bb-h3 { display:block; }
.bb-lobby .bb-h2 { font-size:clamp(22px,3vw,30px); font-weight:700; color:var(--text-title); }
.bb-sport-card .bb-h3 { font-size:1.17em; color: var(--text-title); position: relative; padding-right: 76px; }
.bb-template-lobby .bb-sport-card :is(.bb-h3,p,a) { grid-column: 1; padding: 0; }
.bb-spotlight .bb-h2 { color: var(--text-title); font-weight: 750; font-size: clamp(25px, 4vw, 51px); line-height: 1.05; }
.bb-lang { position:relative; display:inline-block; }
.bb-lang > summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px; padding:7px 11px; border:1px solid var(--bb-border); border-radius:10px; font-size:13px; font-weight:700; color:var(--text-body); background:rgba(255,255,255,.03); }
.bb-lang > summary::-webkit-details-marker { display:none; }
.bb-lang > summary::after { content:""; width:6px; height:6px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.bb-lang[open] > summary { border-color:#6f9a80; color:var(--text-white); }
.bb-lang-list { position:absolute; right:0; top:calc(100% + 6px); z-index:60; min-width:132px; padding:5px; border:1px solid var(--bb-border); border-radius:10px; background:#10241c; box-shadow:0 10px 28px rgba(0,0,0,.4); display:grid; gap:2px; }
.bb-lang-list a { display:block; padding:8px 11px; border-radius:7px; font-size:14px; color:var(--text-body); white-space:nowrap; }
.bb-lang-list a:hover, .bb-lang-list a[aria-current="true"] { background:#1c3528; color:var(--text-title); }
.bb-footer-head .bb-lang-list, .bb-footer .bb-lang-list { top:auto; bottom:calc(100% + 6px); }
.bb-overview-table :is(thead,tbody) { min-width:0; }
.bb-overview-table :is(th,td) { min-width:0; overflow-wrap:anywhere; }
.bb-overview-table :is(th,td):first-child { flex:0 0 38%; }

/* FIX-2026-11-16: first banner (mobile) — art fills the card bottom, text sits on top of it */
@media (max-width: 700px) {
  .bb-page .bb-hero-slide:first-child .bb-hero-frame {
    min-height: clamp(470px, 126vw, 590px);
    aspect-ratio: auto;
    align-content: start;
    background: #10241c;
  }
  .bb-page .bb-hero-slide:first-child .bb-hero-art {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 76%;
    object-fit: cover;
    object-position: 62% 85%;
    z-index: -2;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  }
  .bb-page .bb-hero-slide:first-child .bb-hero-frame::after {
    background:
      linear-gradient(180deg, #10241c 0%, #10241cf2 30%, #10241cb3 48%, #10241c4d 64%, transparent 84%),
      linear-gradient(90deg, #10241c66 0%, transparent 65%);
  }
  .bb-page .bb-hero-slide:first-child .bb-hero-copy { align-self: start; padding: 26px 42px 24px; }
}

/* Header auth buttons (replace the old "Siteye Git" button) */
.bb-auth { display: flex; gap: 8px; align-items: center; }
.bb-auth a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; border: 1px solid #e2bd70; }
.bb-auth__login { color: var(--text-title); background: transparent; }
.bb-auth__login:hover { background: rgba(226,189,112,.14); }
.bb-auth__reg { color: #11251c; background: #e2bd70; }
.bb-auth__reg:hover { background: #f4d88f; }
.bb-auth__short { display: none; }
@media (max-width: 700px) {
  .bb-header-actions { gap: 6px; }
  .bb-auth { gap: 5px; }
  .bb-auth a { min-height: 34px; padding: 0 9px; font-size: 12px; }
  .bb-auth__full { display: none; }
  .bb-auth__short { display: inline; }
  .bb-page .head-bar__content { gap: 6px; padding-inline: 8px; }
  .bb-lang > summary { padding: 6px 8px; }
}
@media (max-width: 400px) { .bb-brand span { font-size: 17px; } .bb-brand img { width: 24px; height: 24px; } }

/* Header layout with auth buttons: no overlap, no horizontal overflow */
.bb-page .head-bar__content { display: flex; align-items: center; justify-content: flex-start; gap: 16px; width: 100%; }
.bb-page .head-bar__left { justify-self: auto; }
.bb-page .head-bar__nav { flex: 1 1 0; min-width: 0; }
.bb-page .bb-header-actions { margin-inline-start: auto; flex: 0 0 auto; }
.bb-page .bb-brand { margin-inline: 0; }
@media (min-width: 701px) { .bb-page .head-bar__content { padding-inline: 20px; } }
@media (max-width: 700px) {
  .bb-page .bb-brand { font-size: 20px; gap: 6px; }
}
@media (max-width: 420px) {
  .bb-page .bb-brand { font-size: 16px; gap: 5px; }
  .bb-page .bb-brand img { width: 22px; height: 22px; }
  .bb-page .head-bar__content { gap: 4px; padding-inline: 6px; }
  .bb-page .bb-toggle { width: 30px; }
  .bb-lang > summary { padding: 5px 6px; font-size: 12px; gap: 4px; }
  .bb-auth { gap: 4px; }
  .bb-auth a { padding: 0 7px; font-size: 12px; min-height: 32px; }
}
@media (max-width: 345px) { .bb-page .bb-brand img { display: none; } }

/* Keep the language choices inside the scrolling mobile drawer. */
.bb-page .bb-drawer .bb-lang {
  display: block;
  width: fit-content;
}
.bb-page .bb-drawer .bb-lang-list {
  position: static;
  width: max-content;
  margin-top: 8px;
}
