#reader:has(.species-gallery){max-width:1160px;width:90%}#reader .species-gallery{text-align:left}#reader .species-gallery h1{font-size:64px;white-space:normal;line-height:1.08;margin:40px 0}#reader .species-gallery h2{font-size:36px;line-height:1.15;margin:0 0 20px}#reader .sg-intro,#reader .sg-scope{max-width:760px;color:var(--muted);line-height:1.7}#reader .sg-scope{font-size:13px;margin-bottom:28px}#reader .sg-scope summary{cursor:pointer}#reader .sg-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:28px 0 32px;align-items:stretch}#reader .sg-group{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;padding:0 0 12px;background:transparent;color:var(--ink);border:0;border-bottom:3px solid transparent;text-align:left;cursor:pointer}#reader .sg-group[aria-pressed=true]{border-color:var(--ink)}#reader .article .sg-group img{display:block;width:100%!important;height:auto!important;aspect-ratio:1.28!important;object-fit:cover;margin:0 0 12px!important}#reader .sg-group span{font-size:13px;line-height:1.4;min-height:2.8em;overflow-wrap:anywhere}#reader .sg-group small{font-size:11px;color:var(--muted);margin-top:5px}#reader .sg-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid var(--line);padding:22px 0;margin-bottom:5px}#reader .sg-count{font-size:13px;color:var(--muted)}#reader .sg-search{border:1px solid var(--line);background:transparent;color:var(--ink);padding:12px;width:245px;max-width:100%}#reader .sg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}#reader .sg-species{margin:0;min-width:0}#reader .sg-photo{display:block;background:#e4e6dc}#reader .article .sg-photo img{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:1.5!important;object-fit:contain;margin:0!important}#reader .sg-family{font-size:10px;letter-spacing:1.4px;color:var(--muted);margin-top:13px}#reader .sg-species h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:26px;line-height:1.15;margin:8px 0}#reader .sg-caption{font-size:13px;line-height:1.6;color:var(--muted)}#reader .sg-empty{padding:24px 0;color:var(--muted)}#reader .sg-dialog{max-width:min(700px,94vw);max-height:90vh;overflow:auto;padding:25px;border:1px solid var(--line);background:var(--paper);color:var(--ink)}#reader .sg-dialog::backdrop{background:#102017bb}#reader .article .sg-dialog img{display:block;width:567px!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain;margin:20px auto!important}#reader .sg-dialog h2{font-size:32px;margin-top:20px}#reader .sg-close{background:transparent;color:var(--ink);border:1px solid var(--ink);padding:9px 15px;cursor:pointer}#reader .sg-dialog-caption{font-size:14px;line-height:1.6;margin-bottom:15px}#reader .sg-original{text-decoration:underline;font-size:13px}.sg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#reader .species-gallery [hidden]{display:none!important}#reader .sg-section{scroll-margin-top:100px;margin-bottom:30px}
@media(max-width:650px){#reader .sg-groups{gap:8px}#reader .sg-group span{font-size:11px;min-height:4.2em}#reader .sg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}#reader .sg-toolbar{flex-wrap:wrap}#reader .sg-search{font-size:16px}#reader .sg-species h3{font-size:23px}}@media(max-width:370px){#reader .sg-grid{grid-template-columns:1fr}}
#reader .sg-dialog{width:fit-content;max-width:96vw;max-height:94vh;padding:20px}#reader .sg-photo-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}#reader .sg-photo-toolbar button{background:transparent;color:var(--ink);border:1px solid var(--ink);padding:9px 15px;cursor:pointer;font:inherit}#reader .sg-photo-toolbar .sg-close{margin-left:auto}#reader .sg-photo-toolbar button:disabled{opacity:.4;cursor:default}#reader .sg-dialog h2{font-size:26px;line-height:1.2;margin:12px 0}#reader .sg-original{display:block;line-height:1.6}#reader .sg-dialog-caption{margin:12px 0;font-size:14px;line-height:1.6}@media(max-width:500px){#reader .sg-dialog{padding:14px}#reader .sg-dialog h2{font-size:23px}}

@media(max-width:600px){#reader .species-gallery h1{font-size:46px}}
