/* SENSIK visual refresh — subtle AI gradients, human creator hero and richer package cards.
   Presentation-only layer; generation, pricing catalog and checkout behavior remain unchanged. */

/* Soft cyan/violet ambience across the hero without making the dark theme noisy. */
.snv-hero {
  isolation: isolate;
}
.snv-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -15% -6% -8% 30%;
  background:
    radial-gradient(ellipse at 55% 28%, rgba(44, 222, 210, .12), transparent 36%),
    radial-gradient(ellipse at 86% 42%, rgba(126, 91, 255, .105), transparent 34%),
    radial-gradient(ellipse at 66% 86%, rgba(53, 155, 255, .055), transparent 36%);
  filter: blur(12px);
}
.snv-hero-grid { position: relative; z-index: 1; }
.snv-hero-visual { min-height: 475px; overflow: visible; isolation: isolate; }
.snv-hero-person-glow {
  position: absolute;
  z-index: 0;
  right: -34px;
  top: 3%;
  width: min(420px, 83%);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 42% 40%, rgba(42, 221, 212, .20), transparent 36%),
    radial-gradient(circle at 70% 56%, rgba(143, 98, 255, .15), transparent 48%);
  filter: blur(17px);
  animation: snvHeroGlowBreathe 6.5s ease-in-out infinite;
}
.snv-hero-creator {
  position: absolute;
  z-index: 1;
  right: -52px;
  bottom: -20px;
  display: block;
  width: min(440px, 88%);
  height: auto;
  max-height: 112%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .28));
  transform-origin: center bottom;
  animation: snvHeroCreatorFloat 7.8s ease-in-out infinite;
  will-change: transform;
}
.snv-music-art {
  z-index: 2;
  width: min(100%, 340px);
  transform: rotate(2deg) translate(-42px, 45px);
  border-color: rgba(111, 245, 226, .31);
  background:
    radial-gradient(ellipse at 86% 8%, rgba(113, 94, 246, .12), transparent 40%),
    linear-gradient(145deg, rgba(20, 57, 62, .92), rgba(5, 12, 18, .97) 52%, rgba(20, 23, 45, .92));
  box-shadow: 0 35px 90px rgba(0, 0, 0, .48), 0 0 52px rgba(73, 245, 213, .10);
}
.snv-float-card { z-index: 4; }
.snv-float-card.one { left: -8px; }
.snv-float-card.two { right: -7px; }

/* Package card color accents: controlled saturation so text stays easy to read. */
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card {
  --snv-plan-glow: rgba(73, 245, 213, .115);
  --snv-plan-border: rgba(73, 245, 213, .24);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: var(--snv-plan-border);
  background:
    radial-gradient(ellipse at 96% 0%, var(--snv-plan-glow), transparent 52%),
    linear-gradient(150deg, rgba(17, 30, 37, .98), rgba(7, 13, 18, .985));
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card:nth-child(5n + 1) {
  --snv-plan-glow: rgba(66, 235, 206, .14);
  --snv-plan-border: rgba(73, 245, 213, .29);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card:nth-child(5n + 2) {
  --snv-plan-glow: rgba(154, 113, 255, .15);
  --snv-plan-border: rgba(164, 135, 255, .28);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card:nth-child(5n + 3) {
  --snv-plan-glow: rgba(255, 116, 163, .12);
  --snv-plan-border: rgba(255, 142, 182, .24);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card:nth-child(5n + 4) {
  --snv-plan-glow: rgba(90, 175, 255, .14);
  --snv-plan-border: rgba(102, 188, 255, .27);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card:nth-child(5n) {
  --snv-plan-glow: rgba(255, 194, 97, .12);
  --snv-plan-border: rgba(255, 201, 118, .25);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card .snv-plan-badge {
  border-color: color-mix(in srgb, var(--snv-plan-border) 88%, transparent);
  background: color-mix(in srgb, var(--snv-plan-glow) 72%, transparent);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card .snv-plan-divider {
  background: linear-gradient(90deg, transparent, var(--snv-plan-border), transparent);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card .snv-plan-benefit i {
  color: color-mix(in srgb, var(--snv-plan-border) 42%, #7ffff0);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card:hover,
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card:focus-visible {
  border-color: color-mix(in srgb, var(--snv-plan-border) 65%, white);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .30), 0 0 30px var(--snv-plan-glow);
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card .snv-plan-cta {
  border-color: color-mix(in srgb, var(--snv-plan-border) 65%, transparent);
  background: linear-gradient(110deg, color-mix(in srgb, var(--snv-plan-glow) 65%, transparent), rgba(255, 255, 255, .025));
}
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card.snv-plan-featured,
#pricing .snv-plan-grid:not(.snv-plan-grid-single) > .snv-plan-card.snv-plan-lifetime {
  box-shadow: 0 0 0 1px var(--snv-plan-border), 0 18px 42px rgba(0, 0, 0, .24);
}
#pricing .snv-plan-grid.snv-plan-grid-single > .snv-plan-card {
  background:
    radial-gradient(ellipse at 5% 0%, rgba(66, 235, 206, .16), transparent 48%),
    radial-gradient(ellipse at 100% 12%, rgba(149, 110, 255, .14), transparent 42%),
    radial-gradient(ellipse at 82% 100%, rgba(255, 110, 161, .075), transparent 43%),
    linear-gradient(145deg, #10242d 0%, #0a131c 51%, #080c13 100%);
  border-color: rgba(118, 221, 240, .43);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .30), 0 0 0 1px rgba(73, 245, 213, .07), 0 0 56px rgba(102, 127, 255, .075), inset 0 1px 0 rgba(255, 255, 255, .045);
}
#pricing .snv-plan-grid.snv-plan-grid-single > .snv-plan-card .snv-plan-badge {
  border-color: rgba(118, 221, 240, .24);
  background: linear-gradient(110deg, rgba(73, 245, 213, .09), rgba(148, 112, 255, .08));
}

@media (max-width: 760px) {
  .snv-hero::before { inset: -7% -22% -5% 4%; opacity: .85; }
  .snv-hero-visual { min-height: clamp(325px, 82vw, 365px) !important; }
  .snv-hero-person-glow { width: 270px; right: -8px; top: 0; }
  .snv-hero-creator { width: min(280px, 72%); right: -4px; bottom: -7px; max-height: none; }
  .snv-music-art {
    width: min(74%, 300px) !important;
    max-width: 300px !important;
    transform: translate(-54px, 27px) !important;
    border-radius: 23px !important;
  }
  .snv-float-card.one { top: 8px; left: -2px; }
  .snv-float-card.two { right: -2px; bottom: 8px; }
}
@media (max-width: 420px) {
  .snv-hero-creator { width: min(258px, 74%); right: 2px; }
  .snv-hero-person-glow { width: 232px; right: -3px; }
  .snv-music-art { width: min(76%, 280px) !important; transform: translate(-42px, 24px) !important; }
  .snv-float-card { padding: 9px 10px; border-radius: 12px; }
  .snv-float-card.one { top: 4px; left: -5px; }
  .snv-float-card.two { right: -4px; bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .snv-hero-creator, .snv-plan-card { transition: none !important; }
  .snv-hero-creator, .snv-hero-person-glow, .snv-orbit, .snv-orbit.two { animation: none !important; will-change: auto; }
}

/* Floating hero listen control — replaces the large audio card without covering the creator. */
.snv-hero-audio-control {
  position: absolute;
  z-index: 4;
  left: 3.5%;
  bottom: 72px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: min(355px, 70%);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #eafcff;
  background: transparent;
  box-shadow: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  transition: transform .22s ease, filter .22s ease;
}
.snv-hero-audio-control:hover { transform: translateY(-3px); filter: brightness(1.08); }
.snv-hero-audio-control:focus-visible { outline: 2px solid rgba(102, 247, 224, .82); outline-offset: 8px; border-radius: 20px; }
.snv-hero-audio-orb {
  position: relative;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  isolation: isolate;
}
.snv-hero-audio-orb-halo {
  position: absolute;
  z-index: -2;
  inset: -13px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 245, 216, .20), rgba(111, 120, 255, .09) 48%, transparent 72%);
  filter: blur(5px);
  opacity: .8;
  transition: opacity .25s ease, transform .25s ease;
}
.snv-hero-audio-orb-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(102, 247, 224, .30);
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(71, 240, 218, .045), 0 0 22px rgba(71, 240, 218, .06);
  transition: border-color .25s ease, transform .25s ease;
}
.snv-hero-audio-orb-ring-one { transform: scale(.88); }
.snv-hero-audio-orb-ring-two { transform: scale(1.12); border-color: rgba(150, 136, 255, .25); }
.snv-hero-audio-orb-core {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding-left: 2px;
  border: 1px solid rgba(222, 255, 250, .74);
  border-radius: 50%;
  color: #031b20;
  background: linear-gradient(135deg, #a2ffef 0%, #42e9d2 48%, #8d9bff 100%);
  box-shadow: 0 0 0 5px rgba(66, 237, 214, .075), 0 0 24px rgba(73, 245, 213, .32), inset 0 1px 0 rgba(255,255,255,.7);
  font-size: 17px;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.snv-hero-audio-details { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 2px; }
.snv-hero-audio-status-line { display: inline-flex; align-items: center; gap: 7px; color: #d8fff8; font-size: 9px; font-weight: 900; letter-spacing: .15em; white-space: nowrap; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.snv-hero-audio-live-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #6f8d9c; box-shadow: 0 0 0 3px rgba(111,141,156,.10); }
.snv-hero-audio-wave { display: flex; align-items: center; justify-content: flex-start; gap: 2px; width: 196px; max-width: 100%; height: 42px; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 93%, transparent 100%); }
.snv-hero-audio-wave span { display: block; flex: 0 0 2.5px; width: 2.5px; height: var(--h, 4px); border-radius: 99px; transform-origin: center; background: linear-gradient(180deg, #9d9bff 0%, #6ff5df 53%, #21aab9 100%); opacity: .34; box-shadow: 0 0 7px rgba(74,239,219,.28); animation: snvBar .75s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -35ms); animation-play-state: paused; }
.snv-hero-audio-control.is-stopped .snv-hero-audio-wave span { height: var(--h, 4px) !important; opacity: .40; animation: none !important; animation-delay: 0ms !important; transform: none !important; }
.snv-hero-audio-control.is-playing .snv-hero-audio-wave span { animation-play-state: running; opacity: .98; }
.snv-hero-audio-control.is-paused .snv-hero-audio-wave span { animation-play-state: paused; opacity: .57; }
.snv-hero-audio-control.is-stopped .snv-hero-audio-orb-ring-one { animation: snvHeroRingBreathe 3.8s ease-in-out infinite; }
.snv-hero-audio-control.is-stopped .snv-hero-audio-orb-core { animation: snvHeroOrbBreathe 3.8s ease-in-out infinite; }
.snv-hero-audio-caption { color: rgba(183, 207, 221, .75); font-size: 8px; font-weight: 800; letter-spacing: .13em; white-space: nowrap; text-shadow: 0 2px 14px rgba(0,0,0,.85); }
.snv-hero-audio-control.is-playing .snv-hero-audio-live-dot { background: #6af5db; box-shadow: 0 0 0 3px rgba(106,245,219,.14), 0 0 13px rgba(106,245,219,.8); animation: sensikNowPlayingPulse 1.15s ease-in-out infinite; }
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-halo { opacity: 1; transform: scale(1.18); }
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-ring-one { transform: scale(1.06); border-color: rgba(102,247,224,.66); animation: snvHeroListenRipple 2.2s ease-out infinite; }
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-ring-two { transform: scale(1.24); border-color: rgba(160,145,255,.46); animation: snvHeroListenRipple 2.2s ease-out .7s infinite; }
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-core { box-shadow: 0 0 0 7px rgba(66,237,214,.10), 0 0 38px rgba(73,245,213,.54), inset 0 1px 0 rgba(255,255,255,.78); }
.snv-hero-audio-control.is-paused .snv-hero-audio-orb-core { background: linear-gradient(145deg,#f4d09a,#dfae61 58%,#a67dff); }
.snv-hero-audio-control.is-paused .snv-hero-audio-live-dot { background: #ffc66d; box-shadow: 0 0 0 3px rgba(255,198,109,.12); }
@keyframes snvHeroListenRipple { 0% { opacity: .72; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes snvHeroCreatorFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-4px, -8px, 0); }
}
@keyframes snvHeroGlowBreathe {
  0%, 100% { opacity: .78; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes snvHeroRingBreathe {
  0%, 100% { transform: scale(.88); opacity: .56; }
  50% { transform: scale(1.02); opacity: .92; }
}
@keyframes snvHeroOrbBreathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(66,237,214,.075), 0 0 24px rgba(73,245,213,.26), inset 0 1px 0 rgba(255,255,255,.7); }
  50% { transform: scale(1.035); box-shadow: 0 0 0 7px rgba(66,237,214,.10), 0 0 32px rgba(73,245,213,.39), inset 0 1px 0 rgba(255,255,255,.78); }
}

@media (max-width: 760px) {
  .snv-hero-audio-control { left: 0; bottom: 40px; gap: 10px; max-width: 76%; }
  .snv-hero-audio-orb { flex-basis: 62px; width: 62px; height: 62px; }
  .snv-hero-audio-orb-core { width: 44px; height: 44px; font-size: 15px; }
  .snv-hero-audio-wave { width: 160px; height: 34px; gap: 1.5px; }
  .snv-hero-audio-wave span { flex-basis: 2px; width: 2px; }
  .snv-hero-audio-status-line { font-size: 8px; letter-spacing: .11em; }
  .snv-hero-audio-caption { font-size: 7px; letter-spacing: .1em; }
  .snv-float-card.two { bottom: 100px; right: -2px; }
}
@media (max-width: 420px) {
  .snv-hero-audio-control { left: -4px; bottom: 28px; gap: 8px; max-width: 80%; }
  .snv-hero-audio-orb { flex-basis: 56px; width: 56px; height: 56px; }
  .snv-hero-audio-orb-core { width: 40px; height: 40px; }
  .snv-hero-audio-wave { width: 135px; height: 30px; }
  .snv-hero-audio-caption { letter-spacing: .06em; }
  .snv-float-card.two { bottom: 96px; right: -3px; }
}
@media (prefers-reduced-motion: reduce) {
  .snv-hero-audio-control, .snv-hero-audio-control * { animation: none !important; transition: none !important; }
  .snv-hero-creator, .snv-hero-person-glow, .snv-orbit, .snv-orbit.two { animation: none !important; will-change: auto; }
}



/* HERO COMPOSITION 5 — align the play/wave unit in the negative space, pull the portrait inward,
   and keep the two floating callouts away from the face and waveform. */
@media (min-width: 761px) {
  .snv-hero-creator {
    right: 6px !important;
    bottom: -10px !important;
    width: min(416px, 84%) !important;
  }
  .snv-hero-person-glow {
    right: 4px !important;
    width: min(410px, 80%) !important;
  }
  .snv-hero-audio-control {
    left: 15.5% !important;
    bottom: 96px !important;
    gap: 10px !important;
    max-width: 300px !important;
    transform: translateX(-50%);
  }
  .snv-hero-audio-control:hover { transform: translate(-50%, -3px); }
  .snv-hero-audio-orb { flex-basis: 68px !important; width: 68px !important; height: 68px !important; }
  .snv-hero-audio-orb-core { width: 48px !important; height: 48px !important; }
  .snv-hero-audio-wave { width: 150px !important; height: 40px !important; justify-content: center !important; }
  .snv-hero-audio-details { align-self: center; }
  .snv-float-card.one {
    top: 7% !important;
    left: 6% !important;
    padding: 10px 13px !important;
  }
  .snv-float-card.two {
    top: auto !important;
    right: auto !important;
    left: 4% !important;
    bottom: 8px !important;
    max-width: 178px;
    padding: 10px 13px !important;
  }
}

/* A clear playback-driven waveform: JavaScript sets live scale values while the real audio plays.
   Without analyser data, the playback-clock fallback still moves every bar. */
.snv-hero-audio-wave { align-items: center !important; justify-content: center !important; }
.snv-hero-audio-wave > span {
  animation: none !important;
  transform: scaleY(.38);
  transform-origin: center center !important;
  transition: transform 55ms linear, opacity 80ms ease;
  will-change: transform;
}
.snv-hero-audio-control.is-playing .snv-hero-audio-wave > span:not(.is-audio-reactive) {
  animation: snvHeroWaveLive .46s ease-in-out infinite alternate !important;
  animation-delay: calc(var(--i, 0) * -28ms) !important;
  opacity: .98 !important;
}
.snv-hero-audio-wave > span.is-audio-reactive {
  animation: none !important;
  transform: scaleY(var(--snv-wave-scale, .42)) !important;
  opacity: .98 !important;
  transition: transform 55ms linear !important;
}
.snv-hero-audio-control.is-paused .snv-hero-audio-wave > span,
.snv-hero-audio-control.is-stopped .snv-hero-audio-wave > span {
  animation: none !important;
  transform: scaleY(.38) !important;
  opacity: .48 !important;
}
@keyframes snvHeroWaveLive {
  0% { transform: scaleY(.22); opacity: .62; }
  100% { transform: scaleY(1.42); opacity: 1; }
}

@media (max-width: 760px) {
  .snv-hero-creator {
    width: min(270px, 72%) !important;
    right: 8px !important;
    bottom: -5px !important;
  }
  .snv-hero-person-glow { right: 5px !important; width: min(270px, 74%) !important; }
  .snv-hero-audio-control {
    left: 2px !important;
    bottom: 86px !important;
    gap: 8px !important;
    max-width: calc(100% - 4px) !important;
    transform: none;
  }
  .snv-hero-audio-control:hover { transform: translateY(-2px); }
  .snv-hero-audio-orb { flex-basis: 58px !important; width: 58px !important; height: 58px !important; }
  .snv-hero-audio-orb-core { width: 42px !important; height: 42px !important; }
  .snv-hero-audio-wave { width: 132px !important; height: 32px !important; }
  .snv-float-card.one { top: 5% !important; left: 2% !important; }
  .snv-float-card.two { left: 2% !important; right: auto !important; bottom: 5px !important; top: auto !important; }
}
@media (max-width: 420px) {
  .snv-hero-creator { width: min(254px, 73%) !important; right: 7px !important; }
  .snv-hero-audio-control { left: 0 !important; bottom: 82px !important; gap: 7px !important; }
  .snv-hero-audio-orb { flex-basis: 54px !important; width: 54px !important; height: 54px !important; }
  .snv-hero-audio-orb-core { width: 39px !important; height: 39px !important; }
  .snv-hero-audio-wave { width: 116px !important; height: 30px !important; }
  .snv-hero-audio-status-line { font-size: 7px !important; letter-spacing: .08em !important; }
  .snv-hero-audio-caption { font-size: 6px !important; }
}


/* Final hero spacing: a compact play/wave unit sits higher in the clear center gap. */
@media (min-width: 761px) {
  .snv-hero-audio-control {
    left: 14.5% !important;
    bottom: 120px !important;
    width: 190px !important;
    max-width: 190px !important;
    gap: 8px !important;
    transform: translateX(-50%) !important;
  }
  .snv-hero-audio-control:hover { transform: translate(-50%, -3px) !important; }
  .snv-hero-audio-orb { flex-basis: 60px !important; width: 60px !important; height: 60px !important; }
  .snv-hero-audio-orb-core { width: 43px !important; height: 43px !important; font-size: 15px !important; }
  .snv-hero-audio-details { flex: 0 0 122px !important; width: 122px !important; }
  .snv-hero-audio-wave { width: 122px !important; height: 34px !important; gap: 1.5px !important; }
  .snv-hero-audio-caption { font-size: 7px !important; letter-spacing: .08em !important; }
}
@media (max-width: 760px) {
  .snv-hero-audio-control {
    left: 50% !important;
    bottom: 94px !important;
    width: min(222px, calc(100% - 14px)) !important;
    max-width: min(222px, calc(100% - 14px)) !important;
    gap: 8px !important;
    transform: translateX(-50%) !important;
  }
  .snv-hero-audio-control:hover { transform: translate(-50%, -2px) !important; }
  .snv-hero-audio-orb { flex-basis: 56px !important; width: 56px !important; height: 56px !important; }
  .snv-hero-audio-orb-core { width: 40px !important; height: 40px !important; }
  .snv-hero-audio-details { flex: 0 0 150px !important; width: 150px !important; }
  .snv-hero-audio-wave { width: 148px !important; height: 31px !important; }
}


/* FINAL PATCH — prevent transparent-image/GPU compositing black rectangles.
   Keep the ambience with ordinary gradients, and avoid filter/backdrop-filter layers in the hero. */
.snv-hero::before {
  filter: none !important;
}
.snv-hero-person-glow {
  filter: none !important;
  animation: snvHeroGlowOpacityOnly 6.5s ease-in-out infinite !important;
  transform: none !important;
}
.snv-hero-creator {
  animation: none !important;
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
}
.snv-float-card {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: linear-gradient(145deg, rgba(13, 23, 34, .98), rgba(7, 13, 23, .98)) !important;
}
@keyframes snvHeroGlowOpacityOnly {
  0%, 100% { opacity: .78; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .snv-hero-person-glow { animation: none !important; }
}


/* HERO + LIBRARY CLEANUP (2026-10-27)
   Avoid GPU/compositing artifacts with transparent portrait layers by keeping all
   overlapping hero layers in normal paint flow (no transforms, filters or blur layers). */
.snv-hero {
  isolation: auto !important;
}
.snv-hero::before {
  z-index: 0 !important;
  filter: none !important;
  transform: none !important;
}
.snv-hero-grid {
  position: relative !important;
  z-index: 1 !important;
}
.snv-hero-visual {
  isolation: auto !important;
  background: transparent !important;
}
.snv-hero-person-glow {
  filter: none !important;
  transform: none !important;
  animation: snvHeroGlowOpacityOnly 6.5s ease-in-out infinite !important;
}
.snv-hero-creator {
  display: block !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
}
.snv-orbit,
.snv-orbit.two {
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
}
.snv-float-card {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  background: linear-gradient(145deg, rgba(13, 23, 34, .99), rgba(7, 13, 23, .99)) !important;
}
.snv-hero-audio-control,
.snv-hero-audio-control:hover {
  transform: none !important;
  filter: none !important;
}
.snv-hero-audio-orb-halo {
  filter: none !important;
  transform: none !important;
}
.snv-hero-audio-orb-ring-one {
  inset: 2px !important;
  transform: none !important;
}
.snv-hero-audio-orb-ring-two {
  inset: -5px !important;
  transform: none !important;
}
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-halo {
  transform: none !important;
}
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-ring-one,
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-ring-two {
  transform: none !important;
  animation: snvHeroRingOpacityOnly 1.8s ease-in-out infinite !important;
}
.snv-hero-audio-control.is-playing .snv-hero-audio-orb-ring-two {
  animation-delay: .35s !important;
}
.snv-hero-audio-control.is-stopped .snv-hero-audio-orb-ring-one,
.snv-hero-audio-control.is-stopped .snv-hero-audio-orb-core {
  animation: snvHeroOrbOpacityBreathe 3.8s ease-in-out infinite !important;
  transform: none !important;
}
@keyframes snvHeroRingOpacityOnly {
  0%, 100% { opacity: .45; }
  50% { opacity: .95; }
}
@keyframes snvHeroOrbOpacityBreathe {
  0%, 100% { opacity: .88; }
  50% { opacity: 1; }
}

/* Desktop: align play + waveform inside the clear gutter beside the portrait. */
@media (min-width: 761px) {
  .snv-hero-audio-control {
    left: 8px !important;
    right: auto !important;
    bottom: 116px !important;
    width: 170px !important;
    max-width: 170px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px !important;
    justify-content: flex-start !important;
  }
  .snv-hero-audio-orb {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
  }
  .snv-hero-audio-orb-core {
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
  }
  .snv-hero-audio-details {
    flex: 0 0 108px !important;
    width: 108px !important;
  }
  .snv-hero-audio-wave {
    width: 108px !important;
    height: 31px !important;
    gap: 1.5px !important;
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%) !important;
  }
  .snv-float-card.one {
    top: 7% !important;
    left: 4% !important;
  }
  .snv-float-card.two {
    top: auto !important;
    right: auto !important;
    left: 4% !important;
    bottom: 8px !important;
  }
}

/* Animate hero bars by height, not transform, to prevent rectangular compositor tiles. */
.snv-hero-audio-wave > span {
  transform: none !important;
  will-change: auto !important;
  transition: height 60ms linear, opacity 80ms ease !important;
}
.snv-hero-audio-control.is-playing .snv-hero-audio-wave > span:not(.is-audio-reactive) {
  animation: snvHeroWaveLiveHeight .46s ease-in-out infinite alternate !important;
  animation-delay: calc(var(--i, 0) * -28ms) !important;
}
.snv-hero-audio-wave > span.is-audio-reactive {
  animation: none !important;
  transform: none !important;
  height: var(--snv-hero-wave-height, var(--h, 4px)) !important;
  opacity: .98 !important;
}
.snv-hero-audio-control.is-paused .snv-hero-audio-wave > span,
.snv-hero-audio-control.is-stopped .snv-hero-audio-wave > span {
  animation: none !important;
  transform: none !important;
  height: var(--h, 4px) !important;
  opacity: .48 !important;
}
@keyframes snvHeroWaveLiveHeight {
  0% { height: 4px; opacity: .62; }
  100% { height: var(--h, 14px); opacity: 1; }
}

@media (max-width: 760px) {
  .snv-hero-audio-control {
    left: 7px !important;
    right: 7px !important;
    bottom: 82px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  .snv-hero-audio-details { flex: 0 1 150px !important; width: 150px !important; }
  .snv-hero-audio-wave { width: 100% !important; }
}
@media (max-width: 420px) {
  .snv-hero-audio-control {
    left: 7px !important;
    right: 7px !important;
    bottom: 78px !important;
    gap: 7px !important;
  }
  .snv-hero-audio-orb { flex-basis: 52px !important; width: 52px !important; height: 52px !important; }
  .snv-hero-audio-orb-core { width: 38px !important; height: 38px !important; }
  .snv-hero-audio-details { flex: 0 1 142px !important; width: 142px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .snv-hero-person-glow,
  .snv-hero-audio-control *,
  .snv-hero-audio-wave > span {
    animation: none !important;
    transition: none !important;
  }
}

/* The cover already carries the track title. Remove repeated studio label and duplicate title below it. */
#studio-workspace .music-panel .cf-card-country {
  display: none !important;
}
#studio-workspace .music-panel .hero-controls-area > .hero-title {
  display: none !important;
}
#studio-workspace .music-panel .hero-controls-area > .hero-tags {
  display: none !important;
}
#studio-workspace .music-panel .hero-controls-area {
  padding-top: 2px !important;
}
#studio-workspace .music-panel .hero-progress-bar {
  margin-top: 6px !important;
}


/* Last layout alignment: leave a small clear gutter between the player and the portrait. */
@media (min-width: 761px) {
  .snv-hero-creator {
    width: min(390px, 82%) !important;
    right: 4px !important;
    bottom: -8px !important;
  }
  .snv-hero-person-glow {
    width: min(385px, 80%) !important;
    right: 8px !important;
  }
  .snv-hero-audio-control {
    left: 0 !important;
    bottom: 112px !important;
    width: 166px !important;
    max-width: 166px !important;
    gap: 5px !important;
  }
  .snv-hero-audio-orb {
    flex-basis: 54px !important;
    width: 54px !important;
    height: 54px !important;
  }
  .snv-hero-audio-orb-core {
    width: 39px !important;
    height: 39px !important;
  }
  .snv-hero-audio-details {
    flex: 0 0 107px !important;
    width: 107px !important;
  }
  .snv-hero-audio-wave { width: 107px !important; }
}

/* HERO MICRO-ALIGNMENT — move the Sound in Motion badge right and raise/enlarge the play-wave control. */
@media (min-width: 1200px) {
  .snv-float-card.one {
    left: calc(4% + 50px) !important;
  }
  .snv-hero-audio-control {
    left: 0 !important;
    top: calc(50% - 38px) !important;
    bottom: auto !important;
    width: 194px !important;
    max-width: 194px !important;
    gap: 7px !important;
  }
  .snv-hero-audio-orb {
    flex: 0 0 62px !important;
    width: 62px !important;
    height: 62px !important;
  }
  .snv-hero-audio-orb-core {
    width: 45px !important;
    height: 45px !important;
    font-size: 15px !important;
  }
  .snv-hero-audio-details {
    flex: 0 0 125px !important;
    width: 125px !important;
  }
  .snv-hero-audio-wave {
    width: 125px !important;
    height: 36px !important;
    gap: 1.7px !important;
  }
}

@media (min-width: 761px) and (max-width: 1199px) {
  .snv-float-card.one {
    left: calc(4% + 28px) !important;
  }
  .snv-hero-audio-control {
    top: calc(50% - 34px) !important;
    bottom: auto !important;
    width: 184px !important;
    max-width: 184px !important;
    gap: 6px !important;
  }
  .snv-hero-audio-orb {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
  }
  .snv-hero-audio-orb-core {
    width: 42px !important;
    height: 42px !important;
  }
  .snv-hero-audio-details {
    flex: 0 0 120px !important;
    width: 120px !important;
  }
  .snv-hero-audio-wave {
    width: 120px !important;
    height: 35px !important;
  }
}

@media (max-width: 760px) {
  .snv-float-card.one {
    left: calc(2% + 12px) !important;
  }
  .snv-hero-audio-control {
    bottom: 106px !important;
  }
  .snv-hero-audio-orb {
    flex-basis: 58px !important;
    width: 58px !important;
    height: 58px !important;
  }
  .snv-hero-audio-orb-core {
    width: 42px !important;
    height: 42px !important;
  }
}
@media (max-width: 420px) {
  .snv-float-card.one {
    left: calc(2% + 8px) !important;
  }
  .snv-hero-audio-control {
    bottom: 101px !important;
  }
  .snv-hero-audio-orb {
    flex-basis: 55px !important;
    width: 55px !important;
    height: 55px !important;
  }
  .snv-hero-audio-orb-core {
    width: 40px !important;
    height: 40px !important;
  }
}

