


  /* ================= Mr Py splash ================= */
  #mrpy-splash {
    position: fixed; inset: 0; z-index: 9999;
    background: #111414; overflow: hidden; cursor: pointer;
    animation: mrpy-out .55s cubic-bezier(.6,0,.4,1) 2.45s forwards;
  }
  #mrpy-splash svg { width: 100%; height: 100%; display: block; }
  #mrpy-splash path { fill: none; stroke-linejoin: round; }

  /* every path has pathLength=1, so a 1-long dash covers it */
  #mrpy-splash .d {
    stroke-dasharray: 1 1; stroke-dashoffset: 1;
    animation: mrpy-draw var(--dur) cubic-bezier(.7,0,.2,1) var(--delay) forwards;
  }
  #mrpy-splash .mark {
    transform-box: view-box; transform-origin: 50% 50%;
    animation: mrpy-settle 2.5s cubic-bezier(.2,.7,.2,1) forwards;
  }

  @keyframes mrpy-draw   { to { stroke-dashoffset: 0; } }
  @keyframes mrpy-settle { 0% { transform: scale(1.12); } 45% { transform: scale(1.0); } 100% { transform: scale(.97); } }
  @keyframes mrpy-out    { to { opacity: 0; visibility: hidden; } }

  @media (prefers-reduced-motion: reduce) {
    #mrpy-splash .d { animation-duration: .01s; animation-delay: 0s; }
    #mrpy-splash .mark { animation: none; }
    #mrpy-splash { animation-delay: .45s; animation-duration: .25s; }
    #mrpy-splash #mrpy-art { animation: none; }
  }
  /* ================================================ */

  #mrpy-splash #mrpy-art { animation: mrpy-glow .7s ease-in-out 1.95s both; }
  @keyframes mrpy-glow {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    45% { filter: drop-shadow(0 0 1.4px #00f0ff99) drop-shadow(0 0 3px #ff2bd655); }
  }
  #mrpy-splash .splash-skip {
    position: absolute; right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom)); padding: 11px 17px;
    border: 1px solid #eceae455; border-radius: 30px; color: #eceae4;
    background: #111414cc; font: 13px system-ui, sans-serif; cursor: pointer;
  }
  #mrpy-splash .splash-skip:hover { background: #eceae41a; border-color: #eceae4; }
  #mrpy-splash .splash-skip:focus-visible { outline: 2px solid #b6ff2e; outline-offset: 4px; }
  @media (prefers-reduced-motion: reduce) { #mrpy-splash #mrpy-art { animation: none; } }
