.home-feed-media{min-width:0;margin:12px 0}
.home-feed-media .feed-media-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.home-feed-media .feed-media-cards>a:only-child{grid-column:1/-1;max-width:360px}
.home-feed-media .feed-media-photo,.home-feed-media .direct-upload-photo{display:block;overflow:hidden;margin:0;border-radius:14px;background:var(--soft,#eef0f8);aspect-ratio:4/3;cursor:zoom-in}
.home-feed-media .feed-media-photo img,.home-feed-media .direct-upload-photo img{display:block!important;width:100%!important;height:100%!important;max-height:220px!important;object-fit:cover!important;border-radius:0!important}
.home-feed-media .feed-media-video,.home-feed-media .direct-upload-video,.home-feed-media .feed-media-row,.home-feed-media .direct-upload-file{grid-column:1/-1;min-width:0}
.home-feed-media video{display:block;width:100%;max-height:220px;object-fit:contain}
.nova-home-media-viewer{position:fixed;inset:0;margin:auto;padding:52px 16px 16px;border:0;border-radius:16px;width:min(1200px,96vw);max-width:96vw;max-height:94vh;max-height:94dvh;box-sizing:border-box;background:#10121bea;color:#fff;box-shadow:0 20px 80px #0008;overflow:auto;overscroll-behavior:contain}
.nova-home-media-viewer::backdrop{background:#080a12d9}
.nova-home-media-viewer img{display:block;margin:auto;max-width:100%;max-height:calc(90vh - 90px);max-height:calc(90dvh - 90px);width:auto;height:auto;object-fit:contain;cursor:zoom-in}
.nova-home-media-viewer[data-zoomed] img{max-width:none;max-height:none;cursor:zoom-out}
.nova-home-media-close{position:sticky;top:0;float:right;z-index:1;display:grid;place-items:center;width:44px;height:44px;margin:-46px -8px 2px 0;border:1px solid #ffffff66;border-radius:50%;background:#232638;color:#fff;font:32px/1 system-ui;cursor:pointer}
.nova-home-media-close:focus-visible{outline:3px solid #b6a1ff;outline-offset:3px}
.nova-home-media-viewer figcaption{margin-top:12px;text-align:center;font:14px/1.5 system-ui;overflow-wrap:anywhere}
@media(max-width:480px){.home-feed-media .feed-media-photo img,.home-feed-media .direct-upload-photo img{max-height:180px!important}}
