/* 2026-10-25: mọi luật trong file này chỉ áp dụng cho bản Việt (html.lx-vi); bản tiếng Anh giữ giao diện sao Cosmic như cũ.
   2026-10-24 (chủ dự án: chỉnh toàn bộ web cho đồng bộ với trang chủ trắng 3 màu).
   Nạp cuối cùng trên mọi trang. Cửa sổ đăng nhập, khung chặn đăng nhập trong app:
   nền trắng, chữ đen và xám, đỏ #b4233a là màu nhấn duy nhất, nút chính tối có sao.
   Selector dài (7 :not) để thắng app-dark.css, home-dark.css và theme-white.css. */

/* ===== Cửa sổ đăng nhập / đăng ký (#authModal). 2026-10-25: cũng dùng cho trang chủ kiểu iOS (html.ios-home) ===== */
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal{background:rgba(22,21,28,.45) !important;backdrop-filter:blur(4px) !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-modal{background:#fff !important;background-image:none !important;border:1px solid #ebe9f2 !important;border-radius:20px !important;box-shadow:0 30px 80px rgba(22,21,28,.18) !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-modal::before,
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-modal::after{display:none !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-modal h3{font-family:'Plus Jakarta Sans',Inter,sans-serif !important;font-weight:800 !important;letter-spacing:-.03em !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important;background:none !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-gift,
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-gift *,
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-note,
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-note *{color:#5b5870 !important;-webkit-text-fill-color:#5b5870 !important;background:transparent !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-modal-close{background:#f3f2f8 !important;background-image:none !important;color:#23212C !important;-webkit-text-fill-color:#23212C !important;border:0 !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-modal-close:hover{background:#e8e6f0 !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .btn-google{background:#fff !important;background-image:none !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important;border:1px solid #dcd9e6 !important;box-shadow:0 1px 2px rgba(22,21,28,.06) !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .btn-google:hover{background:#f6f5fa !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .btn-google *{color:inherit !important;-webkit-text-fill-color:inherit !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-divider,
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-divider span{color:#8a8799 !important;-webkit-text-fill-color:#8a8799 !important;background:#fff !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-divider::before,
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-divider::after{background:#ebe9f2 !important;border-color:#ebe9f2 !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal #authForm input{background:#fff !important;background-image:none !important;border:1px solid #dcd9e6 !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important;box-shadow:none !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal #authForm input::placeholder{color:#8a8799 !important;-webkit-text-fill-color:#8a8799 !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal #authForm input:focus{border-color:#23212C !important;box-shadow:0 0 0 3px rgba(35,33,44,.1) !important;outline:none !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal #authForm .btn-primary{background-color:#23212C !important;background-image:var(--sky-c),var(--sky-b),var(--sky-a),var(--sky-milky),var(--sky-base) !important;background-size:120px 120px,180px 180px,240px 240px,100% 100%,100% 100% !important;border:0 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;box-shadow:0 8px 20px rgba(35,33,44,.22) !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal #authForm .btn-primary *{color:#fff !important;-webkit-text-fill-color:#fff !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal #authForm .btn-primary::after{display:none !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-error{color:#b4233a !important;-webkit-text-fill-color:#b4233a !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-switch,
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-switch span{color:#5b5870 !important;-webkit-text-fill-color:#5b5870 !important}
:is(html.lx-vi,html.ios-home,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #authModal .auth-switch-link{color:#b4233a !important;-webkit-text-fill-color:#b4233a !important;background:transparent !important;font-weight:700 !important}

/* ===== Khung "Đăng nhập vào Lynx" khi mở app chưa đăng nhập ===== */
:is(html.lx-vi,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #appLoginPrompt .app-gate-box{background:#fff !important;background-image:none !important;border:1px solid #ebe9f2 !important;box-shadow:0 1px 2px rgba(22,21,28,.04),0 24px 60px rgba(22,21,28,.08) !important}
:is(html.lx-vi,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #appLoginPrompt .app-gate-box::before,
:is(html.lx-vi,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #appLoginPrompt .app-gate-box::after{display:none !important}
:is(html.lx-vi,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #appLoginPrompt .app-gate-box h2{color:#16151c !important;-webkit-text-fill-color:#16151c !important;background:none !important}
:is(html.lx-vi,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #appLoginPrompt .app-gate-box p{color:#5b5870 !important;-webkit-text-fill-color:#5b5870 !important}
:is(html.lx-vi,html.ios-app):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #appLoginPrompt .app-gate-box .btn{background-color:#23212C !important;background-image:var(--sky-c),var(--sky-b),var(--sky-a),var(--sky-milky),var(--sky-base) !important;background-size:120px 120px,180px 180px,240px 240px,100% 100%,100% 100% !important;color:#fff !important;-webkit-text-fill-color:#fff !important;border:0 !important;box-shadow:0 8px 20px rgba(35,33,44,.22) !important}

/* ===== Trang phụ (FAQ, Tính năng, Giới thiệu, Liên hệ, pháp lý): nền trắng như trang chủ,
   chữ nghiêng nhấn trong tiêu đề là chữ đỏ, không còn khung tối ===== */
html.lx-vi.tn-pub-on:not(#a):not(#b):not(#c) body{background:#fff !important;background-image:none !important}
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) h1 em,
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) h2 em{background:none !important;background-image:none !important;box-shadow:none !important;padding:0 !important;border-radius:0 !important;color:#b4233a !important;-webkit-text-fill-color:#b4233a !important;font-family:'Playfair Display','Instrument Serif',Georgia,serif !important;font-style:italic !important;font-weight:500 !important}
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) h1 em::before,html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) h1 em::after,
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) h2 em::before,html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) h2 em::after{display:none !important}

/* Nội dung song ngữ trên trang phụ: khối .ln-vi-only chỉ hiện ở bản Việt, .ln-en-only chỉ hiện ở bản Anh */
html:not(.lx-vi) .ln-vi-only{display:none !important}
html.lx-vi .ln-en-only{display:none !important}

/* ===== 2026-10-24 (chủ dự án): bỏ nền sao Cosmic. Mọi chỗ đang dùng bầu trời sao
   (nút, khung, thẻ) thành nền đen trơn #16151c. Ghi đè biến của cosmic-sky.css nên không phải sửa từng nút.
   Muốn có sao lại: xóa khối này. ===== */
/* 2026-10-25 (chủ dự án): bỏ bầu trời sao cả ở bản tiếng Anh: mọi chỗ dùng sao thành nền đen trơn #16151c. Muốn có sao lại: đổi html:root thành html.lx-vi:root */
html:root{
  --sky-a:linear-gradient(transparent,transparent);
  --sky-b:linear-gradient(transparent,transparent);
  --sky-c:linear-gradient(transparent,transparent);
  --sky-milky:linear-gradient(transparent,transparent);
  --sky-base:linear-gradient(#16151c,#16151c);
}

/* Nút mua (Thanh toán 99.000đ, Mở khóa): đen #16151c (2026-10-24, chủ dự án: đỏ nhìn chói). Dòng "499.000đ một năm" giữ là chữ. */
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) button.lx-btn[onclick*="lynxPayVnd"],
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) button.btn[onclick*="lynxPayVnd"],
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ln-red-buy{background:#16151c !important;background-image:none !important;border:0 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;box-shadow:0 2px 6px rgba(22,21,28,.12) !important}
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) button.lx-btn[onclick*="lynxPayVnd"] *,
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) button.btn[onclick*="lynxPayVnd"] *,
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ln-red-buy *{color:#fff !important;-webkit-text-fill-color:#fff !important;stroke:currentColor}
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) button.lx-btn[onclick*="lynxPayVnd"]:hover,
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) button.btn[onclick*="lynxPayVnd"]:hover,
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ln-red-buy:hover{background:#2c2a36 !important}
/* Nhãn "Mở khóa" trên các ô tìm kiếm của tài khoản miễn phí: chữ đen trên nền xám nhạt */
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .age-tab.free-lock em.hint{background:#f3f2f6 !important;border-color:#dddbe5 !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important;font-weight:700 !important}
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .age-tab.free-lock em.hint *{color:#16151c !important;-webkit-text-fill-color:#16151c !important}
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #unifiedGoBtn.ln-red-buy{background:#16151c !important;background-color:#16151c !important;background-image:none !important;border:0 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;box-shadow:none !important}
html.lx-vi:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #unifiedGoBtn.ln-red-buy *{color:#fff !important;-webkit-text-fill-color:#fff !important}
