{
  "language": {
    "id": "ar",
    "tag": "ar",
    "name": "العربية"
  },
  "note": "لاقتراح تصحيحات، نزّل نص هذه اللغة وعدّله، ثم أرسل الملف إلى i@kubai.design.",
  "contact": "i@kubai.design",
  "format": "Each entry gives the English (\"en\") and this language (\"text\"). Change only \"text\", keep {placeholders}, code and HTML tags as they are, and send the file back.",
  "interface": {
    "colon": {
      "en": ": ",
      "text": ": "
    },
    "all": {
      "en": "All",
      "text": "الكل"
    },
    "saved": {
      "en": "Saved",
      "text": "المحفوظات"
    },
    "filterLabel": {
      "en": "Filter by category",
      "text": "التصفية حسب الفئة"
    },
    "savedNone": {
      "en": "No saved tips yet",
      "text": "لا توجد نصائح محفوظة بعد"
    },
    "savedSignIn": {
      "en": "Sign in to see the tips you saved",
      "text": "سجّل الدخول لعرض النصائح التي حفظتها"
    },
    "marksTitle": {
      "en": "(n) => `${n} ${n === 1 ? \"highlight\" : \"highlights\"}`",
      "text": "(n) => {\n\t\t\tconst r = n % 100;\n\t\t\tif (n === 1) return \"تمييز واحد\";\n\t\t\tif (n === 2) return \"تمييزان\";\n\t\t\treturn `${n} ${n === 0 || r >= 3 && r <= 10 ? \"تمييزات\" : r <= 2 ? \"تمييز\" : \"تمييزًا\"}`;\n\t\t}"
    },
    "marksExport": {
      "en": "Export as Markdown",
      "text": "تصدير بصيغة Markdown"
    },
    "ellipsis": {
      "en": "…",
      "text": "…"
    },
    "marksExported": {
      "en": "Highlights exported",
      "text": "تم تصدير التمييزات"
    },
    "marksFile": {
      "en": "My highlights · Vibe Design Tips",
      "text": "تمييزاتي · Vibe Design Tips"
    },
    "signInClosed": {
      "en": "Sign-in is not open yet",
      "text": "تسجيل الدخول غير متاح بعد"
    },
    "signIn": {
      "en": "Sign in",
      "text": "تسجيل الدخول"
    },
    "save": {
      "en": "Save",
      "text": "حفظ"
    },
    "unsave": {
      "en": "Remove from saved",
      "text": "إزالة من المحفوظات"
    },
    "savedState": {
      "en": "Saved",
      "text": "محفوظة"
    },
    "copy": {
      "en": "Copy",
      "text": "نسخ"
    },
    "copied": {
      "en": "Copied",
      "text": "تم النسخ"
    },
    "promptNote": {
      "en": "Paste it into an agent such as Claude Code or Cursor",
      "text": "الصقه في Agent مثل Claude Code أو Cursor"
    },
    "install": {
      "en": "Copy install prompt",
      "text": "نسخ موجّه التثبيت"
    },
    "installTitle": {
      "en": "Give this prompt to your agent: it installs the Skill, and can update it later",
      "text": "أعطِ هذا الموجّه إلى Agent الذي تستخدمه: سيثبّت الـ Skill ويمكنه تحديثه لاحقًا"
    },
    "installCopied": {
      "en": "Copied. Give it to your agent to install",
      "text": "تم النسخ. أعطه إلى Agent الذي تستخدمه ليثبّته"
    },
    "installPrompt": {
      "en": "(name, guide, mirror) => [\n\t\t`Please install the ${name} Skill for me, from Vibe Design Tips, so it works in every project and can be updated later.`,\n\t\t\"\",\n\t\t`Follow the steps in ${guide} and install ${name}.`,\n\t\t`If GitHub cannot be reached, use ${mirror} instead.`,\n\t\t\"\",\n\t\t\"If it is already installed, follow the update steps there. Then tell me the version and where you installed it.\"\n\t].join(\"\\n\")",
      "text": "(name, guide, mirror) => [\n\t\t\t`ثبّت لي الـ Skill المسمى ${name}، من Vibe Design Tips، بحيث يعمل في كل المشاريع ويمكن تحديثه لاحقًا.`,\n\t\t\t\"\",\n\t\t\t`اتبع الخطوات في ${guide} وثبّت ${name}.`,\n\t\t\t`إذا تعذّر الوصول إلى GitHub، فاستخدم ${mirror} بدلًا منه.`,\n\t\t\t\"\",\n\t\t\t\"إذا كان مثبتًا بالفعل، فاتبع خطوات التحديث الموجودة هناك. ثم أخبرني بالإصدار وأين ثبّته.\"\n\t\t].join(\"\\n\")"
    },
    "copyFailed": {
      "en": "Copy failed",
      "text": "فشل النسخ"
    },
    "demo": {
      "en": "(name) => `${name} demo`",
      "text": "(name) => `عرض توضيحي: ${name}`"
    },
    "reset": {
      "en": "Reset",
      "text": "إعادة الضبط"
    },
    "loadFailed": {
      "en": [
        "Could not load this tip. ",
        "Reload the page",
        " to try again."
      ],
      "text": [
        "تعذّر تحميل هذه النصيحة. ",
        "أعد تحميل الصفحة",
        " للمحاولة مرة أخرى."
      ]
    },
    "viewOnX": {
      "en": "View the post on X",
      "text": "عرض المنشور على X"
    },
    "privacy": {
      "en": "Privacy",
      "text": "الخصوصية"
    },
    "close": {
      "en": "Close",
      "text": "إغلاق"
    },
    "themeToggle": {
      "en": "Dark mode",
      "text": "الوضع الداكن"
    },
    "themeTip": {
      "en": "Dark mode",
      "text": "الوضع الداكن"
    },
    "themeTipDark": {
      "en": "Light mode",
      "text": "الوضع الفاتح"
    },
    "autoplayToggle": {
      "en": "Autoplay videos",
      "text": "التشغيل التلقائي للفيديو"
    },
    "autoplayTip": {
      "en": "Pause autoplay",
      "text": "إيقاف التشغيل التلقائي"
    },
    "autoplayTipOff": {
      "en": "Autoplay videos",
      "text": "تشغيل الفيديو تلقائيًا"
    },
    "langSwitch": {
      "en": "Language",
      "text": "اللغة"
    },
    "sideCollapse": {
      "en": "Collapse sidebar",
      "text": "طي الشريط الجانبي"
    },
    "sideExpand": {
      "en": "Expand sidebar",
      "text": "توسيع الشريط الجانبي"
    },
    "menu": {
      "en": "Menu",
      "text": "القائمة"
    },
    "community": {
      "en": "Join the community",
      "text": "الانضمام إلى المجتمع"
    },
    "projects": {
      "en": "Related work",
      "text": "أعمال ذات صلة"
    },
    "projectPrev": {
      "en": "Previous project",
      "text": "المشروع السابق"
    },
    "projectNext": {
      "en": "Next project",
      "text": "المشروع التالي"
    },
    "readingTools": {
      "en": "Reading tools",
      "text": "أدوات القراءة"
    },
    "textSize": {
      "en": "Text size",
      "text": "حجم النص"
    },
    "focus": {
      "en": "Focus mode",
      "text": "وضع التركيز"
    },
    "exitFocus": {
      "en": "Show the demo",
      "text": "إظهار العرض التوضيحي"
    },
    "prev": {
      "en": "Previous",
      "text": "السابق"
    },
    "next": {
      "en": "Next",
      "text": "التالي"
    },
    "moreTips": {
      "en": "Previous and next tips",
      "text": "النصائح السابقة والتالية"
    },
    "seriesStats": {
      "en": "(views, likes, bookmarks) => `The series on X: ${views} views, ${likes} likes, ${bookmarks} bookmarks`",
      "text": "(views, likes, bookmarks) => `أرقام السلسلة على X: المشاهدات ${views}، والإعجابات ${likes}، والعلامات المرجعية ${bookmarks}`"
    },
    "reads": {
      "en": "reads",
      "text": "مشاهدة"
    },
    "likesSaves": {
      "en": "likes & saves",
      "text": "إعجاب وحفظ"
    },
    "follow": {
      "en": "Follow @kubai087 on X",
      "text": "تابِع ‎@kubai087 على X"
    },
    "readsAcross": {
      "en": "(n) => `Reads across ${n} posts`",
      "text": "(n) => {\n\t\t\tconst r = n % 100;\n\t\t\tif (n === 1) return \"مجموع المشاهدات في منشور واحد\";\n\t\t\tif (n === 2) return \"مجموع المشاهدات في منشورين\";\n\t\t\treturn `مجموع المشاهدات في ${n} ${n === 0 || r >= 3 && r <= 10 ? \"منشورات\" : r <= 2 ? \"منشور\" : \"منشورًا\"}`;\n\t\t}"
    },
    "likesCount": {
      "en": [
        "",
        " likes"
      ],
      "text": [
        "",
        " إعجاب"
      ]
    },
    "savesCount": {
      "en": [
        "",
        " saves"
      ],
      "text": [
        "",
        " حفظ"
      ]
    },
    "improve": {
      "en": "Improve translation",
      "text": "تحسين الترجمة"
    },
    "improveNote": {
      "en": "To suggest corrections, download the text of this language, edit it, and send the file to {email}.",
      "text": "لاقتراح تصحيحات، نزّل نص هذه اللغة وعدّله، ثم أرسل الملف إلى {email}."
    },
    "improveDone": {
      "en": "Download complete. Please send your corrections to i@kubai.design.",
      "text": "اكتمل التنزيل. يُرجى إرسال تصحيحاتك إلى i@kubai.design."
    }
  },
  "reader": {
    "size": {
      "en": "Text size",
      "text": "حجم النص"
    },
    "sizes": {
      "en": [
        "Default",
        "Large",
        "Larger"
      ],
      "text": [
        "افتراضي",
        "كبير",
        "أكبر"
      ]
    },
    "marks": {
      "en": "Selected text",
      "text": "النص المحدد"
    },
    "highlight": {
      "en": "Highlight",
      "text": "تمييز"
    },
    "unhighlight": {
      "en": "Remove highlight",
      "text": "إزالة التمييز"
    },
    "marked": {
      "en": "Highlighted and saved. Find your highlights under Saved",
      "text": "تم التمييز والحفظ. ستجد تمييزاتك في «المحفوظات»"
    },
    "unmarked": {
      "en": "Highlight removed",
      "text": "تمت إزالة التمييز"
    },
    "copy": {
      "en": "Copy",
      "text": "نسخ"
    },
    "quote": {
      "en": "Quote",
      "text": "اقتباس"
    },
    "copied": {
      "en": "Copied",
      "text": "تم النسخ"
    },
    "quoted": {
      "en": "Quote copied",
      "text": "تم نسخ الاقتباس"
    },
    "copyFailed": {
      "en": "Copy failed",
      "text": "فشل النسخ"
    },
    "colon": {
      "en": ": ",
      "text": ": "
    },
    "quoteText": {
      "en": "(words, title, url) => `“${words}”\\n— ${title}\\n${url}`",
      "text": "(words, title, url) => `«${words}»\\n— ${title}\\n${url}`"
    }
  },
  "account": {
    "saved": {
      "en": "Saved",
      "text": "تم الحفظ"
    },
    "unsaved": {
      "en": "Removed from saved",
      "text": "تمت الإزالة من المحفوظات"
    },
    "save": {
      "en": "Save",
      "text": "حفظ"
    },
    "savedState": {
      "en": "Saved",
      "text": "محفوظة"
    },
    "unsave": {
      "en": "Remove from saved",
      "text": "إزالة من المحفوظات"
    },
    "tooMany": {
      "en": "Too many requests. Try again in a moment.",
      "text": "طلبات كثيرة جدًا. حاول مرة أخرى بعد قليل."
    },
    "saveFailed": {
      "en": "Could not save. Try again in a moment.",
      "text": "تعذّر الحفظ. حاول مرة أخرى بعد قليل."
    },
    "going": {
      "en": "(p) => `Going to ${p}…`",
      "text": "(p) => `جارٍ الانتقال إلى ${p}…`"
    },
    "signedOut": {
      "en": "Signed out",
      "text": "تم تسجيل الخروج"
    },
    "account": {
      "en": "(name) => `Account: ${name}`",
      "text": "(name) => `الحساب: ${name}`"
    },
    "signIn": {
      "en": "Sign in",
      "text": "تسجيل الدخول"
    },
    "signInTitle": {
      "en": "Sign in to vibedesign.tips",
      "text": "تسجيل الدخول إلى vibedesign.tips"
    },
    "signInLeads": {
      "en": {
        "save": "Signing in saves this tip.",
        "mark": "Signing in keeps this highlight and saves this tip.",
        "install": "Sign in to copy the install prompt.",
        "saved": "Sign in to see the tips you saved."
      },
      "text": {
        "save": "يؤدي تسجيل الدخول إلى حفظ هذه النصيحة.",
        "mark": "يؤدي تسجيل الدخول إلى الاحتفاظ بهذا التمييز وحفظ هذه النصيحة.",
        "install": "سجّل الدخول لنسخ موجّه التثبيت.",
        "saved": "سجّل الدخول لعرض النصائح التي حفظتها."
      }
    },
    "expiredTitle": {
      "en": "Your sign-in has expired",
      "text": "انتهت صلاحية تسجيل الدخول"
    },
    "expiredLeads": {
      "en": {
        "save": "Please sign in again. This tip will then be saved.",
        "bundle": "Please sign in again to keep downloading the Skill.",
        "archive": "Please sign in again to keep downloading the full package.",
        "install": "Please sign in again to copy the install prompt.",
        "rename": "Please sign in again to edit your name."
      },
      "text": {
        "save": "يُرجى تسجيل الدخول مرة أخرى، وستُحفظ هذه النصيحة بعد ذلك.",
        "bundle": "يُرجى تسجيل الدخول مرة أخرى لمتابعة تنزيل Skill.",
        "archive": "يُرجى تسجيل الدخول مرة أخرى لمتابعة تنزيل الحزمة الكاملة.",
        "install": "يُرجى تسجيل الدخول مرة أخرى لنسخ موجّه التثبيت.",
        "rename": "يُرجى تسجيل الدخول مرة أخرى لتعديل اسمك."
      }
    },
    "signInWith": {
      "en": "(p) => `Sign in with ${p}`",
      "text": "(p) => `تسجيل الدخول عبر ${p}`"
    },
    "lastUsed": {
      "en": "Last used",
      "text": "آخر ما استخدمته"
    },
    "recommended": {
      "en": "Recommended",
      "text": "موصى به"
    },
    "inAppNote": {
      "en": "(github) => `Google sign-in continues in your browser. If it doesn’t open, choose “Open in browser” from this app’s ··· menu${github ? ', or sign in with GitHub' : ''}.`",
      "text": "(github) => `يكتمل تسجيل الدخول عبر Google في متصفحك. إذا لم يُفتح، فاختر «فتح في المتصفح» من قائمة ··· في هذا التطبيق${github ? '، أو سجّل الدخول عبر GitHub' : ''}.`"
    },
    "openingBrowser": {
      "en": "Opening your browser…",
      "text": "جارٍ فتح المتصفح…"
    },
    "browserNotOpened": {
      "en": "Could not open your browser",
      "text": "تعذّر فتح المتصفح"
    },
    "member": {
      "en": "(n) => `Early member No. ${n}`",
      "text": "(n) => `العضو المبكر رقم ${n}`"
    },
    "plateTitle": {
      "en": "Early member plate",
      "text": "لوحة العضو المبكر"
    },
    "plateNote": {
      "en": "(max, n) => `A keepsake for the first ${max} people to support vibedesign.tips. You are No. ${n}.`",
      "text": "(max, n) => `تذكار لأول ${max} شخصًا يدعمون vibedesign.tips. أنت رقم ${n}.`"
    },
    "plateOpen": {
      "en": "Click to see the member list",
      "text": "انقر لعرض قائمة الأعضاء"
    },
    "membersOpen": {
      "en": "See the member list",
      "text": "عرض قائمة الأعضاء"
    },
    "membersTitle": {
      "en": [
        "The first ",
        " members"
      ],
      "text": [
        "أول ",
        " عضوًا"
      ]
    },
    "membersLead": {
      "en": "(count, max) => (count >= max ? `All ${max} places are taken` : `${count} taken, ${max - count} left`)",
      "text": "(count, max) => (count >= max ? `اكتملت جميع الأماكن وعددها ${max}` : `تم شغل ${count}، وتبقى ${max - count}`)"
    },
    "membersYou": {
      "en": "(n) => `You are No. ${n}`",
      "text": "(n) => `أنت رقم ${n}`"
    },
    "membersSelf": {
      "en": "You",
      "text": "أنت"
    },
    "membersShow": {
      "en": "Show me on the list",
      "text": "إظهاري في القائمة"
    },
    "membersShown": {
      "en": "You are on the list",
      "text": "أنت الآن ظاهر في القائمة"
    },
    "membersHidden": {
      "en": "You are off the list",
      "text": "لم تعد ظاهرًا في القائمة"
    },
    "membersPrivate": {
      "en": "Only you can see this",
      "text": "لا يراه أحد سواك"
    },
    "membersJoin": {
      "en": "Sign in to take a place",
      "text": "سجّل الدخول لحجز مكان"
    },
    "membersAnonymous": {
      "en": "Anonymous kind soul",
      "text": "فاعل خير مجهول الاسم"
    },
    "membersFailed": {
      "en": "Could not load the list. Try again in a moment.",
      "text": "تعذّر تحميل القائمة. حاول مرة أخرى بعد قليل."
    },
    "getAll": {
      "en": "Get all tips",
      "text": "الحصول على كل النصائح"
    },
    "getAllTitle": {
      "en": "Sign in to vibedesign.tips",
      "text": "تسجيل الدخول إلى vibedesign.tips"
    },
    "perks": {
      "en": [
        [
          "download",
          "Download every tip in one go"
        ],
        [
          "save",
          "Save the tips you like and highlight what matters"
        ],
        [
          "badge",
          "Join early and get an exclusive badge"
        ]
      ],
      "text": [
        [
          "download",
          "نزّل كل النصائح دفعة واحدة"
        ],
        [
          "save",
          "احفظ النصائح التي تعجبك وميّز ما يهمك"
        ],
        [
          "badge",
          "انضم مبكرًا واحصل على شارة حصرية"
        ]
      ]
    },
    "consent": {
      "en": [
        "Free, keeps only your name and avatar. Signing in accepts the ",
        "Privacy Policy",
        "."
      ],
      "text": [
        "مجاني، ولا يحتفظ إلا باسمك وصورتك الرمزية. بتسجيل الدخول فإنك توافق على ",
        "سياسة الخصوصية",
        "."
      ]
    },
    "separate": {
      "en": "Accounts from different sign-in methods don’t share saves",
      "text": "الحسابات من طرق تسجيل الدخول المختلفة لا تتشارك المحفوظات"
    },
    "accountMenu": {
      "en": "Account",
      "text": "الحساب"
    },
    "providerAccount": {
      "en": "(p) => `Signed in with ${p}`",
      "text": "(p) => `مسجّل الدخول عبر ${p}`"
    },
    "mySaved": {
      "en": "Saved",
      "text": "المحفوظات"
    },
    "signOut": {
      "en": "Sign out",
      "text": "تسجيل الخروج"
    },
    "editName": {
      "en": "Edit name",
      "text": "تعديل الاسم"
    },
    "nameField": {
      "en": "Name",
      "text": "الاسم"
    },
    "nameSaved": {
      "en": "Name updated",
      "text": "تم تحديث الاسم"
    },
    "nameInvalid": {
      "en": "(max) => `Use 1 to ${max} characters`",
      "text": "(max) => `استخدم من 1 إلى ${max} حرفًا`"
    },
    "nameFailed": {
      "en": "Could not change the name. Try again in a moment.",
      "text": "تعذّر تغيير الاسم. حاول مرة أخرى بعد قليل."
    },
    "closed": {
      "en": "Sign-in is not open yet",
      "text": "تسجيل الدخول غير متاح بعد"
    },
    "savedSignIn": {
      "en": "Sign in to see the tips you saved",
      "text": "سجّل الدخول لعرض النصائح التي حفظتها"
    },
    "savedCount": {
      "en": "(n) => `${n} saved ${n === 1 ? 'tip' : 'tips'}`",
      "text": "(n) => `النصائح المحفوظة: ${n}`"
    },
    "seeAll": {
      "en": "See all",
      "text": "عرض الكل"
    },
    "loginError": {
      "en": "Sign-in did not work. Please try again.",
      "text": "لم ينجح تسجيل الدخول. يُرجى المحاولة مرة أخرى."
    },
    "loginCancelled": {
      "en": "Sign-in cancelled",
      "text": "تم إلغاء تسجيل الدخول"
    },
    "loginLimited": {
      "en": "Too many sign-ins. Try again in a moment.",
      "text": "محاولات تسجيل دخول كثيرة جدًا. حاول مرة أخرى بعد قليل."
    },
    "loginBusy": {
      "en": "Sign-in with X has reached its limit for now. Please sign in another way.",
      "text": "وصل تسجيل الدخول عبر X إلى حدّه حاليًا. يُرجى تسجيل الدخول بطريقة أخرى."
    },
    "loginSaved": {
      "en": "Signed in, and this tip is saved",
      "text": "تم تسجيل الدخول وحفظ هذه النصيحة"
    },
    "signedIn": {
      "en": "(name) => `Signed in as ${name}`",
      "text": "(name) => `تم تسجيل الدخول باسم ${name}`"
    },
    "colon": {
      "en": ": ",
      "text": ": "
    },
    "downloads": {
      "en": "Download everything",
      "text": "تنزيل كل شيء"
    },
    "downloading": {
      "en": "Preparing…",
      "text": "جارٍ التحضير…"
    },
    "downloadFailed": {
      "en": "Could not download. Try again in a moment.",
      "text": "تعذّر التنزيل. حاول مرة أخرى بعد قليل."
    },
    "skillTile": {
      "en": "Skill",
      "text": "Skill"
    },
    "skillTileNote": {
      "en": "Everything",
      "text": "كل المحتوى"
    },
    "skillZip": {
      "en": "Or download the Skill as a ZIP",
      "text": "أو نزّل Skill بصيغة ZIP"
    },
    "skillVersion": {
      "en": "(v) => `Version ${v}`",
      "text": "(v) => `الإصدار ${v}`"
    },
    "changelog": {
      "en": "Changelog",
      "text": "سجل التغييرات"
    },
    "changelogTitle": {
      "en": "Skill changelog",
      "text": "سجل تغييرات Skill"
    },
    "changelogLead": {
      "en": "Every release of the Skill that holds everything. Each tip’s own Skill is on its page.",
      "text": "كل إصدار من Skill الذي يضم كل المحتوى. تجد Skill كل نصيحة في صفحتها."
    },
    "changelogAdded": {
      "en": "Added",
      "text": "أُضيف"
    },
    "changelogUpdated": {
      "en": "Updated",
      "text": "حُدِّث"
    },
    "installCopied": {
      "en": "Install prompt copied. Give it to your agent",
      "text": "تم نسخ موجّه التثبيت. أعطه إلى Agent الذي تستخدمه"
    },
    "installPrompt": {
      "en": "(guide, mirror) => [\n        'Please install the kubai-design-tips Skill for me (every design tip from Vibe Design Tips), so it works in every project and can be updated later.',\n        '',\n        `Follow the steps in ${guide}`,\n        `If GitHub cannot be reached, use ${mirror} instead.`,\n        '',\n        'If it is already installed, follow the update steps there. Then tell me the version and where you installed it.',\n      ].join('\\n')",
      "text": "(guide, mirror) => [\n    'ثبّت لي الـ Skill المسمى kubai-design-tips (كل نصائح التصميم من Vibe Design Tips)، بحيث يعمل في كل المشاريع ويمكن تحديثه لاحقًا.',\n    '',\n    `اتبع الخطوات في ${guide}`,\n    `إذا تعذّر الوصول إلى GitHub، فاستخدم ${mirror} بدلًا منه.`,\n    '',\n    'إذا كان مثبتًا بالفعل، فاتبع خطوات التحديث الموجودة هناك. ثم أخبرني بالإصدار وأين ثبّته.',\n  ].join('\\n')"
    },
    "copyFailed": {
      "en": "Could not copy. Try again in a moment.",
      "text": "تعذّر النسخ. حاول مرة أخرى بعد قليل."
    },
    "skillStarted": {
      "en": "Download started",
      "text": "بدأ التنزيل"
    },
    "archiveTile": {
      "en": "Full package",
      "text": "الحزمة الكاملة"
    },
    "archiveTileNote": {
      "en": "Videos and posts",
      "text": "مقاطع الفيديو والمنشورات"
    },
    "archiveNew": {
      "en": "(n) => `Or only the ${n} ${n === 1 ? 'tip' : 'tips'} added or updated since your last download`",
      "text": "(n) => `أو نزّل فقط ما أُضيف أو حُدّث منذ آخر تنزيل (${n})`"
    },
    "archiveUpToDate": {
      "en": "You already have every tip in the full package",
      "text": "لديك بالفعل كل النصائح في الحزمة الكاملة"
    },
    "archiveStarted": {
      "en": "(size) => `Downloading the full package (${size}). Each tip has its video and its text in Chinese and English.`",
      "text": "(size) => `جارٍ تنزيل الحزمة الكاملة (${size}). تتضمن كل نصيحة الفيديو الخاص بها ونصها بالصينية والإنجليزية.`"
    },
    "close": {
      "en": "Close",
      "text": "إغلاق"
    },
    "community": {
      "en": "Join the community",
      "text": "الانضمام إلى المجتمع"
    },
    "communityKind": {
      "en": "Paid community",
      "text": "مجتمع مدفوع"
    },
    "communityTitle": {
      "en": [
        "Join Vibe Design ",
        ""
      ],
      "text": [
        "انضم إلى Vibe Design ",
        ""
      ]
    },
    "communityLead": {
      "en": "Good design friends, waiting for you to come and chat",
      "text": "أصدقاء رائعون في التصميم بانتظار أن تنضم إليهم وتتحدث معهم"
    },
    "communityFree": {
      "en": "Every tutorial on this site is free for good, with careful updates to come. The community offers no extra lessons, but joining lets you:",
      "text": "كل الدروس على هذا الموقع مجانية إلى الأبد وتُحدَّث باستمرار بجودة عالية. لا يقدّم المجتمع دروسًا إضافية، لكن بالانضمام يمكنك:"
    },
    "communityPerks": {
      "en": [
        [
          "support",
          "Keep the free tips coming, and give me a little boost ✨"
        ],
        [
          "ask",
          "Ask Kubai anytime for free icon and product design advice"
        ],
        [
          "share",
          "More everyday design knowledge and resources"
        ],
        [
          "talk",
          "Meet great people building products, content and design"
        ],
        [
          "treat",
          "Buy Shubing the cat a can of treats 🐱"
        ]
      ],
      "text": [
        [
          "support",
          "ادعم استمرار النصائح المجانية وامنحني دفعة من الحماس ✨"
        ],
        [
          "ask",
          "اسأل Kubai في أي وقت واحصل على نصائح مجانية في الأيقونات وتصميم المنتجات"
        ],
        [
          "share",
          "مزيد من المعرفة والموارد اليومية في التصميم"
        ],
        [
          "talk",
          "تعرّف إلى أشخاص رائعين يصنعون المنتجات والمحتوى والتصميم"
        ],
        [
          "treat",
          "اشترِ للقط Shubing علبة من الطعام 🐱"
        ]
      ]
    },
    "communityCat": {
      "en": [
        "Hi! I’m ",
        "Shubing",
        ". Thanks for the treats~"
      ],
      "text": [
        "مرحبًا! أنا ",
        "Shubing",
        ". شكرًا على الطعام~"
      ]
    },
    "communityCurrency": {
      "en": "CN¥",
      "text": "CN¥"
    },
    "communityEarly": {
      "en": "Early bird",
      "text": "سعر الحجز المبكر"
    },
    "communityWas": {
      "en": "Regular price ",
      "text": "السعر العادي "
    },
    "communityEnds": {
      "en": "(date) => `Ends ${date}`",
      "text": "(date) => `ينتهي في ${date}`"
    },
    "communityDaysLeft": {
      "en": "(n) => `${n} ${n === 1 ? 'day' : 'days'} left`",
      "text": "(n) => {\n    const r = n % 100;\n    if (n === 1) return 'يتبقى يوم واحد';\n    if (n === 2) return 'يتبقى يومان';\n    return r >= 3 && r <= 10 ? `يتبقى ${n} أيام` : `يتبقى ${n} يومًا`;\n  }"
    },
    "communityLastDay": {
      "en": "Ends today",
      "text": "ينتهي اليوم"
    },
    "communityOnce": {
      "en": "Pay once, yours to keep",
      "text": "ادفع مرة واحدة، والعضوية لك دائمًا"
    },
    "communityScan": {
      "en": "Scan with WeChat to add me",
      "text": "امسح الرمز بـ WeChat لإضافتي"
    },
    "communityHow": {
      "en": "Add Kubai on WeChat, send the payment once accepted, and you’ll be invited to the group",
      "text": "أضف Kubai على WeChat، وبعد قبول طلبك أرسل الدفعة، وستصلك دعوة إلى المجموعة"
    },
    "communityHowTouch": {
      "en": "Press and hold to save the code, then open it from your photos in WeChat’s Scan to add Kubai. Once accepted, send the payment and you’ll be invited to the group",
      "text": "اضغط مطولًا لحفظ الرمز، ثم افتحه من صورك عبر «Scan» في WeChat لإضافة Kubai. وبعد قبول طلبك أرسل الدفعة، وستصلك دعوة إلى المجموعة"
    },
    "communityQr": {
      "en": "WeChat QR code",
      "text": "رمز QR الخاص بـ WeChat"
    }
  },
  "tags": {
    "motion": {
      "en": "Motion",
      "text": "الحركة"
    },
    "interaction": {
      "en": "Interaction",
      "text": "التفاعل"
    },
    "components": {
      "en": "Components",
      "text": "المكونات"
    },
    "type": {
      "en": "Type & Layout",
      "text": "الطباعة والتخطيط"
    },
    "effects": {
      "en": "Effects",
      "text": "المؤثرات البصرية"
    }
  },
  "stats": {
    "views": {
      "en": "views",
      "text": "مشاهدة"
    },
    "likes": {
      "en": "likes",
      "text": "إعجاب"
    },
    "bookmarks": {
      "en": "bookmarks",
      "text": "علامة مرجعية"
    },
    "replies": {
      "en": "replies",
      "text": "رد"
    },
    "source": {
      "en": "Post on X",
      "text": "المنشور على X"
    }
  },
  "titles": {
    "021-ring-cards": {
      "en": "Ring cards with depth and a fluid gradient",
      "text": "بطاقات حلقية بعمق ميدان وتدرّج سائل"
    },
    "020-choice-controls": {
      "en": "Diagnosing and fixing choice controls",
      "text": "تشخيص عناصر التحكم في الاختيار وتحسينها"
    },
    "019-scroll-cards": {
      "en": "Five card interactions driven by scrolling",
      "text": "خمسة تفاعلات للبطاقات يحركها التمرير"
    },
    "018-holo-card": {
      "en": "Holographic cards that tilt and turn over",
      "text": "بطاقات هولوغرافية تميل وتنقلب"
    },
    "017-loading-states": {
      "en": "Diagnosing and fixing loading states",
      "text": "تشخيص حالات التحميل وتحسينها"
    },
    "016-toast-or-notification": {
      "en": "Toasts or notifications: how to choose",
      "text": "الإشعار المؤقت أم الإشعار: كيف تختار"
    },
    "015-ui-continuity": {
      "en": "Diagnosing and fixing UI continuity",
      "text": "تشخيص استمرارية الواجهة وتحسينها"
    },
    "014-card-delete": {
      "en": "Four ways for a deleted card to disappear",
      "text": "أربع طرق لاختفاء البطاقة المحذوفة"
    },
    "013-shockwave-glow": {
      "en": "A shockwave halo",
      "text": "هالة الموجة الصدمية"
    },
    "012-message-bubbles": {
      "en": "Material and motion for message bubbles",
      "text": "خامة فقاعات الرسائل وحركتها"
    },
    "011-easing-curves": {
      "en": "Choosing easing curves by situation",
      "text": "اختيار منحنيات التسارع حسب الموقف"
    },
    "010-liquid-glass": {
      "en": "Liquid glass",
      "text": "الزجاج السائل"
    },
    "009-overlays": {
      "en": "Rules for choosing an overlay",
      "text": "قواعد اختيار الطبقة المنبثقة"
    },
    "008-wiki-layout": {
      "en": "A wiki layout for desktop and mobile",
      "text": "تخطيط ويكي لسطح المكتب والجوال"
    },
    "007-type-switches": {
      "en": "CSS for mixed Chinese and English type",
      "text": "إعدادات CSS للنصوص الصينية والإنجليزية المختلطة"
    },
    "006-book-cards": {
      "en": "Cards that open like a book on hover",
      "text": "بطاقات تنفتح مثل كتاب عند التمرير"
    },
    "005-drag-ripple": {
      "en": "Drag to reorder, with items making way",
      "text": "إعادة الترتيب بالسحب مع عناصر تفسح المجال"
    },
    "004-continuous-corners": {
      "en": "Nested corners and continuous corners",
      "text": "زوايا متداخلة وزوايا بانحناء متصل"
    },
    "003-ascii-dither": {
      "en": "ASCII and dither effects",
      "text": "تأثيرات ASCII والتنقيط (Dither)"
    },
    "002-cascade-menu": {
      "en": "Safe areas and delays for cascading menus",
      "text": "منطقة آمنة وتأخير للقوائم المتتالية"
    },
    "001-skeuomorphic-buttons": {
      "en": "Skeuomorphic buttons that press in",
      "text": "أزرار مجسّمة تنخفض عند الضغط"
    }
  },
  "tips": {
    "001-skeuomorphic-buttons": {
      "en": {
        "summary": "Tactile skeuomorphic buttons: five variants, five material layers, and lighting that changes on hover and press. For dashboards and tools.",
        "notes": "<p>A flat button usually just turns slightly darker when pressed, which is barely visible during a quick click. A skeuomorphic button sinks when pressed, with its position, gradient and shadows changing together, so the user can tell the press registered. The key points are these five:</p>\n        <ol>\n        <li><strong>Five variants</strong>: For dashboards, editors and settings pages with many buttons and few colors, where primary and secondary can only be told apart by light, shade and material. From strongest to weakest: primary is a dark slate key, secondary a raised white key, tertiary a light gray key, ghost has no face at rest, and text is just a label with a thin underline. Use only one primary per area.</li>\n        <li><strong>Five material layers</strong>: The three filled variants are built from the same five layers: a gradient face 6–8% lighter at the top, a 1px border one step darker than the bottom of the gradient, a white highlight along the top, a dark line along the bottom, and a two-layer shadow made of a contact shadow and a soft drop shadow. The variants differ only in their values, so define the five layers as one set of tokens and let each variant assign its own.</li>\n        <li><strong>Hover and press</strong>: On hover the face gets one step lighter and the drop shadow grows. On press the button moves down 1px, the gradient flips, the drop shadow tightens until it almost touches the surface, and the top highlight becomes an inner shadow. The rest and pressed states need the same number of inset shadow layers, with transparent shadows filling any gap, for the shadows to change smoothly.</li>\n        <li><strong>Light and color</strong>: The light source is fixed straight above, so the highlight is always at the top and the dark line always at the bottom, and the whole set looks as if it sits in the same space. Use only neutral grays, no brand colors, and separate the variants by light and shade; no gloss, outer glow or large blurs either.</li>\n        <li><strong>Scale with the label</strong>: Height, padding, radius, border, and the offset and blur of every shadow layer are all written as multiples of the unit u = label size / 14. With a 14px label u = 1px and the button is 40px tall; with a 16px label u ≈ 1.14px, the button is about 45.7px tall, and the shadows grow in the same proportion.</li>\n        </ol>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Size</dt><dd>Label 14px; height 40px; radius 10px; horizontal padding 18px</dd>\n        <dt>Pressed</dt><dd>Moves down 1px; drop shadow collapses to 0 1px 1px</dd>\n        <dt>Timing</dt><dd>Transform 120ms; shadows 140ms; colors 160ms</dd>\n        </dl>\n        <p>The included prompt restyles the project’s existing button component first, keeping its API and accessibility settings; it creates a new one only if the project has no button component.</p>"
      },
      "text": {
        "summary": "أزرار مجسّمة تمنح إحساسًا بالنقر: خمسة مستويات، وخمس طبقات للخامة، وتغيّر الضوء والظل عند التمرير والضغط، مناسبة للوحات التحكم ومنتجات الأدوات.",
        "notes": "<p>عند الضغط على زر مسطّح يغمق لونه قليلًا في العادة، ويكاد ذلك لا يُلاحَظ عند النقر السريع؛ أما الزر المجسّم فينخفض عند الضغط، ويتغير موضعه وتدرّجه وظله معًا، فيتأكد المستخدم أن ضغطته وصلت. وفيما يلي خمس نقاط أساسية:</p>\n        <ol>\n        <li><strong>خمسة مستويات</strong>: تناسب لوحات التحكم والمحررات وصفحات الإعدادات التي تكثر فيها الأزرار وتقل الألوان، فلا يُميَّز الأساسي من الثانوي إلا بدرجات الإضاءة والخامة. من الأقوى إلى الأضعف: primary مفتاح رمادي داكن مائل إلى الزرقة، وsecondary مفتاح أبيض بارز، وtertiary مفتاح رمادي فاتح، وghost بلا لون خلفية في حالة السكون، وtext نص مع خط سفلي رفيع فقط؛ ولا يوضع في المنطقة الواحدة إلا زر primary واحد.</li>\n        <li><strong>خمس طبقات للخامة</strong>: تتكوّن المستويات الثلاثة ذات الخلفية من الطبقات الخمس نفسها: سطح متدرّج أفتح في أعلاه بنسبة 6–8%، وحافة بعرض 1px أغمق بدرجة من أسفل التدرّج، وإضاءة بيضاء في الأعلى، وخط داكن في الأسفل، وظل من طبقتين: ظل ملاصق للسطح وظل ساقط ناعم. ولا تختلف المستويات إلا في القيم، فتُعرَّف الطبقات الخمس مجموعةً واحدة من tokens، ويُسنِد كل مستوى قيمه الخاصة.</li>\n        <li><strong>التمرير والضغط</strong>: عند التمرير يفتح سطح المفتاح بدرجة ويكبر الظل الساقط. وعند الضغط ينزل 1px، وينقلب التدرّج، وينكمش الظل الساقط حتى يكاد يلتصق بالسطح، وتتحول الإضاءة العلوية إلى ظل داخلي. ويجب أن يتساوى عدد طبقات الظل الداخلي في حالتي السكون والضغط، وتُكمَّل الناقصة بظلال شفافة، حتى ينتقل الظل بسلاسة.</li>\n        <li><strong>الضوء واللون</strong>: مصدر الضوء ثابت فوق الزر مباشرة، فتكون الإضاءة دائمًا في الأعلى والخط الداكن دائمًا في الأسفل، وتبدو الأزرار كلها كأنها في فضاء واحد. لا يُستخدم إلا الرمادي المحايد دون ألوان العلامة التجارية، وتُميَّز المستويات بدرجات الإضاءة؛ ولا يُستخدم اللمعان الشبيه بالمرآة ولا التوهج الخارجي ولا التمويه الواسع.</li>\n        <li><strong>التناسب مع حجم النص</strong>: يُكتب الارتفاع والحشوة ونصف قطر الزوايا والحافة، وإزاحة كل طبقة ظل وتمويهها، مضاعفاتٍ للوحدة u = حجم النص / 14. مع نص 14px تكون u = 1px ويكون ارتفاع الزر 40px؛ ومع نص 16px تكون u ≈ 1.14px ويصبح الارتفاع نحو 45.7px، وتكبر الظلال بالنسبة نفسها.</li>\n        </ol>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>المقاس</dt><dd>النص 14px؛ الارتفاع 40px؛ نصف قطر الزوايا 10px؛ الحشوة الأفقية 18px</dd>\n        <dt>الضغط</dt><dd>ينزل 1px؛ ينكمش الظل الساقط إلى 0 1px 1px</dd>\n        <dt>التوقيت</dt><dd>التحويل 120ms؛ الظلال 140ms؛ الألوان 160ms</dd>\n        </dl>\n        <p>يبدأ الـ Prompt المرفق بتعديل مكوّن الأزرار الموجود في المشروع، مع الإبقاء على واجهته البرمجية وإعدادات إمكانية الوصول؛ ولا يُنشئ مكوّنًا جديدًا إلا إذا لم يكن في المشروع مكوّن للأزرار.</p>"
      }
    },
    "002-cascade-menu": {
      "en": {
        "summary": "A safe triangle and three delays for cascading menus, so a diagonal move toward a submenu does not switch or close it by mistake.",
        "notes": "<p>On its way diagonally from a parent menu to a submenu, the pointer inevitably crosses the rows below. A plain menu switches to whichever row the pointer crosses, the submenu disappears, and the user has to go back and open it again. Four rules solve this:</p>\n        <ol>\n        <li><strong>Safe triangle</strong>: Used while a submenu is open and the pointer is moving toward it. Take the pointer’s previous position as one corner and connect it to the top and bottom corners of the submenu’s near side to form a triangle. While the pointer is inside, the rows it crosses do not highlight or open their own submenus; only when it leaves the triangle does the menu switch to the current row.</li>\n        <li><strong>Switch delay</strong>: If the pointer rests on a row inside the triangle, the user wants that row. After it stays there for more than 1.2 seconds, the menu switches to that row, so the submenu does not stay unchanged for too long.</li>\n        <li><strong>Open delay</strong>: For a pointer sweeping quickly down a menu. A submenu opens only after 220ms of hover and is canceled if the pointer leaves earlier, so a string of submenus does not open one after another; a tap on a touchscreen takes effect immediately.</li>\n        <li><strong>Close delay</strong>: For a pointer that slips slightly past the menu’s edge. The menu closes only 360ms after the pointer leaves, and stays as it is if the pointer comes back in time; a click outside the menu closes it immediately.</li>\n        </ol>\n        <p>Also, row highlighting is controlled by component state, not CSS <code>:hover</code>; otherwise the rows crossed inside the triangle still light up even when the menu does not switch.</p>\n        <p>The included prompt adds these rules to the project’s existing menu component, keeping its API and keyboard support; it creates a new one only if the project has no menu component.</p>"
      },
      "text": {
        "summary": "منطقة آمنة على شكل مثلث وثلاثة أنواع من التأخير في القوائم المتتالية، حتى لا تتبدّل القائمة الفرعية خطأً أو تُغلق فجأة حين يتجه إليها المؤشر قطريًا.",
        "notes": "<p>حين يتجه المؤشر قطريًا من القائمة الأم إلى القائمة الفرعية، لا بد أن يمر فوق بعض الصفوف التي تحته. والقائمة العادية تنتقل إلى كل صف يمر فوقه، فتختفي القائمة الفرعية، ويضطر المستخدم إلى الرجوع وفتحها من جديد. والحل في أربع قواعد:</p>\n        <ol>\n        <li><strong>المنطقة الآمنة المثلثة</strong>: تُستخدم حين تكون القائمة الفرعية مفتوحة والمؤشر يتجه نحوها. نتخذ موضع المؤشر في اللحظة السابقة رأسًا، ونصله بالزاويتين العليا والسفلى من الجانب القريب للقائمة الفرعية، فنحصل على مثلث؛ وما دام المؤشر داخله، لا تُبرَز الصفوف التي يمر فوقها ولا تفتح قوائمها الفرعية، ولا تنتقل القائمة إلى الصف الحالي إلا حين يغادر المؤشر المثلث.</li>\n        <li><strong>تأخير التبديل</strong>: إذا توقف المؤشر فوق صف ما داخل المثلث، فهذا يعني أن المستخدم يريد هذا الصف. وإذا بقي عليه أكثر من 1.2 ثانية، انتقلت القائمة إليه، فلا تتأخر القائمة الفرعية في التغيّر.</li>\n        <li><strong>تأخير الفتح</strong>: للحالة التي يمر فيها المؤشر بسرعة فوق عمود من القائمة. لا تُفتح القائمة الفرعية إلا بعد 220ms من التمرير، ويُلغى الفتح إذا غادر المؤشر قبل ذلك، فلا تنفتح سلسلة من القوائم الفرعية واحدة تلو الأخرى؛ أما النقر على الشاشات اللمسية فيعمل فورًا.</li>\n        <li><strong>تأخير الإغلاق</strong>: للحالة التي يخرج فيها المؤشر قليلًا من حافة القائمة. لا تُغلق القائمة إلا بعد 360ms من مغادرتها، وإذا عاد المؤشر في الوقت المناسب بقيت على حالها؛ والنقر خارج القائمة يغلقها فورًا.</li>\n        </ol>\n        <p>وإلى جانب ذلك، يتحكم في إبراز الصف حالةُ المكوّن، لا <code>:hover</code> في CSS، وإلا أُبرزت الصفوف التي يمر فوقها المؤشر داخل المثلث حتى لو لم تتبدّل القائمة.</p>\n        <p>يضيف الـ Prompt المرفق هذه القواعد إلى مكوّن القوائم الموجود في المشروع، مع الإبقاء على واجهته البرمجية وطريقة التحكم بلوحة المفاتيح؛ ولا يُنشئ مكوّنًا جديدًا إلا إذا لم يكن في المشروع مكوّن للقوائم.</p>"
      }
    },
    "003-ascii-dither": {
      "en": {
        "summary": "ASCII and Dither effects for images and videos on login pages, websites or cards, with a strength you can adjust at any time.",
        "notes": "<p>ASCII and Dither redraw an image as characters or a pixel texture by brightness, keeping its light and dark structure and dropping the photo’s detail. Every parameter can be adjusted, so the same image can serve as the main visual or recede into the background as a texture. The key points are these five:</p>\n        <ol>\n        <li><strong>ASCII</strong>: Suits a terminal or code look, such as the login page of a developer tool. The image is cut into a grid, and each cell is replaced by a character according to its brightness, from “.” to “@” as it gets denser; size is the font size, spacing is how dense the grid is, and sampling strength is the contrast.</li>\n        <li><strong>Dither</strong>: Suits the look of halftone print or pixel grain. The image is cut into pixel blocks, and a 4×4 Bayer matrix serves as the thresholds that reduce each color to a few levels, which blend into intermediate tones from a distance; size is the pixel block, spacing is the scale of the texture, and the higher the sampling strength, the fewer the color levels and the heavier the grain.</li>\n        <li><strong>Mask</strong>: Applies to both effects. A vertical gradient laid over the image pushes it back, so the effect reads more as texture than as noise; when the effect gets in the way of the text on top, raise the mask first.</li>\n        <li><strong>Sample tones</strong>: ASCII only. It decides whether characters are drawn in the shadows or the highlights; choose by the tones where the subject sits. In a city at night the subject is the lights, so sample the highlights; for a dark product photo on white, sample the shadows.</li>\n        <li><strong>Color</strong>: Keep the original colors, or pick one of five palettes. The image’s light and dark are first mapped onto that palette before the effect is generated, so different images keep a consistent style.</li>\n        </ol>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>ASCII</dt><dd>Mask 90; sample tones Shadows; sampling strength 100; size 37; spacing 0</dd>\n        <dt>Dither</dt><dd>Mask 88; sampling strength 100; size 15; spacing 0</dd>\n        </dl>\n        <p>The included prompt first confirms which image or video to process, then generates the effect for it and adds a panel beside it for adjusting the parameters live.</p>"
      },
      "text": {
        "summary": "أضف تأثيرَي ASCII وDither إلى الصور ومقاطع الفيديو في صفحات تسجيل الدخول والمواقع والبطاقات، مع إمكانية ضبط قوة التأثير في أي وقت.",
        "notes": "<p>يعيد ASCII وDither رسم الصورة بالحروف أو بنسيج من البكسلات حسب السطوع، فيحتفظان ببنية الضوء والظل ويُسقطان تفاصيل الصورة الفوتوغرافية؛ وكل المعايير قابلة للضبط، فيمكن للصورة نفسها أن تكون العنصر البصري الرئيسي، أو أن تتراجع إلى الخلفية ملمسًا. وفيما يلي خمس نقاط أساسية:</p>\n        <ol>\n        <li><strong>ASCII</strong>: يناسب إحساس الطرفية والشيفرة البرمجية، مثل صفحة تسجيل الدخول لأداة مطوّرين. تُقسَّم الصورة إلى شبكة، وتُستبدل كل خلية بحرف حسب سطوعها، وتزداد كثافة الحروف من «.» إلى «@». الحجم هو حجم الخط، والتباعد هو كثافة الشبكة، وقوة أخذ العينات هي تباين الإضاءة والظل.</li>\n        <li><strong>Dither</strong>: يناسب إحساس نقاط الطباعة النصفية أو حبيبات البكسل. تُقسَّم الصورة إلى كتل من البكسلات، وتُستخدم مصفوفة Bayer بحجم 4×4 عتباتٍ، فيُختزل كل لون إلى بضعة مستويات، وحين ننظر من بعيد تمتزج لتكوّن درجات الرمادي الوسيطة. الحجم هو كتلة البكسل، والتباعد هو مقياس النمط؛ وكلما زادت قوة أخذ العينات قلّت مستويات الألوان وظهرت الحبيبات أكثر.</li>\n        <li><strong>القناع</strong>: يصلح للتأثيرين كليهما. تُضاف فوق الصورة طبقة تدرّج عمودي، فتتراجع الصورة ويبدو التأثير ملمسًا لا ضجيجًا. وإذا شوّش التأثير على النص الذي فوقه، فارفع القناع أولًا.</li>\n        <li><strong>نطاق العينة</strong>: لـ ASCII فقط، ويحدد هل تُرسَم الحروف في الظلال أم في الإضاءات، ويُختار حسب النطاق الذي يقع فيه موضوع الصورة. في صورة مدينة ليلية يكون الموضوع هو الأضواء، فتؤخذ العينات من الإضاءات؛ وفي صورة منتج داكن على خلفية بيضاء، تؤخذ العينات من الظلال.</li>\n        <li><strong>الألوان</strong>: يمكن الإبقاء على الألوان الأصلية، أو اختيار واحدة من خمس لوحات ألوان، فتُطابَق درجات سطوع الصورة أولًا مع هذه الألوان، ثم يُولَّد التأثير، فيبقى أسلوب الصور المختلفة متسقًا.</li>\n        </ol>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>ASCII</dt><dd>القناع 90؛ درجات العينة: الظلال؛ قوة أخذ العينات 100؛ الحجم 37؛ التباعد 0</dd>\n        <dt>التنقيط</dt><dd>القناع 88؛ قوة أخذ العينات 100؛ الحجم 15؛ التباعد 0</dd>\n        </dl>\n        <p>يتحقق الـ Prompt المرفق أولًا من الصورة أو الفيديو المطلوب معالجته، ثم يولّد له التأثير، ويضيف بجانبه لوحة معايير قابلة للضبط مباشرة.</p>"
      }
    },
    "004-continuous-corners": {
      "en": {
        "summary": "How to work out nested corner radii level by level, and when to switch to continuous corners, so corners on cards and forms look neater.",
        "notes": "<p>Take a card with a 16px radius and 8px padding: if the button inside also has a 16px radius, the gap between the two borders is wider at the corner than along the straight edges, and the button does not look like it fits the card. Where a larger radius meets a straight edge, a crease also shows. Four rules:</p>\n        <ol>\n        <li><strong>Even inset</strong>: For places with an inner and an outer layer of rounded corners, such as forms, nested cards and dialogs. Calculate every layer as “inner radius = outer radius − padding”, so the inner and outer corners share a center and the gap at the corner matches the gap along the straight edges. With a card radius of 16 and padding of 8, the button inside gets a radius of 8.</li>\n        <li><strong>Several levels</strong>: With three or more levels, calculate from the outside in, one level at a time. For a dialog with radius 32 and padding 16, the panels and buttons inside get 16; a tag inset by another 8 inside a panel gets 8. Elements at the same level share one radius, and no radius goes below 4.</li>\n        <li><strong>Pills and circles</strong>: Pill-shaped and circular elements nested in a container are left out of the calculation and always stay fully round.</li>\n        <li><strong>Continuous corners</strong>: For large radii where a crease shows at the join, or when you want something close to the look of iOS corners. A plain rounded corner changes curvature abruptly where it meets the straight edge; a continuous corner (superellipse) increases the curvature gradually, for a smoother transition. Write it as <code>border-radius: 32px; corner-shape: superellipse(1.25);</code></li>\n        </ol>\n        <p>Also, <code>corner-shape</code> is currently supported only in Chrome and Edge 139 and later; Safari and Firefox fall back to plain rounded corners on their own, with nothing extra to handle.</p>\n        <p>The included prompt recalculates the radii of the interface you specify, from the outside in; if the project has radius tokens, it changes the tokens directly.</p>"
      },
      "text": {
        "summary": "كيف يُحسب نصف قطر الزوايا المتداخلة طبقةً بعد طبقة، ومتى ننتقل إلى الزوايا ذات الانحناء المتصل، لتبدو زوايا البطاقات والنماذج أكثر انتظامًا.",
        "notes": "<p>إذا كانت بطاقة بنصف قطر 16px وحشوة 8px، واستخدم الزر الذي بداخلها أيضًا نصف قطر 16px، فإن المسافة بين الحافتين عند الزاوية تصبح أوسع منها عند الأضلاع المستقيمة، ويبدو الزر غير متناسق مع البطاقة؛ وحيث تلتقي زاوية كبيرة بضلع مستقيم يظهر أيضًا خط انكسار. والطريقة في أربع قواعد:</p>\n        <ol>\n        <li><strong>إزاحة متساوية</strong>: في المواضع التي فيها طبقتان من الزوايا المستديرة، داخلية وخارجية، مثل النماذج والبطاقات المتداخلة والنوافذ المنبثقة. تُحسب كل طبقة وفق «نصف القطر الداخلي = نصف القطر الخارجي − المسافة»، فتشترك الزاويتان في مركز واحد، وتتساوى المسافة عند الزاوية مع المسافة عند الضلع المستقيم. بطاقة بنصف قطر 16 وحشوة 8، يكون نصف قطر الزر الذي بداخلها 8.</li>\n        <li><strong>التداخل متعدد الطبقات</strong>: عند ثلاث طبقات أو أكثر، يُحسب نصف القطر طبقةً بعد طبقة من الخارج إلى الداخل. نافذة بنصف قطر 32 وحشوة 16، تكون اللوحة والأزرار التي بداخلها 16؛ ووسم مُزاح 8 داخل اللوحة يكون 8. وتشترك عناصر الطبقة الواحدة في نصف قطر واحد، ولا يقل عن 4.</li>\n        <li><strong>الكبسولة والدائرة</strong>: العناصر الكبسولية والدائرية داخل حاوية لا تدخل في الحساب، وتبقى مستديرة تمامًا دائمًا.</li>\n        <li><strong>الزوايا ذات الانحناء المتصل</strong>: حين يكون نصف القطر كبيرًا ويظهر خط الانكسار عند الالتقاء، أو حين نريد مظهرًا قريبًا من زوايا iOS. في الزاوية العادية يتغير الانحناء فجأة عند ملاقاة الضلع المستقيم، أما الزاوية ذات الانحناء المتصل (superellipse) فيزداد انحناؤها تدريجيًا، فيكون الانتقال أنعم. وتُكتب هكذا: <code>border-radius: 32px; corner-shape: superellipse(1.25);</code></li>\n        </ol>\n        <p>وإلى جانب ذلك، لا يدعم <code>corner-shape</code> حاليًا إلا Chrome وEdge بالإصدار 139 فما فوق؛ أما Safari وFirefox فيعودان تلقائيًا إلى الزوايا المستديرة العادية دون حاجة إلى معالجة إضافية.</p>\n        <p>يعيد الـ Prompt المرفق حساب أنصاف أقطار الزوايا في الواجهة التي تحددها من الخارج إلى الداخل؛ وإذا كان في المشروع tokens لنصف قطر الزوايا، عدّلها مباشرة.</p>"
      }
    },
    "005-drag-ripple": {
      "en": {
        "summary": "The cursor, drop line and the way nearby items make room in drag to reorder, for lists, kanban boards and horizontal rows.",
        "notes": "<p>In many drag-to-reorder lists the other items stay still during the drag and the list rearranges abruptly on release, so the user can only check which two items it landed between afterward. These five rules let the user see the result before releasing:</p>\n        <ol>\n        <li><strong>Cursor</strong>: Set it on every draggable element. Show a hand on hover and a grabbing hand while dragging, so the user knows the element can be dragged before pressing.</li>\n        <li><strong>Dragged item</strong>: Follows the pointer while staying clear of the drop point, so it does not cover the drop line. In a horizontal row it lifts upward; in a vertical list it moves to one side and shrinks to about 90%. Its original slot closes up.</li>\n        <li><strong>Drop line</strong>: Marks the drop point. It is a very faint thin line at about 15% of the text color, vertical in a row and horizontal in a list. It grows from the middle out to both ends when it appears, slides over when the drop point changes, and is not shown at the item’s original position.</li>\n        <li><strong>Making way</strong>: The items on both sides of the drop line move outward, and the closer they are, the further and earlier they move: offset = 10px × 0.7ⁿ, delay = 24ms × n, where n is the number of items between an item and the drop line, 0 for the ones right next to it. Icons start from 10px, cards from 8px.</li>\n        <li><strong>Drop and cancel</strong>: On release, the item moves into the gap and the other items spring to their new positions; pressing Esc or releasing outside the list cancels, and every item returns to where it was.</li>\n        </ol>\n        <p>Also, move items only with transform, without changing the layout; reordering must also be possible from the keyboard; with “Reduce motion” on, keep only the drop line.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Offset</dt><dd>Icons 10px; cards 8px; × 0.7 for each item further out</dd>\n        <dt>Delay</dt><dd>+24ms for each item further out</dd>\n        <dt>Spring</dt><dd>Barely overshoots; settles in about 0.25s</dd>\n        <dt>Drop line</dt><dd>About 15% of the text color</dd>\n        </dl>\n        <p>The included prompt reuses the project’s existing drag logic and adds these effects to the lists, rows and docks you specify.</p>"
      },
      "text": {
        "summary": "المؤشر، وخط الإدراج عند موضع الإفلات، وحركة تنحّي العناصر على الجانبين في إعادة الترتيب بالسحب، للقوائم ولوحات كانبان والصفوف الأفقية.",
        "notes": "<p>في كثير من حالات إعادة الترتيب بالسحب لا تتحرك بقية العناصر في أثناء السحب، ثم يُعاد ترتيب القائمة فجأة بعد الإفلات، ولا يعرف المستخدم بين أي عنصرين وقع العنصر إلا بعد أن يُفلته ويتحقق. القواعد الخمس التالية تجعله يرى النتيجة قبل الإفلات:</p>\n        <ol>\n        <li><strong>المؤشر</strong>: يُضبط لكل العناصر القابلة للسحب. يظهر شكل اليد عند التمرير، وشكل اليد القابضة في أثناء السحب، فيعرف المستخدم أن العنصر قابل للسحب قبل أن يضغط.</li>\n        <li><strong>العنصر المسحوب</strong>: يتبع المؤشر، ويبتعد في الوقت نفسه عن موضع الإفلات فلا يغطي خط الإدراج. في الصف الأفقي يرتفع إلى الأعلى؛ وفي القائمة العمودية ينتقل إلى أحد الجانبين ويصغر إلى نحو 90%. ويُغلق موضعه الأصلي تبعًا لذلك.</li>\n        <li><strong>خط الإدراج</strong>: يحدد موضع الإفلات، وهو خط رفيع باهت جدًا، لونه نحو 15% من لون النص؛ يكون عموديًا في الصف الأفقي وأفقيًا في القائمة، وينفتح عند ظهوره من الوسط نحو الطرفين، وينزلق إلى الموضع الجديد إذا تغيّر موضع الإفلات، ولا يظهر في الموضع الأصلي للعنصر.</li>\n        <li><strong>التنحّي</strong>: تتنحّى العناصر على جانبي خط الإدراج إلى الخارج، وكلما كانت أقرب تنحّت أكثر وتحركت أبكر: الإزاحة = 10px × 0.7ⁿ، والتأخير = 24ms × n، حيث n عدد العناصر الفاصلة بينها وبين الخط، ويساوي 0 للعنصر الملاصق. تبدأ الأيقونات من 10px والبطاقات من 8px.</li>\n        <li><strong>الإفلات والإلغاء</strong>: بعد الإفلات يستقر العنصر في الفراغ، وتنتقل بقية العناصر إلى مواضعها الجديدة بحركة نابضية؛ والضغط على Esc أو الإفلات خارج القائمة يُعدّ إلغاءً، فتعود كل العناصر إلى أماكنها.</li>\n        </ol>\n        <p>وإلى جانب ذلك، تُحرَّك العناصر بـ transform وحده دون تغيير التخطيط؛ ويجب أن يكون الترتيب ممكنًا بلوحة المفاتيح أيضًا؛ وعند تفعيل «تقليل الحركة» لا يبقى إلا خط الإدراج.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>الإزاحة</dt><dd>الأيقونات 10px؛ البطاقات 8px؛ × 0.7 لكل عنصر أبعد</dd>\n        <dt>التأخير</dt><dd>‎+24ms لكل عنصر أبعد</dd>\n        <dt>النابض</dt><dd>تجاوز طفيف جدًا؛ يستقر في نحو 0.25s</dd>\n        <dt>خط الإفلات</dt><dd>نحو 15% من لون النص</dd>\n        </dl>\n        <p>يعيد الـ Prompt المرفق استخدام منطق السحب الموجود في المشروع، ويضيف هذا التأثير إلى القوائم والصفوف وشريط الإرساء (Dock) التي تحددها.</p>"
      }
    },
    "006-book-cards": {
      "en": {
        "summary": "Cards that open like a book: ordinary cards at rest that open slightly on hover to show the pages inside, in three styles.",
        "notes": "<p>In AI-generated products, cards are the element most likely to look alike. A book card keeps its usual look at rest and, on hover or focus, opens slightly like a small book to show a few pages inside. The key points are these four:</p>\n        <ol>\n        <li><strong>Structure</strong>: Suits cards that stand for content, such as documents, knowledge-base articles, templates and portfolio items; a card like “Settings” that is only an entry point has no pages inside and does not fit. The card is a stack of a cover, 4 pages and a back board that opens around its left edge; at rest all layers line up exactly.</li>\n        <li><strong>Timing</strong>: The cover opens the most, and each layer further in opens less and later: angle = 42° × 0.7ⁿ, delay = 28ms × n. The layers come to about 42°, 29°, 21° and 14°; when the pointer leaves, they close in reverse order, innermost page first.</li>\n        <li><strong>Light and shading</strong>: Light comes from above, and the shadow falls below the card. The shadow is two solid shapes that stretch downward and soften as the card opens; each page casts a shadow on the next until the two separate. Do not use <code>box-shadow</code>: it is a hollow ring, and its outline shows once the cover opens.</li>\n        <li><strong>Three styles</strong>: Default keeps the product’s existing card style and suits ordinary product cards; Skeuomorphic looks like a hardcover book on a gallery wall, with a book-cloth texture and a warm gray shadow; Minimal looks like a set of technical documents, with a flat light cover and thin line illustrations.</li>\n        </ol>\n        <p>Also, opening affects only the card itself: its size and position stay the same, and the surrounding cards and layout do not move.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Angle</dt><dd>Cover 42°; × 0.7 for each layer further in</dd>\n        <dt>Delay</dt><dd>+28ms for each layer further in</dd>\n        <dt>Pages</dt><dd>4; hinged on the left edge</dd>\n        </dl>\n        <p>The included prompt first confirms the style, number of pages and opening direction, then restyles the project’s existing cards.</p>"
      },
      "text": {
        "summary": "بطاقات تنفتح مثل كتاب: تبدو في العادة كبطاقات عادية، وعند التمرير تنفتح قليلًا وتكشف صفحاتها الداخلية، مع ثلاثة أنماط للاختيار.",
        "notes": "<p>في المنتجات المولَّدة بالذكاء الاصطناعي، البطاقات هي أكثر ما يتشابه. أما بطاقة الكتاب فتبقى على حالها في العادة، وعند التمرير أو التركيز تنفتح قليلًا مثل كتاب صغير وتكشف بضع صفحات في داخلها. وفيما يلي أربع نقاط أساسية:</p>\n        <ol>\n        <li><strong>البنية</strong>: تناسب البطاقات التي تمثّل محتوى، مثل عناصر المستندات وقواعد المعرفة والقوالب ومعارض الأعمال؛ أما البطاقات التي ليست إلا مدخلًا، مثل «الإعدادات»، فلا صفحات داخلية لها ولا تناسبها. تتكوّن البطاقة من غلاف و4 صفحات داخلية ولوح خلفي مكدّسة معًا، وتنفتح حول الحافة اليسرى؛ وفي حالة السكون تتطابق الطبقات كلها تمامًا.</li>\n        <li><strong>التوقيت</strong>: ينفتح الغلاف أكثر من غيره، وكلما كانت الطبقة أعمق انفتحت أقل وتحركت أبطأ: الزاوية = 42° × 0.7ⁿ، والتأخير = 28ms × n. فتكون الطبقات على التوالي نحو 42° و29° و21° و14°؛ وحين يبتعد المؤشر تنغلق بالترتيب المعاكس، فتنغلق الصفحة الأعمق أولًا.</li>\n        <li><strong>الضوء والظل</strong>: يأتي الضوء من الأعلى، ويقع الظل تحت البطاقة. الظل طبقتان من أشكال مصمتة، تمتد إلى الأسفل وتلين عند الانفتاح؛ وتُلقي كل صفحة ظلًّا على التي خلفها حتى تنفصلا. ولا يُستخدم <code>box-shadow</code>، لأنه حلقة مجوّفة يظهر محيطها بعد انفتاح الغلاف.</li>\n        <li><strong>ثلاثة أنماط</strong>: Default يستخدم أسلوب البطاقات الموجود في المنتج، ويناسب بطاقات المنتجات العادية؛ وSkeuomorphic يشبه كتبًا مجلّدة على جدار معرض، بملمس قماش التجليد وظلال رمادية دافئة؛ وMinimal يشبه مجموعة من المستندات التقنية، بغلاف فاتح مصمت ورسوم بخطوط رفيعة.</li>\n        </ol>\n        <p>وإلى جانب ذلك، يقتصر الانفتاح على البطاقة نفسها: لا يتغير حجمها ولا موضعها، ولا تتحرك البطاقات المحيطة ولا التخطيط.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>الزاوية</dt><dd>الغلاف 42°؛ × 0.7 لكل طبقة أعمق</dd>\n        <dt>التأخير</dt><dd>‎+28ms لكل طبقة أعمق</dd>\n        <dt>الصفحات</dt><dd>4؛ مثبتة على الحافة اليسرى</dd>\n        </dl>\n        <p>يتحقق الـ Prompt المرفق أولًا من النمط وعدد الصفحات واتجاه الانفتاح، ثم يعدّل البطاقات الموجودة في المشروع.</p>"
      }
    },
    "007-type-switches": {
      "en": {
        "summary": "How to handle heading line breaks, shifting numbers, truncation, Chinese details and translation length in Chinese and English type.",
        "notes": "<p>The second line of a homepage headline holds a single word, the text next to a countdown shifts left and right with every tick, and a button label is squeezed onto two lines after switching to German. These problems come from line breaking and character widths, and most can be fixed with a few lines of CSS. The common ones fall into these groups:</p>\n        <ol>\n        <li><strong>Line breaks</strong>: Use <code>text-wrap: balance</code> on headings so the lines are about the same length and the last line never holds just one or two words; use <code>text-wrap: pretty</code> on body text so a paragraph does not end with a lone word; use <code>white-space: nowrap</code> on button labels so they always stay on one line.</li>\n        <li><strong>Numbers</strong>: For numbers that change, such as timers, prices and counts, use <code>font-variant-numeric: tabular-nums</code> so every digit has the same width. Otherwise, when 11 changes to 10, the “1” is narrower than the “0” and the text after it moves.</li>\n        <li><strong>Truncation</strong>: When long text needs an ellipsis, add <code>min-width: 0</code> to the element in a flex layout as well as <code>text-overflow: ellipsis</code>. A flex item’s minimum width defaults to its content width, so without this rule the text stretches the container and the ellipsis never appears.</li>\n        <li><strong>Chinese body text</strong>: Justify it with <code>text-align: justify</code> and set the line length to a whole number of characters, so the right edge is even; <code>text-autospace: normal</code> automatically adds space between Chinese and Latin letters or numbers; <code>text-spacing-trim: trim-start</code> removes the half-width blank before an opening bracket at the start of a line.</li>\n        <li><strong>Chinese headings and line-start and line-end rules</strong>: Mark the word boundaries in headings with BudouX and add <code>word-break: keep-all</code>, so lines break between words, never in the middle of one. Leave the line-start and line-end rules to the browser, and remove <code>line-break: anywhere</code>, which turns them off.</li>\n        <li><strong>Multiple languages</strong>: The same spot has to fit translations of different lengths. German words are usually longer than English ones, so a button that just fits on one line in English may not fit in German. When translating, have the agent choose translations whose length suits the page layout, so that no word is split across two lines and no excess blank space is left.</li>\n        </ol>\n        <p>The included prompt writes these rules into the global styles for every page to inherit, adjusting only line breaks, spacing, alignment and truncation, without changing copy, fonts or colors; afterward it lists the changed files and compares your pages before and after.</p>"
      },
      "text": {
        "summary": "كيف نتعامل في طباعة النصوص الصينية والإنجليزية مع انكسار أسطر العناوين، واهتزاز الأرقام، واقتطاع النص، وتفاصيل النص الصيني، وطول الترجمات.",
        "notes": "<p>في الشاشة الأولى لموقع ما، لا يبقى في السطر الثاني من العنوان إلا كلمة واحدة، ويهتز النص المجاور يمينًا ويسارًا مع كل تغيّر في العدّ التنازلي، وينضغط نص الزر في سطرين بعد التحويل إلى الألمانية. هذه المشكلات سببها انكسار الأسطر وعرض الحروف، ويُحل أغلبها ببضعة أسطر من CSS. وأكثرها شيوعًا ما يلي:</p>\n        <ol>\n        <li><strong>انكسار الأسطر</strong>: تُستخدم <code>text-wrap: balance</code> للعناوين، فتتقارب أطوال الأسطر ولا تبقى في السطر الأخير كلمة أو كلمتان؛ وتُستخدم <code>text-wrap: pretty</code> للنص الأساسي، فلا تبقى كلمة وحيدة في آخر الفقرة؛ وتُستخدم <code>white-space: nowrap</code> لنص الأزرار، فيبقى دائمًا في سطر واحد.</li>\n        <li><strong>الأرقام</strong>: للأرقام المتغيرة مثل المؤقتات والأسعار والعدّادات، تُستخدم <code>font-variant-numeric: tabular-nums</code> ليصبح عرض كل رقم ثابتًا. وإلا فعند الانتقال من 11 إلى 10 يتحرك النص الذي بعده، لأن «1» أضيق من «0».</li>\n        <li><strong>الاقتطاع</strong>: حين يحتاج نص طويل إلى علامة الحذف، يُضاف إلى <code>text-overflow: ellipsis</code> أيضًا <code>min-width: 0</code> للعنصر داخل التخطيط المرن. فالحد الأدنى لعرض العناصر الفرعية المرنة يساوي افتراضيًا عرض محتواها، وبدون هذا السطر يوسّع النص الحاوية ولا تظهر علامة الحذف.</li>\n        <li><strong>النص الصيني الأساسي</strong>: يُضبط الطرفان بـ <code>text-align: justify</code>، ويُجعل عرض السطر عددًا صحيحًا من الحروف، فتستوي الحافة اليمنى؛ وتضيف <code>text-autospace: normal</code> مسافة تلقائية بين الصينية والإنجليزية والأرقام؛ وتحذف <code>text-spacing-trim: trim-start</code> الفراغ نصف العرض لقوس الفتح في بداية السطر.</li>\n        <li><strong>العناوين الصينية وقواعد بداية السطر ونهايته</strong>: تحدد BudouX حدود الكلمات في العناوين، ومع <code>word-break: keep-all</code> تنكسر الأسطر بين الكلمات لا في وسطها. وتُترك قواعد بداية السطر ونهايته للمتصفح، مع حذف <code>line-break: anywhere</code> التي تعطّلها.</li>\n        <li><strong>تعدد اللغات</strong>: يجب أن تتسع المساحة نفسها لترجمات مختلفة الطول؛ فالكلمات الألمانية أطول عادة من الإنجليزية، والزر الذي يتسع نصه الإنجليزي في سطر واحد قد لا يتسع له بالألمانية. عند الترجمة، اطلب من Agent أن يختار ترجمة بطول مناسب مع مراعاة تخطيط الصفحة، حتى لا تنقسم كلمة على سطرين ولا يبقى فراغ زائد.</li>\n        </ol>\n        <p>يكتب الـ Prompt المرفق هذه القواعد في الأنماط العامة التي ترثها كل الصفحات، ولا يعدّل إلا انكسار الأسطر والتباعد والمحاذاة والاقتطاع، دون تغيير النصوص والخطوط والألوان؛ ثم يسرد الملفات التي عدّلها، ويقارن صفحتك قبل التعديل وبعده.</p>"
      }
    },
    "008-wiki-layout": {
      "en": {
        "summary": "How to arrange the navigation bar, page list, end-of-article links, footer and mobile section switching in a wiki or help center.",
        "notes": "<p>When a product grows complex and its website needs many SEO articles, a reliable wiki can answer users’ questions and also bring in search traffic. The most common problems are that the page list cannot be found on a phone and that readers do not know where to go after an article. The layout needs to handle these five places:</p>\n        <ol>\n        <li><strong>Mobile section bar</strong>: Most phones are non-folding, with screens too narrow for a sidebar page list. Keep a section bar fixed at the bottom; tapping it opens a full-screen menu listing every section, one per row, easy to tap, with no need to scroll back to the top.</li>\n        <li><strong>Page list</strong>: When there are many sections and the list runs longer than one screen, give it its own height so it scrolls separately from the article, and cut off the overflow at the top and bottom. Add a gradient mask to the cut edges to show there is more above or below, plus a centered arrow button for scrolling with a click.</li>\n        <li><strong>End-of-article links</strong>: Below articles that answer questions, add links to the community and social media accounts. Whether the reader is a person or an AI, this brings conversions, like a free contextual ad for the conversion goal. Style the cards close to the article’s own components so they look like part of the article.</li>\n        <li><strong>Footer</strong>: Use an attractive background image to make the footer more than half a screen tall, drawing readers to scroll to the end and stay. Put genuinely useful information in the footer that helps readers solve their problems; otherwise it only puts them off.</li>\n        <li><strong>Navigation bar</strong>: Holds the logo (linking back to the main website), dropdown menus for key pages and the main CTA button, and sticks to the top on scroll. Safari and other browsers tint the address bar with the navigation bar’s color, so its background color should fit the brand.</li>\n        </ol>\n        <p>The included prompt finds the layout shared by the docs pages and adjusts only the position, scrolling and responsive behavior of the navigation bar, page list, outline and end-of-article area, leaving content, copy, colors and fonts unchanged; afterward it takes screenshots at the top, middle and end of a page and at phone width for you to check.</p>"
      },
      "text": {
        "summary": "كيف تُرتَّب الترويسة وقائمة الصفحات والتوجيه في نهاية المقال والتذييل وتبديل الأقسام على الهاتف في الويكي ومراكز المساعدة.",
        "notes": "<p>حين يزداد المنتج تعقيدًا ويحتاج الموقع إلى عدد كبير من مقالات SEO، يجيب ويكي موثوق عن أسئلة المستخدمين ويجلب أيضًا زيارات من محركات البحث. وأكثر المشكلات شيوعًا أن قائمة الصفحات لا تُوجد على الهاتف، وأن القارئ لا يعرف إلى أين يذهب بعد إنهاء المقال. وعلى التخطيط أن يعالج المواضع الخمسة التالية:</p>\n        <ol>\n        <li><strong>شريط الأقسام على الجوال</strong>: أغلب الهواتف تُمسَك عموديًا، وشاشتها ضيقة لا تتسع لقائمة جانبية. يثبت في الأسفل شريط للأقسام، وعند النقر عليه تعرض قائمة بملء الشاشة كل الأقسام، قسمًا في كل سطر، فيسهل النقر ولا حاجة إلى التمرير إلى الأعلى.</li>\n        <li><strong>قائمة الصفحات</strong>: حين تكثر الأقسام وتتجاوز شاشة واحدة، تُعطى القائمة ارتفاعًا مستقلًا، وتُمرَّر منفصلة عن النص، ويُقتطع ما يزيد في الأعلى والأسفل. وتُضاف إلى الحافتين المقتطعتين طبقة تدرّج تدل على وجود محتوى آخر فوقها وتحتها، مع زر سهم في الوسط يسهّل التمرير بالنقر.</li>\n        <li><strong>التوجيه في نهاية المقال</strong>: تحت المقالات التي تجيب عن الأسئلة، توضع روابط إلى المجتمع وحسابات التواصل الاجتماعي. وسواء كان القارئ إنسانًا أو ذكاءً اصطناعيًا، فهي تجلب تحويلات، كأنها إعلان سياقي مجاني لهدف التحويل. ويكون أسلوب البطاقة قريبًا من مكوّنات النص، فتبدو جزءًا من المقال.</li>\n        <li><strong>التذييل</strong>: تُستخدم صورة خلفية جميلة لرفع التذييل إلى أكثر من نصف الشاشة، فتجذب القارئ إلى التمرير حتى النهاية والبقاء هناك. ويجب أن يحتوي التذييل على معلومات مفيدة فعلًا تساعد القارئ على حل مشكلته، وإلا فلن يجلب إلا الانزعاج.</li>\n        <li><strong>الترويسة</strong>: الشعار (للعودة إلى الموقع)، وقوائم منسدلة للصفحات المهمة، وزر CTA الأساسي، وتبقى مثبتة في الأعلى عند التمرير. وتلوّن متصفحات مثل Safari شريط العنوان بلون الترويسة، لذلك يجب أن يتناسق لون الخلفية مع العلامة التجارية.</li>\n        </ol>\n        <p>يعثر الـ Prompt المرفق على التخطيط المشترك لصفحات التوثيق، ولا يعدّل إلا موضع الترويسة وقائمة الصفحات والمخطط ومنطقة نهاية المقال وطريقة تمريرها واستجابتها، دون تغيير المحتوى والنصوص والألوان والخطوط؛ ثم يلتقط صورة للصفحة في أعلاها ووسطها ونهايتها وبعرض الهاتف لتراجعها.</p>"
      }
    },
    "009-overlays": {
      "en": {
        "summary": "When to use a tooltip, cursor tip, popconfirm, dialog, drawer or separate page.",
        "notes": "<p>Many dashboard products use dialogs everywhere: for the explanation behind a question mark, the confirmation before archiving, the edit form; each time, the user has to deal with the dialog before going on. A tooltip barely interrupts the user, while a dialog covers the whole page. The common overlays are these:</p>\n        <ol>\n        <li><strong>Tooltip</strong>: Adds text to whatever the pointer is on, often for truncated long text, such as a long file name in a table. It disappears when the pointer leaves, so it holds text only; for buttons or links, use a popover that opens on click instead.</li>\n        <li><strong>Cursor tip</strong>: Gives information continuously across a whole area, often in charts and fairly self-contained elements. It appears only when the pointer enters and moves with the pointer, such as showing the date and value of the data point under the pointer on a line chart.</li>\n        <li><strong>Popconfirm</strong>: For most actions that cannot be undone, such as deleting a comment. The confirmation appears next to the button, so the user does not have to look away; the path is short and it does not get in the way.</li>\n        <li><strong>Dialog</strong>: For confirmations with a big impact, bulk actions, or anything the user must stop and think about, such as permanently deleting a whole project; also for short forms that do not need other information on the page, such as renaming a file.</li>\n        <li><strong>Drawer</strong>: For longer forms, or forms that need the page content for reference while filling them in, such as editing a customer’s details next to the customer list. A drawer slides in from the side, so the main page stays visible, and it makes better use of the horizontal space on wide screens.</li>\n        <li><strong>Separate page</strong>: When the form is itself the main task, such as the full setup for a new project, make it a separate page with its own URL and a way back.</li>\n        </ol>\n        <p>Also, actions that can be undone, such as archiving, need no confirmation: do them right away and leave an “Undo” option. On phones, tooltips and cursor tips both show on tap instead.</p>\n        <p>The included prompt first finds every overlay in the product, decides which kind each one should use, and lists them in a table for you to decide; once you confirm, it changes only the parts you agreed to and keeps the visual style as it is.</p>"
      },
      "text": {
        "summary": "متى نستخدم التلميح، وتلميح المؤشر، والتأكيد في الموضع، ومربع الحوار، والدرج الجانبي، والصفحة المستقلة.",
        "notes": "<p>كثير من لوحات التحكم تستخدم مربعات الحوار في كل مكان: لشرح علامة الاستفهام، وللتأكيد قبل الأرشفة، ولنماذج التحرير، فيضطر المستخدم في كل مرة إلى التعامل مع مربع الحوار قبل أن يتابع. التلميح لا يكاد يقاطع المستخدم، أما مربع الحوار فيغطي الصفحة كلها. والطبقات العائمة الشائعة هي:</p>\n        <ol>\n        <li><strong>التلميح (Tooltip)</strong>: يضيف نصًا إلى المحتوى الذي يشير إليه المؤشر، وأكثر ما يُرى مع النصوص الطويلة المقتطعة، مثل أسماء الملفات الطويلة في جدول. يختفي حين يبتعد المؤشر، لذلك لا يحتوي إلا على نص؛ وإذا احتجت إلى أزرار أو روابط، فاستخدم نافذة منبثقة تُفتح بالنقر (Popover).</li>\n        <li><strong>تلميح المؤشر (Cursor tip)</strong>: يقدّم معلومات متواصلة عبر منطقة كاملة، وأكثر ما يُرى في المخططات والعناصر المستقلة نسبيًا. لا يظهر إلا حين يدخل المؤشر المنطقة، ويتحرك معه، مثل عرض تاريخ نقطة البيانات التي يشير إليها المؤشر وقيمتها في مخطط خطي.</li>\n        <li><strong>التأكيد في الموضع (Popconfirm)</strong>: لأغلب الإجراءات التي لا يمكن التراجع عنها، مثل حذف تعليق. يظهر التأكيد بجانب الزر، فلا يضطر المستخدم إلى تحويل نظره، والطريق قصير ولا إزعاج فيه.</li>\n        <li><strong>مربع الحوار (Dialog)</strong>: للتأكيدات ذات الأثر الكبير أو الإجراءات الجماعية أو التي يجب أن يتوقف المستخدم عندها ويفكر، مثل الحذف النهائي لمشروع كامل؛ وكذلك للنماذج القصيرة التي لا تحتاج إلى الرجوع إلى معلومات أخرى في الصفحة، مثل إعادة تسمية ملف.</li>\n        <li><strong>الدرج الجانبي (Drawer)</strong>: للنماذج الطويلة، أو حين يحتاج ملء النموذج إلى مقارنته بمحتوى الصفحة، مثل تحرير بيانات عميل بجانب قائمة العملاء. ينزلق الدرج من الجانب وتبقى الصفحة الرئيسية ظاهرة، ويستفيد أكثر من المساحة الأفقية في الشاشات العريضة.</li>\n        <li><strong>الصفحة المستقلة</strong>: حين يكون النموذج نفسه هو المهمة الرئيسية، مثل الإعدادات الكاملة عند إنشاء مشروع جديد، يُجعل صفحة مستقلة لها عنوانها ومسار الرجوع الخاص بها.</li>\n        </ol>\n        <p>وإلى جانب ذلك، الإجراءات التي يمكن التراجع عنها، مثل الأرشفة، لا تحتاج إلى تأكيد: تُنفَّذ مباشرة ويُترك خيار «تراجع». وعلى الهاتف، يظهر التلميح وتلميح المؤشر بالنقر.</p>\n        <p>يعثر الـ Prompt المرفق أولًا على كل الطبقات العائمة في المنتج، ويحدد لكل منها النوع المناسب، ويعرض ذلك في جدول لتقرر أنت؛ وبعد التأكيد لا يعدّل إلا ما وافقت عليه، ويبقى الأسلوب المرئي كما هو.</p>"
      }
    },
    "010-liquid-glass": {
      "en": {
        "summary": "The six layers of liquid glass, and how to adapt the tint and text color to the background, for cards and players over images or video.",
        "notes": "<p>Ordinary frosted glass has only a translucent background and blur, so text is hard to read over a busy background and the glass turns grayish on dark ones. Liquid glass adds refraction at the rim and a tint that changes with the background, so it looks thick and the text always stays clear. The material came out of building Lumno and is made of six stacked layers, from bottom to top:</p>\n        <ol>\n        <li><strong>Shadow</strong>: Gives the card a sense of volume.</li>\n        <li><strong>Blur and brightening</strong>: Blurs the background while raising its saturation and brightness, so the glass looks clearer. Light glass: saturation 180%, brightness 1.06; dark glass: saturation 160%, brightness 0.8.</li>\n        <li><strong>Rim refraction</strong>: An SVG displacement map shifts the background in a band around the rim inward, more the closer it is to the edge, while the middle stays flat; red light bends a little more than blue, creating a color split. Rim width 44px, color split ±15%.</li>\n        <li><strong>Tint</strong>: A layer of translucent color whose opacity adjusts automatically to how busy the background is: the busier the background, the stronger the tint and the easier the text is to read. Light glass uses white at 6%–22%, dark glass 16%–38%.</li>\n        <li><strong>Rim light</strong>: One line at the top left and one at the bottom right, plus one more inset further in, to make the whole piece look thicker.</li>\n        <li><strong>Ink</strong>: Text uses multiply on light glass and a brightening overlay on dark glass, so it picks up a little of the background’s color.</li>\n        </ol>\n        <p>Also, the material reads several sample points on the background and works out their average brightness; below 0.5 it switches to light automatically. Liquid glass suits covers, videos, wallpapers and other images with rich variation in brightness or color; on a solid background it looks almost the same as an ordinary translucent block. When checking the text, look at both the brightest and the darkest parts of the background.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Light</dt><dd>Tint white 6%–22%; blur 2px; saturation 180%; brightness 1.06</dd>\n        <dt>Dark</dt><dd>Tint rgb(20 20 24) 16%–38%; blur 2px; saturation 160%; brightness 0.8</dd>\n        <dt>Refraction</dt><dd>Rim width 44px; shift at the edge 1.1 × rim width; color split ±15%</dd>\n        </dl>\n        <p>I have also released this material as an open-source playground, <a href=\"https://www.kubai.design/glasswork/\">Glasswork</a>: the tint, blur, rim refraction, rim light and text color can each be adjusted from a panel and checked over different wallpapers, photos and videos, and the result can be copied as CSS.</p>\n        <p>The included prompt first lists the cards, players and search boxes in the product that sit on images, video or busy backgrounds, and says which become glass and which stay as they are; it then writes the material into color tokens, with one set of tint strengths each for light and dark mode, and keeps the layout unchanged.</p>"
      },
      "text": {
        "summary": "طبقات خامة الزجاج السائل الست، وكيف تُضبط الصبغة ولون النص حسب سطوع الخلفية، للبطاقات والمشغّلات الموضوعة فوق الصور أو الفيديو.",
        "notes": "<p>لا يتكوّن الزجاج المصنفر العادي إلا من خلفية شبه شفافة وتمويه، فيصعب قراءة النص حين تكون الخلفية معقدة، ويبدو رماديًا باهتًا فوق الخلفيات الداكنة. أما الزجاج السائل فيضيف انكسارًا عند الحافة وصبغة تتغير مع الخلفية، فيبدو له سُمك، ويبقى النص واضحًا دائمًا. طُوِّرت هذه الخامة في أثناء العمل على Lumno، وتتكوّن من ست طبقات، من الأسفل إلى الأعلى:</p>\n        <ol>\n        <li><strong>الظل</strong>: يعبّر عن حجم البطاقة.</li>\n        <li><strong>التمويه والتفتيح</strong>: يموّه الخلفية ويرفع تشبعها وسطوعها في الوقت نفسه، فيبدو الزجاج أصفى. الزجاج الفاتح: تشبع 180% وسطوع 1.06؛ الزجاج الداكن: تشبع 160% وسطوع 0.8.</li>\n        <li><strong>انكسار الحافة</strong>: تُستخدم خريطة إزاحة SVG لإزاحة الخلفية في شريط حول الحافة نحو الداخل، وتزداد الإزاحة كلما اقتربنا من الحافة، ويبقى الوسط مستويًا؛ وينكسر الضوء الأحمر أكثر قليلًا من الأزرق، فيظهر فصل في الألوان. عرض الحافة 44px، وفصل الألوان ±15%.</li>\n        <li><strong>الصبغة</strong>: طبقة لون شبه شفافة، تُضبط شفافيتها تلقائيًا حسب تعقيد الخلفية: كلما كانت الخلفية أعقد كانت الصبغة أكثف وكان النص أسهل قراءة. الزجاج الفاتح أبيض 6%–22%، والزجاج الداكن 16%–38%.</li>\n        <li><strong>إضاءة الحافة</strong>: خط في الأعلى من اليسار وآخر في الأسفل من اليمين، وخط ثالث أبعد قليلًا إلى الداخل، فيبدو الكل أكثر سُمكًا.</li>\n        <li><strong>لون النص</strong>: يُستخدم وضع المزج multiply فوق الزجاج الفاتح، وplus-lighter فوق الزجاج الداكن، فيحمل النص شيئًا من لون الخلفية.</li>\n        </ol>\n        <p>وإلى جانب ذلك، تقرأ الخامة عدة نقاط عينة من الخلفية وتحسب متوسط سطوعها، فإذا كان أقل من 0.5 انتقلت تلقائيًا إلى الوضع الفاتح. يناسب الزجاج السائل الأغلفة والفيديو وخلفيات الشاشة وغيرها من الصور الغنية بتغيّر السطوع أو اللون، أما فوق خلفية بلون واحد فلا يكاد يختلف عن كتلة لون شبه شفافة عادية. وعند التحقق من النص، انظر إلى أفتح موضع في الخلفية وأغمقه كليهما.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>الفاتح</dt><dd>صبغة بيضاء 6%–22%؛ تمويه 2px؛ تشبع 180%؛ سطوع 1.06</dd>\n        <dt>الداكن</dt><dd>صبغة rgb(20 20 24) 16%–38%؛ تمويه 2px؛ تشبع 160%؛ سطوع 0.8</dd>\n        <dt>الانكسار</dt><dd>عرض الحافة 44px؛ الإزاحة عند الحافة 1.1 × عرض الحافة؛ فصل الألوان ±15%</dd>\n        </dl>\n        <p>نشر الكاتب هذه المادة أداةً مفتوحة المصدر باسم <a href=\"https://www.kubai.design/glasswork/\">Glasswork</a>: يمكن ضبط التلوين والتمويه وانكسار الحافة وضوء الحافة ولون النص كلًّا على حدة من لوحة الإعدادات، ومعاينتها فوق خلفيات وصور ومقاطع فيديو مختلفة، ثم نسخ النتيجة بصيغة CSS.</p>\n        <p>يسرد الـ Prompt المرفق أولًا البطاقات والمشغّلات وحقول البحث في المنتج الموضوعة فوق صور أو فيديو أو خلفيات معقدة، ويوضح أيها يتحول إلى زجاج وأيها يبقى كما هو؛ ثم يكتب الخامة في tokens الألوان، مع كثافة صبغة لكل من الوضعين الفاتح والداكن، دون تغيير التخطيط.</p>"
      }
    },
    "011-easing-curves": {
      "en": {
        "summary": "Seven common animation easing curves, from Linear to Spring, and the kind of motion each one suits.",
        "notes": "<p>The rhythm of an animation is described by its easing curve: the steeper the curve, the sharper the change in speed and the faster it looks. If a menu popping up, a dialog closing and an indicator sliding all use the default <code>ease</code>, users cannot tell whether an element is appearing, disappearing or changing place. The common curves are these:</p>\n        <ol>\n        <li><strong>Linear</strong>: For things like progress bars and loading that only need to look like they are “running”. Constant speed, abrupt at the start and end, <code>linear</code>.</li>\n        <li><strong>Ease-out and Strong ease-out</strong>: For overlays and modal elements entering, such as toasts, menus, dialogs and drawers, use Ease-out, fast then slow, <code>cubic-bezier(0, 0, .58, 1)</code>. For small elements that settle into place right after a click, such as icons, text and a selected pill, use Strong ease-out, which starts faster and settles longer, <code>cubic-bezier(.22, 1, .36, 1)</code>, for the most immediate response.</li>\n        <li><strong>Ease-in</strong>: For elements leaving, such as a dialog closing or a toast disappearing. Slow then fast, for a clean exit, <code>cubic-bezier(.42, 0, 1, 1)</code>. Do not use it for entrances: the slow start makes the interface look sluggish.</li>\n        <li><strong>Ease-in-out</strong>: For elements changing place within the interface, such as the indicator sliding under tabs, a carousel turning pages or a table of contents scrolling smoothly. Slow at both ends and fastest in the middle, <code>cubic-bezier(.42, 0, .58, 1)</code>.</li>\n        <li><strong>Overshoot</strong>: For small, playful confirmations, such as a check mark, a like or a badge popping up. Goes about 10% past the end and comes back, <code>cubic-bezier(.34, 1.56, .64, 1)</code>. Do not use it on large panels, or the whole block of interface will wobble.</li>\n        <li><strong>Spring</strong>: For settling back after release, such as a drawer springing back, pull to refresh, or an item landing after drag to reorder. It wobbles gently once or twice at the end before coming to rest, more like a real object than Overshoot; the element already has velocity when the user lets go, and a spring can carry that velocity on.</li>\n        </ol>\n        <p>Also, define these curves as motion tokens and use them by role, so the rhythm stays consistent across the whole product.</p>\n        <p>The included prompt first lists every transition and animation in the project, marking the places that still use the default ease or use ease-in for an entrance, and the curve each one should change to; it then adds motion tokens and adjusts the curves and durations one by one.</p>"
      },
      "text": {
        "summary": "سبعة منحنيات شائعة لسرعة الحركة، من Linear إلى Spring، ولأي نوع من الحركة يناسب كل منها.",
        "notes": "<p>يُوصف إيقاع الحركة بمنحنى السرعة: كلما كان المنحنى أشد انحدارًا كان تغيّر السرعة أعنف، وبدت الحركة أسرع. وإذا استُخدم <code>ease</code> الافتراضي لظهور القائمة وإغلاق مربع الحوار وانزلاق شريط المؤشر جميعًا، لم يعد المستخدم يميّز هل العنصر يظهر أم يختفي أم يغيّر موضعه. والمنحنيات الشائعة هي:</p>\n        <ol>\n        <li><strong>Linear</strong>: لأشياء مثل أشرطة التقدم والتحميل التي لا تُظهر إلا أنها «تعمل». حركة بسرعة ثابتة، وبدايتها ونهايتها حادتان، <code>linear</code>.</li>\n        <li><strong>Ease-out وStrong ease-out</strong>: لدخول الطبقات العائمة والعناصر المشروطة (modal) مثل Toast والقوائم ومربعات الحوار والأدراج، يُستخدم Ease-out الذي يبدأ سريعًا ثم يبطؤ، <code>cubic-bezier(0, 0, .58, 1)</code>. وللعناصر الصغيرة التي تستقر في مكانها فور النقر، مثل الأيقونات والنصوص والكبسولة المحددة، يُستخدم Strong ease-out الذي يبدأ أسرع وينتهي أطول، <code>cubic-bezier(.22, 1, .36, 1)</code>، وهو أكثرها مباشرة في الاستجابة.</li>\n        <li><strong>Ease-in</strong>: لخروج العناصر، مثل إغلاق مربع الحوار واختفاء Toast. يبدأ بطيئًا ثم يسرع، فيغادر العنصر بحزم، <code>cubic-bezier(.42, 0, 1, 1)</code>. ولا يُستخدم للدخول، لأن بدايته البطيئة تجعل الواجهة تبدو بطيئة الاستجابة.</li>\n        <li><strong>Ease-in-out</strong>: للعناصر التي تغيّر موضعها داخل الواجهة، مثل شريط المؤشر المنزلق تحت التبويبات، وتقليب صفحات العرض الدوّار، والتمرير السلس في فهرس المحتويات. بطيء عند الطرفين وأسرع في الوسط، <code>cubic-bezier(.42, 0, .58, 1)</code>.</li>\n        <li><strong>Overshoot</strong>: للتأكيدات الصغيرة المرحة، مثل وضع علامة اختيار والإعجاب وظهور الشارة. يتجاوز نقطة النهاية بنحو 10% ثم يعود، <code>cubic-bezier(.34, 1.56, .64, 1)</code>. ولا يُستخدم على اللوحات الكبيرة، وإلا اهتز جزء كامل من الواجهة.</li>\n        <li><strong>Spring</strong>: لعودة العنصر إلى موضعه بعد الإفلات، مثل ارتداد الدرج، والسحب للتحديث، واستقرار العنصر بعد إعادة الترتيب بالسحب. يهتز اهتزازًا خفيفًا مرة أو مرتين عند الوصول ثم يستقر، فيشبه الأجسام الحقيقية أكثر من Overshoot؛ فحين يُفلت المستخدم العنصر تكون له سرعة بالفعل، ويستطيع النابض أن يواصل الحركة بهذه السرعة.</li>\n        </ol>\n        <p>وإلى جانب ذلك، إذا عُرّفت هذه المنحنيات tokens للحركة واستُخدمت حسب الدور، بقي الإيقاع متسقًا في المنتج كله.</p>\n        <p>يسرد الـ Prompt المرفق أولًا كل الانتقالات والحركات في المشروع، ويحدد المواضع التي ما زالت تستخدم ease الافتراضي أو تستخدم ease-in للدخول، والمنحنى الذي يجب أن يحل محله في كل موضع؛ ثم يضيف tokens الحركة، ويضبط المنحنيات والمدد واحدًا واحدًا.</p>"
      }
    },
    "012-message-bubbles": {
      "en": {
        "summary": "Six message bubble materials with matching thinking, sending and deleting motion, for products that want to stand out from typical AI chats.",
        "notes": "<p>Typical AI assistant interfaces look almost the same: blue bubbles on the right, gray bubbles on the left, three bouncing dots while waiting. Bubbles appear more than anything else in a conversation, so changing their material and pairing it with matching motion gives the interface a style of its own. This is an exploratory version with six materials:</p>\n        <ol>\n        <li><strong>Cirrus</strong>: Suits light, clean products. A thin frosted glass with no border, with blue sky and white clouds behind it.</li>\n        <li><strong>Pixel</strong>: Has a retro game feel. The bubble is drawn on a pixel grid, its edges change one cell at a time, and it leaves a slight pixel trail as it moves.</li>\n        <li><strong>Aqua</strong>: Nostalgic and lively. The jelly-like look of the old Mac, with a layer of highlight on the surface.</li>\n        <li><strong>Gradient</strong>: Suits products that want to emphasize the brand. As in Telegram, the whole conversation shares one gradient, so bubbles at different heights have different colors.</li>\n        <li><strong>Skeuomorphic</strong>: Warm and tactile. Uses the same recipe as <a href=\"/001-skeuomorphic-buttons/\">001 Skeuomorphic buttons</a>.</li>\n        <li><strong>Solid</strong>: The basic control group. Easiest to read in long conversations with long reading time, and the lightest on performance.</li>\n        </ol>\n        <p>Also, the motion has to change along with the material, or the styles clash, as with pixel bubbles and a soft fade in and out. The whole conversation moves as one, and each material has its own spring values: on send, a new bubble rises from about 40px below, entering in a way that depends on the material; while the AI writes a long reply, a small dot matrix shows first and expands into a bubble once the reply starts; after a message in the middle is deleted, the messages above move down one after another to fill the gap.</p>\n        <p>The included prompt first asks whether to restyle your existing chat interface or build a standalone demo, and which materials to use; once you confirm, it adjusts the bubble materials and motion together, and asks you item by item before changing the input box, message menu and typing indicator.</p>"
      },
      "text": {
        "summary": "ست خامات لفقاعات الرسائل، مع ما يناسبها من حركات التفكير والإرسال والحذف، للمنتجات التي تريد أن تختلف عن واجهات الدردشة الشائعة مع الذكاء الاصطناعي.",
        "notes": "<p>تكاد واجهات مساعدي الذكاء الاصطناعي الشائعة تتطابق: فقاعات زرقاء على اليمين، ورمادية على اليسار، وثلاث نقاط تقفز في أثناء الانتظار. والفقاعات أكثر ما يظهر في المحادثة، فإذا غيّرت خامتها وأضفت إليها الحركة المناسبة، صار للواجهة أسلوبها الخاص. وهي حاليًا نسخة استكشافية، وفيها ست خامات:</p>\n        <ol>\n        <li><strong>Cirrus</strong>: يناسب المنتجات الخفيفة النظيفة. زجاج مصنفر رقيق بلا حافة، وخلفه سماء زرقاء وغيوم بيضاء.</li>\n        <li><strong>بكسل</strong>: فيه روح الألعاب القديمة. تُرسم الفقاعة على شبكة من البكسلات، وتتغير حوافها خلية بعد خلية، وتترك أثرًا خفيفًا من البكسلات في أثناء حركتها.</li>\n        <li><strong>Aqua</strong>: فيه حنين إلى الماضي وحيوية. مظهر الهلام في أجهزة Mac القديمة، تغطي سطحه طبقة لمعان.</li>\n        <li><strong>متدرّج</strong>: يناسب إبراز العلامة التجارية. على نحو قريب مما يفعله Telegram: تشترك المحادثة كلها في تدرّج واحد، فيختلف لون الفقاعة باختلاف ارتفاع موضعها.</li>\n        <li><strong>مجسّم</strong>: دافئ وملموس. يستخدم الوصفة نفسها المستخدمة في <a href=\"/ar/001-skeuomorphic-buttons/\">001 الأزرار المجسّمة</a>.</li>\n        <li><strong>مصمت</strong>: الأساس الذي تُقارن به البقية. هو الأسهل قراءة حين تطول المحادثة ويطول وقت القراءة، والأقل كلفة في الأداء.</li>\n        </ol>\n        <p>وإلى جانب ذلك، يجب أن تتغير الحركة مع الخامة، وإلا تعارض الأسلوبان، كفقاعات البكسل مع ظهور واختفاء ناعمين. تتحرك المحادثة كلها كتلة واحدة، ولكل خامة معايير النابض الخاصة بها: عند الإرسال ترتفع الفقاعة الجديدة من نحو 40px تحت موضعها، وتختلف طريقة دخولها باختلاف الخامة؛ وحين يولّد الذكاء الاصطناعي ردًا طويلًا تظهر أولًا مصفوفة صغيرة من النقاط، ثم تنفتح فقاعةً حين يبدأ الرد؛ وبعد حذف رسالة من الوسط، تنزل الرسائل التي فوقها واحدة تلو الأخرى لتملأ الفراغ.</p>\n        <p>يسألك الـ Prompt المرفق أولًا: هل تريد تعديل واجهة الدردشة الحالية أم إنشاء عرض مستقل، وأي الخامات تريد؛ وبعد التأكيد يعدّل خامة الفقاعات والحركات معًا، أما حقل الإدخال وقائمة الرسالة ومؤشر الكتابة فلا يعدّلها إلا بعد أن يسألك عن كل منها.</p>"
      }
    },
    "013-shockwave-glow": {
      "en": {
        "summary": "A shockwave halo that spreads from where it is triggered, with lens distortion and a color split, to play when an AI assistant is called up.",
        "notes": "<p>This effect combines the marquee light around the screen edge in iOS 27.3 with the halo burst the Dia browser plays when it opens its home page: the halo spreads from the trigger point, and the page it passes over bends and splits in color, which gives it a physical feel. The effect is made of these six layers:</p>\n        <ol>\n        <li><strong>Page snapshot</strong>: Turns the current page into an image as the basis for the layers that follow; Chrome’s new HTML-in-Canvas can help with this.</li>\n        <li><strong>Lens bend</strong>: The halo as a whole acts as a lens, stretching on the outside and compressing on the inside, so space looks pushed apart.</li>\n        <li><strong>Channel split</strong>: The red and blue channels shift 8% more and 8% less than the green channel, creating a slight color split where the page is displaced, while text stays sharp.</li>\n        <li><strong>Color rings</strong>: Four color rings blend smoothly and fade out as the halo spreads, setting its color and brightness. In light mode they tint the page; in dark mode they add light to it with a screen blend.</li>\n        <li><strong>Edge refraction</strong>: The halo spreads only within the content area and does not cover the browser’s or app’s toolbar. When it reaches the edge, the content stretches slightly toward the edge as if seen through the bevel of a piece of glass, while the window frame stays as it is.</li>\n        <li><strong>Glints on lines</strong>: As the halo passes, dividers and borders brighten briefly, more faintly in dark mode, so the page’s structure also takes part in the effect.</li>\n        </ol>\n        <p>Also, the halo is eye-catching and suits only infrequent actions such as calling up an AI; on a button that is clicked often it soon gets annoying. With “Reduce motion” on, drop the bend and the color split, and the halo only fades in and out in place.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Duration</dt><dd>Spreads over 1000ms; fast, then slow</dd>\n        <dt>Color split</dt><dd>Red at 1.08 times; blue at 0.92 times the offset</dd>\n        <dt>Aurora</dt><dd>Blue, violet, pink, peach</dd>\n        <dt>Halo</dt><dd>Orange, yellow</dd>\n        <dt>Frost</dt><dd>Mint</dd>\n        <dt>Spark</dt><dd>Violet, gold</dd>\n        </dl>\n        <p>The included prompt first confirms the trigger, where the halo spreads from, whether to enable the bend and edge refraction, and the palette; once you confirm, it proposes an implementation based on the project’s tech stack.</p>"
      },
      "text": {
        "summary": "هالة موجة صدمية تنتشر من موضع الإطلاق إلى الخارج، مع انثناء عدسي وفصل في الألوان، تُعرض عند استدعاء مساعد الذكاء الاصطناعي.",
        "notes": "<p>يجمع هذا التأثير بين ضوء الحافة المتحرك حول الشاشة في iOS 27.3 وصدمة الهالة في متصفح Dia عند فتح الصفحة الرئيسية: تنتشر الهالة من موضع الإطلاق، وتنثني الصفحة التي تمر بها وتنفصل ألوانها، ولذلك تبدو ذات طابع مادي. ويتكوّن التأثير من الطبقات الست التالية:</p>\n        <ol>\n        <li><strong>لقطة الصفحة</strong>: تُحوَّل الصفحة الحالية إلى صورة تكون أساسًا لحسابات الطبقات اللاحقة، ويمكن الاستعانة بميزة HTML-in-Canvas الجديدة في Chrome.</li>\n        <li><strong>انثناء العدسة</strong>: تعمل الهالة كلها كعدسة واحدة، تمدّ الجانب الخارجي وتضغط الجانب الداخلي، فتوحي بأن المكان يُدفَع بعيدًا.</li>\n        <li><strong>فصل القنوات</strong>: إزاحة القناة الحمراء أكبر من الخضراء بنسبة 8%، والزرقاء أصغر منها بنسبة 8%، فيظهر عند الإزاحة فصل خفيف في الألوان، ويبقى النص واضحًا.</li>\n        <li><strong>حلقات الألوان</strong>: أربع حلقات لونية تتدرج إحداها إلى الأخرى بسلاسة، وتتلاشى تدريجيًا مع الانتشار، وتحدد لون الهالة وسطوعها. في الوضع الفاتح تصبغ الصفحة، وفي الوضع الداكن تضيف إليها ضوءًا بوضع المزج screen.</li>\n        <li><strong>انكسار الحافة</strong>: لا تنتشر الهالة إلا داخل منطقة المحتوى، ولا تغطي شريط أدوات المتصفح أو التطبيق. وحين تصل إلى الحافة يتمدد المحتوى قليلًا نحو الحافة كأنه يُرى من خلال الحافة المشطوفة للزجاج، ويبقى إطار النافذة ثابتًا.</li>\n        <li><strong>بريق على الخطوط</strong>: حين تمر الهالة تضيء الفواصل والحواف لحظة، ويكون ذلك أضعف في الوضع الداكن، فتشارك بنية الصفحة نفسها في التأثير.</li>\n        </ol>\n        <p>وإلى جانب ذلك، الهالة لافتة جدًا، ولا تناسب إلا الإجراءات النادرة مثل استدعاء الذكاء الاصطناعي، وإذا استُخدمت على زر يُنقر كثيرًا أصبحت مزعجة سريعًا. وعند تفعيل «تقليل الحركة» يُزال الانثناء وفصل الألوان، وتكتفي الهالة بالظهور والاختفاء التدريجي في مكانها.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>المدة</dt><dd>تنتشر خلال 1000ms؛ سريعة ثم بطيئة</dd>\n        <dt>انفصال الألوان</dt><dd>الأحمر 1.08 ضعف الإزاحة؛ والأزرق 0.92 ضعفها</dd>\n        <dt>Aurora</dt><dd>أزرق، بنفسجي، وردي، خوخي</dd>\n        <dt>Halo</dt><dd>برتقالي، أصفر</dd>\n        <dt>Frost</dt><dd>نعناعي</dd>\n        <dt>Spark</dt><dd>بنفسجي، ذهبي</dd>\n        </dl>\n        <p>يتحقق الـ Prompt المرفق أولًا من شرط الإطلاق، وموضع الانتشار، وهل يُفعَّل الانثناء وانكسار الحافة، ولوحة الألوان؛ وبعد التأكيد يقترح خطة تنفيذ تناسب التقنيات المستخدمة في المشروع.</p>"
      }
    },
    "014-card-delete": {
      "en": {
        "summary": "Which kind of deletion the Burn, Plume, Blocks and Peel card effects each suit, and how the remaining cards close the gap.",
        "notes": "<p>In lists such as to-dos, a deleted item often vanishes instantly and the item below jumps up at once to fill the gap, before the user can see which one was deleted. The four effects below make the deletion visible, and handle how neighboring cards react and close the gap:</p>\n        <ol>\n        <li><strong>Burn</strong>: Suits thorough, formal deletions. Fire spreads from the delete button, and the paper chars until only an edge of ash remains, with sparks and paper flakes drifting upward; neighboring cards light up on the side facing the fire and warp slightly in the heat.</li>\n        <li><strong>Plume</strong>: Suits gentle or positive actions, such as completing a to-do or archiving a note. A soft flame rises from the bottom of the card and carries it away from the bottom up; neighboring cards light up too and warp slightly.</li>\n        <li><strong>Blocks</strong>: Suits casual contexts. The card breaks into blocks of different sizes that scatter outward, fall to the bottom of the list, bounce once and disappear; neighboring cards take the impact, get pushed away and spring back.</li>\n        <li><strong>Peel</strong>: Suits elements that look like physical objects, such as stickers and sticky notes. The card lifts from the corner nearest the delete button, showing a white die-cut border on its back, and flies off once peeled; neighboring cards are pulled toward the sticker and spring back once it comes off.</li>\n        <li><strong>Closing the gap</strong>: The remaining cards start closing the gap on a spring before the effect ends, changing only their position, not their height, so there is no jump and no pause between the deletion and the gap closing.</li>\n        </ol>\n        <p>Also, before the deletion takes effect, read the card’s position and capture its image; the effect’s first frame must match the real card exactly, rounded corners included, or the card will jump first. When the user undoes, the effect stops at once and the card comes back the way the product already restores items.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Duration</dt><dd>Burn 2s; Plume 1.4s; Blocks 1.5s; Peel 1.2s</dd>\n        <dt>Closing the gap</dt><dd>Spring 520ms; transforms only</dd>\n        <dt>At once</dt><dd>Up to 3 at a time; beyond that, a fade</dd>\n        </dl>\n        <p>The included prompt first reads the project and confirms the delete entry points, the effects, how neighboring elements react and the colors; once you confirm, it makes the changes to fit the existing tech stack and interface.</p>"
      },
      "text": {
        "summary": "متى يناسب كلٌّ من تأثيرات حذف البطاقة الأربعة: الاحتراق واللهب والكتل ونزع الملصق، وكيف تملأ البطاقات الباقية الفراغ.",
        "notes": "<p>في قوائم مثل قوائم المهام، كثيرًا ما يختفي العنصر المحذوف في لحظة، وتقفز العناصر التي تحته فورًا لتملأ الفراغ، فلا يلحق المستخدم أن يرى أي عنصر حذف. التأثيرات الأربعة التالية تجعل عملية الحذف مرئية، وتعالج أيضًا استجابة البطاقات المجاورة وملء الفراغ:</p>\n        <ol>\n        <li><strong>Burn (الاحتراق)</strong>: يناسب الحذف النهائي الرسمي. ينطلق اللهب من زر الحذف وينتشر، وبعد احتراق الورق لا تبقى إلا حافة من الرماد، ويتطاير الشرر وفتات الورق إلى الأعلى؛ ويُضاء جانب البطاقات المجاورة المواجه للهب، وتنثني قليلًا مع موجة الحرارة.</li>\n        <li><strong>Plume (اللهب)</strong>: يناسب الإجراءات اللطيفة أو الإيجابية، مثل إنجاز مهمة أو أرشفة ملاحظة. يرتفع لهب ناعم من أسفل البطاقة ويأخذها من الأسفل إلى الأعلى؛ وتُضاء البطاقات المجاورة كذلك وتنثني قليلًا.</li>\n        <li><strong>Blocks (الكتل)</strong>: يناسب المواقف الخفيفة. تتفتت البطاقة إلى كتل مختلفة الأحجام تتناثر إلى الخارج، وتسقط إلى أسفل القائمة وترتد مرة واحدة ثم تختفي؛ وتتلقى البطاقات المجاورة الصدمة فتندفع بعيدًا ثم ترتد.</li>\n        <li><strong>Peel (نزع الملصق)</strong>: يناسب العناصر التي تشبه بطبيعتها أشياء حقيقية، مثل الملصقات والملاحظات اللاصقة. تُرفع البطاقة من الزاوية القريبة من زر الحذف، وفي ظهرها حافة قصّ بيضاء، وتطير بعيدًا بعد نزعها؛ وتنجذب البطاقات المجاورة نحو الملصق، ثم ترتد بعد نزعه.</li>\n        <li><strong>إغلاق الفراغ</strong>: تبدأ البطاقات الباقية ملء الفراغ بحركة نابضية قبل انتهاء التأثير، ولا يتغير إلا موضعها دون ارتفاعها، فلا قفزة ولا فجوة بين الحذف وملء الفراغ.</li>\n        </ol>\n        <p>وإلى جانب ذلك، يُقرأ موضع البطاقة وتُلتقط صورتها قبل تنفيذ الحذف، ويجب أن يطابق الإطار الأول من التأثير البطاقة الحقيقية تمامًا، بما في ذلك الزوايا المستديرة، وإلا قفزت البطاقة أولًا. وحين يتراجع المستخدم، يتوقف التأثير فورًا، وتعود البطاقة بالطريقة المعتادة في المنتج.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>المدة</dt><dd>Burn 2s؛ Plume 1.4s؛ Blocks 1.5s؛ Peel 1.2s</dd>\n        <dt>إغلاق الفراغ</dt><dd>نابض 520ms؛ تحويلات (transform) فقط</dd>\n        <dt>الحذف المتزامن</dt><dd>حتى 3 في الوقت نفسه؛ وما زاد على ذلك يتلاشى</dd>\n        </dl>\n        <p>يقرأ الـ Prompt المرفق المشروع أولًا، ويتحقق معك من مواضع الحذف والتأثيرات واستجابة العناصر المجاورة والألوان؛ وبعد التأكيد يعدّل الواجهة بما يناسب التقنيات المستخدمة فيها.</p>"
      }
    },
    "015-ui-continuity": {
      "en": {
        "summary": "Using seven common iOS cases, how to carry the element you tapped straight into the next state when the interface changes.",
        "notes": "<p>When the user taps the mini player, if the bar simply disappears and the player pops up as a whole page, the user has to look for the cover and buttons all over again on the new page. Continuity means the element you tapped carries straight into the next state, so people always know where they came from and where they are now. The common cases in iOS are these:</p>\n        <ol>\n        <li><strong>Navigation</strong>: When going from a list to the next level, the title of the tapped row carries on as the page title, and the old page title shrinks into the back button; on scroll, the title moves into the top bar.</li>\n        <li><strong>Card and Chart</strong>: When a card opens into its details, such as an article card or a data card. The card expands into the article, the image extends into the header image, and the small bars on the card carry on as the chart’s bars; pulling down retraces the same path back.</li>\n        <li><strong>Player</strong>: When the mini player expands into the full player, the small cover grows straight into its place on the player page, and the title and buttons each move to their new positions instead of disappearing first and fading back in.</li>\n        <li><strong>Search</strong>: When the search field is tapped, it moves to the top, matching items move up as the user types, and the rest fade out.</li>\n        <li><strong>Menu</strong>: When a menu opens from a button, it expands from the button’s position; a new item drops into the first place, and the others move back one after another.</li>\n        <li><strong>Tab Bar</strong>: When switching tabs, the selected pill first stretches, then settles into its new position.</li>\n        </ol>\n        <p>Also, content that exists only in the end state, such as the player’s progress bar and lyrics, fades in after half of the move, not at the same time as the shared elements, so it does not pull the eye away. When collapsing or going back, elements return along the same path.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Curve</dt><dd>cubic-bezier(.32, .72, 0, 1); fast start, long settle</dd>\n        <dt>Duration</dt><dd>Phones: 450–700ms to open a full screen; 350–500ms for menus and bottom sheets; desktop about two thirds of that</dd>\n        <dt>Fade-in</dt><dd>Content that exists only in the end state fades in after half of the move</dd>\n        </dl>\n        <p>The included prompt first reads the project, finds the places where continuity fits, and proposes a plan ranked by how often each is used and how much it costs to change; once you confirm, it carries out the changes.</p>"
      },
      "text": {
        "summary": "من خلال سبعة سيناريوهات شائعة في iOS: كيف ينتقل العنصر الذي نُقر عليه مباشرة إلى الحالة التالية عند تبديل الواجهة.",
        "notes": "<p>عند النقر على شريط المشغّل المصغّر، إذا اختفى الشريط فجأة وظهرت صفحة المشغّل كاملة، يضطر المستخدم إلى البحث من جديد عن الغلاف والأزرار في الصفحة الجديدة. والاستمرارية أن ينتقل العنصر الذي نُقر عليه مباشرة إلى الحالة التالية، فيعرف المستخدم دائمًا من أين جاء وأين هو الآن. والسيناريوهات الشائعة في iOS هي:</p>\n        <ol>\n        <li><strong>Navigation</strong>: عند الانتقال من قائمة إلى صفحة فرعية، يصبح عنوان الصف المنقور عنوانَ الصفحة، ويتقلص عنوان الصفحة السابقة إلى زر الرجوع؛ وعند التمرير يستقر العنوان في الشريط العلوي.</li>\n        <li><strong>Card وChart</strong>: حين تنفتح بطاقة إلى صفحة تفاصيل، مثل بطاقة مقال أو بطاقة بيانات. تتوسع البطاقة إلى النص الكامل، وتمتد الصورة لتصبح الصورة الرئيسية، وتصبح الأعمدة الصغيرة في البطاقة أعمدة المخطط؛ وعند السحب إلى الأسفل تنطوي عائدة في المسار نفسه.</li>\n        <li><strong>Player</strong>: حين يتوسع شريط المشغّل المصغّر إلى صفحة المشغّل، يكبر الغلاف الصغير مباشرة إلى موضعه في صفحة المشغّل، وينتقل العنوان والأزرار كلٌّ إلى موضعه الجديد، دون أن تختفي أولًا ثم تظهر.</li>\n        <li><strong>Search</strong>: عند النقر على حقل البحث، ينتقل الحقل إلى الأعلى، وترتفع العناصر المطابقة مع الكتابة، وتتلاشى البقية.</li>\n        <li><strong>Menu</strong>: حين تُفتح قائمة من زر، تنفتح من موضع الزر نفسه؛ ويستقر العنصر الجديد في المقدمة، وتتأخر العناصر الأخرى واحدًا تلو الآخر.</li>\n        <li><strong>Tab Bar</strong>: عند تبديل التبويب، تتمدد الكبسولة المحددة أولًا، ثم تستقر في موضعها الجديد.</li>\n        </ol>\n        <p>وإلى جانب ذلك، المحتوى الذي لا يظهر إلا في الحالة النهائية، مثل شريط التقدم وكلمات الأغنية في صفحة المشغّل، يظهر تدريجيًا بعد أن تتجاوز الإزاحة منتصفها، ولا يتغير مع العناصر المشتركة في الوقت نفسه حتى لا يشتت النظر. وعند الإغلاق والرجوع تعود العناصر في المسار نفسه.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>المنحنى</dt><dd>cubic-bezier(.32, .72, 0, 1)؛ بداية سريعة واستقرار طويل</dd>\n        <dt>المدة</dt><dd>الهواتف: 450–700ms لفتح شاشة كاملة؛ 350–500ms للقوائم والأوراق السفلية؛ وسطح المكتب نحو ثلثي ذلك</dd>\n        <dt>الظهور التدريجي</dt><dd>المحتوى الموجود في الحالة النهائية فقط يظهر تدريجيًا بعد نصف الحركة</dd>\n        </dl>\n        <p>يقرأ الـ Prompt المرفق المشروع أولًا، ويحدد المواضع المناسبة للاستمرارية، ويقترح خطة مرتبة حسب تكرار الاستخدام وكلفة التعديل؛ وبعد التأكيد ينفّذ التعديل.</p>"
      }
    },
    "016-toast-or-notification": {
      "en": {
        "summary": "Which messages suit a Toast and which suit a Notification, and when to use neither.",
        "notes": "<p>Toasts and Notifications are both small cards floating over the page, and they are often mixed up: important information disappears after a few seconds, while an ordinary confirmation like “Saved” stays on screen. The common kinds of message are these five:</p>\n        <ol>\n        <li><strong>Status Toast</strong>: Confirms the result of an action that the user only needs to know about, such as copying a link or moving a task. Just an icon and a short line of text, with no buttons; it disappears after 3 seconds.</li>\n        <li><strong>Action Toast</strong>: For actions that can be undone. Run the action right away without asking first; the Toast keeps an Undo button for 5 seconds, with a ring showing the time left, and after an undo it changes in place to “Task restored”.</li>\n        <li><strong>Progress Toast</strong>: For actions that take a while, such as uploading a file. It shows progress first, changes in place into the result when done, and offers a button to view it.</li>\n        <li><strong>Notification</strong>: For information from other people or the system that needs to be seen but not handled right away, such as a mention, a task coming due or a weekly report being generated. It appears in the top right and stays until the user handles or dismisses it; up to three stack up, and they expand into a list on hover.</li>\n        <li><strong>Dialogs and inline messages</strong>: Anything the user must deal with suits neither a Toast nor a Notification. Confirm actions that cannot be undone with a dialog before running them; failures that need handling stay where they occur until resolved, and form errors appear next to their fields.</li>\n        </ol>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Toast enter</dt><dd>500ms; cubic-bezier(.25, .1, .25, 1); down 10px; clears from an 8px blur</dd>\n        <dt>Sheen</dt><dd>Only when something is done: a status toast entering, progress turning into its result, Undo completed</dd>\n        <dt>Notification enter</dt><dd>Drops from 56px above; 560ms; cubic-bezier(.32, .72, 0, 1)</dd>\n        <dt>Notification stack</dt><dd>Each layer peeks out 12px; at most three layers</dd>\n        </dl>\n        <p>The included prompt first reads the product and decides for each message whether it should use a Toast, a Notification or neither, listing them in a table for you to decide; once you confirm, it can also restyle the Toast and Notification to match the demo.</p>"
      },
      "text": {
        "summary": "لأي نوع من التنبيهات يناسب كلٌّ من Toast وNotification، ومتى لا ينبغي استخدام أي منهما.",
        "notes": "<p>Toast وNotification كلاهما بطاقة صغيرة تطفو فوق الصفحة، وكثيرًا ما يُخلط بينهما: فتختفي المعلومات المهمة بعد ثوانٍ، بينما يبقى تأكيد عادي مثل «تم الحفظ» على الواجهة. والتنبيهات الشائعة خمسة أنواع:</p>\n        <ol>\n        <li><strong>Status Toast</strong>: لتأكيد نتيجة إجراء يكفي أن يعرفها المستخدم، مثل نسخ رابط أو نقل مهمة. ليس فيه إلا أيقونة وجملة قصيرة، بلا أزرار، ويختفي تلقائيًا بعد 3 ثوانٍ.</li>\n        <li><strong>Action Toast</strong>: للإجراءات التي يمكن التراجع عنها. يُنفَّذ الإجراء مباشرة دون تأكيد مسبق؛ ويبقى في Toast زر Undo لمدة 5 ثوانٍ، مع حلقة تُظهر الوقت المتبقي، وبعد التراجع يتحول في مكانه إلى «Task restored».</li>\n        <li><strong>Progress Toast</strong>: للإجراءات التي تستغرق وقتًا طويلًا، مثل رفع ملف. يعرض التقدم أولًا، ثم يتحول في مكانه إلى النتيجة عند الانتهاء، مع زر للعرض.</li>\n        <li><strong>Notification</strong>: لمعلومات يرسلها آخرون أو يرسلها النظام، يجب أن تُرى لكن لا يلزم التعامل معها فورًا، مثل الإشارة إليك أو حلول موعد مهمة أو إنشاء التقرير الأسبوعي. يظهر في الزاوية العليا اليمنى، ويبقى حتى يتعامل معه المستخدم أو يغلقه؛ وتُكدَّس ثلاث طبقات على الأكثر، وتنفتح قائمةً عند التمرير.</li>\n        <li><strong>مربع الحوار والتنبيه في الموضع</strong>: ما يجب أن يتعامل معه المستخدم لا يناسبه Toast ولا Notification. الإجراءات التي لا يمكن التراجع عنها تُؤكَّد بمربع حوار قبل التنفيذ؛ والأخطاء التي تحتاج إلى معالجة تبقى في مكانها حتى تُحل، وتظهر أخطاء النماذج بجانب الحقل المعني.</li>\n        </ol>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>دخول الإشعار المؤقت</dt><dd>500ms؛ cubic-bezier(.25, .1, .25, 1)؛ ينزل 10px؛ يتضح من تمويه 8px</dd>\n        <dt>اللمعة</dt><dd>فقط عند اكتمال شيء ما: دخول إشعار مؤقت للحالة، أو تحول التقدم إلى نتيجته، أو اكتمال التراجع</dd>\n        <dt>دخول الإشعار</dt><dd>يسقط من 56px في الأعلى؛ 560ms؛ cubic-bezier(.32, .72, 0, 1)</dd>\n        <dt>تكديس الإشعارات</dt><dd>تظهر كل طبقة بمقدار 12px؛ ثلاث طبقات على الأكثر</dd>\n        </dl>\n        <p>يقرأ الـ Prompt المرفق المنتج أولًا، ويحدد لكل تنبيه هل يستخدم Toast أم Notification أم لا هذا ولا ذاك، ويعرض ذلك في جدول لتقرر أنت؛ وبعد التأكيد يمكنه أيضًا تعديل Toast وNotification كما في العرض التوضيحي.</p>"
      }
    },
    "017-loading-states": {
      "en": {
        "summary": "Spinner, Skeleton, Progress and optimistic updates: which kind of wait each of these four loading states suits.",
        "notes": "<p>Waiting is unavoidable. How users are told they are waiting affects how they feel and whether their work flows smoothly; sometimes the result should be shown first and then corrected if needed. The common ones are these four:</p>\n        <ol>\n        <li><strong>Spinner</strong>: For a single action that finishes within a few seconds, such as refreshing or syncing. After the press, the button’s own icon spins in place while its label and width stay the same; even if the result comes back at once, it turns at least one full circle and stops on a whole turn, and a Toast reports the result when it ends.</li>\n        <li><strong>Skeleton</strong>: When the page structure is known, such as a feed, a list or a chart. The title and filters appear first, and after 300ms a skeleton shows at the real row height; as content arrives it replaces the skeleton row by row in place, so the page does not jump. Do not put a lone spinning icon in the middle of a blank page.</li>\n        <li><strong>Progress</strong>: For long tasks that can be counted, such as uploading, importing or running diagnostics. A notification card shows the count, a progress bar and the time left, and the page stays usable; when done, the card changes in place into the result and stays until the user handles it.</li>\n        <li><strong>Optimistic</strong>: For actions that will very likely succeed and are easy to roll back, such as checking off a task, liking or renaming. Show the result first and save in the background; if the save fails, the change goes back to where it was, with the reason explained and a retry offered. Strictly speaking this is a strategy rather than a pattern, and it is not used for payments, permanent deletion or content sent to other people.</li>\n        </ol>\n        <p>Also, waits under 300ms get no separate loading state; otherwise it vanishes as soon as it appears and looks like a flicker. Once shown, it stays for at least 500ms. Use only one loading state per wait.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Threshold</dt><dd>Nothing under 300ms; once shown, at least 500ms</dd>\n        <dt>Button icon</dt><dd>Turns from the press; at least one turn (640ms); ends on a whole turn</dd>\n        <dt>Skeleton</dt><dd>After 300ms; the light band crosses every 1.2s; rows replace it 40ms apart, each fading in over 200ms</dd>\n        <dt>Progress</dt><dd>Shows after about 0.5s; the time left after 1s of data</dd>\n        <dt>Optimistic</dt><dd>Shown at once; when the save fails, the row shakes 6px twice over 360ms</dd>\n        </dl>\n        <p>The included prompt first finds every place in the product where users wait, decides which approach each one should use, and lists them in a table for you to decide; once you confirm, it makes the changes to match the demo.</p>"
      },
      "text": {
        "summary": "Spinner وSkeleton وProgress والتحديث المتفائل: لأي نوع من الانتظار تناسب كل حالة من حالات التحميل الأربع.",
        "notes": "<p>الانتظار لا مفر منه. وطريقة إخبار المستخدم بأنه ينتظر تؤثر في شعوره وفي سلاسة عمله؛ وأحيانًا ينبغي عرض النتيجة أولًا، ثم تصحيحها حسب ما يحدث فعلًا. والأنواع الشائعة أربعة:</p>\n        <ol>\n        <li><strong>Spinner</strong>: للإجراءات المفردة التي تنتهي في ثوانٍ، مثل التحديث والمزامنة. بعد الضغط تدور أيقونة الزر نفسه في مكانها، ولا يتغير النص ولا العرض؛ وحتى لو عادت النتيجة فورًا، تكمل دورة كاملة على الأقل وتتوقف عند نهاية دورة كاملة، ثم يُبلَّغ بالنتيجة عبر Toast.</li>\n        <li><strong>Skeleton</strong>: حين تكون بنية الصفحة معروفة، مثل موجز الأخبار والقوائم والمخططات. يظهر العنوان وعوامل التصفية أولًا، وبعد 300ms يظهر الهيكل بارتفاع الصفوف الحقيقي؛ وحين يصل المحتوى يحل محله صفًا صفًا في مكانه، فلا تقفز الصفحة. ولا تضع أيقونة دوّارة وحيدة في وسط صفحة فارغة.</li>\n        <li><strong>Progress</strong>: للمهام الطويلة القابلة للعدّ، مثل الرفع والاستيراد والتشخيص. تعرض بطاقة إشعار العدد وشريط التقدم والوقت المتبقي، وتبقى الصفحة قابلة للاستخدام كالمعتاد؛ وعند الانتهاء تتحول البطاقة في مكانها إلى النتيجة، وتبقى حتى يتعامل معها المستخدم.</li>\n        <li><strong>Optimistic</strong>: للإجراءات التي يُرجَّح نجاحها ويسهل التراجع عنها، مثل تحديد مهمة كمنجزة والإعجاب وإعادة التسمية. تُعرض النتيجة أولًا ويُحفظ التغيير في الخلفية؛ وإذا فشل الحفظ عاد التغيير إلى ما كان عليه، مع شرح السبب وخيار لإعادة المحاولة. وهو بالمعنى الدقيق استراتيجية لا نمط، ولا يُستخدم للدفع ولا للحذف النهائي ولا للمحتوى المرسل إلى الآخرين.</li>\n        </ol>\n        <p>وإلى جانب ذلك، لا تُعرض حالة تحميل مستقلة لانتظار أقل من 300ms، وإلا اختفت فور ظهورها وبدت كأنها ومضة؛ وبعد ظهورها تبقى 500ms على الأقل. ولا تُستخدم في الانتظار الواحد إلا حالة تحميل واحدة.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>العتبة</dt><dd>لا شيء لأقل من 300ms؛ وبعد الظهور 500ms على الأقل</dd>\n        <dt>أيقونة الزر</dt><dd>تدور منذ الضغط؛ دورة واحدة على الأقل (640ms)؛ تنتهي عند دورة كاملة</dd>\n        <dt>الهيكل المبدئي</dt><dd>بعد 300ms؛ يعبر الشريط الضوئي كل 1.2s؛ تحل الصفوف محله بفاصل 40ms، ويظهر كل منها تدريجيًا خلال 200ms</dd>\n        <dt>التقدّم</dt><dd>يظهر بعد نحو 0.5s؛ والوقت المتبقي بعد 1s من البيانات</dd>\n        <dt>التحديث المتفائل</dt><dd>يظهر فورًا؛ وعند فشل الحفظ يهتز الصف 6px مرتين خلال 360ms</dd>\n        </dl>\n        <p>يعثر الـ Prompt المرفق أولًا على كل المواضع التي فيها انتظار في المنتج، ويحدد لكل منها الطريقة المناسبة، ويعرض ذلك في جدول لتقرر أنت؛ وبعد التأكيد يعدّلها كما في العرض التوضيحي.</p>"
      }
    },
    "018-holo-card": {
      "en": {
        "summary": "A 3D holographic card that tilts and turns over, for cards that stand for status or ownership, such as member cards, tickets and badges.",
        "notes": "<p>When a real holographic card turns, color flows across its face. On screen, the pointer position stands in for the angle in your hand: a light spot that follows the pointer sets where the foil, glare and rim light up, and at rest the spot sits at the top left. The key points in building it:</p>\n        <ol>\n        <li><strong>Tilt</strong>: The card tilts toward the pointer, up to 12°, on a spring, and springs back slightly when the pointer leaves; when no one is using it, it keeps a slow 2–3° sway, as if held in a hand.</li>\n        <li><strong>Foil layer</strong>: Sits on top of the card’s base color and is brighter closer to the light spot. Text is printed above the foil layer, so it stays readable at any angle.</li>\n        <li><strong>Finishes</strong>: Six presets in all. Everyday products suit a quiet finish such as Pearl, or a tilt reduced to 6°; save Rainbow and Sparkle for moments worth celebrating, such as upgrading a membership or unlocking a rare achievement.</li>\n        <li><strong>Glare and rim</strong>: The glare spreads softly outward from the light spot; the rim is faint overall and only the part near the light spot is lit, so it comes and goes.</li>\n        <li><strong>Depth</strong>: The artwork on the card is spread across different depths, with offset = depth × sin(angle); as the card turns, the layers shift against each other, giving a real sense of three-dimensional space.</li>\n        <li><strong>Turning over</strong>: On click, the card turns 180° to its back on a spring, lifting slightly as it turns to show a 10px edge; the front content changes at the moment the card is edge-on, so the change cannot be seen.</li>\n        </ol>\n        <p>Also, put only one holographic card on a screen; when everything glows, nothing stands out. With “Reduce motion” on, the card does not tilt or sway, and turning over is not animated.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Tilt</dt><dd>Up to 12° (6° for a quiet finish); spring stiffness 140, damping 15</dd>\n        <dt>Sway at rest</dt><dd>2 to 3°, slow; the light moves with it</dd>\n        <dt>Turning over</dt><dd>Spring stiffness 70, damping 11; lifts 40px; a 10px edge of 10 layers</dd>\n        <dt>Depth</dt><dd>Picture 90px behind, dial 50px, needle 12px in front</dd>\n        <dt>Rim</dt><dd>1.5px; lit near the light, fading out by 42%</dd>\n        <dt>Finishes</dt><dd>Prism, Rainbow, Pearl, Sparkle, Chrome, Etched</dd>\n        </dl>\n        <p>The included prompt first asks item by item which card to restyle, and about the finish, feel, interaction, depth and background, giving recommended values and a few presets for each; once you confirm, it builds the card with the project’s existing tech stack.</p>"
      },
      "text": {
        "summary": "بطاقات هولوغرافية ثلاثية الأبعاد تميل وتنقلب، تناسب البطاقات التي تمثّل هوية أو مقتنيات، مثل بطاقات العضوية والتذاكر والشارات.",
        "notes": "<p>حين تُدار بطاقة هولوغرافية حقيقية، تنساب الألوان على سطحها. وعلى الشاشة يحل موضع المؤشر محل الزاوية التي تُمسَك بها البطاقة في اليد: بقعة ضوء واحدة تتبع المؤشر وتحدد معًا موضع الطبقة الهولوغرافية والوهج والحافة المضيئة، وفي حالة السكون تبقى البقعة في الأعلى من اليسار. وعند التنفيذ تهم النقاط التالية:</p>\n        <ol>\n        <li><strong>الميل</strong>: تميل البطاقة نحو المؤشر بحد أقصى 12°، بحركة نابضية، وترتد قليلًا حين يبتعد المؤشر؛ وحين لا يتفاعل معها أحد تتمايل ببطء بمقدار 2–3°، كأنها في اليد.</li>\n        <li><strong>الطبقة الهولوغرافية</strong>: تقع فوق لون خلفية البطاقة، وتزداد سطوعًا كلما اقتربت من بقعة الضوء. ويُطبع النص فوق الطبقة الهولوغرافية، فيبقى واضحًا مهما كانت زاوية البطاقة.</li>\n        <li><strong>الخامة</strong>: ستة إعدادات جاهزة. تناسب المنتجات المستخدمة يوميًا خامةٌ هادئة مثل Pearl، أو ميل مخفّض إلى 6°؛ أما Rainbow وSparkle فتُترك للحظات التي تستحق الاحتفال، مثل ترقية العضوية أو فتح إنجاز نادر.</li>\n        <li><strong>الوهج والحافة المضيئة</strong>: ينتشر الوهج بلطف إلى الخارج حول بقعة الضوء؛ والحافة المضيئة باهتة جدًا في مجملها، ولا يُضاء منها إلا الجزء القريب من بقعة الضوء، فتبدو تارة ظاهرة وتارة خافية.</li>\n        <li><strong>طبقات المنظور</strong>: تتوزع الرسوم في وجه البطاقة على أعماق مختلفة، والإزاحة = العمق × sin(الزاوية)؛ وحين تدور البطاقة تنزاح الطبقات بعضها عن بعض، فيظهر إحساس حقيقي بالفضاء ثلاثي الأبعاد.</li>\n        <li><strong>الانقلاب</strong>: عند النقر تنقلب البطاقة 180° إلى ظهرها بحركة نابضية، وترتفع قليلًا في أثناء الانقلاب فيظهر سُمكها البالغ 10px؛ ويُستبدل محتوى الوجه في اللحظة التي تكون فيها البطاقة على حافتها، فلا يُرى ذلك.</li>\n        </ol>\n        <p>وإلى جانب ذلك، لا توضع في الشاشة الواحدة إلا بطاقة هولوغرافية واحدة، فإذا توهّجت العناصر كلها لم يبقَ شيء بارز. وعند تفعيل «تقليل الحركة» لا تميل البطاقة ولا تتمايل، ويحدث الانقلاب دون حركة.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>الميل</dt><dd>حتى 12° (6° للتشطيب الهادئ)؛ صلابة النابض 140، والتخميد 15</dd>\n        <dt>التمايل في السكون</dt><dd>من 2 إلى 3°، ببطء؛ ويتحرك الضوء معه</dd>\n        <dt>الانقلاب</dt><dd>صلابة النابض 70، والتخميد 11؛ ترتفع 40px؛ حافة بسمك 10px من 10 طبقات</dd>\n        <dt>العمق</dt><dd>الصورة 90px إلى الخلف، والقرص 50px، والإبرة 12px إلى الأمام</dd>\n        <dt>الحافة</dt><dd>1.5px؛ مضيئة قرب الضوء، وتتلاشى عند 42%</dd>\n        <dt>التشطيبات</dt><dd>Prism وRainbow وPearl وSparkle وChrome وEtched</dd>\n        </dl>\n        <p>يسألك الـ Prompt المرفق أولًا، بندًا بندًا، عن البطاقة المراد تعديلها، وعن الخامة والإحساس والتفاعل والطبقات والخلفية، ويقترح لكل بند قيمًا موصى بها وبضعة إعدادات جاهزة؛ وبعد التأكيد ينفّذ ذلك بالتقنيات المستخدمة في المشروع.</p>"
      }
    },
    "019-scroll-cards": {
      "en": {
        "summary": "Five scroll-driven card interactions (stacked cards, card deck, pinned gallery, cover flow, image expand) for product sites and portfolios.",
        "notes": "<p>When scrolling a page, users expect elements to move vertically; these effects turn scrolling into sideways, rotating or irregular motion, which is why they feel fresh. They are all driven directly by the scroll position: stop halfway and the effect stops halfway; scroll back and the effect plays in reverse.</p>\n        <ol>\n        <li><strong>Stacked cards</strong>: Suits three to five parallel items that each take up a screen. Cards stack one on another as the page scrolls, each sticking 16px lower than the one before; each layer of covered cards shrinks by 0.05 and darkens by 12%, and the thin strips showing at the top are the content already seen.</li>\n        <li><strong>Card deck</strong>: Suits a small amount of content shown one item at a time. Every 420px of scrolling, the top card is flung to one side along an arc, alternating left and right and turning up to 16°; the cards below each move up one place.</li>\n        <li><strong>Pinned gallery</strong>: Suits a row of work wider than the screen. The page holds still for a while, and each 1px scrolled down moves the row 1px to the left, with no easing; a counter and a progress bar show how far the reader has got.</li>\n        <li><strong>Cover flow</strong>: Suits content of the same shape that is viewed one item at a time. Every 320px of scrolling, the next cover moves to the middle; the covers on either side shrink, turn up to 30° and darken step by step, drawing the eye to the middle.</li>\n        <li><strong>Image expand</strong>: Suits a main image that leads into the next chapter. The small image grows to fill the screen as the page scrolls, while scaling back from 1.2× to 1×; the title hides behind the mountain (cut out as a separate layer) and rises at a quarter of the speed, creating depth.</li>\n        </ol>\n        <p>Also, use each effect at most once on a page, with ordinary sections in between; do not change the scroll speed or force snapping, and change only transform, opacity and clip-path. With “Reduce motion” on, or when the viewport is shorter than 560px, every effect falls back to an ordinary section.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Stacked cards</dt><dd>Sticky top 40px + i × 16px; scale 1 − k × 0.05, shade k × 0.12; k rises by 1 every 752px</dd>\n        <dt>Card deck</dt><dd>420px per card; x = side × t² × 1000px, rotate side × t × 16°; 18px and 0.05 per place below</dd>\n        <dt>Pinned gallery</dt><dd>Height 100vh + row overflow (1520px); 1px down = 1px sideways</dd>\n        <dt>Cover flow</dt><dd>320px per cover; 260px apart, 30° turn, scale down to 0.6, shade 0.15 per place</dd>\n        <dt>Image expand</dt><dd>Grows over 900px, holds 300px; frame 584 × 352 to full screen; picture 1.2× to 1×</dd>\n        </dl>\n        <p>The included prompt is for restyling an existing page: it first asks which sections to change, and about length, phones and short screens, reduced motion and the implementation, giving recommended values and a few presets for each; once you confirm, it builds them with the project’s existing tech stack.</p>"
      },
      "text": {
        "summary": "خمسة تفاعلات للبطاقات يقودها التمرير: البطاقات المكدّسة، وتطاير مجموعة البطاقات، والمعرض الأفقي، وعرض الأغلفة، وتوسيع الصورة، لمواقع المنتجات ومعارض الأعمال.",
        "notes": "<p>عند تمرير الصفحة يتوقع المستخدم أن تتحرك العناصر عموديًا؛ وهذه التأثيرات تحوّل التمرير إلى حركة أفقية أو دوران أو حركة غير منتظمة، ولذلك تبدو جديدة. وكلها يقودها موضع التمرير مباشرة: إذا توقفت في المنتصف توقف التأثير في المنتصف، وإذا مرّرت إلى الخلف عاد التأثير معكوسًا.</p>\n        <ol>\n        <li><strong>البطاقات المكدّسة</strong>: تناسب ثلاثة إلى خمسة مشاريع متوازية يشغل كل منها شاشة كاملة. تتراكب البطاقات طبقةً بعد طبقة مع التمرير، وتثبت كل بطاقة في الأعلى أدنى من سابقتها بمقدار 16px؛ وتصغر البطاقات المغطاة بمقدار 0.05 وتغمق بنسبة 12% لكل طبقة، والشرائط الرفيعة الظاهرة في الأعلى هي المحتوى الذي شوهد.</li>\n        <li><strong>تطاير مجموعة البطاقات</strong>: تناسب عددًا قليلًا من المحتويات يُعرض واحدًا تلو الآخر. مع كل 420px من التمرير تُقذف البطاقة العليا على قوس إلى أحد الجانبين، يمينًا ويسارًا بالتناوب، وتدور 16° على الأكثر؛ وتصعد البطاقات التي تحتها طبقة واحدة بالتتابع.</li>\n        <li><strong>المعرض الأفقي</strong>: يناسب صفًا من الأعمال أعرض من الشاشة. تُثبَّت الصفحة مؤقتًا، ومع كل 1px من التمرير إلى الأسفل يتحرك صف الأعمال 1px إلى اليسار، دون تسارع أو تباطؤ؛ ويُظهر عدّاد وشريط تقدم إلى أين وصل المستخدم.</li>\n        <li><strong>عرض الأغلفة</strong>: يناسب محتوى متماثل الشكل يُنظر إليه واحدًا في كل مرة. مع كل 320px من التمرير ينتقل الغلاف التالي إلى الوسط؛ وتصغر الأغلفة على الجانبين وتدور 30° على الأكثر وتغمق طبقةً بعد طبقة، فيتجه النظر إلى الوسط.</li>\n        <li><strong>توسيع الصورة</strong>: يناسب صورة رئيسية واحدة تمهّد للفصل التالي. تتسع الصورة الصغيرة مع التمرير حتى تملأ الشاشة، وتصغر في الوقت نفسه من 1.2 ضعف إلى 1 ضعف؛ ويختبئ العنوان خلف الجبل (الجبل مقتطع في طبقة مستقلة)، ويرتفع بربع السرعة، فيتكوّن إحساس بالعمق.</li>\n        </ol>\n        <p>وإلى جانب ذلك، يُستخدم كل تأثير مرة واحدة على الأكثر في الصفحة، وتتخلله أقسام عادية؛ ولا تُغيَّر سرعة التمرير، ولا يُفرض الالتصاق، ولا يُعدَّل إلا transform وopacity وclip-path. وعند تفعيل «تقليل الحركة» أو حين يكون ارتفاع نافذة العرض أقل من 560px، تعود كلها أقسامًا عادية.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>البطاقات المكدّسة</dt><dd>sticky top 40px + i × 16px؛ المقياس 1 − k × 0.05، والتظليل k × 0.12؛ ويزداد k بمقدار 1 كل 752px</dd>\n        <dt>مجموعة البطاقات</dt><dd>420px لكل بطاقة؛ x = side × t² × 1000px، والدوران side × t × 16°؛ و18px و0.05 لكل موضع أدنى</dd>\n        <dt>المعرض المثبّت</dt><dd>الارتفاع 100vh + فائض الصف (1520px)؛ 1px إلى الأسفل = 1px أفقيًا</dd>\n        <dt>عرض الأغلفة</dt><dd>320px لكل غلاف؛ تباعد 260px، ودوران 30°، وتصغير حتى 0.6، وتظليل 0.15 لكل موضع</dd>\n        <dt>توسيع الصورة</dt><dd>يكبر خلال 900px، ويثبت 300px؛ الإطار من 584 × 352 إلى ملء الشاشة؛ الصورة من 1.2× إلى 1×</dd>\n        </dl>\n        <p>الـ Prompt المرفق مخصص لتعديل صفحات موجودة: يسألك أولًا عن الأقسام المراد تعديلها، وعن الطول، والهاتف والشاشات القصيرة، وتقليل الحركة، وطريقة التنفيذ، ويقترح لكل بند قيمًا موصى بها وبضعة إعدادات جاهزة؛ وبعد التأكيد ينفّذ ذلك بالتقنيات المستخدمة في المشروع.</p>"
      }
    },
    "020-choice-controls": {
      "en": {
        "summary": "When to use a switch, checkbox, radio button, segmented control, select or dropdown menu.",
        "notes": "<p>These controls look alike and are often mixed up. For example, a settings page has a switch to flip, yet there is also a Save button below it, and the setting does not take effect once the user leaves the page. The differences are explained below in four pairs:</p>\n        <ol>\n        <li><strong>Switches and checkboxes</strong>: The difference is when the change takes effect. A switch takes effect as soon as it is flipped and suits auto-saving contexts such as settings pages, with no Save button next to it; checkboxes are submitted with a form and need a submit button. Represent turning one thing on and off with a single switch, not two radio buttons for “On” and “Off”.</li>\n        <li><strong>Selects and dropdown menus</strong>: A select holds values, and the chosen one shows in the box, such as a language; a dropdown menu holds actions, which run as soon as they are clicked while the button label stays the same, and is often used to tuck away buttons in a toolbar or at the top of a page. The most used action can be the main button, with an icon button beside it opening the rest, such as “Schedule send” and “Save as draft” next to “Send”.</li>\n        <li><strong>Segmented controls and selects</strong>: Both are for picking one. Use a segmented control for 2–5 short options, which can be taken in at a glance; when each option needs a line of explanation, use radio buttons stacked vertically instead. Use a select when there are more options, the text is long, or the options change (names, dates, items users add), so the interface does not jump; for up to hundreds (time zones, countries), add a search box at the top of the list and a clear message for when nothing matches.</li>\n        <li><strong>Radio buttons and checkboxes</strong>: Radio buttons suit single-choice questions where all options should be read, as in a survey; once a choice is made it cannot be cleared, so provide an option such as “Not sure yet”; when several can be picked, use checkboxes. The same goes inside a select: for a single choice, put a check mark after the chosen item instead of drawing a radio circle; for multiple choice, put a checkbox before each item.</li>\n        </ol>\n        <p>Also, the result of every control must be visible right away: turning on desktop notifications immediately shows a notification; after “Export data” runs from a dropdown menu, a Toast reports the result.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Number of options</dt><dd>2–5 short options: segmented control; 2–5 that each need explaining: radio buttons; 6 or more: select; hundreds: select with search</dd>\n        <dt>Switch</dt><dd>40×24px, 8px corners; 18px thumb; 220ms, cubic-bezier(.32, .72, 0, 1)</dd>\n        <dt>Segmented control</dt><dd>36px tall, 4px padding; 28px thumb, 8px corners; 280ms</dd>\n        <dt>Option list</dt><dd>36px options; 14px corners; opens in 180ms, closes in 120ms</dd>\n        <dt>Radio buttons and checkboxes</dt><dd>18px; radio buttons round, checkboxes with 5px corners</dd>\n        </dl>\n        <p>The included prompt first finds every selection control in the product, decides whether each one is used correctly and what it should change to, and lists them in a table for you to decide; once you confirm, it changes them one by one according to these rules.</p>"
      },
      "text": {
        "summary": "متى نستخدم مفتاح التبديل، وخانة الاختيار، وزر الاختيار الأحادي، وعنصر التحكم المقسّم، وحقل الاختيار المنسدل، والقائمة المنسدلة.",
        "notes": "<p>تتشابه هذه العناصر في مظهرها، وكثيرًا ما يُخلط بينها. فمثلًا في صفحة إعدادات يُشغَّل مفتاح التبديل، لكن تحته زر حفظ أيضًا، فيغادر المستخدم الصفحة دون أن يُطبَّق الإعداد. وفيما يلي الفروق في أربع مجموعات:</p>\n        <ol>\n        <li><strong>مفتاح التبديل وخانة الاختيار</strong>: الفرق في وقت تطبيق التغيير. يُطبَّق مفتاح التبديل فور تحريكه، ويناسب المواضع التي تُحفظ تلقائيًا مثل صفحة الإعدادات، ولا يوضع بجانبه زر حفظ؛ أما خانة الاختيار فتُرسَل مع النموذج، وتحتاج إلى زر إرسال. ويُعبَّر عن تشغيل الشيء وإيقافه بمفتاح تبديل واحد، لا بزرّي اختيار أحادي «تشغيل / إيقاف».</li>\n        <li><strong>حقل الاختيار المنسدل والقائمة المنسدلة</strong>: في حقل الاختيار المنسدل قيم، وتظهر القيمة المختارة في الحقل، مثل اللغة؛ وفي القائمة المنسدلة إجراءات تُنفَّذ فور النقر، ولا يتغير نص الزر، وكثيرًا ما تُستخدم لجمع أزرار شريط الأدوات أو أعلى الصفحة. ويمكن جعل الإجراء الأكثر استخدامًا زرًا رئيسيًا، وبجانبه زر أيقونة يفتح بقية الإجراءات، مثل «جدولة الإرسال» و«حفظ كمسودة» بجانب «إرسال».</li>\n        <li><strong>عنصر التحكم المقسّم وحقل الاختيار المنسدل</strong>: كلاهما للاختيار الأحادي. للخيارات القصيرة من 2 إلى 5 يُستخدم عنصر التحكم المقسّم، فتُرى كلها بنظرة واحدة؛ وإذا احتاج كل خيار إلى سطر من الشرح، تُستخدم أزرار اختيار أحادي مرتبة عموديًا. وحين تكثر الخيارات أو تطول نصوصها أو تتغير (أسماء الأشخاص، والتواريخ، والعناصر التي يضيفها المستخدم)، يُستخدم حقل الاختيار المنسدل حتى لا تقفز الواجهة؛ وإذا بلغت المئات (المناطق الزمنية، والدول)، يُضاف حقل بحث في أعلى القائمة، مع رسالة مناسبة حين لا توجد نتائج.</li>\n        <li><strong>زر الاختيار الأحادي وخانة الاختيار</strong>: يناسب زر الاختيار الأحادي أسئلة الاختيار الواحد التي يجب قراءة كل خياراتها، مثل الاستبيانات؛ ولا يمكن إلغاء الاختيار بعد تحديده، لذلك ينبغي توفير خيار مثل «لست متأكدًا بعد». وحين يمكن اختيار أكثر من خيار، تُستخدم خانات الاختيار. والأمر نفسه داخل حقل الاختيار المنسدل: في الاختيار الأحادي توضع علامة صح بعد العنصر المحدد دون رسم دائرة الاختيار الأحادي؛ وفي الاختيار المتعدد توضع خانة اختيار قبل كل عنصر.</li>\n        </ol>\n        <p>وإلى جانب ذلك، يجب أن تظهر نتيجة كل عنصر تحكم فورًا: بعد تفعيل إشعارات سطح المكتب يظهر إشعار مباشرة؛ وبعد تنفيذ «تصدير البيانات» من القائمة المنسدلة، يُبلَّغ بالنتيجة عبر Toast.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>عدد الخيارات</dt><dd>2–5 خيارات قصيرة: عنصر التحكم المقسّم؛ 2–5 خيارات يحتاج كل منها إلى شرح: زر الاختيار الأحادي؛ 6 أو أكثر: حقل الاختيار المنسدل؛ المئات: حقل اختيار منسدل مع بحث</dd>\n        <dt>مفتاح التبديل</dt><dd>40×24px، زوايا 8px؛ المقبض 18px؛ التبديل 220ms، cubic-bezier(.32, .72, 0, 1)</dd>\n        <dt>عنصر التحكم المقسّم</dt><dd>الارتفاع 36px، الحشوة الداخلية 4px؛ ارتفاع المقبض 28px، زوايا 8px؛ التبديل 280ms</dd>\n        <dt>قائمة الخيارات</dt><dd>ارتفاع الخيار 36px؛ زوايا 14px؛ الفتح 180ms، الإغلاق 120ms</dd>\n        <dt>زر الاختيار الأحادي وخانة الاختيار</dt><dd>18px؛ زر الاختيار الأحادي دائري، وخانة الاختيار بزوايا 5px</dd>\n        </dl>\n        <p>يعثر الـ Prompt المرفق أولًا على كل عناصر الاختيار في المنتج، ويحدد لكل منها هل استُخدم استخدامًا صحيحًا وبأي نوع يجب استبداله، ويعرض ذلك في جدول لتقرر أنت؛ وبعد التأكيد يعدّلها واحدًا واحدًا وفق القواعد.</p>"
      }
    },
    "021-ring-cards": {
      "en": {
        "summary": "A set of cards arranged in a ring: seen from inside, their edges pass through glass with a color fringe; seen from outside, they have depth of field; on the cards, a flowing fluid gradient.",
        "notes": "<p>A typical card carousel is just a row of cards sliding left and right. Lay the same row out on a ring and the cards gain distance: from inside, the side cards wrap around the viewer; from outside, the middle is sharp and the farther cards blur. The key points:</p>\n        <ol>\n        <li><strong>Two views</strong>: The cards sit along one arc. With a positive curvature the viewer is inside the ring, with a negative one outside. Change the curvature continuously when switching, and the whole row bends smoothly from one ring into the other.</li>\n        <li><strong>Inside</strong>: Suits content people browse at leisure, like portfolios and galleries. The viewer stands a little behind the ring’s center, perspective 860px; the side cards are closer and larger, and five cards fit on screen.</li>\n        <li><strong>Glass rim</strong>: A 160px band of glass at each side of the frame. The closer to the outer edge, the further toward the middle it samples, so the cards’ top and bottom edges flare out; red shifts more than blue, giving a soft color fringe.</li>\n        <li><strong>Outside and depth of field</strong>: Suits places where people look at one item at a time, like picking a cover. The ring is seen at eye level, perspective 1500px; the middle stays sharp, and the sides and the far side blur and fade. The blur is worked out per pixel, so nothing shimmers as the ring turns.</li>\n        <li><strong>Fluid gradient and turning over</strong>: Each card’s front is a fluid gradient of four colors that flows slowly around a circle and loops seamlessly. Switching to outside turns the cards over one after another, from the middle out, to show the picture on the back.</li>\n        </ol>\n        <p>Also, the cards have no shadow or reflection, which looks dirty on a white page; distance comes only from size, blur and fade. With “Reduce motion” on, the gradients stop flowing and the view switches at once.</p>\n        <h2>Parameters</h2>\n        <dl class=\"params\">\n        <dt>Cards</dt><dd>180 × 300px, 18px apart, 22 in all; ring radius about 693px</dd>\n        <dt>Inside</dt><dd>perspective 860px; glass rim 160px, offset 0.4 × its width, falloff exponent 2.4; dispersion 25%</dd>\n        <dt>Outside</dt><dd>perspective 1500px; blur starts 110px from the center, up to 14px; far side faded 50%</dd>\n        <dt>Fluid</dt><dd>4 colors, 3 layers of noise warped twice; flows 0.2 noise cells per second</dd>\n        <dt>Corners</dt><dd>continuous corners, superellipse(2), 32px</dd>\n        <dt>Switching</dt><dd>view 1100ms; turning over 1800ms, from the middle out</dd>\n        </dl>\n        <p>The included prompt first asks where it goes, what the cards hold, which view it opens in and who sees the settings panel; once confirmed, it builds the effect with the values in the video, plus a slider panel for tuning them live.</p>"
      },
      "text": {
        "summary": "مجموعة بطاقات مرتّبة على حلقة: من الداخل تمرّ حوافها عبر زجاج مع تشتّت لوني، ومن الخارج يظهر عمق الميدان، وعلى البطاقات تدرّج سائل متحرّك.",
        "notes": "<p>دوّار البطاقات المعتاد ليس سوى صفّ من البطاقات ينزلق يمينًا ويسارًا. فإذا رُتّب الصفّ نفسه على حلقة اكتسبت البطاقات بُعدًا: من الداخل تلتفّ البطاقات الجانبية حول الناظر، ومن الخارج يبقى الوسط واضحًا ويزداد البعيد ضبابية. وأهم النقاط:</p>\n        <ol>\n        <li><strong>منظوران</strong>: تصطفّ البطاقات على قوس واحد. إذا كان الانحناء موجبًا كان الناظر داخل الحلقة، وإذا كان سالبًا كان خارجها. وعند التبديل يتغيّر الانحناء تغيّرًا متصلًا، فينحني الصف كله بسلاسة من حلقة إلى أخرى.</li>\n        <li><strong>من الداخل</strong>: يناسب المحتوى الذي يُتصفّح على مهل، كمعارض الأعمال والصور. يقف الناظر خلف مركز الحلقة بقليل، والمنظور 860px؛ البطاقات الجانبية أقرب وأكبر، وتظهر خمس بطاقات في الشاشة.</li>\n        <li><strong>حافة زجاجية</strong>: على جانبي الشاشة شريط زجاجي عرضه 160px. كلما اقتربنا من الحافة الخارجية أُخذت الصورة من موضع أقرب إلى الوسط، فتنفرج الحافتان العليا والسفلى للبطاقات إلى الخارج؛ ويزيح الأحمر أكثر من الأزرق فينشأ تشتّت لوني ناعم.</li>\n        <li><strong>من الخارج وعمق الميدان</strong>: يناسب المواقف التي يُنظر فيها إلى شيء واحد في كل مرة، كاختيار غلاف. تُرى الحلقة بمستوى العين، والمنظور 1500px؛ يبقى الوسط واضحًا، وتزداد الجوانب والصف الخلفي ضبابية وشحوبًا. يُحسب التمويه لكل بكسل على حدة، فلا يحدث وميض أثناء الدوران.</li>\n        <li><strong>التدرّج السائل والانقلاب</strong>: وجه كل بطاقة تدرّج سائل من أربعة ألوان يسيل ببطء في دائرة ويتكرر دون انقطاع. وعند الانتقال إلى المنظور الخارجي تنقلب البطاقات واحدة تلو الأخرى من الوسط نحو الجانبين، فتظهر الصورة على ظهرها.</li>\n        </ol>\n        <p>وإلى جانب ذلك، لا ظلّ للبطاقات ولا انعكاس، فهما يبدوان متّسخين على الخلفية البيضاء؛ ويُعبَّر عن البعد بالحجم والتمويه والشحوب وحدها. وعند تفعيل «تقليل الحركة» يتوقف سيلان التدرّجات ويتبدّل المنظور فورًا.</p>\n        <h2>المعايير</h2>\n        <dl class=\"params\">\n        <dt>البطاقات</dt><dd>180 × 300px، بينها 18px، 22 بطاقة في المجموع؛ نصف قطر الحلقة نحو 693px</dd>\n        <dt>من الداخل</dt><dd>منظور 860px؛ حافة زجاجية 160px، إزاحة 0.4 من عرضها، أسّ التلاشي 2.4؛ تشتّت لوني 25%</dd>\n        <dt>من الخارج</dt><dd>منظور 1500px؛ يبدأ التمويه على بُعد 110px من الوسط، حتى 14px؛ الصف الخلفي أشحب بنسبة 50%</dd>\n        <dt>السائل</dt><dd>4 ألوان، 3 طبقات ضجيج مشوّهة مرتين؛ يسيل 0.2 خلية ضجيج في الثانية</dd>\n        <dt>الزوايا</dt><dd>زوايا متصلة الانحناء superellipse(2)، 32px</dd>\n        <dt>التبديل</dt><dd>المنظور 1100ms؛ الانقلاب 1800ms، من الوسط نحو الجانبين</dd>\n        </dl>\n        <p>يسألك الـ Prompt المرفق أولًا عن موضع التأثير، ومحتوى البطاقات، والمنظور الذي يبدأ به، ومن يرى لوحة الإعدادات؛ وبعد التأكيد يبني التأثير بقيم الفيديو، مع لوحة منزلقات لضبطها مباشرة.</p>"
      }
    }
  },
  "privacy": {
    "en": "<h1>Privacy Policy</h1>\n    <p class=\"policy-date\">Last updated and effective: November 18, 2026</p>\n    <p class=\"policy-lead\">Vibe Design Tips (vibedesign.tips, “the site”, “we” or “us”) is a free website of design tips, run by an independent developer. You can read everything on the site without signing in; signing in is needed only to save tips, highlight passages and download Skills. This policy explains what information we collect, how we use and keep it, and the rights you have. Please read it before signing in.</p>\n\n    <h2>1. Information we collect</h2>\n    <h3>1.1 When you sign in</h3>\n    <p>When you sign in with Google, GitHub or X, we ask only to read your public profile, and we store:</p>\n    <ul>\n      <li>Your account identifier: the user ID that Google, GitHub or X provides, used to recognise the same account;</li>\n      <li>Your display name and the address of your profile picture, and, if you sign in with GitHub or X, your username (@handle).</li>\n    </ul>\n    <p>This information is refreshed from your Google, GitHub or X profile each time you sign in.</p>\n    <h3>1.2 When you use the site’s features</h3>\n    <p>Once you are signed in, the following is stored with your account:</p>\n    <ul>\n      <li>the tips you save;</li>\n      <li>the passages you highlight;</li>\n      <li>records of your reader keys: a hash of each key and its last four characters, when it was created, when it was last used, and how many reads it made that day. We do not store the keys themselves.</li>\n    </ul>\n    <h3>1.3 Information we do not collect</h3>\n    <p>We do not read your email address, we do not keep access tokens from Google, GitHub or X (the GitHub token is revoked as soon as your profile has been read), and we never post anything on your behalf. X’s consent screen lists permission to read posts; X requires it together with access to your profile, and the site does not use it.</p>\n\n    <h2>2. How we use information</h2>\n    <p>We use the information above only to:</p>\n    <ul>\n      <li>recognise your account and keep you signed in;</li>\n      <li>provide saving, highlighting and reader keys, and keep them in sync across your devices;</li>\n      <li>show the first 999 accounts (early members) in the site’s public member list, by display name and profile picture and in the order they signed up, unless the member turns this off;</li>\n      <li>prevent abuse and protect the site and your account;</li>\n      <li>count visits so that we can improve the site’s content.</li>\n    </ul>\n    <p>We do not use your information for advertising or profiling.</p>\n\n    <h2>3. Cookies and local storage</h2>\n    <ul>\n      <li>Sign-in cookie: keeps you signed in. It expires after 30 days and is cleared when you sign out;</li>\n      <li>Sign-in marker cookie: contains no personal information and only tells the page that this device may be signed in, so that visitors who are not signed in make no account request;</li>\n      <li>Your browser’s local storage: keeps preferences such as theme, language and the sign-in method you used last. It stays on your device and is not sent to us.</li>\n    </ul>\n    <p>The site uses no advertising or cross-site tracking cookies.</p>\n\n    <h2>4. Third-party services</h2>\n    <p>We rely on the following services to run the site. Each handles information only as far as needed to provide its service:</p>\n    <ul>\n      <li>Cloudflare: hosts the site and its database and handles network requests;</li>\n      <li>Google, GitHub and X: verify your identity when you choose to sign in with them;</li>\n      <li>Umami: counts page views and feature use. It uses no cookies, records only totals, and does not identify anyone.</li>\n    </ul>\n    <p>We do not sell your information or give it to anyone else, except where the law requires it.</p>\n\n    <h2>5. Storage and retention</h2>\n    <ul>\n      <li>Your profile, saves, highlights and reader key records are kept in Cloudflare’s database until you delete your account;</li>\n      <li>Sign-in sessions expire after 30 days;</li>\n      <li>To prevent abuse, sign-ins and API requests are counted per IP address. The counts are used only for rate limits, lapse by the next midnight (UTC) at the latest, and are then deleted.</li>\n    </ul>\n    <p>Cloudflare operates its network in many regions, so your information may be processed outside the country or region where you live.</p>\n\n    <h2>6. Security</h2>\n    <p>All traffic to the site is encrypted with HTTPS. Sign-in session tokens and reader keys are stored only as hashes, so a leak of the database could not be used to sign in or to read. No online service can promise absolute security, however; if a security incident occurs, we will announce it promptly on the site and on X.</p>\n\n    <h2>7. Your rights</h2>\n    <ul>\n      <li>Access: once signed in, you can see your profile, saves and reader keys in the account menu;</li>\n      <li>Correction: your name and picture follow your Google, GitHub or X profile; change them there and sign in again;</li>\n      <li>Deleting content: you can remove saves, delete highlights or revoke reader keys at any time;</li>\n      <li>Member list: if you are an early member, you can leave your name and picture out of the public member list at any time with the switch in the list, which opens from the 999 nameplate in the account menu. Your place then shows only as taken;</li>\n      <li>Signing out: clears the sign-in on this device;</li>\n      <li>Deleting your account: send a direct message to <a href=\"https://x.com/kubai087\">@kubai087</a> on X with how you signed in and your display name. Deleting your account removes your profile, saves, highlights and reader keys together, and cannot be undone.</li>\n    </ul>\n\n    <h2>8. About the ways to sign in</h2>\n    <div class=\"policy-callout\">\n      <p>Signing in with Google, with GitHub and with X creates three separate accounts. Saves, highlights and reader keys belong to one account and do not carry over to the others; they cannot be merged at present.</p>\n      <p>We recommend signing in the same way each time. The sign-in dialog marks the method this device used last.</p>\n    </div>\n\n    <h2>9. Children</h2>\n    <p>The site is intended for a general audience and is not directed at children under 14. We do not knowingly collect personal information from children; if you believe a child has signed in without a parent’s or guardian’s consent, please contact us and we will delete the account.</p>\n\n    <h2>10. Changes to this policy</h2>\n    <p>We may update this policy as the site’s features change. When we do, we will update this page and the date above, and for significant changes we will also give notice in a prominent place on the site.</p>\n\n    <h2>11. Contact us</h2>\n    <p>If you have any questions about this policy or your personal information, please contact <a href=\"https://x.com/kubai087\">@kubai087</a> on X.</p>",
    "text": "<h1>سياسة الخصوصية</h1>\n    <p class=\"policy-date\">تاريخ آخر تحديث وتاريخ السريان: 18 نوفمبر 2026</p>\n    <p class=\"policy-lead\">Vibe Design Tips (vibedesign.tips، ويُشار إليه فيما يلي بـ«الموقع» أو «نحن») موقع مجاني لنصائح التصميم يديره مطوّر مستقل. يمكنك قراءة كل محتوى الموقع دون تسجيل الدخول؛ ولا يلزم تسجيل الدخول إلا لحفظ النصائح وتمييز المقاطع وتنزيل Skills. توضح هذه السياسة المعلومات التي نجمعها، وكيف نستخدمها ونحفظها، والحقوق التي تتمتع بها. يُرجى قراءتها قبل تسجيل الدخول.</p>\n\n    <h2>1. المعلومات التي نجمعها</h2>\n    <h3>1.1 عند تسجيل الدخول</h3>\n    <p>عندما تسجّل الدخول عبر Google أو GitHub أو X، لا نطلب إلا قراءة ملفك الشخصي العام، ونحفظ ما يلي:</p>\n    <ul>\n      <li>معرّف حسابك: معرّف المستخدم الذي يقدمه Google أو GitHub أو X، ويُستخدم للتعرف على الحساب نفسه؛</li>\n      <li>اسمك المعروض وعنوان صورة ملفك الشخصي، وإذا سجّلت الدخول عبر GitHub أو X، فاسم المستخدم الخاص بك (@handle).</li>\n    </ul>\n    <p>تُحدَّث هذه المعلومات من ملفك الشخصي في Google أو GitHub أو X في كل مرة تسجّل فيها الدخول.</p>\n    <h3>1.2 عند استخدام ميزات الموقع</h3>\n    <p>بعد تسجيل الدخول، يُحفظ ما يلي مرتبطًا بحسابك:</p>\n    <ul>\n      <li>النصائح التي تحفظها؛</li>\n      <li>المقاطع التي تميّزها؛</li>\n      <li>سجلات مفاتيح القراءة الخاصة بك: قيمة التجزئة (hash) لكل مفتاح وآخر أربعة أحرف منه، ووقت إنشائه، ووقت آخر استخدام له، وعدد مرات القراءة التي أجراها في ذلك اليوم. لا نحفظ المفاتيح نفسها.</li>\n    </ul>\n    <h3>1.3 المعلومات التي لا نجمعها</h3>\n    <p>لا نقرأ عنوان بريدك الإلكتروني، ولا نحتفظ برموز الوصول الخاصة بـ Google أو GitHub أو X (إذ يُلغى رمز GitHub فور قراءة ملفك الشخصي)، ولا ننشر أي شيء نيابةً عنك أبدًا. تعرض شاشة الموافقة في X إذنًا بقراءة المنشورات؛ إذ يشترطه X مع الوصول إلى ملفك الشخصي، ولا يستخدمه الموقع.</p>\n\n    <h2>2. كيف نستخدم المعلومات</h2>\n    <p>نستخدم المعلومات المذكورة أعلاه فقط من أجل:</p>\n    <ul>\n      <li>التعرف على حسابك وإبقائك مسجّل الدخول؛</li>\n      <li>تقديم الحفظ والتمييز ومفاتيح القراءة، ومزامنتها بين أجهزتك؛</li>\n      <li>عرض أول 999 حسابًا (الأعضاء المبكرين) في قائمة الأعضاء العامة على الموقع، بالاسم المعروض وصورة الملف الشخصي وبترتيب التسجيل، ما لم يُوقف العضو ذلك؛</li>\n      <li>منع إساءة الاستخدام وحماية الموقع وحسابك؛</li>\n      <li>إحصاء الزيارات لنتمكن من تحسين محتوى الموقع.</li>\n    </ul>\n    <p>لا نستخدم معلوماتك للإعلانات أو لبناء ملفات تعريفية.</p>\n\n    <h2>3. ملفات تعريف الارتباط والتخزين المحلي</h2>\n    <ul>\n      <li>ملف تعريف ارتباط تسجيل الدخول: يُبقيك مسجّل الدخول. تنتهي صلاحيته بعد 30 يومًا، ويُمسح عند تسجيل الخروج؛</li>\n      <li>ملف تعريف ارتباط علامة تسجيل الدخول: لا يحتوي على أي معلومات شخصية، ويقتصر على إخبار الصفحة بأن هذا الجهاز ربما يكون مسجّل الدخول، حتى لا يرسل الزوار غير المسجّلين أي طلب متعلق بالحساب؛</li>\n      <li>التخزين المحلي في متصفحك: يحفظ تفضيلات مثل المظهر واللغة وطريقة تسجيل الدخول التي استخدمتها آخر مرة. ويبقى على جهازك ولا يُرسل إلينا.</li>\n    </ul>\n    <p>لا يستخدم الموقع أي ملفات تعريف ارتباط للإعلانات أو للتتبع عبر المواقع.</p>\n\n    <h2>4. خدمات الجهات الخارجية</h2>\n    <p>نعتمد على الخدمات التالية لتشغيل الموقع. وتتعامل كل منها مع المعلومات بالقدر اللازم لتقديم خدمتها فقط:</p>\n    <ul>\n      <li>Cloudflare: تستضيف الموقع وقاعدة بياناته وتعالج طلبات الشبكة؛</li>\n      <li>Google وGitHub وX: تتحقق من هويتك عندما تختار تسجيل الدخول عبرها؛</li>\n      <li>Umami: تحصي مشاهدات الصفحات واستخدام الميزات. لا تستخدم ملفات تعريف الارتباط، ولا تسجل إلا الأعداد الإجمالية، ولا تحدد هوية أي شخص.</li>\n    </ul>\n    <p>لا نبيع معلوماتك ولا نعطيها لأي جهة أخرى، إلا حيث يقتضي القانون ذلك.</p>\n\n    <h2>5. التخزين ومدة الاحتفاظ</h2>\n    <ul>\n      <li>يُحفظ ملفك الشخصي ومحفوظاتك وتمييزاتك وسجلات مفاتيح القراءة في قاعدة بيانات Cloudflare حتى تحذف حسابك؛</li>\n      <li>تنتهي صلاحية جلسات تسجيل الدخول بعد 30 يومًا؛</li>\n      <li>لمنع إساءة الاستخدام، تُحصى عمليات تسجيل الدخول وطلبات API لكل عنوان IP. ولا تُستخدم هذه الأعداد إلا لحدود المعدل، وتنتهي صلاحيتها في منتصف الليل التالي (UTC) على أقصى تقدير، ثم تُحذف.</li>\n    </ul>\n    <p>تشغّل Cloudflare شبكتها في مناطق كثيرة، لذلك قد تُعالَج معلوماتك خارج البلد أو المنطقة التي تعيش فيها.</p>\n\n    <h2>6. الأمان</h2>\n    <p>كل حركة البيانات إلى الموقع مشفّرة باستخدام HTTPS. ولا تُحفظ رموز جلسات تسجيل الدخول ومفاتيح القراءة إلا كقيم تجزئة، فلا يمكن استخدام أي تسريب لقاعدة البيانات لتسجيل الدخول أو للقراءة. ومع ذلك، لا يمكن لأي خدمة على الإنترنت أن تَعِد بأمان مطلق؛ وإذا وقع حادث أمني، فسنعلن عنه فورًا على الموقع وعلى X.</p>\n\n    <h2>7. حقوقك</h2>\n    <ul>\n      <li>الاطلاع: بعد تسجيل الدخول، يمكنك رؤية ملفك الشخصي ومحفوظاتك ومفاتيح القراءة في قائمة الحساب؛</li>\n      <li>التصحيح: يتبع اسمك وصورتك ملفك الشخصي في Google أو GitHub أو X؛ غيّرهما هناك ثم سجّل الدخول مرة أخرى؛</li>\n      <li>حذف المحتوى: يمكنك إزالة المحفوظات أو حذف التمييزات أو إلغاء مفاتيح القراءة في أي وقت؛</li>\n      <li>قائمة الأعضاء: إذا كنت عضوًا مبكرًا، يمكنك في أي وقت إخفاء اسمك وصورتك من قائمة الأعضاء العامة باستخدام المفتاح الموجود في القائمة، التي تُفتح من لوحة الاسم 999 في قائمة الحساب. وبعد ذلك يظهر مكانك على أنه مشغول فقط؛</li>\n      <li>تسجيل الخروج: يمسح تسجيل الدخول على هذا الجهاز؛</li>\n      <li>حذف حسابك: أرسل رسالة مباشرة إلى <a href=\"https://x.com/kubai087\">@kubai087</a> على X تذكر فيها طريقة تسجيل دخولك واسمك المعروض. يؤدي حذف حسابك إلى إزالة ملفك الشخصي ومحفوظاتك وتمييزاتك ومفاتيح القراءة معًا، ولا يمكن التراجع عنه.</li>\n    </ul>\n\n    <h2>8. حول طرق تسجيل الدخول</h2>\n    <div class=\"policy-callout\">\n      <p>ينشئ تسجيل الدخول عبر Google وتسجيل الدخول عبر GitHub وتسجيل الدخول عبر X ثلاثة حسابات منفصلة. فالمحفوظات والتمييزات ومفاتيح القراءة تتبع حسابًا واحدًا ولا تنتقل إلى الحسابات الأخرى؛ ولا يمكن دمجها حاليًا.</p>\n      <p>ننصح بتسجيل الدخول بالطريقة نفسها في كل مرة. ويُشير مربع حوار تسجيل الدخول إلى الطريقة التي استخدمها هذا الجهاز آخر مرة.</p>\n    </div>\n\n    <h2>9. الأطفال</h2>\n    <p>الموقع موجّه إلى الجمهور العام، وليس موجّهًا إلى الأطفال دون سن 14 عامًا. ولا نجمع عن علم أي معلومات شخصية من الأطفال؛ وإذا كنت تعتقد أن طفلًا سجّل الدخول دون موافقة أحد والديه أو وليّ أمره، فيُرجى التواصل معنا وسنحذف الحساب.</p>\n\n    <h2>10. التغييرات على هذه السياسة</h2>\n    <p>قد نحدّث هذه السياسة مع تغيّر ميزات الموقع. وعندما نفعل ذلك، سنحدّث هذه الصفحة والتاريخ أعلاه، وفي حال التغييرات الجوهرية سننشر إشعارًا أيضًا في مكان بارز على الموقع.</p>\n\n    <h2>11. تواصل معنا</h2>\n    <p>إذا كانت لديك أي أسئلة حول هذه السياسة أو معلوماتك الشخصية، فيُرجى التواصل مع <a href=\"https://x.com/kubai087\">@kubai087</a> على X.</p>"
  }
}
