/* 小鲨鱼 logo（侧视剪影 + 血红背鳍边） */
:root {
  --shark-logo: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2028%2016%27%20fill%3D%27none%27%3E%3Cg%20transform%3D%27translate%2828%200%29%20scale%28-1%201%29%27%3E%3Cpath%20d%3D%22M2.2%209.2C5.2%206.2%2010.2%204.6%2015.2%205.2c2.4.3%204.6%201.1%206.6%202.1l3.4-1.3-1.5%202.4%201.9%201.5-3.8.2c-2.6.1-5.2.8-7.4%202.1-2.4%201.4-5.3%201.6-8.1.4L2%2011.8l.2-2.6z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M11.2%205.4L13.6.9l2.5%204.3%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M13.6.9L16.1%205.2%22%20stroke%3D%22%23ff8a96%22%20stroke-width%3D%221.35%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%225.1%22%20cy%3D%228.4%22%20r%3D%22.55%22%20fill%3D%22%231a1a1a%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.nav-buy::before,
.btn-pill::before {
  width: 18px !important;
  height: 11px !important;
  background: var(--shark-logo) center / contain no-repeat !important;
}

.transport button:not(.ghost)::before,
.floating-dock a.primary::before {
  width: 18px !important;
  height: 11px !important;
  background: var(--shark-logo) center / contain no-repeat !important;
}

/* —— 动态歌词卡 —— */
.lyric-card-stage {
  perspective: 900px;
}
.lyric-card-stage .tarot-frame {
  position: relative;
  transform-style: preserve-3d;
  animation: cardFloat 5.5s ease-in-out infinite;
  transition: box-shadow .6s ease, transform .35s ease;
  box-shadow:
    0 24px 60px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.06),
    0 0 40px var(--card-glow, rgba(196,30,58,.25));
}
.lyric-card-stage .tarot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,.12) 48%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: cardShimmer 4.8s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
.lyric-card-stage .card-stack {
  position: relative;
  line-height: 0;
}
.lyric-card-stage .card-stack img {
  width: 100%;
  display: block;
  transition: opacity .55s ease, transform .7s ease;
}
.lyric-card-stage .card-stack img.card-prev {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}
.lyric-card-stage.is-switching .card-stack img.card-prev {
  opacity: 1;
  transform: scale(1);
}
.lyric-card-stage.is-switching .card-stack img.card-main {
  opacity: 0;
  transform: scale(.98);
}
.lyric-card-stage .mood-pulse {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 62%;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--card-glow, rgba(196,30,58,.45)) 0%, transparent 70%);
  filter: blur(8px);
  opacity: .7;
  animation: moodPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateX(1.5deg) rotateY(-1.2deg); }
}
@keyframes cardShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}
@keyframes moodPulse {
  0%, 100% { opacity: .45; transform: translateX(-50%) scaleX(1); }
  50% { opacity: .85; transform: translateX(-50%) scaleX(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .lyric-card-stage .tarot-frame,
  .lyric-card-stage .tarot-frame::after,
  .lyric-card-stage .mood-pulse {
    animation: none !important;
  }
}

/* 歌词卡返回《沉浮》主页 */
.card-back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0;
  padding: 10px 18px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.card-back-home:hover {
  background: var(--accent, #c41e3a);
  border-color: transparent;
}
