/* =======================================================================
           ĐỒNG BỘ TOÀN BỘ TRANG WEB SANG NỀN TỐI KHI CHỌN THEME STUDIO DARK
           ======================================================================= */
        html[data-theme="studio-toi"] body,
        html[data-theme="studio-toi"] #trang-tai-nguyen,
        html[data-theme="studio-toi"] #trang-mv-moi,
        html[data-theme="studio-toi"] #trang-smart-link,
        html[data-theme="studio-toi"] #trang-bio-link {
            background-color: #0E0F14 !important;
            color: #FBF8F3 !important;
        }
        html[data-theme="studio-toi"] .luoi-nen-studio {
            background-image:
                linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
        }
        html[data-theme="studio-toi"] header {
            border-bottom-color: rgba(255, 255, 255, 0.12) !important;
        }
        html[data-theme="studio-toi"] #khung-menu-di-dong,
        html[data-theme="studio-toi"] #khu-vuc-cua-hang-dsp,
        html[data-theme="studio-toi"] footer {
            background-color: #161821 !important;
            color: #FBF8F3 !important;
            border-color: #2A2D3D !important;
        }
        /* Tất cả thẻ .khung-pixel và hộp nền trắng / kem toàn trang */
        html[data-theme="studio-toi"] .khung-pixel,
        html[data-theme="studio-toi"] .bg-white,
        html[data-theme="studio-toi"] .bg-\[\#FFFDF9\] {
            background-color: #161821 !important;
            color: #FBF8F3 !important;
            border-color: #32364A !important;
        }
        html[data-theme="studio-toi"] .bg-white\/90,
        html[data-theme="studio-toi"] .bg-white\/80,
        html[data-theme="studio-toi"] .bg-\[\#FBF8F3\] {
            background-color: #1E202B !important;
            color: #FBF8F3 !important;
            border-color: #32364A !important;
        }
        /* Đảm bảo chữ luôn sáng rõ trên nền tối */
        html[data-theme="studio-toi"] .text-zinc-900,
        html[data-theme="studio-toi"] .text-zinc-800,
        html[data-theme="studio-toi"] .text-\[\#181615\] {
            color: #FBF8F3 !important;
        }
        html[data-theme="studio-toi"] .text-zinc-700 {
            color: #E4E4E7 !important;
        }
        html[data-theme="studio-toi"] .text-zinc-600,
        html[data-theme="studio-toi"] .text-zinc-500 {
            color: #A1A1AA !important;
        }
        html[data-theme="studio-toi"] .text-orange-800,
        html[data-theme="studio-toi"] .text-orange-700 {
            color: #FB923C !important;
        }
        html[data-theme="studio-toi"] .text-indigo-950,
        html[data-theme="studio-toi"] .text-indigo-800,
        html[data-theme="studio-toi"] .text-indigo-700 {
            color: #A5B4FC !important;
        }
        html[data-theme="studio-toi"] .text-emerald-900,
        html[data-theme="studio-toi"] .text-emerald-800,
        html[data-theme="studio-toi"] .text-emerald-700 {
            color: #6EE7B7 !important;
        }
        /* Các hộp màu pastel nhẹ & gradient sáng chuyển sang tông tối hài hòa */
        html[data-theme="studio-toi"] .bg-orange-50,
        html[data-theme="studio-toi"] .bg-orange-50\/90,
        html[data-theme="studio-toi"] .bg-orange-50\/95,
        html[data-theme="studio-toi"] .bg-orange-100,
        html[data-theme="studio-toi"] .tn-thong-bao-phi {
            background-color: #1A1D28 !important;
            border-color: rgba(234, 88, 12, 0.45) !important;
            color: #E4E4E7 !important;
        }
        html[data-theme="studio-toi"] .bg-indigo-50,
        html[data-theme="studio-toi"] .bg-indigo-100 {
            background-color: rgba(99, 102, 241, 0.16) !important;
            border-color: rgba(99, 102, 241, 0.4) !important;
        }
        html[data-theme="studio-toi"] .bg-emerald-100 {
            background-color: rgba(16, 185, 129, 0.16) !important;
            border-color: rgba(16, 185, 129, 0.4) !important;
        }
        html[data-theme="studio-toi"] .bg-sky-100,
        html[data-theme="studio-toi"] .bg-amber-100,
        html[data-theme="studio-toi"] .bg-red-100 {
            background-color: rgba(255, 255, 255, 0.08) !important;
            border-color: rgba(255, 255, 255, 0.2) !important;
        }
        html[data-theme="studio-toi"] .bg-gradient-to-br.from-orange-50,
        html[data-theme="studio-toi"] .bg-gradient-to-br.from-indigo-50 {
            background-image: none !important;
            background-color: #1E202B !important;
        }
        /* Viền phân cách */
        html[data-theme="studio-toi"] .border-black\/10,
        html[data-theme="studio-toi"] .border-black\/15,
        html[data-theme="studio-toi"] .border-black\/20,
        html[data-theme="studio-toi"] .border-zinc-200,
        html[data-theme="studio-toi"] .border-zinc-300 {
            border-color: rgba(255, 255, 255, 0.14) !important;
        }
        html[data-theme="studio-toi"] .border-\[\#181615\] {
            border-color: #3A3E52 !important;
        }
        /* Input, Select, Textarea và các nút phụ nền sáng */
        html[data-theme="studio-toi"] input:not([type="color"]):not([type="range"]),
        html[data-theme="studio-toi"] textarea,
        html[data-theme="studio-toi"] select {
            background-color: #1E202B !important;
            color: #FBF8F3 !important;
            border-color: #3A3E52 !important;
        }
        html[data-theme="studio-toi"] .the-cua-hang-dsp,
        html[data-theme="studio-toi"] a.nut-pixel.bg-white,
        html[data-theme="studio-toi"] button.nut-pixel.bg-white,
        html[data-theme="studio-toi"] a.nut-pixel.bg-\[\#FBF8F3\],
        html[data-theme="studio-toi"] button.nut-pixel.bg-\[\#FBF8F3\] {
            background-color: #1E202B !important;
            color: #FBF8F3 !important;
            border-color: #3A3E52 !important;
            box-shadow: 0 4px 0 #090A0F !important;
        }
        html[data-theme="studio-toi"] .the-cua-hang-dsp:hover,
        html[data-theme="studio-toi"] a.nut-pixel.bg-white:hover,
        html[data-theme="studio-toi"] button.nut-pixel.bg-white:hover,
        html[data-theme="studio-toi"] a.nut-pixel.bg-\[\#FBF8F3\]:hover,
        html[data-theme="studio-toi"] button.nut-pixel.bg-\[\#FBF8F3\]:hover {
            background-color: #282B3A !important;
            border-color: #EA580C !important;
        }
        /* Giữ nguyên màu nổi bật cho các nút đang chọn & nút hành động chính */
        html[data-theme="studio-toi"] .bg-orange-600,
        html[data-theme="studio-toi"] .bg-indigo-600,
        html[data-theme="studio-toi"] .bg-emerald-600,
        html[data-theme="studio-toi"] .bg-\[\#EA4335\] {
            color: #FFFFFF !important;
        }
        /* Giữ nguyên màu nền tùy chỉnh của khung xem trước Bio Link */
        html[data-theme="studio-toi"] #bio-preview-canvas {
            border-color: #3A3E52 !important;
        }
