/* Giao diện ngày lễ – chỉ là lớp trang trí. Màu lấy từ --le-1 / --le-2 / --le-chu / --le-nen do public/le-hoi.js đặt.
   Chuyển từ HCK css/style.css (.le-dai, .le-hoa). Khác HCK: nền dải chào là màu đặc đã đủ tương phản (không chạy gradient mãi). */
.le-dai { position: relative; z-index: 60; color: var(--le-chu, #fff); background: var(--le-nen, #B71C4A); border-bottom: 3px solid var(--le-2, transparent); }
.le-dai__in { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 52px; color: inherit; text-decoration: none; font-size: 15px; font-weight: 600; text-align: center; line-height: 1.4; }
a.le-dai__in:hover span:not(.le-dai__st), a.le-dai__in:focus-visible span:not(.le-dai__st) { text-decoration: underline; }
.le-dai__in b { white-space: nowrap; background: #fff; color: var(--le-nen, #B71C4A); padding: 3px 12px; border-radius: 999px; font-size: 14px; }
.le-dai__st { font-size: 18px; display: inline-block; animation: leLac 2.4s ease-in-out 3; }
.le-dai button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: transparent; border: 0; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; border-radius: 50%; }
.le-dai button:hover { background: rgba(255, 255, 255, .18); }
.le-dai button:focus-visible, .le-dai__in:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (max-width: 600px) { .le-dai__in { font-size: 14px; padding: 7px 46px 7px 12px; flex-wrap: wrap; gap: 4px 8px; } }
@keyframes leLac { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg) scale(1.1); } }

.le-hoa { position: fixed; inset: 0; pointer-events: none; z-index: 55; overflow: hidden; contain: strict; }
.le-hoa i { position: absolute; top: -40px; font-style: normal; opacity: .62; animation-name: leRoi, leDua; animation-timing-function: linear, ease-in-out; will-change: transform; }
.le-hoa.is-dung i { animation-play-state: paused; }
.le-hoa--tuyet i { color: #fff; text-shadow: 0 0 3px rgba(80, 120, 160, .6); opacity: .9; }
.le-hoa--bong-bay i, .le-hoa--den-long i { animation-name: leBay, leDua; top: auto; bottom: -50px; }
.le-hoa--sao-vang i, .le-hoa--am-ap i { animation-name: leRoiThang, leDua; opacity: .5; }   /* ngày trang trọng: mờ nhẹ, không xoay */
.le-hoa--the-gia i { opacity: .8; }
@keyframes leRoiThang { 0% { transform: translateY(-40px) rotate(0); } 100% { transform: translateY(110vh) rotate(60deg); } }
@keyframes leRoi { 0% { transform: translateY(-40px) rotate(0); } 100% { transform: translateY(110vh) rotate(220deg); } }
@keyframes leBay { 0% { transform: translateY(0); } 100% { transform: translateY(-115vh); } }
@keyframes leDua { 0%, 100% { margin-left: -9px; } 50% { margin-left: 9px; } }
@media (prefers-reduced-motion: reduce) { .le-dai__st { animation: none; } .le-hoa { display: none; } }
@media print { .le-dai, .le-hoa { display: none; } }
