/* —— Gift entry button —— */
.bmp-stream-gift-btn {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  background: linear-gradient(145deg, #ff4d6d 0%, #c4001d 55%, #8f0014 100%);
  box-shadow:
    0 4px 14px rgba(212, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.bmp-stream-gift-btn::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 2px solid rgba(255, 200, 80, 0.35);
  opacity: 0;
  animation: bmp-gift-btn-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.bmp-stream-gift-btn:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);
}

.bmp-stream-gift-btn:active {
  transform: scale(0.96);
}

.bmp-stream-gift-btn[hidden],
.bmp-stream-gift-btn:disabled {
  display: none;
}

.bmp-stream-gift-btn__icon {
  display: block;
  width: 26px;
  height: 26px;
  margin: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  animation: bmp-gift-icon-bob 1.8s ease-in-out infinite;
}

@keyframes bmp-gift-icon-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-2px) rotate(6deg);
  }
}

@keyframes bmp-gift-btn-pulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}

.site-header__gift {
  margin-right: 4px;
}

.live-watch__chat-head .bmp-stream-gift-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* —— Modal —— */
.bmp-gift-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 12px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.bmp-gift-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.bmp-gift-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.bmp-gift-modal__stage {
  position: relative;
  z-index: 1;
  width: min(92vw, calc(88vh * 1.982));
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.88) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.34, 1.25, 0.64, 1);
}

.bmp-gift-modal.is-open .bmp-gift-modal__stage {
  transform: scale(1) translateY(0);
}

.bmp-gift-modal__panel {
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: visible;
}

.bmp-gift-modal__art {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.bmp-gift-modal__content {
  position: absolute;
  left: 22%;
  right: 21%;
  top: 13%;
  bottom: 18%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.bmp-gift-modal__close {
  position: absolute;
  top: 9%;
  right: 11%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bmp-gift-modal__close:hover {
  background: rgba(0, 0, 0, 0.65);
}

.bmp-gift-modal__head {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  right: -50px;
  margin: 0 0 8px;
  padding: 6px 7px 6px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    linear-gradient(90deg, rgba(7, 42, 18, 0.88), rgba(10, 28, 14, 0.78) 48%, rgba(7, 42, 18, 0.88));
  border: 1.5px solid rgba(255, 214, 102, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 12px rgba(0, 0, 0, 0.18),
    0 5px 0 rgba(4, 18, 8, 0.45),
    0 10px 16px rgba(0, 0, 0, 0.28);
}

.bmp-gift-modal__head:has(.bmp-gift-modal__host:empty) {
  display: none;
}

.bmp-gift-modal__title {
  margin: 0;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bmp-gift-modal__host {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.bmp-gift-modal__host-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(0.95rem, 1.7vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 0 14px rgba(255, 236, 170, 0.28);
}

.bmp-gift-modal__host-name::before {
  content: "★";
  margin-right: 6px;
  color: #ffd21f;
  font-size: 0.78em;
  letter-spacing: 0;
  text-shadow: 0 1px 0 #8a6200;
}

.bmp-gift-modal__host-verb {
  margin-top: 2px;
  font-family: "Myanmar Text", "Padauk", "Noto Sans Myanmar", sans-serif;
  font-size: clamp(0.68rem, 1.05vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 244, 214, 0.92);
}

.bmp-gift-modal__balance {
  margin: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 12px 4px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff1a8 0%, #ffd21f 28%, #f0a800 72%, #d99200 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -3px 0 #b77900,
    0 3px 0 #7a4e00;
  color: #3d2500;
}

.bmp-gift-modal__balance:empty {
  display: none;
}

.bmp-gift-modal__balance-kicker {
  font-family: "Myanmar Text", "Padauk", "Noto Sans Myanmar", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.82;
}

.bmp-gift-modal__balance-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(0.95rem, 1.45vw, 1.15rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
}

.bmp-gift-modal__balance-star {
  color: #fff;
  font-size: 0.92em;
  text-shadow: 0 1px 0 rgba(160, 96, 0, 0.55);
}

.bmp-gift-modal__msg {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin: 0 0 6px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffb4c0;
}

.bmp-gift-modal__msg:empty {
  display: none;
}

.bmp-gift-modal__grid {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: stretch;
  gap: clamp(20px, 2.6vw, 28px) clamp(10px, 1.3vw, 16px);
  padding: 2px 2px 8px;
  right: -50px;
}

.bmp-gift-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 0.8 / 1.20;
  padding: 8% 8% 18%;
  border-radius: 22px;
  border: clamp(8px, 0.7vw, 11px) solid transparent;
  background:
    linear-gradient(180deg, #79c8f6 0%, #b9e6ff 38%, #3dadee 100%) padding-box,
    linear-gradient(180deg, #ffffff 0%, #f4fbff 28%, #fbd5d5 72%, #a9d4ee 100%) border-box;
  box-shadow:
    inset 0 8px 14px rgba(0, 0, 0, 0.40),
    inset 0 -16px 18px rgba(18, 92, 150, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 6px 0 #6796b6,
    0 10px 16px rgba(0, 40, 80, 0.22);
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  animation: bmp-gift-card-in 0.45s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
  animation-delay: calc(var(--gift-i, 0) * 45ms);
  transition:
    transform 0.2s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.2s ease;
}

.bmp-gift-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -10px 16px rgba(12, 78, 130, 0.2);
}

@keyframes bmp-gift-card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bmp-gift-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    inset 0 8px 14px rgba(0, 0, 0, 0.40),
    inset 0 -16px 18px rgba(18, 92, 150, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 6px 0 #6796b6,
    0 10px 16px rgba(0, 40, 80, 0.22);
}

.bmp-gift-card__img {
  flex: 0 0 auto;
  width: 86%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(20, 70, 120, 0.28));
  animation: bmp-gift-icon-float 2.8s ease-in-out infinite;
  animation-delay: calc(var(--gift-i, 0) * 0.15s);
}

@keyframes bmp-gift-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.bmp-gift-card__cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(20, 70, 120, 0.35);
}

.bmp-gift-card__cost-star {
  color: #ffd21f;
  font-size: 0.85em;
  text-shadow: 0 1px 0 rgba(180, 120, 0, 0.35);
}

.bmp-gift-card__send {
  position: absolute;
  left: 50%;
  bottom: -10px;
  z-index: 1;
  width: 100px;
  margin: 0;
  border: none;
  border-radius: 10px 10px 10px 10px;
  padding: 0.42em 0 0.5em;
  transform: translate(-50%, 38%);
  font-size: clamp(0.62rem, 1.35vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 0 rgba(120, 0, 30, 0.28);
  cursor: pointer;
  background: linear-gradient(180deg, #ff8ea3 0%, #ff3b60 36%, #e41640 78%, #c81034 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -5px 0 #b10e30,
    0 4px 0 #8d0b26;
  transition:
    filter 0.15s ease,
    transform 0.15s ease;
}

.bmp-gift-card__send:hover {
  filter: brightness(1.06);
  transform: translate(-50%, 38%) scale(1.03);
}

.bmp-gift-card__send:active {
  transform: translate(-50%, 38%) scale(0.97);
}

.bmp-gift-card__send:disabled {
  opacity: 0.55;
  cursor: wait;
}

.bmp-gift-card.is-sending {
  pointer-events: none;
}

/* —— Fly / toast overlay —— */
.bmp-gift-fly-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 8;
}

.bmp-gift-toast {
  position: absolute;
  left: 12px;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(320px, 88%);
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(20, 20, 30, 0.92), rgba(60, 10, 20, 0.88));
  border: 1px solid rgba(255, 100, 120, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  animation: bmp-gift-toast-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

@keyframes bmp-gift-toast-in {
  from {
    opacity: 0;
    transform: translateX(-24px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.bmp-gift-toast.is-out {
  animation: bmp-gift-toast-out 0.4s ease forwards;
}

@keyframes bmp-gift-toast-out {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.bmp-gift-toast__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.bmp-gift-toast__text {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.bmp-gift-toast__name {
  color: #ff9eb5;
}

.bmp-gift-fly-sprite {
  position: absolute;
  width: 96px;
  height: 96px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  animation: bmp-gift-fly-up 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes bmp-gift-fly-up {
  0% {
    opacity: 0;
    transform: translate(calc(-50% + var(--gift-drift, 0px)), 28%) scale(0.35) rotate(-18deg);
  }
  18% {
    opacity: 1;
    transform: translate(calc(-50% + var(--gift-drift, 0px)), -8%) scale(1.15) rotate(8deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--gift-drift, 0px)), -150%) scale(0.7) rotate(18deg);
  }
}

.bmp-gift-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 70%, rgba(255, 230, 120, 0.55), transparent 55%);
  animation: bmp-gift-flash 0.8s ease forwards;
  pointer-events: none;
}

.bmp-gift-flash--t2 {
  background: radial-gradient(circle at 50% 65%, rgba(255, 190, 70, 0.7), transparent 58%);
}

.bmp-gift-flash--t3 {
  background: radial-gradient(circle at 50% 60%, rgba(255, 220, 90, 0.85), rgba(255, 80, 120, 0.25) 42%, transparent 68%);
}

@keyframes bmp-gift-flash {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.bmp-gift-confetti {
  position: absolute;
  top: 42%;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  animation: bmp-gift-confetti 1.4s ease-in forwards;
  pointer-events: none;
}

@keyframes bmp-gift-confetti {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--gift-x, 0px), -180px) rotate(var(--gift-spin, 90deg));
  }
}

.bmp-gift-toast__amount {
  display: inline-block;
  margin-left: 4px;
  color: #ffe566;
  font-weight: 800;
}

.bmp-gift-toast--t3 {
  border-color: rgba(255, 214, 90, 0.7);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(255, 196, 60, 0.35);
}

.live-watch__chat-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-watch__react .bmp-stream-gift-btn--bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  width: auto;
  height: 36px;
  margin-left: 2px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  border: 2px solid #9a1824;
  background: #161616;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  animation: bmp-gift-bar-glow 2.4s ease-in-out infinite;
}

.live-watch__react .bmp-stream-gift-btn--bar::after {
  inset: -3px;
  border-radius: 999px;
  border: 1px solid rgba(180, 30, 42, 0.7);
  animation: bmp-gift-bar-ring 2.4s ease-in-out infinite;
}

.live-watch__react .bmp-stream-gift-btn--bar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transform-origin: 50% 80%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  animation: bmp-gift-bar-wiggle 0.9s ease-in-out infinite;
}

@keyframes bmp-gift-bar-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(120, 16, 24, 0.18),
      0 0 3px rgba(90, 10, 16, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(170, 28, 40, 0.45),
      0 0 8px rgba(140, 16, 28, 0.28);
  }
}

@keyframes bmp-gift-bar-ring {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(1);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.03);
  }
}

@keyframes bmp-gift-bar-wiggle {
  0%,
  100% {
    transform: rotate(-9deg);
  }
  50% {
    transform: rotate(9deg);
  }
}

.live-watch__react .bmp-stream-gift-btn--bar[hidden] {
  display: none;
}

@media (min-width: 901px) {
  .bmp-stream-gift-btn--mobile {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .bmp-stream-gift-btn--desk {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bmp-stream-gift-btn::after,
  .bmp-stream-gift-btn__icon,
  .live-watch__react .bmp-stream-gift-btn--bar,
  .live-watch__react .bmp-stream-gift-btn--bar::after,
  .live-watch__react .bmp-stream-gift-btn--bar img,
  .bmp-gift-card,
  .bmp-gift-card__img,
  .bmp-gift-fly-sprite,
  .bmp-gift-confetti,
  .bmp-gift-toast,
  .bmp-gift-flash,
  .bmp-gift-spotlight,
  .bmp-gift-spotlight__rays,
  .bmp-gift-spotlight__stage,
  .bmp-gift-spotlight__spark {
    animation: none !important;
  }

  .bmp-gift-card {
    opacity: 1;
    transform: none;
  }
}

.stream-modal__preview .bmp-gift-fly-layer {
  border-radius: inherit;
}

.bmp-gift-fly-layer.is-spotlight {
  z-index: 12;
}

.bmp-gift-spotlight {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  animation: bmp-spot-in 0.4s ease forwards;
}

.bmp-gift-spotlight.is-out {
  animation: bmp-spot-out 0.55s ease forwards;
}

.bmp-gift-spotlight__dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 62% at 50% 46%, rgba(90, 58, 0, 0.28) 0%, rgba(0, 0, 0, 0.78) 52%, rgba(0, 0, 0, 0.94) 100%);
}

.bmp-gift-spotlight__rays {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 160%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 210, 70, 0.22) 0deg 7deg,
    transparent 7deg 20deg
  );
  -webkit-mask-image: radial-gradient(circle, #000 8%, transparent 68%);
  mask-image: radial-gradient(circle, #000 8%, transparent 68%);
  animation: bmp-spot-spin 16s linear infinite;
}

.bmp-gift-spotlight__stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8% 6%;
  text-align: center;
  animation: bmp-spot-pop 0.7s cubic-bezier(0.18, 0.9, 0.22, 1.12) both;
}

.bmp-gift-spotlight__badge {
  margin: 0;
  padding: 3px 12px 2px;
  border-radius: 999px;
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #1a1200;
  background: linear-gradient(180deg, #fff6cc 0%, #ffc83d 48%, #d99210 100%);
  box-shadow: 0 0 18px rgba(255, 196, 40, 0.75);
}

.bmp-gift-spotlight__face {
  position: relative;
  width: clamp(88px, 28%, 168px);
  aspect-ratio: 1;
}

.bmp-gift-spotlight__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffd24a;
  box-shadow:
    0 0 0 6px rgba(255, 196, 40, 0.22),
    0 0 36px rgba(255, 186, 40, 0.7),
    0 16px 36px rgba(0, 0, 0, 0.55);
  background: radial-gradient(circle at 40% 35%, #3a2a10, #120e08 70%);
  color: #ffe7a3;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
}

.bmp-gift-spotlight__team {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: 38%;
  height: 38%;
  object-fit: contain;
  border-radius: 50%;
  background: #111;
  border: 2px solid #ffd24a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  padding: 3px;
  box-sizing: border-box;
}

.bmp-gift-spotlight__name {
  margin: 2px 0 0;
  max-width: 92%;
  font-size: clamp(1.15rem, 4.2vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: #fff6d0;
  text-shadow:
    0 0 16px rgba(255, 196, 40, 0.9),
    0 2px 0 #8a5a00;
}

.bmp-gift-spotlight__user {
  margin: 0;
  font-size: clamp(0.78rem, 2vw, 1rem);
  font-weight: 700;
  color: rgba(255, 220, 140, 0.9);
}

.bmp-gift-spotlight__gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 4px 0 0;
  color: #ffe08a;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: clamp(0.92rem, 2.4vw, 1.15rem);
}

.bmp-gift-spotlight__gift img {
  width: clamp(72px, 22%, 104px);
  height: clamp(72px, 22%, 104px);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 196, 40, 0.85));
}

.bmp-gift-spotlight__spark {
  position: absolute;
  bottom: -6%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd24a;
  box-shadow: 0 0 8px #ffd24a;
  animation: bmp-spot-spark 2.2s linear infinite;
}

@keyframes bmp-spot-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bmp-spot-out {
  to { opacity: 0; }
}

@keyframes bmp-spot-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes bmp-spot-pop {
  from { opacity: 0; transform: scale(0.74); }
  to { opacity: 1; transform: none; }
}

@keyframes bmp-spot-spark {
  0% { transform: translateY(8px) scale(0.6); opacity: 0; }
  14% { opacity: 1; }
  100% { transform: translateY(-78vh) scale(1); opacity: 0; }
}

body > .bmp-gift-fly-layer {
  position: fixed;
  inset: 0;
  z-index: 11050;
  pointer-events: none;
}

@media (max-width: 720px) {
  .bmp-gift-modal__stage {
    width: min(96vw, calc(78vh * 1.982));
  }

  .bmp-gift-modal__content {
    left: 21%;
    right: 20%;
    top: 12%;
    bottom: 17%;
  }

  .bmp-gift-modal__close {
    top: 8%;
    right: 10%;
    width: 30px;
    height: 30px;
  }

  .bmp-gift-modal__head {
    gap: 6px;
    margin-bottom: 6px;
    padding: 5px 5px 5px 10px;
    border-radius: 14px;
  }

  .bmp-gift-modal__balance {
    min-height: 32px;
    gap: 5px;
    padding: 3px 8px 3px 7px;
  }
}

.bmp-gift-modal__art--phone {
  display: none;
}

@media (max-width: 900px) {
  .bmp-gift-modal__art--desk {
    display: none;
  }

  .bmp-gift-modal__art--phone {
    display: block;
  }

  .bmp-gift-modal__panel {
    container-type: inline-size;
  }

  .bmp-gift-modal__stage {
    width: min(90vw, calc(86dvh * 0.5116));
  }

  .bmp-gift-modal__content {
    left: 8%;
    right: 8%;
    top: 27%;
    bottom: 30%;
  }

  .bmp-gift-modal__close {
    top: 25.5%;
    right: 7%;
    width: 6.4cqw;
    height: 6.4cqw;
    font-size: 4cqw;
  }

  .bmp-gift-modal__head,
  .bmp-gift-modal__grid {
    right: 0;
  }

  .bmp-gift-modal__head {
    margin-bottom: 2cqw;
    padding: 1.2cqw 1.4cqw 1.2cqw 2.2cqw;
    border-radius: 3cqw;
    gap: 1.4cqw;
  }

  .bmp-gift-modal__host {
    flex: 1 1 auto;
    min-width: 0;
  }

  .bmp-gift-modal__host-name,
  .bmp-gift-modal__host-verb {
    max-width: 100%;
  }

  .bmp-gift-modal__host-name {
    font-size: 3.3cqw;
  }

  .bmp-gift-modal__host-verb {
    font-size: 2.3cqw;
  }

  .bmp-gift-modal__balance {
    min-height: 0;
    gap: 1cqw;
    padding: 0.7cqw 1.8cqw 0.7cqw 1.4cqw;
    border-radius: 2.4cqw;
  }

  .bmp-gift-modal__balance-kicker {
    font-size: 2.1cqw;
  }

  .bmp-gift-modal__balance-value {
    font-size: 3.1cqw;
  }

  .bmp-gift-modal__grid {
    display: grid;
    flex: 0 0 auto;
    min-height: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: none;
    align-content: start;
    justify-items: stretch;
    gap: 5.2cqw 2cqw;
    padding: 0.6cqw 0 0;
  }

  .bmp-gift-card {
    grid-column: span 2;
    flex: none;
    width: auto;
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    justify-content: flex-start;
    border-width: 1.05cqw;
    border-radius: 3.4cqw;
    padding: 4.2cqw 1.1cqw 5cqw;
  }

  .bmp-gift-card:nth-child(7):nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .bmp-gift-card:nth-child(8):nth-last-child(1) {
    grid-column: 4 / span 2;
  }

  .bmp-gift-card__img {
    width: 15.4cqw;
    height: 15.4cqw;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    aspect-ratio: 1;
  }

  .bmp-gift-card__cost {
    margin-top: 0.9cqw;
    font-size: 2.8cqw;
    gap: 0.5cqw;
  }

  .bmp-gift-card__send {
    width: 72%;
    bottom: 0;
    padding: 0.34em 0 0.4em;
    border-radius: 1.8cqw;
    font-size: 2.6cqw;
    box-shadow:
      inset 0 0.35cqw 0 rgba(255, 255, 255, 0.62),
      inset 0 -0.7cqw 0 #b10e30,
      0 0.55cqw 0 #8d0b26;
    transform: translate(-50%, 56%);
  }

  .bmp-gift-card__send:hover {
    transform: translate(-50%, 56%) scale(1.03);
  }

  .bmp-gift-card__send:active {
    transform: translate(-50%, 56%) scale(0.97);
  }
}
