/* Profilim modal / üye header - ayrı ve izole dosya */
body.bb-profile-standalone {
  margin: 0;
  min-height: 100vh;
  background: #0f1014;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  overflow: hidden
}

body.bb-profile-standalone .bb-profile-fragment>template {
  display: none !important
}

body.bb-profile-standalone #bbProfileModal {
  display: block
}

body.bb-profile-standalone #bbInboxModal {
  display: none
}

body.bb-profile-standalone .bb-modal-backdrop {
  background: radial-gradient(circle at top, #202127, rgba(0, 0, 0, .82) 42%, rgba(0, 0, 0, .9));
  backdrop-filter: blur(2px)
}

body.is-logged-in .header-actions>[data-open-auth] {
  display: none !important
}

body.is-guest .header-actions>[data-open-auth] {
  display: inline-flex
}

.bb-member-actions {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0
}

body.is-logged-in .bb-member-actions {
  display: flex
}

body.is-guest .bb-member-actions {
  display: none !important
}

.bb-member-actions svg,
.bb-profile-dropdown svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto
}

.bb-profile-fragment svg path,
.bb-profile-fragment svg circle,
.bb-profile-fragment svg rect {
  vector-effect: non-scaling-stroke
}

.bb-member-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 9px;
  text-decoration: none;
  color: #111 !important;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35)
}

.bb-member-deposit {
  background: linear-gradient(180deg, #45f28a, #16bd58)
}

.bb-member-withdraw {
  background: linear-gradient(180deg, #e5cd18, #dfc326);
}

.bb-member-balance {
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: #22242a;
  color: #fff;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap
}

.bb-member-balance small {
  color: #a6abb5;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase
}

.bb-member-balance b {
  font-size: 12px;
  color: #fff
}

.bb-member-icon {
  position: relative;
  width: 34px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: #2b2d35;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer
}

.bb-member-icon i {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: #00e764;
  color: #111;
  font-style: normal;
  font-size: 9px;
  font-weight: 950;
  display: grid;
  place-items: center;
  padding: 0 4px
}

.bb-profile-menu {
  position: relative
}

.bb-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #00e764, #00e764);
  color: #151515;
  display: inline-grid;
  place-items: center;
  font-weight: 950;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
  flex: 0 0 auto
}

.bb-avatar.lg {
  width: 40px;
  height: 40px;
  font-size: 15px
}

.bb-profile-trigger {
  height: 34px;
  border: 1px solid rgba(0, 231, 100, 0.49);
  border-radius: 10px;
  background: linear-gradient(180deg, #25262c, #1a1b20);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  cursor: pointer
}

.bb-profile-trigger span:not(.bb-avatar) {
  font-size: 12px;
  font-weight: 950
}

.bb-profile-trigger em {
  font-style: normal;
  color: #00e764;
  font-size: 10px;
  font-weight: 950
}

.bb-profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 420;
  width: 278px;
  max-height: min(650px, calc(100vh - 82px));
  overflow: auto;
  display: none;
  padding: 8px;
  border-radius: 14px;
  background: #18191f;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .58)
}

.bb-profile-menu.is-open .bb-profile-dropdown {
  display: grid;
  gap: 4px
}

.bb-profile-drop-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px 10px;
  margin-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.bb-profile-drop-user b {
  display: block;
  color: #fff;
  font-size: 13px
}

.bb-profile-drop-user small {
  display: block;
  color: #00e764;
  font-size: 10px;
  font-weight: 900
}

.bb-profile-dropdown button {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #dfe2e8;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 9px;
  cursor: pointer;
  font-weight: 850;
  text-align: left
}

.bb-profile-dropdown button:hover {
  background: #262832;
  color: #fff
}

.bb-profile-dropdown button svg {
  color: #00e764
}

.bb-profile-dropdown button span {
  flex: 1
}

.bb-profile-dropdown button em {
  font-style: normal;
  font-size: 10px;
  color: #00e764
}

.bb-profile-dropdown .bb-profile-logout {
  color: #ff9ba7
}

.bb-profile-dropdown .bb-profile-logout svg {
  color: #ff6e7c
}

.bb-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none
}

.bb-modal.is-open {
  display: block
}

.bb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .74);
  backdrop-filter: blur(3px)
}

.bb-profile-panel {
  position: relative;
  width: min(1180px, calc(100vw - 28px));
  height: min(760px, calc(100dvh - 28px));
  margin: 14px auto;
  background: #121318;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff
}

.bb-profile-head {
  height: 66px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, #1d1e24, #15161b)
}

.bb-profile-title {
  display: flex;
  align-items: center;
  gap: 10px
}

.bb-profile-title h2 {
  margin: 0;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 24px;
  letter-spacing: .2px
}

.bb-profile-title p {
  margin: 2px 0 0;
  color: #a8adb7;
  font-size: 12px;
  font-weight: 750
}

.bb-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #2a2c34;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer
}

.bb-profile-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 260px 1fr
}

.bb-profile-sidebar {
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: #15161b;
  display: flex;
  flex-direction: column
}

.bb-user-card {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #092a17, rgba(255, 255, 255, .035));
  border: 1px solid #00e764
}

.bb-user-card b {
  display: block;
  color: #fff;
  font-size: 13px
}

.bb-user-card small {
  display: block;
  color: #00e764;
  font-size: 11px;
  font-weight: 950
}

.bb-profile-nav {
  padding: 0 10px 12px;
  overflow: auto;
  display: grid;
  gap: 5px
}

.bb-profile-nav button {
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #c7ccd6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  cursor: pointer;
  font-weight: 850;
  text-align: left
}

.bb-profile-nav button.active,
.bb-profile-nav button:hover {
  background: #24262d;
  color: #fff
}

.bb-profile-content {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: linear-gradient(180deg, #121318, #101116)
}

.bb-mobile-select {
  display: none;
  position: relative;
  margin-bottom: 10px;
  z-index: 6
}

.bb-mobile-select-trigger {
  width: 100%;
  height: 42px;
  border: 1px solid #00e764;
  border-radius: 11px;
  background: linear-gradient(180deg, #1f2026, #17181d);
  color: #fff;
  padding: 0 12px;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04)
}

.bb-mobile-select-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #00e764;
  transition: .18s
}

.bb-mobile-select.is-open .bb-mobile-select-trigger {
  border-color: rgba(0, 231, 100, .55);
  border-radius: 11px 11px 0 0
}

.bb-mobile-select.is-open .bb-mobile-select-trigger svg {
  transform: rotate(180deg)
}

.bb-mobile-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  display: none;
  max-height: 252px;
  overflow: auto;
  padding: 6px;
  background: #17181d;
  border: 1px solid rgba(0, 231, 100, 0.49);
  border-top: 0;
  border-radius: 0 0 13px 13px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .45)
}

.bb-mobile-select.is-open .bb-mobile-select-menu {
  display: grid;
  gap: 3px
}

.bb-mobile-select-menu button {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e7eaf0;
  text-align: left;
  padding: 0 11px;
  font-weight: 850;
  cursor: pointer
}

.bb-mobile-select-menu button:hover,
.bb-mobile-select-menu button.active {
  background: #252730;
  color: #00e764
}

.bb-section {
  display: none
}

.bb-section.active {
  display: block
}

.bb-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px
}

.bb-section-head h3 {
  margin: 0;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 26px;
  line-height: 1
}

.bb-section-head p {
  margin: 5px 0 0;
  color: #a9aeb8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45
}

.bb-pill {
  height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(25, 199, 90, .12);
  color: #75eea4;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap
}

.bb-pill.warn {
  background: #202127;
  color: #00e764
}

.bb-card {
  background: linear-gradient(180deg, #1b1c22, #17181d);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035)
}

.bb-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px
}

.bb-summary-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.bb-summary-grid>div {
  padding: 13px;
  border-radius: 15px;
  background: linear-gradient(145deg, #22242b, #18191f);
  border: 1px solid rgba(255, 255, 255, .07)
}

.bb-summary-grid span {
  display: block;
  color: #a6abb5;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase
}

.bb-summary-grid b {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 19px
}

.bb-summary-grid small {
  display: block;
  margin-top: 3px;
  color: #00e764;
  font-weight: 850
}

.bb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px
}

.bb-form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.bb-form-grid label,
.bb-field,
.bb-filter label {
  display: block;
  color: #9fa5b0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .25px
}

.bb-form-grid input,
.bb-form-grid select,
.bb-field select,
.bb-filter input,
.bb-filter select,
.bb-promo-box input {
  width: 100%;
  height: 40px;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: #111216;
  color: #fff;
  padding: 0 11px;
  outline: none;
  font-weight: 750;
  box-sizing: border-box
}

.bb-form-grid input:focus,
.bb-form-grid select:focus,
.bb-filter input:focus,
.bb-filter select:focus,
.bb-promo-box input:focus {
  border-color: rgba(0, 231, 100, .55)
}

.bb-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px
}

.bb-primary,
.bb-secondary,
.bb-danger,
.bb-upload button,
.bb-promo-box button {
  height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 950;
  cursor: pointer
}

.bb-primary {
  background: linear-gradient(180deg, #00e764, #00e764);
  color: #141414
}

.bb-secondary {
  background: #2b2d35;
  color: #fff
}

.bb-danger {
  background: rgba(240, 78, 94, .15);
  color: #ff9ba7;
  border: 1px solid rgba(240, 78, 94, .22)
}

.bb-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px
}

.bb-switch-grid label {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 13px;
  background: #17181d;
  border: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
  font-weight: 900
}

.bb-switch-grid span {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 auto
}

.bb-switch-grid input {
  display: none
}

.bb-switch-grid i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #363943;
  transition: .2s
}

.bb-switch-grid i:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: .2s
}

.bb-switch-grid input:checked+i {
  background: #19c75a
}

.bb-switch-grid input:checked+i:before {
  transform: translateX(20px)
}

.bb-doc-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 12px
}

.bb-upload {
  margin-top: 10px;
  border: 1px dashed rgba(0, 231, 100, .4);
  border-radius: 14px;
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  background: rgba(0, 231, 100, .04)
}

.bb-upload strong {
  display: block;
  color: #fff;
  font-size: 15px
}

.bb-upload p {
  margin: 0 0 11px;
  color: #a6abb5;
  font-size: 12px
}

.bb-rules {
  margin: 0;
  padding-left: 18px;
  color: #c4c8d0;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 650
}

.bb-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 9px;
  align-items: end;
  margin-bottom: 12px
}

.bb-table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .07)
}

.bb-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #15161b
}

.bb-table th {
  height: 38px;
  background: #202127;
  color: #aeb3bd;
  text-align: left;
  padding: 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25px
}

.bb-table td {
  height: 44px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 0 10px;
  color: #edf0f5;
  font-size: 12px;
  font-weight: 750
}

.bb-table button {
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #2a2c34;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer
}

.bb-badge {
  display: inline-flex;
  height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 950;
  font-style: normal
}

.bb-badge.green {
  background: rgba(25, 199, 90, .12);
  color: #60e895
}

.bb-badge.gold {
  background: rgba(0, 231, 100, .13);
  color: #00e764
}

.bb-badge.red {
  background: rgba(240, 78, 94, .13);
  color: #ff9ba7
}

.bb-badge.gray {
  background: rgba(255, 255, 255, .08);
  color: #cbd0da
}

.bb-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px
}

.bb-pagination button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: #282a31;
  color: #fff;
  font-weight: 900;
  cursor: pointer
}

.bb-pagination button.active {
  background: #00e764;
  color: #111
}

.bb-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow: auto
}

.bb-tabs button {
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #262832;
  color: #cbd0da;
  padding: 0 13px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer
}

.bb-tabs button.active {
  background: linear-gradient(180deg, #00e764, #00e764);
  color: #111
}

.bb-pane {
  display: none
}

.bb-pane.active {
  display: block
}

.bb-empty {
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  color: #aeb3bd;
  font-weight: 800;
  background: rgba(255, 255, 255, .025)
}

.bb-bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px
}

.bb-bonus-grid>div {
  border: 1px solid #00e764;
  border-radius: 15px;
  padding: 13px;
  background: linear-gradient(135deg, #092a17, rgba(255, 255, 255, .035))
}

.bb-bonus-grid h4 {
  margin: 0;
  color: #fff;
  font-size: 15px
}

.bb-bonus-grid p {
  margin: 6px 0 12px;
  color: #aeb3bd;
  font-size: 12px;
  line-height: 1.5
}

.bb-promo-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px
}

.bb-promo-box button {
  background: linear-gradient(180deg, #38e57b, #16bd58);
  color: #111
}

.bb-list {
  display: grid;
  gap: 8px
}

.bb-list>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 13px;
  background: #17181d;
  border: 1px solid rgba(255, 255, 255, .07)
}

.bb-list b {
  color: #fff;
  font-size: 13px
}

.bb-list span {
  color: #9fa5b0;
  font-size: 12px
}

.bb-inbox-panel {
  width: min(760px, calc(100vw - 30px));
  height: min(670px, calc(100dvh - 30px))
}

.bb-inbox-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: #111216
}

.bb-inbox-list {
  display: grid;
  gap: 8px
}

.bb-inbox-list article {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #191a20;
  border: 1px solid #00e764
}

.bb-inbox-list i {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #2b2d35;
  color: #00e764;
  display: grid;
  place-items: center;
  font-style: normal
}

.bb-inbox-list b {
  display: block;
  color: #fff;
  font-size: 13px
}

.bb-inbox-list p {
  margin: 4px 0 0;
  color: #aeb3bd;
  font-size: 12px
}

.bb-inbox-list time {
  color: #808792;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap
}

.bb-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 700;
  max-width: 330px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #1d1f26;
  border: 1px solid rgba(0, 231, 100, .24);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  font-size: 12px;
  font-weight: 850
}

.bb-toast b {
  display: block;
  color: #00e764;
  margin-bottom: 3px
}

@media(max-width: 1180px) {
  .bb-member-btn {
    padding: 0 9px
  }

  .bb-member-balance small {
    display: none
  }

  .bb-profile-trigger span:not(.bb-avatar),
  .bb-profile-trigger em {
    display: none
  }

  .bb-profile-panel {
    width: calc(100vw - 20px)
  }
}

@media(max-width: 720px) {
  body.is-logged-in .topbar {
    gap: 6px
  }

  .header-actions {
    gap: 5px;
    min-width: 0
  }

  .bb-member-actions {
    gap: 4px
  }

  .bb-member-btn {
    width: 31px;
    height: 30px;
    padding: 0;
    border-radius: 8px
  }

  .bb-member-btn span {
    display: none
  }

  .bb-member-btn svg {
    width: 15px;
    height: 15px
  }

  .bb-member-balance {
    height: 30px;
    max-width: fit-content;
    padding: 0 7px;
    border-radius: 8px
  }

  .bb-member-balance b {
    font-size: 10px
  }

  .bb-member-icon {
    width: 31px;
    height: 30px;
    border-radius: 8px
  }

  .bb-member-icon svg {
    width: 15px;
    height: 15px
  }

  .bb-profile-trigger {
    height: 30px;
    width: 32px;
    padding: 0;
    justify-content: center;
    border-radius: 8px
  }

  .bb-profile-trigger .bb-avatar {
    width: 23px;
    height: 23px;
    font-size: 11px
  }

  .dots {
    width: 30px;
    height: 30px
  }

  .bb-profile-dropdown {
    position: fixed;
    right: 8px;
    top: 50px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 126px);
    overflow: auto
  }

  .bb-profile-panel {
    width: calc(100vw - 10px);
    height: calc(100dvh - 10px);
    margin: 5px auto;
    border-radius: 13px
  }

  .bb-profile-head {
    height: 58px;
    min-height: 58px;
    padding: 0 10px
  }

  .bb-profile-title h2 {
    font-size: 17px
  }

  .bb-profile-title p {
    font-size: 10px
  }

  .bb-avatar.lg {
    width: 36px;
    height: 36px
  }

  .bb-profile-layout {
    display: block
  }

  .bb-profile-sidebar {
    display: none
  }

  .bb-profile-content {
    height: calc(100dvh - 58px);
    padding: 10px;
    overflow: auto
  }

  .bb-mobile-select {
    display: block
  }

  .bb-section-head {
    display: block
  }

  .bb-pill {
    margin-top: 8px
  }

  .bb-summary-grid,
  .bb-summary-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px
  }

  .bb-summary-grid>div {
    padding: 10px
  }

  .bb-summary-grid b {
    font-size: 16px
  }

  .bb-form-grid,
  .bb-form-grid.three,
  .bb-switch-grid,
  .bb-doc-grid,
  .bb-bonus-grid {
    grid-template-columns: 1fr
  }

  .bb-filter {
    grid-template-columns: 1fr 1fr
  }

  .bb-filter .bb-primary {
    grid-column: 1/-1
  }

  .bb-promo-box {
    grid-template-columns: 1fr
  }

  .bb-card {
    padding: 11px;
    border-radius: 13px
  }

  .bb-table {
    min-width: 700px
  }

  .bb-table th {
    font-size: 10px
  }

  .bb-table td {
    font-size: 11px
  }

  .bb-pagination {
    justify-content: center
  }

  .bb-list>div {
    align-items: flex-start;
    flex-direction: column
  }

  .bb-inbox-panel {
    width: calc(100vw - 10px);
    height: calc(100dvh - 10px);
    margin: 5px auto;
    border-radius: 13px
  }

  .bb-inbox-body {
    padding: 10px
  }

  .bb-inbox-list article {
    grid-template-columns: 34px 1fr;
    align-items: flex-start
  }

  .bb-inbox-list time {
    grid-column: 2/3
  }

  .bb-inbox-list i {
    width: 32px;
    height: 32px
  }

  .bb-toast {
    left: 10px;
    right: 10px;
    bottom: 78px;
    max-width: none
  }
}

@media(max-width: 400px) {
  .bb-member-balance {
    max-width: fit-content
  }

  .bb-member-balance b {
    font-size: 9px
  }

  .bb-profile-dropdown {
    right: 4px;
    width: calc(100vw - 8px)
  }
}

/* v11 compact money cards, details and inbox inner detail */
body.bb-profile-standalone #bbInboxModal.is-open,
body.bb-profile-standalone #bbDetailModal.is-open {
  display: block !important
}

.bb-profile-content {
  padding-bottom: 26px
}

.bb-money-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 12px;
  align-items: stretch;
  max-width: 920px
}

.bb-money-card {
  margin-bottom: 0
}

.bb-money-card .bb-form-grid+.bb-form-grid {
  margin-top: 10px
}

.bb-money-card .bb-primary {
  margin-top: 12px
}

.bb-money-side {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px
}

.bb-money-side b {
  color: #fff;
  font-size: 14px
}

.bb-money-side p {
  margin: 7px 0 10px;
  color: #aeb3bd;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700
}

.bb-money-side strong {
  display: block;
  color: #00e764;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 12px
}

.bb-amount-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px
}

.bb-amount-chips button {
  height: 32px;
  border: 1px solid #00e764;
  border-radius: 999px;
  background: #191a1f;
  color: #00e764;
  font-weight: 950;
  cursor: pointer;
  padding: 0 12px
}

.bb-amount-chips button:hover {
  background: rgba(0, 231, 100, .16)
}

.bb-compact-table {
  max-width: 920px;
  margin-top: 12px
}

.bb-compact-table .bb-table {
  min-width: 650px
}

.bb-detail-panel {
  position: relative;
  width: min(520px, calc(100vw - 28px));
  margin: 80px auto 0;
  background: #16171d;
  border: 1px solid rgba(0, 231, 100, .22);
  border-radius: 17px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .62);
  overflow: hidden;
  color: #fff
}

.bb-detail-panel header {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  background: linear-gradient(180deg, #22232a, #17181d);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.bb-detail-panel header span {
  display: block;
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .3px
}

.bb-detail-panel header h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 20px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-detail-panel header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #2a2c34;
  color: #fff;
  font-size: 24px;
  cursor: pointer
}

.bb-detail-body {
  padding: 14px
}

.bb-detail-list {
  display: grid;
  gap: 8px
}

.bb-detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #111216;
  border: 1px solid rgba(255, 255, 255, .07)
}

.bb-detail-list dt {
  color: #9fa5b0;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-detail-list dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-align: right
}

.bb-inbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
  align-items: start
}

.bb-inbox-list article {
  cursor: pointer;
  transition: .16s
}

.bb-inbox-list article:hover,
.bb-inbox-list article.active {
  border-color: rgba(0, 231, 100, .45);
  background: #202127
}

.bb-inbox-detail {
  position: sticky;
  top: 0;
  min-height: 255px;
  padding: 14px;
  border-radius: 15px;
  background: linear-gradient(180deg, #1d1e24, #15161b);
  border: 1px solid #00e764;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035)
}

.bb-inbox-detail span {
  display: block;
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .3px
}

.bb-inbox-detail h3 {
  margin: 7px 0 8px;
  color: #fff;
  font-size: 22px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  line-height: 1
}

.bb-inbox-detail p {
  margin: 0;
  color: #c5c9d2;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700
}

.bb-inbox-detail dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0
}

.bb-inbox-detail dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #111216;
  border: 1px solid rgba(255, 255, 255, .06)
}

.bb-inbox-detail dt {
  color: #8f95a1;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-inbox-detail dd {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-align: right
}

.bb-table button[data-bb-detail] {
  padding: 0 11px
}

.bb-table button[data-bb-detail]:hover {
  background: #00e764;
  color: #151515
}

.bb-pagination {
  padding-bottom: 4px
}

@media(max-width: 720px) {
  .bb-profile-content {
    padding-bottom: 18px
  }

  .bb-money-layout {
    grid-template-columns: 1fr;
    max-width: none
  }

  .bb-money-side {
    min-height: auto
  }

  .bb-money-side strong {
    font-size: 22px
  }

  .bb-compact-table {
    max-width: none
  }

  .bb-detail-panel {
    width: calc(100vw - 18px);
    margin: 58px auto 0;
    border-radius: 14px
  }

  .bb-detail-panel header {
    height: 58px
  }

  .bb-detail-body {
    padding: 11px
  }

  .bb-detail-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px
  }

  .bb-detail-list dd {
    text-align: left
  }

  .bb-inbox-grid {
    grid-template-columns: 1fr
  }

  .bb-inbox-detail {
    position: relative;
    min-height: auto;
    order: -1
  }

  .bb-inbox-list article {
    grid-template-columns: 34px 1fr auto
  }

  .bb-inbox-list article time {
    grid-column: auto
  }

  .bb-inbox-list article p {
    line-height: 1.35
  }

  .bb-amount-chips button {
    height: 30px;
    padding: 0 10px
  }

  .bb-table-wrap {
    margin-bottom: 8px
  }
}

@media(max-width: 400px) {
  .bb-inbox-list article {
    grid-template-columns: 32px 1fr
  }

  .bb-inbox-list article time {
    grid-column: 2/3
  }

  .bb-money-side strong {
    font-size: 20px
  }
}

/* === v11 inbox separate inner detail page === */
.bb-inbox-panel {
  width: min(720px, calc(100vw - 30px));
  height: min(660px, calc(100dvh - 30px))
}

.bb-inbox-body {
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.bb-inbox-page {
  display: none;
  min-height: 0;
  flex: 1;
  overflow: auto
}

.bb-inbox-page.active {
  display: block
}

.bb-inbox-list {
  display: grid;
  gap: 9px
}

.bb-inbox-list article {
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  cursor: pointer;
  position: relative
}

.bb-inbox-list article em {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #2a2c34;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap
}

.bb-inbox-list article:hover em,
.bb-inbox-list article.active em {
  background: #00e764;
  color: #111
}

.bb-inbox-back {
  height: 34px;
  border: 1px solid rgba(0, 231, 100, .22);
  border-radius: 11px;
  background: #202127;
  color: #00e764;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  cursor: pointer;
  margin-bottom: 12px
}

.bb-inbox-back span {
  font-size: 22px;
  line-height: 0;
  margin-top: -2px
}

.bb-inbox-detail-card {
  border: 1px solid #00e764;
  border-radius: 17px;
  background: linear-gradient(180deg, #1c1d23, #14151a);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035)
}

.bb-inbox-detail-card>span {
  display: block;
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .3px;
  margin-bottom: 6px
}

.bb-inbox-detail-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 24px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  line-height: 1
}

.bb-inbox-detail-card p {
  margin: 0;
  color: #c9ced7;
  font-size: 13px;
  line-height: 1.58;
  font-weight: 750
}

.bb-inbox-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px
}

.bb-inbox-detail-meta div {
  padding: 11px 12px;
  border-radius: 12px;
  background: #111216;
  border: 1px solid rgba(255, 255, 255, .07)
}

.bb-inbox-detail-meta dt {
  color: #8f95a1;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 950;
  margin-bottom: 4px
}

.bb-inbox-detail-meta dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 850
}

.bb-inbox-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px
}

.bb-inbox-detail-actions button {
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #282a31;
  color: #fff;
  font-weight: 950;
  padding: 0 12px;
  cursor: pointer
}

.bb-inbox-detail-actions button:first-child {
  background: #00e764;
  color: #111
}

@media(max-width: 720px) {
  .bb-inbox-list article {
    grid-template-columns: 34px minmax(0, 1fr) auto
  }

  .bb-inbox-list article em {
    grid-column: 2/4;
    justify-self: flex-start;
    margin-top: 4px
  }

  .bb-inbox-detail-card {
    padding: 13px;
    border-radius: 14px
  }

  .bb-inbox-detail-card h3 {
    font-size: 21px
  }

  .bb-inbox-detail-meta {
    grid-template-columns: 1fr
  }

  .bb-inbox-back {
    width: 100%;
    justify-content: center
  }
}

/* === v12 profile modal polish: centered modal, dark scrollbars, yellow date icons, inbox action === */
body.profile-open {
  overflow: hidden !important
}

.bb-modal {
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box
}

.bb-modal.is-open {
  display: flex !important
}

.bb-profile-panel,
.bb-inbox-panel {
  margin: 0 !important;
  max-height: calc(100dvh - 28px)
}

.bb-detail-panel {
  margin: 0 !important
}

body.bb-profile-standalone #bbProfileModal {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box
}

body.bb-profile-standalone #bbProfileModal .bb-profile-panel {
  margin: 0 !important
}

.bb-profile-nav,
.bb-profile-content,
.bb-profile-dropdown,
.bb-mobile-select-menu,
.bb-inbox-page,
.bb-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #00e764 rgba(255, 255, 255, .055)
}

.bb-profile-nav::-webkit-scrollbar,
.bb-profile-content::-webkit-scrollbar,
.bb-profile-dropdown::-webkit-scrollbar,
.bb-mobile-select-menu::-webkit-scrollbar,
.bb-inbox-page::-webkit-scrollbar,
.bb-table-wrap::-webkit-scrollbar {
  width: 7px;
  height: 7px
}

.bb-profile-nav::-webkit-scrollbar-track,
.bb-profile-content::-webkit-scrollbar-track,
.bb-profile-dropdown::-webkit-scrollbar-track,
.bb-mobile-select-menu::-webkit-scrollbar-track,
.bb-inbox-page::-webkit-scrollbar-track,
.bb-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .045);
  border-radius: 999px
}

.bb-profile-nav::-webkit-scrollbar-thumb,
.bb-profile-content::-webkit-scrollbar-thumb,
.bb-profile-dropdown::-webkit-scrollbar-thumb,
.bb-mobile-select-menu::-webkit-scrollbar-thumb,
.bb-inbox-page::-webkit-scrollbar-thumb,
.bb-table-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #34f787, #00e764);
  border-radius: 999px;
  border: 2px solid rgba(20, 21, 26, .95)
}

.bb-profile-nav::-webkit-scrollbar-corner,
.bb-profile-content::-webkit-scrollbar-corner,
.bb-table-wrap::-webkit-scrollbar-corner {
  background: transparent
}

.bb-profile-sidebar {
  overflow: hidden
}

.bb-profile-nav {
  padding-right: 6px
}

.bb-form-grid input[type="date"],
.bb-filter input[type="date"] {
  color-scheme: dark;
  position: relative
}

.bb-form-grid input[type="date"]::-webkit-calendar-picker-indicator,
.bb-filter input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  filter: brightness(0) saturate(100%) invert(74%) sepia(79%) saturate(860%) hue-rotate(352deg) brightness(102%) contrast(96%)
}

.bb-form-grid select,
.bb-field select,
.bb-filter select {
  color-scheme: dark
}

.bb-member-icon[data-bb-inbox-open] {
  outline: 1px solid rgba(0, 231, 100, .14)
}

.bb-member-icon[data-bb-inbox-open]:hover {
  background: #363841;
  color: #00e764;
  outline-color: rgba(0, 231, 100, .36)
}

.bb-inbox-avatar {
  color: #151515 !important;
  background: linear-gradient(145deg, #34f787, #00e764) !important
}

.bb-inbox-panel {
  width: min(760px, calc(100vw - 28px));
  height: min(650px, calc(100dvh - 28px))
}

.bb-inbox-body {
  padding: 14px;
  min-height: 0
}

.bb-inbox-page {
  padding-right: 2px
}

.bb-inbox-list article {
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  background: #17181d;
  padding: 10px;
  min-height: 58px;
  box-sizing: border-box
}

.bb-inbox-list article i {
  background: rgba(0, 231, 100, .13);
  border: 1px solid rgba(0, 231, 100, .22);
  color: #00e764
}

.bb-inbox-list article b {
  color: #fff
}

.bb-inbox-list article p {
  color: #aeb4bf
}

.bb-inbox-list article time {
  color: #8f95a1
}

.bb-inbox-list article em {
  background: #2b2d35;
  color: #fff
}

.bb-inbox-detail-card {
  min-height: 260px;
  display: block
}

.bb-inbox-detail-card h3 {
  max-width: 680px
}

.bb-inbox-detail-card p {
  max-width: 680px
}

.bb-inbox-detail-actions button[data-bb-profile-open="help"] {
  background: #2a2c34;
  color: #fff
}

.bb-inbox-detail-actions button[data-bb-profile-open="help"]:hover {
  background: #343740;
  color: #00e764
}

@media(max-width: 1180px) {
  .bb-modal {
    padding: 10px
  }

  .bb-profile-panel,
  .bb-inbox-panel {
    max-height: calc(100dvh - 20px)
  }
}

@media(max-width: 720px) {
  .bb-modal {
    padding: 5px
  }

  .bb-profile-panel,
  .bb-inbox-panel {
    max-height: calc(100dvh - 10px)
  }

  .bb-profile-content {
    height: calc(100dvh - 68px)
  }

  .bb-inbox-body {
    padding: 10px
  }

  .bb-inbox-panel {
    width: calc(100vw - 10px);
    height: calc(100dvh - 10px)
  }

  .bb-inbox-list article {
    padding: 9px
  }

  .bb-inbox-detail-card {
    min-height: auto
  }

  .bb-profile-nav::-webkit-scrollbar,
  .bb-profile-content::-webkit-scrollbar,
  .bb-inbox-page::-webkit-scrollbar {
    width: 5px;
    height: 5px
  }
}

/* === v13 separated inbox modal + safer profile content activation === */
body.bb-inbox-standalone {
  margin: 0;
  min-height: 100vh;
  background: #0f1014;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  overflow: hidden
}

body.bb-inbox-standalone .bb-inbox-fragment {
  display: block
}

body.bb-inbox-standalone #bbInboxModal {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box
}

body.bb-inbox-standalone #bbInboxModal .bb-inbox-panel {
  margin: 0 !important
}

body.bb-inbox-standalone .bb-modal-backdrop {
  background: radial-gradient(circle at top, #202127, rgba(0, 0, 0, .82) 42%, rgba(0, 0, 0, .9));
  backdrop-filter: blur(2px)
}

.bb-profile-content .bb-section.active {
  animation: bbProfilePaneIn .16s ease both
}

@keyframes bbProfilePaneIn {
  from {
    opacity: .35;
    transform: translateY(4px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.bb-inbox-fragment {
  color: #fff
}

.bb-inbox-fragment svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.bb-inbox-detail-card {
  width: 100%;
  box-sizing: border-box
}

.bb-inbox-page.active {
  animation: bbProfilePaneIn .16s ease both
}

@media(max-width: 720px) {
  body.bb-inbox-standalone #bbInboxModal {
    padding: 5px
  }
}

/* === v14 final profile forms: documents, money, bonuses, promo, support === */
.bb-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px
}

.bb-action-row .bb-primary,
.bb-action-row .bb-secondary {
  min-width: 128px
}

.bb-card-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  letter-spacing: .2px
}

.bb-help-text {
  margin: 10px 0 0;
  color: #9da3ae;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5
}

.bb-doc-modern {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px
}

.bb-doc-info h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-doc-info p {
  margin: 0 0 10px;
  color: #b1b6bf;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700
}

.bb-doc-upload-card {
  display: grid;
  gap: 12px
}

.bb-upload-zone {
  min-height: 190px;
  border: 1px dashed #00e764;
  border-radius: 17px;
  background: linear-gradient(180deg, #081d11, rgba(255, 255, 255, .025));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  cursor: pointer;
  transition: .18s
}

.bb-upload-zone:hover {
  border-color: rgba(0, 231, 100, .85);
  background: linear-gradient(180deg, #202127, rgba(255, 255, 255, .03))
}

.bb-upload-zone input {
  display: none
}

.bb-upload-zone .bb-upload-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(180deg, #34f787, #00e764);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
  box-shadow: 0 10px 24px rgba(0, 231, 100, .2)
}

.bb-upload-zone strong {
  color: #fff;
  font-size: 18px
}

.bb-upload-zone p {
  margin: 6px 0;
  color: #a9afb9;
  font-size: 12px;
  font-weight: 750
}

.bb-upload-zone em {
  font-style: normal;
  color: #00e764;
  font-size: 12px;
  font-weight: 900
}

.bb-upload-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #00e764;
  background: #111216;
  border-radius: 13px;
  padding: 11px
}

.bb-upload-preview b {
  display: block;
  color: #fff;
  font-size: 13px
}

.bb-upload-preview span {
  display: block;
  color: #9da3ae;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px
}

.bb-upload-preview i {
  font-style: normal;
  color: #00e764;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap
}

.bb-deposit-modern,
.bb-withdraw-modern {
  align-items: stretch
}

.bb-amount-chips.spaced {
  gap: 9px;
  margin: 12px 0
}

.bb-amount-chips.spaced button {
  min-width: 92px;
  border-radius: 11px
}

.bb-deposit-note,
.bb-saved-account,
.bb-info-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(0, 231, 100, .14);
  background: rgba(0, 231, 100, .055);
  border-radius: 13px;
  padding: 10px;
  margin-top: 12px
}

.bb-deposit-note b,
.bb-saved-account b,
.bb-info-alert b {
  color: #00e764;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-deposit-note span,
.bb-saved-account span,
.bb-info-alert span {
  color: #c7ccd5;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750
}

.bb-form-grid label small {
  float: right;
  color: #00e764;
  font-size: 10px;
  font-weight: 950;
  text-transform: none
}

.bb-bonus-grid.modern {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.bb-bonus-grid.modern article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 192px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1b1c22, #15161b);
  border: 1px solid rgba(255, 255, 255, .08)
}

.bb-bonus-grid.modern article div {
  flex: 1
}

.bb-bonus-grid.modern h4 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 18px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-bonus-grid.modern p {
  margin: 0;
  color: #aeb4bf;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750
}

.bb-bonus-grid.modern button {
  width: 100%;
  height: 36px
}

.bb-promo-card {
  background: linear-gradient(135deg, rgba(0, 231, 100, 0.18), rgba(255, 255, 255, .025))
}

.bb-ref-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px
}

.bb-ref-card span {
  display: block;
  color: #9fa5b0;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-ref-card b {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 16px;
  word-break: break-all
}

.bb-ref-card p {
  margin: 8px 0 0;
  color: #aeb4bf;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750
}

.bb-call-card .bb-action-row,
.bb-password-card .bb-action-row,
.bb-ticket-create .bb-action-row {
  margin-top: 14px
}

.bb-textarea-label {
  display: block;
  color: #9fa5b0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .25px;
  margin-top: 10px
}

.bb-textarea-label textarea {
  width: 100%;
  height: 94px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: #111216;
  color: #fff;
  padding: 10px 12px;
  outline: none;
  font-weight: 750;
  resize: vertical;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif
}

.bb-help-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #00e764;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 231, 100, 0.13), rgba(255, 255, 255, .025));
  margin-bottom: 12px
}

.bb-help-hero b {
  display: block;
  color: #fff;
  font-size: 20px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-help-hero p {
  margin: 4px 0 0;
  color: #aeb4bf;
  font-size: 12px;
  font-weight: 750
}

.bb-help-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px
}

.bb-table tbody tr.new-row {
  animation: bbProfilePaneIn .22s ease both
}

.bb-primary[disabled],
.bb-secondary[disabled] {
  opacity: .58;
  cursor: not-allowed
}

@media(max-width: 980px) {

  .bb-doc-modern,
  .bb-ref-card,
  .bb-help-hero {
    grid-template-columns: 1fr
  }

  .bb-bonus-grid.modern {
    grid-template-columns: 1fr 1fr
  }

  .bb-action-row .bb-primary,
  .bb-action-row .bb-secondary {
    flex: 1;
    min-width: 140px
  }
}

@media(max-width: 720px) {
  .bb-doc-modern {
    gap: 10px
  }

  .bb-upload-zone {
    min-height: 150px
  }

  .bb-bonus-grid.modern {
    grid-template-columns: 1fr
  }

  .bb-amount-chips.spaced button {
    min-width: calc(50% - 5px);
    flex: 1
  }

  .bb-action-row {
    gap: 8px
  }

  .bb-action-row .bb-primary,
  .bb-action-row .bb-secondary {
    width: 100%;
    flex: 1 1 100%
  }

  .bb-help-hero .bb-help-link {
    width: 100%
  }

  .bb-ref-card button {
    width: 100%
  }
}

/* === v14 help standalone page === */
.bb-help-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 14px 44px;
  color: #fff;
  font-family: Inter, Arial, sans-serif
}

.bb-help-page-hero {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 231, 100, .16), rgba(255, 255, 255, .035));
  border: 1px solid #00e764;
  margin-bottom: 14px
}

.bb-help-page-hero span {
  color: #00e764;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-help-page-hero h1 {
  margin: 6px 0 7px;
  font-size: 42px;
  line-height: .95;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-help-page-hero p {
  margin: 0;
  color: #b7bcc5;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
  max-width: 720px
}

.bb-help-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px
}

.bb-help-page-grid article {
  padding: 15px;
  border-radius: 16px;
  background: #17181d;
  border: 1px solid rgba(255, 255, 255, .08)
}

.bb-help-page-grid b {
  display: block;
  color: #fff;
  font-size: 19px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-help-page-grid p {
  margin: 6px 0 0;
  color: #aeb4bf;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750
}

.bb-help-page-ticket h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 28px
}

.bb-help-back {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px
}

@media(max-width: 900px) {
  .bb-help-page-grid {
    grid-template-columns: 1fr 1fr
  }

  .bb-help-page-hero h1 {
    font-size: 34px
  }
}

@media(max-width: 560px) {
  .bb-help-page {
    padding: 18px 10px 32px
  }

  .bb-help-page-grid {
    grid-template-columns: 1fr
  }

  .bb-help-page-hero h1 {
    font-size: 30px
  }

  .bb-help-page-hero {
    padding: 18px
  }
}

/* === v15 compact profile sections + multi document upload === */
.bb-profile-panel {
  height: min(650px, calc(100dvh - 28px));
}

.bb-profile-head {
  height: 60px;
  min-height: 60px
}

.bb-profile-layout {
  grid-template-columns: 252px 1fr
}

.bb-profile-nav {
  gap: 4px
}

.bb-profile-nav button {
  height: 34px;
  border-radius: 9px
}

.bb-user-card {
  margin: 10px;
  padding: 10px
}

.bb-profile-content {
  padding: 12px
}

.bb-section-head {
  margin-bottom: 10px
}

.bb-section-head h3 {
  font-size: 24px
}

.bb-section-head p {
  margin-top: 4px
}

.bb-card {
  padding: 12px;
  margin-bottom: 10px
}

.bb-summary-grid {
  gap: 8px;
  margin-bottom: 10px
}

.bb-summary-grid>div {
  padding: 11px
}

.bb-form-grid {
  gap: 9px
}

.bb-form-grid input,
.bb-form-grid select,
.bb-field select,
.bb-filter input,
.bb-filter select,
.bb-promo-box input {
  height: 38px
}

.bb-primary,
.bb-secondary,
.bb-danger {
  height: 38px
}

.bb-tabs {
  margin-bottom: 10px
}

.bb-tabs button {
  height: 32px
}

.bb-table th {
  height: 34px
}

.bb-table td {
  height: 38px
}

.bb-pagination {
  margin-top: 8px
}

.bb-section-table {
  margin-top: 10px
}

.bb-table-sm {
  min-width: 650px
}

.bb-table-sm th {
  height: 32px
}

.bb-table-sm td {
  height: 36px
}

.bb-doc-modern.bb-doc-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px
}

.bb-doc-info-wide {
  margin-bottom: 0
}

.bb-rules-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
  margin: 8px 0 0;
  padding-left: 18px
}

.bb-doc-upload-wide {
  gap: 10px
}

.bb-doc-type-row {
  grid-template-columns: minmax(180px, .7fr) 1fr 1fr;
  align-items: end
}

.bb-doc-mini-note {
  min-height: 38px;
  border: 1px solid rgba(0, 231, 100, .13);
  background: rgba(0, 231, 100, .045);
  border-radius: 11px;
  padding: 8px 10px;
  box-sizing: border-box
}

.bb-doc-mini-note b {
  display: block;
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-doc-mini-note span {
  display: block;
  margin-top: 2px;
  color: #b9bec8;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35
}

.bb-upload-wide-zone {
  min-height: 118px
}

.bb-upload-zone .bb-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 26px;
  margin-bottom: 7px
}

.bb-upload-zone strong {
  font-size: 16px
}

.bb-upload-zone p {
  margin: 4px 0
}

.bb-upload-preview.bb-upload-list {
  display: block
}

.bb-upload-preview[hidden] {
  display: none !important
}

.bb-upload-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px
}

.bb-upload-list-head b {
  font-size: 13px
}

.bb-upload-list-head span {
  font-size: 11px;
  color: #00e764;
  font-weight: 900
}

.bb-upload-files {
  display: grid;
  gap: 6px
}

.bb-upload-file-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  background: #17181d
}

.bb-upload-file-row b {
  font-size: 12px
}

.bb-upload-file-row span {
  font-size: 10px;
  color: #9fa5b0;
  font-weight: 850
}

.bb-upload-file-row em {
  font-style: normal;
  color: #00e764;
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap
}

.bb-upload-list>i {
  display: block;
  margin-top: 8px
}

.bb-doc-actions {
  margin-top: 0
}

.bb-money-layout.bb-tight-money {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 10px
}

.bb-money-side.compact-side {
  min-height: 0
}

.bb-money-side.compact-side strong {
  font-size: 23px;
  margin-bottom: 8px
}

.bb-amount-chips.spaced.compact {
  gap: 8px;
  margin: 10px 0
}

.bb-amount-chips.spaced.compact button {
  height: 30px;
  min-width: 84px;
  border-radius: 10px
}

.bb-deposit-note,
.bb-saved-account,
.bb-info-alert {
  padding: 9px;
  margin-top: 10px
}

.bb-action-row {
  gap: 10px;
  margin-top: 10px
}

.bb-action-row .bb-primary,
.bb-action-row .bb-secondary {
  min-width: 128px
}

.bb-bonus-grid.modern {
  gap: 10px
}

.bb-bonus-grid.modern article {
  min-height: 150px;
  padding: 12px;
  gap: 8px
}

.bb-bonus-grid.modern h4 {
  font-size: 17px
}

.bb-bonus-grid.modern p {
  font-size: 12px;
  line-height: 1.42
}

.bb-bonus-grid.modern button {
  height: 34px
}

.bb-call-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  border: 1px solid rgba(0, 231, 100, .14);
  border-radius: 12px;
  background: rgba(0, 231, 100, .045);
  padding: 9px 10px
}

.bb-call-note b {
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase
}

.bb-call-note span {
  color: #bfc4ce;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4
}

@media(max-width: 980px) {
  .bb-profile-panel {
    height: min(720px, calc(100dvh - 20px))
  }

  .bb-doc-type-row,
  .bb-rules-inline {
    grid-template-columns: 1fr
  }

  .bb-money-layout.bb-tight-money {
    grid-template-columns: 1fr
  }

  .bb-money-side.compact-side {
    min-height: auto
  }

  .bb-bonus-grid.modern {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width: 720px) {
  .bb-profile-panel {
    height: calc(100dvh - 10px)
  }

  .bb-profile-head {
    height: 58px;
    min-height: 58px
  }

  .bb-profile-content {
    padding: 10px;
    height: calc(100dvh - 68px)
  }

  .bb-section-head h3 {
    font-size: 22px
  }

  .bb-rules-inline {
    padding-left: 16px
  }

  .bb-upload-wide-zone {
    min-height: 132px
  }

  .bb-upload-file-row {
    grid-template-columns: 1fr
  }

  .bb-upload-file-row em {
    white-space: normal
  }

  .bb-bonus-grid.modern {
    grid-template-columns: 1fr
  }

  .bb-table-sm {
    min-width: 620px
  }
}

/* === v16 final profile fixes: compact pages, multi-doc queue, pagination, ticket detail, centered alerts === */
.bb-profile-panel {
  height: min(700px, calc(100dvh - 30px));
  margin: calc(max(12px, (100dvh - min(700px, calc(100dvh - 30px)))/2)) auto 12px
}

.bb-profile-content {
  padding: 12px 14px 14px
}

.bb-section.active {
  animation: bbProfilePaneIn .16s ease both
}

.bb-section-head {
  align-items: center
}

.bb-section-head h3 {
  font-size: 23px
}

.bb-section-head p {
  font-size: 12px;
  line-height: 1.35
}

.bb-subtitle,
.bb-card-title {
  margin: 0 0 10px;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 20px;
  line-height: 1
}

.bb-card-title {
  font-size: 19px
}

.bb-toast {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  z-index: 900;
  width: min(360px, calc(100vw - 34px));
  max-width: none;
  text-align: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #22242b, #17181d);
  border: 1px solid rgba(0, 231, 100, .45);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .68), 0 0 0 9999px rgba(0, 0, 0, .26)
}

.bb-toast b {
  font-size: 15px
}

.bb-toast span {
  display: block;
  color: #d4d8e0;
  font-size: 12px;
  line-height: 1.45
}

.bb-form-grid label,
.bb-field,
.bb-filter label {
  min-width: 0
}

.bb-form-grid select,
.bb-field select,
.bb-filter select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #111216;
  background-image: linear-gradient(45deg, transparent 50%, #00e764 50%), linear-gradient(135deg, #00e764 50%, transparent 50%);
  background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px
}

.bb-filter {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  overflow: visible
}

.bb-filter .bb-primary {
  min-width: 92px
}

.bb-doc-flow {
  display: grid;
  gap: 10px
}

.bb-doc-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px
}

.bb-doc-intro-main span,
.bb-mini-title span {
  display: block;
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-doc-intro-main h4 {
  margin: 4px 0;
  color: #fff;
  font-size: 20px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  line-height: 1
}

.bb-doc-intro-main p {
  margin: 0;
  color: #b4b9c3;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750
}

.bb-doc-rule-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end
}

.bb-doc-rule-chips li {
  height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(0, 231, 100, .10);
  border: 1px solid #00e764;
  color: #00e764;
  font-size: 11px;
  font-weight: 950
}

.bb-doc-upload-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  align-items: end
}

.bb-doc-upload-status {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #15161b;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.bb-doc-upload-status b {
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase
}

.bb-doc-upload-status span {
  color: #d3d7df;
  font-size: 12px;
  font-weight: 800;
  text-align: right
}

.bb-upload-v16-zone {
  min-height: 106px;
  margin-top: 10px
}

.bb-upload-v16-zone strong {
  font-size: 18px
}

.bb-upload-list-v16 {
  margin-top: 10px;
  max-height: 164px;
  overflow: auto
}

.bb-upload-file-row {
  grid-template-columns: minmax(0, 1fr) auto
}

.bb-upload-file-row b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.bb-upload-file-row em.sent {
  color: #60e895
}

.bb-doc-actions {
  justify-content: flex-start;
  margin-top: 10px
}

.bb-withdraw-grid-v16 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 10px;
  align-items: stretch
}

.bb-withdraw-form-v16 {
  margin: 0
}

.bb-withdraw-side-v16 {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.bb-withdraw-side-v16 b {
  display: block;
  color: #fff;
  font-size: 15px
}

.bb-withdraw-side-v16 strong {
  display: block;
  margin: 8px 0;
  color: #00e764;
  font-size: 26px;
  font-weight: 950
}

.bb-withdraw-side-v16 p {
  margin: 0;
  color: #aeb4bf;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45
}

.bb-saved-accounts-card {
  padding: 10px 12px
}

.bb-mini-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px
}

.bb-mini-title b {
  color: #fff;
  font-size: 14px
}

.bb-saved-accounts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px
}

.bb-saved-accounts-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #15161b
}

.bb-saved-accounts-list article.active {
  border-color: rgba(0, 231, 100, .35);
  background: rgba(0, 231, 100, .07)
}

.bb-saved-accounts-list b {
  display: block;
  color: #fff;
  font-size: 12px
}

.bb-saved-accounts-list span {
  display: block;
  color: #aeb4bf;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px
}

.bb-saved-accounts-list em {
  font-style: normal;
  color: #00e764;
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap
}

.bb-action-row-spaced {
  gap: 12px
}

.bb-action-row-spaced .bb-primary,
.bb-action-row-spaced .bb-secondary {
  min-width: 154px
}

.bb-pagination-compact {
  justify-content: flex-end;
  margin: 8px 0 0
}

.bb-pagination-compact button {
  width: 28px;
  height: 28px;
  border-radius: 8px
}

.bb-password-layout-v16 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 10px;
  align-items: stretch
}

.bb-password-card-v16 {
  margin: 0
}

.bb-info-alert-v16 {
  margin: 0 0 10px
}

.bb-password-rules-v16 {
  margin: 0
}

.bb-password-rules-v16 b {
  display: block;
  color: #fff;
  font-size: 17px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-password-rules-v16 ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #bfc4ce;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 750
}

.bb-password-card-v16 .bb-form-grid+.bb-form-grid {
  margin-top: 9px
}

.bb-call-card-v16 .bb-form-grid+.bb-form-grid {
  margin-top: 9px
}

.bb-ticket-page {
  display: none
}

.bb-ticket-page.active {
  display: block
}

.bb-back-btn {
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #2b2d35;
  color: #fff;
  font-weight: 950;
  padding: 0 12px;
  cursor: pointer;
  margin-bottom: 10px
}

.bb-ticket-detail-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: #17181d;
  padding: 14px
}

.bb-ticket-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px
}

.bb-ticket-detail-head span {
  color: #00e764;
  font-size: 11px;
  font-weight: 950
}

.bb-ticket-detail-head h4 {
  margin: 4px 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-ticket-detail-head p {
  margin: 0;
  color: #aeb4bf;
  font-size: 12px;
  font-weight: 750
}

.bb-ticket-chat {
  display: grid;
  gap: 9px;
  margin-bottom: 10px
}

.bb-ticket-chat article {
  max-width: 78%;
  border-radius: 14px;
  padding: 10px 12px
}

.bb-ticket-chat b {
  display: block;
  font-size: 12px;
  margin-bottom: 4px
}

.bb-ticket-chat p {
  margin: 0;
  color: #dce0e8;
  font-size: 12px;
  line-height: 1.48;
  font-weight: 750
}

.bb-ticket-chat .me {
  justify-self: flex-start;
  background: #202127;
  border: 1px solid rgba(255, 255, 255, .08)
}

.bb-ticket-chat .support {
  justify-self: flex-end;
  background: rgba(0, 231, 100, .10);
  border: 1px solid rgba(0, 231, 100, .20)
}

.bb-ticket-chat .support b {
  color: #00e764
}

.bb-ticket-chat .me b {
  color: #fff
}

.bb-ticket-create .bb-textarea-label textarea {
  height: 78px
}

.bb-ticket-detail-card .bb-textarea-label textarea {
  height: 86px
}

@media(max-width: 980px) {
  .bb-profile-panel {
    height: min(720px, calc(100dvh - 16px));
    margin: 8px auto
  }

  .bb-doc-intro-card,
  .bb-doc-upload-top,
  .bb-withdraw-grid-v16,
  .bb-password-layout-v16 {
    grid-template-columns: 1fr
  }

  .bb-doc-rule-chips {
    justify-content: flex-start
  }

  .bb-saved-accounts-list {
    grid-template-columns: 1fr
  }

  .bb-filter {
    grid-template-columns: 1fr 1fr
  }

  .bb-filter .bb-primary {
    grid-column: 1/-1
  }
}

@media(max-width: 720px) {
  .bb-profile-panel {
    height: calc(100dvh - 8px);
    margin: 4px auto
  }

  .bb-profile-content {
    height: calc(100dvh - 64px);
    padding: 10px
  }

  .bb-doc-upload-status {
    display: block
  }

  .bb-doc-upload-status span {
    text-align: left;
    display: block;
    margin-top: 3px
  }

  .bb-action-row-spaced .bb-primary,
  .bb-action-row-spaced .bb-secondary {
    width: 100%;
    min-width: 0
  }

  .bb-ticket-chat article {
    max-width: 100%
  }

  .bb-pagination-compact {
    justify-content: center
  }

  .bb-toast {
    width: calc(100vw - 28px)
  }
}

/* === v17 final polish: centered modals, document history pagination, saved bank selector, distinct alerts, FAQ/support pages === */
.bb-modal.is-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box
}

.bb-modal.is-open>.bb-profile-panel,
.bb-modal.is-open>.bb-detail-panel {
  margin: 0 !important
}

.bb-detail-panel {
  width: min(540px, calc(100vw - 30px));
  max-height: calc(100dvh - 32px);
  overflow: auto
}

.bb-profile-panel,
.bb-inbox-panel {
  margin: 0 !important
}

.bb-profile-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 231, 100, .55) rgba(255, 255, 255, .08)
}

.bb-profile-content::-webkit-scrollbar,
.bb-upload-list-v16::-webkit-scrollbar {
  width: 7px;
  height: 7px
}

.bb-profile-content::-webkit-scrollbar-track,
.bb-upload-list-v16::-webkit-scrollbar-track {
  background: #121318;
  border-radius: 99px
}

.bb-profile-content::-webkit-scrollbar-thumb,
.bb-upload-list-v16::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00e764, #008f3e);
  border-radius: 99px
}

.bb-toast {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: start;
  text-align: left;
  padding: 15px;
  border-width: 1px
}

.bb-toast:before {
  content: "!";
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 231, 100, .14);
  color: #00e764;
  font-weight: 950
}

.bb-toast b,
.bb-toast span {
  grid-column: 2
}

.bb-toast b {
  margin: 0;
  font-size: 15px
}

.bb-toast span {
  margin-top: 3px
}

.bb-toast-close {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 9px;
  background: #2b2d35;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer
}

.bb-toast.success {
  border-color: rgba(25, 199, 90, .42)
}

.bb-toast.success:before {
  content: "✓";
  background: rgba(25, 199, 90, .16);
  color: #60e895
}

.bb-toast.error {
  border-color: rgba(240, 78, 94, .48)
}

.bb-toast.error:before {
  content: "×";
  background: rgba(240, 78, 94, .16);
  color: #ff9ba7
}

.bb-toast.warning {
  border-color: rgba(245, 158, 11, .48)
}

.bb-toast.warning:before {
  content: "!"
}

.bb-toast.info {
  border-color: rgba(100, 159, 255, .42)
}

.bb-toast.info:before {
  content: "i";
  background: rgba(100, 159, 255, .14);
  color: #9fc0ff
}

.bb-doc-intro-card {
  grid-template-columns: 1fr
}

.bb-doc-intro-main h4 {
  font-size: 18px
}

.bb-doc-intro-main p {
  max-width: 980px
}

.bb-doc-upload-v16 {
  display: grid;
  gap: 10px
}

.bb-upload-list-v16 {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: #131419;
  padding: 10px;
  max-height: 210px
}

.bb-upload-list-head {
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 8px;
  padding-bottom: 8px
}

.bb-upload-file-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 12px;
  background: #191a20;
  border: 1px solid rgba(255, 255, 255, .07)
}

.bb-upload-file-row+.bb-upload-file-row {
  margin-top: 7px
}

.bb-upload-file-row:before {
  content: "DOC";
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #202127;
  color: #00e764;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 950
}

.bb-upload-file-row button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(240, 78, 94, .14);
  color: #ff9ba7;
  cursor: pointer;
  font-weight: 950
}

.bb-upload-file-row em {
  min-width: 70px;
  text-align: right
}

.bb-doc-history-pagination {
  margin-top: 8px
}

.bb-withdraw-modern-v17 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 12px;
  align-items: stretch
}

.bb-withdraw-main-v17 {
  display: grid;
  gap: 11px
}

.bb-withdraw-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(0, 231, 100, .055);
  border: 1px solid #00e764
}

.bb-withdraw-title-row b {
  display: block;
  color: #fff;
  font-size: 15px
}

.bb-withdraw-title-row span {
  display: block;
  margin-top: 3px;
  color: #aeb4bf;
  font-size: 12px;
  font-weight: 750
}

.bb-withdraw-title-row em {
  font-style: normal;
  color: #00e764;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap
}

.bb-withdraw-grid-fields {
  gap: 12px
}

.bb-withdraw-side-v17 {
  display: flex;
  flex-direction: column;
  justify-content: center
}

.bb-withdraw-side-v17 span {
  color: #aeb4bf;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-withdraw-side-v17 strong {
  display: block;
  margin: 8px 0;
  color: #00e764;
  font-size: 30px;
  line-height: 1;
  font-weight: 950
}

.bb-withdraw-side-v17 p {
  margin: 0;
  color: #b6bbc5;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750
}

.bb-saved-accounts-v17 {
  margin-top: 12px
}

.bb-saved-accounts-list article {
  cursor: pointer;
  transition: .16s
}

.bb-saved-accounts-list article:hover {
  border-color: rgba(0, 231, 100, .42);
  transform: translateY(-1px)
}

.bb-saved-accounts-list strong {
  display: block;
  color: #fff;
  font-size: 11px;
  margin-top: 2px
}

.bb-saved-accounts-list article.active {
  box-shadow: inset 0 0 0 1px rgba(0, 231, 100, .18)
}

.bb-password-v17 {
  display: grid;
  gap: 12px
}

.bb-password-top-v17 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.bb-password-top-v17 .bb-card {
  margin: 0
}

.bb-password-top-v17 span {
  display: block;
  color: #00e764;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-password-top-v17 b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 22px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  line-height: 1
}

.bb-password-top-v17 p {
  margin: 6px 0 12px;
  color: #b7bcc6;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750
}

.bb-password-top-v17 ul {
  margin: 7px 0 0;
  padding-left: 18px;
  color: #c7ccd5;
  font-size: 12px;
  line-height: 1.85;
  font-weight: 750
}

.bb-password-form-v17 {
  margin: 0
}

.bb-password-form-v17 .bb-form-grid+.bb-form-grid {
  margin-top: 10px
}

.bb-password-form-v17 .bb-action-row {
  margin-top: 14px
}

.bb-help-hero-v17 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.bb-help-link-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.bb-help-link-row .bb-help-link {
  height: 38px;
  display: inline-flex;
  align-items: center;
  text-decoration: none
}

.bb-help-actions-v17 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 14px;
  max-width: 1120px
}

.bb-help-actions-v17 a {
  height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: none
}

.bb-faq-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px
}

.bb-faq-grid article {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: #17181d;
  padding: 15px
}

.bb-faq-grid b {
  display: block;
  color: #fff;
  font-size: 18px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-faq-grid p {
  margin: 7px 0 0;
  color: #b9bec8;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750
}

.bb-support-page .bb-card,
.bb-faq-page .bb-card {
  box-sizing: border-box
}

@media(max-width: 980px) {
  .bb-modal.is-open {
    padding: 8px
  }

  .bb-withdraw-modern-v17,
  .bb-password-top-v17 {
    grid-template-columns: 1fr
  }

  .bb-help-hero-v17 {
    display: block
  }

  .bb-help-link-row {
    margin-top: 10px
  }

  .bb-faq-grid {
    grid-template-columns: 1fr
  }

  .bb-upload-file-row {
    grid-template-columns: 30px minmax(0, 1fr) 28px
  }

  .bb-upload-file-row em {
    grid-column: 2;
    text-align: left
  }
}

@media(max-width: 720px) {
  .bb-modal.is-open {
    padding: 4px
  }

  .bb-withdraw-title-row {
    display: block
  }

  .bb-withdraw-title-row em {
    display: block;
    margin-top: 7px
  }

  .bb-saved-accounts-list {
    grid-template-columns: 1fr
  }

  .bb-toast {
    grid-template-columns: 32px minmax(0, 1fr) 28px
  }

  .bb-toast:before {
    width: 30px;
    height: 30px
  }

  .bb-help-page {
    padding-left: 10px;
    padding-right: 10px
  }
}

/* === v18 final cleanup: compact withdraw, FAQ accordion, working pagination/actions === */
.bb-profile-panel {
  height: min(720px, calc(100dvh - 32px))
}

.bb-doc-intro-main span {
  display: none !important
}

.bb-withdraw-clean-v18 {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px
}

.bb-withdraw-balance-v18 {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px
}

.bb-withdraw-balance-v18 span {
  display: block;
  color: #aeb4bf;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-withdraw-balance-v18 strong {
  display: block;
  margin: 8px 0;
  color: #00e764;
  font-size: 31px;
  line-height: 1;
  font-weight: 950
}

.bb-withdraw-balance-v18 p {
  margin: 0;
  color: #b8bec8;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750
}

.bb-withdraw-form-v18 {
  margin: 0;
  display: grid;
  gap: 12px
}

.bb-clean-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #131419;
  border: 1px solid rgba(0, 231, 100, .14)
}

.bb-clean-title b {
  color: #fff;
  font-size: 14px
}

.bb-clean-title em {
  font-style: normal;
  color: #00e764;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap
}

.bb-withdraw-fields-v18 {
  gap: 12px
}

.bb-saved-accounts-v18 {
  margin-bottom: 12px
}

.bb-saved-bank-list-v18 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px
}

.bb-saved-bank-list-v18 article {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px 13px;
  border-radius: 14px
}

.bb-saved-bank-list-v18 article i {
  font-style: normal;
  min-width: 45px;
  height: 24px;
  border-radius: 999px;
  background: #2a2c34;
  color: #dfe3ec;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 950
}

.bb-saved-bank-list-v18 article.active i {
  background: #00e764;
  color: #121212
}

.bb-saved-bank-list-v18 article.active {
  border-color: rgba(0, 231, 100, .55);
  background: rgba(0, 231, 100, .07)
}

.bb-saved-bank-list-v18 b {
  font-size: 13px
}

.bb-saved-bank-list-v18 strong {
  font-size: 12px;
  color: #f1f3f7
}

.bb-saved-bank-list-v18 span {
  font-size: 11px;
  color: #aeb4bf
}

.bb-saved-bank-list-v18 em {
  align-self: center
}

.bb-pagination button {
  cursor: pointer
}

.bb-pagination button:not(.active):hover {
  background: #3a3d47;
  color: #fff
}

.bb-pagination button.active {
  background: #00e764 !important;
  color: #111 !important
}

.bb-toast {
  animation: bbToastIn .16s ease-out
}

.bb-toast.success {
  background: linear-gradient(180deg, #172920, #121b17)
}

.bb-toast.error {
  background: linear-gradient(180deg, #2b171b, #1b1214)
}

.bb-toast.warning {
  background: linear-gradient(180deg, #2a2214, #191611)
}

.bb-toast.info {
  background: linear-gradient(180deg, #162033, #111722)
}

@keyframes bbToastIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(.96)
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1)
  }
}

.bb-password-v17 {
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start
}

.bb-password-top-v17 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px
}

.bb-password-top-v17 article {
  border-color: rgba(0, 231, 100, .14)
}

.bb-password-form-v17 {
  grid-column: 1
}

.bb-password-form-v17 .bb-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.bb-password-top-v17+.bb-card {
  margin-top: 0
}

.bb-password-v17 .bb-card {
  margin-bottom: 0
}

.bb-password-v17 .bb-action-row {
  gap: 12px;
  flex-wrap: wrap
}

.bb-faq-accordion {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 10px
}

.bb-faq-accordion article {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: #17181d;
  overflow: hidden
}

.bb-faq-accordion button {
  width: 100%;
  height: auto;
  min-height: 58px;
  border: 0;
  background: linear-gradient(180deg, #1f2026, #18191f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  text-align: left;
  cursor: pointer
}

.bb-faq-accordion button span {
  font-size: 19px;
  font-weight: 900;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-faq-accordion button i {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #2b2d35;
  color: #00e764;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 22px;
  font-weight: 900;
  transition: .18s
}

.bb-faq-accordion article.is-open button {
  background: linear-gradient(180deg, rgba(0, 231, 100, .13), #1b1c22)
}

.bb-faq-accordion article.is-open button i {
  transform: rotate(45deg);
  background: #00e764;
  color: #111
}

.bb-faq-answer {
  display: none;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, .07)
}

.bb-faq-accordion article.is-open .bb-faq-answer {
  display: block
}

.bb-faq-answer p {
  margin: 0;
  color: #c2c7d1;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 750
}

.bb-faq-media {
  margin-top: 12px;
  border: 1px dashed rgba(0, 231, 100, .35);
  background: rgba(0, 231, 100, .06);
  border-radius: 14px;
  padding: 14px
}

.bb-faq-media b {
  display: block;
  color: #00e764;
  font-size: 13px
}

.bb-faq-media small {
  display: block;
  margin-top: 5px;
  color: #b8bec8;
  font-weight: 700
}

.bb-support-page [data-bb-ticket-page] {
  display: none
}

.bb-support-page [data-bb-ticket-page].active {
  display: block
}

.bb-help-page-ticket h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 25px
}

.bb-ticket-create input:focus,
.bb-ticket-create textarea:focus {
  border-color: rgba(0, 231, 100, .55) !important
}

.bb-ticket-create textarea {
  min-height: 92px
}

@media(max-width: 980px) {
  .bb-withdraw-clean-v18 {
    grid-template-columns: 1fr
  }

  .bb-saved-bank-list-v18 {
    grid-template-columns: 1fr
  }

  .bb-password-v17 {
    grid-template-columns: 1fr
  }

  .bb-password-form-v17 .bb-form-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width: 720px) {
  .bb-clean-title {
    display: block
  }

  .bb-clean-title em {
    display: block;
    margin-top: 5px
  }

  .bb-saved-bank-list-v18 article {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .bb-saved-bank-list-v18 article i {
    width: max-content
  }

  .bb-faq-accordion button span {
    font-size: 17px
  }
}

/* === v19 polish: compact payment screens, bonus media, inbox width, FAQ slider === */
.bb-pay-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
  margin-bottom: 12px
}

.bb-pay-main,
.bb-pay-side {
  margin: 0
}

.bb-pay-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 231, 100, .14);
  border-radius: 14px;
  background: rgba(0, 231, 100, .055)
}

.bb-pay-title span {
  color: #00e764;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 950
}

.bb-pay-title b {
  color: #fff;
  font-size: 14px
}

.bb-pay-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.bb-amount-chips-v19 {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px
}

.bb-amount-chips-v19 button {
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 231, 100, .1);
  border: 1px solid rgba(0, 231, 100, .35);
  color: #00e764;
  font-weight: 950
}

.bb-pay-note {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(0, 231, 100, 0.08);
  border: 1px solid #00e764
}

.bb-pay-note b {
  color: #00e764;
  text-transform: uppercase;
  font-size: 12px
}

.bb-pay-note span {
  color: #c5cad3;
  font-weight: 750;
  font-size: 12px
}

.bb-pay-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px
}

.bb-pay-side span {
  color: #aeb4bf;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 950
}

.bb-pay-side strong {
  margin-top: 8px;
  color: #00e764;
  font-size: 28px;
  line-height: 1;
  font-weight: 950
}

.bb-pay-side p {
  margin: 8px 0 10px;
  color: #b9bec8;
  font-size: 12px;
  font-weight: 750
}

.bb-withdraw-v19 {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px
}

.bb-withdraw-summary {
  margin: 0;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto
}

.bb-withdraw-summary span {
  color: #aeb4bf;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 950
}

.bb-withdraw-summary strong {
  font-size: 24px;
  color: #00e764;
  line-height: 1.1;
  margin: 7px 0
}

.bb-withdraw-summary p {
  margin: 0;
  color: #b8bec8;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 750
}

.bb-withdraw-workspace {
  margin: 0;
  padding: 12px
}

.bb-withdraw-title-v19 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px
}

.bb-withdraw-title-v19 b {
  font-size: 14px;
  color: #fff
}

.bb-withdraw-title-v19 em {
  font-size: 11px;
  color: #00e764;
  font-style: normal;
  font-weight: 950
}

.bb-withdraw-row-v19 {
  grid-template-columns: 1fr 1.15fr .75fr;
  gap: 10px
}

.bb-withdraw-row-v19.two {
  grid-template-columns: 1fr 1fr
}

.bb-withdraw-v19 input,
.bb-withdraw-v19 select {
  height: 40px
}

.bb-withdraw-v19 .bb-action-row {
  margin-top: 10px
}

.bb-saved-accounts-v19 {
  padding: 12px;
  margin-bottom: 12px
}

.bb-saved-bank-list-v19 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px
}

.bb-saved-bank-list-v19 article {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #15161b;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: .16s
}

.bb-saved-bank-list-v19 article:hover {
  border-color: rgba(0, 231, 100, .36);
  transform: translateY(-1px)
}

.bb-saved-bank-list-v19 article.active {
  background: #071d11;
  border-color: rgba(0, 231, 100, .6)
}

.bb-saved-bank-list-v19 i {
  font-style: normal;
  background: #2e3039;
  color: #dfe3ec;
  border-radius: 999px;
  height: 24px;
  min-width: 46px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 950
}

.bb-saved-bank-list-v19 article.active i {
  background: #00e764;
  color: #111
}

.bb-saved-bank-list-v19 b,
.bb-saved-bank-list-v19 strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.2
}

.bb-saved-bank-list-v19 span {
  color: #aeb4bf;
  font-size: 11px
}

.bb-saved-bank-list-v19 em {
  color: #00e764;
  font-size: 10px;
  font-style: normal;
  font-weight: 950
}

.bb-bonus-grid-v19 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.bb-bonus-card-v19 {
  overflow: hidden;
  min-height: 216px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 17px;
  background: #17181d
}

.bb-bonus-art {
  height: 78px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 211, 107, .45), transparent 35%), linear-gradient(135deg, #3a2507, #18191f);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #00e764
}

.bb-bonus-art.loss {
  background: radial-gradient(circle at 30% 25%, rgba(255, 93, 107, .32), transparent 35%), linear-gradient(135deg, #2b1117, #18191f)
}

.bb-bonus-art.free {
  background: radial-gradient(circle at 30% 25%, rgba(30, 215, 139, .32), transparent 35%), linear-gradient(135deg, #0d2a20, #18191f)
}

.bb-bonus-art span {
  color: #00e764;
  font-size: 30px;
  font-weight: 950;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-bonus-art small {
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 11px
}

.bb-bonus-info {
  padding: 13px;
  display: grid;
  gap: 9px
}

.bb-bonus-info h4 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif
}

.bb-bonus-info p {
  margin: 0;
  color: #b8bec8;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750
}

.bb-bonus-info button {
  width: 100%
}

.bb-call-card-v19 textarea {
  min-height: 86px
}

.bb-password-v19 {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch
}

.bb-password-info-v19 {
  margin: 0
}

.bb-password-info-v19 span {
  color: #00e764;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 950
}

.bb-password-info-v19 h4 {
  margin: 5px 0;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 28px;
  line-height: 1
}

.bb-password-info-v19 p {
  margin: 0 0 14px;
  color: #b9bec8;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 750
}

.bb-password-form-v19 {
  margin: 0
}

.bb-password-form-v19 .bb-form-grid {
  gap: 12px;
  margin-bottom: 11px
}

.bb-password-rules-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 13px
}

.bb-password-rules-inline b,
.bb-password-rules-inline span {
  border: 1px solid rgba(255, 255, 255, .08);
  background: #14151a;
  border-radius: 999px;
  padding: 7px 10px;
  color: #c9ced8;
  font-size: 11px;
  font-weight: 850
}

.bb-password-rules-inline b {
  color: #00e764;
  border-color: rgba(0, 231, 100, .22);
  background: #071d11
}

.bb-inbox-panel-v19 {
  width: min(980px, calc(100vw - 28px))
}

.bb-inbox-shell-v19 {
  padding: 14px
}

.bb-inbox-summary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px
}

.bb-inbox-summary-row article {
  border: 1px solid rgba(255, 255, 255, .08);
  background: #17181d;
  border-radius: 14px;
  padding: 12px
}

.bb-inbox-summary-row b {
  display: block;
  color: #00e764;
  font-size: 24px;
  line-height: 1
}

.bb-inbox-summary-row span {
  display: block;
  color: #b8bec8;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  margin-top: 4px
}

.bb-inbox-detail-card-v19 {
  display: grid;
  gap: 12px
}

.bb-inbox-detail-media {
  height: 130px;
  border: 1px dashed rgba(0, 231, 100, .35);
  border-radius: 16px;
  background: radial-gradient(circle at 20% 20%, #00e764, transparent 36%), linear-gradient(135deg, #21190d, #121318);
  display: grid;
  place-items: center;
  color: #00e764;
  text-align: center;
  font-weight: 950
}

.bb-inbox-detail-media small {
  display: block;
  color: #bfc4cf;
  font-weight: 750;
  margin-top: 6px
}

.bb-faq-slider {
  max-width: 960px;
  margin: 0 auto 14px;
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 231, 100, .55) rgba(255, 255, 255, .08)
}

.bb-faq-slider button {
  min-width: 155px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #17181d;
  color: #fff;
  border-radius: 16px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 1px;
  align-items: center
}

.bb-faq-slider button.active,
.bb-faq-slider button:hover {
  border-color: rgba(0, 231, 100, .55);
  background: #071d11
}

.bb-faq-slider span {
  font-size: 20px;
  grid-row: 1/3
}

.bb-faq-slider b {
  font-size: 15px
}

.bb-faq-slider small {
  color: #aeb4bf;
  font-weight: 750
}

.bb-faq-accordion-v19 {
  max-width: 960px;
  gap: 8px
}

.bb-faq-accordion-v19 button {
  min-height: 48px;
  padding: 0 14px
}

.bb-faq-accordion-v19 button span {
  font-size: 17px
}

.bb-faq-accordion-v19 button i {
  width: 26px;
  height: 26px;
  font-size: 18px
}

.bb-faq-accordion-v19 .bb-faq-answer {
  padding: 12px 14px 14px
}

.bb-ticket-detail-card {
  max-width: 920px;
  margin: 0 auto
}

.bb-help-page-hero {
  max-width: 960px
}

.bb-support-page .bb-ticket-page.active {
  display: block !important
}

@media(max-width: 980px) {

  .bb-pay-shell,
  .bb-withdraw-v19,
  .bb-password-v19 {
    grid-template-columns: 1fr
  }

  .bb-bonus-grid-v19 {
    grid-template-columns: 1fr
  }

  .bb-saved-bank-list-v19 {
    grid-template-columns: 1fr
  }

  .bb-pay-form-grid,
  .bb-withdraw-row-v19,
  .bb-withdraw-row-v19.two,
  .bb-password-form-v19 .bb-form-grid {
    grid-template-columns: 1fr
  }

  .bb-pay-side {
    min-height: auto
  }

  .bb-amount-chips-v19 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .bb-inbox-summary-row {
    grid-template-columns: 1fr
  }

  .bb-inbox-panel-v19 {
    width: min(96vw, 980px)
  }
}

@media(max-width: 720px) {
  .bb-withdraw-summary strong {
    font-size: 22px
  }

  .bb-faq-slider {
    margin-left: -2px;
    margin-right: -2px
  }

  .bb-faq-slider button {
    min-width: 142px
  }

  .bb-inbox-shell-v19 {
    padding: 10px
  }

  .bb-bonus-art {
    height: 70px
  }

  .bb-bonus-card-v19 {
    min-height: 0
  }
}

/* === v20 final polish: payment spacing, FAQ/support hero, password professional === */
.bb-pay-form-grid label,
.bb-pay-fields-v20 label {
  display: grid;
  gap: 6px;
  color: #9fa5b0;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .25px
}

.bb-pay-form-grid input,
.bb-pay-form-grid select,
.bb-withdraw-v20 input,
.bb-withdraw-v20 select {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  background: #101116;
  color: #fff;
  padding: 0 12px;
  outline: none;
  font-weight: 850;
  box-sizing: border-box;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #00e764 50%), linear-gradient(135deg, #00e764 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat
}

.bb-pay-form-grid input,
.bb-withdraw-v20 input {
  background-image: none
}

.bb-deposit-v20 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  margin-bottom: 12px;
  align-items: stretch
}

.bb-deposit-card-v20 {
  margin: 0;
  padding: 13px
}

.bb-flow-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 231, 100, .11), rgba(255, 255, 255, .035));
  border: 1px solid #00e764
}

.bb-flow-title i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #00e764;
  color: #111;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 950;
  flex: 0 0 auto
}

.bb-flow-title div {
  flex: 1
}

.bb-flow-title b {
  display: block;
  color: #fff;
  font-size: 14px
}

.bb-flow-title span {
  display: block;
  color: #aeb4bf;
  font-size: 11px;
  font-weight: 750;
  margin-top: 2px
}

.bb-pay-fields-v20 {
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.bb-amount-chips-v20 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin: 11px 0
}

.bb-amount-chips-v20 button {
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0, 231, 100, .35);
  background: #071d11;
  color: #00e764;
  font-weight: 950
}

.bb-pay-note-v20 {
  margin: 0 0 12px
}

.bb-deposit-side-v20 {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0
}

.bb-deposit-side-v20 small {
  color: #aeb4bf;
  text-transform: uppercase;
  font-weight: 950
}

.bb-deposit-side-v20 strong {
  color: #00e764;
  font-size: 30px;
  line-height: 1;
  margin: 7px 0
}

.bb-deposit-side-v20 span {
  color: #bfc4ce;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 10px
}

.bb-withdraw-v20 {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px
}

.bb-withdraw-balance-v20 {
  margin: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0
}

.bb-withdraw-balance-v20 small {
  color: #aeb4bf;
  text-transform: uppercase;
  font-weight: 950;
  font-size: 10px
}

.bb-withdraw-balance-v20 strong {
  color: #00e764;
  font-size: 22px;
  line-height: 1;
  margin: 7px 0 8px
}

.bb-withdraw-balance-v20 span {
  color: #bfc4ce;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 750
}

.bb-withdraw-form-v20 {
  margin: 0;
  padding: 13px
}

.bb-withdraw-fields-v20 {
  gap: 12px
}

.bb-withdraw-fields-v20.top {
  grid-template-columns: .85fr 1.15fr .75fr
}

.bb-withdraw-fields-v20.bottom {
  grid-template-columns: 1fr 1.15fr
}

.bb-withdraw-v20 label small {
  float: right;
  color: #00e764;
  font-size: 10px
}

.bb-withdraw-v20 .bb-action-row {
  margin-top: 12px
}

.bb-saved-accounts-v20 {
  padding: 12px;
  margin-bottom: 12px
}

.bb-saved-bank-list-v20 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px
}

.bb-saved-bank-list-v20 article {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #15161b;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: .16s
}

.bb-saved-bank-list-v20 article:hover,
.bb-saved-bank-list-v20 article.active {
  border-color: rgba(0, 231, 100, .56);
  background: rgba(0, 231, 100, .07)
}

.bb-saved-bank-list-v20 i {
  height: 24px;
  min-width: 44px;
  border-radius: 999px;
  background: #2e3039;
  color: #dfe3ec;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 950
}

.bb-saved-bank-list-v20 article.active i {
  background: #00e764;
  color: #111
}

.bb-saved-bank-list-v20 b,
.bb-saved-bank-list-v20 strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.2
}

.bb-saved-bank-list-v20 span {
  color: #aeb4bf;
  font-size: 11px
}

.bb-saved-bank-list-v20 em {
  color: #00e764;
  font-size: 10px;
  font-style: normal;
  font-weight: 950
}

.bb-section-table {
  margin-top: 8px
}

.bb-table-sm th,
.bb-table-sm td {
  height: 38px
}

.bb-password-v20 {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch
}

.bb-password-hero-v20,
.bb-password-main-v20 {
  margin: 0
}

.bb-password-hero-v20 {
  background: radial-gradient(circle at 0 0, rgba(0, 231, 100, .2), transparent 36%), linear-gradient(180deg, #1b1c22, #15161b)
}

.bb-password-hero-v20 span {
  display: inline-flex;
  color: #111;
  background: #00e764;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-password-hero-v20 h4 {
  margin: 12px 0 8px;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 27px;
  line-height: 1
}

.bb-password-hero-v20 p {
  margin: 0 0 14px;
  color: #c3c8d1;
  font-weight: 750;
  font-size: 12px;
  line-height: 1.55
}

.bb-password-main-v20 .bb-form-grid {
  gap: 12px;
  margin-bottom: 12px
}

.bb-password-rules-v20 {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 13px
}

.bb-password-rules-v20 b,
.bb-password-rules-v20 span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #14151a;
  color: #cbd0da;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 850
}

.bb-password-rules-v20 b {
  color: #00e764;
  background: #071d11;
  border-color: #00e764
}

.bb-help-v20 {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 22px 0 40px
}

.bb-page-slider-v20 {
  min-height: 190px;
  border-radius: 22px;
  border: 1px solid rgba(0, 231, 100, .22);
  background: radial-gradient(circle at 78% 15%, rgba(0, 231, 100, .34), transparent 30%), linear-gradient(135deg, #2a210f, #15161b 62%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 30px;
  margin-bottom: 14px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .32);
  overflow: hidden
}

.bb-page-slider-v20 span {
  color: #00e764;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase
}

.bb-page-slider-v20 h1 {
  margin: 8px 0 8px;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 48px;
  line-height: .95
}

.bb-page-slider-v20 p {
  max-width: 660px;
  margin: 0;
  color: #d4d8df;
  font-weight: 780;
  font-size: 14px;
  line-height: 1.5
}

.bb-page-slider-v20 aside {
  min-width: 150px;
  border: 1px solid #00e764;
  border-radius: 18px;
  background: rgba(0, 0, 0, .22);
  padding: 18px;
  text-align: center
}

.bb-page-slider-v20 aside b {
  display: block;
  color: #00e764;
  font-size: 34px;
  font-weight: 950
}

.bb-page-slider-v20 aside small {
  display: block;
  color: #d8dce4;
  font-weight: 850
}

.bb-faq-category-v20 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px
}

.bb-faq-category-v20 button {
  height: 70px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #17181d;
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  text-align: left;
  padding: 0 13px;
  cursor: pointer
}

.bb-faq-category-v20 button.active,
.bb-faq-category-v20 button:hover {
  border-color: rgba(0, 231, 100, .55);
  background: #071d11
}

.bb-faq-category-v20 span {
  font-size: 24px;
  grid-row: 1/3
}

.bb-faq-category-v20 b {
  font-size: 15px
}

.bb-faq-category-v20 small {
  color: #aeb4bf;
  font-weight: 750
}

.bb-faq-accordion-v20 {
  max-width: none;
  display: grid;
  gap: 8px
}

.bb-faq-accordion-v20 article {
  border-radius: 15px
}

.bb-faq-accordion-v20 button {
  min-height: 48px;
  padding: 0 15px
}

.bb-faq-accordion-v20 button span {
  font-size: 17px
}

.bb-faq-accordion-v20 .bb-faq-answer {
  padding: 13px 15px 15px
}

.bb-support-page .bb-ticket-page {
  display: none
}

.bb-support-page .bb-ticket-page.active {
  display: block !important
}

.bb-ticket-detail-card {
  max-width: 960px
}

.bb-ticket-detail-head p {
  color: #b8bec8
}

.bb-ticket-chat article {
  border-radius: 14px
}

.bb-ticket-chat article.support {
  border-color: rgba(0, 231, 100, .22);
  background: rgba(0, 231, 100, .05)
}

@media(max-width: 980px) {

  .bb-deposit-v20,
  .bb-withdraw-v20,
  .bb-password-v20 {
    grid-template-columns: 1fr
  }

  .bb-pay-fields-v20,
  .bb-withdraw-fields-v20.top,
  .bb-withdraw-fields-v20.bottom,
  .bb-password-main-v20 .bb-form-grid {
    grid-template-columns: 1fr
  }

  .bb-deposit-side-v20 {
    min-height: auto
  }

  .bb-saved-bank-list-v20 {
    grid-template-columns: 1fr
  }

  .bb-faq-category-v20 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .bb-page-slider-v20 {
    align-items: flex-start;
    flex-direction: column
  }

  .bb-page-slider-v20 aside {
    width: 100%;
    box-sizing: border-box
  }

  .bb-page-slider-v20 h1 {
    font-size: 38px
  }
}

@media(max-width: 720px) {
  .bb-help-v20 {
    width: calc(100vw - 20px);
    padding-top: 12px
  }

  .bb-page-slider-v20 {
    min-height: 150px;
    border-radius: 18px;
    padding: 18px
  }

  .bb-page-slider-v20 h1 {
    font-size: 31px
  }

  .bb-faq-category-v20 {
    display: flex;
    overflow: auto;
    padding-bottom: 4px
  }

  .bb-faq-category-v20 button {
    min-width: 156px
  }

  .bb-withdraw-balance-v20 strong {
    font-size: 20px
  }

  .bb-amount-chips-v20 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .bb-password-v20 {
    gap: 9px
  }

  .bb-password-hero-v20 h4 {
    font-size: 23px
  }
}

/* === v21 last visual correction: inbox, deposit/withdraw, bonus art, password === */
body.bb-inbox-standalone #bbInboxModal {
  display: block !important
}

.bb-modal.is-open .bb-inbox-panel-v21,
body.bb-inbox-standalone .bb-inbox-panel-v21 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100vw - 40px)) !important;
  height: min(680px, calc(100dvh - 40px));
  margin: 0 !important;
  background: linear-gradient(180deg, #15161b, #111216) !important;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  box-shadow: 0 30px 110px rgba(0, 0, 0, .7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff
}

.bb-inbox-panel-v21 .bb-profile-head {
  background: linear-gradient(180deg, #202127, #17181d);
  height: 70px;
  min-height: 70px
}

.bb-inbox-shell-v21 {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 22px !important
}

.bb-inbox-summary-row-v21 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px
}

.bb-inbox-summary-row-v21 article {
  min-height: 62px;
  border-radius: 16px;
  background: linear-gradient(145deg, #202128, #17181d);
  border-color: rgba(255, 255, 255, .1)
}

.bb-inbox-summary-row-v21 b {
  font-size: 30px
}

.bb-inbox-list-v21 {
  display: grid;
  gap: 10px
}

.bb-inbox-list-v21 article {
  min-height: 60px;
  border-radius: 15px
}

.bb-inbox-page {
  display: none
}

.bb-inbox-page.active {
  display: block
}

.bb-inbox-detail-card-v21 {
  background: linear-gradient(180deg, #1b1c22, #15161b);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  padding: 18px
}

.bb-inbox-detail-card-v21 h3 {
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  margin: 4px 0 6px
}

.bb-inbox-detail-card-v21 p {
  font-size: 14px;
  line-height: 1.65
}

.bb-inbox-detail-card-v21 .bb-inbox-detail-media {
  height: 180px;
  border-radius: 18px;
  background: radial-gradient(circle at 75% 20%, rgba(0, 231, 100, .33), transparent 34%), linear-gradient(135deg, #2a210f, #121318)
}

.bb-inbox-detail-card-v21 .bb-inbox-detail-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.bb-pay-v21 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  margin-bottom: 12px
}

.bb-pay-main-v21 {
  padding: 14px;
  margin: 0
}

.bb-pay-hero-v21 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #00e764;
  background: linear-gradient(135deg, rgb(166 255 33 / 11%), rgba(255, 255, 255, .035));
  border-radius: 16px
}

.bb-pay-hero-v21 div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center
}

.bb-pay-hero-v21 i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #00e764;
  color: #111;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 950;
  grid-row: 1/3
}

.bb-pay-hero-v21 span {
  font-size: 11px;
  color: #00e764;
  text-transform: uppercase;
  font-weight: 950
}

.bb-pay-hero-v21 b {
  font-size: 14px;
  color: #fff
}

.bb-pay-hero-v21 em {
  font-style: normal;
  color: #bfc4cf;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap
}

.bb-pay-fields-v21 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.bb-pay-fields-v21 label,
.bb-withdraw-fields-v21 label {
  display: grid;
  gap: 6px;
  color: #aeb4bf;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .25px
}

.bb-pay-fields-v21 input,
.bb-pay-fields-v21 select,
.bb-withdraw-fields-v21 input,
.bb-withdraw-fields-v21 select {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 12px !important;
  background: #101116 !important;
  color: #fff !important;
  padding: 0 13px !important;
  outline: none !important;
  font-weight: 850 !important;
  box-sizing: border-box !important;
  appearance: none !important
}

.bb-pay-fields-v21 select,
.bb-withdraw-fields-v21 select {
  background-image: linear-gradient(45deg, transparent 50%, #00e764 50%), linear-gradient(135deg, #00e764 50%, transparent 50%) !important;
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px !important;
  background-size: 5px 5px !important;
  background-repeat: no-repeat !important
}

.bb-amount-chips-v21 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0
}

.bb-amount-chips-v21 button {
  height: 38px;
  border-radius: 13px;
  border: 1px solid #00e764;
  background: #080e0e;
  color: #00e764;
  font-weight: 950
}

.bb-pay-note-v21 {
  margin: 0 0 12px;
  min-height: 42px
}

.bb-pay-side-v21 {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  padding: 18px
}

.bb-pay-side-v21 span {
  font-size: 11px;
  color: #aeb4bf;
  text-transform: uppercase;
  font-weight: 950
}

.bb-pay-side-v21 strong {
  font-size: 32px;
  color: #00e764;
  line-height: 1;
  margin: 8px 0
}

.bb-pay-side-v21 p {
  font-size: 12px;
  color: #bdc3ce;
  font-weight: 780;
  margin: 0 0 10px
}

.bb-withdraw-v21 {
  display: grid;
  gap: 12px;
  margin-bottom: 12px
}

.bb-withdraw-top-v21 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px
}

.bb-withdraw-top-v21 article {
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(145deg, #1d1e24, #15161b);
  border-radius: 16px;
  padding: 13px 15px
}

.bb-withdraw-top-v21 span {
  display: block;
  color: #aeb4bf;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 950
}

.bb-withdraw-top-v21 strong {
  display: block;
  color: #00e764;
  font-size: 26px;
  line-height: 1;
  margin: 5px 0
}

.bb-withdraw-top-v21 small {
  display: block;
  color: #c0c5ce;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35
}

.bb-withdraw-form-v21 {
  margin: 0;
  padding: 14px
}

.bb-withdraw-heading-v21 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.bb-withdraw-heading-v21 b {
  color: #fff;
  font-size: 15px
}

.bb-withdraw-heading-v21 em {
  font-style: normal;
  color: #00e764;
  font-size: 11px;
  font-weight: 950
}

.bb-withdraw-fields-v21 {
  display: grid;
  grid-template-columns: 1fr 1.25fr .8fr;
  gap: 12px
}

.bb-withdraw-fields-v21 .wide {
  grid-column: span 2
}

.bb-withdraw-fields-v21 small {
  float: right;
  color: #00e764;
  font-size: 10px
}

.bb-withdraw-form-v21 .bb-action-row {
  margin-top: 14px
}

.bb-saved-accounts-v21 {
  padding: 12px;
  margin-bottom: 12px
}

.bb-saved-bank-list-v21 article {
  padding: 11px 13px;
  border-radius: 15px
}

.bb-saved-bank-list-v21 b {
  font-size: 13px
}

.bb-saved-bank-list-v21 span {
  font-size: 11px;
  color: #b7bdc8
}

.bb-saved-bank-list-v21 i {
  height: 26px;
  min-width: 48px
}

.bb-bonus-grid-v21 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px
}

.bb-bonus-card-v21 {
  min-height: 270px;
  background: linear-gradient(180deg, #1b1c22, #15161b);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  overflow: hidden
}

.bb-bonus-card-v21 .bb-bonus-art {
  position: relative;
  height: 120px;
  padding: 0;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.bb-bonus-card-v21 .bb-bonus-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1
}

.bb-bonus-card-v21 .bb-bonus-art:after {
  display: none !important
}

.bb-bonus-card-v21 .bb-bonus-art span,
.bb-bonus-card-v21 .bb-bonus-art small {
  display: none !important
}

.bb-bonus-card-v21 .bb-bonus-info {
  padding: 13px
}

.bb-bonus-card-v21 .bb-bonus-info h4 {
  font-size: 20px
}

.bb-bonus-card-v21 .bb-bonus-info p {
  min-height: 35px
}

.bb-bonus-card-v21 .bb-bonus-info button {
  height: 38px;
  border-radius: 12px
}

.bb-password-v21 {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px
}

.bb-password-top-v21 {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 18px 20px;
  background: radial-gradient(circle at 0 0, rgba(0, 231, 100, .2), transparent 35%), linear-gradient(180deg, #1b1c22, #15161b)
}

.bb-password-top-v21 span {
  display: inline-flex;
  color: #111;
  background: #00e764;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 950
}

.bb-password-top-v21 h4 {
  margin: 8px 0 5px;
  color: #fff;
  font-family: 'Barlow Condensed', Inter, Arial, sans-serif;
  font-size: 32px;
  line-height: .98
}

.bb-password-top-v21 p {
  margin: 0;
  color: #c4c9d2;
  font-weight: 760;
  font-size: 13px;
  line-height: 1.45
}

.bb-password-top-v21 button {
  height: 42px;
  white-space: nowrap
}

.bb-password-main-v21 {
  margin: 0;
  padding: 18px 20px
}

.bb-password-fields-v21 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px
}

.bb-password-fields-v21 label {
  display: grid;
  gap: 6px;
  color: #aeb4bf;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase
}

.bb-password-fields-v21 input {
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: #101116;
  color: #fff;
  padding: 0 13px;
  font-weight: 850;
  outline: none
}

.bb-password-rules-v21 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0
}

.bb-password-rules-v21 b,
.bb-password-rules-v21 span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #14151a;
  color: #cbd0da;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 850
}

.bb-password-rules-v21 b {
  color: #00e764;
  background: #071d11;
  border-color: #00e764
}

@media(max-width: 980px) {
  .bb-inbox-panel-v21 {
    width: min(96vw, 1120px) !important;
    height: min(760px, calc(100dvh - 24px))
  }

  .bb-pay-v21 {
    grid-template-columns: 1fr
  }

  .bb-withdraw-top-v21 {
    grid-template-columns: 1fr
  }

  .bb-withdraw-fields-v21 {
    grid-template-columns: 1fr
  }

  .bb-withdraw-fields-v21 .wide {
    grid-column: auto
  }

  .bb-bonus-grid-v21 {
    grid-template-columns: 1fr
  }

  .bb-password-top-v21 {
    display: grid
  }

  .bb-password-fields-v21 {
    grid-template-columns: 1fr
  }

  .bb-inbox-detail-card-v21 .bb-inbox-detail-meta {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width: 720px) {
  .bb-inbox-panel-v21 {
    width: calc(100vw - 16px) !important;
    height: calc(100dvh - 16px);
    border-radius: 16px
  }

  .bb-inbox-shell-v21 {
    padding: 12px !important
  }

  .bb-inbox-summary-row-v21 {
    grid-template-columns: 1fr
  }

  .bb-inbox-detail-card-v21 .bb-inbox-detail-media {
    height: 130px
  }

  .bb-pay-fields-v21 {
    grid-template-columns: 1fr
  }

  .bb-amount-chips-v21 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .bb-pay-side-v21 strong {
    font-size: 25px
  }

  .bb-bonus-card-v21 .bb-bonus-art {
    height: 105px
  }

  .bb-password-top-v21 h4 {
    font-size: 26px
  }

  .bb-password-top-v21,
  .bb-password-main-v21 {
    padding: 14px
  }

  .bb-inbox-detail-card-v21 .bb-inbox-detail-meta {
    grid-template-columns: 1fr
  }
}

/* FINAL FIX: Profile detail / sports bet detail modal must open centered, not top-left */
#bbDetailModal.bb-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 720 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

#bbDetailModal.bb-modal.is-open {
  display: flex !important;
}

#bbDetailModal .bb-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, .76) !important;
  backdrop-filter: blur(4px) !important;
}

#bbDetailModal .bb-detail-panel {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: min(560px, calc(100vw - 24px)) !important;
  max-height: calc(100dvh - 30px) !important;
  overflow: auto !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .68) !important;
}

#bbDetailModal .bb-detail-body {
  max-height: calc(100dvh - 140px);
  overflow: auto;
}

body.profile-open #bbDetailModal.is-open {
  pointer-events: auto;
}

@media(max-width: 720px) {
  #bbDetailModal.bb-modal {
    padding: 9px !important
  }

  #bbDetailModal .bb-detail-panel {
    width: calc(100vw - 14px) !important;
    max-height: calc(100dvh - 18px) !important;
    border-radius: 15px !important;
  }
}

/* FINAL INBOX PAGINATION FIX */
.bb-inbox-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.bb-inbox-pagination button {
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 231, 100, .22);
  border-radius: 10px;
  background: #202127;
  color: #d9dce4;
  font-weight: 950;
  cursor: pointer;
  transition: .16s ease;
}

.bb-inbox-pagination button:hover,
.bb-inbox-pagination button.is-active {
  background: linear-gradient(180deg, #00e764, #00e764);
  color: #111;
  border-color: rgba(0, 231, 100, .65);
}

.bb-inbox-pagination button[disabled] {
  opacity: .45;
  cursor: not-allowed;
  background: #202127;
  color: #8b909b;
}

.bb-inbox-list [data-bb-inbox-item] {
  transition: opacity .18s ease, transform .18s ease;
}

.bb-inbox-list [data-bb-inbox-item].is-page-hidden {
  display: none !important;
}