/* Faceless Shield — estilos propios (animaciones, escaneo, informe, mascota). Sin CDN ni fuentes externas. */
:root {
  --v1: #7c3aed; --v2: #a78bfa; --v3: #4c1d95; --fondo: #07040f;
  --ok: #34d399; --aviso: #fb923c; --peligro: #f43f5e;
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--fondo); background-image: none; position: relative; overflow-x: hidden; }

/* ---------- Fondo violeta oscuro en movimiento lento (solo transform/opacity: barato en móvil) ---------- */
.fs-fondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(160deg, #0b0618 0%, #07040f 55%, #0d0620 100%); }
.fs-fondo i { position: absolute; border-radius: 50%; will-change: transform; }
.fs-fondo i:nth-child(1) { width: 120vmax; height: 120vmax; left: -50vmax; top: -70vmax;
  background: radial-gradient(circle, rgba(124,58,237,.34) 0%, rgba(124,58,237,0) 62%); animation: fs-orbe1 26s ease-in-out infinite alternate; }
.fs-fondo i:nth-child(2) { width: 110vmax; height: 110vmax; right: -60vmax; bottom: -55vmax;
  background: radial-gradient(circle, rgba(91,33,182,.38) 0%, rgba(91,33,182,0) 62%); animation: fs-orbe2 32s ease-in-out infinite alternate; }
.fs-fondo i:nth-child(3) { width: 80vmax; height: 80vmax; left: 10vmax; top: 35vh;
  background: radial-gradient(circle, rgba(168,85,247,.16) 0%, rgba(168,85,247,0) 60%); animation: fs-orbe3 40s ease-in-out infinite alternate; }
@keyframes fs-orbe1 { to { transform: translate3d(28vmax, 22vmax, 0) scale(1.15); } }
@keyframes fs-orbe2 { to { transform: translate3d(-30vmax, -20vmax, 0) scale(1.1); } }
@keyframes fs-orbe3 { to { transform: translate3d(-20vmax, 18vmax, 0) scale(1.25); } }

/* ---------- Entradas: texto y tarjetas suben mientras aparecen; botones con rebote ---------- */
.fs-sube { animation: fs-sube .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes fs-sube { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
.fs-pop { animation: fs-pop .7s var(--rebote) both; animation-delay: var(--d, 0s); }
@keyframes fs-pop { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: none; } }

.fs-card { background: rgba(26, 16, 48, .62); border: 1px solid rgba(167, 139, 250, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 1.5rem; }
.fs-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .75rem; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(124,58,237,.14); color: #c4b5fd; border: 1px solid rgba(167,139,250,.28); }
.fs-chip-ej { background: rgba(251,146,60,.12); color: #fdba74; border-color: rgba(251,146,60,.35); }

/* ---------- Botón principal con anillos de pulso ---------- */
.fs-btn-wrap { position: relative; display: block; }
.fs-btn-wrap::before, .fs-btn-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 1rem; border: 2px solid var(--v2);
  opacity: 0; pointer-events: none; animation: fs-anillo 2.6s ease-out infinite; }
.fs-btn-wrap::after { animation-delay: 1.3s; }
@keyframes fs-anillo { 0% { opacity: .65; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14, 1.6); } }
.fs-btn { display: block; width: 100%; text-align: center; padding: 1rem; border-radius: 1rem; font-weight: 800; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6); box-shadow: 0 10px 30px -8px rgba(124,58,237,.7); border: 0; cursor: pointer;
  transition: transform .15s var(--rebote); position: relative; z-index: 1; }
.fs-btn:active { transform: scale(.96); }
.fs-btn-2 { display: block; width: 100%; text-align: center; padding: .85rem; border-radius: 1rem; font-weight: 700; font-size: .875rem; color: #ddd6fe;
  background: rgba(46,26,84,.7); border: 1px solid rgba(167,139,250,.3); transition: transform .15s var(--rebote); }
.fs-btn-2:active { transform: scale(.96); }

/* ---------- Titular ---------- */
.fs-h1 { font-size: 1.95rem; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.fs-h1 em { font-style: normal; background: linear-gradient(90deg, #c4b5fd, #a78bfa 50%, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Tarjeta de ejemplo (toca para ver el escaneo) ---------- */
.fs-ej { position: relative; padding: 1.1rem; cursor: pointer; text-align: left; width: 100%; color: inherit; font: inherit;
  border: 1px dashed rgba(167,139,250,.55); transition: transform .2s var(--rebote), border-color .2s; -webkit-tap-highlight-color: transparent; }
.fs-ej:active { transform: scale(.975); border-color: #c4b5fd; }
.fs-ej-etq { position: absolute; top: -.7rem; right: 1rem; }
.fs-ej-toca { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .85rem; padding: .6rem; border-radius: .9rem;
  background: rgba(124,58,237,.2); color: #ddd6fe; font-weight: 800; font-size: .85rem; animation: fs-latido 1.8s ease-in-out infinite; }
.fs-ej-toca b { display: inline-block; animation: fs-dedo 1.2s ease-in-out infinite; }
@keyframes fs-latido { 0%,100% { background: rgba(124,58,237,.2); } 50% { background: rgba(124,58,237,.4); } }
@keyframes fs-dedo { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px) scale(1.12); } }

/* ---------- Anillo de nota y barras ---------- */
.fs-anillo { --pct: 0; --col: #a78bfa; width: 5.5rem; height: 5.5rem; flex: none; border-radius: 50%; padding: 6px;
  background: conic-gradient(var(--col) calc(var(--pct) * 1%), rgba(76,29,149,.35) 0); }
.fs-anillo > div { width: 100%; height: 100%; border-radius: 50%; background: #0d0720; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fs-anillo b { font-size: 1.9rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.fs-anillo small { font-size: 9px; color: #7c6fa8; font-weight: 700; }
.fs-barras { display: grid; gap: .6rem; }
.fs-barra-fila { display: grid; grid-template-columns: 1fr auto; gap: .2rem .5rem; align-items: end; font-size: .78rem; }
.fs-barra-fila span:first-child { color: #ddd6fe; font-weight: 600; }
.fs-barra-fila .v { font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.fs-pista { grid-column: 1 / -1; height: .55rem; border-radius: 999px; background: rgba(76,29,149,.4); overflow: hidden; }
.fs-pista i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--c, #a78bfa); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.fs-pista i.ok { --c: linear-gradient(90deg, #7c3aed, #34d399); } .fs-pista i.warn { --c: linear-gradient(90deg, #7c3aed, #fb923c); }
.fs-pista i.danger { --c: linear-gradient(90deg, #7c3aed, #f43f5e); } .fs-pista i.nd { --c: #475569; }
.fs-nd { color: #7c6fa8 !important; font-weight: 600 !important; font-size: .7rem !important; }

/* ---------- Escena de escaneo ---------- */
.fs-esc { position: relative; padding: 1rem; overflow: hidden; }
.fs-esc-cab { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.fs-pct { font-size: 2.6rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 22px rgba(167,139,250,.7); }
.fs-pct small { font-size: 1.1rem; color: #c4b5fd; }
.fs-esc-txt { font-size: .75rem; color: #a99bd0; margin-top: .25rem; min-height: 1rem; }
.fs-riel { position: relative; height: 4.4rem; margin-top: .4rem; }
.fs-riel .fs-mas { position: absolute; left: 0; bottom: 0; width: 4.2rem; height: 4.2rem; will-change: transform; transition: transform .35s linear; }
.fs-progreso { height: .4rem; border-radius: 999px; background: rgba(76,29,149,.45); overflow: hidden; }
.fs-progreso i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7c3aed, #c4b5fd); border-radius: 999px; transition: width .3s linear; }
.fs-film { position: relative; height: 8.2rem; margin-top: .85rem; border-radius: 1rem; overflow: hidden; background: rgba(5,2,14,.7); border: 1px solid rgba(167,139,250,.22); }
.fs-pista-film { position: absolute; left: 0; top: .55rem; display: flex; gap: .45rem; will-change: transform; transition: transform .45s cubic-bezier(.3,.7,.3,1); padding-left: 50%; }
.fs-pista-film canvas { width: 3.4rem; height: 7.1rem; border-radius: .45rem; flex: none; border: 1px solid rgba(167,139,250,.3); background: #1a1030; animation: fs-entra .4s var(--rebote) both; }
@keyframes fs-entra { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.fs-linea { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; z-index: 2;
  background: linear-gradient(180deg, transparent, #e9d5ff 20%, #c4b5fd 80%, transparent); box-shadow: 0 0 14px 3px rgba(167,139,250,.9), 0 0 40px 10px rgba(124,58,237,.5); animation: fs-linea 1.1s ease-in-out infinite alternate; }
@keyframes fs-linea { from { opacity: .75; } to { opacity: 1; } }
.fs-film::before, .fs-film::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22%; z-index: 1; pointer-events: none; }
.fs-film::before { left: 0; background: linear-gradient(90deg, rgba(5,2,14,.95), transparent); }
.fs-film::after { right: 0; background: linear-gradient(-90deg, rgba(5,2,14,.95), transparent); }
.fs-checks { list-style: none; margin: .85rem 0 0; padding: 0; display: grid; gap: .4rem; min-height: 9rem; }
.fs-check { display: flex; align-items: center; gap: .55rem; padding: .5rem .7rem; border-radius: .8rem; font-size: .82rem; font-weight: 600; color: #e9e5ff;
  background: rgba(124,58,237,.12); border: 1px solid rgba(167,139,250,.2); animation: fs-sube .45s cubic-bezier(.2,.7,.2,1) both; }
.fs-check .tx { flex: 1; }
.fs-check .ic { flex: none; width: 1.3rem; text-align: center; }
.fs-check.ok .ic { color: var(--ok); font-weight: 900; }
.fs-check.warn { border-color: rgba(251,146,60,.5); animation: fs-sube .45s both, fs-flash-o 0.5s .45s 4; }
.fs-check.danger { border-color: rgba(244,63,94,.55); animation: fs-sube .45s both, fs-flash-r 0.5s .45s 4; }
.fs-check.warn .ic, .fs-check.danger .ic { display: inline-block; animation: fs-bote .6s .3s 5 ease-in-out; }
@keyframes fs-flash-o { 0%,100% { background: rgba(251,146,60,.1); } 50% { background: rgba(251,146,60,.45); } }
@keyframes fs-flash-r { 0%,100% { background: rgba(244,63,94,.1); } 50% { background: rgba(244,63,94,.5); } }
@keyframes fs-bote { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-.35rem) scale(1.2); } 70% { transform: translateY(0); } }

/* ---------- Check grande con chispas ---------- */
.fs-fin { position: absolute; inset: 0; z-index: 5; display: none; align-items: center; justify-content: center; background: rgba(7,4,15,.82); }
.fs-fin.on { display: flex; animation: fs-aparece .25s both; }
@keyframes fs-aparece { from { opacity: 0; } to { opacity: 1; } }
.fs-gran { position: relative; width: 7.5rem; height: 7.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #a78bfa, #6d28d9); box-shadow: 0 0 50px rgba(124,58,237,.8); animation: fs-pop .7s var(--rebote) both; }
.fs-gran svg { width: 4.2rem; height: 4.2rem; }
.fs-gran path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: fs-trazo .5s .3s ease-out forwards; }
@keyframes fs-trazo { to { stroke-dashoffset: 0; } }
.fs-chispa { position: absolute; left: 50%; top: 50%; width: .5rem; height: .5rem; margin: -.25rem; border-radius: 50%; background: #e9d5ff; opacity: 0;
  box-shadow: 0 0 10px 2px #a78bfa; animation: fs-chispa .9s .25s cubic-bezier(.1,.7,.3,1) forwards; }
.fs-chispa:nth-child(odd) { background: #c4b5fd; width: .35rem; height: .35rem; }
@keyframes fs-chispa { 0% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); } }

/* ---------- Informe ---------- */
.fs-inf-cab { display: flex; align-items: center; gap: 1rem; padding: 1.1rem; }
.fs-etq { display: inline-block; padding: .3rem .7rem; border-radius: .7rem; font-size: 11px; font-weight: 800; border: 1px solid; }
.fs-etq.ok { background: rgba(52,211,153,.1); color: #6ee7b7; border-color: rgba(52,211,153,.3); }
.fs-etq.warn { background: rgba(251,146,60,.1); color: #fdba74; border-color: rgba(251,146,60,.35); }
.fs-etq.danger { background: rgba(244,63,94,.1); color: #fda4af; border-color: rgba(244,63,94,.35); }
.fs-carrusel { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: .25rem 1.25rem .75rem;
  margin: 0 -1.25rem; scrollbar-width: none; scroll-padding: 0 1.25rem; }
.fs-carrusel::-webkit-scrollbar { display: none; }
.fs-tarj { flex: 0 0 82%; scroll-snap-align: center; padding: 1rem; display: grid; gap: .55rem; align-content: start; }
.fs-tarj h4 { font-weight: 800; font-size: .95rem; color: #fff; display: flex; align-items: center; gap: .4rem; }
.fs-med { padding: .55rem .65rem; border-radius: .8rem; background: rgba(76,29,149,.22); border-left: 3px solid var(--c, #a78bfa); font-size: .78rem; color: #d7d0f0; line-height: 1.4; }
.fs-med b { display: flex; justify-content: space-between; color: #fff; font-size: .8rem; margin-bottom: .1rem; }
.fs-med.ok { --c: var(--ok); } .fs-med.warn { --c: var(--aviso); } .fs-med.danger { --c: var(--peligro); } .fs-med.nd { --c: #475569; }
.fs-puntos { display: flex; justify-content: center; gap: .35rem; }
.fs-puntos i { width: .4rem; height: .4rem; border-radius: 50%; background: rgba(167,139,250,.3); transition: all .25s; }
.fs-puntos i.on { background: #c4b5fd; width: 1.1rem; }
.fs-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fs-tip { display: flex; gap: .65rem; padding: .8rem; border-radius: 1rem; background: rgba(52,211,153,.06); border: 1px solid rgba(52,211,153,.2); font-size: .82rem; line-height: 1.45; color: #e5e0f7; }
.fs-tip .n { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(124,58,237,.35); color: #ede9fe; font-weight: 800; font-size: .72rem; display: flex; align-items: center; justify-content: center; }
.fs-tip.p1 { background: rgba(244,63,94,.06); border-color: rgba(244,63,94,.28); } .fs-tip.p2 { background: rgba(251,146,60,.06); border-color: rgba(251,146,60,.28); }
.fs-sel { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.fs-sel button { flex: none; padding: .45rem .8rem; border-radius: 999px; font-weight: 700; font-size: .78rem; color: #c4b5fd; background: rgba(46,26,84,.7); border: 1px solid rgba(167,139,250,.25); }
.fs-sel button.on { background: #7c3aed; color: #fff; border-color: #a78bfa; }
.fs-pares { display: grid; gap: .4rem; font-size: .78rem; color: #d7d0f0; }
.fs-par { padding: .55rem .7rem; border-radius: .8rem; background: rgba(76,29,149,.22); border-left: 3px solid var(--c, #34d399); }
.fs-par.danger { --c: var(--peligro); } .fs-par.warn { --c: var(--aviso); }
.fs-nota { font-size: 11px; line-height: 1.5; color: #8b7fb5; }

/* ---------- CTA con barrido de color sólido ---------- */
.fs-cta { position: relative; overflow: hidden; border-radius: 1.5rem; min-height: 9.5rem; border: 1px solid rgba(167,139,250,.2); background: rgba(26,16,48,.5); }
.fs-cta-barrido { position: absolute; inset: 0; background: #7c3aed; transform: translateX(-101%); }
.fs-cta.on .fs-cta-barrido { animation: fs-barrido .75s cubic-bezier(.7,0,.2,1) both; }
@keyframes fs-barrido { 0% { transform: translateX(-101%); } 100% { transform: translateX(0); } }
.fs-cta-cont { position: relative; z-index: 1; padding: 1.4rem 1.2rem; text-align: center; display: grid; gap: .8rem; opacity: 0; }
.fs-cta.on .fs-cta-cont { animation: fs-sube .55s .55s cubic-bezier(.2,.7,.2,1) both; }
.fs-cta-cont h4 { font-size: 1.2rem; font-weight: 900; color: #fff; }
.fs-cta-cont .fs-btn { background: #fff; color: #4c1d95; box-shadow: 0 8px 24px -6px rgba(0,0,0,.4); }

/* ---------- Demo a pantalla completa ---------- */
.fs-demo { position: fixed; inset: 0; z-index: 70; overflow-y: auto; -webkit-overflow-scrolling: touch; background: radial-gradient(ellipse 90% 45% at 20% 0%, rgba(124,58,237,.38), transparent 70%), radial-gradient(ellipse 80% 40% at 90% 100%, rgba(91,33,182,.4), transparent 70%), #07040f; display: none; }
.fs-demo.on { display: block; animation: fs-aparece .3s both; }
.fs-demo-in { max-width: 28rem; margin: 0 auto; padding: max(1rem, env(safe-area-inset-top)) 1.25rem max(2rem, env(safe-area-inset-bottom)); display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
.fs-demo-top { display: flex; justify-content: space-between; align-items: center; }
.fs-cerrar { width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 1.3rem; color: #ddd6fe; background: rgba(46,26,84,.8); border: 1px solid rgba(167,139,250,.3); }

/* ---------- Mascota ---------- */
.fs-mascota { display: block; overflow: visible; }
.fs-mascota * { transform-box: fill-box; transform-origin: center; }
.mas-cuerpo { animation: mas-flota 3.2s ease-in-out infinite; }
@keyframes mas-flota { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-5%) rotate(1.5deg); } }
.mas-ojos .ojo { animation: mas-parpadeo 4.2s infinite; }
@keyframes mas-parpadeo { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.mas-boca-feliz, .mas-boca-preocupada, .mas-boca-grande, .mas-lupa, .mas-chispas, .mas-sudor, .mas-cejas { display: none; }
.mas-boca-normal { display: block; }
.st-escaneo .mas-lupa { display: block; animation: mas-lupa 1.1s ease-in-out infinite alternate; }
@keyframes mas-lupa { from { transform: rotate(-14deg) translate(-3%, 2%); } to { transform: rotate(10deg) translate(4%, -3%); } }
.st-escaneo .mas-cuerpo { animation: mas-trote .5s ease-in-out infinite alternate; }
@keyframes mas-trote { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-4%) rotate(3deg); } }
.st-escaneo .ojo .pupila { animation: mas-mira 1.1s ease-in-out infinite alternate; }
@keyframes mas-mira { from { transform: translateX(-12%); } to { transform: translateX(14%); } }
.st-preocupada .mas-boca-normal, .st-feliz .mas-boca-normal, .st-escaneo .mas-boca-normal { display: none; }
.st-escaneo .mas-boca-feliz { display: block; }
.st-preocupada .mas-boca-preocupada, .st-preocupada .mas-cejas, .st-preocupada .mas-sudor { display: block; }
.st-preocupada .mas-cuerpo { animation: mas-tiembla .18s linear infinite alternate; }
@keyframes mas-tiembla { from { transform: translateX(-2.5%) rotate(-3deg); } to { transform: translateX(2.5%) rotate(3deg); } }
.st-preocupada .mas-lupa { display: block; }
.st-preocupada .mas-sudor { animation: mas-gota 1s ease-in infinite; }
@keyframes mas-gota { 0% { opacity: 0; transform: translateY(-30%); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(70%); } }
.st-feliz .mas-boca-grande, .st-feliz .mas-chispas { display: block; }
.st-feliz .mas-cuerpo { animation: mas-salta .7s cubic-bezier(.3,.8,.4,1) infinite; }
@keyframes mas-salta { 0%,100% { transform: translateY(8%) scale(1.06, .92); } 45% { transform: translateY(-26%) scale(.94, 1.08) rotate(6deg); } 70% { transform: translateY(-8%) rotate(-5deg); } }
.st-feliz .mas-chispas .ch { animation: mas-ch .7s ease-out infinite; }
.st-feliz .mas-chispas .ch:nth-child(2) { animation-delay: .2s; } .st-feliz .mas-chispas .ch:nth-child(3) { animation-delay: .4s; }
@keyframes mas-ch { 0% { opacity: 0; transform: scale(.2) rotate(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4) rotate(90deg); } }

/* ---------- Varios ---------- */
.fs-grid7 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.fs-grid7 > div { padding: .7rem .75rem; border-radius: 1rem; font-size: .75rem; color: #cfc6ee; line-height: 1.35; }
.fs-grid7 b { display: block; color: #fff; font-size: .8rem; margin-bottom: .1rem; }
.fs-sombra-ok { box-shadow: 0 0 0 1px rgba(52,211,153,.2); }

/* ---------- Movimiento reducido: sin animaciones, todo visible desde el primer momento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fs-btn-wrap::before, .fs-btn-wrap::after { display: none; }
  .fs-cta-cont { opacity: 1; } .fs-cta-barrido { transform: none; } .fs-cta .fs-cta-barrido { opacity: 1; }
  .fs-chispa { display: none; } .fs-gran path { stroke-dashoffset: 0; }
  .fs-pista i { transition: none; }
}

/* =====================================================================
   REDISEÑO VISUAL (capa encima de lo anterior). Solo se animan transform, opacity y trazos SVG.
   ===================================================================== */
:root { --sem-ok: #34d399; --sem-warn: #fbbf24; --sem-bad: #fb7185; }

/* ---------- 1. Profundidad: rejilla sutil + halo de luz ambiental en bucle ---------- */
.fs-fondo::before { content: ""; position: absolute; inset: -2px; opacity: .5;
  background-image: linear-gradient(rgba(167,139,250,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(167,139,250,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 30%, transparent 80%); }
.fs-fondo::after { content: ""; position: absolute; width: 90vmax; height: 90vmax; left: 50%; top: 18%; margin: -45vmax 0 0 -45vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,.20) 0%, rgba(124,58,237,.08) 35%, transparent 62%);
  will-change: transform, opacity; animation: fs-halo 11s ease-in-out infinite; }
@keyframes fs-halo { 0%,100% { opacity: .55; transform: translate3d(-6%, 0, 0) scale(.92); } 50% { opacity: 1; transform: translate3d(6%, 4%, 0) scale(1.08); } }

/* Tarjetas de cristal oscuro con borde superior brillante. Sin blur por defecto (iPhone/móvil: fondo semiopaco). */
.fs-card { position: relative; background: rgba(22,13,42,.88); -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(167,139,250,.16); box-shadow: 0 18px 40px -24px rgba(0,0,0,.8); }
.fs-card::after { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 1px; pointer-events: none; border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(221,214,254,.85), transparent); box-shadow: 0 0 10px 1px rgba(167,139,250,.55); }
@media (hover: hover) and (pointer: fine) {
  .fs-card.fs-principal { background: rgba(26,16,48,.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}

/* ---------- 2. Mascota viva: ojos que siguen, rebote elástico y aura del color de la nota ---------- */
.fs-mascota .mira { transform-box: view-box; transform-origin: 0 0; transition: transform .18s ease-out; }
.fs-mas-sigue .st-escaneo .ojo .pupila { animation: none; }
.fs-mas-cont { --aura: #a78bfa; }
.fs-mas-cont:not(.fs-mas) { position: relative; }
.fs-mas-cont::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, var(--aura) 0%, transparent 66%); }
.fs-mas-cont > svg { position: relative; }
.fs-mas-fin::before { animation: fs-aura 2.4s ease-out .1s both, fs-aura-late 2.6s ease-in-out 2.5s infinite; }
.fs-mas-fin > svg { animation: fs-elastico 1.1s cubic-bezier(.28,.84,.42,1) both; transform-origin: 50% 100%; }
@keyframes fs-aura { 0% { opacity: 0; transform: scale(.4); } 35% { opacity: .95; transform: scale(1.12); } 100% { opacity: .55; transform: scale(1); } }
@keyframes fs-aura-late { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.08); } }
@keyframes fs-elastico { 0% { transform: scale(1); } 18% { transform: translateY(-22%) scale(.9, 1.12); } 36% { transform: translateY(0) scale(1.14, .86); }
  52% { transform: translateY(-8%) scale(.96, 1.05); } 68% { transform: translateY(0) scale(1.04, .97); } 84% { transform: scale(.99, 1.01); } 100% { transform: none; } }

/* ---------- 3. Escaneo de cine: láser, onda de audio y etiquetas flotantes ---------- */
.fs-linea { opacity: .35; }
.fs-laser { position: absolute; inset: 0; z-index: 3; pointer-events: none; will-change: transform; animation: fs-laser 2.4s cubic-bezier(.45,.05,.55,.95) infinite; }
.fs-laser::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1.5px; background: #f5f3ff;
  box-shadow: 0 0 8px 2px #c4b5fd, 0 0 26px 8px rgba(139,92,246,.75); }
.fs-laser::after { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 34%;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.28)); }
@keyframes fs-laser { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.fs-esc.fin .fs-laser, .fs-esc.fin .fs-onda i { animation-play-state: paused; }
.fs-onda { display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 2.1rem; margin-top: .6rem; padding: 0 .2rem; }
.fs-onda i { flex: 1; height: 100%; border-radius: 2px; background: linear-gradient(180deg, #c4b5fd, #7c3aed); opacity: .8;
  transform: scaleY(var(--h, .3)); will-change: transform; animation: fs-onda var(--t, 1s) ease-in-out var(--k, 0s) infinite alternate; }
@keyframes fs-onda { from { transform: scaleY(.12); } to { transform: scaleY(var(--h, .6)); } }
.fs-tags { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.fs-tag { position: absolute; max-width: 62%; padding: .28rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 800; color: #052e1f; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; background: var(--sem-ok); box-shadow: 0 0 16px -2px var(--sem-ok);
  animation: fs-tag 2.9s cubic-bezier(.2,.8,.2,1) both; }
.fs-tag.warn { background: var(--sem-warn); color: #3b2300; box-shadow: 0 0 16px -2px var(--sem-warn); }
.fs-tag.danger { background: var(--sem-bad); color: #3f0a14; box-shadow: 0 0 16px -2px var(--sem-bad); }
@keyframes fs-tag { 0% { opacity: 0; transform: translate3d(0, 14px, 0) scale(.6); } 14% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.06); }
  22% { transform: scale(1); } 78% { opacity: 1; } 100% { opacity: 0; transform: translate3d(0, -26px, 0) scale(.96); } }
.fs-progreso i { width: 100%; transform: translateX(-100%); transition: transform .3s linear; will-change: transform; }

/* ---------- 4. Informe: colores semánticos con brillo suave ---------- */
.fs-anillo { box-shadow: 0 0 26px -6px var(--col), inset 0 0 0 1px rgba(255,255,255,.04); }
.fs-anillo b { text-shadow: 0 0 16px var(--col); }
.fs-pista i { width: 100%; transform: translateX(-100%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.fs-pista i.ok { --c: linear-gradient(90deg, #059669, var(--sem-ok)); box-shadow: 0 0 12px -1px rgba(52,211,153,.7); }
.fs-pista i.warn { --c: linear-gradient(90deg, #d97706, var(--sem-warn)); box-shadow: 0 0 12px -1px rgba(251,191,36,.65); }
.fs-pista i.danger { --c: linear-gradient(90deg, #e11d48, var(--sem-bad)); box-shadow: 0 0 12px -1px rgba(251,113,133,.7); }
.fs-etq.ok { background: rgba(52,211,153,.1); color: #6ee7b7; border-color: rgba(52,211,153,.4); box-shadow: 0 0 14px -4px var(--sem-ok); }
.fs-etq.warn { background: rgba(251,191,36,.1); color: #fcd34d; border-color: rgba(251,191,36,.4); box-shadow: 0 0 14px -4px var(--sem-warn); }
.fs-etq.danger { background: rgba(251,113,133,.1); color: #fda4af; border-color: rgba(251,113,133,.42); box-shadow: 0 0 14px -4px var(--sem-bad); }
.fs-med.ok { --c: var(--sem-ok); } .fs-med.warn { --c: var(--sem-warn); } .fs-med.danger { --c: var(--sem-bad); }
.fs-check.ok .ic { color: var(--sem-ok); }
.fs-tip.p1 { background: rgba(251,113,133,.07); border-color: rgba(251,113,133,.32); box-shadow: 0 0 18px -10px var(--sem-bad); }
.fs-tip.p2 { background: rgba(251,191,36,.06); border-color: rgba(251,191,36,.3); }
.fs-avisos-inf { box-shadow: 0 0 22px -10px var(--sem-warn); }
.fs-cascada { animation: fs-sube .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }

/* ---------- 5. Línea de tiempo de fallos ---------- */
.fs-tl { padding: .85rem 1rem 1rem; }
.fs-tl-cab { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .72rem; color: #a99bd0; margin-bottom: .7rem; }
.fs-tl-cab b { color: #fff; font-size: .8rem; font-weight: 800; }
.fs-tl-barra { position: relative; height: 1.5rem; }
.fs-tl-barra::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .4rem; margin-top: -.2rem; border-radius: 999px;
  background: linear-gradient(90deg, rgba(52,211,153,.35), rgba(124,58,237,.35)); }
.fs-tl-tramo { position: absolute; top: 50%; height: .4rem; margin-top: -.2rem; border-radius: 999px; background: rgba(251,191,36,.55);
  box-shadow: 0 0 10px -2px var(--sem-warn); transform-origin: 0 50%; animation: fs-tl-tramo .7s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both; }
@keyframes fs-tl-tramo { from { transform: scaleX(0); } to { transform: none; } }
.fs-tl-punto { position: absolute; top: 50%; width: .62rem; height: .62rem; margin: -.31rem 0 0 -.31rem; border-radius: 50%; border: 2px solid #0d0720;
  background: var(--sem-bad); box-shadow: 0 0 10px 1px rgba(251,113,133,.75); animation: fs-tl-punto .45s cubic-bezier(.34,1.56,.64,1) var(--d, 0s) both; }
.fs-tl-barra.densa .fs-tl-punto { width: .4rem; height: .4rem; margin: -.2rem 0 0 -.2rem; border-width: 1px; }
.fs-tl-punto.tramo { background: var(--sem-warn); box-shadow: 0 0 10px 1px rgba(251,191,36,.75); }
@keyframes fs-tl-punto { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
.fs-tl-cursor { position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%); opacity: 0; animation: fs-tl-cursor 1.6s cubic-bezier(.4,0,.2,1) .2s both; }
.fs-tl-cursor::after { content: ""; position: absolute; right: 0; top: -.15rem; bottom: -.15rem; width: 2px; background: #f5f3ff; box-shadow: 0 0 10px 2px #a78bfa; }
@keyframes fs-tl-cursor { 0% { opacity: 1; transform: translateX(-100%); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(0); } }
.fs-tl-eje { display: flex; justify-content: space-between; font-size: .62rem; color: #7c6fa8; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.fs-tl-ley { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .55rem; font-size: .7rem; color: #cfc6ee; }
.fs-tl-ley i { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .3rem; vertical-align: -.03rem; background: var(--sem-bad); }
.fs-tl-ley i.tramo { background: var(--sem-warn); } .fs-tl-ley i.ok { background: var(--sem-ok); }

@media (prefers-reduced-motion: reduce) {
  .fs-fondo::after { opacity: .7; transform: none; }
  .fs-laser, .fs-tags, .fs-tl-cursor { display: none; }
  .fs-onda i { transform: scaleY(var(--h, .4)); }
  .fs-mascota .mira { transition: none; }
}

/* =====================================================================
   VERSIÓN FINAL: subtítulo, comparativa, FAQ, brillo del botón, tarjeta para Stories, línea de tiempo agrupada
   ===================================================================== */
.fs-sub { font-size: .95rem; line-height: 1.5; color: #cfc6ee; max-width: 26rem; margin-left: auto; margin-right: auto; }
.fs-sub b { color: #fff; font-weight: 800; }

/* Comparativa: apilada en móvil, 2 columnas si hay sitio; nuestra columna con borde luminoso */
.fs-comp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 440px) { .fs-comp { grid-template-columns: 1.1fr 1fr; gap: .8rem; } }
.fs-comp-col { position: relative; border-radius: 1.25rem; padding: 1.05rem 1rem 1.1rem; }
.fs-comp-col ul { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .65rem; }
.fs-comp-col li { display: flex; gap: .55rem; align-items: flex-start; font-size: .82rem; line-height: 1.4; color: #d7d0f0; }
.fs-comp-col li b { color: #fff; }
.fs-comp-tit { font-weight: 900; font-size: .95rem; color: #fff; }
.fs-comp-nuestra { background: linear-gradient(160deg, rgba(76,29,149,.55), rgba(22,13,42,.92)); border: 1.5px solid rgba(196,181,253,.75);
  box-shadow: 0 0 0 1px rgba(124,58,237,.35), 0 0 28px -4px rgba(139,92,246,.75), inset 0 1px 0 rgba(255,255,255,.08); }
.fs-comp-nuestra::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 22px 2px rgba(167,139,250,.55); opacity: .35; animation: fs-comp-latido 3.2s ease-in-out infinite; }
@keyframes fs-comp-latido { 0%,100% { opacity: .25; } 50% { opacity: .8; } }
.fs-comp-otras { background: rgba(22,13,42,.75); border: 1px solid rgba(148,163,184,.18); }
.fs-comp-otras .fs-comp-tit { color: #a99bd0; }
.fs-comp .si, .fs-comp .no { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 900; margin-top: .05rem; }
.fs-comp .si { background: rgba(52,211,153,.18); color: var(--sem-ok); box-shadow: 0 0 10px -2px rgba(52,211,153,.7); }
.fs-comp .no { background: rgba(251,113,133,.14); color: var(--sem-bad); }

/* FAQ en acordeón (details/summary: accesible con teclado de serie) */
.fs-faq { display: grid; gap: .55rem; }
.fs-faq details { padding: 0; overflow: hidden; }
.fs-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .95rem 1rem; font-size: .88rem; font-weight: 700; color: #fff; border-radius: 1rem; }
.fs-faq summary::-webkit-details-marker { display: none; }
.fs-faq summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border-right: 2px solid #c4b5fd; border-bottom: 2px solid #c4b5fd;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s ease; }
.fs-faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.fs-faq summary:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
.fs-faq-r { padding: 0 1rem 1rem; font-size: .8rem; line-height: 1.55; color: #cfc6ee; }
.fs-faq details[open] .fs-faq-r { animation: fs-sube .35s cubic-bezier(.2,.7,.2,1) both; }

/* Destello sutil en el botón principal de subir vídeo */
.fs-brillo { position: relative; overflow: hidden; isolation: isolate; }
.fs-brillo::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 40%; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.32), transparent); transform: translateX(-120%) skewX(-18deg);
  animation: fs-brillo 3.8s ease-in-out 1.2s infinite; }
@keyframes fs-brillo { 0% { transform: translateX(-120%) skewX(-18deg); } 45%, 100% { transform: translateX(330%) skewX(-18deg); } }

/* Contadores sin vibrar */
.fs-pct, .fs-pct .n, .num, .fs-barra-fila .v, .fs-anillo b, .fs-tl-cab span, .fs-tl-eje, .fs-tl-n, .fs-med b span:last-child, .fs-sel button, .fs-tip .n { font-variant-numeric: tabular-nums; }

/* Línea de tiempo agrupada (vídeos de más de 2 min): un punto por grupo con contador */
.fs-tl-grupo { position: absolute; top: 50%; height: .62rem; margin-top: -.31rem; border-radius: 999px; background: rgba(251,113,133,.35);
  border: 1px solid rgba(251,113,133,.8); box-shadow: 0 0 10px -1px rgba(251,113,133,.6); transform-origin: 50% 50%;
  animation: fs-tl-punto .45s cubic-bezier(.34,1.56,.64,1) var(--d, 0s) both; }
.fs-tl-n { position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); min-width: 1.05rem; height: 1.05rem; padding: 0 .25rem; border-radius: 999px;
  background: var(--sem-bad); color: #3f0a14; font-size: .6rem; font-weight: 900; line-height: 1.05rem; text-align: center; box-shadow: 0 0 8px -1px rgba(251,113,133,.9); }
.fs-tl-barra.agrupada { height: 2.4rem; }
.fs-tl-barra.agrupada::before, .fs-tl-barra.agrupada .fs-tl-tramo { top: 66%; }
.fs-tl-barra.agrupada .fs-tl-punto, .fs-tl-barra.agrupada .fs-tl-grupo { top: 66%; }
.fs-tl-sub { font-size: .7rem; color: #a99bd0; margin: -.4rem 0 .6rem; line-height: 1.4; }

/* Botón de la tarjeta para Stories */
.fs-btn-story { background: linear-gradient(135deg, #7c3aed, #db2777); }

@media (prefers-reduced-motion: reduce) {
  .fs-brillo::after { display: none; }
  .fs-comp-nuestra::before { opacity: .5; }
}
.fs-tl-mini { padding: .9rem 0 0; margin-top: .9rem; border-top: 1px solid rgba(167,139,250,.16); }
.fs-tl-mini .fs-tl-cab b { font-size: .78rem; }
/* evita 4 px de desplazamiento lateral en móvil por el pulso del botón de subir */
@media (max-width: 480px) { main { overflow-x: clip; } }

/* =====================================================================
   HERRAMIENTAS GRATIS (contenido-reutilizado, formato-shorts, detector-silencios, gancho-3-segundos)
   Base de página igual que index.html (allí está en línea; aquí compartida)
   ===================================================================== */
body.fs-herr { background-color: #07040f; color: #f8fafc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
.fs-herr .glass { background: rgba(22, 13, 42, 0.9); border: 1px solid rgba(167, 139, 250, 0.16); }
.fs-herr header.glass { background: rgba(14, 8, 28, 0.96); }
@media (hover: hover) and (pointer: fine) { .fs-herr header.glass { background: rgba(22, 13, 42, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } }
.fs-herr .safe-top { padding-top: max(0.75rem, env(safe-area-inset-top)); }
.fs-herr .safe-x { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
.fs-herr .safe-bottom { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.fs-herr main { display: grid; gap: 2rem; }
.fs-herr main > * { min-width: 0; }
.fs-migas { font-size: 11px; color: #8b7fb5; display: flex; flex-wrap: wrap; gap: .35rem; }
.fs-migas a { color: #c4b5fd; text-decoration: none; }
.fs-migas a:hover { text-decoration: underline; }
.fs-herr-hero { text-align: center; display: grid; gap: .9rem; justify-items: center; }
.fs-herr-hero .fs-h1 { font-size: 1.7rem; }
.fs-herr-intro { font-size: .95rem; line-height: 1.6; color: #cbd5e1; }
.fs-link-completo { font-size: .85rem; font-weight: 700; color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.fs-subida { display: block; border-radius: 1.5rem; padding: 1.5rem; text-align: center; border: 2px dashed #475569; cursor: pointer; transition: border-color .2s; }
.fs-subida:hover, .fs-subida:focus-within { border-color: #8b5cf6; }
.fs-subida .ico { width: 4rem; height: 4rem; margin: 0 auto .75rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2); }
.fs-subida .t { font-weight: 600; color: #fff; }
.fs-subida .s { font-size: 12px; color: #94a3b8; margin-top: .25rem; }
.fs-subida .b { margin-top: 1.25rem; display: block; width: 100%; padding: .9rem 1rem; border-radius: .8rem; font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(90deg, #7c3aed, #2563eb); box-shadow: 0 10px 24px -8px rgba(124,58,237,.45); }
.fs-subida .p { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; font-size: 10px; color: #94a3b8; }
.fs-subida .p span { border-radius: .5rem; background: rgba(30,41,59,.6); padding: .5rem .25rem; }
.fs-error { border-radius: 1rem; padding: 1rem; border: 1px solid rgba(244,63,94,.4); background: rgba(244,63,94,.1); display: flex; gap: .75rem; }
.fs-error.hidden { display: none; }
.fs-error b { display: block; font-size: .875rem; color: #fecdd3; }
.fs-error p { font-size: 12px; color: rgba(255,228,230,.8); margin-top: .25rem; word-break: break-word; }
.fs-error button { color: rgba(254,205,211,.7); font-size: 1.1rem; line-height: 1; padding: 0 .25rem; background: none; border: 0; cursor: pointer; }
/* resultado */
.fs-res { padding: 1.2rem; display: grid; gap: 1rem; }
.fs-res-cab { display: flex; align-items: center; gap: .9rem; }
.fs-res-txt { min-width: 0; flex: 1; }
.fs-res-txt h2 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-top: .45rem; line-height: 1.25; }
.fs-res-txt p { font-size: 11px; color: #a99bd0; margin-top: .25rem; word-break: break-word; }
.fs-res-mas { width: 4rem; height: 4rem; flex: none; }
.fs-res-resumen { font-size: .95rem; font-weight: 600; color: #ede9fe; line-height: 1.45; }
.fs-res-aviso { border-radius: .9rem; padding: .8rem .9rem; border: 1px solid rgba(245,158,11,.45); background: rgba(245,158,11,.12); font-size: 12.5px; line-height: 1.5; color: #fde68a; display: grid; gap: .4rem; }
.fs-res-bloque h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: #a99bd0; margin-bottom: .55rem; }
.fs-res-datos { display: grid; gap: 0; border-radius: .9rem; overflow: hidden; border: 1px solid rgba(167,139,250,.16); }
.fs-res-fila { display: flex; justify-content: space-between; gap: .8rem; padding: .62rem .8rem; font-size: 13px; background: rgba(13,7,32,.55); }
.fs-res-fila + .fs-res-fila { border-top: 1px solid rgba(167,139,250,.1); }
.fs-res-fila dt { color: #a99bd0; }
.fs-res-fila dd { color: #fff; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.fs-res-fila.warn dd { color: #fcd34d; }
.fs-res-fila.danger dd { color: #fda4af; }
.fs-res-tips { display: grid; gap: .5rem; }
.fs-res-tips li { font-size: 13.5px; line-height: 1.5; color: #e2e8f0; padding: .7rem .85rem; border-radius: .9rem; background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.25); }
.fs-res-ok { font-size: 13.5px; color: #6ee7b7; }
.fs-res-tl { padding: 1rem; }
.fs-res-cta { display: grid; gap: .7rem; padding: 1.1rem; border-radius: 1.2rem; text-align: center; background: linear-gradient(160deg, rgba(124,58,237,.28), rgba(37,99,235,.16)); border: 1px solid rgba(196,181,253,.35); box-shadow: 0 0 34px -12px rgba(167,139,250,.7); }
.fs-res-cta > p:first-child { font-size: 13.5px; line-height: 1.5; color: #e9e5ff; }
.fs-btn-7 { font-size: 1rem; }
.fs-miniaturas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; }
.fs-miniaturas img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: .4rem; border: 1px solid rgba(167,139,250,.2); background: #0d0720; }
.fs-sil-lista { display: grid; gap: .3rem; max-height: 16rem; overflow-y: auto; }
.fs-sil-lista li { display: flex; align-items: center; gap: .6rem; font-size: 13px; padding: .45rem .6rem; border-radius: .6rem; background: rgba(13,7,32,.55); font-variant-numeric: tabular-nums; }
.fs-sil-lista span { width: 1.6rem; height: 1.6rem; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #1a0b16; background: #fb7185; }
.fs-sil-lista b { flex: 1; color: #fff; font-weight: 600; }
.fs-sil-lista em { font-style: normal; font-weight: 800; color: #fda4af; }
.fs-formato { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.fs-encuadre { width: 100%; height: auto; display: block; }
.fs-encuadre .guia { fill: rgba(124,58,237,.12); stroke: #a78bfa; stroke-width: 1.2; stroke-dasharray: 4 3; }
.fs-encuadre .tuyo { fill: none; stroke-width: 2.4; stroke-dasharray: 100; stroke-dashoffset: 100; animation: fs-trazo 1s .3s cubic-bezier(.2,.7,.2,1) forwards; }
.fs-encuadre .tuyo.ok { stroke: #34d399; } .fs-encuadre .tuyo.mal { stroke: #fb7185; }
@keyframes fs-trazo { to { stroke-dashoffset: 0; } }
.fs-ley-guia, .fs-ley-tuyo { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; vertical-align: -1px; }
.fs-ley-guia { border: 1px dashed #a78bfa; }
.fs-ley-tuyo.ok { border: 2px solid #34d399; } .fs-ley-tuyo.mal { border: 2px solid #fb7185; }
.fs-checklist { display: grid; gap: .55rem; }
.fs-checklist li { display: flex; gap: .6rem; align-items: flex-start; font-size: 13px; }
.fs-checklist li div { min-width: 0; display: grid; }
.fs-checklist b { color: #fff; }
.fs-checklist span { color: #a99bd0; font-size: 12px; }
.fs-ico { width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.fs-ico.ok { background: rgba(52,211,153,.15); color: #34d399; border: 1px solid rgba(52,211,153,.45); }
.fs-ico.warn { background: rgba(251,191,36,.15); color: #fbbf24; border: 1px solid rgba(251,191,36,.45); }
.fs-ico.danger { background: rgba(251,113,133,.15); color: #fb7185; border: 1px solid rgba(251,113,133,.45); }
/* bloques de texto, fuentes y tarjetas de herramientas */
.fs-tit { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: #94a3b8; margin-bottom: .7rem; }
.fs-texto { display: grid; gap: .8rem; font-size: 14.5px; line-height: 1.65; color: #cbd5e1; }
.fs-texto h2 { font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.3; }
.fs-texto a, .fs-faq-r a, .fs-fuentes a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.fs-texto ul { display: grid; gap: .35rem; padding-left: 1.1rem; list-style: disc; }
.fs-fuentes { font-size: 12px; line-height: 1.55; color: #8b7fb5; display: grid; gap: .35rem; }
.fs-herr-grid { display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 400px) { .fs-herr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fs-herr-card { display: grid; gap: .3rem; padding: .95rem; border-radius: 1.1rem; text-decoration: none; color: #cbd5e1; font-size: 12.5px; line-height: 1.45; transition: transform .2s, border-color .2s; }
.fs-herr-card b { color: #fff; font-size: .9rem; }
.fs-herr-card i { font-style: normal; font-size: 1.3rem; }
.fs-herr-card:hover { transform: translateY(-2px); border-color: rgba(196,181,253,.5); }
.fs-herr-card:focus-visible, .fs-btn:focus-visible, .fs-btn-2:focus-visible, .fs-subida:focus-within { outline: 2px solid #c4b5fd; outline-offset: 3px; }
.fs-pie { padding-top: 1.5rem; display: grid; gap: .7rem; text-align: center; font-size: 11px; color: #64748b; }
.fs-pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1rem; font-size: 12px; }
.fs-pie a { color: #a99bd0; text-decoration: none; }
.fs-pie a:hover { color: #ddd6fe; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .fs-encuadre .tuyo { animation: none; stroke-dashoffset: 0; }
  .fs-herr-card { transition: none; }
}
.fs-pie-index { display: block; margin-bottom: .5rem; line-height: 1.7; }
.fs-pie-index a { color: #8b7fb5; text-decoration: underline; text-underline-offset: 2px; }
.fs-res-mejorable { font-size: 13.5px; color: #fcd34d; }
