.kart-disegno {
  --kart-colore: var(--rosso);
  --kart-chiaro: var(--bianco);
  display: block;
  overflow: visible;
}
.apertura { display: none; }
.con-apertura .apertura {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: clamp(2rem, 6vh, 4rem);
  background: var(--nero-pieno);
  overflow: hidden;
  animation: apertura-riserva .3s ease-out 3.4s forwards;
}
.con-apertura body { overflow: hidden; }
@keyframes apertura-riserva { to { opacity: 0; visibility: hidden; } }
.apertura-luci { display: flex; gap: clamp(.6rem, 2vw, 1.1rem); padding: .9rem 1.2rem; background: #111113; border-radius: 999px; }
.apertura-luci span {
  width: clamp(1.5rem, 4.5vw, 2.6rem); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffb27a, var(--rosso) 55%, #7a3000);
  box-shadow: 0 0 24px rgb(255 106 0 / .7);
  opacity: .12;
}
.apertura-pista { position: relative; width: min(92vw, 62rem); }
.apertura-kart { position: relative; z-index: 2; width: 100%; height: auto; will-change: transform; }
.apertura-scie, .apertura-fumo { position: absolute; inset: 0; pointer-events: none; }
.apertura-scie i {
  position: absolute; left: -20%; width: 70%; height: 3px; border-radius: 3px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgb(245 245 242 / .8));
  transform-origin: right center; will-change: transform, opacity;
}
.apertura-scie i:nth-child(1) { top: 30%; }
.apertura-scie i:nth-child(2) { top: 44%; height: 5px; background: linear-gradient(90deg, transparent, var(--rosso)); }
.apertura-scie i:nth-child(3) { top: 55%; width: 50%; }
.apertura-scie i:nth-child(4) { top: 66%; height: 4px; }
.apertura-scie i:nth-child(5) { top: 76%; width: 80%; background: linear-gradient(90deg, transparent, var(--rosso)); }
.apertura-scie i:nth-child(6) { top: 86%; width: 40%; }
.apertura-fumo i {
  position: absolute; left: 6%; top: 66%; width: 18%; aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgb(245 245 242 / .35), transparent 65%);
}
.verso-sinistra .apertura-fumo i { left: auto; right: 6%; }
.apertura-salta {
  position: absolute; right: var(--gutter); bottom: var(--gutter);
  font: 600 .95rem var(--font-testo); color: var(--testo-2); background: none; border: 0; cursor: pointer;
}
.passaggio { position: relative; height: calc(var(--passaggio-kart, clamp(7rem, 13vw, 10rem)) * .5); overflow: hidden; }
.passaggio .cordolo { position: absolute; left: 0; right: 0; bottom: 0; }
.passaggio-kart {
  position: absolute; left: 50%; bottom: calc(var(--cordolo-altezza) - 2px);
  width: var(--passaggio-kart, clamp(7rem, 13vw, 10rem)); height: auto; margin-left: calc(var(--passaggio-kart, clamp(7rem, 13vw, 10rem)) / -2);
  opacity: 0; will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .passaggio { height: auto; }
  .passaggio-kart { display: none; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
