.char-gallery{margin-top:2rem;scroll-margin-top:1.5rem}.char-gallery-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;align-items:end}.char-gallery-heading h3{font:700 clamp(1.6rem,3vw,2.5rem)/1.15 Georgia,serif;margin:.7rem 0}.char-gallery-heading p{font-size:1rem;line-height:1.7}.char-gallery-tools{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;padding:1rem 0 1.5rem}.char-gallery-tools [role=group]{display:flex;flex-wrap:wrap;gap:.5rem}.char-gallery-tools button,.char-gallery-tools select{min-height:44px;padding:.7rem 1rem;border:1px solid #6b7154;background:#fff8e7;font:700 1rem/1.3 Arial,sans-serif;color:#293e2f;border-radius:3px}.char-gallery-tools button{cursor:pointer}.char-gallery-tools button[aria-pressed=true]{background:#294b35;color:#fff4d1}.char-gallery-tools label{display:flex;align-items:center;gap:.6rem;font-size:1rem;font-weight:700}.char-gallery-tools output{font:700 .9rem/1.4 monospace;color:#53634a}.char-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.char-gallery-card{min-width:0;overflow:hidden;border:1px solid #6a745644;background:#fffaf0;border-radius:.5rem}.char-gallery-card[hidden]{display:none}.char-gallery-card>a{display:block;background:#e9e3d2}.char-gallery-card img{display:block;width:100%;height:280px;object-fit:contain}.char-gallery-card video{display:block;width:100%;height:280px;object-fit:contain;background:#1d2c21}.char-card-copy{padding:1.1rem}.char-card-copy h3{font:700 1.4rem/1.2 Georgia,serif;margin:.65rem 0}.char-card-copy p{font-size:1rem;line-height:1.65;margin:.4rem 0}#char-photo-viewer{width:min(1000px,calc(100% - 2rem));max-height:94dvh;overflow:auto;padding:1.2rem;border:1px solid #8d7952;border-radius:.6rem;background:#fff8e8;color:#203a2c}#char-photo-viewer::backdrop{background:#101b14de}.char-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.char-viewer-head h2{font:700 1.6rem/1.2 Georgia,serif;margin:.5rem 0}.char-viewer-head button,.char-viewer-actions button,.char-viewer-actions a{min-height:44px;padding:.65rem 1rem;border:1px solid #294b35;border-radius:3px;background:#294b35;color:#fff4d1;font:700 1rem/1.2 Arial,sans-serif;cursor:pointer}.char-viewer-actions button:disabled{opacity:.4;cursor:default}#char-photo-image{display:block;width:100%;height:min(65dvh,700px);object-fit:contain;background:#e6e0d1;margin:1rem 0}#char-photo-description{font-size:1rem;line-height:1.6}.char-viewer-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.7rem}.char-viewer-actions a{display:inline-flex;align-items:center;text-decoration:none}#char-photo-count{font:700 .9rem/1.4 monospace;padding:.4rem}.char-gallery :focus-visible,#char-photo-viewer :focus-visible{outline:3px solid #ae4f38;outline-offset:3px}@media(max-width:950px){.char-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.char-gallery-heading,.char-gallery-grid{grid-template-columns:1fr}.char-gallery-heading{gap:0}.char-gallery-tools{align-items:start;flex-direction:column}.char-gallery-tools select{max-width:70vw}.char-gallery-card img,.char-gallery-card video{height:330px}#char-photo-viewer{width:calc(100% - 1rem);padding:.8rem}.char-viewer-head h2{font-size:1.3rem}}
