/* Only images verified by sticker-hover.js participate. Square thumbnail slots retain their dimensions. */
.sticker[data-sticker-effect] { --outline:3px; --tilt-y:-26deg; --tilt-x:6deg; position:relative; display:block; width:100%; aspect-ratio:1; max-width:100%; padding:8px; box-sizing:border-box; perspective:700px; line-height:0; }
.sticker[data-sticker-effect] .sticker__inner { position:relative; display:block; width:100%; height:100%; transform-style:preserve-3d; }
html body .sticker[data-sticker-effect] img.sticker__img { display:block; width:100%!important; height:100%!important; max-width:100%; object-fit:contain!important; padding:0!important; margin:0; border-radius:0!important; background:transparent!important; filter:drop-shadow(var(--outline) 0 0 #fff) drop-shadow(calc(var(--outline) * -1) 0 0 #fff) drop-shadow(0 var(--outline) 0 #fff) drop-shadow(0 calc(var(--outline) * -1) 0 #fff) drop-shadow(0 1px 1.5px #0004) drop-shadow(0 6px 8px #0003); }
.sticker[data-sticker-effect] .sticker__shine { position:absolute; inset:0; pointer-events:none; opacity:0; -webkit-mask-image:var(--src); mask-image:var(--src); -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:center; mask-position:center; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; background:linear-gradient(115deg,transparent 35%,#ffffffbf 48%,#ffffff26 54%,transparent 62%); background-size:300% 100%; background-position:120% 0; }
html body .sticker-thumbnail--active, html body article.sticker-card--active { overflow:visible; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .sticker[data-sticker-effect] .sticker__inner { transition:transform .55s cubic-bezier(.2,.8,.2,1); }
 .sticker[data-sticker-effect] .sticker__img { transition:filter .55s cubic-bezier(.2,.8,.2,1); }
 .sticker[data-sticker-effect] .sticker__shine { transition:opacity .3s; }
 .sticker[data-sticker-effect]:hover .sticker__inner { will-change:transform; transform:translateY(-4px) scale(1.05) rotateY(var(--tilt-y)) rotateX(var(--tilt-x)); }
 html body .sticker[data-sticker-effect]:hover img.sticker__img { filter:drop-shadow(var(--outline) 0 0 #fff) drop-shadow(calc(var(--outline) * -1) 0 0 #fff) drop-shadow(0 var(--outline) 0 #fff) drop-shadow(0 calc(var(--outline) * -1) 0 #fff) drop-shadow(0 1px 1.5px #0004) drop-shadow(14px 16px 12px #0004); }
 .sticker[data-sticker-effect]:hover .sticker__shine { opacity:1; background-position:-20% 0; transition:opacity .3s,background-position .9s ease; }
}
@media (prefers-reduced-motion:reduce), (hover:none), (pointer:coarse) {
 .sticker[data-sticker-effect] .sticker__inner { transform:none!important; transition:none!important; }
 .sticker[data-sticker-effect] .sticker__img { transition:none!important; }
 .sticker[data-sticker-effect] .sticker__shine { display:none; }
}
