#person-view { display: none; }
body.classic-results #person-view.pv-on { display: block; flex: 0 0 auto; align-self: center; width: min(1240px, calc(100% - 40px)); min-width: 0; margin: 18px auto 10px; box-sizing: border-box; }
body.pv-active #classic-person-extras,
body.classic-results.pv-active #knowledge-panel { display: none !important; }

#person-view {
  --pv-card: color-mix(in srgb, var(--a, #3b82f6) 5%, #fff);
  --pv-ink: #202124;
  --pv-mut: #5b6475;
  --pv-link: var(--a, #2563eb);
  --pv-line: rgba(0, 0, 0, .1);
}
body.dark #person-view {
  --pv-card: color-mix(in srgb, var(--a, #3b82f6) 8%, #1b2030);
  --pv-ink: #e8eaed;
  --pv-mut: #9aa3b5;
  --pv-link: color-mix(in srgb, var(--a, #3b82f6) 60%, #fff);
  --pv-line: rgba(255, 255, 255, .12);
}

.pv { color: var(--pv-ink); font-family: inherit; }
.pv a { color: inherit; text-decoration: none; }
.pv-head { margin-bottom: 14px; }
.pv-name { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; background: none; -webkit-text-fill-color: currentColor; color: var(--pv-ink); }
.pv-sub { margin: 4px 0 0; font-size: 14px; color: var(--pv-mut); }

.pv-media { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: 12px; height: 240px; margin-bottom: 22px; }
.pv-media[hidden] { display: none; }
.pv-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2px; border-radius: 12px; overflow: hidden; min-height: 0; }
.pv-photos.solo { grid-template-columns: 1fr; }
.pv-ph { display: block; overflow: hidden; background: var(--pv-card); min-height: 0; }
.pv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; min-height: 0; }
.pv-hero { height: 100%; }

.pv-post { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--pv-line); background: var(--pv-card); overflow: hidden; min-height: 0; }
.pv-post-img { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.pv-post-text { flex: 1; padding: 14px; font-size: 14px; line-height: 1.5; overflow: hidden; }
.pv-post-meta { display: flex; gap: 10px; align-items: center; padding: 10px 14px; font-size: 13px; line-height: 1.3; color: var(--pv-mut); }
.pv-post-meta b { color: var(--pv-ink); font-weight: 500; }
.pv-ico { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; color: var(--pv-ink); }
.pv-ico svg { width: 100%; height: 100%; }

.pv-statcol { display: grid; grid-template-rows: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; min-height: 0; }
.pv-statrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; }
.pv-stat { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--pv-card); border: 1px solid var(--pv-line); border-top: 3px solid var(--a, #3b82f6); min-height: 0; overflow: hidden; }
.pv-stat-l { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-mut); }
.pv-stat-big { margin-top: auto; font-size: 19px; font-weight: 700; line-height: 1.15; }
.pv-stat-mid { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--pv-ink); }
.pv-stat-s { margin-top: 4px; font-size: 12px; color: var(--pv-mut); }
.pv-party-logo { margin-top: auto; width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; box-sizing: border-box; }
.pv-site { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 10px; background: var(--pv-card); border: 1px solid var(--pv-line); overflow: hidden; }
.pv-site-top { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.pv-site-name { font-size: 15px; color: var(--pv-link); line-height: 1.3; }
.pv-site-url { font-size: 13px; color: var(--pv-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pv-cols { display: block; border-top: 1px solid var(--pv-line); padding-top: 22px; }
.pv-h { margin: 0 0 10px; font-size: 17px; font-weight: 600; font-weight: 400; background: none; -webkit-text-fill-color: currentColor; color: var(--pv-ink); }
.pv-block { margin-bottom: 24px; break-inside: avoid; }
.pv-block[hidden] { display: none; }

.pv-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--pv-line); }
.pv-lead { display: flex; flex-direction: column; gap: 6px; }
.pv-lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-bottom: 8px; background: var(--pv-card); }
.pv-src { font-size: 12px; color: var(--pv-ink); }
.pv-ttl { font-size: 15px; line-height: 1.35; color: var(--pv-link); }
.pv-age { font-size: 12px; color: var(--pv-mut); }
.pv-smalls { display: flex; flex-direction: column; border-left: 1px solid var(--pv-line); padding-left: 18px; }
.pv-small { display: flex; gap: 14px; justify-content: space-between; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--pv-line); }
.pv-small:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pv-small-t { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pv-small img { width: 92px; height: 84px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.pv-headlines { display: flex; flex-direction: column; }
.pv-line { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--pv-line); }
.pv-line .pv-ttl { color: var(--pv-ink); font-size: 15px; }

.pv-said-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pv-said { position: relative; flex: 0 0 230px; height: 200px; border-radius: 18px; overflow: hidden; background: var(--pv-card); display: flex; flex-direction: column; justify-content: flex-end; }
.pv-said img, .pv-said-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-said-fill { background: linear-gradient(160deg, #3b82f6, #0f172a); }
.pv-said::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 60%); }
.pv-said-ttl, .pv-said-by { position: relative; z-index: 1; color: #fff; padding: 0 14px; }
.pv-said-ttl { font-size: 14px; font-weight: 500; line-height: 1.3; }
.pv-said-by { display: flex; align-items: center; gap: 8px; padding: 8px 14px 14px; font-size: 13px; }
.pv-said-by .pv-ico { width: 20px; height: 20px; color: #fff; }

.pv-over { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.pv-over a { color: var(--pv-link); }
.pv-facts { display: flex; flex-direction: column; border-top: 1px solid var(--pv-line); }
.pv-fact { display: flex; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--pv-line); font-size: 14px; line-height: 1.45; }
.pv-fl { flex: 0 0 96px; font-weight: 600; color: var(--pv-mut); }
.pv-fv { flex: 1; min-width: 0; }
.pv-u { text-decoration: underline dotted; text-underline-offset: 3px; }

.pv-profiles { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 6px; }
.pv-prof { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; }
.pv-prof-i { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--pv-line); display: flex; align-items: center; justify-content: center; background: var(--pv-card); }
.pv-prof-i svg { width: 24px; height: 24px; color: var(--pv-ink); }

.pv-rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pv-rel { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.pv-rel img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; margin-bottom: 6px; background: var(--pv-card); }
.pv-rel-n { font-size: 14px; line-height: 1.3; }
.pv-rel-s { font-size: 12px; color: var(--pv-mut); }
.pv-more { display: block; width: 100%; margin-top: 16px; padding: 10px; border: 1px solid var(--pv-line); border-radius: 10px; background: var(--pv-card); color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.pv-more:hover { filter: brightness(1.08); }

@media (max-width: 1100px) {
  .pv-bottom { grid-template-columns: minmax(0, 1fr); }
  .pv-media { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); height: auto; }
  .pv-photos { height: 280px; }
  .pv-post { height: 280px; }
  .pv-statcol { grid-column: 1 / -1; grid-template-rows: auto; }
}
@media (max-width: 640px) {
  body.classic-results #person-view.pv-on { width: calc(100% - 24px); }
  .pv-name { font-size: 30px; }
  .pv-media { grid-template-columns: minmax(0, 1fr); }
  .pv-story-grid { grid-template-columns: minmax(0, 1fr); }
  .pv-smalls { border-left: 0; padding-left: 0; margin-top: 16px; }
  .pv-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-fact { flex-direction: column; gap: 4px; }
  .pv-said { flex-basis: 240px; height: 240px; }
}

.pv-skel { border-radius: 12px; background: var(--pv-card); animation: pvPulse 1.2s ease-in-out infinite; }
@keyframes pvPulse { 50% { opacity: .55; } }
.pv-media { min-height: 240px; }
.pv-media .pv-sk-a { grid-column: 1; }
.pv-sk-story { height: 220px; }
.pv-story-grid:has(.pv-skel) { grid-template-columns: 1fr 1fr; border-bottom: 0; }
.pv-sk-rel { aspect-ratio: 1; border-radius: 14px; }
.pv-over:empty { display: none; }

.pv-ph img, .pv-post-img, .pv-lead img, .pv-small img, .pv-rel img, .pv-said img { transition: transform .35s ease; }
.pv-ph, .pv-post { overflow: hidden; }
.pv-lead img, .pv-small img, .pv-rel img { clip-path: inset(0 round 12px); }
.pv-ph:hover img, .pv-post:hover .pv-post-img, .pv-said:hover img { transform: scale(1.07); }
.pv-lead:hover img, .pv-small:hover img, .pv-rel:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .pv-ph img, .pv-post-img, .pv-lead img, .pv-small img, .pv-rel img, .pv-said img { transition: none; } }

.pv-said { transition: transform .25s ease, box-shadow .25s ease; }
.pv-said:hover, .pv-said:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }
.pv-said::after { transition: background .25s ease; }
.pv-said:hover::after, .pv-said:focus-visible::after { background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .35) 80%); }
.pv-said-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 14px; color: #fff; }
.pv-said-txt .pv-said-ttl { padding: 0; }
.pv-said-desc { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .88); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .25s ease; }
.pv-said:hover .pv-said-desc, .pv-said:focus-visible .pv-said-desc { max-height: 110px; opacity: 1; }
@media (hover: none) { .pv-said-desc { max-height: 52px; opacity: 1; } }

.pv-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pv-bcol { min-width: 0; }
.pv-said-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.pv-said { flex: none; width: auto; }
@media (max-width: 1100px) { .pv-said-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pv-said-row { grid-template-columns: minmax(0, 1fr); } }
.pv-lead img { aspect-ratio: auto; height: 190px; }
.pv-story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
.pv-skel.pv-sk-story { height: 190px; }
@media (max-width: 640px) { .pv-story-grid { grid-template-columns: minmax(0, 1fr); } }

.pv-fold { position: relative; cursor: pointer; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.pv-stat.pv-fold { overflow: visible; }
.pv-site.pv-fold { overflow: visible; }
.pv-post.pv-fold { overflow: hidden; }
.pv-fold-d { display: flex; flex-direction: column; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; font-size: 13px; line-height: 1.45; color: var(--pv-ink); transition: max-height .3s ease, opacity .25s ease, margin .25s ease; }
.pv-dr b { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pv-mut); }
.pv-dr-ico { flex-direction: row; display: flex; gap: 8px; }
.pv-mini { width: 20px; height: 20px; }
.pv-stat.pv-fold:hover, .pv-stat.pv-fold:focus-visible, .pv-stat.pv-fold.open,
.pv-site.pv-fold:hover, .pv-site.pv-fold:focus-visible { z-index: 6; background: var(--pv-card); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); border-color: var(--a, #3b82f6); }
.pv-stat.pv-fold:hover .pv-fold-d, .pv-stat.pv-fold:focus-visible .pv-fold-d, .pv-stat.pv-fold.open .pv-fold-d,
.pv-site.pv-fold:hover .pv-fold-d, .pv-site.pv-fold:focus-visible .pv-fold-d { max-height: 260px; opacity: 1; margin-top: 10px; }
.pv-stat.pv-fold:hover .pv-party-logo, .pv-stat.pv-fold.open .pv-party-logo { margin-top: 10px; }
.pv-post-d { padding: 0 14px; font-size: 13px; color: var(--pv-ink); }
.pv-post.pv-fold:hover .pv-post-d, .pv-post.pv-fold:focus-visible .pv-post-d { max-height: 160px; opacity: 1; margin: 0 0 12px; }
@media (hover: none) { .pv-post-d { max-height: 120px; opacity: 1; margin: 0 0 12px; } }

.pv-stat.pv-fold:hover, .pv-stat.pv-fold:focus-visible, .pv-stat.pv-fold.open,
.pv-site.pv-fold:hover, .pv-site.pv-fold:focus-visible { align-self: start; min-height: 100%; height: auto; }
.pv-statrow { position: relative; z-index: 2; }

.pv-photos.nohero { grid-template-columns: 1fr; }
.pv-photos.nohero .pv-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.pv-prof-card { align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--a, #3b82f6) 22%, var(--pv-card)), var(--pv-card)); }
.pv-pc-ico { display: inline-flex; width: 52px; height: 52px; margin-bottom: 6px; color: var(--pv-ink); }
.pv-pc-ico svg { width: 100%; height: 100%; }
.pv-pc-t { font-size: 16px; font-weight: 600; }
.pv-pc-s { font-size: 13px; color: var(--pv-mut); }
.pv-pc-go { margin-top: 10px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--a, #3b82f6); color: #fff; }

.pv-media.c2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.pv-media.c1 { grid-template-columns: minmax(0, 1fr); }
.pv-post-cap { padding: 10px 14px 0; font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pv-post-cap.big { flex: 1; font-size: 16px; line-height: 1.5; -webkit-line-clamp: 8; padding: 18px; }
.pv-post-img { flex: 1 1 0; }
