/* Compact homepage previews, with native deep links into the full gallery. */
html body main #gallery-feature.gallery-feature-panel {
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;justify-items:center!important;gap:20px!important;
}
#gallery-feature .gallery-feature-copy {align-self:auto!important;text-align:center;max-width:440px;width:100%;}
#gallery-feature .gallery-preview-icons {display:grid;grid-template-columns:repeat(4,minmax(0,96px));gap:10px;max-width:100%;width:414px;align-self:start;}
#gallery-feature .gallery-preview-icon {display:flex;flex-direction:column;gap:7px;min-width:0;text-decoration:none;color:#fff8d0;text-align:center;border-radius:8px;padding:3px;touch-action:pan-x pinch-zoom;}
#gallery-feature .gallery-preview-icon img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border:1px solid rgba(250,204,21,.45);border-radius:8px;background:#081725;-webkit-user-drag:none;}
#gallery-feature .preview-date {font-size:12px;line-height:1.3;font-weight:650;}
#gallery-feature .gallery-preview-icon:hover img,#gallery-feature .gallery-preview-icon:focus-visible {outline:2px solid #facc15;outline-offset:2px;}
html.gallery-page-html .gallery-card[id] {scroll-margin-top:calc(65px + env(safe-area-inset-top,0px));}
html.gallery-page-html .gallery-card:target {outline:3px solid #facc15;outline-offset:-3px;}
@media(max-width:380px){#gallery-feature .gallery-preview-icons{gap:5px;}#gallery-feature .preview-date{font-size:11px;}}
@media(max-height:500px) and (min-width:600px){html body main #gallery-feature.gallery-feature-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto!important;gap:12px!important;align-items:center!important;}#gallery-feature .gallery-preview-icons{align-self:center;}}
