.betsnice-support-panel > form.betsnice-support-prechat {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
  padding: 32px 20px 24px;
  border-top: 0;
  background: radial-gradient(circle at 0 0, #ffe10014 0, transparent 36%), linear-gradient(180deg, #111, #171717);
}

.betsnice-support-prechat > strong,
.betsnice-support-prechat > small,
.betsnice-support-prechat > input:nth-of-type(n + 3),
.betsnice-support-prechat > button {
  grid-column: 1 / -1;
}

.betsnice-support-prechat strong {
  margin: 0;
  color: #fde100;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
}

.betsnice-support-prechat > small {
  display: block;
  margin: -5px 0 8px;
  color: #aaa;
  font-size: 11px;
  line-height: 1.45;
}

.betsnice-support-panel .betsnice-support-prechat input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #454545;
  border-radius: 9px;
  outline: none;
  background: #101010;
  color: #eee;
  font: 12px Poppins, sans-serif;
}

.betsnice-support-panel .betsnice-support-prechat input:focus {
  border-color: #fde100;
}

.betsnice-support-panel .betsnice-support-prechat button {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}

.betsnice-support-thread .agent b {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 2px;
}

.betsnice-support-thread .agent b img {
  width: 24px;
  height: 24px;
  padding: 3px;
  border: 1px solid #fde10066;
  border-radius: 50%;
  background: #171717;
  object-fit: contain;
}

.betsnice-support-thread .agent b span {
  color: #fde100;
  font-size: 10px;
}

@media (max-width: 1199px) {
  .betsnice-mobile-drawer {
    width: min(284px, 68vw);
    height: calc(100dvh - 50px);
    max-height: calc(100dvh - 50px);
    bottom: auto;
    overflow-x: hidden;
    overflow-y: scroll !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
    background: #292929 !important;
  }

  .betsnice-mobile-drawer .mobile-drawer-main {
    margin-inline: 14px;
    padding-left: 58px;
    isolation: isolate;
  }

  .betsnice-mobile-drawer .mobile-drawer-main::before {
    z-index: 0;
  }

  .betsnice-mobile-drawer .mobile-drawer-main a {
    z-index: 1;
    min-height: 43px;
    font-size: 13px;
    line-height: 1.2;
  }

  .betsnice-mobile-drawer .mobile-drawer-main a span {
    left: -50px;
  }

  .betsnice-mobile-drawer .mobile-drawer-secondary a {
    min-height: 42px;
    gap: 19px;
    font-size: 13px;
    line-height: 1.2;
  }

  .betsnice-mobile-drawer .mobile-drawer-secondary {
    background: #303030;
  }
}

@media (max-width: 640px) {
  .welcome-toast,
  .welcome-toast.notification-toast {
    top: calc(62px + env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    z-index: 30000;
    width: auto;
    min-width: 0;
    max-width: none;
  }
}
