/* Artists wear their own covers (2026-11-25, WOW round 3).
 *
 * artist.php and artists.php add the classes below only when an artist has real artwork and the client is not a Sofa
 * Box, so this sheet does nothing on its own. Loaded after artist.css by those two pages only.
 *   .artist-hero.has-cover     the hero carries a soft wash of the artist's first cover (--artist-hero-cover)
 *   .artist-avatar.has-covers  the avatar shape holds one cover, or four as a 2x2 mosaic (.covers-4)
 *   .tile-mark.has-cover       a hosted directory tile shows a cover; the initial stays underneath as the fallback
 * The hero's cover address starts with "/": a url() inside a custom property is resolved from this file's folder.
 */
.artist-hero.has-cover::before{content:"";position:absolute;z-index:0;inset:-14%;pointer-events:none;
  background:var(--artist-hero-cover) center/cover no-repeat;filter:blur(48px) saturate(1.3);opacity:.36;
  -webkit-mask:linear-gradient(90deg,transparent 22%,#000 82%);mask:linear-gradient(90deg,transparent 22%,#000 82%)}
.artist-hero.has-cover .artist-hero-copy{position:relative;z-index:1}

.artist-avatar.has-covers{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;place-items:stretch;overflow:hidden;
  box-shadow:0 26px 70px -24px color-mix(in srgb,var(--a1) 70%,transparent),0 0 0 6px color-mix(in srgb,var(--a2) 10%,transparent)}
.artist-avatar.has-covers img{position:relative;z-index:1;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}
.artist-avatar.has-covers.covers-1 img{grid-area:1/1/3/3}
.artist-avatar.has-covers span{position:absolute;z-index:0;inset:0;display:grid;place-items:center}
.artist-avatar.has-covers i,.artist-avatar.has-covers b{z-index:3}
.artist-avatar.has-covers::after{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;
  background:linear-gradient(135deg,color-mix(in srgb,var(--a2) 26%,transparent),transparent 42%,color-mix(in srgb,var(--a1) 24%,transparent));
  box-shadow:inset 0 0 44px rgba(0,0,0,.34)}

.artist-directory .tile-mark.has-cover{color:transparent}
.artist-directory .tile-mark.has-cover img{position:absolute;z-index:1;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.artist-directory .tile-mark.has-cover::before{display:none}
