/* Private DIPS documents share the website card and list templates. */
body .gallery[data-photo-cards] .gallery-view:not([data-thumbnail-size=list]) .dips-file-card,body .gallery[data-photo-cards] .gallery-view:not([data-thumbnail-size=list]) .dips-file-card:is(:hover,:active,.selected,:focus-within){background-image:linear-gradient(135deg,#176dd857,#288be552 25%,#f39f394d 50%,#f0643852 75%,#c4442752)}
body .gallery[data-photo-cards] .gallery-view:not([data-thumbnail-size=list]) .dips-file-card>.preview{inset:.5rem;width:calc(100% - 1rem);height:calc(100% - 1rem);border-radius:.3rem}
body .gallery[data-photo-cards] .dips-file-card [data-dips-name]{display:flex;align-items:center;justify-content:flex-start;gap:0;max-width:100%;min-width:0;padding:0;margin:0;font-size:.9rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-align:left;color:inherit;background:none}
body .gallery[data-photo-cards] .gallery-view[data-thumbnail-size=list] .dips-file-card [data-dips-name]{font-size:inherit}
body .gallery[data-photo-cards] .dips-file-card .photo-name-extension{flex:none}
body .gallery[data-photo-cards] .dips-file-card.name-editing .photo-name-stem{visibility:hidden}
body .gallery[data-photo-cards] .dips-file-card .dips-name-input{background:transparent!important}
