.ms-promo-star {
  display: inline-block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background: url('shiny-star.svg') center / contain no-repeat;
}
.ms-points-shortcut {
  position: relative;
  display: inline-flex;
  flex: 0 0 76px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 76px;
  height: 44px;
  border-radius: 6px;
  color: #ffdf46;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ms-points-shortcut[hidden],
.ms-points-shortcut__balance[hidden],
[data-ms-points-promotion][hidden] { display: none !important; }
.ms-points-shortcut .ms-promo-star { width: 29px; height: 29px; animation: ms-promo-wink 4.2s ease-in-out infinite; }
.ms-points-shortcut__balance { min-width: 0; overflow-wrap: anywhere; line-height: 1.1; }
.ms-points-shortcut:hover { background: #ffffff14; color: #fff0a3; }
.ms-points-shortcut:focus-visible,
.ms-points-hero a:focus-visible,
.ms-footer .ms-points-footer:focus-visible { outline: 2px solid #ffdf46; outline-offset: 3px; }
.ms-points-shortcut__tooltip {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 100;
  width: max-content;
  max-width: 225px;
  padding: 8px 10px;
  border: 1px solid #ffdf46;
  border-radius: 4px;
  background: #063b57;
  color: #fff;
  font-size: 0.76rem;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ms-points-shortcut:hover .ms-points-shortcut__tooltip,
.ms-points-shortcut:focus-visible .ms-points-shortcut__tooltip { opacity: 1; visibility: visible; }
.ms-hero .ms-points-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 410px;
  padding: 17px 18px;
  border: 3px solid #ffdf46;
  border-left: 6px solid #ffdf46;
  border-radius: 8px;
  background: #064d70;
  color: #fff;
  box-shadow: 0 6px 0 #033b57, 0 20px 38px #001d3b8c, inset 0 0 0 1px #ffffff26;
  transform: none;
  animation: ms-promo-card-float 4.6s ease-in-out infinite;
}
.ms-points-hero > .ms-promo-star { position: relative; width: 62px; height: 62px; margin: 0; padding: 0; background: url('shiny-star.svg') center / contain no-repeat; border-radius: 0; animation: ms-promo-hero-star 3.2s ease-in-out infinite; }
.ms-points-hero > .ms-promo-star::before,
.ms-points-hero > .ms-promo-star::after { position: absolute; width: 13px; height: 13px; background: url('shiny-star.svg') center / contain no-repeat; content: ''; pointer-events: none; animation: ms-promo-spark 2.8s ease-in-out infinite; }
.ms-points-hero > .ms-promo-star::before { top: -7px; right: -3px; }
.ms-points-hero > .ms-promo-star::after { bottom: -3px; left: -5px; width: 10px; height: 10px; animation-delay: 1.4s; }
.ms-points-hero > div { min-width: 0; }
.ms-points-hero p { margin: 0 0 5px; color: #ffdf46; font-size: 0.82rem; font-weight: 800; line-height: 1.25; }
.ms-points-hero strong { font-size: 1.1rem; line-height: 1.3; }
.ms-points-hero a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin-top: 9px; padding: 8px 12px; border-radius: 5px; background: #ffdf46; color: #063b57; font-size: 0.8rem; font-weight: 800; line-height: 1.25; text-decoration: none; }
.ms-points-hero a span { padding: 0; margin: 0; font-size: 1.1rem; background: none; border-radius: 0; color: inherit; }
.ms-points-hero a:hover { background: #fff0a3; }
.ms-footer a.ms-points-footer { display: flex; align-items: center; gap: 10px; max-width: 300px; margin-top: 18px; padding: 10px 0; border-top: 1px solid #ffffff38; color: #ffdf46; text-decoration: none; }
.ms-points-footer .ms-promo-star { width: 36px; height: 36px; animation: ms-promo-wink 4.2s ease-in-out infinite; }
.ms-points-footer strong { display: block; font-size: 0.9rem; line-height: 1.35; color: #ffdf46; }
.ms-points-footer small { display: block; margin-top: 3px; color: #e6f5fb; font-size: 0.78rem; line-height: 1.4; }
.ms-points-footer:hover small { text-decoration: underline; }
.ms-points-hero-stars { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ms-points-hero-stars .ms-promo-star { position: absolute; left: var(--star-x); top: var(--star-y); width: var(--star-size, 40px); height: var(--star-size, 40px); opacity: 0; filter: drop-shadow(0 4px 4px #002c4e80); animation: ms-promo-celebrate 4.6s ease-out both; animation-delay: var(--star-delay); }
.ms-points-hero-stars .ms-promo-star--ambient { width: 23px; height: 23px; animation: ms-promo-ambient 7s ease-in-out infinite; animation-delay: var(--ambient-delay); }
@keyframes ms-promo-wink {
  0%, 100% { transform: translateY(0) rotate(-7deg) scale(1); filter: brightness(1); }
  30% { transform: translateY(-2px) rotate(10deg) scale(1.1); filter: brightness(1.18); }
  65% { transform: translateY(1px) rotate(-10deg) scale(.97); filter: brightness(1.02); }
}
@keyframes ms-promo-celebrate {
  0% { opacity: 0; transform: translateY(90px) scale(.15) rotate(-45deg); }
  18% { opacity: 1; transform: translateY(10px) scale(1.16) rotate(12deg); }
  55% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-130px) scale(.65) rotate(var(--star-rotate)); visibility: hidden; }
}
@keyframes ms-promo-ambient {
  0%, 100% { opacity: .08; transform: translateY(12px) rotate(-15deg) scale(.65); }
  45% { opacity: .55; transform: translateY(-16px) rotate(20deg) scale(1); }
}
@keyframes ms-promo-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes ms-promo-hero-star {
  0%, 100% { transform: translateY(2px) rotate(-12deg) scale(1); filter: drop-shadow(0 4px 3px #002c4e80) brightness(1); }
  45% { transform: translateY(-5px) rotate(12deg) scale(1.09); filter: drop-shadow(0 7px 5px #002c4e80) brightness(1.17); }
  75% { transform: translateY(-1px) rotate(-5deg) scale(1.03); }
}
@keyframes ms-promo-spark {
  0%, 100% { opacity: .2; transform: scale(.55) rotate(-15deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(25deg); }
}
@media (min-width: 701px) {
  .ms-points-promoted .ms-header .ms-container { width: min(1800px, calc(100% - 32px)); }
}
@media (min-width: 701px) and (max-width: 1600px) {
  .ms-points-promoted .ms-header__inner { grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; }
  .ms-points-promoted .ms-brand { grid-column: 1; grid-row: 1; }
  .ms-points-promoted .ms-actions { grid-column: 2; grid-row: 1; }
  .ms-points-promoted .ms-store-menu { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; overflow: visible; padding-block: 2px; }
  .ms-points-promoted .ms-store-menu a { font-size: 0.84rem; }
}
@media (max-width: 700px) {
  .ms-points-promoted .ms-header__inner { grid-template-columns: 40px minmax(52px, 1fr) 40px 66px 40px !important; gap: 6px; }
  .ms-points-promoted .ms-actions { display: contents; }
  .ms-points-promoted .ms-menu-toggle { width: 40px; height: 40px; }
  .ms-points-promoted .ms-brand { grid-column: 2; grid-row: 1; }
  .ms-points-promoted .ms-brand img { width: 68px !important; max-width: 100%; }
  .ms-points-promoted .ms-account-link { grid-column: 3; grid-row: 1; width: 40px; height: 40px; padding: 0 !important; }
  .ms-points-promoted .ms-points-shortcut { grid-column: 4; grid-row: 1; width: 66px; height: 44px; gap: 3px; font-size: 0.7rem; }
  .ms-points-promoted .ms-points-shortcut .ms-promo-star { width: 25px; height: 25px; }
  .ms-points-promoted .ms-cart-link { grid-column: 5; grid-row: 1; width: 40px; min-width: 40px; height: 40px; padding: 0 !important; }
  .ms-points-promoted .ms-search-form { grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; margin: 0; }
  .ms-points-promoted .ms-store-menu { grid-row: 3; }
  .ms-hero .ms-points-hero { padding: 13px 14px; gap: 10px; }
  .ms-points-hero > .ms-promo-star { width: 48px; height: 48px; }
  .ms-points-hero strong { font-size: 1rem; }
  .ms-points-hero-stars .ms-promo-star { width: 30px; height: 30px; }
  .ms-points-hero-stars .ms-promo-star:not(.ms-promo-star--ambient):nth-child(n+21) { display: none; }
  .ms-points-hero-stars .ms-promo-star--ambient { width: 18px; height: 18px; }
  .ms-points-hero-stars .ms-promo-star--ambient:nth-last-child(-n+2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-points-shortcut .ms-promo-star,
  .ms-hero .ms-points-hero,
  .ms-points-hero > .ms-promo-star,
  .ms-points-hero > .ms-promo-star::before,
  .ms-points-hero > .ms-promo-star::after,
  .ms-points-footer .ms-promo-star { animation: none; }
  .ms-points-hero-stars { display: none; }
}
