/* Structured custom stylesheet: shared pages + Homepage Variant 3 -----------
   Original declarations consolidated and organized by page and breakpoint. */

/* Deposit page -------------------------------------------------------------
   Consolidated custom styles. All selectors are scoped to deposit content;
   the legacy stylesheet above this line remains unchanged. */

:root {
  --depo-gold: #f2b928;
  --depo-gold-light: #ffd35a;
  --depo-ink: #090d12;
  --depo-line: #3a3e43;
  --depo-muted: #a9a9ad;
  --mobile-chrome-height: 65px;
  --mobile-top-background: linear-gradient(360deg, #950d15 25%, #55161b 100%);
  --mobile-footer-background: linear-gradient(180deg, #711117 0%, #18080a 100%);
  --mobile-chrome-border: rgba(255, 199, 48, 0.44);
  --mobile-sidebar-width: min(82vw, 300px);
  --home-gold: #f2b928;
  --home-gold-soft: #ffd35a;
  --home-red: #8d1b23;
  --home-panel: #10151c;
  --home-panel-deep: #080c11;
  --home-line: #3a3e43;
  --home-muted: #a9a9ad;
}

#content {
  background-color: var(--depo-ink);
  background-size: auto, 20px 20px;
}

#content #tab-container2 {
  max-width: 882px;
  margin: 0 auto;
}

#content > .container > h2 {
  margin: 28px 0 18px;
  color: #fff4c5;
  font-size: 30px;
  letter-spacing: .08em;
  text-align: center;
  -webkit-text-fill-color: #fff4c5;
  text-shadow: 0 2px 18px rgba(255, 195, 57, .25);
}

#content #tab1 {
  display: flex;
  float: none;
  gap: 6px;
  margin: 0;
  padding: 0 8px;
  border: 0;
}

#content #tab1 > li {
  float: none;
  margin: 0;
  border: 0;
  flex: 1 1 0;
}

#content #tab1 > li > a {
  min-height: 44px;
  padding: 13px 10px;
  border: 1px solid rgba(255, 214, 89, .22);
  border-radius: 10px 10px 0 0;
  background: rgba(32, 11, 13, .72);
  color: #d8cfc4;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

#content #tab1 > li > a:hover,
#content #tab1 > li.active > a,
#content #tab1 > li.active > a:hover,
#content #tab1 > li.active > a:focus {
  margin: 0;
  border: 1px solid var(--depo-gold);
  border-bottom-color: #3a1619;
  background: linear-gradient(135deg, #8d1b23, #551115);
  box-shadow: 0 -5px 18px rgba(235, 164, 44, .12);
  color: #fff7d7;
}

#mob-content .tab-content > .tab-pane {
  border: 1px solid var(--depo-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 0, rgba(255, 255, 255, .045), transparent 24rem),
    linear-gradient(145deg, #10151c, #080c11 72%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 255, 255, .045);
}

#content .tab-content > .tab-pane {
  min-height: 486px;
  padding: 27px 34px;
  border: 1px solid var(--depo-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 0, rgba(255, 255, 255, .045), transparent 24rem),
    linear-gradient(145deg, #10151c, #080c11 72%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 255, 255, .045);
}

#content .tab-pane > h4,
#mob-content .tab-pane > h4 {
  margin: 0 0 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #f4f4f5;
  font-size: 20px;
  letter-spacing: .035em;
}

#content .tab-pane > h4:before,
#mob-content .tab-pane > h4:before {
  display: inline-block;
  width: 29px;
  height: 29px;
  margin: -4px 9px 0 0;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--depo-gold-light), #d78a0b);
  box-shadow: 0 4px 14px rgba(242, 185, 40, .26);
  color: #11151a;
  content: '\f155';
  font-family: FontAwesome;
  font-size: 15px;
  line-height: 29px;
  text-align: center;
  vertical-align: middle;
}

#confirm-form,
#confirm-form-2 {
  max-width: 711px;
  margin: 0 auto;
}

#confirm-form .fade_info,
#confirm-form-2 .fade_info {
  margin-bottom: 14px;
  border: 1px solid var(--depo-line);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(26, 31, 38, .96), rgba(14, 18, 24, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
  color: var(--depo-muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .015em;
  line-height: 1.5;
  text-transform: none;
}

#confirm-form .fade_info:first-of-type,
#confirm-form-2 .fade_info:first-of-type {
  padding: 12px 14px;
}

#confirm-form .fade_info:first-of-type .row,
#confirm-form-2 .fade_info:first-of-type .form-group {
  display: flex;
  align-items: center;
  min-height: 27px;
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

#confirm-form .fade_info:first-of-type .row:last-child,
#confirm-form-2 .fade_info:first-of-type .form-group:last-child {
  border-bottom: 0;
}

#confirm-form .fade_info:first-of-type [class*="col-sm"] {
  float: none;
  width: auto;
  padding: 0;
}

#confirm-form .fade_info:first-of-type [class*="col-sm"]:first-child,
#confirm-form-2 .fade_info:first-of-type label {
  float: none;
  width: auto;
  padding: 0;
  min-width: 131px;
  margin-right: 11px;
  color: var(--depo-gold-light);
  font-weight: 700;
}

#confirm-form .fade_info strong,
#confirm-form-2 .fade_info strong {
  color: var(--depo-gold-light);
  font-size: 12px;
  letter-spacing: .06em;
}

#confirm-form .fade_info[role="alert"],
#confirm-form-2 .fade_info[role="alert"] {
  position: relative;
  padding: 12px 41px 12px 14px;
}

#confirm-form .fade_info[role="alert"]:before,
#confirm-form-2 .fade_info[role="alert"]:before {
  display: inline-block;
  margin-right: 8px;
  color: #54b869;
  content: '\f058';
  font-family: FontAwesome;
  font-size: 16px;
  vertical-align: -1px;
}

#confirm-form .fade_info .close,
#confirm-form-2 .fade_info .close {
  position: absolute;
  top: 7px;
  right: 11px;
  color: #b9b9bd;
  font-size: 21px;
  line-height: 1;
  text-shadow: none;
}

#confirm-form .form-group,
#confirm-form-2 .form-group {
  margin-bottom: 18px;
}

#confirm-form .form-group > label,
#confirm-form-2 .form-group > label {
  display: block;
  margin-bottom: 7px;
  color: #eeeeef;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: none;
}

#confirm-form-2 > .form-group > p {
  margin: -3px 0 0;
  padding: 8px 11px;
  border-left: 2px solid rgba(244, 201, 93, .65);
  border-radius: 0 7px 7px 0;
  background: rgba(255, 255, 255, .045);
  color: #d9d0c5;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

#content .deposit-type,
#mob-content .deposit-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-content: stretch;
}

#content .deposit-type .item,
#mob-content .deposit-type .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 13px;
  border: 2px solid var(--depo-gold);
  border-radius: 12px;
  background: linear-gradient(145deg, #151a21, #0d1117);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  color: #efeff1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#content .deposit-type .item.fast,
#mob-content .deposit-type .item.fast {
  order: -1;
}

#content .deposit-type .item:hover,
#mob-content .deposit-type .item:hover {
  border-color: var(--depo-gold-light);
  background: #1b1f25;
  transform: translateY(-1px);
}

#content .deposit-type .item.active,
#mob-content .deposit-type .item.active {
  border-color: var(--depo-gold-light);
  background: linear-gradient(135deg, #ffd25b, #eda514 72%);
  box-shadow: 0 0 22px rgba(242, 185, 40, .27), inset 0 1px rgba(255, 255, 255, .48);
  color: #111317;
}

#content .infobadge,
#mob-content .infobadge {
  padding: 4px 7px !important;
  border-radius: 999px !important;
  background: rgba(242, 185, 40, .16) !important;
  color: var(--depo-gold-light) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .03em;
  text-transform: uppercase;
}

#content .deposit-type .item.active .infobadge,
#mob-content .deposit-type .item.active .infobadge {
  background: rgba(88, 56, 6, .58) !important;
  color: #ffe189 !important;
}

#confirm-form .form-group:has(.bank-get),
#confirm-form-2 .form-group:has(.bank-get),
#confirm-form .form-group:has(.promotionId),
#confirm-form-2 .form-group:has(.promotionId),
#confirm-form .form-group:has(#amount),
#confirm-form-2 .form-group:has(#amount) {
  position: relative;
}

#confirm-form .form-control,
#confirm-form-2 .form-control {
  height: 52px;
  border: 2px solid #55595f;
  border-radius: 12px;
  background: rgba(12, 16, 22, .82);
  box-shadow: inset 0 2px 9px rgba(0, 0, 0, .34);
  color: #eeeeef;
  font-family: Arial, sans-serif;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#confirm-form .form-control:focus,
#confirm-form-2 .form-control:focus {
  border-color: var(--depo-gold);
  background: #10151c;
  box-shadow: 0 0 0 3px rgba(242, 185, 40, .13), inset 0 2px 9px rgba(0, 0, 0, .32);
  outline: 0;
}

#confirm-form select.form-control,
#confirm-form-2 select.form-control {
  padding-left: 54px;
  cursor: pointer;
}

#confirm-form select.form-control option,
#confirm-form-2 select.form-control option {
  background: #251012;
  color: #fff7e0;
}

#confirm-form .form-group:has(.bank-get):after,
#confirm-form-2 .form-group:has(.bank-get):after {
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 31px;
  color: var(--depo-gold);
  font-family: FontAwesome;
  font-size: 20px;
  line-height: 52px;
  text-align: center;
  pointer-events: none;
  content: '\f19c';
}

#confirm-form .form-group:has(.promotionId):after,
#confirm-form-2 .form-group:has(.promotionId):after {
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 31px;
  color: var(--depo-gold);
  font-family: FontAwesome;
  font-size: 20px;
  line-height: 52px;
  text-align: center;
  pointer-events: none;
  content: '\f06b';
}

#confirm-form #amount,
#confirm-form-2 #amount {
  height: 70px;
  padding: 13px 20px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .02em;
}

#confirm-form .form-group:has(#amount):has(#amount:placeholder-shown):after,
#confirm-form-2 .form-group:has(#amount):has(#amount:placeholder-shown):after {
  position: absolute;
  bottom: 0;
  left: 21px;
  color: #85878d;
  content: 'Rp 0';
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 70px;
  pointer-events: none;
}

#confirm-form .promotion-info,
#confirm-form-2 .promotion-info,
#confirm-form .g8b-rpp-holder,
#confirm-form-2 .g8b-rpp-holder,
#confirm-form .luxeqris,
#confirm-form-2 .luxeqris {
  padding: 14px;
  border: 1px solid rgba(255, 211, 93, .23);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
}

#confirm-form .promo-wrap .title,
#confirm-form-2 .promo-wrap .title {
  margin-bottom: 7px;
  color: #f8d77d;
  font-size: 14px;
}

#confirm-form .promo-wrap ul,
#confirm-form-2 .promo-wrap ul {
  margin: 0;
  color: #dcd2c3;
  font-family: Arial, sans-serif;
}

#confirm-form .CommonBtt2,
#confirm-form-2 .CommonBtt2 {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  border: 2px solid var(--depo-gold-light);
  border-radius: 13px;
  background: linear-gradient(135deg, #ffd35d, #eda513 72%);
  box-shadow: 0 0 24px rgba(242, 185, 40, .26), inset 0 1px rgba(255, 255, 255, .55);
  color: #111317;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .055em;
  text-shadow: 0 1px rgba(255, 255, 255, .28);
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#confirm-form .CommonBtt2:hover,
#confirm-form-2 .CommonBtt2:hover,
#confirm-form .CommonBtt2:focus,
#confirm-form-2 .CommonBtt2:focus {
  background: linear-gradient(135deg, #ffdf7d, #f4b422 72%);
  box-shadow: 0 0 30px rgba(242, 185, 40, .34), inset 0 1px rgba(255, 255, 255, .6);
  color: #111317;
  outline: 0;
  transform: translateY(-1px);
}

#confirm-form input[type="file"],
#confirm-form-2 input[type="file"] {
  width: 100%;
  padding: 7px;
  border: 1px dashed rgba(255, 216, 107, .42);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  color: #e7dfd0;
}

/* Desktop Withdrawal ------------------------------------------------------ */
@media only screen and (min-width: 769px) {
  #content .tab-pane[id="#withdrawal"] #confirm-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    max-width: 760px;
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group {
    min-width: 0;
    margin: 0;
  }

  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(1),
  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(2) {
    order: 1;
  }

  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(6),
  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(7) {
    order: 2;
    padding: 14px 16px;
    border: 1px solid rgba(255, 211, 90, .16);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(27, 32, 40, .9), rgba(13, 17, 23, .9));
    box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group:nth-of-type(3) {
    order: 3;
    grid-column: 1 / -1;
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group.w-amo {
    order: 4;
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid var(--depo-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group:nth-of-type(5) {
    order: 5;
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .CommonBtt2 {
    order: 6;
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group:nth-of-type(-n+3) {
    padding: 14px 16px;
    border: 1px solid rgba(255, 211, 90, .16);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(27, 32, 40, .9), rgba(13, 17, 23, .9));
    box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group:nth-of-type(-n+3) > label:before {
    display: inline-block;
    width: 24px;
    margin-right: 7px;
    color: var(--depo-gold);
    font-family: FontAwesome;
    text-align: center;
  }

  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(1) > label:before,
  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(2) > label:before,
  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(3) > label:before {
    content: '\f19c';
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group:nth-of-type(6) > label:before {
    display: inline-block;
    width: 24px;
    margin-right: 7px;
    color: var(--depo-gold);
    content: '\f09d';
    font-family: FontAwesome;
    text-align: center;
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group:nth-of-type(7) > label:before {
    display: inline-block;
    width: 24px;
    margin-right: 7px;
    color: var(--depo-gold);
    content: '\f007';
    font-family: FontAwesome;
    text-align: center;
  }

  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(-n+3) > p,
  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(6) > p,
  #content .tab-pane[id="#withdrawal"] #confirm-form > .form-group:nth-of-type(7) > p {
    margin: 7px 0 0 31px;
    color: #d9d0c5;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.35;
  }

  #content .tab-pane[id="#withdrawal"]
  #confirm-form > .form-group.w-amo > label:before {
    display: inline-block;
    width: 24px;
    margin-right: 7px;
    color: var(--depo-gold);
    content: '\f09d';
    font-family: FontAwesome;
    text-align: center;
  }

}

@media only screen and (max-width: 768px) {
  #mob-content {
    padding: 0 0 94px;
    background: radial-gradient(circle at top, #50141b, #13090b 54%);
  }

  #mob-content > .container {
    position: relative;
    padding: 18px 12px 0;
  }

  #mob-content h3 {
    display: none;
  }

  /* common(1).js already appends a Power By bar to #mob-content. */
  #showM > div[style*="text-align: center"] {
    display: none !important;
  }

  #mob-content .btn-af-page {
    width: calc(100vw - clamp(40px, 9vw, 78px));
    max-width: 734px;
    margin: 0 auto 4px;
  }

  /* Present the existing account-page dropdown as the Deposit menu.
     The original text remains in the DOM for the current dropdown script. */
  #mob-content .btn-af-page #account-page {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 82px 0 58px;
    border-color: rgba(244, 190, 54, .55);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(31, 35, 42, .98), rgba(12, 16, 22, .98));
    box-shadow:
      inset 0 1px rgba(255, 255, 255, .06),
      0 5px 15px rgba(0, 0, 0, .22);
    color: #fff7dc;
    font-size: 0;
    font-weight: 700;
    text-transform: uppercase;
  }

  #mob-content .btn-af-page #account-page:before {
    display: grid;
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 8px;
    width: 38px;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffd65a, #e99a17);
    box-shadow: inset 0 1px rgba(255, 255, 255, .45);
    color: #19130a;
    content: '\f155';
    font-family: FontAwesome;
    font-size: 18px;
    text-align: center;
  }

  #mob-content .btn-af-page #account-page:after {
    color: #fff7dc;
    content: '';
    font-family: 'Fjalla One', Arial, sans-serif;
    font-size: 18px;
    letter-spacing: .035em;
  }

  /* History has no form heading, so its existing table is the CSS hook. */
  #mob-content:has(.table.depWit)
  .btn-af-page #account-page:after {
    content: 'History';
  }

  #mob-content .btn-af-page #account-page .caret {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 100%;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid rgba(244, 190, 54, .26);
    color: #f4c957;
  }

  #mob-content .btn-af-page #account-page .caret:before {
    content: 'MENU';
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
  }

  #mob-content .btn-af-page #account-page .caret:after {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 5px solid #f4c957;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: '';
  }

  /* Compact account navigation shown by the Deposit menu trigger. */
  #mob-content .btn-af-page .dropdown-menu {
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(244, 190, 54, .48);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(27, 31, 38, .99), rgba(10, 13, 18, .99));
    box-shadow: 0 14px 30px rgba(0, 0, 0, .46);
    text-align: left;
  }

  #mob-content .btn-af-page.open .dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  #mob-content .btn-af-page .dropdown-menu > li {
    margin: 0;
  }

  #mob-content .btn-af-page .dropdown-menu > li:last-child {
    grid-column: 1 / -1;
  }

  #mob-content .btn-af-page .dropdown-menu > li > a {
    display: flex;
    min-height: 42px;
    padding: 8px 11px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    color: #e9e9eb;
    font-family: 'Fjalla One', Arial, sans-serif;
    font-size: clamp(13px, 2vw, 17px);
    letter-spacing: .02em;
    text-align: left;
  }

  #mob-content .btn-af-page .dropdown-menu > li > a:before {
    width: 24px;
    margin-right: 8px;
    color: var(--depo-gold);
    font-family: FontAwesome;
    font-size: 14px;
    text-align: center;
  }

  #mob-content .btn-af-page .dropdown-menu > li:nth-child(1) > a:before { content: '\f155'; }
  #mob-content .btn-af-page .dropdown-menu > li:nth-child(2) > a:before { content: '\f0d6'; }
  #mob-content .btn-af-page .dropdown-menu > li:nth-child(3) > a:before { content: '\f1da'; }
  #mob-content .btn-af-page .dropdown-menu > li:nth-child(4) > a:before { content: '\f007'; }
  #mob-content .btn-af-page .dropdown-menu > li:nth-child(5) > a:before { content: '\f0c0'; }
  #mob-content .btn-af-page .dropdown-menu > li:nth-child(6) > a:before { content: '\f0e0'; }
  #mob-content .btn-af-page .dropdown-menu > li:nth-child(7) > a:before { content: '\f06b'; }

  #mob-content:has(.tab-pane[id="#deposit"]) .btn-af-page a[href="/secure/admin/deposit.html"],
  #mob-content:has(.tab-pane[id="#withdrawal"]) .btn-af-page a[href="/secure/admin/withdrawal.html"],
  #mob-content:has(.tab-pane[id="#partners"]) .btn-af-page a[href="/secure/admin/bonus.html"],
  #mob-content:has(.tab-pane[id="#profile"]) .btn-af-page a[href="/secure/admin/profile.html"],
  #mob-content:has(.tab-pane[id="#referral"]) .btn-af-page a[href="/secure/admin/referral.html"],
  #mob-content:has(.tab-pane[id="#messages"]) .btn-af-page a[href="/secure/admin/messages.html"],
  #mob-content:has(.table.depWit) .btn-af-page a[href="/secure/admin/history.html"] {
    border-color: rgba(244, 190, 54, .55);
    background: linear-gradient(145deg, rgba(244, 190, 54, .2), rgba(206, 132, 17, .1));
    color: #ffd65a;
  }

  #mob-content .btn-af-page .dropdown-menu > li > a:hover,
  #mob-content .btn-af-page .dropdown-menu > li > a:focus {
    border-color: rgba(244, 190, 54, .45);
    background: rgba(244, 190, 54, .13);
    color: #fff7dc;
  }

  #mob-content .tab-content > .tab-pane {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 10px 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #mob-content .tab-pane > h4 {
    display: flex;
    position: absolute;
    top: 18px;
    right: calc(clamp(40px, 9vw, 78px) / 2 + 82px);
    left: calc(clamp(40px, 9vw, 78px) / 2 + 58px);
    z-index: 2;
    height: 54px;
    margin: 0;
    padding: 0;
    align-items: center;
    border: 0;
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
  }

  #mob-content .tab-pane > h4:before {
    display: none;
  }

  #confirm-form-2 {
    display: flex;
    width: calc(100vw - clamp(40px, 9vw, 78px));
    max-width: 734px;
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
  }

  #confirm-form-2 > .form-group:has(.deposit-type) { order: 3; }
  #confirm-form-2 > .form-group.luxeqris,
  #confirm-form-2 > .form-group.g8b-rpp-holder { order: 5; }
  #confirm-form-2 > .form-group:has(#amount) { order: 6; }
  #confirm-form-2 > .form-group.remark { order: 7; }
  #confirm-form-2 > .form-group.gPromoMob { order: 8; }
  #confirm-form-2 > .form-group.promotion-info { order: 9; }
  #confirm-form-2 > .form-group.gReceipt { order: 10; }
  #confirm-form-2 > .form-group:nth-of-type(-n+4) {
    order: 1;
    display: grid;
    margin: 0;
    box-sizing: border-box;
    border-right: 1px solid var(--depo-line);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    border-left: 1px solid var(--depo-line);
    background: linear-gradient(145deg, rgba(26, 31, 38, .84), rgba(14, 18, 24, .84));
  }

  #confirm-form-2 > .form-group:nth-of-type(1) {
    border-top: 1px solid var(--depo-line);
    border-radius: 13px 13px 0 0;
  }

  #confirm-form-2 > .form-group:nth-of-type(4) {
    margin-bottom: 10px;
    border-bottom-color: var(--depo-line);
    border-radius: 0 0 13px 13px;
  }

  #confirm-form-2 > .form-group:nth-of-type(-n+4) > label {
    margin: 0;
    color: #e9e9eb;
    line-height: 16px;
  }

  #confirm-form-2 > .form-group:nth-of-type(-n+4) > label:before {
    display: inline-block;
    color: var(--depo-gold);
    font-family: FontAwesome;
    text-align: center;
  }

  #confirm-form-2 > .form-group:nth-of-type(1) > label:before,
  #confirm-form-2 > .form-group:nth-of-type(2) > label:before { content: '\f19c'; }
  #confirm-form-2 > .form-group:nth-of-type(3) > label:before { content: '\f10b'; }
  #confirm-form-2 > .form-group:nth-of-type(4) > label:before { content: '\f09d'; }

  #confirm-form-2 > .form-group:nth-of-type(-n+4) > p {
    margin: 0;
    border: 0;
    background: none;
    color: var(--depo-muted);
    line-height: 15px;
    text-align: left;
  }

  /* The optional available-balance row stays compact when visible. */
  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(3) {
    grid-template-columns: 1fr;
    gap: 0;
    height: 46px;
    min-height: 46px;
    padding: 6px 14px;
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(3) > label {
    font-size: 13px;
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(3) > label:before {
    width: 23px;
    margin-right: 7px;
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(3) > p {
    padding-left: 30px;
    font-size: 11px;
  }

  /* Deposit limits and Withdrawal min/max share the same two-column row. */
  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(-n+2) {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    gap: clamp(8px, 2.3vw, 20px);
    align-items: center;
    height: clamp(48px, 6.8vw, 58px);
    min-height: clamp(48px, 6.8vw, 58px);
    padding: 5px clamp(14px, 3.75vw, 32px);
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(-n+2) > label {
    display: flex;
    align-items: center;
    font-size: clamp(13px, 2.4vw, 20px);
    white-space: nowrap;
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(-n+2) > label:before {
    width: clamp(23px, 4vw, 34px);
    margin-right: clamp(7px, 1.4vw, 12px);
    font-size: clamp(14px, 2.4vw, 20px);
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(-n+2) > label:after {
    margin-left: 5px;
    color: var(--depo-gold-light);
    content: '\00bb';
    font-family: Arial, sans-serif;
    font-size: clamp(15px, 2.4vw, 20px);
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group:nth-of-type(-n+2) > p {
    padding: 0;
    font-size: clamp(11px, 2.5vw, 22px);
    line-height: 1.2;
    white-space: nowrap;
  }

  #confirm-form-2 > .fade_info[role="alert"] {
    order: 2;
    display: block;
    min-height: 56px;
    margin: 0 0 20px;
    box-sizing: border-box;
    border: 0;
    border-radius: 9px;
    background: rgb(170 126 41 / 24%);
    box-shadow: none;
    color: #a5a7ac;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
  }

  #confirm-form-2 > .fade_info[role="alert"] strong {
    font-size: 12px;
  }

  #confirm-form-2 > .fade_info[role="alert"]:before {
    margin-right: 6px;
    font-size: 13px;
  }

  #confirm-form-2 > .fade_info[role="alert"] .infobadge {
    display: inline-block;
    margin: 0 0 0 5px;
    padding: 3px 6px !important;
    font-size: 7px !important;
    line-height: 1;
    vertical-align: 1px;
  }

  #confirm-form-2 > .fade_info[role="alert"] .close {
    top: 4px;
    right: 8px;
    font-size: 18px;
  }

  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .fade_info[role="alert"] {
    margin-top: clamp(16px, 2.35vw, 20px);
  }

  #confirm-form-2 .form-group {
    margin-bottom: 18px;
  }

  #confirm-form-2 .form-group > label {
    margin-bottom: 7px;
    font-size: 14px;
  }

  #confirm-form-2 .deposit-type {
    gap: 7px;
  }

  #confirm-form-2 .deposit-type .item {
    min-height: 43px;
    padding: 7px 11px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 700;
  }

  #confirm-form-2 .deposit-type .item .infobadge {
    padding: 4px 6px !important;
    font-size: 8px !important;
  }

  #confirm-form-2 .form-control {
    height: 45px;
    border-radius: 11px;
    font-size: 14px;
  }

  #confirm-form-2 select.form-control {
    padding-left: 54px;
  }

  #confirm-form-2 > .form-group:has(.bank-get) {
    order: 4;
    margin-bottom: 16px;
  }

  #confirm-form-2 #amount {
    height: 56px;
    padding: 11px 19px;
    font-size: 20px;
  }

  #confirm-form-2 .form-group:has(#amount) {
    margin-top: 2px;
  }

  #confirm-form-2 .form-group:has(#amount):has(#amount:placeholder-shown):after {
    left: 20px;
    font-size: 20px;
    line-height: 56px;
  }

  #confirm-form-2 .CommonBtt2 {
    min-height: 43px;
    border-radius: 11px;
    font-size: 17px;
  }

  #confirm-form-2 > .form-group.text-center {
    order: 11;
    margin-top: 2px;
    margin-bottom: 10px;
  }

  /* Withdrawal reuses #confirm-form-2, but its fourth group contains the
     amount input rather than a compact summary value. Keep the field inside
     the summary card instead of constraining it to the 46px deposit row. */
  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group.w-amo {
    height: auto;
    min-height: 84px;
    padding: 19px 14px 12px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 16px 45px;
    row-gap: 8px;
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group.w-amo > label {
    display: flex;
    align-items: center;
    margin: 0;
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group.w-amo > label:before {
    width: 23px;
    margin-right: 7px;
  }

  #mob-content .tab-pane[id="#withdrawal"]
  #confirm-form-2 > .form-group.w-amo > .form-control {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
  }

  /* Shared mobile header, footer, and right-side quick actions. */
  body #mob-top {
    top: 0;
    right: 0;
    left: 0;
    z-index: 9996;
    box-sizing: border-box;
    width: 100%;
    height: var(--mobile-chrome-height);
    border-bottom: 1px solid var(--mobile-chrome-border);
    background: var(--mobile-top-background);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48), inset 0 -1px rgba(255, 255, 255, 0.035);
    filter: none;
  }

  body #mob-logo img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
  }

  body #mob-topr2 {
    top: 7px;
    right: 59px;
    box-sizing: border-box;
    min-width: 74px;
    height: 51px;
    overflow: hidden;
    border: 1px solid rgba(255, 211, 90, 0.34);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(82, 13, 19, 0.92), rgba(32, 8, 12, 0.92));
    box-shadow: 0 7px 17px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
  }

  body #mob-topr2:has(a[href*="deposit"]) {
    border-color: rgba(255, 235, 171, 0.84);
    background: linear-gradient(145deg, #ffd76b, #eca916 76%);
    box-shadow: 0 8px 19px rgba(0, 0, 0, 0.34), 0 0 14px rgba(247, 194, 53, 0.14), inset 0 1px rgba(255, 255, 255, 0.58);
  }

  body #mob-topr2 a {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 49px;
    min-width: 72px;
    padding: 4px 8px 3px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #ffd258;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  body #mob-topr2 a:hover,
  body #mob-topr2 a:focus {
    background: rgba(255, 211, 90, 0.08);
    color: #ffe69a;
    text-decoration: none;
  }

  body #mob-topr2 a:active {
    transform: scale(0.97);
  }

  body #mob-topr2 .fa {
    display: grid;
    width: 28px;
    height: 27px;
    margin: 0;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 211, 90, 0.08);
    color: #ffd258;
    font-size: 19px;
    line-height: 1;
  }

  body #mob-topr2:has(a[href*="deposit"]) a,
  body #mob-topr2:has(a[href*="deposit"]) .fa {
    color: #281800;
    text-shadow: none;
  }

  body #mob-topr2:has(a[href*="deposit"]) .fa {
    background: rgba(56, 32, 0, 0.09);
  }

  body #mob-topr2:has(a[href*="deposit"]) a:hover,
  body #mob-topr2:has(a[href*="deposit"]) a:focus {
    background: rgba(255, 255, 255, 0.13);
    color: #180e00;
  }

  body #mob-topr {
    top: 7px;
    right: 6px;
    width: 46px;
    height: 51px;
  }

  body #mob-topr .mob-menu {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 46px;
    height: 51px;
    padding: 0;
    border: 1px solid rgba(255, 211, 90, 0.3);
    border-radius: 12px;
    background: linear-gradient(145deg, #151a20, #080b0f 72%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.08);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  }

  body #mob-topr .mob-menu:hover,
  body #mob-topr .mob-menu:focus {
    border-color: rgba(255, 211, 90, 0.68);
    background: linear-gradient(145deg, rgba(20, 23, 29, 0.9), rgba(49, 12, 17, 0.82));
    outline: 0;
  }

  body #mob-topr .mob-menu:active {
    transform: scale(0.96);
  }

  body #mob-topr .mob-menu::before {
    position: absolute;
    top: 16px;
    left: 11px;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #fff1c9;
    box-shadow: 0 7px #fff1c9, 0 14px #fff1c9;
    content: "";
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
    transition: top 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  body #mob-topr .mob-menu::after {
    position: absolute;
    top: 24px;
    left: 11px;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #fff1c9;
    content: "";
    opacity: 0;
    transform: rotate(-45deg);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body #showM.active #mob-topr .mob-menu::before,
  body #mob-topr .mob-menu[aria-expanded="true"]::before {
    top: 24px;
    box-shadow: none;
    transform: rotate(45deg);
  }

  body #showM.active #mob-topr .mob-menu::after,
  body #mob-topr .mob-menu[aria-expanded="true"]::after {
    opacity: 1;
  }

  body #mob-footer {
    z-index: 9998;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    height: var(--mobile-chrome-height);
    padding: 0 5px;
    border-top: 1px solid var(--mobile-chrome-border);
    background: var(--mobile-footer-background);
    box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.62), inset 0 1px rgba(255, 255, 255, 0.035);
    filter: none;
  }

  body #mob-footer .col-xs-3 {
    display: flex;
    float: none;
    flex: 0 0 21%;
    width: 21% !important;
    min-width: 0;
    height: 100%;
    padding: 7px 8px;
    font-size: 10px !important;
  }

  body #mob-footer .col-xs-3 > a {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    border: 0.5px solid transparent;
    border-radius: 10px;
    color: #c5c1c0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  body #mob-footer .col-xs-3 > a:hover,
  body #mob-footer .col-xs-3 > a:focus {
    background: rgba(255, 202, 55, 0.09);
    color: #ffd258;
  }

  body #mob-footer .fa {
    display: block;
    font-size: 25px !important;
    line-height: 1;
  }

  /* Replace the existing Live Chat phone glyph with a comment icon. */
  body #mob-footer .col-xs-3:last-child .fa:before {
    content: "\f075";
  }

  .float-icons {
    right: 14px !important;
    bottom: 5px !important;
    z-index: 9999 !important;
    padding: 4px !important;
    border-radius: 28px;
    -webkit-backdrop-filter: blur(8px);
  }

  .float-icons > a {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 24px !important;
    line-height: 1;
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.34);
  }

  .float-icons .whatsapp-icon {
    background: linear-gradient(145deg, #43d776, #15914a);
  }

  .float-icons .telegram-icon {
    background: linear-gradient(145deg, #52bce9, #1977b4);
  }

  .worldcup-btn {
    right: 22px;
    bottom: 103px;
    width: 44px;
    height: 44px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(145deg, #8e1616, #4e3008);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.34);
    color: #ffd361;
  }

  /* Approved deposit-limit card: outlined icon tiles and balanced columns. */
  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .form-group:nth-of-type(-n+4) {
    grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
    gap: 8px;
    align-items: center;
    height: 46px;
    min-height: 46px;
    padding: 3px 12px;
    border-color: #444952;
    background: linear-gradient(145deg, #181b21, #111319);
  }

  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .form-group:nth-of-type(-n+4) > label {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .form-group:nth-of-type(-n+4) > label:before {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 7px;
    box-sizing: border-box;
    flex: 0 0 28px;
    border: 1px solid rgba(255, 197, 45, 0.36);
    border-radius: 9px;
    background-color: rgba(255, 197, 45, 0.08);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 17px 17px;
    content: '';
    font-size: 0;
  }

  #mob-content .tab-pane[id="#deposit"] #confirm-form-2 > .form-group:nth-of-type(1) > label:before,
  #mob-content .tab-pane[id="#deposit"] #confirm-form-2 > .form-group:nth-of-type(2) > label:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18M5 10v8M9 10v8M15 10v8M19 10v8M3 19h18M12 3 3 8h18Z'/%3E%3C/svg%3E");
  }

  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .form-group:nth-of-type(3) > label:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7.5' y='2.5' width='9' height='19' rx='2'/%3E%3Cpath d='M10 5h4M11 18.5h2'/%3E%3C/svg%3E");
  }

  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .form-group:nth-of-type(4) > label:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 15h3'/%3E%3C/svg%3E");
  }

  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .form-group:nth-of-type(-n+4) > label:after {
    margin-left: 4px;
    color: var(--depo-gold-light);
    content: '\203a';
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
  }

  #mob-content .tab-pane[id="#deposit"]
  #confirm-form-2 > .form-group:nth-of-type(-n+4) > p {
    padding: 0;
    font-size: 10.5px;
    line-height: 1.2;
    white-space: nowrap;
  }

  #confirm-form-2 .form-group:has(.bank-get):after {
    bottom: 4px;
    left: 8px;
    display: block;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 197, 45, 0.12);
    border-radius: 10px;
    background-color: rgba(255, 197, 45, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18M5 10v8M9 10v8M15 10v8M19 10v8M3 19h18M12 3 3 8h18Z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 21px 21px;
    content: '';
    font-size: 0;
    line-height: 0;
  }

  #confirm-form-2 .form-group:has(.promotionId):after {
    bottom: 4px;
    left: 8px;
    display: block;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 197, 45, 0.12);
    border-radius: 10px;
    background-color: rgba(255, 197, 45, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4zM12 10v10M4 14h16M12 10H8.5A2.5 2.5 0 1 1 11 7.5ZM12 10h3.5A2.5 2.5 0 1 0 13 7.5Z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 21px 21px;
    content: '';
    font-size: 0;
    line-height: 0;
  }

  #confirm-form-2 select.form-control.bank-get,
  #confirm-form-2 select.form-control.promotionId {
    padding-left: 56px;
  }

}

/* CSS-only login and register page treatment. */

#content:has(#login-form),
#content:has(#login-form-2),
#content:has(#ajax-form-join-mob),
#mob-content:has(#login-form-mob),
#mob-content:has(#ajax-form-3 #username) {
  --register-gold: #f7c235;
  --register-field: #101319;
  --register-line: #454a54;
  min-height: calc(100vh - 80px);
  background:
    radial-gradient(circle at 50% -12%, rgb(164 39 45 / 34%), transparent 43%),
    linear-gradient(180deg, #1b070a 0%, #0d0809 56%, #080708 100%);
}

#content:has(#login-form) h3,
#content:has(#login-form-2) h3,
#content:has(#ajax-form-join-mob) h2,
#mob-content:has(#login-form-mob) h3,
#mob-content:has(#ajax-form-3 #username) h3 {
  display: block;
  margin: 0 0 24px;
  color: #ffe7a0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

#content:has(#login-form) h3::after,
#content:has(#login-form-2) h3::after,
#content:has(#ajax-form-join-mob) h2::after,
#mob-content:has(#login-form-mob) h3::after,
#mob-content:has(#ajax-form-3 #username) h3::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #f7c235;
  box-shadow: 0 0 14px rgb(247 194 53 / 45%);
  content: '';
}

#content #login-form,
#content #login-form-2,
#mob-content #login-form-mob {
  margin: 0;
}

#content #login-form .mb10,
#content #login-form-2 .mb10,
#mob-content #login-form-mob .mb10 {
  margin-bottom: 14px;
}

#content #login-form input.form-control,
#content #login-form-2 input.form-control,
#mob-content #login-form-mob input.form-control {
  height: 48px;
  padding: 0 15px;
  border: 1px solid #4e5059;
  border-radius: 9px;
  background: #111318;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 42%);
  color: #f8f8f8;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#content #login-form input.form-control:focus,
#content #login-form-2 input.form-control:focus,
#mob-content #login-form-mob input.form-control:focus {
  border-color: #f7c235;
  box-shadow: 0 0 0 3px rgb(247 194 53 / 14%), inset 0 1px 2px rgb(0 0 0 / 42%);
  outline: 0;
}

#content #login-form label,
#content #login-form-2 label,
#mob-content #login-form-mob label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c8c8cc;
  font-size: 13px;
  font-weight: 600;
}

#content .loginhelpremember,
#mob-content .loginhelpremember {
  width: 16px;
  height: 16px;
  accent-color: #e5ac27;
}

#content #login-form .mb10:has(a),
#content #login-form-2 .mb10:has(a),
#mob-content #login-form-mob .mb10:has(a) {
  margin: 20px 0 18px;
  text-align: center;
}

#content #login-form .mb10 a,
#content #login-form-2 .mb10 a,
#mob-content #login-form-mob .mb10 a {
  color: #f6c948;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
}

#content #login-form .mb10 a:last-child,
#content #login-form-2 .mb10 a:last-child,
#mob-content #login-form-mob .mb10 a:last-child {
  color: #d4d5d9;
}

#content #login-form .btnf,
#content #login-form-2 .btnf,
#mob-content #login-form-mob .btnf {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffd96a 0%, #e2a820 100%);
  box-shadow: 0 9px 18px rgb(0 0 0 / 30%), inset 0 1px rgb(255 255 255 / 40%);
  color: #261b05;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 1px rgb(255 255 255 / 34%);
  text-transform: uppercase;
}

#content #login-form .btnf:hover,
#content #login-form-2 .btnf:hover,
#mob-content #login-form-mob .btnf:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* Login and register headings share the scoped title treatment above. */

/* Register form ---------------------------------------------------------- */
#content:has(#ajax-form-join-mob) > .container,
#mob-content:has(#ajax-form-3 #username) > .container {
  border: 1px solid rgb(247 194 53 / 28%);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgb(34 30 33 / 97%), rgb(13 14 18 / 98%));
  box-shadow:
    0 24px 52px rgb(0 0 0 / 43%),
    inset 0 1px rgb(255 255 255 / 6%);
}

#content #ajax-form-join-mob,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 {
  width: 100%;
  margin: 0 auto;
}

#content #ajax-form-join-mob .control-group,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-group {
  min-width: 0;
  margin: 0;
}

#content #ajax-form-join-mob .control-label,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: #e7e7e9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
}

#content #ajax-form-join-mob .control-label::before,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-label::before {
  width: 18px;
  color: var(--register-gold);
  content: '\f007';
  font-family: FontAwesome;
  font-size: 13px;
  text-align: center;
}

#content #ajax-form-join-mob .control-group:nth-child(2) .control-label::before,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-group:nth-child(2) .control-label::before { content: '\f0e0'; }
#content #ajax-form-join-mob .control-group:nth-child(3) .control-label::before,
#content #ajax-form-join-mob .control-group:nth-child(4) .control-label::before,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-group:nth-child(3) .control-label::before,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-group:nth-child(4) .control-label::before { content: '\f023'; }
#content #ajax-form-join-mob .control-group:nth-child(5) .control-label::before,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-group:nth-child(5) .control-label::before { content: '\f095'; }
#content #ajax-form-join-mob .control-group:nth-child(n+6) .control-label::before,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .control-group:nth-child(n+6) .control-label::before { content: '\f19c'; }

#content #ajax-form-join-mob .form-control,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .form-control {
  width: 100%;
  height: 49px;
  padding: 0 15px;
  border: 1px solid var(--register-line);
  border-radius: 10px;
  background: var(--register-field);
  box-shadow:
    inset 0 2px 6px rgb(0 0 0 / 34%),
    0 1px rgb(255 255 255 / 3%);
  color: #f7f7f8;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#content #ajax-form-join-mob .form-control::placeholder,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .form-control::placeholder {
  color: #797c84;
}

#content #ajax-form-join-mob .form-control:hover,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .form-control:hover {
  border-color: #656a75;
}

#content #ajax-form-join-mob .form-control:focus,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .form-control:focus {
  border-color: var(--register-gold);
  background: #14171d;
  box-shadow: 0 0 0 3px rgb(247 194 53 / 14%), inset 0 2px 6px rgb(0 0 0 / 32%);
  outline: 0;
}

#content #ajax-form-join-mob select.form-control,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 select.form-control {
  padding-right: 40px;
  color: #d9dade;
  cursor: pointer;
}

#content #ajax-form-join-mob .btnf,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .btnf {
  width: 100%;
  min-height: 52px;
  border: 1px solid #ffdc72;
  border-radius: 11px;
  background: linear-gradient(180deg, #ffdc70 0%, #e4aa20 100%);
  box-shadow: 0 10px 22px rgb(0 0 0 / 34%), inset 0 1px rgb(255 255 255 / 48%);
  color: #271b04;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .09em;
  text-shadow: 0 1px rgb(255 255 255 / 35%);
  text-transform: uppercase;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

#content #ajax-form-join-mob .btnf:hover,
#content #ajax-form-join-mob .btnf:focus,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .btnf:hover,
#mob-content:has(#ajax-form-3 #username) #ajax-form-3 .btnf:focus {
  box-shadow: 0 12px 26px rgb(0 0 0 / 38%), 0 0 20px rgb(247 194 53 / 16%);
  filter: brightness(1.06);
  outline: 0;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  #content:has(#ajax-form-join-mob) {
    padding: 34px 0 44px;
  }

  #content:has(#ajax-form-join-mob) > .container {
    width: min(100% - 48px, 820px);
    padding: 32px 38px 36px;
  }

  #content #ajax-form-join-mob {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  #content #ajax-form-join-mob > .mb10:last-child {
    grid-column: 1 / -1;
    margin: 6px 0 0;
  }
}

@media (max-width: 767px) {
  #mob-content:has(#login-form-mob) {
    padding: 18px 0 92px;
  }

  #mob-content:has(#login-form-mob) > .container {
    width: calc(100% - 28px);
    margin-top: 12px;
    padding: 26px 20px 24px;
  }

  #mob-content:has(#ajax-form-3 #username) {
    padding: 18px 14px 92px;
  }

  #mob-content:has(#ajax-form-3 #username) > .container {
    width: 100%;
    margin-top: 10px;
    padding: 24px 18px 22px;
  }

  #mob-content:has(#ajax-form-3 #username) #ajax-form-3 {
    display: grid;
    gap: 14px;
  }

  #mob-content:has(#ajax-form-3 #username) #ajax-form-3 > .mb10:last-child {
    margin: 4px 0 0;
  }
}

/* Profile page -----------------------------------------------------------
   The source markup reuses #deposit and #ajax-form-3 on this page. Scope
   profile rules to its unique bank/referral fields so deposit and register
   layouts remain isolated. */
#content:has(.bankAcc-get):has(.refLink-get),
#mob-content:has(.bankAcc-get):has(.refLink-get) {
  --profile-gold: #f7c235;
  --profile-panel: #11151b;
  --profile-line: #3f454e;
  --profile-muted: #aeb0b6;
}

#content:has(.bankAcc-get) .tab-pane > h4,
#mob-content:has(.bankAcc-get) .tab-pane > h4 {
  display: flex;
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 0 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  color: #fff0b9;
  font-size: 19px;
  line-height: 1.2;
  pointer-events: auto;
}

#content:has(.bankAcc-get) .tab-pane > h4::before,
#mob-content:has(.bankAcc-get) .tab-pane > h4::before {
  display: grid;
  width: 32px;
  height: 32px;
  margin: 0 10px 0 0;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #ffd867, #e6a619);
  color: #211805;
  content: '\f007';
  font-family: FontAwesome;
  font-size: 15px;
  line-height: 32px;
}

#content:has(.bankAcc-get) .tab-pane > h4:nth-of-type(2)::before,
#mob-content:has(.bankAcc-get) .tab-pane > h4:nth-of-type(2)::before {
  content: '\f023';
}

#content:has(.bankAcc-get) .tab-pane > br,
#mob-content:has(.bankAcc-get) .tab-pane > br {
  display: none;
}

#content:has(.bankAcc-get) .tab-pane > .form-group,
#mob-content:has(.bankAcc-get) .tab-pane > .form-group {
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--profile-line);
  background: linear-gradient(145deg, rgb(27 32 39 / 92%), rgb(15 18 24 / 94%));
}

#content:has(.bankAcc-get) .tab-pane > .form-group > label,
#mob-content:has(.bankAcc-get) .tab-pane > .form-group > label,
#content:has(.bankAcc-get) form[id^="ajax-form"] label,
#mob-content:has(.bankAcc-get) form[id^="ajax-form"] label {
  margin: 0;
  color: #ececef;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

#content:has(.bankAcc-get) .tab-pane > .form-group > p,
#mob-content:has(.bankAcc-get) .tab-pane > .form-group > p {
  min-width: 0;
  margin: 0;
  color: var(--profile-muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#content:has(.bankAcc-get) .ref-id.status,
#mob-content:has(.bankAcc-get) .ref-id.status {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  background: #159344;
  box-shadow: 0 4px 11px rgb(9 98 43 / 25%);
  color: #fff;
  font-size: 10px;
  letter-spacing: .055em;
  text-transform: uppercase;
}

#content:has(.bankAcc-get) .copyBtn,
#mob-content:has(.bankAcc-get) .copyBtn {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #ffd46b;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd66d, #dfa31d);
  color: #241a06;
  font-weight: 800;
}

#content:has(.bankAcc-get) form[id^="ajax-form"] .form-control,
#mob-content:has(.bankAcc-get) form[id^="ajax-form"] .form-control {
  width: 100%;
  height: 46px;
  margin: 7px 0 0;
  padding: 0 14px;
  border: 1px solid #4c525d;
  border-radius: 10px;
  background: #0e1218;
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 34%);
  color: #f4f4f5;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#content:has(.bankAcc-get) form[id^="ajax-form"] .form-control:focus,
#mob-content:has(.bankAcc-get) form[id^="ajax-form"] .form-control:focus {
  border-color: var(--profile-gold);
  box-shadow: 0 0 0 3px rgb(247 194 53 / 14%), inset 0 2px 6px rgb(0 0 0 / 30%);
  outline: 0;
}

#content:has(.bankAcc-get) form[id^="ajax-form"] .CommonBtt2,
#mob-content:has(.bankAcc-get) form[id^="ajax-form"] .CommonBtt2 {
  width: 100%;
  min-height: 46px;
  margin: 2px 0 0;
  border: 1px solid #ffdc72;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffda6b, #e2a71e);
  box-shadow: 0 9px 20px rgb(0 0 0 / 30%);
  color: #271b04;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  #content:has(.bankAcc-get) .tab-pane:has(.refLink-get) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto repeat(5, auto);
    gap: 10px 24px;
    min-height: 0;
    padding: 28px 30px 30px;
  }

  #content:has(.bankAcc-get) .tab-pane > h4:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }

  #content:has(.bankAcc-get) .tab-pane > h4:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }

  #content:has(.bankAcc-get) .tab-pane > .form-group {
    display: grid;
    grid-column: 1;
    grid-template-columns: minmax(125px, 42%) minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 11px 13px;
    align-items: center;
    border-radius: 9px;
  }

  #content:has(.bankAcc-get) .tab-pane > .form-group.ref-active {
    grid-template-columns: minmax(125px, 42%) minmax(0, 1fr) auto;
  }

  #content:has(.bankAcc-get) #ajax-form {
    display: grid;
    grid-column: 2;
    grid-row: 2 / span 5;
    align-content: start;
    gap: 14px;
    padding: 15px;
    border: 1px solid var(--profile-line);
    border-radius: 11px;
    background: rgb(255 255 255 / 2.5%);
  }

  #content:has(.bankAcc-get) #ajax-form .form-group {
    margin: 0;
  }
}

@media (max-width: 768px) {
  #mob-content:has(.bankAcc-get) {
    padding: 0 0 92px;
    background: radial-gradient(circle at top, #50141b, #13090b 54%);
  }

  #mob-content:has(.bankAcc-get) > .container {
    width: 100%;
    margin: 0;
    padding: 18px 12px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #mob-content:has(.bankAcc-get) > .container > h3 {
    display: block !important;
  }

  #mob-content:has(.bankAcc-get) .btn-af-page #account-page::before {
    content: '\f007';
  }

  #mob-content:has(.bankAcc-get) .btn-af-page #account-page::after {
    content: 'Profile';
  }

  #mob-content:has(.bankAcc-get) .btn-af-page a[href="/secure/admin/deposit.html"] {
    border-color: rgb(255 255 255 / 8%) !important;
    background: rgb(255 255 255 / 4.5%) !important;
    color: #e9e9eb !important;
  }

  #mob-content:has(.bankAcc-get) .btn-af-page a[href="/secure/admin/profile.html"] {
    border-color: rgb(244 190 54 / 55%) !important;
    background: linear-gradient(145deg, rgb(244 190 54 / 20%), rgb(206 132 17 / 10%)) !important;
    color: #ffd65a !important;
  }

  #mob-content:has(.bankAcc-get) .tab-content > .tab-pane {
    width: calc(100vw - 24px);
    margin: 12px auto 0;
    padding: 16px;
    border: 1px solid var(--profile-line);
    border-radius: 14px;
    background: linear-gradient(145deg, #14181f, #0c0f14 74%);
    box-shadow: 0 18px 38px rgb(0 0 0 / 34%), inset 0 1px rgb(255 255 255 / 4%);
  }

  #mob-content:has(.bankAcc-get) .tab-pane > h4 {
    margin-bottom: 10px;
  }

  #mob-content:has(.bankAcc-get) .tab-pane > h4:nth-of-type(2) {
    margin-top: 20px;
  }

  #mob-content:has(.bankAcc-get) .tab-pane > .form-group {
    display: grid;
    grid-template-columns: minmax(112px, 42%) minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 11px 12px;
    align-items: center;
    border-bottom: 0;
    border-radius: 0;
  }

  #mob-content:has(.bankAcc-get) .tab-pane > .form-group + .form-group {
    border-top: 0;
  }

  #mob-content:has(.bankAcc-get) .tab-pane > .form-group:first-of-type {
    border-radius: 10px 10px 0 0;
  }

  #mob-content:has(.bankAcc-get) .tab-pane > .form-group.ref-active {
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 0 0 10px 10px;
  }

  #mob-content:has(.bankAcc-get) .tab-pane > .form-group.ref-active > label:first-child {
    grid-column: 1 / -1;
  }

  #mob-content:has(.bankAcc-get) #ajax-form-3 {
    display: grid;
    gap: 13px;
  }

  #mob-content:has(.bankAcc-get) #ajax-form-3 .form-group {
    margin: 0;
  }
}

/* Homepage ---------------------------------------------------------------
   Local/live home layout only. The page has no dedicated body class, so the
   paired desktop and mobile banner IDs provide a stable page-level scope. */

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) {
  background: radial-gradient(circle at 50% 2%, rgb(85 17 21 / 34%), transparent 34rem), #090d12;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: rgb(247 194 53 / 55%) #0b0f14;
}

/* Shared desktop header ----------------------------------------------------
   The same top bar and primary navigation are used by every page. Account
   and public login layouts keep their own more-specific rules below. */

@media (min-width: 769px) {
  #top {
    height: 100px !important;
    border-bottom: .75px solid rgb(242 185 40 / 50%);
    background: radial-gradient(circle at 18% -30%, rgb(255 215 98 / 18%), transparent 22rem), linear-gradient(360deg, #950d15 25%, #55161b 100%);
    box-shadow: 0 12px 32px rgb(0 0 0 / 38%), inset 0 -1px rgb(255 255 255 / 5%);
    min-height: 100px !important;
  }

  #top > .container {
    display: flex !important;
    width: min(1050px, 100%) !important;
    height: 100px !important;
    align-items: center !important;
    gap: 18px;
    padding: 8px 0 !important;
    max-width: none !important;
    min-height: 100px !important;
    margin: 0 auto !important;
    justify-content: space-between !important;
  }

  #logo {
    display: flex;
    width: auto !important;
    padding: 0 !important;
    align-items: center;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  #logo img {
    width: auto !important;
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgb(0 0 0 / 38%));
    display: block !important;
    margin: 0 !important;
  }

  #topr {
    display: grid !important;
    width: auto !important;
    padding: 0 !important;
    grid-template-columns: 124px 100px 112px 88px !important;
    grid-template-rows: auto 34px !important;
    gap: 8px !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  #topr .topp1 {
    display: contents !important;
  }

  #topr .topp1 .registerbtn {
    position: relative;
    display: flex;
    min-height: 46px;
    margin: 0 8px !important;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 36%);
    border-radius: 12px;
    background: rgb(14 16 21 / 48%);
    box-shadow: inset 0 1px rgb(255 255 255 / 5%);
    color: #ece8e1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .065em;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
  }

  #topr .topp1 .registerbtn:not(.depositbtn) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    box-sizing: border-box !important;
    display: flex !important;
    height: 34px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid rgb(255 255 255 / 15%) !important;
    border-radius: 10px !important;
    background: linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(0 0 0 / 22%)) !important;
    box-shadow: inset 0 1px rgb(255 255 255 / 12%), 0 5px 12px rgb(0 0 0 / 25%) !important;
    color: #f4eadc !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease !important;
  }

  #topr .topp1 .registerbtn:not(.depositbtn)::before {
    display: inline-grid !important;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0 7px 0 0;
    place-items: center;
    color: #ffd35a;
    content: "\f2bd" !important;
    font: normal normal normal 17px/1 FontAwesome;
  }

  #topr .topp1 .depositbtn {
    grid-column: 3 !important;
    grid-row: 2 !important;
    border-color: rgb(255 226 138 / 60%);
    background: linear-gradient(145deg, #ffd96b, #d99612) !important;
    box-shadow: 0 5px 15px rgb(242 185 40 / 25%) !important;
    color: #281900 !important;
    box-sizing: border-box !important;
    display: flex !important;
    height: 34px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease !important;
  }

  #topr .topp1 .registerbtn:hover,
  #topr .topp1 .registerbtn:focus {
    border-color: var(--home-gold);
    background-color: rgb(247 194 53 / 13%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
  }

  #topr .topp1 .depositbtn:hover {
    background: linear-gradient(145deg, #ffe38a, #e6a512) !important;
    color: #211602;
    box-shadow: 0 8px 18px rgb(242 185 40 / 35%) !important;
    transform: translateY(-1px) !important;
  }

  #topr .topp1 .depositbtn:focus {
    background: linear-gradient(145deg, #ffe58e, #edb126);
    color: #211602;
  }

  #topr .topp2 {
    display: contents !important;
  }

  #topr .topp2 .tar {
    color: #d8d4ce;
    font-size: 12px;
    display: contents !important;
  }

  #topr .topp2 .tar:first-child,
  #topr .topp2 .tar:first-child .dib {
    display: contents;
  }

  #topr .topp2 .openmis {
    position: relative;
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    gap: 6px !important;
    border: 1px solid rgb(255 255 255 / 15%) !important;
    border-radius: 10px !important;
    background: linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(0 0 0 / 22%)) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    height: 34px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: inset 0 1px rgb(255 255 255 / 12%), 0 5px 12px rgb(0 0 0 / 25%) !important;
    color: #f4eadc !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease !important;
  }

  #topr .topp2 .dib > .btns1:not(.openmis) {
    position: relative;
    grid-column: 4 !important;
    grid-row: 2 !important;
    flex-direction: row;
    border: 1px solid rgb(255 112 112 / 35%) !important;
    border-radius: 10px !important;
    background: linear-gradient(145deg, rgb(125 25 29 / 75%), rgb(50 9 12 / 80%)) !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    display: flex !important;
    height: 34px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #da8b80 !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    transition: background .18s ease, color .18s ease, transform .18s ease !important;
  }

  #topr .topp2 .mt10 {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: flex !important;
    min-width: 0;
    padding: 0 14px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 11px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(314deg, rgb(63 10 25 / 70%), rgb(72 13 18 / 11%)) !important;
    box-shadow: none;
    font-size: 13px !important;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    height: 35px !important;
    margin: 0 !important;
    color: #e8dfd2 !important;
  }

  #topr .topp2 .btns1 {
    display: flex;
    min-width: 0;
    min-height: 46px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    border-color: rgb(247 194 53 / 32%);
    border-radius: 8px;
    background: transparent;
    color: #e8e3db;
    font-size: 13px;
  }

  #topr .blbbox {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    align-items: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #d7d0c5;
    font-size: 13px !important;
    gap: 5px !important;
    border-inline: 1px solid rgb(255 211 90 / 25%) !important;
  }

  #topr .blbbox .g8-bal-total {
    color: #ffd35a !important;
    font-size: 12px;
    font-weight: 800 !important;
  }

  #topr .blbbox .refsh-wallet-all {
    font-size: 10px;
  }

  #topr .sw-a {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    align-items: center !important;
    gap: 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 0 !important;
    padding: 0 !important;
  }

  #topr .sw-a::before {
    display: grid !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    place-items: center !important;
    border: 1px solid rgb(255 211 90 / 48%) !important;
    border-radius: 50% !important;
    background: rgb(242 185 40 / 14%) !important;
    color: #ffd35a !important;
    content: "$" !important;
    font-size: 9px !important;
    font-weight: 800 !important;
  }

  #topr .sw-b {
    font-size: 13px !important;
    font-weight: 800;
  }

  #topr .j-name {
    flex: 0 0 auto !important;
    color: #ffd35a !important;
    font-weight: 800 !important;
    text-align: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #topr .g8-ss-fc {
    display: none;
  }

  #topr .openmis::after {
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: -1px;
    width: 1px;
    background: rgb(255 211 90 / 24%);
    content: '';
  }

  #topr .topp1 .registerbtn::after,
  #topr .topp2 .dib > .btns1:not(.openmis)::after {
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: -1px;
    width: 1px;
    background: rgb(255 211 90 / 24%);
    content: none !important;
    display: none !important;
  }

  #menu {
    position: relative;
    z-index: 4;
    border-bottom: .75px solid rgb(255 202 55 / 16%);
    background: linear-gradient(180deg, #741018, #3e0c11);
    box-shadow: 0 9px 24px rgb(0 0 0 / 34%), inset 0 1px rgb(255 255 255 / 4%);
  }

  #menu .container {
    width: min(1100px, 100%);
    padding: 0;
  }

  #menu .navbar-nav {
    display: flex;
    float: none;
    width: 100%;
    align-items: stretch;
    justify-content: center;
  }

  #menu .navbar-nav > li {
    display: flex;
    float: none;
    min-width: 0;
    flex: 1 1 0;
  }

  #menu .navbar-nav .ns {
    position: relative;
    width: 100%;
    min-height: 76px;
    padding: 51px 5px 9px;
    border-right: 1px solid rgb(255 211 90 / 8%);
    background-position: top 9px center;
    background-size: auto 36px;
    color: #d6d3cf;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
  }

  #menu .navbar-nav > li:first-child .ns {
    border-left: 1px solid rgb(255 211 90 / 8%);
  }

  #menu .navbar-nav .ns::after {
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
    content: '';
    transition: background-color .2s ease, box-shadow .2s ease, transform .22s ease;
    transform: scaleX(0);
    transform-origin: center;
  }

  #menu .navbar-nav .ns:hover {
    background-color: rgb(157 20 30 / 34%);
    color: #fff0c7;
    text-decoration: none;
  }

  #menu .navbar-nav .ns:focus,
  #menu .navbar-nav .ns.active {
    background-color: rgb(157 20 30 / 72%);
    color: #fff0c7;
    text-decoration: none;
  }

  #menu .navbar-nav .ns:hover::after {
    background: linear-gradient(90deg, transparent, var(--home-gold-soft), transparent);
    box-shadow: 0 0 10px rgb(247 194 53 / 45%);
    transform: scaleX(1);
  }

  #menu .navbar-nav .ns:focus::after {
    background: var(--home-gold);
    box-shadow: 0 0 12px rgb(247 194 53 / 48%);
  }

  #menu .navbar-nav .ns.active::after {
    background: linear-gradient(90deg, transparent, var(--home-gold-soft), transparent);
    box-shadow: 0 0 10px rgb(247 194 53 / 45%);
    transform: scaleX(1);
  }

  /* Shared desktop header interactions. */
  #top > .container::before,
  #top > .container::after {
    display: none !important;
  }

  #topr .topp2 .dib {
    display: contents !important;
  }

  #topr .refsh-wallet-all {
    color: #ffd35a !important;
    font-size: 11px !important;
  }

  #topr .topp1 .registerbtn:not(.depositbtn) .fa,
  #topr .topp1 .depositbtn .fa,
  #topr .topp2 .dib > .btns1:not(.openmis) .fa {
    margin: 0 !important;
    padding: 0 !important;
  }

  #topr .topp2 .openmis .fa {
    margin: 0 !important;
    padding: 0 !important;
    color: #ffd35a !important;
  }

  #topr .topp2 .openmis::after {
    display: none !important;
    content: none !important;
  }

  #topr .topp1 .registerbtn:not(.depositbtn):hover,
  #topr .topp2 .openmis:hover {
    border-color: rgb(255 255 255 / 28%) !important;
    background: linear-gradient(145deg, rgb(255 255 255 / 18%), rgb(0 0 0 / 15%)) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
  }

  #topr .topp2 .dib > .btns1:not(.openmis):hover {
    background: linear-gradient(145deg, rgb(150 30 35 / 85%), rgb(65 12 15 / 85%)) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #footer .container,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #seo .container {
    width: min(960px, calc(100% - 32px));
  }
}

#annoucement,
#announcement,
#mob-annoucement {
  padding: 6px 0;
  border-block: 1px solid rgb(247 194 53 / 18%);
  background: linear-gradient(90deg, #180d10, #361317 50%, #180d10);
  color: #f0e7dc;
}

#annoucement .container,
#announcement .container,
#mob-annoucement .container {
  display: flex;
  align-items: center;
  gap: 10px;
}

#annoucement .a-icon,
#announcement .a-icon,
#mob-annoucement .a-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(255 226 138 / 38%);
  border-radius: 50%;
  background: rgb(247 194 53 / 13%);
  color: var(--home-gold);
  animation: home3-pulse 2.4s ease-in-out infinite;
}

#annoucement .a-text,
#announcement .a-text,
#mob-annoucement .a-text {
  min-width: 0;
  color: #eee8df;
  font-size: 13px;
  letter-spacing: .025em;
}

/* Homepage content ------------------------------------------------------- */

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-banner {
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: #090b0f;
  box-shadow: 0 18px 45px rgb(0 0 0 / 46%);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-block: .75px solid rgb(242 185 40 / 30%);
  border-inline: 0;
  border-radius: 0;
  background: #090b0f;
  box-shadow: 0 18px 45px rgb(0 0 0 / 52%);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-inner,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .item {
  width: 100%;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner img {
  display: block;
  width: 100%;
  object-fit: cover;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-control {
  top: 50%;
  bottom: auto;
  width: 42px;
  height: 42px;
  margin: 0 14px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  background: rgb(5 7 10 / 68%);
  opacity: .88;
  transform: translateY(-50%);
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-control:hover {
  border-color: rgb(247 194 53 / 70%);
  background: rgb(5 7 10 / 82%);
  opacity: 1;
  box-shadow: 0 0 16px rgb(247 194 53 / 30%);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-control .glyphicon {
  top: 50%;
  margin: 0;
  color: var(--home-gold-soft);
  font-size: 16px;
  transform: translate(-50%, -50%);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-indicators li {
  width: 8px;
  height: 8px;
  margin: 0 3px;
  border: 0;
  border-radius: 8px;
  background: rgb(255 255 255 / 50%);
  transition: width .2s ease, background-color .2s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-indicators li.active {
  width: 24px;
  background: var(--home-gold);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot {
  position: relative;
  width: 100%;
  min-height: 102px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-block: .75px solid rgb(255 206 62 / 34%);
  border-inline: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 30% 50%, rgb(255 195 44 / 16%), transparent 25rem),
    linear-gradient(90deg, rgb(20 3 6 / 44%), rgb(105 10 17 / 22%) 52%, rgb(20 3 6 / 52%)),
    url("https://roda.id-net.work/img/home/jackpot-bg.png") center / cover no-repeat,
    #160507;
  box-shadow:
    inset 0 1px rgb(255 255 255 / 8%),
    inset 0 -1px rgb(0 0 0 / 45%),
    0 14px 32px rgb(0 0 0 / 44%);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, transparent 28%, rgb(255 232 151 / 8%) 45%, transparent 61%),
    repeating-linear-gradient(90deg, transparent 0 89px, rgb(255 216 104 / 3%) 90px);
  content: "";
  pointer-events: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot::after {
  position: absolute;
  right: 16%;
  bottom: 0;
  left: 16%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 211 80 / 58%), transparent);
  content: "";
  pointer-events: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .container {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  min-height: 102px;
  margin: 0 auto;
  padding: 8px 50px;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  align-items: center;
  gap: 14px;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .container::before,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .container::after {
  display: none;
  content: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .clearfix {
  display: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .j-img {
  display: flex;
  float: none;
  width: auto;
  height: 95px;
  min-height: 85px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: url("https://res.cloudinary.com/dixb34jum/image/upload/v1784920674/rodabet/progressive_jackpot_webp.webp") center / 82% auto no-repeat !important;
  filter:
    contrast(1.06)
    saturate(1.05)
    drop-shadow(0 6px 10px rgb(0 0 0 / 52%))
    drop-shadow(0 0 8px rgb(255 191 31 / 20%));
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .j-img::before,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .j-img::after {
  display: none;
  content: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .j-text {
  display: flex;
  float: none;
  width: auto;
  height: auto;
  padding: 0 35px 0 0;
  align-items: center;
  font-size: inherit;
  text-align: center;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .jackpotNumber {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 68px;
  padding: 9px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: .75px solid rgb(255 214 81 / 48%);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0, rgb(255 218 103 / 15%), transparent 68%),
    linear-gradient(145deg, rgb(92 9 16 / 94%), rgb(31 4 7 / 98%));
  box-shadow:
    0 11px 22px rgb(0 0 0 / 40%),
    0 0 18px rgb(247 194 53 / 8%),
    inset 0 1px rgb(255 255 255 / 9%),
    inset 0 -1px rgb(0 0 0 / 38%);
  color: #ffe69a;
  font-size: clamp(27px, 2.9vw, 45px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .035em;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 1px 0 #8c5007,
    0 3px 7px rgb(0 0 0 / 72%),
    0 0 16px rgb(255 205 57 / 28%);
  animation: home3-jackpot-glow 3.2s ease-in-out infinite;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .jackpotNumber::before {
  display: block;
  margin-bottom: 6px;
  color: #f6c943;
  content: "LIVE GRAND PRIZE";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1;
  text-shadow: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .j-text:has(.jackpotNumber:empty) {
  display: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .container:has(.jackpotNumber:empty) {
  grid-template-columns: minmax(0, 1fr);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #content {
  padding: 12px 0 42px;
  background: url("https://res.cloudinary.com/dixb34jum/image/upload/v1784689961/rodabet/bg.jpg") #000 no-repeat top center !important;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #content > .container {
  width: min(1060px, calc(100% - 32px));
  max-width: 1060px;
  margin: 0 auto;
  padding: 20px 20px 24px;
  border: 1px solid rgb(247 194 53 / 25%);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0, rgb(149 13 21 / 12%), transparent 28rem),
    linear-gradient(160deg, rgb(10 13 18 / 97%), rgb(3 5 8 / 99%));
  box-shadow: 0 24px 52px rgb(0 0 0 / 42%), inset 0 1px rgb(255 255 255 / 4%);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #step {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  height: auto;
  margin: 4px 0 0;
  padding: 0;
  background: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #step > [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #step > .clearfix {
  display: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 142px;
  padding: 14px 12px 13px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(247 194 53 / 17%);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 0, rgb(247 194 53 / 9%), transparent 68%),
    linear-gradient(145deg, rgb(25 29 36 / 98%), rgb(9 12 17 / 98%));
  box-shadow: 0 11px 24px rgb(0 0 0 / 30%), inset 0 1px rgb(255 255 255 / 5%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 52%;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--home-gold), transparent);
  content: '';
  opacity: .72;
  transform: translateX(-50%);
  transition: width .2s ease, opacity .2s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox > a {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox:hover {
  border-color: rgb(247 194 53 / 42%);
  box-shadow: 0 16px 32px rgb(0 0 0 / 38%), 0 0 20px rgb(247 194 53 / 9%), inset 0 1px rgb(255 255 255 / 7%);
  transform: translateY(-3px);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox:hover::before {
  width: 82%;
  opacity: 1;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox img {
  width: auto;
  max-width: 90%;
  max-height: 72px;
  filter: drop-shadow(0 8px 13px rgb(0 0 0 / 42%));
  transition: filter .25s ease, transform .25s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox:hover img {
  filter: drop-shadow(0 8px 14px rgb(0 0 0 / 40%)) brightness(1.06);
  transform: translateY(-2px) scale(1.04);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox p {
  margin: 10px 0 0;
  color: #fff1c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
  text-shadow: none;
  text-transform: uppercase;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products {
  padding: 27px 0 4px;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products h2 {
  display: flex;
  margin: 0 0 16px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--home-gold-soft);
  font-size: 30px;
  letter-spacing: .1em;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products h2::before,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products h2::after {
  display: block;
  flex: 0 1 74px;
  height: 1px;
  margin: 0;
  content: '';
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products h2::before {
  background: linear-gradient(90deg, transparent, var(--home-gold));
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products h2::after {
  background: linear-gradient(90deg, var(--home-gold), transparent);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .hpbox {
  position: relative;
  float: none;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgb(247 194 53 / 23%);
  border-radius: 14px;
  background: #0d1117;
  box-shadow: 0 15px 30px rgb(0 0 0 / 36%), inset 0 1px rgb(255 255 255 / 5%);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .row::before,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .row::after {
  display: none;
  content: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox {
  width: auto;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox:hover {
  border-color: rgb(247 194 53 / 55%);
  box-shadow: 0 21px 38px rgb(0 0 0 / 48%), 0 0 24px rgb(247 194 53 / 10%), inset 0 1px rgb(255 255 255 / 7%);
  transform: translateY(-5px);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .hpbox img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: box-shadow .3s ease, filter .3s ease, transform .3s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox img {
  aspect-ratio: 31 / 20;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox:nth-child(1) img {
  content: url("https://res.cloudinary.com/dixb34jum/image/upload/v1784886506/sportsbook-banner-v2-310x200.webp");
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox:nth-child(2) img {
  content: url("https://res.cloudinary.com/dixb34jum/image/upload/v1784886494/live-casino-banner-v2-310x200.webp");
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox:nth-child(3) img {
  content: url("https://res.cloudinary.com/dixb34jum/image/upload/v1784886506/slots-banner-v2-310x200.webp");
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .hpbox:hover img {
  filter: brightness(1.08);
  transform: scale(1.035);
  box-shadow: 0 14px 30px rgb(0 0 0 / 40%), 0 0 0 1px rgb(247 194 53 / 22%);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .hpbox a {
  position: relative;
  display: grid;
  min-height: 46px;
  padding: 9px 12px;
  grid-template-columns: 25px minmax(0, 1fr) 25px;
  align-items: center;
  border-top: 1px solid rgb(247 194 53 / 28%);
  background: linear-gradient(115deg, #4b0c12, #8d111b 50%, #4b0c12);
  box-shadow: inset 0 1px rgb(255 255 255 / 5%);
  color: #fff1c0;
  font-size: 17px;
  text-shadow: 1px 1px 1px var(--depo-line);
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
  margin: 0 !important;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox a::before,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox a::after {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgb(255 214 94 / 28%);
  border-radius: 8px;
  background: rgb(0 0 0 / 24%);
  color: #f3bd35;
  font: normal normal normal 11px/1 FontAwesome;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox:nth-child(1) a::before {
  content: "\f091";
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox:nth-child(2) a::before {
  content: "\f219";
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox:nth-child(3) a::before {
  content: "\f1b3";
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox a::after {
  content: "\f105";
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox a:hover,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #products .hpbox a:focus {
  background: linear-gradient(115deg, #681019, #aa1722 50%, #681019);
  color: #fff8df;
  text-decoration: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #footer {
  padding: 16px 0;
  border-color: #a9a9ad45;
  background: #18070a;
  color: var(--home-muted);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #footer a {
  color: #e5d6bd;
  position: relative;
  transition: color .2s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #seo {
  background: linear-gradient(1deg, rgb(116 16 24 / 53%), rgb(62 12 17 / 13%));
  color: #9ca0a8;
  line-height: 1.65;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #seo h1,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #seo h2,
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #seo h3 {
  color: #d8c49e;
}

@media (min-width: 769px) and (max-width: 991px) {
  #top > .container {
    gap: 10px;
  }

  #logo {
    width: 28%;
    padding-inline: 4px;
  }

  #topr {
    width: 72%;
    padding-inline: 4px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .7fr) minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .5fr);
  }

  #topr .topp1 .registerbtn {
    margin-inline: 4px !important;
    padding-inline: 7px;
    font-size: 11px;
  }

  #topr .topp2 .btns1,
  #topr .topp2 .mt10 {
    font-size: 10px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #step {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-annoucement {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    min-height: 31px;
    margin-top: 65px;
    padding: 2px 1px;
    border-bottom-color: rgb(242 185 40 / 22%);
    background: linear-gradient(90deg, #160c0f, #301216 50%, #160c0f);
    opacity: 1;
    visibility: visible;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-annoucement .container {
    display: flex !important;
    width: calc(100% - 15px);
    min-height: 24px;
    padding: 0;
    border-radius: 7px;
    background: rgb(9 13 18 / 62%);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-annoucement .a-icon {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgb(255 211 90 / 38%);
    background: rgb(242 185 40 / 13%);
    color: var(--home-gold);
    font-size: 10px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-annoucement .a-text {
    display: block !important;
    overflow: hidden;
    color: #eee8df;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .025em;
    white-space: nowrap;
    padding: 2px 0 0 0;
    margin: 0 0 -2px 0;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-annoucement .a-text marquee {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-annoucement .js-marquee-wrapper {
    width: max-content !important;
    animation: none !important;
    transform: none !important;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-annoucement .js-marquee {
    float: none !important;
    margin: 0 !important;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-banner {
    width: calc(100% - 16px);
    margin: 8px auto 0;
    border-width: 1px;
    border-color: rgb(242 185 40 / 62%);
    border-radius: 15px;
    box-shadow: 0 14px 30px rgb(0 0 0 / 52%), 0 0 0 1px rgb(242 185 40 / 8%);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-banner .carousel-control {
    width: 34px;
    height: 34px;
    margin-inline: 8px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot {
    min-height: 86px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .container {
    min-height: 86px;
    padding: 7px 10px;
    grid-template-columns: minmax(0, 1.15fr) minmax(140px, .85fr);
    gap: 7px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .j-img {
    height: 70px;
    min-height: 70px;
    background-size: contain !important;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .jackpotNumber {
    min-height: 58px;
    padding: 7px 8px;
    border-radius: 11px;
    font-size: clamp(16px, 5vw, 24px);
    letter-spacing: .015em;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .jackpotNumber::before {
    margin-bottom: 4px;
    font-size: 7px;
    letter-spacing: .14em;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content {
    width: 100%;
    max-width: 100%;
    padding-bottom: 82px;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 50% 0, rgb(85 17 21 / 28%), transparent 25rem),
      #090d12;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 10px;
    border-bottom: 0;
    background: linear-gradient(180deg, rgb(13 17 23 / 98%), rgb(8 12 17 / 98%));
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b {
    min-width: 0;
    width: auto;
    padding: 0;
    background-color: transparent;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 54px;
    padding: 7px 12px 7px 8px;
    overflow: hidden;
    border: .75px solid var(--home-gold);
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd25b, #eda514 72%);
    box-shadow: 0 8px 18px rgb(0 0 0 / 30%), 0 0 16px rgb(242 185 40 / 12%), inset 0 1px rgb(255 255 255 / 36%);
    color: #111317;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .055em;
    text-align: left;
    text-shadow: none;
    transition: border-color .2s ease, filter .2s ease, transform .2s ease;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b:nth-child(2) a {
    border-color: var(--home-gold);
    background: linear-gradient(145deg, #151a21, #0d1117);
    box-shadow: 0 10px 22px rgb(0 0 0 / 36%), inset 0 1px rgb(255 255 255 / 6%);
    color: #efeff1;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b a .fa {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 16%);
    border-color: rgb(17 19 23 / 20%);
    border-radius: 9px;
    background: rgb(17 19 23 / 9%);
    color: #261a03;
    font-size: 19px;
    line-height: 1;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b:nth-child(2) a .fa {
    border-color: rgb(255 211 90 / 24%);
    background: rgb(242 185 40 / 10%);
    color: var(--home-gold-soft);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b a::after {
    margin-left: auto;
    color: rgb(17 19 23 / 62%);
    content: '\f054';
    font-family: FontAwesome;
    font-size: 10px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b a:hover,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b a:focus {
    border-color: rgb(255 226 138 / 72%);
    filter: brightness(1.1);
    text-decoration: none;
    transform: translateY(-1px);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b a:active {
    transform: translateY(1px);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .ct2b:nth-child(2) a::after {
    color: rgb(255 255 255 / 52%);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .accor {
    margin: -5px 9px 14px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background: linear-gradient(145deg, #10151c, #080c11 72%);
    box-shadow: 0 16px 34px rgb(0 0 0 / 44%), inset 0 1px rgb(255 255 255 / 4%);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .accor-title,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .accor-title.active {
    padding: 11px 14px 10px;
    border-block: 0 1px solid rgb(255 211 90 / 38%);
    background-color: #a85b1c;
    background-image: linear-gradient(180deg, #f2c13e, #a85b1c) !important;
    color: #fff;
    font-weight: 800;
    letter-spacing: .045em;
    text-shadow: 0 1px 3px rgb(44 24 3 / 58%);
    text-transform: uppercase;
    filter: none;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .accor-title > span {
    top: 7px;
    right: 10px;
    padding: 5px 11px;
    border: 1px solid rgb(255 211 90 / 66%);
    border-radius: 14px;
    background: #4a3d1b;
    color: var(--home-gold-soft);
    font-size: 10px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-content .accor-title > span::before {
    content: none;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-t {
    margin: 0;
    padding: 8px 6px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    background: linear-gradient(180deg, #10151c, #090d12);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-t .ii {
    width: 92px;
    margin: 0 3px;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background-color: #151a21;
    box-shadow: inset 0 1px rgb(255 255 255 / 4%);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-t .ii.pvd.all .ii-tt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(69px, calc(59px + 2vw), 75px);
    padding: 0;
    text-align: center;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-t .ii.aaa,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-t .ii:hover {
    border-color: rgb(255 211 90 / 72%);
    background-color: #383526;
    background-image: none !important;
    box-shadow: inset 0 0 16px rgb(242 185 40 / 8%);
    color: #fff;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-tarr {
    border-left: 1px solid rgb(255 211 90 / 52%);
    background: #e1b72e;
    color: #2b2204;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-c {
    padding: 3px 0;
    background: #080c11;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-c .ll,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-c .rr {
    float: none;
    width: 100%;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-c .ll .ii {
    margin: 1px 3px;
    padding: 0 15px;
    border: 1px solid var(--home-line);
    border-radius: 5px;
    background: #11151b;
    line-height: 32px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-c .ll .ii.aaa,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-c .ll .ii:hover {
    border-color: var(--home-gold-soft);
    background-color: #eda514;
    background-image: linear-gradient(135deg, #ffd25b, #eda514 72%) !important;
    color: #111317;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .searchbar input {
    height: 35px;
    border: 1px solid #55595f;
    border-radius: 4px;
    background: rgb(12 16 22 / 82%);
    color: #f3f3f4;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .g8sggl-b {
    padding: 9px 7px 11px;
    background: #080c11;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .glbox {
    margin: -3px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .glbox .gl {
    width: 33.3333%;
    padding: 5px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .glbox .gl .glimg {
    border: 1px solid rgb(255 211 90 / 48%);
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background-color: #171c24;
    box-shadow: 0 8px 18px rgb(0 0 0 / 30%);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .glbox .gl .gltext {
    padding: 2px 5px;
    border: 1px solid rgb(255 211 90 / 48%);
    border-top: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #8d1b23, #551115);
    color: #fff7d7;
    font-weight: 700;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .glbox .gl .glp {
    min-height: 25px;
    border: 1px solid rgb(255 211 90 / 38%);
    border-top: 0;
    border-radius: 0 0 4px 4px;
    background-color: #1b1e22;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8sggl .rtp-container {
    border-inline: 1px solid rgb(255 211 90 / 38%);
    background: #242932;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #mob-footer .col-xs-3:first-child > a {
    border-color: rgb(255 211 90 / 36%);
    background: linear-gradient(145deg, rgb(242 185 40 / 18%), rgb(85 17 21 / 72%));
    color: var(--home-gold-soft);
  }

}

@media (prefers-reduced-motion: reduce) {
  #content #tab1 > li > a,
  #content .deposit-type .item,
  #mob-content .deposit-type .item,
  #confirm-form .form-control,
  #confirm-form-2 .form-control,
  #confirm-form .CommonBtt2,
  #confirm-form-2 .CommonBtt2,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .stepbox,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .hpbox img,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .g8-banner .carousel-control {
    transition: none;
  }
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #jackpot .jackpotNumber,
  #annoucement .a-icon,
  #announcement .a-icon,
  #mob-annoucement .a-icon,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .worldcup-btn {
    animation: none;
  }
}

/* Shared homepage interactions and browser chrome. */
body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) ::selection {
  background: rgb(247 194 53 / 32%);
  color: #fff7d7;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) ::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) ::-webkit-scrollbar-track {
  background: #0b0f14;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) ::-webkit-scrollbar-thumb {
  border: 2px solid #0b0f14;
  border-radius: 10px;
  background: linear-gradient(180deg, #f2b928, #a9760f);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd35a, #c78c12);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #footer a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: var(--home-gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
  content: "";
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #footer a:hover {
  color: var(--home-gold-soft);
  text-decoration: none;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) #footer a:hover::after {
  transform: scaleX(1);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .float-icons a {
  transition: box-shadow .2s ease, filter .2s ease, transform .2s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .float-icons a:hover {
  filter: brightness(1.08);
  transform: scale(1.12);
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .worldcup-btn {
  animation: home3-float 3.2s ease-in-out infinite;
  transition: box-shadow .2s ease, transform .2s ease;
}

body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m) .worldcup-btn:hover {
  box-shadow: 0 0 18px rgb(247 194 53 / 45%);
  transform: scale(1.08);
}

@keyframes home3-jackpot-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgb(247 194 53 / 30%));
  }

  50% {
    filter: drop-shadow(0 0 20px rgb(247 194 53 / 55%));
  }
}

@keyframes home3-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(247 194 53 / 35%);
  }

  70% {
    box-shadow: 0 0 0 7px rgb(247 194 53 / 0%);
  }
}

@keyframes home3-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Public index actions and shared mobile sidebar ----------------------------- */
@media (max-width: 768px) {
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 11px 10px 8px;
    background: linear-gradient(180deg, #0c1117, #080b0f);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct .ctl,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct .ctr {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
    background: transparent;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct .clearfix {
    display: none;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    gap: 10px;
    padding: 8px 34px 8px 9px;
    overflow: hidden;
    border: .75px solid rgb(255 208 75 / 72%);
    border-radius: 13px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .05em;
    text-shadow: none !important;
    text-transform: uppercase;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct .ctl a {
    background: linear-gradient(145deg, #66141a, #320b0f 72%);
    box-shadow: 0 9px 20px rgb(0 0 0 / 35%), inset 0 1px rgb(255 255 255 / 10%);
    color: #fff3d1;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct .ctr a {
    background: linear-gradient(145deg, #ffd56b, #eda815 72%);
    box-shadow: 0 9px 22px rgb(0 0 0 / 35%), inset 0 1px rgb(255 255 255 / 42%);
    color: #211500;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a .fa {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    margin: 0;
    border: 1px solid rgb(131 118 84 / 66%);
    border-radius: 10px;
    background: rgb(149 52 6 / 17%);
    font-size: 19px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a::after {
    position: absolute;
    right: 13px;
    content: "\203A";
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    opacity: .72;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a:hover,
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a:focus {
    filter: brightness(1.08);
    text-decoration: none;
    transform: translateY(-1px);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a:active {
    transform: translateY(1px) scale(.99);
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) .g8sggl {
    min-height: 0 !important;
  }

  /* Shared by homepage, account, authentication, and registration pages. */
  #showM.active {
    transform: translate3d(var(--mobile-sidebar-width), 0, 0);
  }

  body:has(#showM.active) {
    overflow: hidden;
    overscroll-behavior: none;
  }

  #mob-bar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 6;
    box-sizing: border-box;
    width: var(--mobile-sidebar-width);
    height: 100vh;
    height: 100dvh;
    padding: 12px 13px max(24px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-right: 1px solid rgb(255 207 65 / 48%);
    background:
      radial-gradient(circle at 20% 0, rgb(155 24 34 / 28%), transparent 36%),
      linear-gradient(160deg, #160c10, #090c11 56%, #05070a);
    box-shadow: 18px 0 42px rgb(0 0 0 / 56%);
    color: #d8d5d2;
    scrollbar-color: #a77213 #0a0d11;
    scrollbar-width: thin;
  }

  #mob-con {
    min-height: 100vh;
    min-height: 100dvh;
  }

  #mob-bar h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 13px 12px;
    border: 1px solid rgb(255 210 83 / 25%);
    border-radius: 12px;
    background: linear-gradient(135deg, rgb(129 18 27 / 78%), rgb(55 9 14 / 88%));
    box-shadow: inset 0 1px rgb(255 255 255 / 8%);
    color: #ffe09a;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  #mob-bar h4::before {
    display: none;
    content: none;
  }

  #mob-bar .mob-bar-info {
    display: grid;
    margin: -3px 0 12px;
    padding: 11px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 25px 34px;
    gap: 8px;
    align-items: center;
    border: 1px solid rgb(255 210 83 / 22%);
    border-radius: 12px;
    background:
      radial-gradient(circle at 100% 0, rgb(144 19 28 / 17%), transparent 58%),
      linear-gradient(145deg, rgb(255 255 255 / 5%), rgb(0 0 0 / 22%));
    box-shadow: inset 0 1px rgb(255 255 255 / 5%), 0 8px 18px rgb(0 0 0 / 16%);
    color: #b8b2ac;
    font-size: 12px;
    line-height: 25px;
  }

  #mob-bar .mob-bar-info .j-name {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
    justify-self: end;
    color: #ffd15d;
    font-size: 13px;
    font-weight: 800;
    line-height: 25px;
  }

  #mob-bar .mob-bar-info .sw-a {
    display: inline-flex !important;
    grid-column: 2;
    grid-row: 2;
    min-width: 61px;
    min-height: 34px;
    padding: 0 9px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgb(255 205 63 / 27%);
    border-radius: 9px;
    background: linear-gradient(145deg, rgb(83 15 21 / 58%), rgb(18 8 11 / 72%));
    box-shadow: inset 0 1px rgb(255 255 255 / 5%);
    color: transparent;
    font-size: 0;
    line-height: 1;
  }

  #mob-bar .mob-bar-info .sw-a::before {
    display: grid;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    place-items: center;
    border: 1px solid #ffdc73;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #fff2ab, #efb729 45%, #a46606 100%);
    box-shadow: 0 3px 8px rgb(0 0 0 / 32%), inset 0 1px rgb(255 255 255 / 58%);
    color: #4b2a00;
    content: "$";
    font: 900 11px/1 Arial, sans-serif;
  }

  #mob-bar .mob-bar-info .sw-b {
    margin: 0;
    color: #f0c34d;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }

  #mob-bar .mob-bar-info .blbbox {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    min-height: 34px;
    padding: 0 4px 0 0;
    align-items: center;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgb(255 211 90 / 27%);
    border-radius: 9px;
    background: linear-gradient(145deg, rgb(91 14 21 / 44%), rgb(28 9 13 / 62%));
    box-shadow: inset 0 1px rgb(255 255 255 / 5%);
    color: transparent;
    font-size: 10px;
    line-height: 1;
  }

  #mob-bar .mob-bar-info .g8-bal-total {
    overflow: hidden;
    color: #fff0c5;
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #mob-bar .mob-bar-info .refsh-wallet-all {
    display: grid !important;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    margin-left: auto !important;
    place-items: center;
    border-radius: 7px;
    background: rgb(255 211 90 / 10%);
    color: #f0bd37;
  }

  #mob-bar .mob-bar-info .g8-ss-fc {
    display: none;
  }

  #mob-bar > ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
  }

  #mob-bar li {
    margin: 0;
    border: 0;
    list-style: none;
  }

  #mob-bar > ul > li > a {
    display: flex !important;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    min-height: 39px;
    gap: 11px;
    padding: 3px 11px;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 10px;
    background: linear-gradient(135deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%));
    color: #e7e3df;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }

  #mob-bar > ul > li > a::after {
    margin-left: auto;
    color: #77736e;
    content: "\203A";
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    transition: color .18s ease, transform .18s ease;
  }

  #mob-bar > ul > li > a.mob-expand::after {
    content: "\2304";
    font-size: 15px;
    transform: translateY(-2px);
  }

  #mob-bar > ul > li.is-expanded > a.mob-expand::after {
    color: #ffd15d;
    transform: translateY(2px) rotate(180deg);
  }

  #mob-bar > ul > li > a .fa {
    display: grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid rgb(255 206 68 / 26%);
    border-radius: 8px;
    background: rgb(255 193 35 / 8%);
    color: #f5bd32;
    font-size: 15px;
  }

  #mob-bar > ul > li > a:hover,
  #mob-bar > ul > li > a:focus {
    border-color: rgb(255 205 63 / 40%);
    background: linear-gradient(135deg, rgb(139 22 31 / 62%), rgb(73 12 18 / 72%));
    color: #fff3cf;
    text-decoration: none;
    transform: translateX(2px);
  }

  #mob-bar > ul > li > a:hover::after,
  #mob-bar > ul > li > a:focus::after {
    color: #ffd15d;
  }

  #mob-bar > ul > li > a:has(.fa-unlock) {
    border-color: rgb(222 83 83 / 20%);
    background: linear-gradient(135deg, rgb(126 22 29 / 22%), rgb(42 8 12 / 20%));
    color: #d9aaa5;
  }

  #mob-bar > ul > li > a:has(.fa-unlock) .fa {
    border-color: rgb(229 100 100 / 22%);
    background: rgb(143 27 34 / 12%);
    color: #dc8b83;
  }

  #mob-bar .mob-lv2 {
    display: none;
    margin: 5px 0 2px 16px;
    padding: 5px 0 5px 12px;
    border-left: 1px solid rgb(255 203 55 / 38%);
    background: transparent;
  }

  #mob-bar li.is-expanded > .mob-lv2,
  #mob-bar .mob-lv2[aria-hidden="false"],
  #mob-bar .mob-lv2[style*="display: block"] {
    display: grid !important;
    gap: 2px;
  }

  #mob-bar .mob-lv2 a {
    display: flex;
    align-items: center;
    min-height: 36px;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    color: #bdb9b5;
    font-size: 12px;
    text-transform: uppercase;
  }

  #mob-bar .mob-lv2 a:hover,
  #mob-bar .mob-lv2 a:focus {
    background: rgb(255 255 255 / 6%);
    color: #ffd15d;
    text-decoration: none;
  }

  #mob-bar h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 9px;
    color: #e8b83c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  #mob-bar h3::after {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgb(255 198 45 / 45%), transparent);
    content: "";
  }

  #mob-bar h3 u {
    text-decoration: none;
  }

  #mob-bar > img {
    display: block;
    width: 100% !important;
    height: auto !important;
    padding: 8px;
    border: 1px solid rgb(255 255 255 / 8%) !important;
    border-radius: 10px;
    background: rgb(255 255 255 / 3%);
  }

  #mob-bar .paymentoption {
    margin-top: 16px;
    padding: 1px 9px 10px;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 10px;
    background: rgb(255 255 255 / 3%);
  }

  #mob-bar .paymentoption span {
    display: inline-block;
    box-sizing: content-box;
    height: 20px;
    margin: 5px 8px 0 0;
    padding: 0;
    background-image: url("https://roda.id-net.work/img/metode.png");
    background-repeat: no-repeat;
    background-size: 375px 20px;
    vertical-align: top;
  }

  #mob-bar .paymentoption .bankbca {
    width: 67px;
    background-position: 0 0;
  }

  #mob-bar .paymentoption .bankmandiri {
    width: 69px;
    background-position: -67px 0;
  }

  #mob-bar .paymentoption .bankbni {
    width: 75px;
    background-position: -136px 0;
  }

  #mob-bar .paymentoption .bankdanamon {
    width: 79px;
    background-position: -211px 0;
  }

  #mob-bar .paymentoption .bankbri {
    width: 85px;
    background-position: -290px 0;
  }

  #mob-bar .copyright {
    width: 100%;
    margin-top: 14px;
    padding: 10px 0;
    color: #817d79;
    font-size: 10px;
    text-align: center;
  }

  #mob-overlay {
    position: fixed;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgb(0 0 0 / 62%);
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 380px) {
  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a {
    gap: 7px;
    padding-right: 26px;
    font-size: 12px;
  }

  body:has(#banner.g8-banner-d):has(#mob-banner.g8-banner-m):has(#mob-content > .ct) #mob-content > .ct a .fa {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
}

/* Public index registration modal ----------------------------------------- */
body:has(#banner.g8-banner-d):has(#topr #login-form):has(#Join.in) .modal-backdrop.in {
  background: #05070a;
  opacity: .82;
  backdrop-filter: blur(4px);
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join {
  padding-inline: 12px !important;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-dialog {
  width: min(900px, calc(100% - 32px));
  margin: 4vh auto 24px;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(247 194 53 / 68%);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgb(149 13 21 / 22%), transparent 23rem),
    linear-gradient(145deg, #11151b, #070a0e 72%);
  box-shadow:
    0 28px 70px rgb(0 0 0 / 72%),
    0 0 0 1px rgb(255 255 255 / 4%) inset,
    0 1px rgb(255 255 255 / 8%) inset;
  color: #eee9e0;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-content::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd35a 24%, #9b111b 72%, transparent);
  content: "";
  pointer-events: none;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-header {
  position: relative;
  min-height: 72px;
  padding: 20px 58px 18px 24px;
  border-bottom: 1px solid rgb(247 194 53 / 22%);
  background: linear-gradient(115deg, rgb(91 12 18 / 92%), rgb(38 9 13 / 88%));
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #fff2c2;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: .085em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgb(0 0 0 / 38%);
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-title::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 211 90 / 42%);
  border-radius: 10px;
  background: rgb(247 194 53 / 13%);
  color: #ffd35a;
  content: "\f234";
  font: normal normal normal 16px/1 FontAwesome;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-header .close {
  position: absolute;
  top: 50%;
  right: 19px;
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 9px;
  background: rgb(0 0 0 / 25%);
  color: #d6d0c8;
  font-size: 25px;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
  transform: translateY(-50%);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-header .close:hover,
body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-header .close:focus {
  border-color: rgb(255 211 90 / 42%);
  background: rgb(141 27 35 / 50%);
  color: #fff2c2;
  outline: 0;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-body {
  max-height: calc(100vh - 230px);
  max-height: calc(100dvh - 230px);
  padding: 22px 24px 24px;
  overflow-y: auto;
  scrollbar-color: rgb(247 194 53 / 48%) #0b0e13;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join fieldset {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
  border: 0;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .control-group {
  min-width: 0;
  margin: 0;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .control-group:last-child {
  display: none;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .control-label {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 7px;
  color: #e8decf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .control-label::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border: 1px solid rgb(255 211 90 / 72%);
  border-radius: 50%;
  background: rgb(247 194 53 / 15%);
  box-shadow: 0 0 7px rgb(247 194 53 / 18%);
  content: "";
  vertical-align: 1px;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .controls {
  margin: 0;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .form-control {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 10px;
  outline: 0;
  background: linear-gradient(145deg, rgb(5 8 12 / 82%), rgb(20 14 18 / 74%));
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 32%);
  color: #fff4d8;
  font-size: 13px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join select.form-control {
  padding-right: 36px;
  color: #ddd5c9;
  cursor: pointer;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .form-control::placeholder {
  color: #85868a;
  opacity: 1;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .form-control:hover {
  border-color: rgb(247 194 53 / 34%);
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .form-control:focus {
  border-color: #e8b534;
  background: #11151b;
  box-shadow: 0 0 0 3px rgb(247 194 53 / 11%), inset 0 2px 5px rgb(0 0 0 / 28%);
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .form-control.error {
  border-color: #d95757;
  box-shadow: 0 0 0 3px rgb(217 87 87 / 10%);
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join label.error {
  display: block;
  margin: 5px 0 0;
  color: #ef8d86;
  font-size: 10px;
  letter-spacing: .02em;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join > .modal-body + div[style*="height"] {
  display: none;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer {
  display: flex;
  min-height: 78px;
  padding: 15px 24px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgb(247 194 53 / 22%);
  background: linear-gradient(180deg, rgb(35 9 13 / 72%), rgb(12 8 10 / 94%));
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer::before {
  margin-right: auto;
  color: #918c84;
  content: "Secure account registration";
  font-size: 11px;
  letter-spacing: .04em;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .btn {
  min-width: 112px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .closeBtt {
  border: 1px solid rgb(255 255 255 / 18%);
  background: linear-gradient(145deg, #252a31, #15191f);
  color: #d7d3cc;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .CommonBtt {
  border: 1px solid #ffe08a;
  background: linear-gradient(145deg, #ffd766, #e4a616 75%);
  box-shadow: 0 9px 20px rgb(0 0 0 / 30%), inset 0 1px rgb(255 255 255 / 50%);
  color: #271800;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .btn:hover,
body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .btn:focus {
  color: inherit;
  outline: 0;
  transform: translateY(-1px);
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .closeBtt:hover,
body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .closeBtt:focus {
  border-color: rgb(255 211 90 / 32%);
  background: linear-gradient(145deg, #303640, #1b2027);
  color: #fff;
}

body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .CommonBtt:hover,
body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .CommonBtt:focus {
  background: linear-gradient(145deg, #ffe38b, #efb221 75%);
  box-shadow: 0 12px 25px rgb(0 0 0 / 36%), 0 0 18px rgb(247 194 53 / 14%), inset 0 1px rgb(255 255 255 / 56%);
  color: #1e1200;
}

@media (max-width: 768px) {
  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join {
    padding-inline: 4px !important;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-dialog {
    width: calc(100% - 16px);
    margin: 10px auto;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-content {
    border-radius: 14px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-header {
    min-height: 61px;
    padding: 15px 50px 14px 16px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-title {
    gap: 9px;
    font-size: 20px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-title::before {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-header .close {
    right: 13px;
    width: 32px;
    height: 32px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-body {
    max-height: calc(100vh - 145px);
    max-height: calc(100dvh - 145px);
    padding: 16px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join fieldset {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join #ajax-form-join .form-control {
    height: 42px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer {
    min-height: 68px;
    padding: 12px 16px;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer::before {
    display: none;
  }

  body:has(#banner.g8-banner-d):has(#topr #login-form) #Join .modal-footer .btn {
    min-width: 0;
    flex: 1 1 0;
  }
}

/* Public desktop header: login form and account actions ---------------------- */
@media (min-width: 769px) {
  body:has(#topr #login-form) #top > .container {
    width: min(1050px, calc(100% - 28px)) !important;
    gap: 20px !important;
  }

  body:has(#topr #login-form) #logo img {
    max-width: 280px;
  }

  body:has(#topr #login-form) #topr {
    display: grid !important;
    flex: 0 1 540px !important;
    width: min(540px, calc(100% - 220px)) !important;
    min-width: 540px;
    max-width: 540px !important;
    min-height: 64px;
    grid-template-columns: 160px 160px 80px 116px !important;
    grid-template-rows: 35px 24px !important;
    column-gap: 8px !important;
    row-gap: 5px !important;
    align-items: center !important;
  }

  body:has(#topr #login-form) #topr .topp1 {
    display: contents !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    margin: 0 !important;
  }

  body:has(#topr #login-form) #topr .topp1 .registerbtn:not(.depositbtn) {
    display: flex !important;
    grid-column: 4 !important;
    grid-row: 1 !important;
    width: 100%;
    height: 35px !important;
    min-height: 35px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    flex-direction: row;
    gap: 6px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #ffe19a !important;
    border-radius: 10px !important;
    background: linear-gradient(145deg, #ffd96b, #e9a716 74%) !important;
    box-shadow: 0 10px 24px rgb(0 0 0 / 28%), inset 0 1px rgb(255 255 255 / 55%) !important;
    color: #281800 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .07em !important;
    line-height: 1 !important;
    text-shadow: none !important;
  }

  body:has(#topr #login-form) #topr .topp1 .registerbtn:not(.depositbtn)::before {
    display: grid !important;
    width: 22px;
    height: 22px;
    margin: 0 !important;
    place-items: center;
    border: 1px solid rgb(255 211 90 / 42%);
    border-radius: 7px;
    background: #30343a;
    color: #ffd35a;
    content: "\f234" !important;
    font: normal normal normal 12px/1 FontAwesome;
  }

  body:has(#topr #login-form) #topr .topp1 .registerbtn:not(.depositbtn):hover,
  body:has(#topr #login-form) #topr .topp1 .registerbtn:not(.depositbtn):focus {
    border-color: #fff0bd !important;
    background: linear-gradient(145deg, #ffe48c, #f2b521 74%) !important;
    box-shadow: 0 13px 27px rgb(0 0 0 / 34%), 0 0 18px rgb(255 198 53 / 20%), inset 0 1px rgb(255 255 255 / 66%) !important;
    color: #1f1300 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
  }

  body:has(#topr #login-form) #topr .topp2 {
    display: contents !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:has(#topr #login-form) #topr .topp2 .tar:first-child {
    display: contents !important;
    grid-row: auto !important;
    min-width: 0;
  }

  body:has(#topr #login-form) #login-form {
    display: contents;
  }

  body:has(#topr #login-form) #topr .topp2 #login-form .dib {
    position: relative;
    display: block !important;
    width: auto !important;
    height: 35px !important;
    min-width: 0;
    margin: 0 !important;
  }

  body:has(#topr #login-form) #login-form > .input-group:first-child {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body:has(#topr #login-form) #login-form > .input-group:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body:has(#topr #login-form) #login-form > .dib:last-child {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body:has(#topr #login-form) #login-form .input-group::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 12px;
    color: #e8b836;
    font: normal normal normal 13px/1 FontAwesome;
    pointer-events: none;
    transform: translateY(-50%);
  }

  body:has(#topr #login-form) #login-form .input-group:first-child::before {
    content: "\f007";
  }

  body:has(#topr #login-form) #login-form .input-group:nth-child(2)::before {
    content: "\f023";
  }

  body:has(#topr #login-form) #login-form .form-control {
    width: 100%;
    height: 35px;
    padding: 0 11px 0 34px;
    border: 1px solid rgb(255 255 255 / 13%);
    border-radius: 9px !important;
    outline: none;
    background: rgb(5 8 12 / 58%);
    box-shadow: inset 0 1px 4px rgb(0 0 0 / 35%);
    color: #fff4da;
    font-size: 12px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  body:has(#topr #login-form) #login-form .form-control::placeholder {
    color: #9d9994;
    opacity: 1;
  }

  body:has(#topr #login-form) #login-form .form-control:hover {
    border-color: rgb(255 207 71 / 30%);
  }

  body:has(#topr #login-form) #login-form .form-control:focus {
    border-color: #eeb72e;
    background: rgb(8 10 14 / 78%);
    box-shadow: 0 0 0 2px rgb(238 183 46 / 13%), inset 0 1px 4px rgb(0 0 0 / 30%);
  }

  body:has(#topr #login-form) #login-form .btns1:not(.openmis) {
    display: flex !important;
    width: 100%;
    height: 35px !important;
    min-height: 35px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid rgb(255 219 115 / 55%) !important;
    border-radius: 9px !important;
    background: linear-gradient(145deg, #8e1820, #570d13) !important;
    box-shadow: inset 0 1px rgb(255 255 255 / 12%), 0 5px 12px rgb(0 0 0 / 24%) !important;
    color: #fff0c9 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
    line-height: 1 !important;
    text-transform: uppercase;
  }

  body:has(#topr #login-form) #login-form .btns1:not(.openmis):hover,
  body:has(#topr #login-form) #login-form .btns1:not(.openmis):focus {
    border-color: #f5ca57 !important;
    background: linear-gradient(145deg, #aa2029, #681018) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
  }

  body:has(#topr #login-form) #topr .topp2 .topp2b {
    display: flex !important;
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    box-sizing: border-box;
    width: 100%;
    height: 24px !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 10px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, rgb(90 4 11 / 34%), rgb(47 3 7 / 12%)) !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body:has(#topr #login-form) #topr .topp2 .topp2b > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #c8c2bb;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .015em;
    white-space: nowrap;
  }

  body:has(#topr #login-form) #topr .topp2 .topp2b > a::before {
    color: #dbaa2d;
    content: "\f059";
    font: normal normal normal 10px/1 FontAwesome;
  }

  body:has(#topr #login-form) #topr .topp2 .topp2b > a:hover,
  body:has(#topr #login-form) #topr .topp2 .topp2b > a:focus {
    color: #ffd35a;
    text-decoration: none;
  }

  body:has(#topr #login-form) #topr .topp2 .topp2b > label {
    display: inline-flex;
    margin: 0 !important;
    align-items: center;
    gap: 6px;
    color: #bcb6af;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    white-space: nowrap;
  }

  body:has(#topr #login-form) #topr .loginhelpremember {
    position: relative;
    width: 14px;
    height: 14px;
    margin: 0 !important;
    border: 1px solid rgb(255 213 94 / 42%);
    border-radius: 4px;
    appearance: none;
    background: rgb(4 6 9 / 48%);
    cursor: pointer;
  }

  body:has(#topr #login-form) #topr .loginhelpremember:checked {
    border-color: #f0bd37;
    background: linear-gradient(145deg, #ffd45e, #d99a13);
  }

  body:has(#topr #login-form) #topr .loginhelpremember:checked::after {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #261700;
    content: "\f00c";
    font: normal normal normal 8px/1 FontAwesome;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 769px) and (max-width: 940px) {
  body:has(#topr #login-form) #top > .container {
    gap: 14px !important;
  }

  body:has(#topr #login-form) #logo img {
    max-width: 200px;
  }

  body:has(#topr #login-form) #topr {
    min-width: 500px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) 72px 96px !important;
    gap: 6px !important;
  }
}
