.xp-coupon-dock {
  position: fixed;
  z-index: 2147482000;
  top: var(--xp-top, 88px);
  bottom: var(--xp-bottom, 28px);
  width: 304px;
  display: flex;
  flex-direction: column;
  background: transparent;
  pointer-events: none;
}
.xp-coupon-dock.xp-desktop-left {
  left: var(--xp-left, 14px);
}
.xp-coupon-dock.xp-desktop-right {
  right: var(--xp-right, 14px);
}
.xp-coupon-dock[hidden] {
  display: none;
}
.xp-coupon-dock > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  pointer-events: auto;
}
.xp-coupon-dock > header div {
  display: grid;
  gap: 2px;
}
.xp-coupon-dock > header small {
  color: #c2185b;
  font:
    800 11px/1.2 "Segoe UI",
    Arial,
    sans-serif;
  letter-spacing: 0.14em;
}
.xp-coupon-dock > header strong {
  color: #17191b;
  font:
    700 15px/1.25 "Segoe UI",
    Arial,
    sans-serif;
}
.xp-close-all,
.xp-card-close {
  display: grid;
  place-items: center;
  color: #c2185b;
  background: #fff4f8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.xp-close-all {
  width: 30px;
  height: 30px;
  font-size: 20px;
}
.xp-coupon-list {
  display: grid;
  gap: 10px;
  padding: 8px 4px;
  overflow: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
}
.xp-coupon {
  position: relative;
  padding: 18px 12px 12px;
  color: var(--xp-text);
  background: #fff;
  border: var(--xp-border) solid var(--xp-frame);
  border-radius: var(--xp-radius);
  font-size: var(--xp-font-size);
  font-weight: var(--xp-font-weight);
  box-shadow: 0 8px 25px rgba(40, 20, 29, 0.08);
  animation: xp-coupon-breathe 4.8s ease-in-out infinite;
}
.xp-coupon[data-style="solid"] {
  color: #fff;
  background: var(--xp-frame);
}
.xp-card-close {
  position: absolute;
  top: 4px;
  right: 5px;
  width: 23px;
  height: 23px;
  color: inherit;
  background: transparent;
  font-size: 16px;
}
.xp-card-close:hover {
  background: rgba(194, 24, 91, 0.08);
}
.xp-coupon-main {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
}
.xp-coupon-main > strong {
  font-size: 1.65em;
  line-height: 1;
  letter-spacing: -0.05em;
  text-align: center;
}
.xp-coupon-main > span {
  display: grid;
  gap: 3px;
  padding-left: 10px;
  border-left: 1px dashed currentColor;
}
.xp-coupon-main b {
  font-size: 0.82em;
  line-height: 1.25;
}
.xp-coupon-main small {
  font-size: 0.65em;
  font-weight: 500;
  line-height: 1.3;
}
.xp-copy {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  color: var(--xp-button-text);
  background: var(--xp-button);
  border: 0;
  border-radius: calc(var(--xp-radius) - 3px);
  font-size: var(--xp-button-size);
  font-weight: var(--xp-button-weight);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}
.xp-copy:hover {
  filter: saturate(1.1);
  transform: translateY(-1px);
}
.xp-copy:active {
  transform: scale(0.98);
}
.xp-motion-breathe {
  animation: xp-button-breathe 2.8s ease-in-out infinite;
}
.xp-motion-float {
  animation: xp-button-float 2.6s ease-in-out infinite;
}
.xp-motion-pulse {
  animation: xp-button-pulse 2.4s ease-in-out infinite;
}
.xp-motion-shine::after,
.xp-motion-attention::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgb(255 255 255 / 32%) 48%,
    transparent 68%
  );
  content: "";
  pointer-events: none;
  transform: translateX(-130%);
  animation: xp-button-shine 3.2s ease-in-out infinite;
}
.xp-motion-attention {
  animation: xp-button-attention 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.xp-motion-attention::after {
  background: linear-gradient(
    105deg,
    transparent 22%,
    rgb(255 255 255 / 50%) 48%,
    transparent 74%
  );
  transform: translateX(-140%);
  animation-duration: 3.6s;
}
@keyframes xp-button-breathe {
  50% {
    filter: saturate(1.08);
    transform: scale(1.015);
  }
}
@keyframes xp-button-float {
  50% {
    box-shadow: 0 7px 15px rgb(194 24 91 / 18%);
    transform: translateY(-2px);
  }
}
@keyframes xp-button-pulse {
  50% {
    box-shadow: 0 0 0 4px rgb(194 24 91 / 13%);
  }
}
@keyframes xp-button-shine {
  0%,
  45% {
    transform: translateX(-130%);
  }
  70%,
  100% {
    transform: translateX(130%);
  }
}
@keyframes xp-button-attention {
  0%,
  12%,
  100% {
    box-shadow: 0 0 0 0 rgb(194 24 91 / 0%);
  }
  22% {
    box-shadow:
      0 0 0 7px rgb(194 24 91 / 22%),
      0 8px 22px rgb(194 24 91 / 28%);
  }
  34% {
    box-shadow:
      0 0 0 3px rgb(194 24 91 / 12%),
      0 5px 16px rgb(194 24 91 / 22%);
  }
  48%,
  88% {
    box-shadow: 0 3px 10px rgb(194 24 91 / 16%);
  }
}
.xp-coupon-reopen {
  position: fixed;
  z-index: 2147481999;
  top: 150px;
  display: none;
  min-width: 40px;
  min-height: 126px;
  padding: 16px 10px;
  color: #fff;
  background: #c2185b;
  border: 0;
  font:
    900 11px/1.1 "Segoe UI",
    Arial,
    sans-serif;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(194, 24, 91, 0.22);
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}
.xp-coupon-reopen:hover {
  filter: saturate(1.08);
  transform: translateY(-2px);
}
.xp-coupon-reopen.xp-desktop-left {
  left: var(--xp-left, 14px);
  border-radius: 0 8px 8px 0;
}
.xp-coupon-reopen.xp-desktop-right {
  right: var(--xp-right, 14px);
  border-radius: 8px 0 0 8px;
}
.xp-coupon-reopen.xp-visible {
  display: block;
}
.xp-dismissed {
  opacity: 0;
  transform: translateX(-12px);
  transition: 0.18s;
}
@keyframes xp-coupon-breathe {
  50% {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(194, 24, 91, 0.12);
  }
}
@media (max-width: 700px) {
  .xp-coupon-dock {
    width: min(304px, calc(100vw - 16px));
  }
  .xp-coupon-dock.xp-mobile-left {
    right: auto;
    left: var(--xp-left, 8px);
  }
  .xp-coupon-dock.xp-mobile-right {
    right: var(--xp-right, 8px);
    left: auto;
  }
  .xp-coupon-reopen.xp-mobile-left {
    right: auto;
    left: var(--xp-left, 8px);
  }
  .xp-coupon-reopen.xp-mobile-right {
    right: var(--xp-right, 8px);
    left: auto;
  }
  .xp-coupon-reopen {
    min-width: 44px;
    min-height: 126px;
    padding: 14px 10px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xp-coupon {
    animation: none;
  }
  .xp-copy {
    animation: none !important;
    transition: none;
  }
  .xp-copy::after {
    animation: none !important;
  }
}
