.site-tip-bar {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  color: #fff;
  background: linear-gradient(90deg, #081844, #123f91 48%, #0aa66e);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  transition: opacity .45s ease, transform .45s ease, max-height .45s ease, padding .45s ease;
}
.site-tip-bar.is-closing {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-100%);
  overflow: hidden;
}
.site-tip-mascot {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}
.site-tip-mascot.is-shaking {
  animation: site-tip-mascot-shake .5s ease-in-out 2;
}
@keyframes site-tip-mascot-shake {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-5px) rotate(-10deg); }
  75% { transform: translateX(5px) rotate(10deg); }
}
.site-tip-bubble {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22);
}
.site-tip-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 24, 68, .95), transparent 9%, transparent 91%, rgba(10, 166, 110, .95));
}
.site-tip-bubble.is-reaction::before {
  display: none;
}
.site-tip-track {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transform: translate(var(--site-tip-start, 100%), -50%);
  animation: site-tip-scroll 50s linear infinite;
}
.site-tip-track.is-reaction {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: none !important;
  animation: none !important;
  text-align: center;
}
@keyframes site-tip-scroll {
  from { transform: translate(var(--site-tip-start, 100%), -50%); }
  to { transform: translate(var(--site-tip-end, -100%), -50%); }
}
.site-tip-close {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  font-weight: 900;
  cursor: pointer;
}
.site-tip-close:hover {
  background: rgba(255, 255, 255, .28);
}
.site-tip-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 18px auto;
}
.site-tip-toggle {
  min-width: 150px;
  padding: 10px 18px;
  border: 3px solid #0b254f;
  border-radius: 999px;
  background: #fff;
  color: #123f91;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .18);
}
.site-tip-toggle.is-on {
  background: #ff8a21;
  color: #fff;
}
@media (max-width: 600px) {
  .site-tip-bar {
    gap: 8px;
    padding: 6px 10px;
  }
  .site-tip-mascot {
    font-size: 18px;
  }
  .site-tip-bubble {
    height: 23px;
  }
  .site-tip-track {
    font-size: 12px;
  }
  .site-tip-close {
    width: 22px;
    height: 22px;
  }
}
/* Common IconGenerators TIPS: match the battle TIPS readable white ticker. */
.site-tip-bar {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: #111 !important;
  background: transparent !important;
}

html,
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body > .site-tip-bar:first-child,
body > style:first-child + .site-tip-bar {
  margin-top: 0 !important;
}

body > header:first-child,
body > .site-header:first-child,
body > .topbar:first-child,
body > .top-nav:first-child,
body > .nav-bar:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.site-tip-bubble {
  color: #111 !important;
  background: #fff !important;
  border-color: rgba(10, 25, 70, .18) !important;
}

.site-tip-bubble::before {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 9%, rgba(255,255,255,0) 91%, #fff 100%) !important;
}

.site-tip-track {
  color: #111 !important;
}

.site-tip-close {
  color: #0b2564 !important;
  background: #fff !important;
  border-color: rgba(10, 25, 70, .18) !important;
}

.site-tip-close:hover {
  background: #f3f7ff !important;
}
