/* Humanidad · Pasaje de vida histórico V1
 * Capa a pantalla completa que se abre desde una persona histórica en Mundo.
 * Azul de archivo (#8fb8e8) para la vida histórica; dorado para los años.
 * Usa los tokens del tema (Noche y oro / Azul marino) cuando están presentes. */
.hpv,.hpv-embed{--hpv-bg:var(--hno-bg,#07111f);--hpv-deep:var(--hno-deep,#050c17);--hpv-surface:var(--hno-surface,#0d1b30);--hpv-raised:var(--hno-raised,#13233a);--hpv-line:var(--hno-line,rgba(204,222,245,.12));--hpv-text:var(--hno-text,#f4ecdd);--hpv-muted:var(--hno-muted,#a3b2c6);--hpv-soft:#c3cfdf;--hpv-gold:var(--hno-gold,#d9b36a);--hpv-gold-soft:var(--hno-gold-soft,#f0d7a1);--hpv-on-gold:var(--hno-on-gold,#1a1408);--hpv-archive:#8fb8e8;--hpv-archive-soft:#bcd6f4;--hpv-archive-line:rgba(143,184,232,.4)}
.hpv{position:fixed;inset:0;z-index:2147483000;background:var(--hpv-bg);color:var(--hpv-text);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;font-family:var(--font-body,'Inter',system-ui,sans-serif);opacity:0;transition:opacity .22s ease}
html.hno-marino .hpv{background:radial-gradient(ellipse 120% 30% at 70% 0%,rgba(70,120,210,.22),transparent 60%),var(--hpv-bg)}
.hpv[data-open="true"]{opacity:1}
.hpv *,.hpv *::before,.hpv *::after{box-sizing:border-box}
.hpv-inner{max-width:720px;margin:0 auto;padding:0 0 calc(56px + env(safe-area-inset-bottom,0px))}
.hpv button{font:inherit;color:inherit;cursor:pointer}
.hpv a{color:inherit}
.hpv :focus-visible{outline:2px solid var(--hpv-gold-soft);outline-offset:3px}

/* Barra superior */
.hpv-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 14px;background:linear-gradient(180deg,var(--hpv-bg) 0,var(--hpv-bg) 78%,rgba(7,17,31,0) 100%);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.hpv-back,.hpv-play{min-height:44px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.hpv-back{border:1px solid rgba(204,222,245,.2);background:transparent}
.hpv .hpv-bar .hpv-play{border:0;background:var(--hpv-gold);color:var(--hpv-on-gold)!important}
.hpv .hpv-bar .hpv-play svg{fill:var(--hpv-on-gold)}
.hpv-play svg{width:14px;height:14px;fill:currentColor}
.hpv-play[hidden]{display:none}

/* Portada */
.hpv-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 24px 8px}
.hpv-ring{position:relative;width:176px;height:176px}
.hpv-ring svg{position:absolute;inset:0;transform:rotate(-90deg);overflow:visible}
.hpv-ring circle{fill:none;stroke:var(--hpv-archive);stroke-width:3.5;stroke-linecap:round;filter:drop-shadow(0 0 6px var(--hpv-archive))}
.hpv-ring circle.is-empty{stroke:rgba(143,184,232,.35);filter:none;stroke-dasharray:3 7}
.hpv-portrait{position:absolute;inset:14px;border-radius:50%;background:var(--hpv-raised);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--hpv-archive-soft)}
.hpv-portrait img{width:100%;height:100%;object-fit:cover}
.hpv-initials{font-size:42px;font-weight:600;letter-spacing:.04em}
.hpv-kicker{font-size:11.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--hpv-archive-soft)}
.hpv-hero .hpv-kicker{margin-top:22px}
.hpv-name{margin:8px 0 0;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-weight:600;font-size:clamp(34px,9vw,48px);line-height:1.05;color:var(--hpv-text);overflow-wrap:anywhere}
.hpv-summary{margin:12px 0 0;font-size:15px;line-height:1.55;color:var(--hpv-soft);max-width:560px}
.hpv-meta{margin-top:10px;font-size:13px;line-height:1.5;color:var(--hpv-muted)}

/* Leyenda */
.hpv-legend{margin:18px 20px 0;padding:12px 14px;border-radius:14px;border:1px solid rgba(143,184,232,.3);display:flex;flex-direction:column;gap:8px;font-size:12.5px;color:var(--hpv-soft)}
.hpv-legend .hpv-kicker{font-size:10.5px;letter-spacing:.18em}
.hpv-legend-row{display:flex;align-items:center;gap:10px}
.hpv-stroke{width:28px;height:0;flex:none;border-top:2px solid var(--hpv-archive)}
.hpv-stroke[data-c="corroborated"]{border-top-style:dashed}
.hpv-stroke[data-c="probable"],.hpv-stroke[data-c="possible"],.hpv-stroke[data-c="traditional"]{border-top-style:dotted}
.hpv-stroke[data-c="disputed"]{border-top:2px dotted #e9a2b0}

/* Línea de vida */
.hpv-timeline{position:relative;margin:0;padding:36px 20px 0 76px;list-style:none;display:flex;flex-direction:column}
.hpv-node{position:relative;padding-bottom:44px}
.hpv-node::before{content:"";position:absolute;left:-34px;top:0;bottom:0;border-left:2px solid var(--hpv-archive);filter:drop-shadow(0 0 6px rgba(143,184,232,.55))}
.hpv-node[data-certainty="corroborated"]::before{border-left-style:dashed}
.hpv-node[data-certainty="probable"]::before,.hpv-node[data-certainty="possible"]::before,.hpv-node[data-certainty="traditional"]::before{border-left-style:dotted}
.hpv-node[data-certainty="disputed"]::before{border-left:2px dotted #e9a2b0}
.hpv-node--open::before{border-left:2px dashed rgba(143,184,232,.45);filter:none}
.hpv-node:last-child{padding-bottom:0}
.hpv-node:last-child::before{bottom:auto;height:14px}
.hpv-dot{position:absolute;left:-40px;top:10px;width:14px;height:14px;border-radius:50%;background:var(--hpv-archive);box-shadow:0 0 0 5px rgba(143,184,232,.16),0 0 14px var(--hpv-archive)}
.hpv-node--open .hpv-dot{left:-38px;top:6px;width:10px;height:10px;background:var(--hpv-bg);border:1.5px solid var(--hpv-archive);box-shadow:none}
.hpv-node[data-certainty="disputed"] .hpv-dot{background:#e9a2b0;box-shadow:0 0 0 5px rgba(233,162,176,.14),0 0 12px #e9a2b0}
.hpv-node.is-playing .hpv-dot{animation:hpv-pulse 1.6s ease-in-out infinite}
@keyframes hpv-pulse{0%,100%{box-shadow:0 0 0 5px rgba(143,184,232,.16),0 0 14px var(--hpv-archive)}50%{box-shadow:0 0 0 11px rgba(143,184,232,.1),0 0 26px var(--hpv-archive)}}
.hpv-node-body{display:flex;flex-direction:column;gap:12px;transition:opacity .3s ease}
.hpv[data-playing="true"] .hpv-node--event:not(.is-playing) .hpv-node-body{opacity:.42}
.hpv-event-head{margin:0;display:flex;flex-direction:column;gap:10px}
.hpv-year{display:block;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-weight:700;font-size:clamp(52px,15vw,68px);line-height:.88;color:var(--hpv-gold-soft);letter-spacing:-.01em;font-variant-numeric:lining-nums}
.hpv-year small{display:block;font-size:.6em;margin-top:4px}
.hpv-year-era{font-size:.36em;letter-spacing:.06em;margin-left:6px;vertical-align:.9em}
.hpv-event-kicker{font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--hpv-archive-soft)}
.hpv-title{display:block;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-weight:600;font-size:23px;line-height:1.2;color:var(--hpv-text)}
.hpv-place{font-size:13.5px;color:var(--hpv-muted)}
.hpv-text{margin:0;font-size:14.5px;line-height:1.55;color:var(--hpv-soft)}
.hpv-open-title{margin:0;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-weight:600;font-size:22px;line-height:1.2}

/* Mini recorrido entre dos lugares */
.hpv-route{border-radius:18px;background:var(--hpv-surface);border:1px solid var(--hpv-line);padding:12px;display:flex;flex-direction:column;gap:6px}
.hpv-route svg{display:block;width:100%;height:auto}
.hpv-route-path{fill:none;stroke:var(--hpv-archive);stroke-width:2;stroke-dasharray:5 6}
.hpv-route-from{fill:var(--hpv-archive)}
.hpv-route-to{fill:var(--hpv-gold-soft)}
.hpv-route text{font:11px var(--font-body,'Inter',system-ui,sans-serif)}
.hpv-route .t-from{fill:var(--hpv-archive-soft)}
.hpv-route .t-to{fill:var(--hpv-gold-soft)}

/* Acciones de cada hecho */
.hpv-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hpv-chip{min-height:36px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;line-height:1}
.hpv-chip--map{border:1px solid rgba(217,179,106,.45);background:transparent;color:var(--hpv-gold-soft)}
/* Crédito discreto: instituciones del hecho en una línea; al tocar, el detalle con enlaces */
.hpv .hpv-credit{align-self:flex-start;display:block;min-height:32px;margin:-4px 0 0;padding:6px 0;border:0;background:transparent;color:var(--hpv-muted)!important;font-size:12.5px;font-weight:400;line-height:1.45;text-align:left}
.hpv-credit-label{text-decoration:underline dotted rgba(163,178,198,.5);text-underline-offset:3px}
.hpv-credit:hover .hpv-credit-label,.hpv-credit[aria-expanded="true"] .hpv-credit-label{text-decoration-color:var(--hpv-archive-soft);color:var(--hpv-soft)}
.hpv-credit-check{margin-left:6px;color:var(--hpv-gold-soft);font-weight:600;white-space:nowrap}
.hpv-credit-caret{display:inline-block;margin-left:5px;font-size:11px;transition:transform .2s ease}
.hpv-credit[aria-expanded="true"] .hpv-credit-caret{transform:rotate(90deg)}
.hpv-sources{margin:0;padding:12px 14px;list-style:none;border-radius:14px;background:var(--hpv-surface);border:1px solid var(--hpv-line);display:flex;flex-direction:column;gap:10px}
.hpv-sources[hidden]{display:none}
.hpv-source{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45}
.hpv-source-role{flex:none;min-width:48px;padding:2px 7px;border-radius:999px;border:1px solid var(--hpv-line);font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hpv-muted);text-align:center}
.hpv-source a{color:var(--hpv-archive-soft);text-decoration:underline;text-decoration-color:rgba(143,184,232,.45);text-underline-offset:3px;overflow-wrap:anywhere}
.hpv-source-inst{display:block;color:var(--hpv-muted);font-size:12px}
.hpv-sources-note{margin:0;font-size:12.5px;line-height:1.5;color:var(--hpv-muted)}

/* Legado */
.hpv-legacy{margin:56px 20px 0;padding-top:28px;border-top:1px solid var(--hpv-line);display:flex;flex-direction:column;gap:16px}
.hpv-legacy .hpv-kicker{color:var(--hpv-gold-soft)}
.hpv-legacy-title{margin:0;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-weight:600;font-size:28px;line-height:1.15}
.hpv-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;margin:0;padding:0;list-style:none}
.hpv-person{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:transparent;border:0;padding:4px 2px;border-radius:14px;width:100%}
button.hpv-person:hover .hpv-person-avatar{box-shadow:0 0 0 4px rgba(143,184,232,.16),0 0 14px rgba(143,184,232,.5)}
.hpv-person-avatar{width:62px;height:62px;border-radius:50%;border:2px solid var(--hpv-archive);background:var(--hpv-raised);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;color:var(--hpv-archive-soft);transition:box-shadow .2s ease}
.hpv-person[data-has-events="false"] .hpv-person-avatar{border:1.5px dashed rgba(143,184,232,.45);color:var(--hpv-muted)}
.hpv-person-name{font-size:12.5px;font-weight:600;line-height:1.3;color:var(--hpv-text);overflow-wrap:anywhere}
.hpv-person-rel{font-size:11px;color:var(--hpv-muted)}
.hpv-more{font-size:13px;color:var(--hpv-muted);margin:0}

/* Nota final y estados */
.hpv-footnote{margin:40px 20px 0;padding:16px;border-radius:18px;background:var(--hpv-surface);border:1px solid var(--hpv-line);font-size:13px;line-height:1.55;color:var(--hpv-muted)}
.hpv-state{padding:80px 24px;text-align:center;color:var(--hpv-muted);font-size:15px;line-height:1.55}
.hpv-loading-ring{width:56px;height:56px;margin:0 auto 18px;border-radius:50%;border:3px solid rgba(143,184,232,.2);border-top-color:var(--hpv-archive);animation:hpv-spin 1s linear infinite}
@keyframes hpv-spin{to{transform:rotate(360deg)}}

/* Botón de entrada en el panel de Mundo */
.account-view[data-view="mundo"] .mp-panel-route.hpv-entry{border-color:rgba(143,184,232,.45);background:rgba(143,184,232,.07)}
.account-view[data-view="mundo"] .mp-panel-route.hpv-entry:hover,.account-view[data-view="mundo"] .mp-panel-route.hpv-entry:focus-visible{border-color:rgba(143,184,232,.7);background:rgba(143,184,232,.12)}
.account-view[data-view="mundo"] .mp-panel-route.hpv-entry strong{color:#bcd6f4}
.account-view[data-view="mundo"] .mp-panel-route.hpv-entry::before{background:#8fb8e8;box-shadow:0 0 10px 1px rgba(143,184,232,.8)}

html.hpv-lock,html.hpv-lock body{overflow:hidden!important}

@media (min-width:900px){
  .hpv-hero{padding-top:28px}
  .hpv-timeline{padding-left:96px}
  .hpv-people{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  .hpv{transition:none}
  .hpv-node.is-playing .hpv-dot,.hpv-loading-ring{animation:none}
}

/* Tarjeta de recuerdo en el panel de Mundo (un toque abre el pasaje) */
.hpv-peek-wrap{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:44px 0 4px}
.hpv-peek{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:22px 18px 18px;border-radius:20px;border:1px solid rgba(143,184,232,.32);background:radial-gradient(ellipse 90% 60% at 50% 0%,rgba(143,184,232,.12),transparent 70%),var(--hno-surface,#0d1b30);cursor:pointer;color:var(--hno-text,#f4ecdd)}
.hpv-peek::after{content:"";position:absolute;inset:6px;border-radius:15px;border:1px solid rgba(143,184,232,.12);pointer-events:none}
.hpv-peek:hover{border-color:rgba(143,184,232,.55)}
.hpv-peek-ring{width:64px;height:64px;border-radius:50%;border:2px solid #8fb8e8;box-shadow:0 0 0 4px rgba(143,184,232,.12),0 0 16px rgba(143,184,232,.45);background:var(--hno-raised,#13233a);display:flex;align-items:center;justify-content:center;color:#bcd6f4;font-size:19px;font-weight:600;letter-spacing:.04em;margin-bottom:6px}
.hpv-peek-kicker{font-size:10.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#bcd6f4}
.hpv .hpv-peek-name,.hpv-peek .hpv-peek-name{margin:2px 0 0;font-size:26px;line-height:1.1;font-weight:600;color:var(--hno-text,#f4ecdd);overflow-wrap:anywhere}
.hpv-peek .hpv-peek-years{margin:4px 0 0;display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.2;font-weight:600;color:var(--hno-gold-soft,#f0d7a1);font-variant-numeric:lining-nums}
.hpv-peek .hpv-peek-years:not(:empty)::before,.hpv-peek .hpv-peek-years:not(:empty)::after{content:"";width:26px;height:1px;background:rgba(240,215,161,.45)}
.hpv-peek-note{font-size:11.5px;color:var(--hno-muted,#a3b2c6)}
.hpv-peek-note:empty,.hpv-peek-summary:empty,.hpv-peek .hpv-peek-years:empty{display:none}
.hpv-peek .hpv-peek-summary{margin:6px 0 0;font-size:13.5px;line-height:1.5;color:#c3cfdf;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.account-view .hpv-peek .hpv-peek-cta,.hpv-peek .hpv-peek-cta{margin-top:12px;min-height:44px;width:100%;padding:0 16px;border:0;border-radius:14px;background:var(--hno-gold,#d9b36a);color:var(--hno-on-gold,#1a1408)!important;font-size:14.5px;font-weight:600;cursor:pointer}
.account-view .hpv-peek-follow,.hpv-peek-follow{align-self:center;min-height:40px;padding:0 10px;border:0;background:transparent;color:#bcd6f4!important;font-size:13px;font-weight:600;cursor:pointer}
.hpv-peek-follow[hidden]{display:none}
.hpv-peek-follow:disabled{opacity:.55;cursor:default}

/* ── Pasaje familiar: mismo lenguaje dentro del perfil, con el color de quién es ── */
.hpv-embed{color:var(--hpv-text);padding:4px 0 8px}
.hpv-embed .hpv-timeline{padding:20px 4px 0 64px}
.hpv-embed[data-tone="connected"]{--hpv-archive:#e7c97d;--hpv-archive-soft:#f0d7a1}
.hpv-embed[data-tone="unconnected"]{--hpv-archive:#5fd0e6;--hpv-archive-soft:#a8e8f4}
.hpv-embed[data-tone="memorial"]{--hpv-archive:#b8a1e6;--hpv-archive-soft:#d6cbf2}
.hpv-embed[data-tone="connected"] .hpv-dot{box-shadow:0 0 0 5px rgba(231,201,125,.16),0 0 14px #e7c97d}
.hpv-embed[data-tone="unconnected"] .hpv-dot{box-shadow:0 0 0 5px rgba(95,208,230,.14),0 0 12px rgba(95,208,230,.7)}
.hpv-embed[data-tone="memorial"] .hpv-dot{box-shadow:0 0 0 5px rgba(184,161,230,.16),0 0 14px #b8a1e6}
.hpv-embed[data-tone="connected"] .hpv-node::before{filter:drop-shadow(0 0 6px rgba(231,201,125,.5))}
.hpv-embed[data-tone="unconnected"] .hpv-node::before{filter:drop-shadow(0 0 5px rgba(95,208,230,.45))}
.hpv-embed[data-tone="memorial"] .hpv-node::before{filter:drop-shadow(0 0 6px rgba(184,161,230,.5))}
.hpv-embed .hpv-memory-excerpt{font-style:italic;color:var(--hpv-soft);border-left:2px solid var(--hpv-archive-line);padding-left:12px}
.hpv-embed .hpv-node--death .hpv-year{color:var(--hpv-archive-soft)}
.hpv-embed .hpv-legacy{margin:44px 0 0}
.hpv-embed .hpv-legacy .hpv-kicker{color:var(--hpv-archive-soft)}
.hpv-embed-family .hpx-famgroup{margin-top:6px}
.hpv-embed-actions{display:flex;flex-wrap:wrap;gap:10px;margin:36px 0 0;padding-top:20px;border-top:1px solid var(--hpv-line)}
/* Retrato de la portada con el anillo de su estado */
.hpx-cover[data-hpx-tone="connected"]>.hpx-portrait{border:2px solid #e7c97d!important;box-shadow:none!important}
.hpx-cover[data-hpx-tone="unconnected"]>.hpx-portrait{border:2px solid #5fd0e6!important;box-shadow:none!important}
.hpx-cover[data-hpx-tone="memorial"]>.hpx-portrait{border:2px solid #b8a1e6!important;box-shadow:none!important}
@media (max-width:600px){.hpv-embed .hpv-timeline{padding-left:58px}}

/* Related people and life timelines keep their color without luminous effects. */
html body :is(.hpv-dot,.hpv-person-avatar,.hpv-peek-ring){box-shadow:none!important;filter:none!important;animation:none!important}
html body .hpv-node::before,html body .hpv-ring circle{filter:none!important}
html body .hpv-peek{background:var(--hpv-raised,#13233a)!important}

/* ── Perfil de legado · museo (v5) ─────────────────────────────────────────
   Misma arquitectura que el legado familiar: portada, capítulos numerados
   (Vida · Lugares · Su legado · Fuentes) y una cartela de museo bajo la portada. */
.hpv-bar .hpv-page-label{flex:1;text-align:center;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--hpv-gold-soft)}
.hpv-life{margin:10px 0 0;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-style:italic;font-size:19px;color:var(--hpv-gold-soft);font-variant-numeric:lining-nums}
.hpv-archive-state{margin:6px 0 0;font-size:13.5px;color:var(--hpv-archive-soft)}

.hpv-cartela{position:relative;margin:26px 20px 0;padding:20px 20px 16px;border-radius:4px;background:linear-gradient(180deg,rgba(244,236,221,.055),rgba(244,236,221,.02));border:1px solid rgba(217,179,106,.42);box-shadow:inset 0 0 0 4px rgba(7,17,31,.9),inset 0 0 0 5px rgba(217,179,106,.16),0 18px 40px rgba(0,0,0,.28)}
.hpv-cartela-kicker{font-size:10px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--hpv-gold)}
.hpv-cartela-name{margin-top:10px;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-size:22px;font-weight:600;line-height:1.15;color:var(--hpv-text)}
.hpv-cartela-sub{margin-top:4px;font-size:12.5px;font-style:italic;color:var(--hpv-muted)}
.hpv-cartela-text{margin:12px 0 0;font-size:14.5px;line-height:1.6;color:var(--hpv-soft)}
.hpv-cartela-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 0;padding:14px 0 0;border-top:1px solid rgba(217,179,106,.22)}
.hpv-cartela-facts div{display:flex;flex-direction:column;gap:3px;min-width:0}
.hpv-cartela-facts dt{order:2;font-size:10.5px;line-height:1.3;color:var(--hpv-muted)}
.hpv-cartela-facts dd{order:1;margin:0;font-family:var(--font-display,'Playfair Display',Georgia,serif);font-size:24px;font-weight:700;line-height:1;color:var(--hpv-gold-soft);font-variant-numeric:lining-nums}
.hpv-cartela-foot{margin-top:14px;font-size:11px;line-height:1.45;color:var(--hpv-muted)}

.hpv-chapter{margin:0;padding:52px 20px 0}
.hpv-chapter-head{display:flex;align-items:center;gap:12px}
.hpv-chapter-title{display:flex;align-items:baseline;gap:12px;margin:0}
.hpv-numeral{font-family:var(--font-display,'Playfair Display',Georgia,serif);font-size:20px;font-style:italic;color:var(--hpv-gold-soft)}
.hpv-chapter-label{font-size:11.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--hpv-gold)}
.hpv-rule{flex:1;height:1px;background:linear-gradient(90deg,rgba(217,179,106,.4),rgba(217,179,106,0))}
.hpv-note{margin:16px 0 0;font-size:14px;line-height:1.55;color:var(--hpv-muted)}
.hpv-chapter--vida{padding-left:0;padding-right:0}
.hpv-chapter--vida>.hpv-chapter-head{padding:0 20px}
.hpv-chapter--vida .hpv-timeline{padding-top:28px}
.hpv-chapter--vida .hpv-node:last-child{padding-bottom:0}

.hpv-place-list{display:flex;flex-direction:column;margin:16px 0 0;padding:0;list-style:none}
.hpv-place-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--hpv-line)}
.hpv-place-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.hpv-place-name{font-size:15px;font-weight:600;color:var(--hpv-text);overflow-wrap:anywhere}
.hpv-place-years{font-size:12.5px;color:var(--hpv-muted);font-variant-numeric:tabular-nums}
.hpv .hpv-place-go{flex:none;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid rgba(217,179,106,.45);background:transparent;color:var(--hpv-gold-soft);font-size:12.5px;font-weight:600;cursor:pointer}

.hpv-chapter.hpv-legacy{margin:0;padding:52px 20px 0;border-top:0;gap:0}
.hpv-group-title{margin:18px 0 8px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--hpv-muted)}
.hpv-legacy .hpv-people{display:flex;flex-direction:column;gap:0}
.hpv-legacy .hpv-person{flex-direction:row;align-items:center;gap:14px;text-align:left;padding:10px 0;border-radius:0;border-bottom:1px solid var(--hpv-line);color:inherit;font:inherit;cursor:default}
.hpv-legacy button.hpv-person{cursor:pointer}
.hpv-legacy .hpv-person-avatar{width:46px;height:46px;flex:none;font-size:15px}
.hpv-person-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.hpv-legacy .hpv-person-name{font-size:15px}
.hpv-legacy .hpv-person-rel{font-size:12px}
.hpv-person-go{font-size:22px;color:var(--hpv-gold-soft)}

.hpv-archive-sources{display:flex;flex-direction:column;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.hpv-archive-sources li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13px;line-height:1.4}
.hpv-archive-sources a{color:var(--hpv-soft);text-decoration:underline;text-decoration-color:rgba(188,214,244,.35);text-underline-offset:3px}
.hpv-archive-sources a:hover{color:var(--hpv-text)}
.hpv-archive-tier{font-size:11px;color:var(--hpv-muted)}
.hpv-chapter--fuentes .hpv-legend{margin:18px 0 0;padding:0;border:0;font-size:12px;color:var(--hpv-muted)}
.hpv-chapter--fuentes~.hpv-footnote,.hpv-inner>.hpv-footnote{margin-top:22px}

@media (min-width:760px){
  .hpv-cartela{margin:30px 24px 0;padding:24px 26px 18px}
  .hpv-chapter,.hpv-chapter.hpv-legacy{padding-left:24px;padding-right:24px}
}
