/* WebPW logo only: the image alpha confines the light to the existing artwork. */
.webpw-logo-shine { position:relative; display:block; }
.webpw-logo-shine > img { display:block; height:auto; }
.webpw-logo-shine--home { --webpw-shine-mask:url('/home-eras/assets/webpw-logo.webp'); }
.webpw-logo-shine--home > img { width:100%; }
.webpw-logo-shine--classic { --webpw-shine-mask:url('/assets/img/webpw-dourada-transparente.png?v=20261030'); width:440px; max-width:100%; }
.webpw-logo-shine--dynasty { --webpw-shine-mask:url('/dinastia/assets/webpw-dinastia-chamas.webp'); }
@supports (mask-image:linear-gradient(#000,#000)) or (-webkit-mask-image:linear-gradient(#000,#000)) {
  .webpw-logo-shine::after {
    content:''; position:absolute; inset:0; pointer-events:none;
    background-image:linear-gradient(112deg,transparent 41%,rgba(255,232,177,.08) 45%,rgba(255,248,221,.72) 48.5%,rgba(255,255,255,.96) 50%,rgba(255,248,221,.72) 51.5%,rgba(255,232,177,.08) 55%,transparent 59%);
    background-size:260% 100%; background-repeat:no-repeat; background-position:120% 0;
    -webkit-mask-image:var(--webpw-shine-mask); mask-image:var(--webpw-shine-mask);
    -webkit-mask-size:100% 100%; mask-size:100% 100%;
    -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
    -webkit-mask-position:center; mask-position:center;
    animation:webpw-logo-light-sweep 6.4s ease-in-out infinite; opacity:0;
  }
}
@keyframes webpw-logo-light-sweep {
  0%,10% { background-position:120% 0; opacity:0; }
  13% { opacity:1; }
  47% { background-position:-20% 0; opacity:1; }
  50%,100% { background-position:-20% 0; opacity:0; }
}
@media(max-width:540px) { .webpw-logo-shine--classic { width:310px; } }
@media(prefers-reduced-motion:reduce) { .webpw-logo-shine::after { display:none; animation:none; } }
