/* mafia-noel.css - Trang tri Giang sinh (Claude 28/11/2026, ban 2).
   Chi co tac dung khi mafia-noel.js gan lop "mf-noel" vao the html; tu tat tu ngay 02/01/2027.
   Go bo som: xoa 2 dong mafia-noel trong head.php. */
html.mf-noel #mf-noel-snow{position:fixed;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:1025}
html.mf-noel .navbar-brand{position:relative}
html.mf-noel .mf-noel-hat{position:absolute;width:34px;height:30px;pointer-events:none;transform:rotate(-16deg);z-index:2}
/* nen banner: dem tuyet, trang, xe tuan loc */
html.mf-noel .header-banner{position:relative;background-image:url(/assets/mafia-noel/banner-wide.webp) !important;background-size:cover !important;background-position:center bottom !important;background-repeat:no-repeat !important}
html.mf-noel .mf-noel-drift{position:absolute;left:0;right:0;bottom:-1px;height:22px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='28' viewBox='0 0 480 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28 V15 Q30 3 62 12 T128 10 T206 15 T286 8 T366 14 T430 9 T480 15 V28 Z' fill='%23ffffff'/%3E%3Cpath d='M0 28 V21 Q40 13 84 19 T176 18 T270 21 T372 17 T480 21 V28 Z' fill='%23e9eef5'/%3E%3C/svg%3E") repeat-x 0 100%/480px 22px}
html.mf-noel .mf-noel-chip{display:inline-flex;align-items:center;gap:8px;margin:6px auto 24px;padding:5px 14px 5px 10px;border-radius:999px;background:#b3121d;border:1px solid #ff6b6b;color:#fff;font:700 13px "Roboto Condensed",sans-serif;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 2px 0 #7a0c14}
html.mf-noel .mf-noel-chip .fa{color:#8dffb0;font-size:15px}
html.mf-noel .mf-noel-chip em{font-style:normal;font-weight:400;text-transform:none;letter-spacing:0;opacity:.95;padding-left:8px;border-left:1px solid rgba(255,255,255,.45)}
html.mf-noel .mf-noel-chipwrap{text-align:center}
html.mf-noel .mf-sbar button{position:relative;overflow:hidden;box-shadow:none}
html.mf-noel .mf-sbar button:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:repeating-linear-gradient(135deg,#e11d2a 0,#e11d2a 8px,#f5f5f5 8px,#f5f5f5 16px)}
html.mf-noel .mf-noel-tg a .fa{color:#bfe3ff}
html.mf-noel .mf-noel-tg.off a .fa{color:#777}
html.mf-noel .mf-noel-tg span{display:none}
/* popup thong bao */
html.mf-noel #popup-notice>div{border:2px solid #e11d2a !important;box-shadow:0 0 0 4px rgba(31,157,85,.6),0 18px 50px rgba(0,0,0,.6);overflow:visible !important}
html.mf-noel #popup-notice>div:before{content:"";position:absolute;left:-2px;right:-2px;top:-16px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='28' viewBox='0 0 480 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28 V15 Q30 3 62 12 T128 10 T206 15 T286 8 T366 14 T430 9 T480 15 V28 Z' fill='%23ffffff'/%3E%3Cpath d='M0 28 V21 Q40 13 84 19 T176 18 T270 21 T372 17 T480 21 V28 Z' fill='%23e9eef5'/%3E%3C/svg%3E") repeat-x 0 100%/260px 18px;pointer-events:none}
html.mf-noel #popup-notice>div:after{content:"";position:absolute;left:-20px;top:-34px;width:56px;height:50px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 60'%3E%3Cpath d='M8 42 Q14 10 40 8 Q58 8 60 32 Q53 23 46 23 Q41 31 43 44 Z' fill='%23e11d2a'/%3E%3Cpath d='M40 8 Q58 8 60 32 Q53 23 46 23 Q45 14 40 8 Z' fill='%23b3121d'/%3E%3Crect x='3' y='39' width='45' height='13' rx='6.5' fill='%23ffffff'/%3E%3Crect x='3' y='46' width='45' height='6' rx='3' fill='%23e6ebf2'/%3E%3Ccircle cx='60' cy='34' r='6.5' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center/contain;transform:rotate(-20deg);pointer-events:none}
/* o dang nhap / dang ky */
html.mf-noel-auth .card{position:relative;border:2px solid #b3121d !important;border-radius:10px;box-shadow:0 0 0 4px rgba(31,157,85,.5),0 14px 40px rgba(0,0,0,.35);overflow:visible;margin-top:92px !important}
html.mf-noel-auth .card:before{content:"";position:absolute;left:-2px;right:-2px;top:-16px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='28' viewBox='0 0 480 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28 V15 Q30 3 62 12 T128 10 T206 15 T286 8 T366 14 T430 9 T480 15 V28 Z' fill='%23ffffff'/%3E%3Cpath d='M0 28 V21 Q40 13 84 19 T176 18 T270 21 T372 17 T480 21 V28 Z' fill='%23e9eef5'/%3E%3C/svg%3E") repeat-x 0 100%/260px 18px;pointer-events:none;z-index:2}
html.mf-noel-auth .card:after{content:"";position:absolute;left:-22px;top:-36px;width:60px;height:54px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 60'%3E%3Cpath d='M8 42 Q14 10 40 8 Q58 8 60 32 Q53 23 46 23 Q41 31 43 44 Z' fill='%23e11d2a'/%3E%3Cpath d='M40 8 Q58 8 60 32 Q53 23 46 23 Q45 14 40 8 Z' fill='%23b3121d'/%3E%3Crect x='3' y='39' width='45' height='13' rx='6.5' fill='%23ffffff'/%3E%3Crect x='3' y='46' width='45' height='6' rx='3' fill='%23e6ebf2'/%3E%3Ccircle cx='60' cy='34' r='6.5' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center/contain;transform:rotate(-20deg);pointer-events:none;z-index:3}
html.mf-noel-auth .mf-noel-authart{height:132px;border-radius:8px 8px 0 0;background:url(/assets/mafia-noel/banner-wide.webp) no-repeat 79% 78%/auto 128%}
html.mf-noel-auth .card .card-header{background:#b3121d !important;color:#fff !important;font-weight:700;letter-spacing:.06em;border-bottom:3px solid #1f9d55 !important}
@media (max-width:767px){
html.mf-noel .header-banner{background-image:url(/assets/mafia-noel/banner-tall.webp) !important;padding-bottom:104px !important}
html.mf-noel .mf-noel-tg span{display:inline}
html.mf-noel .mf-noel-chipwrap{display:none}
html.mf-noel .mf-noel-drift{height:16px;background-size:320px 16px}
html.mf-noel-auth .mf-noel-authart{height:100px}
html.mf-noel-auth .card{margin-top:44px !important}
}
@media (prefers-reduced-motion:reduce){
html.mf-noel #mf-noel-snow{display:none}
}
