/* Il maxi schermo: il trailer per capitoli (le clip dei mondi una dopo l'altra) dentro una cornice di plastica blu notte,
   col nome del capitolo a sinistra e il punto di forza a destra; sotto, la fila dei social. */
.tv { position: relative; border-radius: 30px; padding: 14px; background: linear-gradient(#2c4570, var(--night) 60%, #1b2c4a); box-shadow: 0 12px 0 #0f1a2e, inset 0 3px 0 rgba(255, 255, 255, .18); }
.tv-scr { position: relative; height: clamp(380px, 62vh, 540px); border-radius: 20px; overflow: hidden; background: #0d1726; isolation: isolate; }
.tv-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.3); transition: opacity .5s; }
.tv-fg { position: absolute; top: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 9 / 16; translate: -50% 0; object-fit: cover; background: #0d1726;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 20px 60px rgba(0, 0, 0, .5); }
.tv-cap { position: absolute; left: 4%; top: 50%; translate: 0 -50%; width: 30%; color: #fff; display: grid; gap: 8px; z-index: 2; }
.tv-cap .k { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #ffd65e; }
.tv-cap .t { font-family: var(--f-display); font-size: clamp(24px, 3.2vw, 42px); line-height: 1; color: #ffcf5a; -webkit-text-stroke: 1.5px #8c2b0d; paint-order: stroke fill; text-shadow: 0 4px 0 #8c2b0d; text-wrap: balance; }
.tv-cap .m { display: none; }
.tv-claim { position: absolute; right: 4%; top: 50%; translate: 0 -50%; width: 28%; z-index: 2; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 14px 16px 16px; box-shadow: 0 6px 0 rgba(0, 0, 0, .3); }
.tv-claim b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.1; margin-bottom: 4px; }
.tv-claim span { display: block; font-size: 15px; line-height: 1.4; color: var(--ink2); }
.tv-swap { animation: tvSwap .5s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes tvSwap { from { opacity: 0; transform: translateY(16px) scale(.96); } }

.tv-rail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.tv-ch { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; padding-block: 4px; min-width: 0; }
.tv-ch i { display: block; height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.tv-ch i b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--gold)); }
.tv-ch span { font-weight: 600; font-size: 12.5px; color: #9fb3d4; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.tv-ch:hover span, .tv-ch.on span { color: #fff; }
.tv-ch:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.tv-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; }
.tv-pp { all: unset; cursor: pointer; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#ffe07a, var(--gold)); box-shadow: 0 4px 0 var(--gold-ln); transition: transform .1s, box-shadow .1s; }
.tv-pp:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-ln); }
.tv-pp:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.tv-pp svg { width: 16px; height: 16px; }
.tv-bar small { color: #c9d8f2; font-size: 14px; flex: 1 1 200px; min-width: 0; }
.tv-full { margin-left: auto; }

/* social: tasti di plastica, ognuno nel suo colore */
.segui { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; align-items: center; margin-top: 34px; }
.segui h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--hero-fg); margin: 0; }
.segui p { margin: 2px 0 0; color: var(--hero-fg2); font-weight: 600; }
.socs { display: flex; flex-wrap: wrap; gap: 16px; }
.soc { --a: #f77737; --b: #c13584; --z: #6b1650; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--f-display); font-size: 22px; letter-spacing: .02em; line-height: 1.1;
  padding: 13px 22px 15px 15px; border-radius: 18px; background: linear-gradient(var(--a), var(--b)); box-shadow: 0 6px 0 var(--z), inset 0 2px 0 rgba(255, 255, 255, .35); text-shadow: 0 2px 0 rgba(0, 0, 0, .3); transition: transform .12s, box-shadow .12s; }
a.soc:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 var(--z), inset 0 2px 0 rgba(255, 255, 255, .35); }
a.soc:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--z); }
.soc svg { width: 36px; height: 36px; flex: none; }
.soc small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 13.5px; letter-spacing: .03em; opacity: .92; text-shadow: none; }
.soc.tt { --a: #2b2b35; --b: #101015; --z: #000; box-shadow: 0 6px 0 #000, inset 3px 0 0 #25f4ee, inset -3px 0 0 #fe2c55, inset 0 2px 0 rgba(255, 255, 255, .2); }
.soc.yt { --a: #ff4a4a; --b: #e00000; --z: #7a0000; }
.soc.off { filter: saturate(.55); cursor: default; }
.foot-socs { display: inline-flex; gap: 14px; align-items: center; }
.foot-socs a { color: #fff; display: inline-flex; opacity: .85; transition: opacity .2s, transform .2s; }
.foot-socs a:hover { opacity: 1; transform: translateY(-2px); }
.foot-socs svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .tv-scr { height: clamp(360px, 46vh, 460px); }
  .tv-cap { width: 27%; } .tv-claim { width: 26%; padding: 12px 14px 14px; }
  .tv-claim b { font-size: 19px; } .tv-claim span { font-size: 14px; }
  .tv-ch span { font-size: 11.5px; }
  .segui { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tv { padding: 10px; border-radius: 24px; }
  .tv-scr { height: auto; aspect-ratio: 4 / 5; border-radius: 16px; }
  .tv-fg { left: 0; width: 100%; aspect-ratio: auto; translate: none; box-shadow: none; }
  .tv-bg { display: none; }
  .tv-cap { left: 0; right: 0; top: auto; bottom: 0; translate: none; width: auto; gap: 6px; padding: 70px 16px 16px; background: linear-gradient(transparent, rgba(13, 23, 38, .92) 45%); }
  .tv-cap .m { display: block; color: #e6eefb; font-size: 15px; line-height: 1.4; }
  .tv-cap .m b { color: #fff; }
  .tv-claim { display: none; }
  .tv-rail { gap: 4px; }
  .tv-ch span { display: none; }
}
@media (max-width: 520px) {
  .socs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .soc { flex-direction: column; justify-content: center; gap: 4px; font-size: 17px; padding: 12px 6px 14px; text-align: center; }
  .soc svg { width: 32px; height: 32px; }
  .soc small { font-size: 10.5px; overflow-wrap: anywhere; }
  .tv-full { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .tv-swap { animation: none; } .soc, .tv-bg { transition: none; } }
