.shared-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.shared-gallery-grid:has(>:only-child){grid-template-columns:minmax(0,520px);justify-content:center}.shared-gallery-grid:has(>:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto}.shared-gallery-grid.shared-gallery-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.shared-gallery-thumb{aspect-ratio:4/3;cursor:zoom-in;background:var(--color-surface-muted);border:0;border-radius:16px;width:100%;margin:0;padding:0;line-height:0;display:block;position:relative;overflow:hidden}.shared-gallery-image{object-fit:cover;border-radius:16px;width:100%;height:100%;display:block}.shared-gallery-thumb[data-fallback] .shared-gallery-image{aspect-ratio:4/3;object-fit:contain;padding:30px}.shared-gallery-hover{pointer-events:none;background:#0000001a;border-radius:12px;position:absolute;inset:0}.shared-gallery-thumb:focus-visible{outline:2px solid var(--color-text-primary);outline-offset:4px}.shared-gallery-play{color:#fff;filter:drop-shadow(0 2px 8px #0008);pointer-events:none;place-content:center;display:grid;position:absolute;inset:0}.shared-gallery-dialog{color:#fff;background:0 0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.shared-gallery-dialog::backdrop{background:0 0}body:has(.shared-gallery-dialog[open]){overflow:hidden}.shared-gallery-modal{position:fixed;inset:0}.shared-gallery-backdrop{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#000c;position:absolute;inset:0}.shared-gallery-stage{justify-content:center;align-items:center;padding:76px 24px 90px;display:flex;position:absolute;inset:0}.shared-gallery-content{flex-direction:column;align-items:center;max-width:95vw;min-height:0;max-height:100%;display:flex;position:relative}.shared-gallery-expanded{object-fit:contain;cursor:zoom-out;border-radius:12px;width:auto;max-width:min(95vw,1400px);height:auto;max-height:calc(100dvh - 250px);display:block;box-shadow:0 24px 90px #0006}.shared-gallery-logo{aspect-ratio:4/3;background:var(--color-surface-muted);width:min(650px,80vw);padding:44px}.shared-gallery-video-frame{border-radius:12px;width:min(1000px,90vw);min-height:0;overflow:hidden}.shared-gallery-video-frame video{object-fit:contain;background:#000;width:100%;max-height:calc(100dvh - 250px);display:block}.shared-gallery-details{text-align:center;max-width:760px;margin-top:20px;padding-inline:16px;line-height:1.6}.shared-gallery-details h2{color:#fff;overflow-wrap:anywhere;margin:0;font-size:clamp(16px,2vw,21px);font-weight:650}.shared-gallery-details p{color:#ffffffb3;white-space:pre-line;max-height:80px;margin:7px 0 0;font-size:14px;overflow-y:auto}.shared-gallery-close,.shared-gallery-navigation button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff1a;border:1px solid #ffffff24;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;transition:background .2s;display:grid}.shared-gallery-close{position:absolute;top:24px;right:24px}.shared-gallery-close:hover,.shared-gallery-navigation button:hover{background:#ffffff30}.shared-gallery-navigation{align-items:center;gap:22px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.shared-gallery-navigation span{text-align:center;color:#ffffffb3;font-variant-numeric:tabular-nums;min-width:52px;font-size:12px}.shared-gallery-navigation button:disabled{opacity:.3;cursor:default}.shared-gallery-dialog button:focus-visible{outline-offset:4px;outline:2px solid #fff}@media (max-width:1023px){.shared-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.shared-gallery-grid,.shared-gallery-grid.shared-gallery-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.shared-gallery-grid,.shared-gallery-grid.shared-gallery-compact{grid-template-columns:minmax(0,1fr)}.shared-gallery-grid:has(>:nth-child(2):last-child){grid-template-columns:minmax(0,1fr)}.shared-gallery-stage{padding:70px 12px 84px}.shared-gallery-expanded{max-width:94vw;max-height:calc(100dvh - 245px)}.shared-gallery-close{top:16px;right:16px}.shared-gallery-navigation{bottom:16px}.shared-gallery-details{margin-top:16px}}@media (prefers-reduced-motion:reduce){.shared-gallery-dialog button{transition:none}}
