/* شغلانة 3.0 — القالب الداكن الأصلي (custom، من غير مكتبات خارجية). كل بند D# مسجّل في js/core/design.js ومختبر. */
:root {
  color-scheme: dark;
  /* D1-D15 ألوان */
  --bg: #0a0f0d;                                    /* D1 */
  --card: #141c18;                                  /* D2 */
  --card-2: #1b2621;                                /* D3 */
  --line: #25322b;                                  /* D4 */
  --ink: #eaf4ee;                                   /* D5 */
  --ink-2: #aabdb3;                                 /* D6 */
  --ink-3: #7a8f84;
  --green: #1fd38a;                                 /* D7 accent */
  --green-dark: #86f0c0;
  --green-soft: rgba(31, 211, 138, .14);
  --gold: #f7b93e;                                  /* D8 */
  --amber: #f7b93e; --amber-soft: rgba(247, 185, 62, .14);
  --red: #ff7070; --red-soft: rgba(255, 112, 112, .14); /* D9 */
  --blue: #6cb2ff; --blue-soft: rgba(108, 178, 255, .14); /* D10 */
  --grad-hero: linear-gradient(135deg, #0f6b49 0%, #0b3d2c 55%, #0c1d17 100%); /* D11 */
  --grad-gold: linear-gradient(135deg, #ffd36b, #f08a24);                      /* D12 */
  --glow-accent: 0 0 22px rgba(31, 211, 138, .45);  /* D13 */
  --glow-gold: 0 0 22px rgba(247, 185, 62, .45);    /* D14 */
  --scrim: rgba(3, 7, 5, .72);                      /* D15 */
  /* D16-D27 خطوط */
  --font: "Shoghlana Kufi", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; /* D16 */
  --fs-xs: .68rem; --fs-sm: .78rem; --fs-md: .92rem; --fs-lg: 1.1rem; --fs-xl: 1.5rem; /* D17-D21 */
  --lh-body: 1.75; --lh-tight: 1.3;                 /* D22-D23 */
  --fw-bold: 700;                                   /* D24 */
  --ls: 0;                                          /* D27 */
  /* D28-D39 مسافات وحواف وظلال */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-pill: 999px;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.35); /* D37 */
  --shadow-2: 0 14px 40px rgba(0,0,0,.5);           /* D38 */
  --shadow-glow: 0 0 0 1px rgba(31,211,138,.35), 0 10px 30px rgba(31,211,138,.18); /* D39 */
  --icon-sw: 1.8;                                   /* D75 */
  --tabbar-h: 66px; --appbar-h: 62px;
  --ease: cubic-bezier(.2, .9, .3, 1);
}

/* ===== أساس ===== */
html { background: var(--bg); }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  line-height: var(--lh-body); letter-spacing: var(--ls);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body, .app { background: radial-gradient(120% 60% at 50% -10%, #12261d 0%, var(--bg) 60%) fixed, var(--bg); }
::selection { background: rgba(31, 211, 138, .35); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
button, input, select, textarea { font-family: var(--font); }
h1, h2, h3, h4 { line-height: var(--lh-tight); font-weight: 800; }

/* ===== شريط علوي D44: زجاجي ===== */
.appbar {
  background: rgba(12, 20, 16, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line); border-radius: 0 0 22px 22px;
  padding-top: env(safe-area-inset-top); height: calc(var(--appbar-h) + env(safe-area-inset-top)); /* D40 */
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.appbar-logo { background: var(--grad-hero); border: 1px solid rgba(31,211,138,.4); box-shadow: var(--glow-accent); }
.appbar-title { font-weight: 800; letter-spacing: 0; background: linear-gradient(90deg, #fff, #9ff3cd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.appbar-sub { color: var(--ink-2); opacity: 1; }
.iconbtn { background: var(--card-2); border: 1px solid var(--line); color: var(--green-dark); transition: transform .15s var(--ease), box-shadow .2s; }
.iconbtn:hover { box-shadow: var(--glow-accent); }
.iconbtn:active { transform: scale(.92); }
.view { animation: viewin .32s var(--ease); }          /* D83 */
@keyframes viewin { from { opacity: 0; transform: translateY(12px) scale(.995); } to { opacity: 1; transform: none; } }

/* ===== تاب بار D66/D67: التاب الأوسط مرفوع ===== */
.tabbar {
  background: rgba(14, 22, 18, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0,0,0,.45);
  border-radius: 24px 24px 0 0; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
.tabbar button { color: var(--ink-3); font-size: .62rem; transition: color .2s, transform .2s var(--ease); }
.tabbar button svg { width: 23px; height: 23px; transition: transform .25s var(--ease), filter .25s; }
.tabbar button.active { color: var(--green); }
.tabbar button.active svg { filter: drop-shadow(0 0 8px rgba(31,211,138,.7)); transform: translateY(-2px); }
.tabbar button.active::before { height: 3px; width: 26px; background: var(--green); box-shadow: var(--glow-accent); }
.tabbar button:nth-child(3) { overflow: visible; }
.tabbar button:nth-child(3) svg {
  width: 52px; height: 52px; padding: 13px; margin-top: -30px; border-radius: 50%;
  background: var(--card-2); border: 2px solid var(--line); color: var(--green);
  box-shadow: 0 8px 20px rgba(0,0,0,.55);
}
.tabbar button:nth-child(3).active svg {
  background: linear-gradient(145deg, #25e39a, #0f9d63); color: #04140d; border-color: rgba(255,255,255,.25);
  box-shadow: var(--glow-accent), 0 10px 24px rgba(0,0,0,.5); transform: translateY(-3px); filter: none;
}
.tabbar button:nth-child(3).active::before { display: none; }
.tabbar .badge-dot { background: var(--red); color: #fff; box-shadow: 0 0 10px rgba(255,112,112,.7); animation: pulse 2s infinite; } /* D88 */
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,112,112,.55); } 50% { box-shadow: 0 0 0 7px rgba(255,112,112,0); } }

/* ===== كروت ===== */
.card, .job, .stat { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.card-title { color: var(--ink); }
.card-sub { color: var(--ink-2); }
.hero { background: var(--grad-hero); border: 1px solid rgba(31,211,138,.28); box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255,255,255,.08); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(247,185,62,.28), transparent 70%); pointer-events: none; }
.hero h2 { color: #fff; font-size: var(--fs-lg); } .hero p { color: #cfeadc; opacity: 1; }
.hero-tool { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); transition: transform .15s var(--ease), background .2s; }
.hero-tool:hover { background: rgba(31,211,138,.18); }
.stat b { color: var(--green); text-shadow: 0 0 14px rgba(31,211,138,.45); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); }

/* ===== أزرار D50-D53 ===== */
.btn { border-radius: var(--r-md); transition: transform .15s var(--ease), box-shadow .2s, filter .15s; }
.btn-primary { background: linear-gradient(145deg, #25e39a, #12a96b); color: #04140d; box-shadow: 0 6px 18px rgba(31,211,138,.28); }
.btn-primary:hover { box-shadow: var(--glow-accent); filter: none; }
.btn-white { background: #eafff5; color: #064730; }
.btn-soft { background: var(--green-soft); color: var(--green-dark); border: 1px solid rgba(31,211,138,.25); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-amber { background: var(--amber-soft); color: var(--gold); border: 1px solid rgba(247,185,62,.3); }
.btn-danger { background: var(--red-soft); color: var(--red); border: 1px solid rgba(255,112,112,.3); }
.btn-gold { background: var(--grad-gold); color: #2a1700; box-shadow: 0 6px 18px rgba(247,185,62,.28); }   /* D51 */
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }            /* D52 */
.fab { width: 56px; height: 56px; border-radius: 50%; padding: 0; background: var(--grad-gold); color: #2a1700; box-shadow: var(--glow-gold); } /* D53 */

/* ===== شارات D54/D55 ===== */
.chip { background: var(--green-soft); color: var(--green-dark); border: 1px solid rgba(31,211,138,.22); }
.chip-muted { background: rgba(255,255,255,.06); color: var(--ink-2); border-color: var(--line); }
.chip-amber { background: var(--amber-soft); color: var(--gold); border-color: rgba(247,185,62,.28); }
.chip-blue { background: var(--blue-soft); color: var(--blue); border-color: rgba(108,178,255,.28); }
.chip-red { background: var(--red-soft); color: var(--red); border-color: rgba(255,112,112,.28); }
.chip-green { background: var(--green-soft); color: var(--green-dark); }
.badge-glow { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 800; background: var(--grad-gold); color: #2a1700; box-shadow: var(--glow-gold); }

/* ===== حقول D58 ===== */
.field label { color: var(--ink-2); }
.field input, .field select, .field textarea, .input, textarea.input {
  background: #0e1512; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,211,138,.22); }
.check { background: #0e1512; border-color: var(--line); color: var(--ink-2); transition: all .2s var(--ease); }
.check.on { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); box-shadow: 0 0 12px rgba(31,211,138,.25); }
.iconbtn-soft { background: #0e1512; border-color: var(--line); color: var(--green); }
.pipe-tab { background: #0e1512; border-color: var(--line); color: var(--ink-2); transition: all .2s var(--ease); }
.pipe-tab.on { background: linear-gradient(145deg, #25e39a, #12a96b); color: #04140d; border-color: transparent; box-shadow: 0 4px 14px rgba(31,211,138,.3); }

/* ===== بقية التحويل للداكن ===== */
.job-score { background: var(--green-soft); color: var(--green-dark); border: 1px solid rgba(31,211,138,.25); }
.job-score.mid { background: var(--amber-soft); color: var(--gold); border-color: rgba(247,185,62,.3); }
.job-score.low { background: rgba(255,255,255,.06); color: var(--ink-3); border-color: var(--line); }
.job-title { color: var(--ink); } .job-company, .job-snippet { color: var(--ink-2); }
.job-new::after { background: var(--grad-gold); color: #2a1700; box-shadow: var(--glow-gold); }
.job-urgent { border-inline-start: 4px solid var(--red); }
.notice-amber { background: var(--amber-soft); color: #f6d58d; border: 1px solid rgba(247,185,62,.25); }
.notice-blue { background: var(--blue-soft); color: #b7d9ff; border: 1px solid rgba(108,178,255,.25); }
.notice-green { background: var(--green-soft); color: var(--green-dark); border: 1px solid rgba(31,211,138,.25); }
.card-alert { border: 1.5px solid rgba(255,112,112,.4); }
.qa { background: #0e1512; border-color: var(--line); } .qa p { color: var(--ink-2); }
.bubble.me { background: var(--green-soft); color: var(--green-dark); } .bubble.them { background: var(--card-2); color: var(--ink); }
.progress-track, .meter { background: #0e1512; border: 1px solid var(--line); }
.progress-fill, .meter-fill { background: linear-gradient(90deg, #12a96b, #25e39a); box-shadow: 0 0 10px rgba(31,211,138,.5); }
.bar { background: linear-gradient(180deg, rgba(31,211,138,.7), rgba(31,211,138,.15)); } .bar span { color: var(--ink-2); }
.star { color: #3a4a41; } .star.on { color: var(--gold); filter: drop-shadow(0 0 5px rgba(247,185,62,.6)); }
.avatar { border-color: var(--green); } .avatar-empty { background: var(--green-soft); }
.cvframe { border-color: var(--line); }
.empty { color: var(--ink-3); } .empty h3 { color: var(--ink-2); }
.empty svg { color: var(--green); opacity: .5; filter: drop-shadow(0 0 12px rgba(31,211,138,.4)); }
.divider { background: var(--line); } .linkbtn, .link { color: var(--green); }
.line-row, .srcline, .demo-row { border-color: var(--line); }
.sheet { background: linear-gradient(180deg, #1a2520, #111915); border: 1px solid var(--line); border-bottom: 0; box-shadow: var(--shadow-2); animation: sheetup .34s var(--ease); } /* D86 */
.sheet-grip { background: #34463d; width: 44px; } .sheet-h { color: var(--green-dark); }
.sheet-backdrop { background: var(--scrim); backdrop-filter: blur(3px); }
.toast { background: #0c1511; border: 1px solid rgba(31,211,138,.4); color: var(--ink); box-shadow: var(--glow-accent); border-radius: var(--r-md); }
@media (min-width: 481px) {                                  /* D47 */
  body { background: #050806; }
  .app { box-shadow: 0 0 0 1px var(--line), 0 20px 80px rgba(0,0,0,.7); border-radius: 0; }
}
body.textmode .hero { background: #0b3d2c; } body.lite .view, body.textmode .view { animation: none; }
.view[tabindex] { outline: none; }

/* ===== مكوّنات وقوالب جديدة ===== */
.card-glass { background: rgba(255,255,255,.05); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); }                       /* D56 */
.card-ring { border: 1.5px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--green), var(--gold)) border-box; } /* D57 */
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: var(--r-pill); background: #2a3830; position: relative; cursor: pointer; transition: background .25s; border: 0; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: inset-inline-start .25s var(--ease); }
.switch:checked { background: var(--green); } .switch:checked::after { inset-inline-start: 23px; }                                                  /* D59 */
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-md); background: #0e1512; border: 1px solid var(--line); gap: 2px; }                /* D60 */
.seg button { border: 0; background: none; color: var(--ink-2); padding: 7px 14px; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.seg button.on { background: var(--green-soft); color: var(--green-dark); }
.ring { --p: 60; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--green);
  background: conic-gradient(var(--green) calc(var(--p) * 1%), #1e2a24 0); position: relative; }                                                   /* D61 */
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); } .ring > * { position: relative; }
.skeleton { background: linear-gradient(90deg, #17211c 25%, #22302a 50%, #17211c 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); min-height: 14px; } /* D62/D87 */
@keyframes shimmer { to { background-position: -200% 0; } }
.avatar-ring { border-radius: 50%; padding: 3px; background: conic-gradient(var(--green), var(--gold), var(--green)); display: inline-grid; }          /* D63 */
.row-item { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); margin-bottom: var(--sp-2); } /* D65 */
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #22302a; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 700; }   /* D72 */
.divider-glow { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--green), transparent); margin: var(--sp-4) 0; opacity: .6; }       /* D73 */
.step-dots { display: flex; gap: 6px; justify-content: center; } .step-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2c3b33; } .step-dots i.on { width: 22px; border-radius: 6px; background: var(--green); box-shadow: var(--glow-accent); } /* D74 */
.empty-ring { width: 96px; height: 96px; margin: 0 auto var(--sp-3); border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(31,211,138,.4); background: var(--green-soft); } /* D71 */

/* تخطيط D41-D49 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.hscroll { display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-2); scrollbar-width: none; } .hscroll > * { scroll-snap-align: start; flex: none; }
.stack { display: grid; gap: var(--sp-3); }
.sticky-cta { position: sticky; bottom: calc(var(--tabbar-h) + 10px); z-index: 5; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: var(--sp-4) 0 var(--sp-2); font-weight: 800; font-size: var(--fs-md); }
.section-head::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--grad-gold); margin-inline-end: 8px; }
.split { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }

/* نصوص D25/D26 */
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.eyebrow { font-size: var(--fs-xs); color: var(--gold); font-weight: 800; letter-spacing: 0; text-transform: none; }

/* أيقونات D76-D78/D82 */
.ico-tile { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: linear-gradient(145deg, rgba(31,211,138,.25), rgba(31,211,138,.06)); color: var(--green); border: 1px solid rgba(31,211,138,.3); }
.ico-tile svg { width: 22px; height: 22px; }
.ico-gold { background: linear-gradient(145deg, rgba(247,185,62,.3), rgba(247,185,62,.06)); color: var(--gold); border-color: rgba(247,185,62,.35); }
.ico-blue { background: linear-gradient(145deg, rgba(108,178,255,.3), rgba(108,178,255,.06)); color: var(--blue); border-color: rgba(108,178,255,.35); }
.ico-red { background: linear-gradient(145deg, rgba(255,112,112,.3), rgba(255,112,112,.06)); color: var(--red); border-color: rgba(255,112,112,.35); }
.ico-sm svg { width: 16px; height: 16px; } .ico-lg svg { width: 30px; height: 30px; }
.pressable { transition: transform .15s var(--ease), box-shadow .2s; } .pressable:active { transform: scale(.96); }

/* حركة D84/D85/D89 */
.stagger > * { animation: viewin .4s var(--ease) both; }
.stagger > *:nth-child(2) { animation-delay: .05s; } .stagger > *:nth-child(3) { animation-delay: .1s; } .stagger > *:nth-child(4) { animation-delay: .15s; } .stagger > *:nth-child(n+5) { animation-delay: .2s; }
.float { animation: floaty 4s ease-in-out infinite; } @keyframes floaty { 50% { transform: translateY(-6px); } }
.bar-grow { animation: grow .8s var(--ease) both; transform-origin: left; } @keyframes grow { from { transform: scaleX(0); } }
.btn:active, .hero-tool:active, .iconbtn:active { transform: scale(.95); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }  /* D91 */

/* شاشة الأدوات (ميزات الـ٥٠) D96 */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.tool-card { text-align: start; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-3); color: var(--ink); cursor: pointer; display: grid; gap: 8px; box-shadow: var(--shadow); font-family: inherit; position: relative; }
.tool-card b { font-size: var(--fs-sm); line-height: 1.4; } .tool-card span.d { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.5; }
.tool-card .demo-flag { position: absolute; top: 8px; inset-inline-end: 8px; }
.tool-out { background: #0e1512; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-3); margin-top: var(--sp-3); font-size: var(--fs-sm); line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.tool-out .k { color: var(--ink-2); } .tool-out .v { color: var(--green-dark); font-weight: 800; }
.group-title { margin: var(--sp-5) 0 var(--sp-2); font-size: var(--fs-md); color: var(--green-dark); }

/* ===== السبلاش D93/D94/D95 ===== */
#splash { position: fixed; inset: 0; z-index: 999; background: #000; display: grid; overflow: hidden; transition: opacity .5s ease, visibility .5s; }
#splash.gone { opacity: 0; visibility: hidden; pointer-events: none; }
#splash .sp-clean, #splash .sp-scene { grid-area: 1/1; transition: opacity .6s ease; }
#splash .sp-clean { display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(70% 45% at 50% 48%, #0d2a1f, #000 70%); }
#splash.phase2 .sp-clean { opacity: 0; pointer-events: none; }
#splash .sp-scene { opacity: 0; }
#splash.phase2 .sp-scene { opacity: 1; }
.sp-name { font-size: 3.2rem; font-weight: 800; color: #fff; margin: 0; text-shadow: 0 0 30px rgba(31,211,138,.45); }
.sp-emblem { width: 76px; height: 76px; animation: floaty 3s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(31,211,138,.6)); }
.sp-scene { background: linear-gradient(180deg, #07120d 0%, #0e3a29 55%, #1b5a3c 100%); display: grid; grid-template-rows: 1fr auto; }
.sp-scene svg.art { width: 100%; height: 100%; max-height: 70dvh; align-self: end; }
.sp-scene .sp-title { position: absolute; top: 9dvh; left: 0; right: 0; text-align: center; font-size: 2.6rem; font-weight: 800; color: #fff; margin: 0; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.sp-bottom { padding: 18px 28px calc(28px + env(safe-area-inset-bottom)); text-align: center; color: #d6efe3; font-weight: 700; font-size: var(--fs-sm); background: linear-gradient(180deg, transparent, rgba(0,0,0,.5)); }
.sp-track { height: 10px; border-radius: 99px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1); margin-top: 12px; overflow: hidden; }
.sp-fill { height: 100%; width: 0; background: var(--grad-gold); border-radius: 99px; box-shadow: var(--glow-gold); transition: width .45s ease; }
#splash.gone .sp-fill { transition: width .2s ease; }
.sp-gear { transform-origin: center; transform-box: fill-box; animation: spin 8s linear infinite; }
.sp-spark { animation: pulse2 1.6s ease-in-out infinite; } @keyframes pulse2 { 50% { opacity: .25; } }
/* شبكة أمان: لو الجافاسكربت وقع، السبلاش بيختفي لوحده بعد ٤ ثواني */
#splash { animation: spfail 0s linear 4.2s forwards; }
@keyframes spfail { to { opacity: 0; visibility: hidden; pointer-events: none; } }
html.nosplash #splash { display: none; }
.ico-lg { display: inline-grid; }
