/* DAGS — Cwellord cinematic welcome. Sound may require explicit interaction. */
.cwellord-scene{position:fixed;inset:0;display:grid;place-items:center;z-index:105;pointer-events:none;opacity:0;visibility:hidden;transition:visibility .2s,opacity .3s;overflow:hidden}
.cwellord-scene.active{opacity:1;visibility:visible}
.cwellord-scene .cw-smoke-center{position:relative;width:min(480px,94vw);height:min(410px,72vh);margin-top:24vh;filter:drop-shadow(0 7px 20px #05030bb0)}
.cwellord-scene .cw-cloud{position:absolute;top:33%;left:44%;height:105px;width:150px;border-radius:50%;background:radial-gradient(ellipse at 35% 35%,#d4d1dbfa,#95939fc8 55%,#60626e33 83%,transparent 92%);filter:blur(12px);opacity:0;transform:translate(0,0) scale(.18)}
.cwellord-scene.active .cw-cloud{animation:cw-smoke-blast 2.8s ease-out both;animation-delay:var(--wait,0s)}
.cwellord-scene .cw-cloud:nth-child(1){--dx:-160px;--dy:-120px;--wait:.02s}
.cwellord-scene .cw-cloud:nth-child(2){--dx:140px;--dy:-150px;--wait:.08s}
.cwellord-scene .cw-cloud:nth-child(3){--dx:-180px;--dy:22px;--wait:.12s}
.cwellord-scene .cw-cloud:nth-child(4){--dx:175px;--dy:35px;--wait:.03s}
.cwellord-scene .cw-cloud:nth-child(5){--dx:-85px;--dy:-190px;--wait:.16s}
.cwellord-scene .cw-cloud:nth-child(6){--dx:60px;--dy:-210px;--wait:.2s}
.cwellord-scene .cw-cloud:nth-child(7){--dx:-32px;--dy:75px;--wait:.1s}
.cwellord-scene .cw-cloud:nth-child(8){--dx:96px;--dy:115px;--wait:.22s}
@keyframes cw-smoke-blast{0%{opacity:0;transform:translate(0,0) scale(.08)}18%{opacity:.99}48%{opacity:.83}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(2.2)}}
.cwellord-scene .cw-figure{position:absolute;left:50%;bottom:40px;transform:translate(-50%,65px) scale(.60);width:210px;height:245px;border-radius:100px 100px 64px 64px;overflow:hidden;border:3px solid #c3ff27;box-shadow:0 0 0 8px #11162b,0 0 70px #b3ff26aa,0 25px 32px #000c;opacity:0;filter:blur(9px)}
.cwellord-scene.active .cw-figure{animation:cw-reveal 1.25s 1.25s both cubic-bezier(.14,.87,.15,1.17)}
.cwellord-scene .cw-figure img{width:100%;height:100%;object-fit:cover;object-position:54% 32%}
@keyframes cw-reveal{0%{opacity:0;transform:translate(-50%,85px) scale(.56);filter:blur(12px)}100%{opacity:1;transform:translate(-50%,0px) scale(1);filter:blur(0)}}
.cwellord-scene .cw-speech{position:absolute;left:50%;top:12px;transform:translateX(-50%) scale(.82);width:max-content;max-width:94%;padding:12px 18px;border:2px solid #b2fb3a;border-radius:18px;background:#14111ce8;box-shadow:0 12px 36px #000c,0 0 28px #9cff2438;color:white;font:900 clamp(16px,2vw,23px)/1.25 system-ui,Arial,sans-serif;text-align:center;text-shadow:0 2px #000;opacity:0}
.cwellord-scene.active .cw-speech{animation:cw-quote 5.5s 1.65s both}
@keyframes cw-quote{0%{opacity:0;transform:translate(-50%,-8px) scale(.8)}15%,78%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0}}
.cwellord-scene .cw-intro-caption{position:absolute;left:50%;bottom:0;transform:translateX(-50%);color:#e6e4ed;text-align:center;background:#14111ce3;border-radius:12px;border:1px solid #ffffff52;padding:4px 10px;white-space:nowrap;font:700 11px/1.3 system-ui;opacity:0}
.cwellord-scene.active .cw-intro-caption{animation:cw-quote 6s 2s both}
.cwellord-scene .cw-dismiss,.cwellord-scene .cw-play{position:absolute;z-index:2;pointer-events:auto;cursor:pointer;border:1px solid #cbff68;background:#151827ef;color:white;border-radius:20px;font:bold 13px system-ui;padding:8px 14px}
.cwellord-scene .cw-dismiss{right:0;top:0}.cwellord-scene .cw-play{bottom:0;right:0}
.cwellord-scene.exiting{animation:cw-out .8s ease-in both}
@keyframes cw-out{to{opacity:0;transform:scale(.93);filter:blur(8px)}}
@media(max-width:600px){.cwellord-scene .cw-smoke-center{width:94vw;height:360px}.cwellord-scene .cw-figure{height:190px;width:164px}.cwellord-scene .cw-speech{top:42px}.cwellord-scene .cw-dismiss{right:2px;top:25px}}
@media(prefers-reduced-motion:reduce){.cwellord-scene.active .cw-cloud{animation:none;opacity:0}.cwellord-scene.active .cw-figure{animation:none;opacity:1;transform:translate(-50%,0);filter:none}.cwellord-scene.active .cw-speech{animation:none;opacity:1;transform:translateX(-50%)}}
