/* Ajustes solo del visor público. Escrito a mano: scripts/generate-analyzer-view-assets.mjs no lo toca.
   El visor compartido muestra la miniatura de un video solo cuando el informe la trae incrustada. Los informes
   públicos nunca incrustan miniaturas de otras personas, así que la tarjeta sin miniatura lleva un tinte en vez
   de un recuadro oscuro. El enlace al video original, la cuenta, las vistas y el multiplicador se conservan. */
.founder-report .fc-video:nth-child(3n+1) .fc-video-cover[data-empty=true]{background:linear-gradient(165deg,#2d5a45,#0f1f18 72%);border-color:#35594a}
.founder-report .fc-video:nth-child(3n+2) .fc-video-cover[data-empty=true]{background:linear-gradient(165deg,#2b4a6b,#0e1722 72%);border-color:#34506e}
.founder-report .fc-video:nth-child(3n) .fc-video-cover[data-empty=true]{background:linear-gradient(165deg,#56407a,#17101f 72%);border-color:#574377}
/* Dentro de un marco, el informe ocupa todo el ancho disponible sin margen doble. */
body{margin:0}
/* Reproductor: el video se ve con el reproductor oficial de su plataforma, encima del informe. */
.vista-player{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px;background:rgba(6,9,11,.82)}
.vista-player-box{display:flex;flex-direction:column;width:min(420px,100%);height:min(780px,calc(100dvh - 32px));border:1px solid #2c353b;border-radius:16px;background:#12181c;overflow:hidden}
.vista-player-box iframe{flex:1;width:100%;border:0;background:#fff}
.vista-player-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}
.vista-player-bar a{color:#eef1e6;font-size:13px}
.vista-player-bar button{height:34px;padding:0 14px;border:1px solid #2c353b;border-radius:999px;background:transparent;color:#eef1e6;font:inherit;font-size:13px;cursor:pointer}
/* Vista previa dentro de la tarjeta: el reproductor oficial, a escala y sin recibir clics (el clic abre el grande). */
.vista-preview{position:absolute;left:calc(50% - 165px);top:0;border:0;transform-origin:50% 0;transform:scale(calc(var(--vista-scale,.6) * var(--vista-zoom,1))) translateY(calc(-1 * var(--vista-header,0px)));pointer-events:none;background:#12181c;opacity:0;transition:opacity .5s}
.fc-video-cover[data-preview=true] .vista-preview{opacity:1}
.founder-report .fc-video-cover[data-preview=true]:after{background:linear-gradient(#0000008c,#0000 20%,#0000 62%,#000000d9)}
/* Lo que ya dice la gente: publicaciones de X verificadas. Mientras X no responde, el texto verificado; luego, su incrustado. */
.vista-pain{margin-top:38px}
.vista-pain .fb-section-top h3{font-size:26px;letter-spacing:-.03em;font-weight:500}
.vista-pain-note{margin:6px 0 0;color:var(--muted);font-size:14px}
.vista-pain-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:14px;margin-top:18px;align-items:start}
.vista-pain-card{position:relative;display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
.vista-pain-why{margin:0;font-size:13px;line-height:1.45;color:var(--ink)}
.vista-pain-quote{margin:0;padding:12px 14px;border-left:2px solid #4a5258;border-radius:4px;background:#0c0e10;font-size:14px;line-height:1.5;color:#d8dcd5}
.vista-pain-quote p{margin:0}
.vista-pain-quote p+p{margin-top:6px}
.vista-pain-by{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:10px;font-size:12px;color:var(--muted)}
.vista-pain-by strong{color:var(--ink);font-weight:550}
.vista-pain-by a{margin-left:auto;color:var(--ink)}
/* Esquinas recortadas al radio de la tarjeta de X, para que no asome el fondo del marco. */
.vista-pain-embed{max-width:550px;margin:0 auto;border-radius:12px;overflow:hidden}
.vista-pain-embed iframe{display:block;width:100%;height:0;border:0}
.vista-pain-card[data-state=embed] .vista-pain-quote{display:none}
/* Mientras X carga, su marco existe con el ancho real de la tarjeta pero no se ve ni ocupa lugar.
   Transparente y no oculto: X no dibuja la publicación dentro de un marco con visibility:hidden. */
.vista-pain-card[data-state=text] .vista-pain-embed{position:absolute;top:0;left:14px;right:14px;opacity:0;pointer-events:none}
.vista-pain-embed iframe{transition:opacity .4s}
@media (max-width:640px){.vista-pain .fb-section-top h3{font-size:22px}}

.vista-decisions { margin: 26px 0; }
.vista-decisions h3 { font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 560; letter-spacing: -.04em; margin: 0; }
.vista-deck { margin: 7px 0 15px; color: var(--muted); max-width: 74ch; }
.vista-decisions-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.vista-decision { padding: clamp(16px, 2vw, 24px); border: 1px solid var(--line); border-radius: 15px; background: var(--soft); overflow-wrap: anywhere; }
.vista-decision h4 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.22; letter-spacing: -.025em; }
.vista-decision p { margin: 6px 0; font-size: .91rem; line-height: 1.48; }
.vista-decision blockquote { margin: 14px 0 6px; padding-left: 12px; border-left: 2px solid #789881; color: var(--ink); }
.vista-decision a, .vista-decision summary { font-size: .84rem; color: var(--ink); text-underline-offset: 3px; }
.vista-decision details { margin-top: 12px; }
.vista-decision summary { cursor: pointer; }
.vista-decision details strong { display: block; margin-top: 10px; font-size: .85rem; }
.vista-decision .vista-to-experiment { display: inline-flex; align-items: center; margin-top: 6px; min-height: 36px; color: #bee9ba; }
#primer-experimento { scroll-margin-top: 100px; }
@media (max-width: 640px) { #primer-experimento { scroll-margin-top: 78px; } }
.vista-alternatives { margin: 12px 0; }
.vista-alternatives dt { font-weight: 650; font-size: .85rem; margin: 10px 0 2px; }
.vista-alternatives dd { margin: 0; font-size: .92rem; line-height: 1.5; }
.vista-market-context { margin: 24px 0; border-block: 1px solid var(--line); }
.vista-market-context > summary { cursor: pointer; padding: 14px 0; }
.vista-market-context .fc-bench { margin-top: 4px; }
.vista-research-scope { margin: 20px 0; border-block: 1px solid var(--line); overflow-wrap: anywhere; }
.vista-research-scope summary { padding: 14px 0; cursor: pointer; font-size: .94rem; font-weight: 580; }
.vista-research-scope summary span { margin-left: .65em; font-size: .85rem; font-weight: 430; color: var(--muted); }
.vista-research-scope dl { display: grid; grid-template-columns: minmax(7em, 11em) minmax(0, 1fr); margin: 0 0 20px; }
.vista-research-scope dt, .vista-research-scope dd { padding: 12px 0; border-top: 1px solid var(--line); }
.vista-research-scope dt { font-size: .85rem; color: var(--muted); }
.vista-research-scope dd { margin: 0; }
.vista-research-scope p, .vista-research-scope a { margin: 4px 0 0; font-size: .83rem; color: var(--muted); }
.vista-research-scope figure { margin: 9px 0 0; padding-left: 11px; border-left: 2px solid #789881; }
.vista-research-scope blockquote { margin: 0; font-size: .91rem; line-height: 1.45; }
.vista-research-scope a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 540px) {
  .vista-research-scope dl { display: block; }
  .vista-research-scope dt { padding-bottom: 4px; }
  .vista-research-scope dd { padding-top: 0; border-top: 0; }
}
.vista-findings { margin: 32px 0; }
.vista-findings h3 { margin: 0 0 14px; font-size: clamp(1.4rem,3vw,1.85rem); font-weight: 560; letter-spacing: -.04em; }
.vista-finding { margin: 10px 0; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px,2.5vw,26px); }
.vista-finding h4 { margin: 0 0 14px; font-size: clamp(1.05rem,2vw,1.24rem); line-height: 1.32; max-width: 79ch; font-weight: 570; }
.vista-finding-citation { margin: 10px 0; padding-left: 12px; border-left: 2px solid #789881; }
.vista-finding-citation blockquote { margin: 0 0 3px; font-size: .92rem; line-height: 1.5; white-space: pre-line; }
.vista-finding-citation figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--muted); }
.vista-finding-citation a { color: var(--ink); text-underline-offset: 3px; }
.vista-pain-reading { font-size: .85rem; }
.vista-pain-reading summary { cursor: pointer; }

/* Quién lo pide hoy: señales de demanda que pasaron el filtro del servidor. */
.vista-demand { margin: 40px 0; }
.vista-demand h3 { margin: 0; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.vista-demand-hero { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 8px 0 18px; }
.vista-demand-hero strong { font-size: clamp(6rem,17vw,11rem); line-height: .8; font-weight: 500; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.vista-demand-hero span { font-size: clamp(1.5rem,3.4vw,2.4rem); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; max-width: 9em; padding-bottom: .15em; }
.vista-demand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vista-demand-chips li { border: 1px solid var(--line); border-radius: 99px; padding: 5px 13px; font-size: .82rem; background: var(--soft); }
.vista-demand-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 14px; margin-top: 26px; }
.vista-demand-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; transition: transform .25s, border-color .25s; animation: vista-demand-rise .7s var(--d,0ms) cubic-bezier(.2,.7,.2,1) both; }
.vista-demand-card[data-verdict="oportunidad"] { border-color: #4d6b54; background: linear-gradient(160deg,#1c2520,var(--soft) 60%); }
.vista-demand-card:hover { transform: translateY(-4px); border-color: #56615c; }
.vista-demand-card header { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; color: var(--muted); }
.vista-demand-card blockquote { margin: 0; font-size: 1.32rem; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.vista-demand-said { display: grid; gap: 8px; min-width: 0; }
.vista-demand-original { margin: 0; font-size: .82rem; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.vista-demand-empty { margin: 14px 0 6px; font-size: clamp(1.3rem,2.6vw,1.8rem); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; max-width: 22em; }
.vista-demand-hint { margin: 0; max-width: 46em; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.vista-demand-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; padding: 14px 0; list-style: none; border-block: 1px solid var(--line); font-size: .82rem; }
.vista-demand-checks li { display: flex; align-items: center; gap: 8px; animation: vista-demand-lit .4s var(--d,0ms) both; }
.vista-demand-checks li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; animation: vista-demand-pop .45s var(--d,0ms) both; }
.vista-demand-checks li[data-pass="true"]::before { background: #a5d6b0; }
.vista-demand-checks li[data-pass="false"] { color: #6f7772; }
.vista-demand-checks li[data-pass="false"]::before { border: 1.5px dashed #e8c586; }
.vista-demand-move { margin: 0; font-size: 1.05rem; font-weight: 500; color: #d5e9d9; }
.vista-demand-move::before { content: "→ "; color: #a5d6b0; }
.vista-demand-card footer { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; font-size: .82rem; }
.vista-demand-card a, .vista-demand-card summary { color: #b6ceb9; text-underline-offset: 3px; }
.vista-demand-card summary { cursor: pointer; list-style: none; text-align: right; }
.vista-demand-card summary::-webkit-details-marker { display: none; }
.vista-demand-card details p { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 8px 0 0; }
.vista-demand-card details span { border: 1px solid #494634; color: #d1c8a6; border-radius: 99px; padding: 2px 9px; font-size: .75rem; }
.vista-demand-proof { border-top: 1px solid var(--line); padding-top: .7rem; }
.vista-demand-card .vista-demand-proof summary { text-align: left; list-style: revert; }
.vista-demand-card .vista-demand-proof p { justify-content: flex-start; font-weight: 600; }
.vista-demand-card .vista-demand-proof blockquote { margin: .3rem 0 .7rem; font-size: .95rem; }
.vista-demand-ok { color: #a5d6b0; }
@keyframes vista-demand-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes vista-demand-pop { from { transform: scale(0); } 60% { transform: scale(1.5); } }
@keyframes vista-demand-lit { from { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .vista-demand-card, .vista-demand-checks li, .vista-demand-checks li::before { animation: none; transition: none; } }
@media print { .vista-demand-card, .vista-demand-checks li, .vista-demand-checks li::before { animation: none; } }

/* YouTube card mark: the shared viewer only ships Instagram and TikTok tiles. */
.fc-video-top .fb-icon.vista-icon-youtube { background: #f00; color: #fff; }
.fc-video-top .fb-icon.vista-icon-youtube svg { fill: currentColor; }

.vista-reference-feedback { margin-block: .8rem .25rem; padding: .25rem 0; color: inherit; font-size: .83rem; }
.vista-reference-feedback summary, .fc-rival-proof summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: .2em; }
.vista-reference-options { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.vista-reference-options[hidden], .vista-reference-status:empty { display: none; }
.vista-reference-options button { font: inherit; color: inherit; border: 1px solid currentColor; border-radius: .45rem; min-height: 2.75rem; padding: .35rem .7rem; background: transparent; cursor: pointer; }
.vista-reference-options button:focus-visible, .vista-reference-feedback summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.vista-reference-status { margin: .4rem 0; }
.fc-rival-proof { margin-top: .6rem; }
.fc-rival-proof dl { margin: .45rem 0; }
.fc-rival-proof dt { font-weight: 600; }
.fc-rival-proof dd { margin: 0 0 .45rem; }
@media print { .vista-reference-feedback { display: none; } }
