
/* BSC Poker X v11.7.0 — Unified HoldemBot Help */

:root {
  --hb-bg: #03111f;
  --hb-panel: #08263a;
  --hb-panel-2: #0b3149;
  --hb-border: rgba(97, 222, 255, .3);
  --hb-text: #f4fbff;
  --hb-muted: #9eb8cc;
  --hb-gold: #f5c743;
  --hb-cyan: #64e6ff;
  --hb-green: #43d5a7;
}

body.bscx-hb1170-open {
  overflow: hidden;
}

.bscx-hb1170 {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50000;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.bscx-hb1170-launch {
  min-width: 184px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(100, 230, 255, .42);
  border-radius: 18px;
  color: var(--hb-text);
  background:
    linear-gradient(145deg, rgba(13, 57, 82, .98), rgba(3, 26, 44, .98));
  box-shadow:
    0 16px 42px rgba(0, 0, 0, .45),
    0 0 24px rgba(61, 210, 248, .11);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bscx-hb1170-launch:hover,
.bscx-hb1170-launch:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245, 199, 67, .74);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, .5),
    0 0 28px rgba(245, 199, 67, .13);
  outline: none;
}

.bscx-hb1170-launch img {
  width: 39px;
  height: 39px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(245, 199, 67, .56);
  background: #02070d;
}

.bscx-hb1170-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50001;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 5, 12, .78);
  backdrop-filter: blur(12px);
}

.bscx-hb1170.is-open .bscx-hb1170-backdrop {
  display: grid;
}

.bscx-hb1170-panel {
  width: min(880px, calc(100vw - 28px));
  height: min(760px, calc(100dvh - 28px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(99, 225, 255, .4);
  border-radius: 25px;
  color: var(--hb-text);
  background:
    radial-gradient(circle at 88% 0, rgba(245, 199, 67, .09), transparent 34%),
    linear-gradient(145deg, #0b3048, #031522 64%);
  box-shadow: 0 38px 120px rgba(0, 0, 0, .72);
}

.bscx-hb1170-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(102, 224, 251, .18);
  background: rgba(2, 16, 28, .55);
}

.bscx-hb1170-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
}

.bscx-hb1170-title img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 17px;
  border: 1px solid rgba(245, 199, 67, .5);
  background: #02070d;
}

.bscx-hb1170-title strong {
  display: block;
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.08;
}

.bscx-hb1170-title small {
  display: block;
  margin-top: 5px;
  color: var(--hb-muted);
  font-size: 13px;
}

.bscx-hb1170-close {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(108, 226, 255, .3);
  border-radius: 15px;
  color: white;
  background: rgba(13, 56, 81, .9);
  font-size: 29px;
  cursor: pointer;
}

.bscx-hb1170-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(102, 224, 251, .14);
}

.bscx-hb1170-tab {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--hb-muted);
  background: rgba(20, 66, 92, .48);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.bscx-hb1170-tab.is-active {
  color: white;
  border-color: rgba(101, 229, 255, .54);
  background: linear-gradient(135deg, rgba(24, 96, 123, .84), rgba(11, 58, 84, .84));
}

.bscx-hb1170-content {
  min-height: 0;
  overflow: hidden;
}

.bscx-hb1170-view {
  height: 100%;
  min-height: 0;
  display: none;
}

.bscx-hb1170-view.is-active {
  display: grid;
}

.bscx-hb1170-chat {
  grid-template-rows: minmax(0, 1fr) auto;
}

.bscx-hb1170-log {
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.bscx-hb1170-message {
  width: min(640px, 92%);
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(103, 224, 250, .2);
  border-radius: 17px;
  background: rgba(14, 54, 78, .76);
}

.bscx-hb1170-message.user {
  margin-left: auto;
  border-color: rgba(245, 199, 67, .32);
  background: rgba(73, 59, 15, .66);
}

.bscx-hb1170-message b {
  display: block;
  margin-bottom: 5px;
  color: var(--hb-cyan);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bscx-hb1170-message.user b {
  color: var(--hb-gold);
}

.bscx-hb1170-message p {
  margin: 0;
  color: var(--hb-text);
  line-height: 1.55;
}

.bscx-hb1170-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px;
  border-top: 1px solid rgba(102, 224, 251, .15);
  background: rgba(2, 14, 24, .58);
}

.bscx-hb1170-form input,
.bscx-hb1170-search {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(99, 224, 255, .34);
  border-radius: 14px;
  color: white;
  background: rgba(1, 15, 26, .94);
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.bscx-hb1170-form input:focus,
.bscx-hb1170-search:focus {
  border-color: rgba(245, 199, 67, .65);
  box-shadow: 0 0 0 3px rgba(245, 199, 67, .08);
}

.bscx-hb1170-send {
  min-width: 104px;
  border: 1px solid rgba(78, 237, 194, .6);
  border-radius: 14px;
  color: #031311;
  background: linear-gradient(135deg, #5fe1b6, #2dcba0);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.bscx-hb1170-library {
  grid-template-rows: auto minmax(0, 1fr);
}

.bscx-hb1170-library-head {
  padding: 14px 15px 8px;
}

.bscx-hb1170-groups {
  min-height: 0;
  overflow: auto;
  padding: 8px 15px 18px;
}

.bscx-hb1170-group {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(101, 225, 255, .18);
  border-radius: 17px;
  background: rgba(8, 38, 58, .68);
}

.bscx-hb1170-group h3 {
  margin: 0 0 10px;
  color: var(--hb-gold);
  font-size: 15px;
}

.bscx-hb1170-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bscx-hb1170-question {
  min-height: 45px;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid rgba(99, 224, 255, .2);
  border-radius: 12px;
  color: white;
  background: rgba(12, 55, 80, .8);
  font: inherit;
  cursor: pointer;
}

.bscx-hb1170-question:hover,
.bscx-hb1170-question:focus-visible {
  border-color: rgba(245, 199, 67, .55);
  outline: none;
}

.bscx-hb1170-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid rgba(102, 224, 251, .14);
  color: var(--hb-muted);
  background: rgba(2, 14, 24, .62);
  font-size: 12px;
}

.bscx-hb1170-foot a {
  color: var(--hb-cyan);
}

@media (max-width: 700px) {
  .bscx-hb1170 {
    right: 10px;
    bottom: 10px;
  }

  .bscx-hb1170-launch {
    min-width: 0;
    min-height: 52px;
    padding-right: 14px;
  }

  .bscx-hb1170-launch img {
    width: 34px;
    height: 34px;
  }

  .bscx-hb1170-backdrop {
    padding: 0;
  }

  .bscx-hb1170-panel {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .bscx-hb1170-title img {
    width: 47px;
    height: 47px;
  }

  .bscx-hb1170-questions {
    grid-template-columns: 1fr;
  }

  .bscx-hb1170-form {
    grid-template-columns: 1fr;
  }

  .bscx-hb1170-send {
    min-height: 48px;
  }
}
