/* DUBLUV splash — shared by all Dang games.
   It covers the same area as the game: inside the game's root by default,
   .ds-sheet = bottom sheet (720:1000) over the chatroom, .ds-full = whole window.
   Per game: --glow (main colour), assets/icon.webp, the name, and --dz if the game needs another layer order. */
.dsplash{position:absolute;inset:0;z-index:var(--dz,200);background:#000;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-family:GPop,Poppins,system-ui,sans-serif;font-weight:700;transition:opacity .55s ease;overflow:hidden;container-type:size}
.dsplash.ds-sheet{position:fixed;inset:auto 0 0 0;height:min(100%,138.9vw);border-radius:18px 18px 0 0}
.dsplash.ds-full{position:fixed;inset:0}
.dsplash::before{content:"";position:absolute;left:50%;top:44%;width:min(120vmax,760px);aspect-ratio:1;transform:translate(-50%,-50%);
  background:radial-gradient(closest-side,color-mix(in srgb,var(--glow,#888) 26%,transparent),transparent 70%);pointer-events:none}
.dsplash.done{opacity:0;pointer-events:none}
.ds-main{position:relative;display:flex;flex-direction:column;align-items:center;margin-bottom:3cqh;animation:dsIn .7s cubic-bezier(.2,.8,.2,1) both}
@keyframes dsIn{from{opacity:0;transform:translateY(10px) scale(.94)}}
.ds-icon{position:relative;width:clamp(120px,min(36cqw,34cqh),196px);aspect-ratio:1;border-radius:23%;overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.10),0 18px 50px -10px color-mix(in srgb,var(--glow,#888) 70%,transparent),0 4px 14px rgba(0,0,0,.6)}
.ds-icon img{display:block;width:100%;height:100%;object-fit:cover}
.ds-sheen{position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.28) 50%,transparent 65%);
  transform:translateX(-120%);animation:dsSheen 2.6s ease-in-out .6s infinite}
@keyframes dsSheen{45%,100%{transform:translateX(120%)}}
.ds-name{margin-top:clamp(12px,3.2cqh,22px);font-size:clamp(18px,5.2vmin,24px);font-weight:700;letter-spacing:.2px;text-align:center;padding:0 16px}
.ds-load{margin-top:clamp(12px,3.2cqh,22px);width:clamp(150px,44vmin,210px)}
.ds-bar{height:4px;border-radius:4px;background:#1d1d1d;overflow:hidden}
.ds-bar i{display:block;height:100%;width:0;border-radius:4px;background:#b6f34c;box-shadow:0 0 10px rgba(182,243,76,.7);transition:width .25s ease;animation:none}
.ds-pct{display:flex;justify-content:space-between;margin-top:9px;font-size:12px;font-weight:500;color:#8b8b8b;font-variant-numeric:tabular-nums}
.ds-brand{position:absolute;bottom:calc(clamp(14px,3.2cqh,24px) + env(safe-area-inset-bottom));width:clamp(88px,26vmin,120px);opacity:.75}
@media (prefers-reduced-motion:reduce){.ds-main,.ds-sheen{animation:none}}
