.pv { position: fixed; z-index: 55; width: 280px; display: grid; gap: 10px; padding: 16px; border-radius: 18px; color: #fff; pointer-events: none;
  background: rgba(22, 24, 32, .74); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); opacity: 0; scale: .94; transition: opacity .18s, scale .22s cubic-bezier(.22, 1, .36, 1); }
.pv.on { opacity: 1; scale: 1; }
.pv.on.pv-wid { pointer-events: auto; }
.pv.pv-emb { width: 340px; }
.pv svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.pv-cab { display: flex; align-items: center; gap: 12px; }
.pv-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.pv-ic svg { width: 22px; height: 22px; }
.pv-tt { min-width: 0; display: grid; }
.pv-tt b { font-size: 1rem; line-height: 1.25; }
.pv-tt small { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.pv-desc { margin: 0; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.pv-ic.pv-foto { overflow: hidden; border-radius: 50%; }
.pv-ic.pv-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pv-ig-i { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.pv-ig-i img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-tags span { padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; color: var(--accent, #9ad7ff); background: color-mix(in srgb, var(--accent, #9ad7ff) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent, #9ad7ff) 30%, transparent); }
.pv-cta { text-decoration: none; display: flex; align-items: center; justify-content: space-between; margin-top: 2px; padding: 9px 14px; border-radius: 12px; font-size: .86rem; font-weight: 700; color: #07080F; background: var(--accent, #9ad7ff); }
.pv-cta svg { width: 16px; height: 16px; }

/* Los íconos se animan aunque Windows tenga los efectos de animación desactivados (a propósito, sin prefers-reduced-motion) */
@keyframes lt-dibuja { to { stroke-dashoffset: 0; } }
@keyframes lt-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2px; } }
@keyframes lt-sacude { 0%, 100% { rotate: 0deg; } 20% { rotate: -14deg; } 40% { rotate: 12deg; } 60% { rotate: -8deg; } 80% { rotate: 5deg; } }
.btn > svg:first-child [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lt-dibuja .9s ease-out forwards; animation-delay: calc(.6s + var(--k, 0) * 90ms); }
.btn > svg:first-child { animation: lt-flota 4.5s ease-in-out infinite; animation-delay: calc(1.6s + var(--k, 0) * .45s); }
.btn:hover > svg:first-child { animation: lt-flota 4.5s ease-in-out infinite, lt-sacude .6s ease; animation-delay: calc(1.6s + var(--k, 0) * .45s), 0s; }

/* Widget de Discord: en la vista previa (solo mirar) y en el cuadro que abre js/widget.js al hacer clic */
.pv-w { width: 100%; height: 320px; border: 0; border-radius: 12px; background: #1e1f22; }
.pv-w[hidden] { display: none; }
.wg { width: min(350px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; overflow: hidden; color: #fff; background: #1e1f22; }
.wg::backdrop { background: rgba(0, 0, 0, .65); }
.wg iframe { display: block; width: 100%; height: min(500px, 65vh); border: 0; }
.wg-bar { display: flex; gap: 8px; padding: 10px; }
.wg-join, .wg-x { flex: 1; padding: 10px 14px; border: 0; border-radius: 12px; font: inherit; font-size: .86rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.wg-join { color: #07080F; background: var(--accent, #9ad7ff); }
.wg-x { flex: none; color: #fff; background: rgba(255, 255, 255, .12); }

.ct { width: min(340px, calc(100vw - 32px)); padding: 20px; border: 0; border-radius: 18px; color: #fff; background: #1e1f22; }
.ct::backdrop { background: rgba(0, 0, 0, .65); }
.ct h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ct p { margin: 0 0 14px; font-size: .86rem; opacity: .75; overflow-wrap: anywhere; }
.ct-lista { display: grid; gap: 8px; }
.ct-lista a, .ct-lista button { padding: 11px 14px; border: 0; border-radius: 12px; font: inherit; font-size: .88rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; color: #07080F; background: var(--accent, #9ad7ff); }
.ct-lista .sec { color: #fff; background: rgba(255, 255, 255, .12); }
