/* 13a — Explorations Showcase: scaled host with the themed dotted background (same as the other sections),
   cross-fading clips, glowing progress, hover = pause + overlay, whole frame clickable. */
.showcase-host { width: 100%; overflow: hidden; }
.showcase-host > [data-pencil-name^="13a"] {
  transform-origin: top left; margin: 0;
  background-color: var(--hero-bg) !important;
  background-image: radial-gradient(circle at 12px 12px, var(--hero-dot) 1.1px, transparent 1.7px) !important;
  background-size: 24px 24px !important;
}

.sc-frame { position: relative; cursor: pointer; transition: translate 0.5s cubic-bezier(.3, 1.5, .5, 1), rotate 0.5s cubic-bezier(.3, 1.5, .5, 1), filter 0.4s ease; }
.sc-frame:focus-visible { outline: 3px solid #C9F24D !important; outline-offset: 6px !important; }
.sc-hold .sc-frame { translate: 0 -8px; rotate: -0.25deg; filter: drop-shadow(0 44px 40px rgba(2, 4, 26, 0.8)) !important; }

/* Clips: a framed preview card at the cover's own aspect (662 x 500 for a 1024 x 773 cover). Shown below natural size, never zoomed,
   so no scaling animation here. */
.showcase-host .sc-stage { inset: auto; left: 648px; top: 30px; width: 662px; height: 500px; border-radius: 20px; z-index: 1;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.18); }
.showcase-host .sc-slide { background-size: 100% 100%; background-color: #0A0F33; }
.showcase-host .sc-slide.is-on, .showcase-host .sc-slide.is-prev { animation: none; }

/* Hover overlay: a thin cobalt wash with a lime edge. */
.sc-frame [data-pencil-name="Screen"]::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
  background: radial-gradient(120% 90% at 50% 110%, rgba(201, 242, 77, 0.18), transparent 60%), rgba(37, 71, 232, 0.14);
  box-shadow: inset 0 0 0 2px rgba(201, 242, 77, 0.6); }
.sc-hold .sc-frame [data-pencil-name="Screen"]::after { opacity: 1; }

/* Live chip */
.sc-playing [data-pencil-name="Rec Dot"] { animation: sc-rec 1.4s ease-out infinite; }

/* Call-to-action pill lights up on hover */
.sc-frame [data-pencil-name="Explore Pill"] { transition: background-color 0.3s ease, scale 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.sc-frame [data-pencil-name="Explore Arrow"] { transition: translate 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.sc-hold .sc-frame [data-pencil-name="Explore Pill"] { background-color: #C9F24D !important; scale: 1.06; }
.sc-hold .sc-frame [data-pencil-name="Explore Arrow"] { translate: 3px -3px; }

/* Arrow controls: step the reel by hand, no waiting for the timer. Inside the screen, bottom-right. */
.sc-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 7; pointer-events: none; }
.sc-nav-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  background: rgba(13, 13, 15, 0.6); color: #FBFAF6; cursor: pointer; pointer-events: auto;
  border: 1.5px solid rgba(251, 250, 246, 0.42);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(2, 4, 26, 0.45);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, scale 0.35s cubic-bezier(.3, 1.6, .5, 1);
}
.sc-nav-btn:hover, .sc-nav-btn:focus-visible { background: #C9F24D; color: #0D0D0F; border-color: #0D0D0F; scale: 1.08; }
.sc-nav-btn:focus-visible { outline: 3px solid #C9F24D; outline-offset: 3px; }
.sc-nav-btn:active { scale: 0.94; }

/* Stickers */
.sc-st { transition: translate 0.4s cubic-bezier(.3, 1.6, .5, 1), scale 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.sc-st:hover { translate: 0 -5px; scale: 1.08; }

@media (prefers-reduced-motion: reduce) {
  .sc-frame, .sc-st, .sc-frame [data-pencil-name="Screen"]::after, .sc-frame [data-pencil-name="Explore Pill"], .sc-frame [data-pencil-name="Explore Arrow"], .sc-nav-btn { transition: none !important; }
  .sc-playing [data-pencil-name="Rec Dot"] { animation: none !important; }
  .sc-hold .sc-frame { translate: none; rotate: none; }
}
