#br-stick {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2147483646;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  transform: translateZ(0);
  will-change: transform;
  background: transparent;
  padding: 10px 12px;
}

@supports (width: 100svw) and (max-width: 768px) {
  #br-stick {
    width: 100svw;
    max-width: 100svw;
  }
}

@supports (width: 100dvw) and (max-width: 768px) {
  #br-stick {
    width: 100dvw;
    max-width: 100dvw;
  }
}

@media (min-width: 769px) {
  #br-stick {
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    max-width: 620px;
    width: min(620px, calc(100vw - 30px));
    border-radius: 12px 12px 0 0;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  #br-stick {
    left: 0;
    right: 0;
    transform: translateZ(0);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    width: 100vw;
    max-width: 100vw;
  }

  @supports (width: 100svw) {
    #br-stick {
      width: 100svw;
      max-width: 100svw;
    }
  }

  @supports (width: 100dvw) {
    #br-stick {
      width: 100dvw;
      max-width: 100dvw;
    }
  }
}

#br-stick .br-stick-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

#br-stick .br-stick-card {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border: 1px solid rgba(255, 213, 74, 0.72) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(135deg, #00341f 0%, #006a4e 48%, #01875f 100%) !important;
  margin: 0 !important;
  padding: 8px 8px 8px 14px !important;
  box-sizing: border-box !important;
}

#br-stick .br-stick-close {
  flex: 0 0 32px !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 52, 31, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

#br-stick .br-stick-close:hover {
  background: #024f35;
}

#br-stick .br-stick-promo {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#br-stick .br-stick-gift {
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 38px !important;
  line-height: 1 !important;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
}

#br-stick .br-stick-offer {
  min-width: 0 !important;
  color: #fff !important;
  text-align: left !important;
}

#br-stick .br-stick-kicker {
  display: block !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.2px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

#br-stick .br-stick-kicker strong {
  color: #ffd54a !important;
  font-size: 32px !important;
  line-height: 0.9 !important;
}

#br-stick .br-stick-copy {
  display: block !important;
  margin-top: 4px !important;
  color: #eafbf3 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24) !important;
}

#br-stick .br-stick-buttons {
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

#br-stick .br-stick-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  border: 1.5px solid rgba(255, 215, 0, 0.7);
  font-size: 16px;
  min-width: 0;
  text-align: center;
  letter-spacing: 0.3px;
  position: relative;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#br-stick .br-stick-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: brightness(1.08);
}

#br-stick .br-stick-btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#br-stick .br-stick-register {
  min-width: 190px !important;
  background: linear-gradient(180deg, #f42a41 0%, #c81c30 100%);
  color: #fff;
  border-color: #ff6b7a;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  animation: brRegGlow 1.6s ease-in-out -0.8s infinite;
}

#br-stick .br-stick-register:hover {
  background: linear-gradient(180deg, #ff3b52 0%, #d62740 100%);
  animation-play-state: paused;
}

@keyframes brRegGlow {
  0%,
  100% {
    box-shadow:
      0 3px 10px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 0 rgba(255, 213, 74, 0.65);
  }
  50% {
    box-shadow:
      0 5px 14px rgba(0, 0, 0, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 8px rgba(255, 213, 74, 0);
  }
}

#br-stick .br-stick-login {
  min-width: 88px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 100%);
  color: #006a4e;
  border-color: rgba(255, 255, 255, 0.92);
  text-shadow: none;
}

#br-stick .br-stick-login:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eaf3ef 100%);
}

@media (max-width: 768px) {
  #br-stick .br-stick-card {
    gap: 8px !important;
    padding: 7px 8px 7px 12px !important;
  }

  #br-stick .br-stick-promo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  #br-stick .br-stick-kicker {
    font-size: 17px !important;
    letter-spacing: 0 !important;
    line-height: 0.95 !important;
  }

  #br-stick .br-stick-kicker strong {
    display: inline !important;
    font-size: 28px !important;
    line-height: 0.9 !important;
  }

  #br-stick .br-stick-copy {
    margin-top: 3px !important;
    font-size: 12px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  #br-stick .br-stick-buttons {
    flex: 1 1 auto !important;
    gap: 7px !important;
  }

  #br-stick .br-stick-btn {
    height: 44px !important;
    border-radius: 8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 13px !important;
  }

  #br-stick .br-stick-register {
    flex: 2 1 0 !important;
    min-width: 120px !important;
  }

  #br-stick .br-stick-login {
    flex: 1 1 0 !important;
    min-width: 64px !important;
  }

  #br-stick .br-stick-close {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 20px !important;
  }
}

@media (max-width: 560px) {
  #br-stick .br-stick-card {
    gap: 7px !important;
    padding: 6px 7px 6px 10px !important;
  }

  #br-stick .br-stick-gift {
    display: none !important;
  }

  #br-stick .br-stick-promo {
    flex: 0 1 auto !important;
  }

  #br-stick .br-stick-kicker {
    font-size: 16px !important;
  }

  #br-stick .br-stick-kicker strong {
    display: block !important;
    font-size: 32px !important;
    line-height: 0.88 !important;
  }

  #br-stick .br-stick-copy {
    font-size: 12px !important;
  }

  #br-stick .br-stick-btn {
    height: 42px !important;
    font-size: 12px !important;
  }

  #br-stick .br-stick-register {
    min-width: 104px !important;
  }

  #br-stick .br-stick-login {
    min-width: 52px !important;
  }

  #br-stick .br-stick-close {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 19px !important;
  }
}

@media (max-width: 380px) {
  #br-stick .br-stick-card {
    gap: 5px !important;
    padding-left: 8px !important;
    padding-right: 7px !important;
  }

  #br-stick .br-stick-kicker {
    font-size: 14px !important;
  }

  #br-stick .br-stick-kicker strong {
    font-size: 28px !important;
  }

  #br-stick .br-stick-copy {
    font-size: 11px !important;
  }

  #br-stick .br-stick-btn {
    height: 40px !important;
  }

  #br-stick .br-stick-register {
    min-width: 88px !important;
    font-size: 12px !important;
  }

  #br-stick .br-stick-login {
    flex: 1 1 0 !important;
    min-width: 48px !important;
    font-size: 12px !important;
  }

  #br-stick .br-stick-close {
    flex: 0 0 26px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 18px !important;
  }
}
