    :root {
      --bg-0: #0a1226;
      --splash-bg: #131417;
      --bg-1: #0f172a;
      --bg-2: #152043;
      --amber: #fbab15;
      --amber-soft: #ffd27a;
      --ink: #f8fafc;
      --ink-dim: rgba(248, 250, 252, .6);
      --grid: rgba(251, 171, 21, .07);
      --ring: rgba(251, 171, 21, .22);
    }

    * { box-sizing: border-box; }

    /* ============ Splash Screen ============ */
    #splash-screen {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      overflow: hidden;
      background: var(--splash-bg);
      display: grid;
      grid-template-rows: 1fr auto;
      place-items: center;
      padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
      z-index: 999999;
      isolation: isolate;
      font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
      transition: opacity .6s cubic-bezier(0.65, 0, 0.35, 1), transform .6s cubic-bezier(0.65, 0, 0.35, 1), filter .6s ease;
    }

    #splash-screen.fade-out {
      opacity: 0;
      transform: scale(1.04);
      filter: blur(12px);
      pointer-events: none;
    }

    /* التوهج الكهرماني المحيط */
    .splash-glow {
      position: absolute;
      inset: 0;
      background: radial-gradient(58% 46% at 50% 38%, rgba(245, 163, 16, .16) 0%, rgba(245, 163, 16, .05) 45%, rgba(19, 20, 23, 0) 78%);
      animation: splashGlow 6s ease-in-out infinite;
      z-index: 0;
    }

    @keyframes splashGlow {
      0%, 100% { opacity: .5; }
      50% { opacity: .85; }
    }

    /* شبكة الخريطة الخفيفة */
    .splash-grid {
      position: absolute;
      inset: 0;
      opacity: .5;
      background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
      background-size: 68px 68px;
      mask-image: radial-gradient(60% 50% at 50% 40%, #000 0%, transparent 75%);
      -webkit-mask-image: radial-gradient(60% 50% at 50% 40%, #000 0%, transparent 75%);
      z-index: 0;
    }

    /* محتوى الشعار والنص */
    .splash-content {
      position: relative;
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(22px, 4vh, 40px);
      text-align: center;
    }

    .logo-box {
      position: relative;
      display: grid;
      place-items: center;
      width: clamp(120px, 30vmin, 176px);
      height: clamp(120px, 30vmin, 176px);
    }

    /* الحلقات المتموجة */
    .splash-ring {
      position: absolute;
      inset: -46%;
      border-radius: 50%;
      border: 1px solid rgba(245, 163, 16, .45);
      animation: splashPing 3.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
    }

    .splash-ring:nth-child(2) { border-color: rgba(245, 163, 16, .35); animation-delay: 1.15s; }
    .splash-ring:nth-child(3) { border-color: rgba(245, 163, 16, .25); animation-delay: 2.3s; }

    @keyframes splashPing {
      0% { transform: scale(.55); opacity: 0; }
      18% { opacity: .55; }
      100% { transform: scale(1.5); opacity: 0; }
    }

    .logo-tile {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 26%;
      background: linear-gradient(160deg, #FFB829 0%, #F5A310 52%, #E08D05 100%);
      box-shadow:
        0 24px 60px -18px rgba(245, 163, 16, .55),
        inset 0 1px 0 rgba(255, 255, 255, .35);
      display: grid;
      place-items: center;
      animation: pinDrop 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes pinDrop {
      0% { transform: translateY(-28px) scale(.92); opacity: 0; }
      55% { transform: translateY(4px) scale(1.02); opacity: 1; }
      100% { transform: translateY(0) scale(1); opacity: 1; }
    }

    .logo-tile svg {
      width: 56%;
      height: 56%;
      display: block;
      filter: drop-shadow(0 3px 6px rgba(120, 70, 0, .28));
    }

    @keyframes splashFadeUp {
      from { transform: translateY(10px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    /* شريط التقدم والحالة */
    .splash-footer {
      position: relative;
      z-index: 3;
      display: flex;
      /* عموداً لا صفّاً: الإشعار أسفل الشريط لا بجانبه */
      flex-direction: column;
      align-items: center;
      gap: clamp(10px, 2.2vh, 16px);
      justify-content: center;
      width: 100%;
      padding-bottom: clamp(10px, 4vh, 28px);
      animation: splashFadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms both;
    }

    .splash-progress {
      width: min(220px, 62vw);
      height: 3px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .09);
      overflow: hidden;
    }

    .splash-progress-bar {
      width: 100%;
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(245, 163, 16, 0) 0%, #F5A310 55%, #FFC352 100%);
      animation: splashBar 2.1s cubic-bezier(0.45, 0, 0.2, 1) infinite;
    }

    /* ── إشعار الحقوق ──
       رسميّ لا زخرفيّ: صغير، خفيض التباين، وفوقه شعرة فاصلة */
    .splash-rights {
      position: relative;
      display: flex;
      align-items: baseline;
      justify-content: center;
      flex-wrap: wrap;
      gap: 6px;
      margin: 0;
      padding-top: clamp(9px, 1.8vh, 14px);
      max-width: min(420px, 86vw);
      font-size: clamp(9.5px, 2.5vw, 11px);
      font-weight: 500;
      line-height: 1.6;
      letter-spacing: .2px;
      color: rgba(255, 255, 255, .42);
      text-align: center;
      /* السطر لاتينيّ كلّه: ‎ltr‎ يرتّبه طبيعياً بلا عزل لكل جزء */
      direction: ltr;
      user-select: none;
    }

    .splash-rights::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: min(150px, 42vw);
      height: 1px;
      transform: translateX(-50%);
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
    }

    .splash-rights-mark {
      font-variant-numeric: tabular-nums;
      letter-spacing: .6px;
      white-space: nowrap;
    }

    .splash-rights-brand {
      font-weight: 700;
      color: rgba(251, 171, 21, .68);
      white-space: nowrap;
    }

    .splash-rights-text { white-space: nowrap; }

    @media (max-height: 520px) {
      .splash-rights { padding-top: 8px; font-size: 9px; }
    }

    @keyframes splashBar {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(0); }
    }

    @media (prefers-reduced-motion: reduce) {
      #splash-screen *, #splash-screen { animation: none !important; }
    }

    body.splash-active {
      overflow: hidden;
      background: var(--splash-bg);
      margin: 0;
      height: 100vh;
      height: 100dvh;
    }

    /* على رابط PalNovaa Foresight وحده: لا تُعرض سبلاش الموقع العامّة،
       فصفحة Foresight لها سبلاشها الخاصّة (تجنّب ظهور سبلاشَيْن) */
    html.pn-foresight #splash-screen { display: none !important; }
    html.pn-foresight body.splash-active { background: #000; }
  