/* Shared Bookies.zone navigation. Load after each original section stylesheet. */
body.bzn-section {
  --bzn-bar-height: 74px;
}

body.bzn-section .bzn-site-header,
body.bzn-section .bzn-site-header *,
body.bzn-section .bzn-related,
body.bzn-section .bzn-related * {
  box-sizing: border-box;
}

body.bzn-section .bzn-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e4e9ee;
  background: #fff;
  color: #14212f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  box-shadow: 0 2px 10px rgb(20 33 47 / 4%);
}

body.bzn-section .bzn-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1170px;
  min-height: calc(var(--bzn-bar-height) - 1px);
  margin: 0 auto;
  padding: 0 8px 0 10px;
}

body.bzn-section .bzn-site-header a,
body.bzn-section .bzn-related a {
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-shadow: none;
}

body.bzn-section .bzn-wordmark {
  justify-self: start;
  margin: 0;
  padding: 0;
  color: #14212f;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.35px;
  white-space: nowrap;
}

body.bzn-section .bzn-wordmark-zone {
  color: #087bc3;
}

body.bzn-section .bzn-brand-nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: stretch;
  gap: 6px;
  margin: 0;
  padding: 0;
}

body.bzn-section .bzn-brand-1xbet {
  --bzn-accent: #0877bc;
  --bzn-tint: #edf7fe;
  --bzn-logo-bg: #f0f8fd;
}

body.bzn-section .bzn-brand-22bet {
  --bzn-accent: #00808a;
  --bzn-tint: #ecf8f8;
  --bzn-logo-bg: #15363d;
}

body.bzn-section .bzn-brand-betwinner {
  --bzn-accent: #087451;
  --bzn-tint: #edf8f2;
  --bzn-logo-bg: #14543d;
}

body.bzn-section .bzn-brand-melbet {
  --bzn-accent: #a97900;
  --bzn-tint: #fff9e6;
  --bzn-logo-bg: #222a30;
}

body.bzn-section .bzn-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px 8px;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #14212f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease;
}

body.bzn-section .bzn-brand-link:hover,
body.bzn-section .bzn-brand-link.bzn-is-current {
  border-bottom-color: var(--bzn-accent);
  background: var(--bzn-tint);
  color: #14212f;
}

body.bzn-section .bzn-brand-link.bzn-is-current {
  border-top-color: #e4e9ee;
  border-right-color: #e4e9ee;
  border-left-color: #e4e9ee;
}

body.bzn-section .bzn-site-header a:focus-visible,
body.bzn-section .bzn-related a:focus-visible,
body.bzn-section .bzn-footer-signature a:focus-visible {
  outline: 3px solid #087bc3;
  outline-offset: 3px;
}

body.bzn-section .bzn-skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  background: #14212f;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

body.bzn-section .bzn-skip-link:focus {
  width: auto;
  height: auto;
  padding: 12px 16px;
  border-radius: 5px;
  clip-path: none;
  color: #fff;
}

body.bzn-section #mainBackground {
  scroll-margin-top: calc(var(--bzn-bar-height) + 12px);
}

body.bzn-section .bzn-related {
  clear: both;
  width: 100%;
  margin: 0;
  padding: 42px 30px 46px;
  border-top: 1px solid #e4e9ee;
  background: #fff;
  color: #14212f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

body.bzn-section .bzn-related-inner {
  max-width: 1170px;
  margin: 0 auto;
}

body.bzn-section .bzn-related-heading {
  margin: 0 0 22px;
  padding: 0;
  color: #14212f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.45px;
}

body.bzn-section .bzn-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.bzn-section .bzn-related-card {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #e4e9ee;
  border-top: 4px solid var(--bzn-accent);
  border-radius: 10px;
  background: #fff;
  color: #14212f;
  box-shadow: 0 3px 12px rgb(20 33 47 / 4%);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

body.bzn-section .bzn-related-card:hover {
  border-color: var(--bzn-accent);
  color: #14212f;
  box-shadow: 0 5px 18px rgb(20 33 47 / 10%);
}

body.bzn-section .bzn-related-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  padding: 18px;
  border-radius: 5px;
  background: var(--bzn-logo-bg);
}

body.bzn-section .bzn-related-logo img {
  display: block;
  width: 100%;
  max-width: 208px;
  height: 100%;
  max-height: 60px;
  margin: 0;
  border: 0;
  object-fit: contain;
}

body.bzn-section .bzn-related-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 17px 4px 4px;
  color: #14212f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

body.bzn-section .bzn-related-arrow {
  flex: 0 0 auto;
  color: var(--bzn-accent);
  font-size: 22px;
  line-height: 1;
}

body.bzn-section .bzn-footer-signature {
  padding: 14px 0;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

body.bzn-section .bzn-footer-signature a,
body.bzn-section .bzn-footer-signature a:visited {
  color: inherit;
  text-decoration: none;
}

body.bzn-section .bzn-footer-signature a:hover {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  /* The original hamburger is absolute; anchor it to its original header. */
  body.bzn-section #header {
    position: relative;
    z-index: 180;
  }

  /* Override the legacy inline full-window height, retaining its JS toggles. */
  body.bzn-section #mobileMenu {
    position: fixed;
    z-index: 190;
    top: var(--bzn-operator-menu-top, calc(var(--bzn-bar-height) + 56px));
    right: 0;
    bottom: 0;
    left: auto;
    float: none;
    width: 250px;
    max-width: 100vw;
    height: auto !important;
    max-height: calc(100vh - var(--bzn-operator-menu-top, calc(var(--bzn-bar-height) + 56px)));
    max-height: calc(100dvh - var(--bzn-operator-menu-top, calc(var(--bzn-bar-height) + 56px)));
    overscroll-behavior: contain;
    box-shadow: -6px 8px 20px rgb(0 0 0 / 16%);
  }

  html[dir="rtl"] body.bzn-section #mobileMenu {
    right: auto;
    left: 0;
    box-shadow: 6px 8px 20px rgb(0 0 0 / 16%);
  }

  body.bzn-section .bzn-header-inner {
    grid-template-columns: minmax(0, 1fr) 140px;
    grid-template-rows: 56px 44px;
    gap: 8px 12px;
    min-height: 124px;
    padding: 8px 12px;
  }

  body.bzn-section {
    --bzn-bar-height: 125px;
  }

  body.bzn-section .bzn-wordmark {
    grid-column: 1;
    grid-row: 1;
  }

  body.bzn-section .bzn-mobile-sponsor {
    grid-column: 2;
    grid-row: 1;
  }

  body.bzn-section .bzn-brand-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 44px;
    gap: 4px;
    min-width: 0;
  }

  body.bzn-section .bzn-brand-link {
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px 6px;
    border-color: #e4e9ee;
    border-bottom-width: 3px;
    font-size: clamp(12px, 3.2vw, 13px);
  }

  body.bzn-section .bzn-brand-link.bzn-is-current {
    border-bottom-color: var(--bzn-accent);
  }
}

@media (max-width: 767px) {
  body.bzn-section .bzn-wordmark {
    font-size: 27px;
    letter-spacing: -1.2px;
  }

  body.bzn-section .bzn-related {
    padding: 30px 16px 34px;
  }

  body.bzn-section .bzn-related-heading {
    margin-bottom: 18px;
    font-size: 23px;
  }

  body.bzn-section .bzn-related-grid {
    gap: 12px;
  }
}

@media (max-width: 619px) {
  body.bzn-section .bzn-related-grid {
    grid-template-columns: 1fr;
  }

  body.bzn-section .bzn-related-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 12px;
  }

  body.bzn-section .bzn-related-logo {
    height: 74px;
    padding: 12px;
  }

  body.bzn-section .bzn-related-label {
    padding: 0;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bzn-section .bzn-brand-link,
  body.bzn-section .bzn-related-card {
    transition: none;
  }
}

@media print {
  body.bzn-section .bzn-site-header {
    position: static;
    box-shadow: none;
  }

  body.bzn-section .bzn-related-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Keep the original hero artwork and colours; let translated content size it.
   The legacy fixed heights and inline button line boxes caused overlapping
   actions between the narrow-phone and desktop breakpoints. */
body.bzn-section #mainBackground {
  box-sizing: border-box;
  height: auto !important;
  min-height: 0;
}

body.bzn-section #mainBackground > .contents {
  box-sizing: border-box;
  padding: 100px 16px 144px;
}

body.bzn-section #mainBackgroundBlockContainer {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
}

body.bzn-section #mainBackgroundBlock,
body.bzn-section #mainBackgroundBlockLarge,
body.bzn-section #mainBackgroundBlockExtraLarge {
  display: block;
  box-sizing: border-box;
  width: 480px !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 26px 0 24px;
}

body.bzn-section #mainBackgroundBlock_title {
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 0 20px;
  padding: 0 22px;
}

body.bzn-section #mainBackgroundBlock_title h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

body.bzn-section #mainBackgroundBlock_title h1 > img {
  flex: 0 0 auto;
  float: none !important;
  width: 52px;
  height: 36px;
  margin: 0 !important;
  object-fit: contain;
}

body.bzn-section #mainBackgroundBlock_title #bonusBig {
  flex-basis: 100%;
  max-width: 100%;
  margin: 0 !important;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.bzn-section #mainBackgroundBlock_title #bonusBig nobr {
  white-space: normal;
}

body.bzn-section #mainBackgroundBlock_text {
  box-sizing: border-box;
  margin: 0;
  padding: 0 22px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.bzn-section #mainBackgroundBlock_text > p {
  margin: 0 0 14px !important;
}

body.bzn-section #mainBackgroundBlock_text > p:last-child {
  margin-bottom: 0 !important;
}

body.bzn-section #mainBackgroundBlock_buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  box-sizing: border-box;
  width: auto;
  margin: 22px 20px 0;
  padding: 0 !important;
}

/* These wrappers have no semantics. Their two links and the mobile bonus
   participate in one grid, so the bonus can span both button columns. */
body.bzn-section #mainBackgroundBlock_buttons .mainBackgroundBlock_buttons_container {
  display: contents;
  margin: 0 !important;
  padding: 0;
}

body.bzn-section #mainBackgroundBlock_buttons a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 12px 14px !important;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

body.bzn-section #mainBackgroundBlock_buttons a.button > i {
  flex: 0 0 auto;
}

body.bzn-section #mainBackgroundBlock_buttons #bonusSmall {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 !important;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 144px of hero padding reserves 110px for the existing tile overlap and
   leaves a 34px gap after the white card, whatever its content height. */
body.bzn-section #mainBackgroundPostBlocks {
  margin-top: -110px !important;
}

body.bzn-section .bzn-currency-select {
  box-sizing: border-box;
  width: 440px;
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
}

@media (max-width: 1023px) {
  body.bzn-section #mainBackground > .contents {
    padding-top: 40px;
  }

  body.bzn-section #mainBackgroundBlock,
  body.bzn-section #mainBackgroundBlockLarge,
  body.bzn-section #mainBackgroundBlockExtraLarge {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  /* Some RTL originals set display inline, which otherwise defeats the
     stylesheet's mobile rule and duplicates the bonus. */
  body.bzn-section #mainBackgroundBlock_title #bonusBig {
    display: none !important;
  }
}

@media (max-width: 599px) {
  body.bzn-section #mainBackground > .contents {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  body.bzn-section #mainBackgroundBlock_buttons {
    grid-template-columns: minmax(0, 1fr);
  }

  body.bzn-section #mainBackgroundPostBlocks {
    margin-top: 0 !important;
  }
}

@media (max-width: 449px) {
  body.bzn-section #mainBackgroundBlock_title h1 {
    font-size: 26px;
  }
}

/* Clean operator marks: preserve artwork proportions at every display density. */
body.bzn-section #header .bzn-operator-logo {
  width: var(--bzn-operator-logo-width, 132px);
  max-width: 100%;
  height: 36px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
  image-rendering: auto;
}
body.bzn-section #header .bzn-operator-logo[alt="22BET"] {
  --bzn-operator-logo-width: 110px;
}
body.bzn-section #header .bzn-operator-logo[alt="Betwinner"] {
  --bzn-operator-logo-width: 168px;
}
body.bzn-section #header .bzn-operator-logo[alt="Melbet"] {
  --bzn-operator-logo-width: 145px;
}
html[dir="rtl"] body.bzn-section #header .bzn-operator-logo {
  object-position: right center;
}

/* Keep the operator controls in normal flow, including long translations. */
@media (max-width: 1023px) {
  body.bzn-section #header {
    box-sizing: border-box;
    height: auto;
    min-height: 56px;
    overflow: visible;
  }
  body.bzn-section #header > .contents {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 6px 12px;
    padding-inline-end: 60px;
  }
  body.bzn-section #header :is(#subHeaderLeft, #subHeaderRight, #subHeaderLeftSmall, #subHeaderRightSmall) {
    float: none;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
  }
  html:not([dir="rtl"]) body.bzn-section #header #subHeaderLeft,
  html[dir="rtl"] body.bzn-section #header #subHeaderRight {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: fit-content;
    line-height: 0;
  }
  body.bzn-section #header #logoSmall {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.bzn-section #header :is(#subHeaderRightSmall, #subHeaderLeftSmall) {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    justify-self: end;
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
  }
  html:not([dir="rtl"]) body.bzn-section #header #subHeaderRightSmall > a,
  html[dir="rtl"] body.bzn-section #header #subHeaderLeftSmall > a:not(.button2) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 5px !important;
    box-shadow: none !important;
    line-height: 1.45;
    text-shadow: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  body.bzn-section #header :is(#subHeaderRightSmall, #subHeaderLeftSmall) > a > span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.bzn-section #header :is(#subHeaderRightSmall, #subHeaderLeftSmall) > a > i {
    flex: 0 0 auto;
    float: none;
    margin: 0;
  }
  body.bzn-section #header > .hambugerMenu {
    position: absolute;
    inset: auto;
    inset-block-start: 6px;
    inset-inline-end: 8px;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    line-height: 44px;
    text-align: center;
  }
}
@media (max-width: 599px) {
  body.bzn-section #header > .contents {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
    padding: 6px 12px 10px;
  }
  html:not([dir="rtl"]) body.bzn-section #header #subHeaderLeft,
  html[dir="rtl"] body.bzn-section #header #subHeaderRight {
    min-height: 44px;
    max-width: calc(100% - 48px);
    align-content: center;
  }
  body.bzn-section #header :is(#subHeaderRightSmall, #subHeaderLeftSmall) {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
  }
}

@media (max-width: 1023px) {
  /* Keep mobile screenshots proportional, centered and within their native size. */
  body.bzn-section #signupSmall {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
  }
}

/* Header actions use the two colors of their own bookmaker. */
body.bzn-section[data-bzn-brand="1xbet"] {
  --bzn-signup-bg: #273a4c;
  --bzn-signup-hover: #344e67;
  --bzn-mirror-bg: #60c6f2;
  --bzn-mirror-hover: #80d2f6;
  --bzn-mirror-text: #103247;
}
body.bzn-section[data-bzn-brand="22bet"] {
  --bzn-signup-bg: #30b056;
  --bzn-signup-hover: #40bd65;
  --bzn-signup-text: #082f33;
  --bzn-mirror-bg: #185b61;
  --bzn-mirror-hover: #216d74;
  --bzn-mirror-text: #fff;
}
body.bzn-section[data-bzn-brand="melbet"] {
  --bzn-signup-bg: #141414;
  --bzn-signup-hover: #2a2a2a;
  --bzn-mirror-bg: #ffb805;
  --bzn-mirror-hover: #ffc533;
  --bzn-mirror-text: #141414;
}
body.bzn-section[data-bzn-brand="betwinner"] {
  --bzn-signup-bg: #174f3c;
  --bzn-signup-hover: #1e654d;
  --bzn-mirror-bg: #ffce06;
  --bzn-mirror-hover: #ffda3d;
  --bzn-mirror-text: #174f3c;
}

/* Physical order is signup left, mirror right, including RTL editions. */
body.bzn-section #header .bzn-header-actions {
  direction: ltr;
}
body.bzn-section #header .bzn-header-actions .bzn-signup-link {
  border-color: rgb(255 255 255 / 32%) !important;
  background-color: var(--bzn-signup-bg) !important;
  background-image: none !important;
  color: var(--bzn-signup-text, #fff) !important;
  text-shadow: none !important;
}
body.bzn-section #header .bzn-header-actions .bzn-signup-link:hover {
  background-color: var(--bzn-signup-hover) !important;
  color: var(--bzn-signup-text, #fff) !important;
}
body.bzn-section #header .bzn-header-actions .bzn-mirror-link {
  border-color: var(--bzn-mirror-bg) !important;
  background-color: var(--bzn-mirror-bg) !important;
  background-image: none !important;
  color: var(--bzn-mirror-text) !important;
  text-shadow: none !important;
}
body.bzn-section #header .bzn-header-actions :is(.bzn-signup-link, .bzn-mirror-link) :is(span, i) {
  color: inherit !important;
  text-shadow: none !important;
}
body.bzn-section #header .bzn-header-actions .bzn-mirror-link:hover {
  border-color: var(--bzn-mirror-hover) !important;
  background-color: var(--bzn-mirror-hover) !important;
  color: var(--bzn-mirror-text) !important;
}
body.bzn-section #header .bzn-header-actions a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
@media (min-width: 1024px) {
  body.bzn-section #header .bzn-header-actions-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 70px;
    margin: 0 !important;
    padding-top: 0;
  }
  body.bzn-section #header .bzn-header-actions-desktop > a:not(.buttonsmall) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 5px !important;
    box-shadow: none !important;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    text-shadow: none !important;
    white-space: nowrap;
  }
  body.bzn-section #header .bzn-header-actions-desktop > a > i {
    float: none;
    margin: 0;
  }
}

/* Preserve each desktop registration screenshot's intrinsic aspect ratio. */
body.bzn-section #signupBig {
  height: auto;
}
