/* Ô chấm sao cuối bài (inc/ratings.php) — theo tone đỏ đô / vàng của giao diện mới. */
.ml-rate { margin: 36px 0 8px; padding: 18px 22px; border: 1px solid #efe7da; border-radius: 18px; background: #fbf8f3; color: #2b1c1e; }
.ml-rate__q { margin: 0 0 8px; font-weight: 700; font-size: 17px; line-height: 1.4; }
.ml-rate__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ml-rate__stars { display: inline-flex; gap: 2px; }
.ml-rate .ml-rate__star { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: #d9cdb8; cursor: pointer; transition: transform .15s, color .15s; }
.ml-rate .ml-rate__star svg { fill: currentColor; }
.ml-rate .ml-rate__star:hover { transform: scale(1.12); }
.ml-rate .ml-rate__star.is-on { color: #cfae6e; }
.ml-rate .ml-rate__star:focus-visible { outline: 2px solid #a51d2d; outline-offset: 1px; }
.ml-rate .ml-rate__star:disabled { cursor: default; transform: none; }
.ml-rate__sum { margin: 0; font-size: 15px; line-height: 1.5; color: #6b5c58; }
.ml-rate__sum strong { color: #2b1c1e; font-size: 17px; }
.ml-rate__mini { display: inline-block; width: 70px; height: 14px; margin-right: 8px; vertical-align: -1px; background: linear-gradient(90deg, #cfae6e var(--ml-rate-fill, 0%), #d9cdb8 var(--ml-rate-fill, 0%)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(24)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(48)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(72)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(96)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(24)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(48)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(72)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3Cpath transform='translate(96)' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ml-rate__msg { color: #a51d2d; font-weight: 600; }
.ml-rate__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 767px) {
	.ml-rate { padding: 16px; }
	.ml-rate .ml-rate__star { width: 44px; height: 44px; }
}
