/* Lacquered marquee and independent LEDs over the pink outline. */
.tasskalas-stage > .tasskalas-marquee {
  position: relative;
  z-index: 2;
  isolation: isolate;
  container-type: inline-size;
  width: min(100%, clamp(385px, 47vw, 558px));
  aspect-ratio: 1600 / 362;
  margin: 2px auto -6px;
  pointer-events: none;
  user-select: none;
  --marquee-led-motion: tasskalas-led-travel 3555ms linear infinite;
  --marquee-shine-motion: tasskalas-lens-glint 5300ms cubic-bezier(.28,.72,.41,1) infinite;
}

.tasskalas-marquee-housing,
.tasskalas-marquee-lighting {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.tasskalas-marquee-housing {
  filter: drop-shadow(0 4px 4px #221021b0) drop-shadow(0 0 10px #fa48925e);
}
.tasskalas-marquee-lighting { overflow: visible; }
.tasskalas-marquee-led {
  opacity: .27;
  animation: var(--marquee-led-motion);
  animation-delay: var(--led-delay);
}
.tasskalas-marquee-energy {
  opacity: 0;
  filter: drop-shadow(0 0 5px #ff57ad);
}
.tasskalas-marquee[data-cue] .tasskalas-marquee-energy { opacity: .36; }
.tasskalas-marquee[data-cue="power"] .tasskalas-marquee-energy { stroke: #ffd1ef; }
.tasskalas-marquee[data-cue="combo"] .tasskalas-marquee-energy { stroke: #e4efff; }
.tasskalas-marquee[data-cue="win"] .tasskalas-marquee-energy { stroke: #fff2b7; }

.tasskalas-marquee-shine {
  position: absolute;
  inset: 25% 14% 19% 15%;
  overflow: hidden;
  border-radius: 18px;
}
.tasskalas-marquee-shine::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 26%;
  background: linear-gradient(90deg, transparent, #ffaccc51 32%, #ffddbc83 52%, transparent);
  opacity: 0;
  animation: var(--marquee-shine-motion);
}

.tasskalas-marquee-mascot {
  position: absolute;
  bottom: 3%;
  left: 8.8%;
  height: 106%;
  aspect-ratio: 1;
}
.tasskalas-marquee-portrait-shift {
  width: 100%;
  height: 100%;
  transform-origin: 52% 89%;
}
.tasskalas-marquee-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 2px #310b26ae);
}

.tasskalas-marquee-title {
  position: absolute;
  inset: 10% 10% 9% 29%;
  display: grid;
  place-items: center;
}
.stjarnspel-logo {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.tasskalas-marquee-title .stjarnspel-logo {
  height:100%;
  min-height:0;
  filter:drop-shadow(0 2px 3px #240e25b3);
}
.festival-copy .stjarnspel-logo {
  width:min(100%,430px);
  margin-inline:auto;
  filter:drop-shadow(0 3px 1px #bd6a8a4d);
}

@keyframes tasskalas-led-travel {
  0%, 23%, 100% { opacity: .23; }
  5%, 10% { opacity: 1; }
  17% { opacity: .66; }
}
@keyframes tasskalas-lens-glint {
  0%, 56% { opacity: 0; transform: translateX(-120%) skewX(-21deg); }
  68%, 76% { opacity: .83; }
  90%, 100% { opacity: 0; transform: translateX(415%) skewX(-21deg); }
}
.tasskalas-marquee[data-suspended] .tasskalas-marquee-led,
.tasskalas-marquee[data-suspended] .tasskalas-marquee-shine::after { animation-play-state: paused; }
.reduce-motion .tasskalas-stage > .tasskalas-marquee {
  --marquee-led-motion: none;
  --marquee-shine-motion: none;
}
.reduce-motion .tasskalas-marquee-portrait-shift { transform: none !important; }
.reduce-motion .tasskalas-marquee[data-cue] .tasskalas-marquee-energy { opacity: .28 !important; }
@media (prefers-reduced-motion: reduce) {
  .tasskalas-stage > .tasskalas-marquee {
    --marquee-led-motion: none;
    --marquee-shine-motion: none;
  }
  .tasskalas-marquee-portrait-shift { transform: none !important; }
  .tasskalas-marquee[data-cue] .tasskalas-marquee-energy { opacity: .28 !important; }
}

@media (max-width: 730px) {
  .tasskalas-stage > .tasskalas-marquee { width: min(100%, 368px); }
}
@media (min-width: 1140px) and (max-height: 785px) {
  .tasskalas-stage > .tasskalas-marquee { width:min(100%,460px);margin-top:0; }
}
