/* Scoped to historical biography pages; no game or global brand styles. */
body.pv .pv-profile-left > img { align-self: flex-start; max-width: 100%; height: auto; object-fit: contain; object-position: center; }
body.pv .pv-profile-info h1 { overflow-wrap: anywhere; word-break: normal; }
body.pv .nlab-related-figures { margin: 18px 0 2px; padding: 16px; border: 1px solid #69cce9; border-radius: 10px; color: #06214a; background: #e9fbff; }
body.pv .nlab-related-figures h2 { margin: 0 0 6px; font-size: clamp(18px, 2vw, 24px); line-height: 1.4; }
body.pv .nlab-related-figures p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
body.pv .nlab-related-figures ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
body.pv .nlab-related-figures li { min-width: 0; }
body.pv .nlab-related-figures a { display: flex; align-items: center; min-height: 48px; height: 100%; padding: 10px 12px; border: 1px solid #61c9e5; border-radius: 8px; background: #fff; color: #064675; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
body.pv .nlab-related-figures a:hover { background: #d9f4ff; }
body.pv .nlab-related-figures a:focus-visible { outline: 3px solid #075fc0; outline-offset: 3px; }
@media (min-width: 900px) {
  body.pv .pv-nav a { min-width: 0; white-space: normal; line-height: 1.2; text-align: center; }
  body.pv .pv-nav a span { overflow-wrap: anywhere; }
}
@media (max-width: 899px) {
  body.pv .pv-header .pv-logo { flex-shrink: 1; }
}
@media (max-width: 620px) {
  body.pv .nlab-related-figures { padding: 12px; }
  body.pv .nlab-related-figures ul { grid-template-columns: 1fr; }
}

/* Correct the old desktop count with a page text layer; preserve the original brand artwork. */
@media (min-width:900px){
 body.pv .pv-banner::after{content:"37作品";position:absolute;left:91.3%;top:5.6%;width:7.2%;height:11.6%;display:flex;align-items:center;justify-content:center;background:#06233e;color:#ffe04d;font-family:system-ui,sans-serif;font-size:clamp(10px,1.35vw,26px);font-weight:900;line-height:1;letter-spacing:0;white-space:nowrap;border-radius:2px;pointer-events:none}
}

/* related blades (2026-11-10) */
.nlab-related-blades { margin: 18px 0 2px; padding: 16px; border: 1px solid #d8b25c; border-radius: 10px; color: #4a3805; background: #fff8e6; }
.nlab-related-blades h2 { margin: 0 0 6px; font-size: clamp(18px, 2vw, 24px); line-height: 1.4; }
.nlab-related-blades p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.nlab-related-blades ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.nlab-related-blades li { min-width: 0; }
.nlab-related-blades a { display: flex; align-items: center; min-height: 48px; height: 100%; padding: 10px 12px; border: 1px solid #dcbc72; border-radius: 8px; background: #fff; color: #7a5200; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.nlab-related-blades a:hover { background: #fdf0cd; }
.nlab-related-blades a:focus-visible { outline: 3px solid #a87b00; outline-offset: 3px; }
@media (max-width: 640px) { .nlab-related-blades ul { grid-template-columns: 1fr; } }
