/* Companion to club-emblem-relief-v1.css; only the crest within the manifesto. */
@supports (transform-style:preserve-3d) {
  .club-manifesto .manifesto-crest .crest-semantic-v2 > img { opacity:0 }
  .club-manifesto .manifesto-crest .crest-semantic-v2 {
    --crest-depth:url("./club-emblem-semantic-depth-v2.png");
    transform-style:preserve-3d;
  }
  .club-manifesto .manifesto-crest .crest-semantic-v2 .crest-relief-edge:nth-child(1) { --crest-z:-14px }
  .club-manifesto .manifesto-crest .crest-semantic-v2 .crest-relief-edge:nth-child(2) { --crest-z:-11.2px }
  .club-manifesto .manifesto-crest .crest-semantic-v2 .crest-relief-edge:nth-child(3) { --crest-z:-8.4px }
  .club-manifesto .manifesto-crest .crest-semantic-v2 .crest-relief-edge:nth-child(4) { --crest-z:-5.6px }
  .club-manifesto .manifesto-crest .crest-semantic-v2 .crest-relief-edge:nth-child(5) { --crest-z:-2.8px }
  .club-manifesto .manifesto-crest .crest-feature-v2,
  .club-manifesto .manifesto-crest .crest-feature-v2 > span {
    position:absolute;inset:0;display:block;pointer-events:none;
  }
  .club-manifesto .manifesto-crest .crest-feature-v2 { transform-style:preserve-3d;transform:translateZ(var(--feature-z)) }
  .club-manifesto .manifesto-crest .crest-feature-v2--slab {
    --feature-z:0px;
    background:url("./club-emblem-slab-v2.svg") center/100% 100% no-repeat;
  }
  .club-manifesto .manifesto-crest .crest-feature-v2--letters {
    --feature-z:7px;--feature-side:-3.8px;
    --feature-image:url("./club-emblem-letters-v2.svg");
    --feature-rim:url("./club-emblem-letters-rim-v2.webp");
  }
  .club-manifesto .manifesto-crest .crest-feature-v2--city {
    --feature-z:12px;--feature-side:-5px;
    --feature-image:url("./club-emblem-city-v2.svg");
    --feature-rim:url("./club-emblem-city-rim-v2.webp");
  }
  .club-manifesto .manifesto-crest .crest-feature-v2--letters::before,
  .club-manifesto .manifesto-crest .crest-feature-v2--city::before {
    content:"";position:absolute;inset:0;
    -webkit-mask:var(--feature-image) center/100% 100% no-repeat;
    mask:var(--feature-image) center/100% 100% no-repeat;
    transform:translateZ(var(--feature-side));background:#17271a;
  }
  .club-manifesto .manifesto-crest .crest-feature-v2__face {
    background:var(--feature-image) center/100% 100% no-repeat;
    filter:drop-shadow(0 1.2px 1px #08150cb0);
  }
  .club-manifesto .manifesto-crest .crest-feature-v2__rim {
    background:var(--feature-rim) center/100% 100% no-repeat;
    transform:translateZ(.3px);opacity:.6;
  }
  .club-manifesto .manifesto-crest .crest-feature-v2--ball {
    --feature-z:9.8px;
  }
  .club-manifesto .manifesto-crest .crest-feature-v2__ball-window {
    clip-path:ellipse(24.518% 17.1291% at 49.932% 65.2047%);
    background:radial-gradient(ellipse at 49.932% 65.2047%,#fff 0 30%,#e8e7df 100%);
  }
  .club-manifesto .manifesto-crest .crest-feature-v2__ball-spin {
    position:absolute;inset:0;
    background:url("./club-emblem-ball-v2.svg") center/100% 100% no-repeat;
    transform-origin:49.932% 65.2047%;
    animation:crest-ball-seam-spin-v2 28s linear infinite;
    animation-play-state:paused;
  }
  .club-manifesto .manifesto-crest .crest-feature-v2__ball-window::after {
    content:"";position:absolute;inset:0;pointer-events:none;
    background:
      radial-gradient(ellipse 22% 16% at 43% 60%,#fff3 0,transparent 61%),
      radial-gradient(ellipse 25% 18% at 46.5% 62.3%,transparent 53%,#07190d24 83%,#05140b65);
  }
  .club-manifesto .manifesto-crest.crest-running .crest-feature-v2__ball-spin { animation-play-state:running }
  .club-manifesto .manifesto-crest .crest-semantic-v2 .crest-relief-sheen {
    transform:translateZ(12.5px);mix-blend-mode:screen;
    animation-name:crest-semantic-sheen-v2;
  }
}
@keyframes crest-ball-seam-spin-v2 { to { transform:rotateZ(360deg) } }
@keyframes crest-semantic-sheen-v2 {
  0%,19%,73%,100% { opacity:0 }
  20% { opacity:0;background-position:100% center }
  34%,49% { opacity:.13 }
  68% { opacity:0;background-position:0% center }
}
@media(prefers-reduced-motion:reduce) {
  .club-manifesto .manifesto-crest .crest-feature-v2__ball-spin { animation:none!important }
}
