.seckill-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  animation: seckillNoticeOverlayIn 0.24s ease forwards;
}

.seckill-notice-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 184, 28, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(12, 8, 14, 0.22), rgba(12, 8, 14, 0.04));
  opacity: 0;
  animation: seckillNoticeShade 3.8s ease forwards;
}

.seckill-notice-stage {
  position: absolute;
  inset: 0;
}

.seckill-firework-spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 0 12px var(--c), 0 0 24px rgba(255, 255, 255, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.22);
  animation: seckillFireworkSpark 1.05s cubic-bezier(.14,.76,.22,1) forwards;
  animation-delay: var(--delay);
}

.seckill-notice-card {
  position: fixed;
  left: 50%;
  top: 42%;
  width: min(380px, calc(100vw - 34px));
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 220, 82, 0.68);
  border-radius: 16px;
  color: #fff7d1;
  background:
    linear-gradient(145deg, rgba(126, 20, 16, 0.96), rgba(36, 8, 16, 0.98) 58%, rgba(14, 8, 13, 0.98)),
    radial-gradient(circle at 24% 0, rgba(255, 224, 88, 0.3), transparent 34%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.44),
    0 0 48px rgba(255, 74, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round 16px);
  animation: seckillNoticeCardIn 0.78s cubic-bezier(.16,.92,.22,1.12) 0.2s forwards;
}

.seckill-notice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 34%, rgba(255,255,255,0.24) 47%, rgba(255,255,255,0.08) 54%, transparent 66%);
  transform: translateX(-135%);
  animation: seckillNoticeSweep 3.2s ease-in-out 1.1s infinite;
  pointer-events: none;
  z-index: 0;
}

.seckill-notice-card > * {
  position: relative;
  z-index: 1;
}

.seckill-notice-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: #4a1600;
  background: linear-gradient(90deg, #ffe16b, #ff9f1c);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 127, 24, 0.24);
}

.seckill-notice-title {
  margin: 13px 0 8px;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(92, 18, 0, 0.8), 0 0 18px rgba(255, 207, 64, 0.52);
}

.seckill-notice-copy {
  margin: 0;
  color: rgba(255, 245, 205, 0.86);
  font-size: 14px;
  line-height: 1.7;
}

.seckill-notice-actions {
  display: flex;
  gap: 10px;
  margin-top: 17px;
}

.seckill-notice-btn {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #ef2222, #ff7a18);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(255, 72, 24, 0.34);
}

.seckill-notice-btn.secondary {
  color: #fff4cf;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.seckill-notice-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 20px;
  line-height: 28px;
}

.layuimini-menu-left a.seckill-route-status {
  position: relative;
  overflow: hidden;
  padding-right: 70px !important;
}

.layuimini-menu-left a.seckill-route-status .layui-left-nav {
  display: inline-block;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  vertical-align: middle;
  white-space: nowrap;
}

.layuimini-menu-left a.seckill-route-status::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.layuimini-menu-left a.seckill-route-status::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(-115%);
}

.layuimini-menu-left a.seckill-route-status.is-live {
  color: #fff3b0 !important;
  box-shadow: inset 3px 0 0 #ffcc33;
}

.layuimini-menu-left a.seckill-route-status.is-live::before {
  opacity: 1;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 204, 51, 0.28), transparent 36%),
    linear-gradient(90deg, rgba(220, 38, 38, 0.28), rgba(255, 122, 24, 0.1));
}

.layuimini-menu-left a.seckill-route-status.is-live::after {
  background: linear-gradient(105deg, transparent 18%, rgba(255, 230, 128, 0.36) 48%, transparent 72%);
  animation: seckillRouteSweep 2.4s ease-in-out infinite;
}

.layuimini-menu-left a.seckill-route-status.is-soon {
  color: #dff6ff !important;
  box-shadow: inset 3px 0 0 #38bdf8;
}

.layuimini-menu-left a.seckill-route-status.is-soon::before {
  opacity: 1;
  background:
    radial-gradient(circle at 12% 50%, rgba(56, 189, 248, 0.28), transparent 36%),
    linear-gradient(90deg, rgba(14, 116, 144, 0.3), rgba(56, 189, 248, 0.08));
}

.layuimini-menu-left a.seckill-route-status.is-live > i {
  color: #ffdd57;
  text-shadow: 0 0 12px rgba(255, 210, 74, 0.82);
  animation: seckillRouteBolt 1.25s ease-in-out infinite;
}

.layuimini-menu-left a.seckill-route-status.is-soon > i {
  color: #7dd3fc;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.82);
}

.seckill-route-badge {
  position: absolute;
  right: 8px;
  top: 50%;
  min-width: 48px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.seckill-route-badge.is-live {
  color: #fff7cc;
  background: linear-gradient(135deg, #ef2222, #ff7a18);
  box-shadow: 0 0 12px rgba(255, 100, 32, 0.52);
  animation: seckillRouteBadgeLive 1.1s ease-in-out infinite;
}

.seckill-route-badge.is-soon {
  color: #e0f7ff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.46);
}

@keyframes seckillNoticeOverlayIn {
  to { opacity: 1; }
}

@keyframes seckillNoticeShade {
  0%, 24% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes seckillFireworkSpark {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.22);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.06);
  }
}

@keyframes seckillNoticeCardIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72) rotateX(18deg);
  }
  64% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04) rotateX(0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotateX(0);
  }
}

@keyframes seckillNoticeSweep {
  0%, 48% { transform: translateX(-135%); }
  72%, 100% { transform: translateX(135%); }
}

@keyframes seckillRouteSweep {
  0%, 42% { transform: translateX(-115%); }
  72%, 100% { transform: translateX(115%); }
}

@keyframes seckillRouteBadgeLive {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-50%) scale(1.08);
    filter: brightness(1.25);
  }
}

@keyframes seckillRouteBolt {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-1px) scale(1.16); }
  58% { transform: translateY(1px) scale(0.95); }
}

@media (max-width: 768px) {
  .seckill-notice-card {
    top: 48%;
    padding: 20px 18px 16px;
  }

  .seckill-notice-title {
    font-size: 24px;
  }

  .seckill-notice-actions {
    flex-direction: column;
  }
}
