/* ==========================================================================
   Lesson-deck launcher — the poster that replaces the old "video" placeholder
   in each lesson, and the full-screen overlay that hosts the presentation.
   Loaded by every module page. Pairs with deck-launch.js.
   ========================================================================== */
.deck-launch{position:relative;display:flex;align-items:center;gap:16px;width:100%;text-align:left;cursor:pointer;
  border:1px solid rgba(231,181,77,.32);border-radius:16px;padding:18px 20px;margin:14px 0;
  background:linear-gradient(115deg,#1b1e53 0%,#12143a 55%,#0c0e2c 100%);
  box-shadow:0 12px 34px rgba(0,0,0,.28);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s}
.deck-launch::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background:radial-gradient(60% 120% at 88% 50%,rgba(217,32,39,.22),transparent 60%)}
.deck-launch:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(0,0,0,.38);border-color:rgba(231,181,77,.6)}
.deck-launch:focus-visible{outline:2px solid var(--gold,#E7B54D);outline-offset:2px}
.dl-badge{flex:none;width:52px;height:52px;border-radius:50%;position:relative;z-index:1;
  box-shadow:0 0 0 3px rgba(231,181,77,.22),0 8px 20px rgba(0,0,0,.4)}
.dl-badge img{width:100%;height:100%;border-radius:50%;display:block}
.dl-txt{flex:1;min-width:0;position:relative;z-index:1;display:flex;flex-direction:column;gap:3px}
.dl-txt b{font-size:16px;font-weight:800;color:#fff;letter-spacing:.01em}
.dl-txt small{font-size:12.5px;color:#a6abd8;font-weight:600;letter-spacing:.02em}
.dl-txt .dl-kick{font-size:10.5px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:#E7B54D;margin-bottom:1px}
.dl-play{flex:none;position:relative;z-index:1;width:50px;height:50px;border-radius:50%;
  background:var(--gold,#E7B54D);display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 22px rgba(231,181,77,.34);transition:transform .18s}
.deck-launch:hover .dl-play{transform:scale(1.06)}
.dl-play svg{width:22px;height:22px;fill:#12143a;margin-left:3px}

@media(max-width:520px){
  .deck-launch{gap:12px;padding:15px 16px}
  .dl-badge{width:44px;height:44px}
  .dl-play{width:44px;height:44px}
  .dl-txt b{font-size:15px}
  .dl-txt small{font-size:12px}
}

/* full-screen overlay hosting the deck iframe */
.deck-overlay{position:fixed;inset:0;z-index:1000;background:#070920;opacity:0;visibility:hidden;
  transition:opacity .32s ease,visibility .32s}
.deck-overlay.open{opacity:1;visibility:visible}
.deck-overlay iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#070920}
html.deck-open,body.deck-open{overflow:hidden}
