/* TROFEO PELUSO V57 — Controlled cinematic motion + original-asset graphic feature. */
:root{--v57-deep:var(--navy);--v57-navy:var(--navy-2);--v57-gold:var(--oro-antico);--v57-gold-light:var(--oro)}
.v57-cinematic-signature{position:relative;min-height:440px;display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1.06fr);gap:clamp(15px,2vw,40px);align-items:center;padding:clamp(27px,4vw,60px);isolation:isolate;border-radius:24px;overflow:hidden;background:linear-gradient(118deg,var(--notte-2) 0%,var(--navy-2) 64%,var(--navy-3) 100%);color:var(--carta);border:1px solid rgba(var(--oro-medio-rgb),.35);box-shadow:0 26px 68px -36px rgba(var(--notte-rgb),.65)}
.v57-cinematic-signature::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(116deg,transparent 0 34px,rgba(255,255,255,.017) 35px 36px),radial-gradient(ellipse 74% 108% at 85% 20%,rgba(20,97,140,.27),transparent 72%);pointer-events:none;z-index:-1}
.v57-cinema-glow{position:absolute;inset:-65% auto auto 45%;width:68%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(var(--oro-medio-rgb),.16),transparent 62%);filter:blur(6px);pointer-events:none}
.v57-cinema-content{position:relative;z-index:2;min-width:0}
.v57-cinema-eyebrow{display:flex;align-items:center;gap:15px;color:var(--oro);font:800 11px/1.45 'Plus Jakarta Sans',sans-serif;letter-spacing:.17em}
.v57-flag{display:flex;gap:3px;flex:none;align-items:center}
.v57-flag i{display:block;width:7px;height:7px;border-radius:1px;background:var(--verde-scuro)}
.v57-flag i:nth-child(2){background:var(--avorio)}
.v57-flag i:nth-child(3){background:var(--rosso-scuro)}
.v57-cinema-head{margin:24px 0 0!important;font:700 clamp(44px,4.6vw,78px)/.86 'Teko',Impact,sans-serif;letter-spacing:0;text-transform:uppercase;color:var(--carta);max-width:620px}
.v57-cinema-head span,.v57-cinema-head em{display:block;font-style:normal}
.v57-cinema-head em{color:var(--oro)}
.v57-cinema-lead{max-width:36ch;margin:20px 0 0;color:var(--nebbia-3);font:500 clamp(14px,1.22vw,17px)/1.7 'Plus Jakarta Sans',sans-serif}
.v57-cinema-footer{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:33px;padding-top:17px;border-top:1px solid rgba(var(--oro-rgb),.24)}
.v57-cinema-footer>span{font:800 12px/1.2 'Plus Jakarta Sans',sans-serif;letter-spacing:.16em;color:var(--oro)}
.v57-cinema-footer a{font:800 13px/1.2 'Plus Jakarta Sans',sans-serif;color:var(--carta);white-space:nowrap;text-decoration:none;border-bottom:1px solid var(--oro);padding-bottom:4px;transition:color .25s}
.v57-cinema-footer a:hover,.v57-cinema-footer a:focus-visible{color:var(--oro)}
.v57-cinema-visual{position:relative;z-index:1;min-width:0;display:grid;place-items:center;perspective:1100px;padding:16px 0 38px}
.v57-visual-year{position:absolute;inset:auto -10% 3% auto;color:rgba(var(--oro-medio-rgb),.11);font:700 clamp(138px,18vw,300px)/.8 'Teko',sans-serif;letter-spacing:-.07em;pointer-events:none}
.v57-visual-frame{position:relative;margin:0;width:100%;max-width:600px;aspect-ratio:1200 / 630;overflow:hidden;border-radius:12px;transform:perspective(1000px) rotateY(-4deg) rotateX(1deg);border:1px solid rgba(var(--oro-rgb),.48);box-shadow:0 44px 78px -40px rgba(0,0,0,.88),0 0 0 8px rgba(255,255,255,.04)}
.v57-visual-frame img{width:100%;height:100%;display:block;object-fit:cover;transition:transform 1.5s cubic-bezier(.25,1,.5,1)}
.v57-visual-frame:hover img{transform:scale(1.035)}
.v57-visual-sweep{position:absolute;inset:-20% -50%;pointer-events:none;background:linear-gradient(95deg,transparent 46%,rgba(var(--oro-rgb),.0) 47%,rgba(var(--oro-rgb),.22) 50%,rgba(var(--oro-rgb),0) 54%,transparent 55%);transform:translateX(-140%);opacity:0}
.v57-visual-stamp{position:absolute;right:0;bottom:0;display:flex;gap:8px;align-items:center;padding:10px 12px;background:rgba(var(--notte-rgb),.84);border:1px solid rgba(var(--oro-rgb),.32);border-radius:12px;box-shadow:0 12px 36px -24px rgba(0,0,0,.9);backdrop-filter:blur(10px)}
.v57-visual-stamp img{width:46px;height:46px;object-fit:contain}
.v57-visual-stamp span{font:800 10px/1.35 'Plus Jakarta Sans',sans-serif;letter-spacing:.16em;color:var(--oro)}
.v57-cinema-progress{position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(3,1fr);height:4px;gap:3px;background:var(--notte)}
.v57-cinema-progress i:nth-child(1){background:var(--verde-scuro)}.v57-cinema-progress i:nth-child(2){background:var(--avorio)}.v57-cinema-progress i:nth-child(3){background:var(--rosso-scuro)}
/* Enhanced cinematic text entries. Enabled only after JS successfully attaches observer. */
html.v57-ready .v57-cinema-eyebrow,
html.v57-ready .v57-cinema-head span,
html.v57-ready .v57-cinema-head em,
html.v57-ready .v57-cinema-lead,
html.v57-ready .v57-cinema-footer,
html.v57-ready .v57-visual-stamp{opacity:0;transform:translate3d(0,20px,0);filter:blur(4px)}
html.v57-ready .v57-visual-frame{opacity:0;transform:perspective(1000px) rotateY(-12deg) translateX(44px) scale(.94)}
html.v57-ready .v57-cinematic-signature.v57-in .v57-cinema-eyebrow,
html.v57-ready .v57-cinematic-signature.v57-in .v57-cinema-head span,
html.v57-ready .v57-cinematic-signature.v57-in .v57-cinema-head em,
html.v57-ready .v57-cinematic-signature.v57-in .v57-cinema-lead,
html.v57-ready .v57-cinematic-signature.v57-in .v57-cinema-footer,
html.v57-ready .v57-cinematic-signature.v57-in .v57-visual-stamp{opacity:1;transform:none;filter:none;transition:opacity .8s ease,transform .95s cubic-bezier(.16,1,.3,1),filter .8s ease}
.v57-cinematic-signature.v57-in .v57-cinema-head span:nth-child(1){transition-delay:.1s}
.v57-cinematic-signature.v57-in .v57-cinema-head span:nth-child(2){transition-delay:.2s}
.v57-cinematic-signature.v57-in .v57-cinema-head em{transition-delay:.32s}
.v57-cinematic-signature.v57-in .v57-cinema-lead{transition-delay:.45s}
.v57-cinematic-signature.v57-in .v57-cinema-footer{transition-delay:.52s}
html.v57-ready .v57-cinematic-signature.v57-in .v57-visual-frame{opacity:1;transform:perspective(1000px) rotateY(-4deg) rotateX(1deg);transition:opacity .95s ease .13s,transform 1.25s cubic-bezier(.16,1,.3,1) .13s}
html.v57-ready .v57-cinematic-signature.v57-in .v57-visual-stamp{transition-delay:.68s}
.v57-cinematic-signature.v57-in .v57-visual-sweep{animation:v57-sweep 1.7s cubic-bezier(.22,1,.36,1) .5s both}
@keyframes v57-sweep{0%{opacity:0;transform:translateX(-120%)}24%{opacity:1}100%{opacity:0;transform:translateX(125%)}}
/* Keep existing #debutto and #squadre wrapper animations, but add line-level staging. */
html.rv-on #debutto .v52-albo-title .albo-heading-line,
html.rv-on #squadre .peluso-display .peluso-display-line{opacity:0;transform:translateY(.45em);transition:transform .98s cubic-bezier(.16,1,.3,1),opacity .8s ease;transition-delay:.12s}
html.rv-on #debutto .v52-albo-title.rv-in .albo-heading-line,
html.rv-on #squadre .peluso-display.rv-in .peluso-display-line{opacity:1;transform:none}
html.rv-on #debutto .v52-albo-title.rv-in .albo-heading-line:nth-child(2),
html.rv-on #squadre .peluso-display.rv-in .peluso-display-line:nth-child(2){transition-delay:.28s}
html.v57-ready #live .live-pills .live-pill{opacity:0;transform:translateY(12px)}
html.v57-ready #live.v57-in .live-pills .live-pill{opacity:1;transform:none;transition:opacity .7s ease,transform .8s cubic-bezier(.16,1,.3,1)}
#live.v57-in .live-pills .live-pill:nth-child(2){transition-delay:75ms}#live.v57-in .live-pills .live-pill:nth-child(3){transition-delay:150ms}#live.v57-in .live-pills .live-pill:nth-child(4){transition-delay:225ms}
html.v57-ready #live .app-card-prem{opacity:0;transform:translate3d(0,32px,0) scale(.965)}
html.v57-ready #live.v57-in .app-card-prem{opacity:1;transform:none;transition:opacity 1.1s ease .12s,transform 1.2s cubic-bezier(.16,1,.3,1) .12s}
/* Program chapters only move when the program itself becomes visible; do not touch interactive tab states. */
html.v57-ready .v52-program-block .dy-tab{opacity:0;transform:translateY(20px)}
html.v57-ready .v52-program-block.v57-in .dy-tab{opacity:1;transform:translateY(0);transition:opacity .65s ease,transform .8s cubic-bezier(.16,1,.3,1)}
.v52-program-block.v57-in .dy-tab:nth-of-type(2){transition-delay:90ms}.v52-program-block.v57-in .dy-tab:nth-of-type(3){transition-delay:180ms}.v52-program-block.v57-in .dy-tab:nth-of-type(4){transition-delay:270ms}
@media(max-width:1020px){.v57-cinematic-signature{grid-template-columns:1fr;gap:20px}.v57-cinema-visual{padding:8px 10px 24px}.v57-visual-frame{max-width:760px}.v57-cinema-head{font-size:clamp(46px,7vw,74px)}}
@media(max-width:640px){.v57-cinematic-signature{min-height:0;padding:24px 20px 28px;border-radius:18px}.v57-cinema-head{font-size:clamp(42px,12vw,66px)}.v57-cinema-footer{gap:16px}.v57-cinema-lead{font-size:14px}.v57-visual-stamp{right:4px;bottom:3px;padding:6px 8px}.v57-visual-stamp img{width:32px;height:32px}.v57-visual-stamp span{font-size:8px}}
@media(prefers-reduced-motion:reduce){html.v57-ready .v57-cinema-eyebrow,html.v57-ready .v57-cinema-head span,html.v57-ready .v57-cinema-head em,html.v57-ready .v57-cinema-lead,html.v57-ready .v57-cinema-footer,html.v57-ready .v57-visual-stamp,html.v57-ready .v57-visual-frame,html.rv-on #debutto .v52-albo-title .albo-heading-line,html.rv-on #squadre .peluso-display .peluso-display-line,html.v57-ready #live .live-pills .live-pill,html.v57-ready #live .app-card-prem,html.v57-ready .v52-program-block .dy-tab{opacity:1!important;transform:none!important;filter:none!important;transition:none!important;animation:none!important}.v57-visual-sweep{display:none}}
