.encyclopedia-page { min-width: 0; }
.encyclopedia-meta,.encyclopedia-count { font: .86rem/1.6 Arial,sans-serif; color: #655435; }
.encyclopedia-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; padding: 1.2rem; border: 1px solid #aa956b; border-radius: 5px; background: rgba(255,251,236,.48); }
.encyclopedia-filters label { display: block; font-weight: bold; margin-bottom: .4rem; }
.encyclopedia-filters input[type=search],.encyclopedia-filters select { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #97835d; border-radius: 3px; background: #fffaf0; color: #171626; padding: .65rem; font: inherit; }
.encyclopedia-query,#encyclopedia-help,.encyclopedia-actions { grid-column: 1/-1; }
#encyclopedia-help { margin: 0; font-size: .88rem; line-height: 1.6; }
.encyclopedia-actions { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.encyclopedia-note { padding: .75rem 0; font-size: .9rem; line-height: 1.6; border-top: 1px solid #bba67c; border-bottom: 1px solid #bba67c; }
.encyclopedia-note summary,.encyclopedia-sources summary { cursor: pointer; color: #080755; font-weight: bold; }
.encyclopedia-alphabet { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0; }
.encyclopedia-alphabet a { border: 1px solid #c2ac80; padding: .25rem .5rem; }
.encyclopedia-alphabet a[aria-current] { background: #09075d; color: #fff2ad; }
.encyclopedia-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.5rem; }
.encyclopedia-list li { padding: .8rem 0; border-bottom: 1px solid #d4c29e; min-width: 0; overflow-wrap: anywhere; }
.encyclopedia-list a { color: #080755; font-weight: bold; }
.encyclopedia-list small { display: block; margin-top: .25rem; font: .74rem/1.5 Arial,sans-serif; color: #665738; }
.encyclopedia-entry h2 { margin-top: 1.6rem; }
.encyclopedia-original,.encyclopedia-continuation { border-top: 1px solid #bba67c; padding: .7rem 0; line-height: 1.8; overflow-wrap: anywhere; }
.encyclopedia-entry h3 { color: #080755; font-size: 1.06rem; line-height: 1.6; }
.encyclopedia-aliases { color: #655435; font-size: .92rem; }
.encyclopedia-sources { font-size: .84rem; }
.encyclopedia-locked { border: 1px solid #bba67c; padding: 1rem; }
@media(max-width:600px){.encyclopedia-filters,.encyclopedia-list{grid-template-columns:1fr}.encyclopedia-filters{padding:.9rem}.encyclopedia-page h1{font-size:1.8rem}}
