/* Màn chờ lúc mới mở app đã cài (23/11/2026 — ghi-chu/viec/2026-11-23-app-nut-quay-lai-man-cho.md), giống app.dowin.vn.
   Nạp ở <head> của index.php (trang ngoài + trang thành viên) và user/index.php, cùng assets/js/man-cho.js; khối #man-cho là phần tử
   đầu của <body>. Chỉ hiện khi: đang chạy dạng app (display-mode bên dưới — trình duyệt thường không bao giờ thấy) VÀ <html> có lớp
   man-cho-mo (man-cho.js chỉ gắn ở trang đầu tiên của cửa sổ app). Nền = background_color của manifest (#006a69) để nối tiếp màn splash
   của Chrome điện thoại; logo website lọc thành trắng. Sửa tệp này → tăng ?v= ở cả hai chỗ nạp. */
#man-cho { display: none; }
@media (display-mode: standalone), (display-mode: minimal-ui), (display-mode: fullscreen), (display-mode: window-controls-overlay) {
	html.man-cho-mo #man-cho {
		position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483000;
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
		background: #006a69; transition: opacity .35s ease;
	}
	html.man-cho-mo #man-cho.an { opacity: 0; pointer-events: none; }
	#man-cho img {
		width: 200px; max-width: 60vw; height: auto; filter: brightness(0) invert(1);
		animation: man-cho-tho 1.6s ease-in-out infinite;
	}
	#man-cho .vach { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
	#man-cho .vach::after {
		content: ''; display: block; width: 40%; height: 100%; border-radius: 3px; background: #fff;
		animation: man-cho-chay 1.1s ease-in-out infinite;
	}
}
@keyframes man-cho-tho { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.94); opacity: .85; } }
@keyframes man-cho-chay { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { #man-cho img, #man-cho .vach::after { animation: none; } }
