/* Second local-review round: small screens, shorter paths, readable archives. */
#primary-nav{gap:clamp(.5rem,1.15vw,1.4rem)}
#primary-nav a{white-space:normal;text-align:center}
.find-family,.recent-stories{max-width:1280px;margin:2rem auto;padding:2rem clamp(1rem,4vw,3rem);background:#f3eddf;border-radius:12px;color:#152945}
.find-family form{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap}
.find-family label{flex:1 1 240px;font-weight:600;display:grid;gap:.5rem}
.find-family input{width:100%;min-height:48px;border:1px solid #697483;border-radius:6px;padding:.7rem;background:#fff;color:#152945;font:inherit}
.find-family h2,.recent-stories h2{margin:0 0 .75rem}.find-family p{margin-top:.8rem}
.polish-paths,.recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;max-width:1280px;margin:2rem auto;padding:0 1rem}
.polish-paths>a,.recent-grid>article{padding:1.5rem;border:1px solid #d5cdbd;border-radius:12px;background:#fffdf7;color:#152945;text-decoration:none;min-width:0}
.polish-paths>a:hover{border-color:#152945;box-shadow:0 4px 16px #15294512}.polish-paths h2{font-size:1.6rem}
.recent-grid{grid-template-columns:1fr 1fr;padding:0}.recent-grid time{font-size:.9rem}.recent-grid h3{font-size:1.45rem;line-height:1.3}.recent-grid a{display:inline-block;padding:.65rem 0}
.gallery-advanced{padding:0 1rem;margin:1rem 0}.gallery-advanced summary{cursor:pointer;min-height:44px;padding:.65rem;font-weight:600}.gallery-advanced .research-tools{margin:0}
[data-page=photos] .community-gallery{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1.25rem}
[data-page=photos] .community-gallery figure{min-width:0;margin:0;background:#fffdf7;border-radius:8px;overflow:hidden}
[data-page=photos] .community-gallery figure>img{width:100%;height:220px;object-fit:contain;background:#e8e1d4}
[data-page=photos] .community-gallery figcaption{padding:1rem}
[data-page=photos] .community-gallery figcaption>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
[data-page=photos] .community-gallery h3{font-size:1.2rem;line-height:1.35;margin:.25rem 0}
[data-page=photos] .research-card-actions{gap:.35rem}.gallery-more-wrap{text-align:center;padding:2rem 1rem}.gallery-more-wrap button{min-height:48px}
.contribution-choices{border:1px solid #b4ad9f;border-radius:8px;padding:1rem}.contribution-choices label{display:flex;gap:.7rem;align-items:center;min-height:48px}.contribution-choices input{width:20px;height:20px}
#contribution-form input[type=radio]{width:20px;min-width:20px;height:20px;min-height:20px;flex:0 0 20px;padding:0;margin:0;appearance:auto}
.episode-page{max-width:1050px;margin:auto;padding:2rem clamp(1rem,4vw,3rem)}.episode-page h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.15;overflow-wrap:anywhere}
.episode-page .recording-card{max-width:850px;margin:2rem auto}.episode-page .recording-card h2{font-size:1.75rem}
.episode-notes{padding:1.5rem 0;border-top:1px solid #d5cdbd}.episode-notes h2{font-size:1.65rem}.episode-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.episode-actions [role=status]{flex-basis:100%}
.resume-controls{display:flex;gap:.5rem;flex-wrap:wrap;margin:.75rem 0}.resume-controls button{min-height:44px;background:#f4ead6;border:1px solid #b8a987;border-radius:6px;padding:.6rem;color:#152945;font:inherit;cursor:pointer}.resume-note{font-size:.85rem;color:#525b67}
.recording-detail-link{display:inline-block;margin:1rem 0;padding:.6rem 0;font-weight:600}
.support-status{padding:1.25rem;background:#f5eddb;border-left:4px solid #ad894b;margin:1rem 0}.support-status h2{font-size:1.35rem}.support-status p:last-child{margin-bottom:0}
.collection-card-source{font-size:.85rem}.collection-search-area{scroll-margin-top:100px}
.identification-prompt{width:100%;max-height:210px;object-fit:contain;margin-top:1rem;background:#e8e1d4;border-radius:6px}.episode-transcript{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}
@media(max-width:1000px){[data-page=photos] .community-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.polish-paths{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.recent-grid,.polish-paths,[data-page=photos] .community-gallery{grid-template-columns:1fr}.find-family,.recent-stories{margin:1rem .75rem;padding:1.25rem}.find-family form>.button{width:100%}[data-page=photos] .community-gallery figure>img{height:240px}.episode-page{padding:1.2rem}.episode-actions>*{max-width:100%}.episode-notes{overflow-wrap:anywhere}}
