/* The illustrative figures sit in each scene's light instead of in repeated
   circular photo badges. The soft matte edge keeps the original artwork intact. */
.s3-specimen,
.s3-copy-figure,
.wp-portrait,
.c2-portrait {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.s3-specimen .h-figure-portrait,
.s3-copy-figure .h-figure-portrait,
.wp-portrait > span,
.c2-sheet {
  border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 51% 51% at 50% 53%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 51% 51% at 50% 53%, #000 68%, transparent 100%);
}

.s3-specimen {
  filter: saturate(calc(.45 + .55 * var(--s3-p))) drop-shadow(0 13px 13px #45416e25);
}
.s3-specimen small {
  right: 1px;
  bottom: -6px;
  width: 26px;
  height: 26px;
  border-color: #fff9;
  background: #253e70ed;
  box-shadow: 0 4px 11px #253e7033;
}
.s3-collection-halo {
  border: 0;
  background: radial-gradient(ellipse, #fffdf7b8 0%, #f1e3e07a 40%, transparent 71%);
  box-shadow: none;
}
.s3-copy-figure .h-figure-portrait {
  filter: drop-shadow(0 15px 13px #70466330);
}
.s3-copy-main::after {
  inset: 5%;
  border-color: #728caf91;
}
.s3-copy-main .h-figure-portrait {
  filter: grayscale(calc(1 - var(--s3-owned))) drop-shadow(0 15px 13px #70466330);
}

.wp-portrait::after { display: none; }
.wp-figure-missing .wp-portrait,
.wp-figure-change .wp-portrait {
  border: 0;
  box-shadow: none;
}
.wp-figure-missing .wp-portrait::before {
  position: absolute;
  inset: 5%;
  border: 1px dashed #7192ad8c;
  border-radius: 50%;
  content: "";
}
.wp-figure-change .wp-portrait > span {
  filter: grayscale(calc(1 - var(--wp-acquire))) brightness(calc(1.15 - .15 * var(--wp-acquire))) drop-shadow(0 10px 12px #557aa12b);
}

.c2-portrait::after { display: none; }
.c2-figure-bottom { opacity: var(--c2-reverse-reveal); }
.c2-portrait {
  background: transparent;
}
.c2-sheet {
  background-image: url('/assets/woodland-figures-night.webp');
  -webkit-mask-image: radial-gradient(ellipse 58% 58% at 50% 53%, #000 74%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 58% at 50% 53%, #000 74%, transparent 100%);
}
.c2-figure-wanted .c2-portrait {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.c2-figure-wanted .c2-portrait::before {
  position: absolute;
  inset: 4%;
  border: 1px dashed #d4ddf0a3;
  border-radius: 50%;
  content: "";
}

@media (max-width: 720px) {
  .s3-specimen small { right: 0; bottom: -5px; width: 23px; height: 23px; }
}
