.template-hand{--card-w:clamp(7.5rem, 19vw, 15rem);--step:clamp(2.9rem, 8vw, 7.5rem);--fan-spread:1;--fan-tilt:1;height:calc(var(--card-w) * 1.62);margin:0;max-width:100%;margin-inline:auto;padding:0;list-style:none;position:relative}.template-hand:hover,.template-hand:focus-within{--fan-spread:1.22}.template-card{width:var(--card-w);aspect-ratio:3/4.15;margin-left:calc(var(--card-w) / -2);border:1px solid color-mix(in oklab, currentColor 14%, transparent);background:var(--card,#fff);color:inherit;text-align:left;transform-origin:50% 180%;transform:translateX(calc(var(--fan-shift) * var(--step) * var(--fan-spread))) rotate(calc(var(--fan-angle) * var(--fan-spread) * var(--fan-tilt)));border-radius:.875rem;flex-direction:column;transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .3s;display:flex;position:absolute;bottom:0;left:50%;overflow:hidden;box-shadow:0 1px 2px #0000000f,0 18px 40px -18px #00000059}.template-card:hover,.template-card:focus-visible{transform:translateX(calc(var(--fan-shift) * var(--step) * var(--fan-spread))) rotate(calc(var(--fan-angle) * var(--fan-spread) * var(--fan-tilt))) translateY(-1.75rem);box-shadow:0 1px 2px #00000014,0 28px 56px -20px #00000073;z-index:20!important}.template-card:focus-visible{outline-offset:3px;outline:2px solid}.template-card-picture{background:color-mix(in oklab, currentColor 6%, transparent);flex:auto;position:relative;overflow:hidden}.template-card-picture>img{object-fit:cover;object-position:top center;width:100%;height:100%;position:absolute;inset:0}.template-card-words{border-top:1px solid color-mix(in oklab, currentColor 10%, transparent);flex-direction:column;gap:.125rem;padding:.625rem .75rem .75rem;display:flex}.template-card-name{font-size:.9375rem;font-weight:650;line-height:1.2}.template-card-line{opacity:.7;font-size:.75rem;line-height:1.35}@media (max-width:30rem){.template-hand{--card-w:7rem;--step:2rem;--fan-tilt:.7}.template-hand:hover,.template-hand:focus-within{--fan-spread:1}.template-card-line{display:none}}@media (prefers-reduced-motion:reduce){.template-card{transition:none}}
