.character-entry{display:flex;flex-direction:column;min-width:0}.character-entry>.entry-copy{width:100%;flex:1;display:flex;flex-direction:column;align-items:start}.character-photo{width:100%;aspect-ratio:1/1;background:#17242e;overflow:hidden;flex-shrink:0}.character-photo img{width:100%;height:100%;display:block;object-fit:contain}.character-photo-empty{background:linear-gradient(145deg,#1c2b35,#14212a);border-bottom:1px solid var(--line)}.character-photo-detail{aspect-ratio:auto;min-height:160px;max-height:65vh;background:#101a22}.character-photo-detail img{width:100%;height:auto;max-height:65vh;object-fit:contain}.character-entry .badge{white-space:normal;line-height:1.7;text-align:left}.character-entry h3{font-size:18px}.character-entry .character-facts{font-size:11px;color:#c5ad7b;line-height:1.8;margin-bottom:9px}.character-entry .character-summary{font-size:12px;line-height:1.9;margin-bottom:18px}.character-more{font-size:11px;color:var(--gold);margin-top:auto}.profile-dialog{position:fixed}.profile-body .profile-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-meta>div:last-child{grid-column:1/-1}.profile-meta dd{overflow-wrap:anywhere}@media(max-width:720px){#character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.character-entry .entry-copy{padding:15px}.character-entry h3{font-size:16px}.character-entry .badge{font-size:9px}.character-entry .character-summary{font-size:11px}.profile-body .profile-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){#character-grid{grid-template-columns:1fr}}
.student-filters{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 18px;padding:14px 0 14px 16px;border-left:2px solid var(--gold);background:#c5ad7b06}.student-filters[hidden]{display:none}.student-filters button{font:inherit;font-size:12px;color:var(--muted);background:transparent;border:1px solid var(--line);padding:6px 17px;cursor:pointer}.student-filters button:hover{border-color:#c5ad7b80;color:var(--white)}.student-filters button[aria-pressed=true]{color:var(--gold);border-color:#c5ad7b99;background:#c5ad7b15}.character-entry .character-ability{font-size:11px;color:#b8c9d1;line-height:1.9;border-top:1px solid var(--line);padding-top:12px;margin-bottom:18px}.character-entry .character-more{padding-top:2px}
