/* History catalogue only. Original artwork, site branding and game code are preserved. */
body.pv .nlab-history-count { margin: 2px 0 12px; padding: 10px 12px; border: 1px solid #69cce9; border-radius: 9px; color: #06214a; background: #e9fbff; }
body.pv .nlab-history-count h2 { margin: 0; font-size: clamp(18px, 2.2vw, 27px); line-height: 1.4; overflow-wrap: anywhere; }
body.pv .nlab-history-count p { margin: 3px 0 0; font-size: 13px; line-height: 1.5; }
body.pv .pv-hcard { min-width: 0; }
body.pv .pv-hcard > img { display: block; width: 100%; height: auto !important; aspect-ratio: 3 / 2 !important; flex: none; object-fit: contain !important; object-position: center !important; background: #e9f7ff; }
body.pv .pv-hcard .cap { min-width: 0; }
body.pv .pv-hcard b { overflow-wrap: anywhere; word-break: normal; }
body.pv .pv-hcard .go { white-space: normal; text-align: center; line-height: 1.35; }
@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; }
  body.pv .pv-hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.pv .pv-hcard { display: flex; flex-direction: column; }
  body.pv .pv-hcard > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3 !important; flex: none; }
  body.pv .pv-hcard .cap { padding: 8px; flex: 1; }
  body.pv .pv-hcard b { font-size: 14px; line-height: 1.4; }
  body.pv .pv-hcard small { font-size: 11px; line-height: 1.5; -webkit-line-clamp: 3; }
  body.pv .pv-hcard .go { min-height: 44px; height: auto; margin: 0 6px 7px; padding: 5px; flex: none; font-size: 12px; }
  body.pv .pv-hcard .go img { flex: none; }
}

/* 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}
}

/* v20261109: nav label wrap fix */
body.pv .pv-nav a{white-space:nowrap}
body.pv .pv-nav a span,body.pv .pv-nav a b{white-space:nowrap}
