/* ==========================================================================
   dash-metal.css — الرئيسية: تفخيم التاسك بار والبلوكات وصورة العضو، وإطار محيط كما كان مرفوعًا قليلًا
   طبقة إضافية تُحمَّل بعد dash-fx.css. الإزالة: احذف هذا الملف + dash-metal.js + سطرَي تحميلهما في styles/htm/header.htm.

   القاعدة: التفخيم محصور في ثلاثة أشياء — التاسك بار، البلوكات، صورة العضو (+ أزرار التاسك بار). الباقي هادئ.
   • الإطار المحيط (.frame): هندسته القديمة كما هي (عرض كامل، نفس الحشوة)، يُرفع قليلًا فقط: حافة لامعة + ظل خفيف.
   • الهيدر بلا ظل، والمسرح غائر داخل الإطار.
   • العين: أصغر وبلا توهّج، وحلقة الوقت حولها شفافة جدًا.
   ========================================================================== */
:root { --pl-glow: rgba(108, 63, 255, .30); }
:root[data-tod="morning"] { --pl-glow: rgba(255, 170, 80, .34); }
:root[data-tod="noon"]    { --pl-glow: rgba(90, 150, 255, .26); }
:root[data-tod="evening"] { --pl-glow: rgba(255, 100, 90, .32); }
:root[data-tod="night"]   { --pl-glow: rgba(70, 80, 220, .36); }

/* ---------- 1) الإطار المحيط: كما كان، مرفوع قليلًا ---------- */
html body .frame:not(#fx) {
  background: linear-gradient(-180deg, #fefefe 0%, #f6f7fa 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 1px 2px rgba(8, 12, 30, .22),
    0 6px 14px -6px rgba(8, 12, 30, .30),
    0 14px 30px -14px var(--pl-glow);
}
html body .vr-header:not(#fx) {
  background: linear-gradient(-180deg, #fefefe 0%, #f8f9fc 100%);
  box-shadow: none;
}

/* ---------- 2) المسرح غائر ---------- */
html body .inner:not(#fx) { box-shadow: 0 1px 0 rgba(255, 255, 255, .95); }
html body .inner:not(#fx)::after {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22), inset 0 -2px 4px rgba(0, 0, 0, .18);
}

/* ---------- 3) العين أصغر وأهدأ + حلقة وقت شفافة جدًا ---------- */
html body .vr-logo-icon:not(#fx) { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
html body .vr-logo-icon .eye-orb:not(#fx) {
  --s: 24px; animation: none;
  /* بلا حلقة بيضاء حول الكرة: الدائرة الوحيدة هي ::before أدناه، والباقي ظلّ عمق فقط */
  box-shadow: 0 1px 3px rgba(15, 20, 50, .30), 0 4px 10px -4px rgba(15, 20, 50, .26);
}
html body .vr-logo-icon .eye-orb:not(#fx)::before { filter: blur(calc(var(--s) * .06)) saturate(1.05); }
html body .vr-logo:hover .eye-orb:not(#fx) { scale: 1.04; }
/* ---------- 3b) مدار واحد شفاف حول العين ----------
   كان أوسع من العين بـ 9px على كل جانب وبحدّ كامل مصمت، فبدا كدائرة ثانية لا كجزء منها، ودورته (60 ثانية) لا تُرى.
   الآن: حلقة قطرها = قطر العين + 6px فقط (فجوة 3px)، رقيقة (1.25px)، لونها واحد بشفافية منخفضة،
   وفيها «ذيل» متلاشٍ كالمذنّب يدور بنعومة كل 4 ثوانٍ — الحركة نفسها هي الزينة، لا الحدّ المصمت.
   المقاسات كلها من --ring-gap حتى تتبع العين في الجوال دون قواعد إضافية. */
html body .vr-logo-icon:not(#fx) { --ring-gap: 2px; --ring-w: 1.25px; }
html body .vr-logo-icon:not(#fx)::before {
  content: ""; position: absolute; inset: var(--ring-gap); border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg,
    rgba(108, 63, 255, 0) 0deg,
    rgba(108, 63, 255, .10) 120deg,
    rgba(108, 63, 255, .45) 300deg,
    rgba(108, 63, 255, .70) 350deg,
    rgba(108, 63, 255, 0) 360deg);   /* ذيل يتلاشى من الخلف، ورأس ينتهي بنعومة */
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-w) - .4px), #000 calc(100% - var(--ring-w)));
          mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-w) - .4px), #000 calc(100% - var(--ring-w)));
  animation: dmOrbit 4s linear infinite;
  will-change: transform;
}
@keyframes dmOrbit { to { transform: rotate(-360deg); } }

/* (التاسك بار وزر الصوت انتقلا إلى dash-keys.css ليعمّا كل الصفحات) */

/* ---------- 5) صورة العضو: ظلال طبقية تحتها + حلقة ---------- */
html body .vr-w-avatar:not(#fx) {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .62),
    0 0 0 3px rgba(20, 20, 50, .35),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 2px 3px rgba(0, 0, 0, .45),                  /* تماس */
    0 10px 16px -6px rgba(0, 0, 0, .55),           /* قريب تحتها */
    0 22px 30px -14px rgba(0, 0, 0, .50),          /* بعيد */
    0 16px 26px -12px rgba(120, 90, 255, .55);     /* طبقة نيون سفلية */
}
html body .vr-w-avatar:not(#fx):hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 2px rgba(255, 255, 255, .8), 0 0 0 3px rgba(120, 90, 255, .5), 0 3px 4px rgba(0, 0, 0, .45), 0 14px 20px -6px rgba(0, 0, 0, .55), 0 28px 36px -14px rgba(0, 0, 0, .5), 0 18px 30px -10px rgba(120, 90, 255, .8); }
html body .eyeerp-home .eyeerp-home-user-avatar:not(#fx) {
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55), 0 2px 3px rgba(0, 0, 0, .55), 0 6px 10px -4px rgba(0, 0, 0, .6), 0 8px 14px -6px rgba(120, 90, 255, .6);
}

/* ---------- 6) البلوكات: عمق أكبر (تماس + قريب + بعيد + لون) ولمعة علوية ---------- */
html body .vr-card--schedule:not(#fx) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(20, 24, 48, .06), 0 0 0 1px rgba(255, 255, 255, .25),
    0 1px 2px rgba(8, 12, 30, .22), 0 6px 12px -3px rgba(8, 12, 30, .26), 0 18px 28px -12px rgba(8, 12, 30, .42), 0 32px 50px -24px rgba(8, 12, 30, .45), 0 24px 40px -22px rgba(90, 120, 255, .45);
}
html body .vr-card--todo:not(#fx) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(150, 120, 255, .16), 0 0 0 1px rgba(0, 0, 0, .25),
    0 1px 2px rgba(0, 0, 0, .5), 0 6px 12px -3px rgba(0, 0, 0, .48), 0 20px 30px -12px rgba(0, 0, 0, .6), 0 32px 50px -24px rgba(0, 0, 0, .6), 0 24px 44px -20px rgba(108, 63, 255, .6);
}
html body .vr-card--profile:not(#fx) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 4px rgba(120, 50, 0, .2), 0 0 0 1px rgba(255, 190, 100, .25),
    0 1px 2px rgba(120, 50, 0, .35), 0 7px 12px -3px rgba(150, 70, 0, .36), 0 20px 30px -12px rgba(150, 70, 0, .5), 0 32px 50px -24px rgba(150, 70, 0, .5), 0 24px 44px -20px rgba(255, 150, 40, .6);
}

@media (max-width: 720px) { html body .vr-logo-icon:not(#fx) { width: 30px; height: 30px; } html body .vr-logo-icon .eye-orb:not(#fx) { --s: 21px; } }
@media (prefers-reduced-motion: reduce) { html body .vr-logo-icon:not(#fx)::before { animation: none; transform: rotate(-200deg); } }
