.character-pages { width:min(780px,calc(100% - 40px)); margin:0 auto; padding:40px 0 64px; color:var(--site-color-text); font:16px/1.7 Inter,sans-serif; }
.character-pages h1,.character-pages h2 { color:var(--site-color-heading); font-family:Lora,Georgia,serif; font-weight:500; line-height:1.25; letter-spacing:-.02em; }
.character-pages h1 { font-size:clamp(30px,5vw,44px); margin:0 0 22px; }
.character-pages h2 { font-size:27px; margin:0 0 18px; }
.character-pages h3 { font:600 18px/1.4 Inter,sans-serif; margin:0 0 8px; color:var(--site-color-heading); }
.character-pages p { margin:0 0 18px; }
.character-pages a { color:var(--site-color-accent-text); text-decoration:underline; text-underline-offset:3px; }
.character-pages a:focus-visible { outline:3px solid var(--site-color-focus); outline-offset:4px; }
.character-page-hero { max-width:700px; margin:0 auto 40px; text-align:center; }
.character-page-hero > p:last-child { font-size:18px; }
.character-pages .character-eyebrow { color:var(--site-color-accent-text); font:600 12px/1.5 Inter,sans-serif; letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; }
.character-page-section { padding:32px 0; border-top:1px solid var(--site-color-border); }
.character-collection-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:20px; }
.character-page-card { padding:28px; border:1px solid var(--site-color-border); border-radius:14px; background:var(--site-color-surface); }
.character-pages .character-page-action { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 20px; margin-bottom:14px; background:var(--site-color-accent-primary); color:var(--site-color-on-accent); border-radius:9px; text-decoration:none; font-weight:600; line-height:1.4; }
.character-pages .character-page-action:hover { background:var(--site-color-accent-hover); }
.character-profile-grid { display:grid; gap:20px; }
.character-profile-card { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:start; gap:20px; padding:24px; border:1px solid var(--site-color-border); border-radius:14px; background:var(--site-color-surface); }
.character-profile-card img { width:80px; height:80px; object-fit:cover; border-radius:12px; }
.character-profile-card p { margin:0 0 10px; }
.character-actor,.character-pages .character-caution { color:var(--site-color-muted); font-size:14px; overflow-wrap:anywhere; }
.character-bio-hero { display:grid; grid-template-columns:180px minmax(0,1fr); gap:28px; margin-bottom:38px; align-items:start; }
.character-bio-hero img { width:100%; height:auto; border-radius:14px; }
.character-trait-row { padding:20px 0; border-bottom:1px solid var(--site-color-border); }
.character-trait-endpoints { display:flex; justify-content:space-between; align-items:start; gap:18px; font-size:14px; line-height:1.5; }
.character-trait-endpoints span { flex:1; }
.character-trait-endpoints span:last-child { text-align:right; }
.character-trait-row meter { display:block; width:100%; height:16px; margin-top:12px; accent-color:var(--site-color-accent-primary); }
.character-methods dt { color:var(--site-color-heading); font-weight:600; margin-top:24px; }
.character-methods dd { margin:8px 0 20px; }
.character-question-list { padding-left:24px; }
.character-question-list li { padding:24px 0; border-top:1px solid var(--site-color-border); }
.character-question-list h2 { font-size:23px; }
.character-pages table { width:100%; border-collapse:collapse; font-size:14px; }
.character-pages th,.character-pages td { padding:12px 8px; border-bottom:1px solid var(--site-color-border); text-align:left; }
@media(max-width:480px) { .character-pages { padding-top:28px; } .character-profile-card { grid-template-columns:60px minmax(0,1fr); padding:18px; gap:14px; } .character-profile-card img { width:60px; height:60px; } .character-bio-hero { grid-template-columns:100px minmax(0,1fr); gap:18px; } .character-bio-hero h1 { font-size:28px; } .character-page-card { padding:22px; } }
@media(max-width:600px) {
    .character-profile-card > div,.character-bio-hero > div { display:contents; }
    .character-profile-card { row-gap:8px; }
    .character-profile-card > img { grid-row:1 / 3; }
    .character-profile-card h3,.character-profile-card .character-actor { grid-column:2; margin:0; }
    .character-profile-card p:not(.character-actor) { grid-column:1 / -1; margin:6px 0 0; }
    .character-bio-hero { row-gap:10px; }
    .character-bio-hero > img { grid-row:1 / 4; }
    .character-bio-hero .character-eyebrow,.character-bio-hero h1,.character-bio-hero .character-actor { grid-column:2; margin:0; }
    .character-bio-hero > div > p:last-child { grid-column:1 / -1; margin:10px 0 0; }
}
