/* Tessera Membro Spiciale (home, pagina finale, pagina personale) */
.tessera-scena { order: -1; perspective: 1100px; justify-self: center; width: min(100%, 25rem); animation: fluttua 7s var(--ease-in-out) infinite; }
@keyframes fluttua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.55rem; } }
.tessera { position: relative; aspect-ratio: 1.586; border-radius: 22px; display: grid; grid-template-columns: 22% 1fr; overflow: hidden; background: linear-gradient(150deg, #2c3036, #15171b 70%); transform: rotate(-3deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 40px 60px -30px #000, 0 12px 24px -12px rgba(0, 0, 0, .8), 0 0 0 1px var(--line-2); will-change: transform; }
.tessera.muove { transition: transform .08s linear; }
.t-legno { background: url('/assets/oak.jpg') center / 220px; position: relative; box-shadow: inset -10px 0 14px -8px rgba(0, 0, 0, .55); }
.t-legno::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 2, .35), transparent 60%); }
.t-corpo { position: relative; display: grid; align-content: space-between; padding: 1.1rem 1.2rem 1rem 1.3rem; }
.t-corpo img { width: 3.1rem; height: 3.1rem; justify-self: end; }
.t-titolo { display: grid; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .86; font-size: clamp(2.5rem, 12vw, 3.3rem); letter-spacing: -.005em; }
.t-titolo span:last-child { color: var(--wood); }
.t-piede { display: flex; justify-content: space-between; gap: .6rem; font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.t-luce { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at var(--mx, 70%) var(--my, 0%), rgba(255, 236, 205, .2), transparent 60%); mix-blend-mode: soft-light; }
.tessera-scena.rv { transform: translateY(40px) scale(.94); }
.tessera-scena.rv.in { transform: none; }
