/* VIP Auto-Hunt announcement */
.vip-autohunt-notice {
  display: flex;
  align-items: stretch;
  max-width: 920px;
  min-width: 0;
  margin: 18px auto 0;
  overflow: hidden;
  color: var(--text, #fff0d1);
  background: linear-gradient(110deg, #142230, #0a131d);
  border: 1px solid rgba(226, 180, 97, .4);
  border-radius: 10px;
}
.vip-autohunt-label {
  display: flex;
  align-items: center;
  padding: 0 .8rem;
  background: rgba(222, 166, 72, .1);
  color: var(--gold-strong, #f4ce82);
  font: 800 .82rem/1 Inter, Arial, sans-serif;
}
.vip-autohunt-window {
  direction: ltr;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.vip-autohunt-track {
  box-sizing: content-box;
  width: max-content;
  margin: 0;
  padding: .7rem 0 .7rem 100%;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.6;
  animation: vip-autohunt-scroll 17s linear infinite;
}
@keyframes vip-autohunt-scroll { to { transform: translateX(-100%); } }
.vip-autohunt-toggle {
  flex: 0 0 44px;
  color: var(--gold-strong, #f4ce82);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.vip-autohunt-toggle:focus-visible { outline: 2px solid #f4ce82; outline-offset: -4px; }
.vip-autohunt-notice.is-static .vip-autohunt-track {
  animation: none;
  width: auto;
  padding: .7rem .75rem;
  white-space: normal;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .vip-autohunt-track {
    animation: none;
    width: auto;
    padding: .7rem .75rem;
    white-space: normal;
    text-align: center;
  }
  .vip-autohunt-toggle { display: none; }
}

.vip-autohunt-notice {
  position: relative;
  isolation: isolate;
  width: min(100%, 920px);
  box-sizing: border-box;
  border-color: rgba(237, 186, 89, .65);
  box-shadow: 0 0 18px rgba(230, 168, 55, .2), inset 0 0 12px rgba(230, 168, 55, .1);
}
.vip-autohunt-notice::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 216, 138, .23) 49%, transparent 66%);
  transform: translateX(-100%);
  animation: vip-autohunt-shine 4.8s ease-in-out infinite;
}
@keyframes vip-autohunt-shine {
  0%, 16% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(100%); }
}
.vip-autohunt-notice.is-static::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .vip-autohunt-notice::after { animation: none; }
}

.vip-autohunt-notice--legend { margin: 0 auto 16px; }
.vip-autohunt-word {
  color: #f6d78a;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(245, 184, 61, .45);
  animation: vip-autohunt-word-shine 2.6s ease-in-out infinite;
}
@keyframes vip-autohunt-word-shine {
  0%, 100% { color: #e9b652; text-shadow: 0 0 5px rgba(245, 184, 61, .35); }
  50% { color: #fff0aa; text-shadow: 0 0 10px #e5a42e, 0 0 16px rgba(245, 184, 61, .65); }
}
.vip-autohunt-notice.is-static .vip-autohunt-word { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .vip-autohunt-word { animation: none; }
}

/* Arabic announcements enter from the left and exit to the right. */
html[lang="ar"] .vip-autohunt-window { direction: rtl; }
@media (prefers-reduced-motion: no-preference) {
  html[lang="ar"] .vip-autohunt-notice:not(.is-static) .vip-autohunt-track {
    padding-left: 0;
    padding-right: 100%;
    animation-name: vip-autohunt-scroll-rtl;
  }
}
@keyframes vip-autohunt-scroll-rtl {
  to { transform: translateX(100%); }
}
