{
  "language": {
    "id": "vi",
    "tag": "vi",
    "name": "Tiếng Việt"
  },
  "note": "Để đề xuất chỉnh sửa, vui lòng tải văn bản của ngôn ngữ này, sửa lại và gửi tệp đến 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": "Tất cả"
    },
    "saved": {
      "en": "Saved",
      "text": "Đã lưu"
    },
    "filterLabel": {
      "en": "Filter by category",
      "text": "Lọc theo danh mục"
    },
    "savedNone": {
      "en": "No saved tips yet",
      "text": "Chưa có mẹo nào được lưu"
    },
    "savedSignIn": {
      "en": "Sign in to see the tips you saved",
      "text": "Đăng nhập để xem các mẹo bạn đã lưu"
    },
    "marksTitle": {
      "en": "(n) => `${n} ${n === 1 ? \"highlight\" : \"highlights\"}`",
      "text": "(n) => `${n} đoạn tô sáng`"
    },
    "marksExport": {
      "en": "Export as Markdown",
      "text": "Xuất dưới dạng Markdown"
    },
    "ellipsis": {
      "en": "…",
      "text": "…"
    },
    "marksExported": {
      "en": "Highlights exported",
      "text": "Đã xuất các đoạn tô sáng"
    },
    "marksFile": {
      "en": "My highlights · Vibe Design Tips",
      "text": "Đoạn tô sáng của tôi · Vibe Design Tips"
    },
    "signInClosed": {
      "en": "Sign-in is not open yet",
      "text": "Chưa mở chức năng đăng nhập"
    },
    "signIn": {
      "en": "Sign in",
      "text": "Đăng nhập"
    },
    "save": {
      "en": "Save",
      "text": "Lưu"
    },
    "unsave": {
      "en": "Remove from saved",
      "text": "Bỏ lưu"
    },
    "savedState": {
      "en": "Saved",
      "text": "Đã lưu"
    },
    "copy": {
      "en": "Copy",
      "text": "Sao chép"
    },
    "copied": {
      "en": "Copied",
      "text": "Đã sao chép"
    },
    "promptNote": {
      "en": "Paste it into an agent such as Claude Code or Cursor",
      "text": "Dán vào một Agent như Claude Code hoặc Cursor"
    },
    "install": {
      "en": "Copy install prompt",
      "text": "Sao chép prompt cài đặt"
    },
    "installTitle": {
      "en": "Give this prompt to your agent: it installs the Skill, and can update it later",
      "text": "Gửi prompt này cho Agent của bạn: Agent sẽ cài Skill và có thể cập nhật sau này"
    },
    "installCopied": {
      "en": "Copied. Give it to your agent to install",
      "text": "Đã sao chép. Gửi cho Agent của bạn để cài đặt"
    },
    "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`Hãy cài Skill ${name} cho tôi (từ Vibe Design Tips), để Skill dùng được trong mọi dự án và có thể cập nhật sau này.`,\n\t\t\t\"\",\n\t\t\t`Làm theo các bước trong ${guide} để cài ${name}.`,\n\t\t\t`Nếu không truy cập được GitHub, hãy dùng ${mirror}`,\n\t\t\t\"\",\n\t\t\t\"Nếu đã cài rồi, hãy làm theo các bước cập nhật ở đó. Sau đó cho tôi biết phiên bản và nơi bạn đã cài.\"\n\t\t].join(\"\\n\")"
    },
    "copyFailed": {
      "en": "Copy failed",
      "text": "Sao chép không thành công"
    },
    "demo": {
      "en": "(name) => `${name} demo`",
      "text": "(name) => `Demo ${name}`"
    },
    "reset": {
      "en": "Reset",
      "text": "Đặt lại"
    },
    "loadFailed": {
      "en": [
        "Could not load this tip. ",
        "Reload the page",
        " to try again."
      ],
      "text": [
        "Không tải được mẹo này. ",
        "Tải lại trang",
        " để thử lại."
      ]
    },
    "viewOnX": {
      "en": "View the post on X",
      "text": "Xem bài đăng trên X"
    },
    "privacy": {
      "en": "Privacy",
      "text": "Quyền riêng tư"
    },
    "close": {
      "en": "Close",
      "text": "Đóng"
    },
    "themeToggle": {
      "en": "Dark mode",
      "text": "Chế độ tối"
    },
    "themeTip": {
      "en": "Dark mode",
      "text": "Chế độ tối"
    },
    "themeTipDark": {
      "en": "Light mode",
      "text": "Chế độ sáng"
    },
    "autoplayToggle": {
      "en": "Autoplay videos",
      "text": "Tự động phát video"
    },
    "autoplayTip": {
      "en": "Pause autoplay",
      "text": "Tạm dừng tự động phát"
    },
    "autoplayTipOff": {
      "en": "Autoplay videos",
      "text": "Tự động phát video"
    },
    "langSwitch": {
      "en": "Language",
      "text": "Ngôn ngữ"
    },
    "sideCollapse": {
      "en": "Collapse sidebar",
      "text": "Thu gọn thanh bên"
    },
    "sideExpand": {
      "en": "Expand sidebar",
      "text": "Mở rộng thanh bên"
    },
    "menu": {
      "en": "Menu",
      "text": "Menu"
    },
    "community": {
      "en": "Join the community",
      "text": "Tham gia cộng đồng"
    },
    "projects": {
      "en": "Related work",
      "text": "Dự án liên quan"
    },
    "projectPrev": {
      "en": "Previous project",
      "text": "Dự án trước"
    },
    "projectNext": {
      "en": "Next project",
      "text": "Dự án tiếp theo"
    },
    "readingTools": {
      "en": "Reading tools",
      "text": "Công cụ đọc"
    },
    "textSize": {
      "en": "Text size",
      "text": "Cỡ chữ"
    },
    "focus": {
      "en": "Focus mode",
      "text": "Chế độ tập trung"
    },
    "exitFocus": {
      "en": "Show the demo",
      "text": "Hiện demo"
    },
    "prev": {
      "en": "Previous",
      "text": "Trước"
    },
    "next": {
      "en": "Next",
      "text": "Sau"
    },
    "moreTips": {
      "en": "Previous and next tips",
      "text": "Mẹo trước và mẹo sau"
    },
    "seriesStats": {
      "en": "(views, likes, bookmarks) => `The series on X: ${views} views, ${likes} likes, ${bookmarks} bookmarks`",
      "text": "(views, likes, bookmarks) => `Loạt bài trên X: ${views} lượt xem, ${likes} lượt thích, ${bookmarks} lượt đánh dấu`"
    },
    "reads": {
      "en": "reads",
      "text": "lượt đọc"
    },
    "likesSaves": {
      "en": "likes & saves",
      "text": "lượt thích và lưu"
    },
    "follow": {
      "en": "Follow @kubai087 on X",
      "text": "Theo dõi @kubai087 trên X"
    },
    "readsAcross": {
      "en": "(n) => `Reads across ${n} posts`",
      "text": "(n) => `Tổng lượt đọc của ${n} bài đăng`"
    },
    "likesCount": {
      "en": [
        "",
        " likes"
      ],
      "text": [
        "",
        " lượt thích"
      ]
    },
    "savesCount": {
      "en": [
        "",
        " saves"
      ],
      "text": [
        "",
        " lượt lưu"
      ]
    },
    "improve": {
      "en": "Improve translation",
      "text": "Cải thiện bản dịch"
    },
    "improveNote": {
      "en": "To suggest corrections, download the text of this language, edit it, and send the file to {email}.",
      "text": "Để đề xuất chỉnh sửa, vui lòng tải văn bản của ngôn ngữ này, sửa lại và gửi tệp đến {email}."
    },
    "improveDone": {
      "en": "Download complete. Please send your corrections to i@kubai.design.",
      "text": "Đã tải xuống. Vui lòng gửi bản chỉnh sửa đến i@kubai.design."
    }
  },
  "reader": {
    "size": {
      "en": "Text size",
      "text": "Cỡ chữ"
    },
    "sizes": {
      "en": [
        "Default",
        "Large",
        "Larger"
      ],
      "text": [
        "Mặc định",
        "Lớn",
        "Lớn hơn"
      ]
    },
    "marks": {
      "en": "Selected text",
      "text": "Văn bản đã chọn"
    },
    "highlight": {
      "en": "Highlight",
      "text": "Tô sáng"
    },
    "unhighlight": {
      "en": "Remove highlight",
      "text": "Bỏ tô sáng"
    },
    "marked": {
      "en": "Highlighted and saved. Find your highlights under Saved",
      "text": "Đã tô sáng và lưu. Xem các đoạn tô sáng trong mục Đã lưu"
    },
    "unmarked": {
      "en": "Highlight removed",
      "text": "Đã bỏ tô sáng"
    },
    "copy": {
      "en": "Copy",
      "text": "Sao chép"
    },
    "quote": {
      "en": "Quote",
      "text": "Trích dẫn"
    },
    "copied": {
      "en": "Copied",
      "text": "Đã sao chép"
    },
    "quoted": {
      "en": "Quote copied",
      "text": "Đã sao chép trích dẫn"
    },
    "copyFailed": {
      "en": "Copy failed",
      "text": "Sao chép không thành công"
    },
    "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": "Đã lưu"
    },
    "unsaved": {
      "en": "Removed from saved",
      "text": "Đã bỏ lưu"
    },
    "save": {
      "en": "Save",
      "text": "Lưu"
    },
    "savedState": {
      "en": "Saved",
      "text": "Đã lưu"
    },
    "unsave": {
      "en": "Remove from saved",
      "text": "Bỏ lưu"
    },
    "tooMany": {
      "en": "Too many requests. Try again in a moment.",
      "text": "Quá nhiều yêu cầu. Vui lòng thử lại sau ít phút."
    },
    "saveFailed": {
      "en": "Could not save. Try again in a moment.",
      "text": "Không lưu được. Vui lòng thử lại sau ít phút."
    },
    "going": {
      "en": "(p) => `Going to ${p}…`",
      "text": "(p) => `Đang chuyển đến ${p}…`"
    },
    "signedOut": {
      "en": "Signed out",
      "text": "Đã đăng xuất"
    },
    "account": {
      "en": "(name) => `Account: ${name}`",
      "text": "(name) => `Tài khoản: ${name}`"
    },
    "signIn": {
      "en": "Sign in",
      "text": "Đăng nhập"
    },
    "signInTitle": {
      "en": "Sign in to vibedesign.tips",
      "text": "Đăng nhập vào 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": "Sau khi đăng nhập, mẹo này sẽ được lưu.",
        "mark": "Sau khi đăng nhập, đoạn tô sáng này được giữ lại và mẹo này sẽ được lưu.",
        "install": "Đăng nhập để sao chép prompt cài đặt.",
        "saved": "Đăng nhập để xem các mẹo bạn đã lưu."
      }
    },
    "expiredTitle": {
      "en": "Your sign-in has expired",
      "text": "Phiên đăng nhập đã hết hạn"
    },
    "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": "Vui lòng đăng nhập lại. Sau đó mẹo này sẽ được lưu.",
        "bundle": "Vui lòng đăng nhập lại để tiếp tục tải Skill.",
        "archive": "Vui lòng đăng nhập lại để tiếp tục tải gói đầy đủ.",
        "install": "Vui lòng đăng nhập lại để sao chép prompt cài đặt.",
        "rename": "Vui lòng đăng nhập lại để sửa tên."
      }
    },
    "signInWith": {
      "en": "(p) => `Sign in with ${p}`",
      "text": "(p) => `Đăng nhập bằng ${p}`"
    },
    "lastUsed": {
      "en": "Last used",
      "text": "Dùng lần trước"
    },
    "recommended": {
      "en": "Recommended",
      "text": "Đề xuất"
    },
    "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) => `Đăng nhập bằng Google sẽ tiếp tục trong trình duyệt. Nếu trình duyệt không mở, hãy chọn “Mở trong trình duyệt” từ menu ··· của ứng dụng này${github ? ' hoặc đăng nhập bằng GitHub' : ''}.`"
    },
    "openingBrowser": {
      "en": "Opening your browser…",
      "text": "Đang mở trình duyệt…"
    },
    "browserNotOpened": {
      "en": "Could not open your browser",
      "text": "Không mở được trình duyệt"
    },
    "member": {
      "en": "(n) => `Early member No. ${n}`",
      "text": "(n) => `Thành viên sớm số ${n}`"
    },
    "plateTitle": {
      "en": "Early member plate",
      "text": "Bảng tên thành viên sớm"
    },
    "plateNote": {
      "en": "(max, n) => `A keepsake for the first ${max} people to support vibedesign.tips. You are No. ${n}.`",
      "text": "(max, n) => `Kỷ niệm dành cho ${max} người đầu tiên ủng hộ vibedesign.tips. Bạn là người thứ ${n}.`"
    },
    "plateOpen": {
      "en": "Click to see the member list",
      "text": "Nhấp để xem danh sách thành viên"
    },
    "membersOpen": {
      "en": "See the member list",
      "text": "Xem danh sách thành viên"
    },
    "membersTitle": {
      "en": [
        "The first ",
        " members"
      ],
      "text": [
        "",
        " thành viên đầu tiên"
      ]
    },
    "membersLead": {
      "en": "(count, max) => (count >= max ? `All ${max} places are taken` : `${count} taken, ${max - count} left`)",
      "text": "(count, max) => (count >= max ? `Đã đủ ${max} suất` : `Đã có ${count} người, còn ${max - count} suất`)"
    },
    "membersYou": {
      "en": "(n) => `You are No. ${n}`",
      "text": "(n) => `Bạn là thành viên số ${n}`"
    },
    "membersSelf": {
      "en": "You",
      "text": "Bạn"
    },
    "membersShow": {
      "en": "Show me on the list",
      "text": "Hiện tên tôi trong danh sách"
    },
    "membersShown": {
      "en": "You are on the list",
      "text": "Tên bạn đã có trong danh sách"
    },
    "membersHidden": {
      "en": "You are off the list",
      "text": "Đã ẩn tên bạn khỏi danh sách"
    },
    "membersPrivate": {
      "en": "Only you can see this",
      "text": "Chỉ bạn xem được"
    },
    "membersJoin": {
      "en": "Sign in to take a place",
      "text": "Đăng nhập để giữ một suất"
    },
    "membersAnonymous": {
      "en": "Anonymous kind soul",
      "text": "Một người tốt giấu tên"
    },
    "membersFailed": {
      "en": "Could not load the list. Try again in a moment.",
      "text": "Không tải được danh sách. Vui lòng thử lại sau ít phút."
    },
    "getAll": {
      "en": "Get all tips",
      "text": "Nhận tất cả mẹo"
    },
    "getAllTitle": {
      "en": "Sign in to vibedesign.tips",
      "text": "Đăng nhập vào 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",
          "Tải tất cả mẹo trong một lần"
        ],
        [
          "save",
          "Lưu các mẹo bạn thích và tô sáng những chỗ quan trọng"
        ],
        [
          "badge",
          "Tham gia sớm để nhận huy hiệu riêng"
        ]
      ]
    },
    "consent": {
      "en": [
        "Free, keeps only your name and avatar. Signing in accepts the ",
        "Privacy Policy",
        "."
      ],
      "text": [
        "Miễn phí, chỉ lưu tên và ảnh đại diện của bạn. Khi đăng nhập, bạn đồng ý với ",
        "Chính sách quyền riêng tư",
        "."
      ]
    },
    "separate": {
      "en": "Accounts from different sign-in methods don’t share saves",
      "text": "Tài khoản từ các cách đăng nhập khác nhau không dùng chung mục đã lưu"
    },
    "accountMenu": {
      "en": "Account",
      "text": "Tài khoản"
    },
    "providerAccount": {
      "en": "(p) => `Signed in with ${p}`",
      "text": "(p) => `Đã đăng nhập bằng ${p}`"
    },
    "mySaved": {
      "en": "Saved",
      "text": "Đã lưu"
    },
    "signOut": {
      "en": "Sign out",
      "text": "Đăng xuất"
    },
    "editName": {
      "en": "Edit name",
      "text": "Sửa tên"
    },
    "nameField": {
      "en": "Name",
      "text": "Tên"
    },
    "nameSaved": {
      "en": "Name updated",
      "text": "Đã cập nhật tên"
    },
    "nameInvalid": {
      "en": "(max) => `Use 1 to ${max} characters`",
      "text": "(max) => `Tên cần có từ 1 đến ${max} ký tự`"
    },
    "nameFailed": {
      "en": "Could not change the name. Try again in a moment.",
      "text": "Không đổi được tên. Vui lòng thử lại sau ít phút."
    },
    "closed": {
      "en": "Sign-in is not open yet",
      "text": "Chưa mở chức năng đăng nhập"
    },
    "savedSignIn": {
      "en": "Sign in to see the tips you saved",
      "text": "Đăng nhập để xem các mẹo bạn đã lưu"
    },
    "savedCount": {
      "en": "(n) => `${n} saved ${n === 1 ? 'tip' : 'tips'}`",
      "text": "(n) => `${n} mẹo đã lưu`"
    },
    "seeAll": {
      "en": "See all",
      "text": "Xem tất cả"
    },
    "loginError": {
      "en": "Sign-in did not work. Please try again.",
      "text": "Đăng nhập không thành công. Vui lòng thử lại."
    },
    "loginCancelled": {
      "en": "Sign-in cancelled",
      "text": "Đã hủy đăng nhập"
    },
    "loginLimited": {
      "en": "Too many sign-ins. Try again in a moment.",
      "text": "Quá nhiều lần đăng nhập. Vui lòng thử lại sau ít phút."
    },
    "loginBusy": {
      "en": "Sign-in with X has reached its limit for now. Please sign in another way.",
      "text": "Đăng nhập bằng X tạm thời đã đạt giới hạn. Vui lòng đăng nhập bằng cách khác."
    },
    "loginSaved": {
      "en": "Signed in, and this tip is saved",
      "text": "Đã đăng nhập và lưu mẹo này"
    },
    "signedIn": {
      "en": "(name) => `Signed in as ${name}`",
      "text": "(name) => `Đã đăng nhập với tên ${name}`"
    },
    "colon": {
      "en": ": ",
      "text": ": "
    },
    "downloads": {
      "en": "Download everything",
      "text": "Tải xuống tất cả"
    },
    "downloading": {
      "en": "Preparing…",
      "text": "Đang chuẩn bị…"
    },
    "downloadFailed": {
      "en": "Could not download. Try again in a moment.",
      "text": "Không tải xuống được. Vui lòng thử lại sau ít phút."
    },
    "skillTile": {
      "en": "Skill",
      "text": "Skill"
    },
    "skillTileNote": {
      "en": "Everything",
      "text": "Toàn bộ nội dung"
    },
    "skillZip": {
      "en": "Or download the Skill as a ZIP",
      "text": "Hoặc tải Skill dưới dạng ZIP"
    },
    "skillVersion": {
      "en": "(v) => `Version ${v}`",
      "text": "(v) => `Phiên bản ${v}`"
    },
    "changelog": {
      "en": "Changelog",
      "text": "Nhật ký thay đổi"
    },
    "changelogTitle": {
      "en": "Skill changelog",
      "text": "Nhật ký thay đổi của Skill"
    },
    "changelogLead": {
      "en": "Every release of the Skill that holds everything. Each tip’s own Skill is on its page.",
      "text": "Mọi bản phát hành của Skill chứa toàn bộ nội dung. Skill của từng mẹo nằm trên trang của mẹo đó."
    },
    "changelogAdded": {
      "en": "Added",
      "text": "Đã thêm"
    },
    "changelogUpdated": {
      "en": "Updated",
      "text": "Đã cập nhật"
    },
    "installCopied": {
      "en": "Install prompt copied. Give it to your agent",
      "text": "Đã sao chép prompt cài đặt. Hãy gửi cho Agent của bạn"
    },
    "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    'Hãy cài Skill kubai-design-tips cho tôi (toàn bộ mẹo thiết kế của Vibe Design Tips), để Skill dùng được trong mọi dự án và có thể cập nhật sau này.',\n    '',\n    `Làm theo các bước trong ${guide}`,\n    `Nếu không truy cập được GitHub, hãy dùng ${mirror}`,\n    '',\n    'Nếu đã cài rồi, hãy làm theo các bước cập nhật ở đó. Sau đó cho tôi biết phiên bản và nơi bạn đã cài.',\n  ].join('\\n')"
    },
    "copyFailed": {
      "en": "Could not copy. Try again in a moment.",
      "text": "Không sao chép được. Vui lòng thử lại sau ít phút."
    },
    "skillStarted": {
      "en": "Download started",
      "text": "Đã bắt đầu tải xuống"
    },
    "archiveTile": {
      "en": "Full package",
      "text": "Gói đầy đủ"
    },
    "archiveTileNote": {
      "en": "Videos and posts",
      "text": "Video và bài đăng"
    },
    "archiveNew": {
      "en": "(n) => `Or only the ${n} ${n === 1 ? 'tip' : 'tips'} added or updated since your last download`",
      "text": "(n) => `Hoặc chỉ tải ${n} mẹo mới hoặc đã cập nhật kể từ lần tải trước`"
    },
    "archiveUpToDate": {
      "en": "You already have every tip in the full package",
      "text": "Bạn đã có tất cả mẹo trong gói đầy đủ"
    },
    "archiveStarted": {
      "en": "(size) => `Downloading the full package (${size}). Each tip has its video and its text in Chinese and English.`",
      "text": "(size) => `Đang tải gói đầy đủ (${size}). Mỗi mẹo có video và nội dung bằng tiếng Trung và tiếng Anh.`"
    },
    "close": {
      "en": "Close",
      "text": "Đóng"
    },
    "community": {
      "en": "Join the community",
      "text": "Tham gia cộng đồng"
    },
    "communityKind": {
      "en": "Paid community",
      "text": "Cộng đồng trả phí"
    },
    "communityTitle": {
      "en": [
        "Join Vibe Design ",
        ""
      ],
      "text": [
        "Tham gia Vibe Design ",
        ""
      ]
    },
    "communityLead": {
      "en": "Good design friends, waiting for you to come and chat",
      "text": "Những người bạn làm thiết kế đang chờ bạn đến trò chuyện"
    },
    "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": "Mọi hướng dẫn trên trang này đều miễn phí vĩnh viễn và sẽ tiếp tục được cập nhật chất lượng. Cộng đồng không cung cấp bài học bổ sung, nhưng khi tham gia, bạn có thể:"
    },
    "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",
          "Giúp các mẹo miễn phí tiếp tục ra đều và tiếp thêm động lực cho mình ✨"
        ],
        [
          "ask",
          "Hỏi Kubai bất cứ lúc nào để nhận góp ý miễn phí về icon và thiết kế sản phẩm"
        ],
        [
          "share",
          "Thêm nhiều kiến thức và tư liệu thiết kế hằng ngày"
        ],
        [
          "talk",
          "Gặp gỡ những người bạn giỏi cùng làm sản phẩm, nội dung và thiết kế"
        ],
        [
          "treat",
          "Mua cho bé mèo Shubing một hộp pate 🐱"
        ]
      ]
    },
    "communityCat": {
      "en": [
        "Hi! I’m ",
        "Shubing",
        ". Thanks for the treats~"
      ],
      "text": [
        "Xin chào! Mình là ",
        "Shubing",
        ". Cảm ơn bạn vì hộp pate nhé~"
      ]
    },
    "communityCurrency": {
      "en": "CN¥",
      "text": "CN¥"
    },
    "communityEarly": {
      "en": "Early bird",
      "text": "Giá ưu đãi sớm"
    },
    "communityWas": {
      "en": "Regular price ",
      "text": "Giá thường "
    },
    "communityEnds": {
      "en": "(date) => `Ends ${date}`",
      "text": "(date) => `Kết thúc ngày ${date}`"
    },
    "communityDaysLeft": {
      "en": "(n) => `${n} ${n === 1 ? 'day' : 'days'} left`",
      "text": "(n) => `Còn ${n} ngày`"
    },
    "communityLastDay": {
      "en": "Ends today",
      "text": "Kết thúc hôm nay"
    },
    "communityOnce": {
      "en": "Pay once, yours to keep",
      "text": "Trả một lần, dùng mãi mãi"
    },
    "communityScan": {
      "en": "Scan with WeChat to add me",
      "text": "Quét bằng WeChat để kết bạn"
    },
    "communityHow": {
      "en": "Add Kubai on WeChat, send the payment once accepted, and you’ll be invited to the group",
      "text": "Kết bạn với Kubai trên WeChat, gửi tiền sau khi được chấp nhận, rồi bạn sẽ được mời vào nhóm"
    },
    "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": "Nhấn giữ để lưu mã, rồi mở ảnh đó bằng chức năng Quét của WeChat để kết bạn với Kubai. Sau khi được chấp nhận, hãy gửi tiền và bạn sẽ được mời vào nhóm"
    },
    "communityQr": {
      "en": "WeChat QR code",
      "text": "Mã QR WeChat"
    }
  },
  "tags": {
    "motion": {
      "en": "Motion",
      "text": "Chuyển động"
    },
    "interaction": {
      "en": "Interaction",
      "text": "Tương tác"
    },
    "components": {
      "en": "Components",
      "text": "Thành phần"
    },
    "type": {
      "en": "Type & Layout",
      "text": "Chữ và bố cục"
    },
    "effects": {
      "en": "Effects",
      "text": "Hiệu ứng"
    }
  },
  "stats": {
    "views": {
      "en": "views",
      "text": "lượt xem"
    },
    "likes": {
      "en": "likes",
      "text": "lượt thích"
    },
    "bookmarks": {
      "en": "bookmarks",
      "text": "lượt đánh dấu"
    },
    "replies": {
      "en": "replies",
      "text": "lượt trả lời"
    },
    "source": {
      "en": "Post on X",
      "text": "Bài đăng trên X"
    }
  },
  "titles": {
    "021-ring-cards": {
      "en": "Ring cards with depth and a fluid gradient",
      "text": "Thẻ xếp vòng có chiều sâu và chuyển màu lỏng"
    },
    "020-choice-controls": {
      "en": "Diagnosing and fixing choice controls",
      "text": "Chẩn đoán và cải thiện các điều khiển lựa chọn"
    },
    "019-scroll-cards": {
      "en": "Five card interactions driven by scrolling",
      "text": "Năm kiểu tương tác thẻ theo thao tác cuộn"
    },
    "018-holo-card": {
      "en": "Holographic cards that tilt and turn over",
      "text": "Thẻ hologram nghiêng và lật mặt"
    },
    "017-loading-states": {
      "en": "Diagnosing and fixing loading states",
      "text": "Chẩn đoán và cải thiện trạng thái đang tải"
    },
    "016-toast-or-notification": {
      "en": "Toasts or notifications: how to choose",
      "text": "Toast hay thông báo: cách lựa chọn"
    },
    "015-ui-continuity": {
      "en": "Diagnosing and fixing UI continuity",
      "text": "Chẩn đoán và cải thiện tính liền mạch của UI"
    },
    "014-card-delete": {
      "en": "Four ways for a deleted card to disappear",
      "text": "Bốn cách để thẻ biến mất khi bị xóa"
    },
    "013-shockwave-glow": {
      "en": "A shockwave halo",
      "text": "Vầng sáng sóng xung kích"
    },
    "012-message-bubbles": {
      "en": "Material and motion for message bubbles",
      "text": "Chất liệu và chuyển động của bong bóng tin nhắn"
    },
    "011-easing-curves": {
      "en": "Choosing easing curves by situation",
      "text": "Chọn đường cong easing theo tình huống"
    },
    "010-liquid-glass": {
      "en": "Liquid glass",
      "text": "Kính lỏng"
    },
    "009-overlays": {
      "en": "Rules for choosing an overlay",
      "text": "Quy tắc chọn lớp phủ"
    },
    "008-wiki-layout": {
      "en": "A wiki layout for desktop and mobile",
      "text": "Bố cục wiki cho máy tính và điện thoại"
    },
    "007-type-switches": {
      "en": "CSS for mixed Chinese and English type",
      "text": "CSS cho văn bản xen lẫn tiếng Trung và tiếng Anh"
    },
    "006-book-cards": {
      "en": "Cards that open like a book on hover",
      "text": "Thẻ mở ra như cuốn sách khi rê chuột"
    },
    "005-drag-ripple": {
      "en": "Drag to reorder, with items making way",
      "text": "Kéo để sắp xếp, các mục xung quanh dạt sang bên"
    },
    "004-continuous-corners": {
      "en": "Nested corners and continuous corners",
      "text": "Bo góc lồng nhau và bo góc liên tục"
    },
    "003-ascii-dither": {
      "en": "ASCII and dither effects",
      "text": "Hiệu ứng ASCII và dither"
    },
    "002-cascade-menu": {
      "en": "Safe areas and delays for cascading menus",
      "text": "Vùng an toàn và độ trễ cho menu nhiều cấp"
    },
    "001-skeuomorphic-buttons": {
      "en": "Skeuomorphic buttons that press in",
      "text": "Nút skeuomorphic lún xuống khi nhấn"
    }
  },
  "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": "Nút skeuomorphic có cảm giác nhấn thật: năm kiểu nút, năm lớp chất liệu, ánh sáng và bóng đổ đổi theo khi rê chuột và khi nhấn, hợp với trang quản trị và sản phẩm dạng công cụ.",
        "notes": "<p>Nút phẳng khi nhấn thường chỉ đậm màu hơn một chút, nhấp nhanh thì gần như không nhận ra; nút skeuomorphic khi nhấn sẽ lún xuống, vị trí, dải chuyển màu và bóng đổ cùng thay đổi, người dùng biết chắc mình đã nhấn trúng. Có năm điểm chính:</p>\n        <ol>\n        <li><strong>Năm kiểu nút</strong>: phù hợp với trang quản trị, trình soạn thảo và trang cài đặt có nhiều nút nhưng ít màu, nơi chính phụ chỉ có thể phân biệt bằng độ sáng tối và chất liệu. Từ mạnh đến nhẹ: primary là phím màu xám đá đậm, secondary là phím trắng nổi lên, tertiary là phím xám nhạt, ghost bình thường không có nền, text chỉ có chữ và một đường gạch chân mảnh; mỗi khu vực chỉ đặt một nút primary.</li>\n        <li><strong>Năm lớp chất liệu</strong>: ba kiểu nút có nền đều gồm năm lớp giống nhau: mặt chuyển màu với phần trên sáng hơn 6–8%, viền 1px đậm hơn một bậc so với đáy dải chuyển màu, một đường sáng trắng ở mép trên, một đường tối ở mép dưới, và hai lớp bóng gồm bóng sát mặt đất cộng bóng đổ mềm. Các kiểu nút chỉ khác nhau về giá trị; năm lớp được định nghĩa thành một bộ token, mỗi kiểu nút gán giá trị riêng.</li>\n        <li><strong>Rê chuột và nhấn</strong>: khi rê chuột, mặt phím sáng lên một bậc, bóng đổ lớn hơn. Khi nhấn, nút dịch xuống 1px, dải chuyển màu đảo ngược trên dưới, bóng đổ thu lại gần như sát mặt đất, đường sáng ở mép trên chuyển thành một lớp bóng trong. Số lớp bóng trong ở trạng thái nghỉ và khi nhấn phải bằng nhau, thiếu thì bù bằng bóng trong suốt, bóng mới chuyển đổi mượt mà.</li>\n        <li><strong>Nguồn sáng và màu sắc</strong>: nguồn sáng cố định ở ngay phía trên, đường sáng luôn ở mép trên, đường tối luôn ở mép dưới, cả bộ nút trông như nằm trong cùng một không gian. Chỉ dùng màu xám trung tính, không dùng màu thương hiệu, phân biệt kiểu nút bằng độ sáng tối; cũng không dùng ánh phản chiếu như gương, vầng sáng bên ngoài hay làm mờ diện rộng.</li>\n        <li><strong>Co giãn theo cỡ chữ</strong>: chiều cao, khoảng đệm, bo góc, viền cùng độ dịch và độ mờ của từng lớp bóng đều viết thành bội số của đơn vị u = cỡ chữ / 14. Với chữ 14px thì u = 1px, nút cao 40px; với chữ 16px thì u ≈ 1.14px, nút cao khoảng 45.7px, bóng đổ phóng to theo cùng tỉ lệ.</li>\n        </ol>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Kích thước</dt><dd>Nhãn 14px; chiều cao 40px; bo góc 10px; khoảng đệm ngang 18px</dd>\n        <dt>Khi nhấn</dt><dd>Dịch xuống 1px; bóng đổ thu về 0 1px 1px</dd>\n        <dt>Thời lượng</dt><dd>Transform 120ms; bóng 140ms; màu 160ms</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ ưu tiên sửa thành phần nút sẵn có của dự án, giữ nguyên API và các thiết lập trợ năng; chỉ khi dự án chưa có thành phần nút thì mới tạo mới.</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": "Vùng an toàn hình tam giác và ba loại độ trễ của menu nhiều cấp, để khi con trỏ di chuyển chéo về menu con, menu con không bị đổi nhầm hay đóng đột ngột.",
        "notes": "<p>Khi con trỏ di chuyển chéo từ menu cha sang menu con, khó tránh việc đi qua các dòng bên dưới. Menu thông thường đi qua dòng nào thì chuyển sang dòng đó, menu con biến mất theo, người dùng đành quay lại mở lại. Có bốn cách giải quyết:</p>\n        <ol>\n        <li><strong>Vùng an toàn hình tam giác</strong>: dùng khi menu con đã mở và con trỏ đang di chuyển về phía nó. Lấy vị trí con trỏ ngay trước đó làm đỉnh, nối tới hai góc trên và dưới ở cạnh gần của menu con, tạo thành một hình tam giác; khi con trỏ nằm trong tam giác, các dòng đi qua không được làm nổi bật và cũng không mở menu con của chúng, chỉ khi rời khỏi tam giác mới chuyển sang dòng hiện tại.</li>\n        <li><strong>Độ trễ khi chuyển</strong>: con trỏ dừng trên một dòng nào đó trong tam giác nghĩa là người dùng muốn chọn dòng đó. Dừng quá 1.2 giây thì menu chuyển sang dòng này, menu con không đứng yên mãi không đổi.</li>\n        <li><strong>Độ trễ khi mở</strong>: dùng khi con trỏ lướt nhanh qua một cột menu. Rê chuột 220ms mới mở menu con, rời đi sớm thì hủy, không mở liền một loạt menu con; chạm trên màn hình cảm ứng thì có hiệu lực ngay.</li>\n        <li><strong>Độ trễ khi đóng</strong>: dùng khi con trỏ hơi lệch ra ngoài mép menu. Rời menu 360ms mới đóng, kịp quay lại thì giữ nguyên; nhấp ra ngoài menu thì đóng ngay.</li>\n        </ol>\n        <p>Ngoài ra, việc làm nổi bật dòng do trạng thái của thành phần điều khiển, không dùng <code>:hover</code> của CSS, nếu không thì dù menu không chuyển, các dòng đi qua trong vùng tam giác vẫn sáng lên.</p>\n        <p>Prompt đi kèm sẽ đưa bộ quy tắc này vào thành phần menu sẵn có của dự án, giữ nguyên API và thao tác bàn phím; chỉ khi dự án chưa có thành phần menu thì mới tạo mới.</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": "Thêm hiệu ứng ASCII và Dither cho hình ảnh và video trên trang đăng nhập, website sản phẩm hoặc thẻ, có thể điều chỉnh độ mạnh bất cứ lúc nào.",
        "notes": "<p>ASCII và Dither vẽ lại hình ảnh bằng ký tự hoặc vân điểm ảnh theo độ sáng, giữ cấu trúc sáng tối và bỏ đi chi tiết của ảnh chụp; mọi thông số đều điều chỉnh được, cùng một ảnh vừa có thể làm hình ảnh chính, vừa có thể lùi về làm vân nền. Có năm điểm chính:</p>\n        <ol>\n        <li><strong>ASCII</strong>: hợp với cảm giác terminal, mã nguồn, chẳng hạn trang đăng nhập của công cụ cho lập trình viên. Chia khung hình thành lưới, mỗi ô được thay bằng một ký tự theo độ sáng, từ “.” đến “@” dày dần; kích thước là cỡ chữ, khoảng cách là độ thưa dày của lưới, cường độ lấy mẫu là độ tương phản sáng tối.</li>\n        <li><strong>Dither</strong>: hợp với cảm giác chấm in lưới hoặc hạt điểm ảnh. Chia khung hình thành các khối điểm ảnh, dùng ma trận Bayer 4×4 làm ngưỡng, nén mỗi màu xuống vài mức, nhìn từ xa thì hòa thành các mức xám trung gian; kích thước là khối điểm ảnh, khoảng cách là tỉ lệ của vân, cường độ lấy mẫu càng cao thì số mức màu càng ít, hạt càng rõ.</li>\n        <li><strong>Mặt nạ</strong>: dùng được cho cả hai hiệu ứng. Phủ một lớp chuyển màu theo chiều dọc lên khung hình để khung hình lùi lại, hiệu ứng giống vân nền hơn là nhiễu; khi hiệu ứng làm khó đọc chữ phía trên, hãy tăng mặt nạ trước.</li>\n        <li><strong>Vùng lấy mẫu</strong>: chỉ dùng cho ASCII, quyết định ký tự được vẽ ở vùng tối hay vùng sáng, chọn theo độ sáng tối nơi chủ thể nằm. Cảnh thành phố về đêm có chủ thể là ánh đèn, lấy mẫu vùng sáng; ảnh sản phẩm màu tối trên nền trắng, lấy mẫu vùng tối.</li>\n        <li><strong>Tông màu</strong>: có thể giữ màu gốc, hoặc chọn một trong năm bộ màu, trước tiên ánh xạ độ sáng tối của ảnh sang bộ màu đó rồi mới tạo hiệu ứng, để phong cách của các ảnh khác nhau giữ được nhất quán.</li>\n        </ol>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>ASCII</dt><dd>Mặt nạ 90; vùng sắc độ lấy mẫu: vùng tối; cường độ lấy mẫu 100; kích thước 37; khoảng cách 0</dd>\n        <dt>Dither</dt><dd>Mặt nạ 88; cường độ lấy mẫu 100; kích thước 15; khoảng cách 0</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ xác nhận trước cần xử lý ảnh hay video nào, rồi tạo hiệu ứng cho nó và thêm bên cạnh một bảng thông số có thể điều chỉnh theo thời gian thực.</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": "Cách tính bo góc lồng nhau qua từng lớp, và khi nào nên chuyển sang bo góc liên tục, để góc của thẻ và biểu mẫu gọn gàng hơn.",
        "notes": "<p>Một tấm thẻ bo góc 16px, khoảng đệm 8px, nếu nút bên trong cũng bo góc 16px thì khoảng cách giữa hai đường viền ở góc sẽ rộng hơn ở cạnh thẳng, nút trông như không khớp với thẻ; ở chỗ bo góc lớn nối với cạnh thẳng còn có một nếp gãy. Có bốn cách làm:</p>\n        <ol>\n        <li><strong>Thu vào đều</strong>: dùng cho biểu mẫu, thẻ lồng nhau, hộp thoại và những chỗ có hai lớp bo góc trong và ngoài. Mỗi lớp đều tính theo “bo góc trong = bo góc ngoài − khoảng cách”, trong và ngoài dùng chung một tâm, khoảng cách ở góc mới bằng ở cạnh thẳng. Thẻ bo góc 16, khoảng đệm 8, thì nút bên trong bo góc 8.</li>\n        <li><strong>Lồng nhiều lớp</strong>: từ ba lớp trở lên thì tính lần lượt từ ngoài vào trong. Hộp thoại bo góc 32, khoảng đệm 16, bảng bên trong và nút là 16; trong bảng thụt vào thêm 8 để đặt một nhãn, nhãn là 8. Các phần tử cùng lớp dùng chung một bo góc, nhỏ nhất không dưới 4.</li>\n        <li><strong>Hình viên thuốc và hình tròn</strong>: các phần tử hình viên thuốc và hình tròn lồng trong vùng chứa không tham gia tính toán, luôn giữ tròn hoàn toàn.</li>\n        <li><strong>Bo góc liên tục</strong>: dùng khi bo góc lớn, chỗ nối thấy rõ nếp gãy, hoặc muốn có cảm giác gần với bo góc của iOS. Bo góc thông thường thay đổi độ cong đột ngột ở chỗ nối với cạnh thẳng, bo góc liên tục (superellipse) cho độ cong tăng dần, chuyển tiếp mượt hơn. Cách viết là <code>border-radius: 32px; corner-shape: superellipse(1.25);</code></li>\n        </ol>\n        <p>Ngoài ra, <code>corner-shape</code> hiện chỉ được Chrome và Edge từ phiên bản 139 trở lên hỗ trợ; Safari và Firefox tự động quay về bo góc thông thường, không cần xử lý thêm.</p>\n        <p>Prompt đi kèm sẽ tính lại bo góc từ ngoài vào trong cho giao diện bạn chỉ định; nếu dự án có token bo góc thì sửa thẳng vào token.</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": "Con trỏ, đường đánh dấu vị trí thả và chuyển động dạt ra của các mục hai bên khi kéo để sắp xếp, dùng cho danh sách, bảng kanban và hàng ngang.",
        "notes": "<p>Nhiều tính năng kéo để sắp xếp để các mục khác đứng yên trong lúc kéo, buông tay ra thì danh sách mới đột ngột sắp xếp lại; mục rơi vào giữa hai mục nào, phải buông tay rồi mới kiểm tra được. Năm điểm dưới đây giúp người dùng thấy kết quả trước khi buông tay:</p>\n        <ol>\n        <li><strong>Con trỏ</strong>: mọi phần tử kéo được đều phải thiết lập. Khi rê chuột hiện bàn tay, khi kéo hiện bàn tay đang nắm, người dùng biết nó kéo được trước khi nhấn xuống.</li>\n        <li><strong>Mục đang kéo</strong>: đi theo con trỏ, đồng thời tránh vị trí thả, không che đường thả. Trong hàng ngang thì nổi lên trên; trong danh sách dọc thì dời sang một bên và thu nhỏ còn khoảng 90%. Chỗ cũ của nó khép lại theo.</li>\n        <li><strong>Đường thả</strong>: dùng để đánh dấu vị trí thả, là một đường mảnh rất nhạt, màu khoảng 15% màu chữ; thẳng đứng trong hàng ngang, nằm ngang trong danh sách; khi xuất hiện thì mở rộng từ giữa ra hai đầu, khi vị trí thả thay đổi thì trượt sang, không hiện ở chỗ cũ của mục đang kéo.</li>\n        <li><strong>Dạt ra</strong>: các mục hai bên đường thả dạt ra ngoài, càng gần thì dạt càng nhiều và càng sớm: độ dịch = 10px × 0.7ⁿ, độ trễ = 24ms × n, n là số mục cách đường thả, mục sát bên là 0. Biểu tượng bắt đầu từ 10px, thẻ bắt đầu từ 8px.</li>\n        <li><strong>Thả và hủy</strong>: buông tay thì mục vào chỗ trống, các mục khác di chuyển đến vị trí mới với hiệu ứng lò xo; nhấn Esc hoặc buông tay ngoài danh sách thì tính là hủy, mọi mục trở về chỗ cũ.</li>\n        </ol>\n        <p>Ngoài ra, chỉ dùng transform để di chuyển phần tử, không thay đổi bố cục; việc sắp xếp cũng phải làm được bằng bàn phím; khi bật “Giảm chuyển động”, chỉ giữ lại đường thả.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Độ dịch</dt><dd>Biểu tượng 10px; thẻ 8px; × 0.7 cho mỗi mục xa hơn</dd>\n        <dt>Độ trễ</dt><dd>+24ms cho mỗi mục xa hơn</dd>\n        <dt>Lò xo</dt><dd>Gần như không vượt quá đích; dừng hẳn sau khoảng 0.25s</dd>\n        <dt>Đường thả</dt><dd>Khoảng 15% màu chữ</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ dùng lại logic kéo thả sẵn có của dự án, thêm bộ hiệu ứng này vào danh sách, hàng và dock mà bạn chỉ định.</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": "Thẻ mở ra như một cuốn sách: bình thường trông như thẻ thông thường, khi rê chuột thì mở ra một chút, lộ các trang bên trong, có ba phong cách để chọn.",
        "notes": "<p>Trong các sản phẩm do AI tạo ra, thẻ là thứ dễ giống nhau nhất. Thẻ mở sách bình thường giữ nguyên dáng vẻ, khi rê chuột hoặc focus thì mở ra một chút như một cuốn sách nhỏ, lộ vài trang bên trong. Có bốn điểm chính:</p>\n        <ol>\n        <li><strong>Cấu trúc</strong>: phù hợp với thẻ đại diện cho nội dung, như mục tài liệu, cơ sở tri thức, mẫu và portfolio; những thẻ chỉ là lối vào như “Cài đặt” không có trang bên trong, không phù hợp. Thẻ gồm bìa trước, 4 trang và bìa sau xếp chồng lên nhau, mở ra quanh cạnh trái; khi nghỉ, mọi lớp khớp hoàn toàn.</li>\n        <li><strong>Nhịp độ</strong>: bìa trước mở nhiều nhất, càng vào trong mở càng ít và càng muộn: góc = 42° × 0.7ⁿ, độ trễ = 28ms × n. Các lớp lần lượt khoảng 42°, 29°, 21°, 14°; khi con trỏ rời đi thì đóng lại theo thứ tự ngược, trang trong cùng đóng trước.</li>\n        <li><strong>Ánh sáng và đổ bóng</strong>: ánh sáng từ phía trên, bóng rơi xuống bên dưới thẻ. Bóng là hai khối đặc, khi mở thì kéo dài xuống dưới và mềm hơn; trang trước đổ bóng lên trang sau cho đến khi hai trang tách ra. Không dùng <code>box-shadow</code>, vì nó là một vòng rỗng ruột, bìa trước mở ra sẽ lộ đường viền.</li>\n        <li><strong>Ba phong cách</strong>: Default dùng lại kiểu thẻ vốn có của sản phẩm, hợp với thẻ sản phẩm thông thường; Skeuomorphic giống cuốn sách bìa cứng trên tường phòng tranh, có vân vải bọc sách và bóng đổ xám ngả ấm; Minimal giống một bộ tài liệu kỹ thuật, bìa màu nhạt tô phẳng đi kèm hình minh họa nét mảnh.</li>\n        </ol>\n        <p>Ngoài ra, động tác mở chỉ tác động lên chính tấm thẻ: kích thước và vị trí của thẻ không đổi, các thẻ xung quanh và bố cục cũng không di chuyển.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Góc</dt><dd>Bìa trước 42°; × 0.7 cho mỗi lớp vào trong</dd>\n        <dt>Độ trễ</dt><dd>+28ms cho mỗi lớp vào trong</dd>\n        <dt>Số trang</dt><dd>4; bản lề ở cạnh trái</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ xác nhận trước phong cách, số trang và hướng mở, rồi mới cải tiến các thẻ sẵn có của dự án.</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": "Cách xử lý xuống dòng ở tiêu đề, chữ số nhảy vị trí, cắt bớt văn bản, chi tiết của tiếng Trung và độ dài bản dịch đa ngôn ngữ khi dàn chữ Trung và chữ Latinh.",
        "notes": "<p>Tiêu đề ở màn hình đầu của website có dòng thứ hai chỉ còn một từ, đồng hồ đếm ngược mỗi lần nhảy số thì chữ bên cạnh lại xê dịch qua lại, chuyển sang tiếng Đức thì chữ trên nút bị dồn thành hai dòng. Những vấn đề này nằm ở cách xuống dòng và độ rộng chữ, phần lớn chỉ cần vài dòng CSS là giải quyết được; thường gặp có các nhóm sau:</p>\n        <ol>\n        <li><strong>Xuống dòng</strong>: tiêu đề dùng <code>text-wrap: balance</code>, các dòng dài gần bằng nhau, dòng cuối không chỉ còn một hai từ; văn bản dùng <code>text-wrap: pretty</code>, cuối đoạn không để một từ đứng riêng; chữ trên nút dùng <code>white-space: nowrap</code>, luôn giữ trên một dòng.</li>\n        <li><strong>Chữ số</strong>: những con số thay đổi như đồng hồ, giá tiền, bộ đếm thì dùng <code>font-variant-numeric: tabular-nums</code> để mọi chữ số rộng bằng nhau. Nếu không, khi nhảy từ 11 xuống 10, “1” hẹp hơn “0”, chữ phía sau sẽ dịch chuyển theo.</li>\n        <li><strong>Cắt bớt</strong>: khi văn bản dài cần hiện dấu ba chấm, ngoài <code>text-overflow: ellipsis</code>, còn phải thêm <code>min-width: 0</code> cho phần tử trong bố cục flex. Chiều rộng tối thiểu của phần tử con trong flex mặc định bằng chiều rộng nội dung, thiếu dòng này thì văn bản sẽ đẩy rộng vùng chứa, dấu ba chấm không xuất hiện.</li>\n        <li><strong>Văn bản tiếng Trung</strong>: dùng <code>text-align: justify</code> để căn đều hai bên, đặt độ rộng dòng bằng số nguyên lần cỡ chữ thì mép phải mới thẳng; <code>text-autospace: normal</code> tự động chừa khoảng cách giữa chữ Trung với chữ Latinh và chữ số; <code>text-spacing-trim: trim-start</code> bỏ khoảng trắng nửa ô của dấu mở ngoặc ở đầu dòng.</li>\n        <li><strong>Tiêu đề tiếng Trung và quy tắc đầu dòng, cuối dòng</strong>: tiêu đề dùng BudouX để đánh dấu điểm ngắt giữa các từ, kết hợp với <code>word-break: keep-all</code>, xuống dòng theo từ, không ngắt giữa một từ. Quy tắc đầu dòng, cuối dòng để trình duyệt xử lý, đồng thời bỏ <code>line-break: anywhere</code> vốn sẽ tắt quy tắc này.</li>\n        <li><strong>Đa ngôn ngữ</strong>: cùng một vị trí phải chứa được các bản dịch dài ngắn khác nhau; từ tiếng Đức thường dài hơn tiếng Anh, nút vừa đủ một dòng bằng tiếng Anh khi chuyển sang tiếng Đức có thể không còn vừa. Khi dịch, hãy để Agent dựa vào bố cục trang chọn bản dịch có độ dài phù hợp, tránh một từ bị tách ra hai dòng, cũng tránh để lại quá nhiều khoảng trống.</li>\n        </ol>\n        <p>Prompt đi kèm sẽ ghi các quy tắc này vào style toàn cục để mọi trang kế thừa, chỉ điều chỉnh cách xuống dòng, khoảng cách, căn lề và cắt bớt của chữ, không đổi câu chữ, phông chữ và màu sắc; sửa xong sẽ liệt kê các tệp đã thay đổi và so sánh trước, sau ngay trên trang của bạn.</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": "Cách sắp xếp thanh đầu trang, danh sách trang, phần dẫn hướng cuối bài, chân trang và thanh chuyển phần trên điện thoại cho wiki và trung tâm trợ giúp.",
        "notes": "<p>Khi sản phẩm phức tạp dần và website cần viết nhiều bài SEO, một bộ wiki đáng tin cậy vừa giải đáp thắc mắc của người dùng, vừa mang lại lượt truy cập từ tìm kiếm. Vấn đề thường gặp nhất là trên điện thoại không tìm thấy danh sách trang, đọc xong bài không biết đi đâu tiếp; về bố cục cần xử lý năm chỗ sau:</p>\n        <ol>\n        <li><strong>Thanh chuyển phần trên điện thoại</strong>: điện thoại phần lớn là dạng thanh, màn hình hẹp, không đặt được danh sách trang ở bên cạnh. Giữ cố định một thanh chuyển phần ở cuối màn hình, chạm vào sẽ mở một menu toàn màn hình liệt kê mọi phần, mỗi phần một dòng, dễ chạm, không cần cuộn lên đầu trang.</li>\n        <li><strong>Danh sách trang</strong>: khi có nhiều phần, dài hơn một màn hình, danh sách trang dùng chiều cao riêng, cuộn tách biệt với bài viết, phần vượt ra được cắt ở hai đầu trên và dưới. Mép bị cắt thêm mặt nạ chuyển màu để báo phía trên và phía dưới vẫn còn nội dung, kèm một nút mũi tên ở giữa để tiện nhấp cuộn.</li>\n        <li><strong>Phần dẫn hướng cuối bài</strong>: dưới các bài giải đáp thắc mắc, đặt lối vào cộng đồng và tài khoản mạng xã hội; dù người đọc là người hay AI đều có thể mang lại chuyển đổi, giống như đặt miễn phí một quảng cáo theo ngữ cảnh cho mục tiêu chuyển đổi. Kiểu thẻ gần với các thành phần trong bài, trông như một phần của bài viết.</li>\n        <li><strong>Chân trang</strong>: dùng một ảnh nền đẹp làm chân trang cao hơn nửa màn hình, thu hút người đọc cuộn xuống tận cuối và dừng lại. Chân trang phải chứa thông tin thực sự hữu ích, giúp người đọc giải quyết vấn đề, nếu không chỉ gây khó chịu.</li>\n        <li><strong>Thanh đầu trang</strong>: logo (quay về website chính), menu thả xuống cho các trang quan trọng và nút CTA chủ chốt, cố định ở phía trên khi cuộn. Safari và một số trình duyệt khác tô màu thanh địa chỉ theo màu thanh đầu trang, nên màu nền cần hài hòa với thương hiệu.</li>\n        </ol>\n        <p>Prompt đi kèm sẽ tìm bố cục dùng chung của các trang tài liệu, chỉ điều chỉnh vị trí, cách cuộn và cách phản hồi của thanh đầu trang, danh sách trang, dàn ý và khu vực cuối bài; nội dung, câu chữ, màu sắc và phông chữ giữ nguyên; sửa xong sẽ chụp màn hình ở đầu, giữa, cuối trang và ở độ rộng điện thoại để bạn kiểm tra.</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": "Tooltip, tooltip theo con trỏ, popconfirm, hộp thoại, drawer và trang riêng: mỗi loại phù hợp với tình huống nào.",
        "notes": "<p>Nhiều sản phẩm quản trị dùng hộp thoại ở khắp nơi: phần giải thích của dấu hỏi, xác nhận trước khi lưu trữ, biểu mẫu chỉnh sửa, lần nào cũng phải xử lý hộp thoại trước rồi mới làm tiếp được. Tooltip gần như không làm gián đoạn người dùng, hộp thoại thì che cả trang; các lớp phủ thường gặp gồm những loại sau:</p>\n        <ol>\n        <li><strong>Tooltip</strong>: bổ sung chữ cho nội dung con trỏ đang chỉ vào, thường gặp ở văn bản dài bị cắt bớt, như tên tệp dài trong bảng. Con trỏ rời đi là biến mất, nên chỉ chứa chữ; cần đặt nút hoặc liên kết thì đổi sang popover mở khi nhấp (Popover).</li>\n        <li><strong>Tooltip theo con trỏ (Cursor tip)</strong>: liên tục cung cấp thông tin trong cả một khu vực, thường gặp ở biểu đồ và các phần tử tương đối độc lập. Chỉ xuất hiện khi con trỏ đi vào và di chuyển theo con trỏ, như trên biểu đồ đường hiển thị ngày và giá trị của điểm dữ liệu đang chỉ vào.</li>\n        <li><strong>Popconfirm</strong>: dùng cho phần lớn thao tác không thể hoàn tác, như xóa một bình luận. Hộp xác nhận xuất hiện ngay cạnh nút, người dùng không phải rời mắt, đường đi ngắn và cũng không gây phiền.</li>\n        <li><strong>Hộp thoại (Dialog)</strong>: dùng cho xác nhận có ảnh hưởng lớn, thao tác hàng loạt hoặc bắt buộc người dùng dừng lại cân nhắc, như xóa vĩnh viễn cả dự án; cũng dùng cho biểu mẫu ngắn không cần đối chiếu thông tin khác trên trang, như đổi tên tệp.</li>\n        <li><strong>Drawer</strong>: dùng cho biểu mẫu dài, hoặc khi điền cần đối chiếu nội dung trang, như chỉnh sửa thông tin một khách hàng ngay cạnh danh sách khách hàng. Drawer trượt ra từ cạnh bên, trang chính vẫn nhìn thấy được, cũng tận dụng tốt hơn không gian ngang của màn hình rộng.</li>\n        <li><strong>Trang riêng</strong>: khi biểu mẫu chính là nhiệm vụ chính, như phần thiết lập đầy đủ khi tạo dự án mới, hãy làm thành trang riêng, có địa chỉ và đường quay lại của riêng nó.</li>\n        </ol>\n        <p>Ngoài ra, thao tác hoàn tác được, như lưu trữ, thì không cần xác nhận: thực hiện ngay, rồi để lại một lối “Hoàn tác”. Trên điện thoại, tooltip và tooltip theo con trỏ đều đổi thành chạm để hiện.</p>\n        <p>Prompt đi kèm sẽ tìm ra mọi lớp phủ trong sản phẩm, lần lượt đánh giá nên dùng loại nào, lập thành bảng để bạn quyết định; sau khi xác nhận chỉ sửa những phần bạn đồng ý, phong cách hiển thị giữ nguyên.</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": "Sáu lớp của chất liệu kính lỏng, và cách điều chỉnh lớp phủ màu và màu chữ theo độ sáng tối của nền, phù hợp với thẻ và trình phát đặt trên ảnh hoặc video.",
        "notes": "<p>Kính mờ thông thường chỉ có nền bán trong suốt và làm mờ, khi nền phức tạp thì chữ khó đọc, trên nền tối còn bị xám đi; kính lỏng thêm khúc xạ ở viền và lớp phủ màu thay đổi theo nền, trông có độ dày, chữ cũng luôn rõ ràng. Chất liệu này được nghiên cứu khi phát triển Lumno, gồm sáu lớp chồng lên nhau, từ dưới lên trên lần lượt là:</p>\n        <ol>\n        <li><strong>Bóng đổ</strong>: thể hiện khối của thẻ.</li>\n        <li><strong>Làm mờ và tăng sáng</strong>: làm mờ nền, đồng thời tăng độ bão hòa và độ sáng của nền để kính trong hơn. Kính sáng có độ bão hòa 180%, độ sáng 1.06; kính tối có độ bão hòa 160%, độ sáng 0.8.</li>\n        <li><strong>Khúc xạ ở viền</strong>: dùng bản đồ dịch chuyển SVG để đẩy phần nền ở một vòng quanh viền vào trong, càng gần mép thì dịch càng nhiều, phần giữa giữ phẳng; ánh sáng đỏ bị bẻ cong nhiều hơn ánh sáng xanh lam một chút, tạo ra tách màu. Độ rộng viền 44px, tách màu ±15%.</li>\n        <li><strong>Lớp phủ màu</strong>: một lớp màu bán trong suốt, độ trong suốt tự điều chỉnh theo độ phức tạp của nền, nền càng phức tạp thì lớp phủ càng đậm, chữ càng dễ đọc. Kính sáng dùng màu trắng 6%–22%, kính tối 16%–38%.</li>\n        <li><strong>Viền sáng</strong>: mỗi góc trên trái và dưới phải một đường, thêm một đường thụt vào trong, để tổng thể có độ dày hơn.</li>\n        <li><strong>Màu chữ</strong>: trên kính sáng dùng chế độ nhân (multiply), trên kính tối dùng chế độ phủ để làm sáng, chữ sẽ mang một chút màu của nền.</li>\n        </ol>\n        <p>Ngoài ra, chất liệu đọc nhiều điểm lấy mẫu trên nền và tính độ sáng trung bình, dưới 0.5 thì tự động chuyển sang kiểu sáng. Kính lỏng phù hợp với ảnh bìa, video, hình nền và những khung hình có nhiều thay đổi về độ sáng tối hoặc màu sắc; trên nền đơn sắc, nó gần như không khác gì một khối màu bán trong suốt thông thường. Khi kiểm tra chữ, phải xem cả chỗ sáng nhất và chỗ tối nhất của nền.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Sáng</dt><dd>Lớp phủ trắng 6%–22%; làm mờ 2px; độ bão hòa 180%; độ sáng 1.06</dd>\n        <dt>Tối</dt><dd>Lớp phủ rgb(20 20 24) 16%–38%; làm mờ 2px; độ bão hòa 160%; độ sáng 0.8</dd>\n        <dt>Khúc xạ</dt><dd>Độ rộng viền 44px; độ dịch ở mép 1.1 × độ rộng viền; tách màu ±15%</dd>\n        </dl>\n        <p>Tác giả đã phát hành chất liệu này thành công cụ mã nguồn mở <a href=\"https://www.kubai.design/glasswork/\">Glasswork</a>: màu phủ, độ mờ, khúc xạ viền, ánh sáng viền và màu chữ đều chỉnh được từng mục trên bảng điều khiển, xem thử trên nhiều hình nền, ảnh và video khác nhau, rồi sao chép kết quả dưới dạng CSS.</p>\n        <p>Prompt đi kèm sẽ liệt kê trước các thẻ, trình phát và ô tìm kiếm trong sản phẩm được đặt trên ảnh, video hoặc nền phức tạp, nêu rõ cái nào đổi thành kính, cái nào giữ nguyên; rồi ghi chất liệu vào color token, chế độ sáng và tối mỗi bên một bộ độ đậm lớp phủ, bố cục giữ nguyên.</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": "Bảy đường cong tốc độ thường dùng cho chuyển động, từ Linear đến Spring, mỗi loại phù hợp với kiểu chuyển động nào.",
        "notes": "<p>Nhịp điệu của chuyển động được mô tả bằng đường cong tốc độ: đường cong càng dốc, tốc độ thay đổi càng mạnh, trông càng nhanh. Nếu menu bật ra, hộp thoại đóng lại, thanh chỉ báo trượt đi đều dùng <code>ease</code> mặc định, người dùng không phân biệt được phần tử đang xuất hiện, biến mất hay đổi vị trí. Các đường cong thường dùng gồm những loại sau:</p>\n        <ol>\n        <li><strong>Linear</strong>: dùng cho thanh tiến trình, trạng thái đang tải và những thứ trông chỉ như “đang chạy”. Chuyển động đều, bắt đầu và kết thúc đều cứng, <code>linear</code>.</li>\n        <li><strong>Ease-out và Strong ease-out</strong>: lớp phủ và phần tử modal khi xuất hiện, như Toast, menu, hộp thoại, drawer, dùng Ease-out nhanh trước chậm sau, <code>cubic-bezier(0, 0, .58, 1)</code>. Phần tử nhỏ vào vị trí ngay sau khi nhấp, như biểu tượng, chữ, viên thuốc được chọn, dùng Strong ease-out khởi đầu nhanh hơn, phần kết kéo dài hơn, <code>cubic-bezier(.22, 1, .36, 1)</code>, phản hồi trực tiếp nhất.</li>\n        <li><strong>Ease-in</strong>: dùng khi phần tử biến mất, như hộp thoại đóng, Toast biến mất. Chậm trước nhanh sau, rời đi dứt khoát, <code>cubic-bezier(.42, 0, 1, 1)</code>. Đừng dùng khi xuất hiện, khởi đầu chậm khiến giao diện trông như phản hồi chậm chạp.</li>\n        <li><strong>Ease-in-out</strong>: dùng cho phần tử đổi vị trí trong giao diện, như thanh chỉ báo trượt dưới tab, carousel lật trang, danh sách trang cuộn mượt. Chậm ở hai đầu, nhanh nhất ở giữa, <code>cubic-bezier(.42, 0, .58, 1)</code>.</li>\n        <li><strong>Overshoot</strong>: dùng cho xác nhận nhỏ và tinh nghịch, như đánh dấu chọn, thích, huy hiệu bật ra. Vượt quá điểm đích khoảng 10% rồi lùi lại, <code>cubic-bezier(.34, 1.56, .64, 1)</code>. Không dùng cho bảng lớn, nếu không cả khối giao diện sẽ rung lắc.</li>\n        <li><strong>Spring</strong>: dùng khi trở về vị trí sau khi buông tay, như drawer bật lại, kéo xuống để làm mới, mục vào chỗ sau khi kéo để sắp xếp. Đến nơi thì lắc nhẹ một hai lần rồi mới dừng hẳn, giống vật thật hơn Overshoot; lúc người dùng buông tay, phần tử đã có sẵn vận tốc, lò xo có thể tiếp nối vận tốc đó.</li>\n        </ol>\n        <p>Ngoài ra, định nghĩa các đường cong này thành motion token và dùng theo vai trò, nhịp điệu của toàn bộ sản phẩm sẽ giữ được nhất quán.</p>\n        <p>Prompt đi kèm sẽ liệt kê trước mọi transition và animation trong dự án, đánh dấu những chỗ vẫn dùng ease mặc định hoặc dùng ease-in khi xuất hiện, cùng đường cong cần đổi cho từng chỗ; rồi thêm motion token, lần lượt điều chỉnh đường cong và thời lượng.</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": "Sáu chất liệu bong bóng tin nhắn, cùng chuyển động suy nghĩ, gửi và xóa tương ứng, phù hợp với sản phẩm muốn khác biệt với giao diện chat AI thông thường.",
        "notes": "<p>Giao diện trợ lý AI thông thường gần như giống hệt nhau: bong bóng xanh bên phải, bong bóng xám bên trái, ba chấm nhảy khi chờ. Bong bóng là thứ xuất hiện nhiều nhất trong cuộc trò chuyện, đổi chất liệu của nó và đi kèm chuyển động tương ứng, giao diện sẽ có phong cách riêng; hiện là bản thử nghiệm, gồm sáu chất liệu sau:</p>\n        <ol>\n        <li><strong>Cirrus</strong>: hợp với sản phẩm nhẹ nhàng, sạch sẽ. Kính mờ mỏng không viền, phía sau là trời xanh mây trắng.</li>\n        <li><strong>Pixel</strong>: mang hơi hướng trò chơi cổ điển. Bong bóng được vẽ trên lưới điểm ảnh, mép thay đổi từng ô một, khi di chuyển có chút vệt điểm ảnh kéo theo.</li>\n        <li><strong>Aqua</strong>: hoài cổ và sinh động. Cảm giác thạch của Mac đời cũ, bề mặt có một lớp ánh sáng.</li>\n        <li><strong>Gradient</strong>: hợp với việc nhấn mạnh thương hiệu. Tương tự cách làm của Telegram, cả cuộc trò chuyện dùng chung một dải chuyển màu, bong bóng ở độ cao khác nhau thì màu cũng khác nhau.</li>\n        <li><strong>Skeuomorphic</strong>: ấm áp, có cảm giác chạm. Dùng cùng một công thức với <a href=\"/vi/001-skeuomorphic-buttons/\">001 Nút skeuomorphic</a>.</li>\n        <li><strong>Solid</strong>: nhóm đối chứng cơ bản. Dễ đọc nhất khi cuộc trò chuyện dài, thời gian đọc lâu, cũng tiết kiệm hiệu năng nhất.</li>\n        </ol>\n        <p>Ngoài ra, chuyển động phải đổi cùng với chất liệu, nếu không phong cách sẽ xung đột, ví dụ bong bóng Pixel đi kèm hiệu ứng hiện dần, mờ dần mềm mại. Cả cuộc trò chuyện di chuyển như một khối, mỗi chất liệu dùng thông số lò xo riêng: khi gửi, bong bóng mới nổi lên từ khoảng 40px phía dưới, cách xuất hiện thay đổi theo chất liệu; khi AI tạo câu trả lời dài, trước tiên hiện một ma trận chấm nhỏ, khi câu trả lời bắt đầu thì mở rộng thành bong bóng; khi xóa một tin ở giữa, các tin phía trên lần lượt dịch xuống lấp chỗ.</p>\n        <p>Prompt đi kèm sẽ hỏi trước bạn muốn cải tiến giao diện chat sẵn có hay làm một bản demo độc lập, dùng những chất liệu nào; sau khi xác nhận sẽ điều chỉnh đồng thời chất liệu bong bóng và chuyển động, còn ô nhập, menu tin nhắn và chỉ báo đang nhập thì phải hỏi bạn từng mục rồi mới sửa.</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": "Một vầng sáng sóng xung kích lan ra từ vị trí kích hoạt, kèm bẻ cong kiểu thấu kính và tách màu, phù hợp để phát khi gọi trợ lý AI.",
        "notes": "<p>Hiệu ứng này kết hợp ánh sáng chạy quanh mép màn hình của iOS 27.3 với vầng sáng xung kích khi mở trang chủ của trình duyệt Dia: vầng sáng lan ra từ vị trí kích hoạt, trang mà nó đi qua bị bẻ cong và tách màu theo, nên có cảm giác vật lý. Hiệu ứng gồm sáu lớp sau:</p>\n        <ol>\n        <li><strong>Ảnh chụp trang</strong>: chuyển trang hiện tại thành một hình ảnh, làm cơ sở tính toán cho các lớp sau, có thể dùng tính năng HTML-in-Canvas mới của Chrome.</li>\n        <li><strong>Bẻ cong kiểu thấu kính</strong>: cả vầng sáng là một thấu kính, phía ngoài kéo giãn, phía trong nén lại, thể hiện không gian bị đẩy ra.</li>\n        <li><strong>Tách kênh màu</strong>: độ dịch của kênh đỏ và kênh xanh lam lần lượt nhiều hơn 8% và ít hơn 8% so với kênh xanh lục, tạo ra chút tách màu ở chỗ dịch chuyển, chữ vẫn rõ ràng.</li>\n        <li><strong>Vòng màu</strong>: bốn vòng màu chuyển tiếp mượt mà, mờ dần khi lan ra, quyết định màu sắc và độ sáng của vầng sáng. Ở chế độ sáng, chúng nhuộm màu cho trang; ở chế độ tối, chúng thêm ánh sáng cho trang bằng hòa trộn screen.</li>\n        <li><strong>Khúc xạ ở mép</strong>: vầng sáng chỉ lan trong vùng nội dung, không phủ lên thanh công cụ của trình duyệt hay ứng dụng. Khi chạm tới mép, nội dung hơi kéo giãn về phía mép như nhìn qua cạnh vát của tấm kính, khung cửa sổ giữ nguyên.</li>\n        <li><strong>Ánh lóe trên đường kẻ</strong>: khi vầng sáng đi qua, đường phân cách và viền sáng lên trong chốc lát, ở chế độ tối thì yếu hơn, để cấu trúc của trang cũng tham gia vào hiệu ứng.</li>\n        </ol>\n        <p>Ngoài ra, vầng sáng rất nổi bật, chỉ hợp với thao tác ít dùng như gọi AI, dùng cho nút được nhấp thường xuyên thì người dùng sẽ sớm thấy phiền. Khi bật “Giảm chuyển động”, bỏ bẻ cong và tách màu, vầng sáng chỉ hiện dần và mờ dần tại chỗ.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Thời lượng</dt><dd>Lan ra trong 1000ms; nhanh rồi chậm</dd>\n        <dt>Tách màu</dt><dd>Kênh đỏ 1.08 lần; kênh xanh lam 0.92 lần độ dịch</dd>\n        <dt>Aurora</dt><dd>Xanh lam, tím, hồng, màu đào</dd>\n        <dt>Halo</dt><dd>Cam, vàng</dd>\n        <dt>Frost</dt><dd>Xanh bạc hà</dd>\n        <dt>Spark</dt><dd>Tím, vàng kim</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ xác nhận trước điều kiện kích hoạt, vị trí lan ra, có bật bẻ cong và khúc xạ ở mép hay không, cùng bộ màu; sau khi xác nhận mới đề xuất cách triển khai theo nền tảng công nghệ của dự án.</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": "Bốn hiệu ứng xóa thẻ Burn, Plume, Blocks và Peel, mỗi loại phù hợp với kiểu xóa nào, và các thẻ còn lại lấp chỗ trống ra sao.",
        "notes": "<p>Trong danh sách như việc cần làm, mục bị xóa thường biến mất ngay lập tức, mục bên dưới lập tức nhảy lên lấp chỗ, người dùng không kịp nhìn rõ mục nào vừa bị xóa. Bốn hiệu ứng dưới đây giúp nhìn rõ quá trình xóa, đồng thời xử lý phản ứng của các thẻ lân cận và việc lấp chỗ trống:</p>\n        <ol>\n        <li><strong>Burn (thiêu cháy)</strong>: hợp với thao tác xóa triệt để, trang trọng. Lửa bắt đầu lan từ nút xóa, mặt giấy cháy xém rồi chỉ còn một mép tro, tàn lửa và mảnh giấy bay lên; phía thẻ lân cận hướng về ngọn lửa được chiếu sáng, và hơi méo theo luồng nhiệt.</li>\n        <li><strong>Plume (ngọn lửa)</strong>: hợp với thao tác nhẹ nhàng hoặc tích cực, như hoàn thành việc cần làm, lưu trữ ghi chú. Một ngọn lửa mềm bốc lên từ đáy thẻ, mang thẻ đi từ dưới lên; thẻ lân cận cũng được chiếu sáng và hơi méo.</li>\n        <li><strong>Blocks (vỡ khối)</strong>: hợp với bối cảnh thoải mái. Thẻ vỡ thành các khối vuông lớn nhỏ khác nhau văng ra ngoài, rơi xuống đáy danh sách nảy lên một lần rồi biến mất; thẻ lân cận chịu va chạm, bị đẩy ra rồi bật lại.</li>\n        <li><strong>Peel (bóc nhãn dán)</strong>: hợp với những phần tử vốn giống vật thật như nhãn dán, giấy ghi chú. Thẻ bị bóc lên từ góc gần nút xóa, mặt sau có một viền cắt màu trắng, bóc xong thì bay đi; thẻ lân cận bị kéo về phía nhãn dán, bóc xong thì bật lại.</li>\n        <li><strong>Lấp chỗ trống</strong>: các thẻ còn lại bắt đầu lấp chỗ trống bằng hiệu ứng lò xo ngay trước khi hiệu ứng kết thúc, chỉ thay đổi vị trí, không thay đổi chiều cao, giữa xóa và lấp chỗ không có cú nhảy, cũng không có khoảng trống.</li>\n        </ol>\n        <p>Ngoài ra, trước khi việc xóa có hiệu lực, hãy đọc vị trí của thẻ và chụp lại hình ảnh, khung hình đầu tiên của hiệu ứng phải khớp hoàn toàn với thẻ thật, kể cả bo góc, nếu không thẻ sẽ nhảy một cái trước. Khi người dùng hoàn tác, hiệu ứng dừng ngay, thẻ được khôi phục theo cách vốn có của sản phẩm.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Thời lượng</dt><dd>Burn 2s; Plume 1.4s; Blocks 1.5s; Peel 1.2s</dd>\n        <dt>Lấp khoảng trống</dt><dd>Lò xo 520ms; chỉ dùng transform</dd>\n        <dt>Cùng lúc</dt><dd>Tối đa 3 thẻ một lúc; nhiều hơn thì dùng hiệu ứng mờ dần</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ đọc dự án trước, xác nhận lối vào thao tác xóa, hiệu ứng, phản ứng của các phần tử lân cận và bộ màu; sau khi xác nhận mới cải tiến theo nền tảng công nghệ và giao diện hiện có.</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": "Lấy bảy tình huống thường gặp trên iOS làm ví dụ, giải thích cách để phần tử được chạm chuyển thẳng sang trạng thái tiếp theo khi giao diện thay đổi.",
        "notes": "<p>Khi chạm vào thanh phát nhạc thu nhỏ, nếu thanh phát biến mất ngay và cả trang phát nhạc bật ra, người dùng phải tìm lại ảnh bìa và các nút trên trang mới; tính liền mạch là để phần tử được chạm chuyển thẳng thành trạng thái tiếp theo, để người dùng luôn biết mình từ đâu đến và đang ở đâu. Các tình huống thường gặp trên iOS gồm những loại sau:</p>\n        <ol>\n        <li><strong>Navigation</strong>: khi từ danh sách đi vào trang cấp tiếp theo, tiêu đề của dòng được chạm trở thành tiêu đề trang, tiêu đề trang cũ thu lại thành nút quay lại; khi cuộn, tiêu đề thu vào thanh trên cùng.</li>\n        <li><strong>Card và Chart</strong>: khi thẻ mở thành trang chi tiết, như thẻ bài viết, thẻ dữ liệu. Thẻ mở rộng thành nội dung chính, ảnh kéo dài thành ảnh đầu trang, các cột nhỏ trong thẻ trở thành cột của biểu đồ; khi kéo xuống thì thu lại theo đường cũ.</li>\n        <li><strong>Player</strong>: khi thanh phát nhạc thu nhỏ mở rộng thành trang phát nhạc, ảnh bìa nhỏ phóng to thẳng tới vị trí của nó trên trang phát, tiêu đề và các nút cũng di chuyển đến vị trí mới, không biến mất rồi mới hiện dần.</li>\n        <li><strong>Search</strong>: khi chạm vào ô tìm kiếm, ô tìm kiếm di chuyển lên trên cùng, các mục khớp dịch lên theo nội dung nhập, các mục còn lại mờ dần.</li>\n        <li><strong>Menu</strong>: khi mở menu từ một nút, menu mở ra từ chính vị trí của nút; mục mới thêm rơi vào vị trí đầu, các mục khác lần lượt lùi xuống.</li>\n        <li><strong>Tab Bar</strong>: khi chuyển tab, viên thuốc được chọn trước tiên giãn ra, rồi mới rơi vào vị trí mới.</li>\n        </ol>\n        <p>Ngoài ra, nội dung chỉ có ở trạng thái cuối, như thanh tiến trình và lời bài hát trên trang phát nhạc, hiện dần sau khi quá trình di chuyển đi được một nửa, không thay đổi cùng lúc với phần tử dùng chung, để không làm phân tán ánh nhìn. Khi thu lại và quay lại, phần tử trở về theo đường cũ.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Đường cong</dt><dd>cubic-bezier(.32, .72, 0, 1); bắt đầu nhanh, dừng lại chậm</dd>\n        <dt>Thời lượng</dt><dd>Điện thoại: 450–700ms để mở toàn màn hình; 350–500ms cho menu và bottom sheet; máy tính khoảng hai phần ba thời lượng đó</dd>\n        <dt>Hiện dần</dt><dd>Nội dung chỉ có ở trạng thái cuối hiện dần sau khi quá trình di chuyển đi được một nửa</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ đọc dự án trước, tìm những chỗ phù hợp để làm tính liền mạch, sắp xếp theo tần suất sử dụng và chi phí cải tiến rồi đưa ra phương án; sau khi xác nhận mới tiến hành cải tiến.</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 và Notification mỗi loại phù hợp với kiểu thông báo nào, và khi nào không nên dùng cả hai.",
        "notes": "<p>Toast và Notification đều là những thẻ nhỏ nổi trên trang, thường bị dùng lẫn lộn: thông tin quan trọng biến mất sau vài giây, còn xác nhận thông thường như “Đã lưu” lại cứ nằm mãi trên giao diện. Các kiểu thông báo thường gặp gồm năm loại sau:</p>\n        <ol>\n        <li><strong>Status Toast</strong>: dùng để xác nhận kết quả thao tác, người dùng chỉ cần biết, như sao chép liên kết, di chuyển công việc. Chỉ có một biểu tượng và một câu ngắn, không có nút, tự biến mất sau 3 giây.</li>\n        <li><strong>Action Toast</strong>: dùng cho thao tác hoàn tác được. Thực hiện ngay, không hỏi xác nhận trước; trong Toast giữ nút Undo trong 5 giây, dùng một vòng tròn hiển thị thời gian còn lại, hoàn tác xong thì tại chỗ đổi thành “Task restored”.</li>\n        <li><strong>Progress Toast</strong>: dùng cho thao tác mất nhiều thời gian, như tải tệp lên. Hiển thị tiến trình trước, xong thì tại chỗ đổi thành kết quả, kèm nút xem.</li>\n        <li><strong>Notification</strong>: thông tin do người khác hoặc hệ thống gửi, cần thấy nhưng không cần xử lý ngay, như được nhắc đến, công việc đến hạn, báo cáo tuần đã tạo xong. Hiển thị ở góc trên bên phải, giữ lại đến khi người dùng xử lý hoặc đóng; chồng tối đa ba lớp, rê chuột thì mở rộng thành danh sách.</li>\n        <li><strong>Hộp thoại và thông báo tại chỗ</strong>: việc người dùng bắt buộc phải xử lý thì không hợp với cả Toast lẫn Notification. Thao tác không thể hoàn tác thì dùng hộp thoại xác nhận trước khi thực hiện; lỗi cần xử lý thì giữ tại chỗ cho đến khi giải quyết xong, lỗi biểu mẫu hiển thị cạnh trường tương ứng.</li>\n        </ol>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Toast xuất hiện</dt><dd>500ms; cubic-bezier(.25, .1, .25, 1); dịch xuống 10px; rõ dần từ độ mờ 8px</dd>\n        <dt>Ánh lướt</dt><dd>Chỉ khi một việc đã xong: toast trạng thái xuất hiện, tiến trình chuyển thành kết quả, Hoàn tác thành công</dd>\n        <dt>Thông báo xuất hiện</dt><dd>Rơi từ 56px phía trên; 560ms; cubic-bezier(.32, .72, 0, 1)</dd>\n        <dt>Chồng thông báo</dt><dd>Mỗi lớp lộ ra 12px; tối đa ba lớp</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ đọc sản phẩm trước, đánh giá từng thông báo nên dùng Toast, Notification hay không dùng cả hai, lập thành bảng để bạn quyết định; sau khi xác nhận, còn có thể cải tiến Toast và Notification theo bản demo.</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 và cập nhật lạc quan: bốn trạng thái đang tải này mỗi loại phù hợp với kiểu chờ nào.",
        "notes": "<p>Chờ đợi là điều không tránh khỏi. Cách cho người dùng biết họ đang chờ ảnh hưởng đến cảm xúc của họ và việc thao tác có trôi chảy hay không; đôi khi nên đưa ra kết quả trước, rồi sửa lại theo tình hình thực tế. Thường gặp có bốn loại sau:</p>\n        <ol>\n        <li><strong>Spinner</strong>: thao tác đơn lẻ xong trong vài giây, như làm mới, đồng bộ. Nhấn xong, biểu tượng của chính nút xoay tại chỗ, chữ và độ rộng không đổi; dù kết quả trả về ngay, cũng xoay ít nhất một vòng trọn và dừng ở cuối vòng, xong thì dùng Toast báo kết quả.</li>\n        <li><strong>Skeleton</strong>: khi đã biết cấu trúc trang, như bảng tin, danh sách, biểu đồ. Tiêu đề và bộ lọc hiện trước, sau 300ms hiện skeleton theo chiều cao dòng thật; nội dung đến thì thay thế tại chỗ từng dòng, trang không nhảy. Đừng chỉ đặt một biểu tượng xoay giữa trang trống.</li>\n        <li><strong>Progress</strong>: công việc mất thời gian và đếm được, như tải lên, nhập dữ liệu, chẩn đoán. Dùng thẻ thông báo hiển thị số lượng, thanh tiến trình và thời gian còn lại, trang vẫn dùng bình thường; xong thì thẻ tại chỗ đổi thành kết quả, giữ lại đến khi người dùng xử lý.</li>\n        <li><strong>Optimistic</strong>: thao tác nhiều khả năng thành công và dễ hoàn nguyên, như đánh dấu hoàn thành, thích, đổi tên. Hiện kết quả trước, lưu ở chế độ nền; lưu không thành công thì thay đổi trở về như cũ, nêu lý do và cho phép thử lại. Nói chặt chẽ, đây là một chiến lược chứ không phải một mẫu, không dùng cho thanh toán, xóa vĩnh viễn và nội dung gửi cho người khác.</li>\n        </ol>\n        <p>Ngoài ra, chờ dưới 300ms thì không hiện trạng thái đang tải riêng, nếu không vừa xuất hiện đã biến mất, trông như nháy một cái; đã hiện thì giữ ít nhất 500ms. Mỗi lần chờ chỉ dùng một kiểu trạng thái đang tải.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Ngưỡng</dt><dd>Không hiện gì nếu dưới 300ms; đã hiện thì ít nhất 500ms</dd>\n        <dt>Biểu tượng nút</dt><dd>Xoay từ lúc nhấn; ít nhất một vòng (640ms); dừng ở cuối một vòng trọn vẹn</dd>\n        <dt>Skeleton</dt><dd>Sau 300ms; dải sáng lướt qua mỗi 1.2s; các dòng lần lượt thay thế cách nhau 40ms, mỗi dòng hiện dần trong 200ms</dd>\n        <dt>Tiến trình</dt><dd>Hiện sau khoảng 0.5s; thời gian còn lại hiện sau 1s có dữ liệu</dd>\n        <dt>Lạc quan</dt><dd>Hiện ngay; khi lưu không thành công, dòng đó rung 6px hai lần trong 360ms</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ tìm ra mọi chỗ cần chờ trong sản phẩm, lần lượt đánh giá nên dùng cách nào, lập thành bảng để bạn quyết định; sau khi xác nhận mới cải tiến theo bản demo.</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": "Thẻ hologram 3D biết nghiêng và lật mặt, phù hợp với thẻ thành viên, vé, huy hiệu và những thẻ đại diện cho danh tính hoặc bộ sưu tập.",
        "notes": "<p>Thẻ hologram thật vừa xoay là màu sắc chảy trên mặt thẻ; trên màn hình, vị trí con trỏ thay cho góc cầm trên tay, một điểm sáng đi theo con trỏ đồng thời quyết định vị trí của lớp ánh kim, vệt lóa và viền sáng, khi nghỉ thì điểm sáng dừng ở phía trên bên trái. Khi triển khai có mấy điểm chính sau:</p>\n        <ol>\n        <li><strong>Nghiêng</strong>: thẻ nghiêng về phía con trỏ, tối đa 12°, dùng chuyển động lò xo, khi con trỏ rời đi thì bật lại nhẹ; khi không ai thao tác thì giữ một chút lắc chậm 2–3°, như đang cầm trên tay.</li>\n        <li><strong>Lớp ánh kim</strong>: phủ lên trên màu nền của thẻ, càng gần điểm sáng càng sáng. Chữ in phía trên lớp ánh kim, thẻ xoay đến góc nào cũng đọc rõ.</li>\n        <li><strong>Bề mặt</strong>: có sáu thiết lập sẵn. Sản phẩm dùng hằng ngày hợp với bề mặt kín đáo như Pearl, hoặc giảm độ nghiêng xuống 6°; Rainbow và Sparkle dành cho những khoảnh khắc đáng ăn mừng, như nâng cấp thành viên, mở khóa thành tựu hiếm.</li>\n        <li><strong>Vệt lóa và viền sáng</strong>: vệt lóa lấy điểm sáng làm tâm, lan ra ngoài một cách mềm mại; viền sáng nhìn chung rất nhạt, chỉ đoạn gần điểm sáng được chiếu sáng, nên lúc ẩn lúc hiện.</li>\n        <li><strong>Chiều sâu thị sai</strong>: các hình trên mặt thẻ nằm ở những độ sâu khác nhau, độ dịch = độ sâu × sin(góc); khi thẻ xoay, các lớp lệch nhau tương đối, tạo cảm giác không gian ba chiều thật.</li>\n        <li><strong>Lật mặt</strong>: nhấp vào thì thẻ lật 180° sang mặt sau bằng chuyển động lò xo, khi lật hơi nhấc lên, lộ độ dày 10px; nội dung mặt trước được thay đúng lúc thẻ dựng nghiêng, nên không nhìn thấy.</li>\n        </ol>\n        <p>Ngoài ra, mỗi màn hình chỉ đặt một thẻ hologram, khi mọi thứ đều phát sáng thì không còn điểm nhấn. Khi bật “Giảm chuyển động”, thẻ không nghiêng, không lắc, lật mặt cũng không có chuyển động.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Nghiêng</dt><dd>Tối đa 12° (6° với bề mặt nhẹ nhàng); độ cứng lò xo 140, độ giảm chấn 15</dd>\n        <dt>Lắc khi nghỉ</dt><dd>2 đến 3°, chậm; ánh sáng di chuyển theo</dd>\n        <dt>Lật mặt</dt><dd>Độ cứng lò xo 70, độ giảm chấn 11; nhấc lên 40px; cạnh 10px gồm 10 lớp</dd>\n        <dt>Chiều sâu</dt><dd>Hình ảnh lùi sau 90px, mặt số 50px, kim nhô trước 12px</dd>\n        <dt>Viền</dt><dd>1.5px; sáng ở gần nguồn sáng, mờ hẳn ở mức 42%</dd>\n        <dt>Bề mặt</dt><dd>Prism, Rainbow, Pearl, Sparkle, Chrome, Etched</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ hỏi lần lượt từng mục: cải tiến tấm thẻ nào, cùng bề mặt, cảm giác chuyển động, tương tác, chiều sâu và nền, mỗi mục đưa ra thông số đề xuất và vài mức thiết lập sẵn; sau khi xác nhận mới triển khai theo nền tảng công nghệ hiện có của dự án.</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": "Năm kiểu tương tác thẻ theo thao tác cuộn: thẻ xếp chồng, bộ bài, dải ảnh ghim, cover flow và mở rộng hình ảnh, phù hợp với website sản phẩm và portfolio.",
        "notes": "<p>Khi cuộn trang, người dùng chờ đợi phần tử di chuyển theo chiều dọc; các hiệu ứng này biến thao tác cuộn thành chuyển động ngang, xoay hoặc không theo quy luật, nên tạo cảm giác mới lạ. Chúng đều do vị trí cuộn trực tiếp điều khiển: dừng ở giữa chừng thì hiệu ứng dừng ở giữa chừng; cuộn ngược thì hiệu ứng phát ngược lại.</p>\n        <ol>\n        <li><strong>Thẻ xếp chồng</strong>: hợp với ba đến năm mục song song, mỗi mục chiếm một màn hình. Thẻ chồng lên nhau từng lớp theo thao tác cuộn, mỗi thẻ được ghim thấp hơn thẻ trước 16px; thẻ bị phủ mỗi lớp thu nhỏ 0.05, tối đi 12%, dải mảnh lộ ra ở trên chính là nội dung đã xem.</li>\n        <li><strong>Bộ bài</strong>: hợp với một ít nội dung trình bày lần lượt từng mục. Mỗi 420px cuộn, thẻ trên cùng văng sang một bên theo đường cong, luân phiên trái phải, xoay tối đa 16°; các thẻ bên dưới lần lượt nhích lên một lớp.</li>\n        <li><strong>Dải ảnh ghim</strong>: hợp với một hàng tác phẩm rộng hơn màn hình. Trang tạm thời đứng yên, mỗi 1px cuộn xuống, hàng tác phẩm dịch sang trái 1px, không thêm easing; bộ đếm và thanh tiến trình cho biết đã xem đến đâu.</li>\n        <li><strong>Cover flow</strong>: hợp với nội dung cùng hình dạng, mỗi lần chỉ xem một mục. Mỗi 320px cuộn, ảnh bìa tiếp theo di chuyển vào giữa; ảnh bìa hai bên thu nhỏ, xoay tối đa 30°, tối dần theo từng lớp, dồn ánh nhìn vào giữa.</li>\n        <li><strong>Mở rộng hình ảnh</strong>: hợp với một ảnh chính dẫn sang chương tiếp theo. Ảnh nhỏ lớn dần theo thao tác cuộn đến khi phủ kín màn hình, đồng thời thu từ 1.2 lần về 1 lần; tiêu đề nấp sau ngọn núi (ngọn núi được tách riêng thành một lớp), nhô lên với tốc độ bằng một phần tư, tạo chiều sâu.</li>\n        </ol>\n        <p>Ngoài ra, mỗi hiệu ứng chỉ dùng tối đa một lần trên một trang, xen giữa là các đoạn bình thường; không thay đổi tốc độ cuộn, không ép bắt dính, chỉ thay đổi transform, opacity và clip-path. Khi bật “Giảm chuyển động” hoặc khi chiều cao khung nhìn dưới 560px, đều quay về đoạn bình thường.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Thẻ xếp chồng</dt><dd>Sticky top 40px + i × 16px; thu nhỏ 1 − k × 0.05, tối đi k × 0.12; k tăng 1 sau mỗi 752px</dd>\n        <dt>Bộ bài</dt><dd>420px mỗi thẻ; x = side × t² × 1000px, xoay side × t × 16°; mỗi bậc bên dưới 18px và 0.05</dd>\n        <dt>Dải ảnh ghim</dt><dd>Chiều cao 100vh + phần hàng tràn ra (1520px); cuộn xuống 1px = sang ngang 1px</dd>\n        <dt>Cover flow</dt><dd>320px mỗi ảnh bìa; cách nhau 260px, xoay 30°, thu nhỏ đến 0.6, tối đi 0.15 mỗi vị trí</dd>\n        <dt>Mở rộng hình ảnh</dt><dd>Lớn dần trong 900px, giữ nguyên 300px; khung 584 × 352 đến toàn màn hình; ảnh 1.2× về 1×</dd>\n        </dl>\n        <p>Prompt đi kèm dùng để cải tiến trang sẵn có: trước tiên hỏi bạn cải tiến những đoạn nào, cùng độ dài, điện thoại và màn hình thấp, giảm chuyển động và cách triển khai, mỗi mục đưa ra giá trị đề xuất và vài mức thiết lập sẵn; sau khi xác nhận mới triển khai theo nền tảng công nghệ hiện có của dự án.</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": "Công tắc, hộp kiểm, nút radio, bộ chọn phân đoạn, ô chọn thả xuống và menu thả xuống: mỗi loại phù hợp với tình huống nào.",
        "notes": "<p>Mấy thành phần điều khiển này trông gần giống nhau, thường bị dùng lẫn lộn. Ví dụ trên trang cài đặt đã gạt công tắc, bên dưới lại còn một nút lưu, người dùng rời trang thì thiết lập không có hiệu lực. Dưới đây chia thành bốn nhóm để giải thích sự khác biệt:</p>\n        <ol>\n        <li><strong>Công tắc và hộp kiểm</strong>: khác nhau ở thời điểm có hiệu lực. Công tắc gạt xong là có hiệu lực ngay, hợp với tình huống tự động lưu như trang cài đặt, bên cạnh không đặt nút lưu; hộp kiểm được gửi đi cùng biểu mẫu, cần đi kèm nút gửi. Bật và tắt một việc thì dùng một công tắc, không dùng hai nút radio “Bật / Tắt”.</li>\n        <li><strong>Ô chọn thả xuống và menu thả xuống</strong>: trong ô chọn thả xuống là giá trị, chọn xong thì hiển thị trong ô, ví dụ ngôn ngữ; trong menu thả xuống là thao tác, nhấp vào là thực hiện ngay, chữ trên nút không đổi, thường dùng để thu gọn các nút trên thanh công cụ hoặc đầu trang. Thao tác dùng nhiều nhất có thể làm thành nút chính, bên cạnh đặt một nút biểu tượng để mở các thao tác còn lại, ví dụ “Hẹn giờ gửi”, “Lưu nháp” bên cạnh “Gửi”.</li>\n        <li><strong>Bộ chọn phân đoạn và ô chọn thả xuống</strong>: đều dùng khi chỉ chọn được một. 2–5 lựa chọn ngắn thì dùng bộ chọn phân đoạn, nhìn là thấy ngay; khi mỗi lựa chọn cần một dòng giải thích, đổi sang nút radio xếp dọc. Khi có nhiều lựa chọn hơn, chữ dài hơn, hoặc lựa chọn có thể thay đổi (tên người, ngày tháng, mục do người dùng thêm) thì dùng ô chọn thả xuống, để giao diện không bị nhảy; khi lên tới hàng trăm (múi giờ, quốc gia), thêm ô tìm kiếm ở đầu danh sách, và chuẩn bị sẵn thông báo khi không có kết quả.</li>\n        <li><strong>Nút radio và hộp kiểm</strong>: nút radio hợp với câu hỏi chọn một cần đọc hết mọi lựa chọn như bảng khảo sát, chọn rồi thì không bỏ chọn được, nên cần có lựa chọn kiểu “Chưa chắc chắn”; chọn được nhiều thì dùng hộp kiểm. Trong ô chọn thả xuống cũng vậy: khi chọn một thì đánh dấu tích sau mục được chọn, không vẽ vòng tròn radio; khi chọn nhiều thì đặt hộp kiểm trước mỗi mục.</li>\n        </ol>\n        <p>Ngoài ra, kết quả của mỗi thành phần điều khiển đều phải thấy được ngay: bật thông báo trên máy tính xong thì lập tức hiện một thông báo; menu thả xuống thực hiện “Xuất dữ liệu” xong thì dùng Toast báo kết quả.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Số lượng lựa chọn</dt><dd>2–5 lựa chọn ngắn dùng bộ chọn phân đoạn; 2–5 lựa chọn, mỗi lựa chọn cần giải thích, dùng nút radio; từ 6 trở lên dùng ô chọn thả xuống; hàng trăm dùng ô chọn thả xuống có tìm kiếm</dd>\n        <dt>Công tắc</dt><dd>40×24px, bo góc 8px; con trượt 18px; chuyển 220ms, cubic-bezier(.32, .72, 0, 1)</dd>\n        <dt>Bộ chọn phân đoạn</dt><dd>Cao 36px, đệm trong 4px; con trượt cao 28px, bo góc 8px; chuyển 280ms</dd>\n        <dt>Danh sách lựa chọn</dt><dd>Mỗi mục cao 36px; bo góc 14px; mở 180ms, thu lại 120ms</dd>\n        <dt>Nút radio và hộp kiểm</dt><dd>18px; nút radio hình tròn, hộp kiểm bo góc 5px</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ tìm ra mọi thành phần điều khiển lựa chọn trong sản phẩm, lần lượt đánh giá đã dùng đúng chưa, nên đổi sang loại nào, lập thành bảng để bạn quyết định; sau khi xác nhận mới lần lượt cải tiến theo quy tắc.</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": "Một bộ thẻ xếp theo vòng tròn: nhìn từ trong, mép thẻ đi qua lớp kính với hiện tượng tán sắc; nhìn từ ngoài, có độ sâu trường ảnh; trên thẻ là dải chuyển màu lỏng đang chảy.",
        "notes": "<p>Một băng chuyền thẻ thông thường chỉ là một hàng thẻ trượt sang trái, sang phải. Xếp chính hàng đó theo một vòng tròn, các thẻ sẽ có xa gần: nhìn từ trong, thẻ hai bên vây quanh người xem; nhìn từ ngoài, ở giữa rõ nét, càng xa càng mờ. Các điểm chính:</p>\n        <ol>\n        <li><strong>Hai góc nhìn</strong>: thẻ xếp theo cùng một cung. Độ cong dương thì người xem ở trong vòng, âm thì ở ngoài. Khi chuyển, cho độ cong thay đổi liên tục thì cả hàng uốn mượt từ vòng này sang vòng kia.</li>\n        <li><strong>Bên trong</strong>: hợp với nội dung để xem thong thả như portfolio, thư viện ảnh. Người xem đứng hơi lùi sau tâm vòng, phối cảnh 860px; thẻ hai bên gần hơn, lớn hơn, một màn hình thấy năm thẻ.</li>\n        <li><strong>Viền kính</strong>: hai bên màn hình mỗi bên có một dải kính rộng 160px. Càng gần mép ngoài, ảnh càng được lấy từ phía giữa, nên mép trên và dưới của thẻ loe ra ngoài; màu đỏ lệch nhiều hơn màu xanh lam, tạo tán sắc nhẹ nhàng.</li>\n        <li><strong>Bên ngoài và độ sâu trường ảnh</strong>: hợp với lúc chỉ xem một thứ mỗi lần, như chọn ảnh bìa. Nhìn cả vòng ngang tầm mắt, phối cảnh 1500px; ở giữa giữ rõ nét, hai bên và hàng phía sau mờ và nhạt dần. Độ mờ được tính riêng cho từng điểm ảnh, nên khi xoay không bị nhấp nháy.</li>\n        <li><strong>Chuyển màu lỏng và lật mặt</strong>: mặt trước mỗi thẻ là dải chuyển màu lỏng bốn màu, chảy chậm theo vòng tròn và lặp lại liền mạch. Khi chuyển sang bên ngoài, các thẻ lần lượt lật từ giữa ra hai bên, để lộ hình ảnh ở mặt sau.</li>\n        </ol>\n        <p>Ngoài ra, thẻ không có bóng đổ hay phản chiếu, trên nền trắng trông sẽ bẩn; xa gần chỉ thể hiện bằng kích thước, độ mờ và độ nhạt. Khi bật “Giảm chuyển động”, dải chuyển màu ngừng chảy và góc nhìn chuyển ngay.</p>\n        <h2>Thông số</h2>\n        <dl class=\"params\">\n        <dt>Thẻ</dt><dd>180 × 300px, cách nhau 18px, tổng 22 thẻ; bán kính vòng khoảng 693px</dd>\n        <dt>Bên trong</dt><dd>phối cảnh 860px; viền kính 160px, độ lệch bằng 0,4 lần bề rộng, số mũ suy giảm 2,4; tán sắc 25%</dd>\n        <dt>Bên ngoài</dt><dd>phối cảnh 1500px; bắt đầu mờ từ 110px cách tâm, tối đa 14px; hàng phía sau nhạt đi 50%</dd>\n        <dt>Chất lỏng</dt><dd>4 màu, 3 lớp nhiễu uốn hai lần; chảy 0,2 ô nhiễu mỗi giây</dd>\n        <dt>Góc bo</dt><dd>góc bo liên tục superellipse(2), 32px</dd>\n        <dt>Chuyển đổi</dt><dd>góc nhìn 1100ms; lật mặt 1800ms, từ giữa ra hai bên</dd>\n        </dl>\n        <p>Prompt đi kèm sẽ hỏi trước vị trí đặt, nội dung thẻ, góc nhìn mở đầu và ai được thấy bảng thông số; sau khi xác nhận, nó dựng hiệu ứng theo các giá trị trong video, kèm một bảng thanh trượt để điều chỉnh trực tiếp.</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>Chính sách quyền riêng tư</h1>\n    <p class=\"policy-date\">Cập nhật lần cuối và có hiệu lực từ: ngày 18 tháng 11 năm 2026</p>\n    <p class=\"policy-lead\">Vibe Design Tips (vibedesign.tips, sau đây gọi là “trang web” hoặc “chúng tôi”) là một trang web miễn phí chia sẻ mẹo thiết kế, do một nhà phát triển độc lập vận hành. Bạn có thể đọc mọi nội dung trên trang mà không cần đăng nhập; chỉ cần đăng nhập khi muốn lưu mẹo, tô sáng đoạn văn và tải Skill. Chính sách này giải thích chúng tôi thu thập những thông tin nào, sử dụng và lưu giữ chúng ra sao, cũng như các quyền của bạn. Vui lòng đọc trước khi đăng nhập.</p>\n\n    <h2>1. Thông tin chúng tôi thu thập</h2>\n    <h3>1.1 Khi bạn đăng nhập</h3>\n    <p>Khi bạn đăng nhập bằng Google, GitHub hoặc X, chúng tôi chỉ yêu cầu quyền đọc hồ sơ công khai của bạn và lưu lại:</p>\n    <ul>\n      <li>Mã định danh tài khoản: ID người dùng do Google, GitHub hoặc X cung cấp, dùng để nhận ra cùng một tài khoản;</li>\n      <li>Tên hiển thị và địa chỉ ảnh đại diện của bạn, và nếu bạn đăng nhập bằng GitHub hoặc X, cả tên người dùng (@handle).</li>\n    </ul>\n    <p>Các thông tin này được cập nhật từ hồ sơ Google, GitHub hoặc X của bạn mỗi lần bạn đăng nhập.</p>\n    <h3>1.2 Khi bạn dùng các tính năng của trang</h3>\n    <p>Sau khi bạn đăng nhập, những thông tin sau được lưu cùng tài khoản của bạn:</p>\n    <ul>\n      <li>các mẹo bạn lưu;</li>\n      <li>các đoạn văn bạn tô sáng;</li>\n      <li>bản ghi về khóa đọc của bạn: giá trị băm của từng khóa và bốn ký tự cuối, thời điểm tạo, thời điểm dùng gần nhất và số lượt đọc trong ngày. Chúng tôi không lưu bản thân các khóa.</li>\n    </ul>\n    <h3>1.3 Thông tin chúng tôi không thu thập</h3>\n    <p>Chúng tôi không đọc địa chỉ email của bạn, không giữ token truy cập của Google, GitHub hoặc X (token GitHub bị thu hồi ngay sau khi hồ sơ của bạn được đọc), và không bao giờ đăng bất cứ nội dung gì thay cho bạn. Màn hình xin quyền của X có liệt kê quyền đọc bài đăng; X yêu cầu quyền này đi kèm với quyền truy cập hồ sơ, và trang web không sử dụng nó.</p>\n\n    <h2>2. Cách chúng tôi sử dụng thông tin</h2>\n    <p>Chúng tôi chỉ sử dụng các thông tin trên để:</p>\n    <ul>\n      <li>nhận ra tài khoản của bạn và giữ trạng thái đăng nhập;</li>\n      <li>cung cấp tính năng lưu, tô sáng và khóa đọc, và đồng bộ chúng giữa các thiết bị của bạn;</li>\n      <li>hiển thị 999 tài khoản đầu tiên (thành viên sớm) trong danh sách thành viên công khai của trang, gồm tên hiển thị và ảnh đại diện, theo thứ tự đăng ký, trừ khi thành viên tắt tùy chọn này;</li>\n      <li>ngăn chặn hành vi lạm dụng và bảo vệ trang web cũng như tài khoản của bạn;</li>\n      <li>thống kê lượt truy cập để cải thiện nội dung của trang.</li>\n    </ul>\n    <p>Chúng tôi không sử dụng thông tin của bạn cho quảng cáo hay lập hồ sơ người dùng.</p>\n\n    <h2>3. Cookie và bộ nhớ cục bộ</h2>\n    <ul>\n      <li>Cookie đăng nhập: giữ trạng thái đăng nhập của bạn. Cookie hết hạn sau 30 ngày và bị xóa khi bạn đăng xuất;</li>\n      <li>Cookie đánh dấu đăng nhập: không chứa thông tin cá nhân, chỉ cho trang biết thiết bị này có thể đang đăng nhập, để khách truy cập chưa đăng nhập không gửi yêu cầu tài khoản nào;</li>\n      <li>Bộ nhớ cục bộ của trình duyệt: lưu các tùy chọn như giao diện, ngôn ngữ và cách đăng nhập bạn dùng lần trước. Dữ liệu này nằm trên thiết bị của bạn và không được gửi cho chúng tôi.</li>\n    </ul>\n    <p>Trang web không dùng cookie quảng cáo hay cookie theo dõi trên nhiều trang.</p>\n\n    <h2>4. Dịch vụ bên thứ ba</h2>\n    <p>Chúng tôi dựa vào các dịch vụ sau để vận hành trang web. Mỗi dịch vụ chỉ xử lý thông tin trong phạm vi cần thiết để cung cấp dịch vụ của mình:</p>\n    <ul>\n      <li>Cloudflare: lưu trữ trang web và cơ sở dữ liệu, xử lý các yêu cầu mạng;</li>\n      <li>Google, GitHub và X: xác minh danh tính của bạn khi bạn chọn đăng nhập bằng các dịch vụ này;</li>\n      <li>Umami: thống kê lượt xem trang và việc sử dụng tính năng. Umami không dùng cookie, chỉ ghi lại số liệu tổng và không nhận dạng bất kỳ ai.</li>\n    </ul>\n    <p>Chúng tôi không bán thông tin của bạn và không cung cấp cho bất kỳ ai khác, trừ khi pháp luật yêu cầu.</p>\n\n    <h2>5. Lưu trữ và thời hạn lưu giữ</h2>\n    <ul>\n      <li>Hồ sơ, mục đã lưu, đoạn tô sáng và bản ghi khóa đọc của bạn được lưu trong cơ sở dữ liệu của Cloudflare cho đến khi bạn xóa tài khoản;</li>\n      <li>Phiên đăng nhập hết hạn sau 30 ngày;</li>\n      <li>Để ngăn chặn lạm dụng, số lần đăng nhập và số yêu cầu API được đếm theo địa chỉ IP. Số liệu này chỉ dùng để giới hạn tần suất, hết hiệu lực chậm nhất vào nửa đêm kế tiếp (UTC) và sau đó bị xóa.</li>\n    </ul>\n    <p>Cloudflare vận hành mạng lưới ở nhiều khu vực, nên thông tin của bạn có thể được xử lý bên ngoài quốc gia hoặc khu vực bạn đang sống.</p>\n\n    <h2>6. Bảo mật</h2>\n    <p>Mọi kết nối đến trang web đều được mã hóa bằng HTTPS. Token phiên đăng nhập và khóa đọc chỉ được lưu dưới dạng giá trị băm, nên dù cơ sở dữ liệu bị rò rỉ cũng không thể dùng để đăng nhập hay đọc nội dung. Tuy vậy, không dịch vụ trực tuyến nào có thể bảo đảm an toàn tuyệt đối; nếu xảy ra sự cố bảo mật, chúng tôi sẽ thông báo kịp thời trên trang web và trên X.</p>\n\n    <h2>7. Quyền của bạn</h2>\n    <ul>\n      <li>Truy cập: sau khi đăng nhập, bạn có thể xem hồ sơ, mục đã lưu và khóa đọc của mình trong menu tài khoản;</li>\n      <li>Chỉnh sửa: tên và ảnh của bạn lấy theo hồ sơ Google, GitHub hoặc X; hãy thay đổi ở đó rồi đăng nhập lại;</li>\n      <li>Xóa nội dung: bạn có thể bỏ lưu, xóa đoạn tô sáng hoặc thu hồi khóa đọc bất cứ lúc nào;</li>\n      <li>Danh sách thành viên: nếu là thành viên sớm, bạn có thể ẩn tên và ảnh của mình khỏi danh sách thành viên công khai bất cứ lúc nào bằng công tắc trong danh sách, mở từ bảng tên 999 trong menu tài khoản. Khi đó suất của bạn chỉ hiện là đã có người;</li>\n      <li>Đăng xuất: xóa trạng thái đăng nhập trên thiết bị này;</li>\n      <li>Xóa tài khoản: gửi tin nhắn trực tiếp cho <a href=\"https://x.com/kubai087\">@kubai087</a> trên X, cho biết cách bạn đăng nhập và tên hiển thị của bạn. Khi xóa tài khoản, hồ sơ, mục đã lưu, đoạn tô sáng và khóa đọc của bạn sẽ bị xóa cùng lúc và không thể khôi phục.</li>\n    </ul>\n\n    <h2>8. Về các cách đăng nhập</h2>\n    <div class=\"policy-callout\">\n      <p>Đăng nhập bằng Google, bằng GitHub và bằng X tạo ra ba tài khoản riêng biệt. Mục đã lưu, đoạn tô sáng và khóa đọc thuộc về một tài khoản và không chuyển sang các tài khoản khác; hiện chưa thể gộp các tài khoản.</p>\n      <p>Chúng tôi khuyên bạn mỗi lần nên đăng nhập theo cùng một cách. Hộp thoại đăng nhập sẽ đánh dấu cách mà thiết bị này đã dùng lần trước.</p>\n    </div>\n\n    <h2>9. Trẻ em</h2>\n    <p>Trang web dành cho người dùng phổ thông và không hướng đến trẻ em dưới 14 tuổi. Chúng tôi không cố ý thu thập thông tin cá nhân của trẻ em; nếu bạn cho rằng một trẻ em đã đăng nhập mà không có sự đồng ý của cha mẹ hoặc người giám hộ, vui lòng liên hệ với chúng tôi để chúng tôi xóa tài khoản đó.</p>\n\n    <h2>10. Thay đổi chính sách này</h2>\n    <p>Chúng tôi có thể cập nhật chính sách này khi tính năng của trang web thay đổi. Khi đó, chúng tôi sẽ cập nhật trang này và ngày ở phía trên; với những thay đổi quan trọng, chúng tôi cũng sẽ thông báo ở vị trí dễ thấy trên trang web.</p>\n\n    <h2>11. Liên hệ</h2>\n    <p>Nếu bạn có câu hỏi về chính sách này hoặc thông tin cá nhân của mình, vui lòng liên hệ <a href=\"https://x.com/kubai087\">@kubai087</a> trên X.</p>"
  }
}
