.character-profile {width:min(720px,calc(100vw - 32px));max-height:88vh;overflow:auto;box-sizing:border-box;padding:24px;border:1px solid var(--line,#51465f);border-radius:14px;background:var(--bg,#191623);color:var(--text,#eee);box-shadow:0 24px 90px #0009;}
.character-profile::backdrop {background:#080610bb;}
.character-profile header {display:flex;align-items:center;justify-content:space-between;gap:20px;}
.character-profile h2 {margin:0;font-size:24px;}
.character-profile p {line-height:1.6;white-space:pre-wrap;}
.character-profile-identity {margin:16px 0 24px;}
.character-profile-identity .jn-ava {float:left;margin:0 18px 12px 0;}
.character-profile label {display:block;font-size:18px;font-weight:600;clear:both;}
.character-profile textarea {width:100%;box-sizing:border-box;min-height:190px;line-height:1.65;resize:vertical;}
.character-profile-actions {display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px;}
.character-profile summary {cursor:pointer;font-weight:600;}
.character-profile-section {border-top:1px solid var(--line,#51465f);padding-top:12px;margin:20px 0;}
.character-profile-section h3,.character-profile-identity h3 {font-size:15px;}
.character-profile-facts {display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;clear:both;}
.character-profile-facts dt {font-weight:600;}
.character-profile-facts dd {margin:0;overflow-wrap:anywhere;}
