
@property --beam-x { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --beam-y { syntax: "<percentage>"; inherits: false; initial-value: 53%; }

.shaft-sticky .shaft-image {
  inset: 0;
  background: #100f0e url("../assets/fullframe/silk-map.webp") center / auto 103% no-repeat;
  animation: none;
  filter: none;
  transform: none;
  opacity: 1;
}
.shaft-sticky .shaft-vignette { display: none; }
.silk-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(16, 1fr);
  background: radial-gradient(circle clamp(64px, 12vmin, 142px) at var(--beam-x) var(--beam-y),
    transparent 14%, rgb(9 9 8 / .24) 53%, rgb(9 9 8 / .94) 100%);
  transition: --beam-x .13s ease-out, --beam-y .13s ease-out;
}
.shaft-beats { pointer-events: none; text-shadow: 0 2px 5px #15100c, 0 0 16px #15100c; }
@media (min-aspect-ratio: 1/1) {
  .shaft-sticky .shaft-image { background-size: auto 115%; }
}
.silk-field:has(i:nth-child(24n+1):hover) { --beam-x: 2.08%; }
.silk-field:has(i:nth-child(24n+2):hover) { --beam-x: 6.25%; }
.silk-field:has(i:nth-child(24n+3):hover) { --beam-x: 10.42%; }
.silk-field:has(i:nth-child(24n+4):hover) { --beam-x: 14.58%; }
.silk-field:has(i:nth-child(24n+5):hover) { --beam-x: 18.75%; }
.silk-field:has(i:nth-child(24n+6):hover) { --beam-x: 22.92%; }
.silk-field:has(i:nth-child(24n+7):hover) { --beam-x: 27.08%; }
.silk-field:has(i:nth-child(24n+8):hover) { --beam-x: 31.25%; }
.silk-field:has(i:nth-child(24n+9):hover) { --beam-x: 35.42%; }
.silk-field:has(i:nth-child(24n+10):hover) { --beam-x: 39.58%; }
.silk-field:has(i:nth-child(24n+11):hover) { --beam-x: 43.75%; }
.silk-field:has(i:nth-child(24n+12):hover) { --beam-x: 47.92%; }
.silk-field:has(i:nth-child(24n+13):hover) { --beam-x: 52.08%; }
.silk-field:has(i:nth-child(24n+14):hover) { --beam-x: 56.25%; }
.silk-field:has(i:nth-child(24n+15):hover) { --beam-x: 60.42%; }
.silk-field:has(i:nth-child(24n+16):hover) { --beam-x: 64.58%; }
.silk-field:has(i:nth-child(24n+17):hover) { --beam-x: 68.75%; }
.silk-field:has(i:nth-child(24n+18):hover) { --beam-x: 72.92%; }
.silk-field:has(i:nth-child(24n+19):hover) { --beam-x: 77.08%; }
.silk-field:has(i:nth-child(24n+20):hover) { --beam-x: 81.25%; }
.silk-field:has(i:nth-child(24n+21):hover) { --beam-x: 85.42%; }
.silk-field:has(i:nth-child(24n+22):hover) { --beam-x: 89.58%; }
.silk-field:has(i:nth-child(24n+23):hover) { --beam-x: 93.75%; }
.silk-field:has(i:nth-child(24n+24):hover) { --beam-x: 97.92%; }
.silk-field:has(i:nth-child(n+1):nth-child(-n+24):hover) { --beam-y: 3.12%; }
.silk-field:has(i:nth-child(n+25):nth-child(-n+48):hover) { --beam-y: 9.38%; }
.silk-field:has(i:nth-child(n+49):nth-child(-n+72):hover) { --beam-y: 15.62%; }
.silk-field:has(i:nth-child(n+73):nth-child(-n+96):hover) { --beam-y: 21.88%; }
.silk-field:has(i:nth-child(n+97):nth-child(-n+120):hover) { --beam-y: 28.12%; }
.silk-field:has(i:nth-child(n+121):nth-child(-n+144):hover) { --beam-y: 34.38%; }
.silk-field:has(i:nth-child(n+145):nth-child(-n+168):hover) { --beam-y: 40.62%; }
.silk-field:has(i:nth-child(n+169):nth-child(-n+192):hover) { --beam-y: 46.88%; }
.silk-field:has(i:nth-child(n+193):nth-child(-n+216):hover) { --beam-y: 53.12%; }
.silk-field:has(i:nth-child(n+217):nth-child(-n+240):hover) { --beam-y: 59.38%; }
.silk-field:has(i:nth-child(n+241):nth-child(-n+264):hover) { --beam-y: 65.62%; }
.silk-field:has(i:nth-child(n+265):nth-child(-n+288):hover) { --beam-y: 71.88%; }
.silk-field:has(i:nth-child(n+289):nth-child(-n+312):hover) { --beam-y: 78.12%; }
.silk-field:has(i:nth-child(n+313):nth-child(-n+336):hover) { --beam-y: 84.38%; }
.silk-field:has(i:nth-child(n+337):nth-child(-n+360):hover) { --beam-y: 90.62%; }
.silk-field:has(i:nth-child(n+361):nth-child(-n+384):hover) { --beam-y: 96.88%; }
@media (prefers-reduced-motion: reduce) { .silk-field { transition: none; } }
