/* GIAO DIỆN THEO DỊP LỄ (22/11/2026) — le-hoi.js gắn data-le lên <html> rồi thêm: dòng chúc, 2 đồ treo trên mẹt, hạt rơi / bay.
   Hình ở /anh/le/. Màu thương hiệu: đỏ son, vàng nghệ, nâu — không xanh, không đen (cả Noel lẫn Halloween). */
.le-loi { display: table; margin: 0 auto 10px; padding: 4px 16px; border: 2px solid #4A2511; border-radius: 999px;
  background: #F2B705; color: #4A2511; font-weight: 800; font-size: 15px; line-height: 1.35; text-align: center; }
.le-treo { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.le-treo i { position: absolute; top: 66px; width: clamp(40px, 8vw, 84px); aspect-ratio: 80 / 150; background: center top / contain no-repeat;
  transform-origin: 50% 0; animation: le-dua 3.2s ease-in-out infinite alternate; }
.le-treo i:first-child { left: 10px; }
.le-treo i:last-child { right: 10px; animation-delay: -1.6s; }
@keyframes le-dua { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
[data-le="tet"] .le-treo i { background-image: url(/anh/le/den-long.svg); }
[data-le="trung-thu"] .le-treo i { background-image: url(/anh/le/den-sao.svg); aspect-ratio: 90 / 130; }
[data-le="noel"] .le-treo i { background-image: url(/anh/le/chuong.svg); aspect-ratio: 110 / 120; }
[data-le="halloween"] .le-treo i { background-image: url(/anh/le/bi-ngo.svg); aspect-ratio: 100 / 90; top: auto; bottom: 10px; animation: none; }
/* laptop: treo sát mép mẹt, cao hơn, nhỏ hơn → không đè chữ "Ăn sáng chưa?" bên trái */
@media (min-width: 900px) {
  .le-treo i { top: 30px; width: 60px; }
  .le-treo i:first-child { left: calc(50% - var(--r) - 78px); }
  .le-treo i:last-child { right: calc(50% - var(--r) - 78px); }
  [data-le="noel"] .le-treo i { top: 64px; }   /* chuông thấp → hạ xuống, không nấp sau nút thương hiệu */
  [data-le="halloween"] .le-treo i { top: auto; width: 76px; }
}

.le-hat { position: fixed; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.le-hat i { position: absolute; top: -50px; background: center / contain no-repeat; animation: le-roi linear infinite; }
.le-hat.len i { top: auto; bottom: -50px; animation-name: le-bay; }
[data-le="tet"] .le-hat i { background-image: url(/anh/le/mai.svg); }
[data-le="trung-thu"] .le-hat i { background-image: url(/anh/le/den-sao.svg); }
[data-le="halloween"] .le-hat i { background-image: url(/anh/le/doi.svg); }
[data-le="noel"] .le-hat i { background-image: url(/anh/le/tuyet.svg); }
@keyframes le-roi { to { transform: translate(var(--lac, 30px), calc(100vh + 100px)) rotate(320deg); } }
@keyframes le-bay { to { transform: translate(var(--lac, 30px), calc(-100vh - 100px)); } }
@media (prefers-reduced-motion: reduce) { .le-hat { display: none; } .le-treo i { animation: none; } }
