/* NephroApp audio player (MCQ walkthroughs, topic shorts and podcasts) — glossy navy card, rose play button, sun waveform. */
.vx { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #3c4fa3 0%, #1f2a63 48%, #17224d 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .18), 0 22px 36px -24px rgba(23, 34, 77, .8); }
.vx::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.2px); background-size: 16px 16px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.vx::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 168, 240, .45), transparent 70%); pointer-events: none; }
.vx-play { position: relative; z-index: 1; flex: none; width: 62px; height: 62px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; padding-left: 3px;
  background: linear-gradient(180deg, #f6889a 0%, #e2566a 50%, #c92e50 100%); box-shadow: inset 0 2.5px 0 rgba(255, 255, 255, .4), inset 0 -3px 0 rgba(120, 10, 40, .25), 0 12px 22px -10px rgba(226, 86, 106, .95); transition: transform .18s cubic-bezier(.34, 1.56, .64, 1); }
.vx-play:hover { transform: scale(1.06); }
.vx-play:active { transform: scale(.94); }
.vx.is-playing .vx-play { padding-left: 0; }
.vx-play::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(246, 136, 154, .55); opacity: 0; }
.vx:not(.is-playing):not(.is-done) .vx-play::before { animation: vx-ring 2.4s ease-out infinite; }
@keyframes vx-ring { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
.vx-body { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.vx-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vx-kicker { display: inline-flex; align-items: center; gap: 6px; font-family: "Baloo 2", ui-rounded, "SF Pro Rounded", system-ui, sans-serif; font-weight: 800; font-size: 17px; line-height: 1.1; color: #fff; }
.vx-kicker svg { color: #ffc845; }
.vx-sub { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .68); letter-spacing: .01em; }
.vx-wave { height: 38px; display: flex; align-items: center; gap: 2px; cursor: pointer; touch-action: manipulation; border-radius: 8px; }
.vx-wave:focus-visible { outline: 2px solid #ffc845; outline-offset: 3px; }
.vx-wave i { flex: 1; min-width: 2px; height: var(--h); border-radius: 3px; background: rgba(255, 255, 255, .28); transform-origin: center; transition: background-color .25s; }
.vx-wave i.on { background: linear-gradient(180deg, #ffe08a, #f2ad1c); box-shadow: 0 0 8px -2px rgba(255, 200, 69, .8); }
.vx.is-playing .vx-wave i { animation: vx-bounce .9s ease-in-out var(--d) infinite alternate; }
.vx.is-playing .vx-wave i.head { background: #fff; }
@keyframes vx-bounce { from { transform: scaleY(1); } to { transform: scaleY(.62); } }
.vx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vx-time { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.vx-time b { color: #fff; }
.vx-rate { border: 1.5px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; border-radius: 999px; padding: 2px 11px; font-size: 12.5px; font-weight: 800; min-width: 48px; font-variant-numeric: tabular-nums; }
.vx-rate:hover { background: rgba(255, 255, 255, .2); }
.vx.is-error .vx-play, .vx.is-error .vx-wave { opacity: .4; pointer-events: none; }
:root[data-theme="dark"] .vx, .dark .vx { background: radial-gradient(120% 140% at 0% 0%, #34479a 0%, #1b2557 50%, #121a3d 100%); box-shadow: inset 0 0 0 1.5px #2b3870, 0 22px 36px -24px rgba(0, 0, 0, .9); }
@media (max-width: 420px) { .vx { gap: 12px; padding: 14px; } .vx-play { width: 54px; height: 54px; } .vx-kicker { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .vx-play::before, .vx.is-playing .vx-wave i { animation: none !important; } }

.vx[hidden] { display: none; }
.vx-media { display: none !important; }
.vx-loading .vx-time { opacity: .75; }
/* The site theme forces every span/div colour with !important; keep the player's own colours. */
.vx .vx-body, .vx .vx-head, .vx .vx-row, .vx .vx-wave, .vx .vx-kicker, .vx .vx-time b { color: #fff !important; }
.vx .vx-sub { color: rgba(255, 255, 255, .68) !important; }
.vx .vx-time, .vx .vx-time span { color: rgba(255, 255, 255, .72) !important; }
.vx .vx-kicker svg { color: #ffc845 !important; }
