.global-custom-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e293b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  max-width: 260px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999999;
  pointer-events: none;
}
.global-custom-tooltip::before {
  content: '';
  position: absolute;
  border-style: solid;
}
.global-custom-tooltip.tooltip-top::before {
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-color: #1e293b transparent transparent transparent;
}
.global-custom-tooltip.tooltip-bottom::before {
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #1e293b transparent;
}
.global-custom-tooltip.tooltip-left::before {
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent #1e293b;
}
.global-custom-tooltip.tooltip-right::before {
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 5px 5px 0;
  border-color: transparent #1e293b transparent transparent;
}
.global-custom-tooltip.visible {
  visibility: visible;
  opacity: 1;
}

/* ========================================================
   CineShop Starburst Special Badge & Premium Tooltip
   ======================================================== */
@keyframes cineshopStarburstPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 5px rgba(34, 197, 94, 0.45));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.9)) drop-shadow(0 4px 12px rgba(22, 163, 74, 0.6));
  }
}

.cineshop-notice-stamp-wrapper {
  position: relative;
  display: inline-block;
  cursor: help;
  user-select: none;
  outline: none;
}

/* Starburst Multi-point Circular Badge (Ngôi sao nhiều cánh hình tròn - Light Green) */
.cineshop-starburst-badge {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 30% 30%, #4ade80 0%, #22c55e 60%, #15803d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  clip-path: polygon(
    50% 0%, 58% 10%, 69% 4%, 73% 16%, 85% 15%, 84% 27%, 96% 31%, 90% 42%,
    100% 50%, 90% 58%, 96% 69%, 84% 73%, 85% 85%, 73% 84%, 69% 96%, 58% 90%,
    50% 100%, 42% 90%, 31% 96%, 27% 84%, 15% 85%, 16% 73%, 4% 69%, 10% 58%,
    0% 50%, 10% 42%, 4% 31%, 16% 27%, 15% 15%, 27% 16%, 31% 4%, 42% 10%
  );
  animation: cineshopStarburstPulse 2.2s infinite ease-in-out;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.cineshop-starburst-badge::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.cineshop-starburst-text {
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  display: block;
  padding: 0 2px;
}

.cineshop-notice-stamp-wrapper:hover .cineshop-starburst-badge,
.cineshop-notice-stamp-wrapper:focus .cineshop-starburst-badge {
  transform: scale(1.14);
  filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.95)) drop-shadow(0 4px 14px rgba(22, 163, 74, 0.7));
}

/* Premium Tooltip UI (Modern Clean Card with Green Accent) */
.cineshop-notice-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  color: #1e293b;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #22c55e;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  width: 230px;
  max-width: 230px;
  box-sizing: border-box;
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.08);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  transform: translateY(6px) scale(0.96);
  transform-origin: bottom right;
  z-index: 99999;
  pointer-events: none;
}

.cineshop-notice-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 18px;
  border-width: 7px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.05));
}

.cineshop-notice-stamp-wrapper:hover .cineshop-notice-tooltip,
.cineshop-notice-stamp-wrapper:focus .cineshop-notice-tooltip,
.cineshop-notice-stamp-wrapper:focus-within .cineshop-notice-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}
