/* A lab transmission drawn from actual logistic-map iterations. */
.tape-image-full.is-logistic > img { display: none; }
.tape-image-full.is-logistic { background: #080808; }
.tape-logistic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: .35rem;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) 2.1rem;
  overflow: hidden;
  color: #dddddd;
  background: radial-gradient(ellipse at 50% 38%, #292929, #0d0d0d 78%);
  font: 500 clamp(.53rem, .9vw, .68rem)/1.2 var(--font-mono);
  text-align: left;
  pointer-events: none;
}
.tape-logistic__header, .tape-logistic__footer { display: flex; justify-content: space-between; gap: .5rem; color: #b4b4b4; letter-spacing: .12em; }
.tape-logistic__title { color: #f5f5f5; font-weight: 700; }
.tape-logistic__scope { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #dddddd2b; border-radius: 5% / 4%; background: radial-gradient(ellipse at center, #242424, #080808 90%); box-shadow: inset 0 0 28px #000c; transform: perspective(1100px) rotateX(1deg); }
.tape-logistic__scope::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: repeating-linear-gradient(0deg, #fff1 0 1px, transparent 1px 5px); opacity: .25; }
.tape-logistic__axis { position: absolute; top: .35rem; left: .45rem; color: #aaaaaa; }
.tape-logistic__plot {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
  color: #f5f5f5;
  font: 500 clamp(8px, .85vw, 11px)/1.15 ui-monospace, 'SFMono-Regular', Consolas, monospace;
  letter-spacing: 0;
  text-align: left;
  white-space: pre;
  text-shadow: 0 0 4px #ffffff70;
  animation: tape-logistic-reveal 3.8s steps(65, end) both;
}
.tape-logistic__sweep {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 5%;
  left: -6%;
  opacity: .48;
  background: linear-gradient(90deg, transparent, #ffffff3a 70%, #ffffff53);
  animation: tape-logistic-scan 8s linear infinite;
}
@keyframes tape-logistic-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes tape-logistic-scan { to { transform: translateX(2120%); } }
.tape-logistic__formula { color: #d5d5d5; text-align: center; letter-spacing: .04em; }
.tape-logistic__footer { margin: 0 .2rem; }
.tape-logistic.is-start-paused .tape-logistic__plot { animation: none; }
.tape-logistic.is-start-paused .tape-logistic__sweep { animation: none; opacity: 0; }
.tape-logistic.is-suspended .tape-logistic__plot, .tape-logistic.is-suspended .tape-logistic__sweep { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .tape-logistic__sweep { animation: none; opacity: 0; } .tape-logistic__plot { animation: none; } }
