/* Black Ops 1-style compact character profiles and directories (bo1-style-pages.mjs). */
.bo1-profile h1{margin-bottom:14px}
.bp-card{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:0;border:1px solid var(--line,#ffffff26);background:var(--surface);border-radius:6px;overflow:hidden;margin:6px 0 26px}
.bp-picture{display:flex;align-items:center;justify-content:center;min-height:260px;max-height:360px;background:radial-gradient(ellipse at center,#ffffff22,#00000055);overflow:hidden}
.bp-picture img{display:block;width:100%;height:100%;max-height:340px;object-fit:contain;padding:14px;margin:0;border:0;box-shadow:none;background:none}
.bp-picture img.audit-framed-image{-webkit-mask-image:none!important;mask-image:none!important}
.bp-body{padding:18px 20px 16px;min-width:0}
.bp-body small{display:block;color:var(--accent);font-size:12px;letter-spacing:.5px;text-transform:uppercase;line-height:1.45;margin-bottom:8px}
.bp-summary{font-size:17px;line-height:1.6;margin:0 0 12px}
.bp-facts{margin:0 0 12px;padding-left:18px;font-size:15px;line-height:1.55}
.bp-facts li{margin:5px 0;scroll-margin-top:90px}
.bp-facts strong{color:var(--accent)}
.bp-spoiler{font-size:13px;color:var(--secondary,var(--accent));margin:8px 0 4px}
.bp-meta{font-size:12px;color:var(--muted,#b9bec4);line-height:1.5;margin:8px 0 0}
.bp-body span[id]{display:block;scroll-margin-top:90px}
.bo1-profile #battle-teams{margin:10px 0 26px}
.bp-related{margin:24px 0 10px}
.bp-related>h2{font-size:20px;padding-bottom:8px;margin-bottom:12px;border-bottom:2px solid color-mix(in srgb,var(--accent) 45%,transparent)}
.bp-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,128px),1fr));gap:10px}
.bp-related-card{display:flex;flex-direction:column;border:1px solid var(--line,#ffffff26);background:var(--surface);border-radius:6px;overflow:hidden;color:inherit;text-decoration:none}
.bp-related-card:hover{border-color:var(--accent);text-decoration:none}
.bp-related-picture{height:110px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#ffffff22,#00000055)}
.bp-related-picture img{width:100%;height:100%;object-fit:contain;padding:8px;margin:0;border:0;box-shadow:none;background:none}
.bp-related-picture img.audit-framed-image{-webkit-mask-image:none!important;mask-image:none!important}
.bp-related-card strong{font-size:14px;padding:8px 9px 2px;line-height:1.3}
.bp-related-card span:last-child{font-size:12px;color:var(--muted,#b9bec4);padding:0 9px 9px;line-height:1.4}
.bp-back{margin:14px 0;font-weight:700}
.bo1-directory .cx-card .cx-meta a{white-space:nowrap}
.bo1-directory .cx-picture img{transition:transform .15s}
.bo1-directory .cx-picture:hover img{transform:scale(1.04)}
@media(max-width:700px){
 .bp-card{grid-template-columns:1fr}
 .bp-picture{min-height:0;height:240px}
 .bp-body{padding:14px}
 .bp-summary{font-size:16px}
 .bp-facts{font-size:14px}
 .bp-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .bp-related-picture{height:90px}
}
.bo1-tm{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none;white-space:nowrap}
.bo1-tm img{width:28px;height:28px;object-fit:contain;image-rendering:pixelated;margin:0;border:0;box-shadow:none;background:none;flex:none}
.bo1-tm:hover span{text-decoration:underline}
.bo1-glance{margin:18px 0 26px}
.bo1-glance .cx-grid.items{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr))}
.bo1-glance-more{margin:12px 0 0;font-weight:700}
@media(max-width:700px){
 table:has(.bo1-tm){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .bo1-tm{gap:5px}
 .bo1-tm img{width:22px;height:22px}
}
.bo1-guide-picture{margin:16px 0 22px;max-width:640px}
.bo1-guide-picture img{width:100%;height:auto;max-height:360px;object-fit:contain;display:block}
.bo1-guide-picture figcaption{font-size:13px;color:var(--muted,#b9bec4);margin-top:6px;line-height:1.5}
.bo1-cover-strip{margin:26px 0}
.bo1-cover-strip h2{font-size:20px;margin:0 0 12px}
.bo1-cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,130px),1fr));gap:12px}
.bo1-cover-grid a{display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none;font-size:13px;line-height:1.35}
.bo1-cover-grid img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#00000033;border:1px solid var(--line,#ffffff26);border-radius:4px;margin:0}
.bo1-cover-grid a:hover span{text-decoration:underline}
.bo1-row-sprite{image-rendering:pixelated;object-fit:contain}
.bo1-guide-strip{margin:16px 0 24px}
.bo1-guide-strip h2{font-size:20px;margin:0 0 12px}
.bo1-guide-strip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:12px}
.bo1-guide-strip-grid a{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line,#ffffff26);background:var(--surface);border-radius:6px;overflow:hidden;color:inherit;text-decoration:none;font-size:13px;line-height:1.35}
.bo1-guide-strip-grid a:hover{border-color:var(--accent)}
.bo1-guide-strip-grid img{width:100%;height:120px;object-fit:contain;margin:0;border:0;box-shadow:none;background:#00000033}
.bo1-guide-strip-grid a.bo1-strip-sprite img{object-fit:contain;padding:22px;image-rendering:pixelated;background:radial-gradient(ellipse at center,#ffffff22,#00000055)}
.bo1-guide-strip-grid span{padding:0 9px 9px}
@media(max-width:700px){.bo1-guide-strip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bo1-guide-strip-grid img{height:100px}}
.bo1-guide-strip-grid a.bo1-strip-card img{object-fit:contain;padding:8px;background:radial-gradient(ellipse at center,#ffffff22,#00000055)}
