/* 代理招募浮动卡 [2026-10-30] 全站（商城页）注入，样式与动效集中在此文件 */
#dlC {
  --dl-a: #7c5cfc;
  --dl-b: #22d3ee;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  width: 330px;
  max-width: calc(100vw - 24px);
  padding: 1.5px;
  border-radius: 18px;
  box-sizing: border-box;
  font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #111827;
  background: linear-gradient(135deg, rgba(124, 92, 252, .95), rgba(34, 211, 238, .85) 55%, rgba(244, 114, 182, .8));
  box-shadow: 0 22px 48px -18px rgba(46, 20, 120, .55), 0 2px 8px rgba(17, 24, 39, .06);
  opacity: 0;
  transform: translateY(30px) scale(.94);
  animation: dlC-in .85s cubic-bezier(.16, 1, .3, 1) 3.2s forwards;
  will-change: transform, opacity;
}
#dlC .dlC-b {
  position: relative;
  overflow: hidden;
  padding: 15px 16px 14px;
  border-radius: 16.5px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, opacity .28s ease;
}
#dlC:hover .dlC-b { transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(124, 92, 252, .5); }
#dlC .dlC-b::after {
  content: "";
  position: absolute;
  inset: -60% -70%;
  background: linear-gradient(115deg, transparent 42%, rgba(124, 92, 252, .14) 50%, transparent 58%);
  transform: translateX(-60%);
  animation: dlC-shine 5.2s ease-in-out 4.4s infinite;
  pointer-events: none;
}
#dlC .dlC-x {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9aa3af;
  font-size: 17px;
  cursor: pointer;
  transition: transform .3s ease, color .2s ease, background .2s ease;
}
#dlC .dlC-x:hover { color: #4b5563; background: rgba(17, 24, 39, .06); transform: rotate(90deg); }
#dlC .dlC-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #5b21b6;
  background: linear-gradient(135deg, rgba(124, 92, 252, .16), rgba(34, 211, 238, .16));
}
#dlC .dlC-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: dlC-pulse 1.9s ease-out infinite;
}
#dlC .dlC-t {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.35;
  color: #0f172a;
  background: linear-gradient(92deg, #111827, #4c1d95 60%, #0e7490);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#dlC .dlC-sub {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: #6b7280;
}
#dlC .dlC-c {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}
#dlC .dlC-c span {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #4b5563;
  background: #f3f4f6;
  opacity: 0;
  animation: dlC-up .5s cubic-bezier(.16, 1, .3, 1) forwards;
}
#dlC .dlC-c span:nth-child(1) { animation-delay: 3.45s; }
#dlC .dlC-c span:nth-child(2) { animation-delay: 3.55s; }
#dlC .dlC-c span:nth-child(3) { animation-delay: 3.65s; }
#dlC .dlC-a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(100deg, #7c5cfc, #6366f1 45%, #22d3ee);
  background-size: 200% 100%;
  box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .8);
  animation: dlC-flow 6s linear infinite;
  transition: transform .25s ease, box-shadow .25s ease;
}
#dlC .dlC-a:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(99, 102, 241, .9); }
#dlC .dlC-a i {
  font-style: normal;
  display: inline-block;
  transition: transform .25s ease;
}
#dlC .dlC-a:hover i { transform: translateX(4px); }
#dlC.dlC-out {
  animation: none;
  opacity: 1;
  transform: none;
  transition: opacity .28s ease, transform .28s ease;
}
#dlC.dlC-out .dlC-b { opacity: 0; transform: translateY(18px) scale(.97); }

@keyframes dlC-in {
  from { opacity: 0; transform: translateY(30px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dlC-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dlC-shine {
  0%, 55% { transform: translateX(-60%); }
  75%, 100% { transform: translateX(60%); }
}
@keyframes dlC-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes dlC-flow {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

@media (max-width: 576px) {
  #dlC { left: 12px; right: 12px; bottom: 12px; width: auto; }
  #dlC .dlC-b { padding: 13px 14px 12px; }
  #dlC .dlC-t { font-size: 15px; }
  #dlC .dlC-c { margin: 8px 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  #dlC { animation: none; opacity: 1; transform: none; }
  #dlC .dlC-b::after,
  #dlC .dlC-dot,
  #dlC .dlC-a { animation: none; }
  #dlC .dlC-c span { animation: none; opacity: 1; }
}
