
.advent { position: relative; overflow: hidden; margin: 14px 0; padding: 16px; border-radius: 18px;
background: linear-gradient(160deg, color-mix(in srgb, #14532d 55%, var(--bg-panel-2)), color-mix(in srgb, #7f1d1d 45%, var(--bg-panel-2)));
border: 1px solid color-mix(in srgb, #fbbf24 35%, transparent); }
.adv-head h2 { margin: 0 0 4px; font-size: 1.1rem; display: flex; align-items: baseline; gap: 10px; }
.adv-head h2 small { font-size: .8rem; color: #fde68a; }
.adv-head p { margin: 0 0 12px; font-size: .88rem; }
.adv-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.adv-door { position: relative; aspect-ratio: 1; border-radius: 10px; border: 1px solid color-mix(in srgb, #fbbf24 40%, transparent); background: color-mix(in srgb, #000 30%, transparent); color: #fef3c7; font: inherit; cursor: pointer; display: grid; place-items: center; transition: transform .15s, box-shadow .15s; }
.adv-door:not(:disabled):hover { transform: translateY(-2px); }
.adv-num { position: absolute; top: 4px; left: 6px; font-family: var(--font-display); font-size: .8rem; opacity: .9; }
.adv-in { font-size: 1.15rem; line-height: 1; }
.adv-locked { opacity: .55; cursor: default; }
.adv-today { background: linear-gradient(145deg, #b91c1c, #991b1b); box-shadow: 0 0 0 2px #fbbf24, 0 0 16px #fbbf24; animation: advPulse 1.6s ease-in-out infinite; }
.adv-missed { border-style: dashed; }
.adv-opened { background: color-mix(in srgb, #fef3c7 14%, transparent); }
.adv-opened .adv-in { font-size: .95rem; letter-spacing: -2px; }
.adv-big { box-shadow: inset 0 0 0 2px #fbbf24; }
.adv-opening { animation: advOpen .65s ease-in forwards; }
@keyframes advPulse { 50% { box-shadow: 0 0 0 2px #fbbf24, 0 0 26px #fbbf24; } }
@keyframes advOpen { 0% { transform: perspective(300px) rotateY(0); } 100% { transform: perspective(300px) rotateY(-80deg); opacity: .4; } }
.adv-snow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.adv-snow i { position: absolute; top: -10px; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .7; animation: advSnow 9s linear infinite; }
.adv-snow i:nth-child(odd) { width: 3px; height: 3px; animation-duration: 12s; }
.adv-snow i:nth-child(1) { left: 4%; animation-delay: -1s; } .adv-snow i:nth-child(2) { left: 11%; animation-delay: -6s; } .adv-snow i:nth-child(3) { left: 19%; animation-delay: -3s; }
.adv-snow i:nth-child(4) { left: 26%; animation-delay: -8s; } .adv-snow i:nth-child(5) { left: 33%; animation-delay: -2s; } .adv-snow i:nth-child(6) { left: 41%; animation-delay: -5s; }
.adv-snow i:nth-child(7) { left: 48%; animation-delay: -10s; } .adv-snow i:nth-child(8) { left: 56%; animation-delay: -4s; } .adv-snow i:nth-child(9) { left: 63%; animation-delay: -7s; }
.adv-snow i:nth-child(10) { left: 71%; animation-delay: -1.5s; } .adv-snow i:nth-child(11) { left: 78%; animation-delay: -9s; } .adv-snow i:nth-child(12) { left: 85%; animation-delay: -3.5s; }
.adv-snow i:nth-child(13) { left: 92%; animation-delay: -6.5s; } .adv-snow i:nth-child(14) { left: 97%; animation-delay: -11s; }
@keyframes advSnow { to { transform: translate(-20px, 420px); } }
@media (max-width: 520px) { .adv-grid { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .adv-today, .adv-opening, .adv-snow i { animation: none; } .adv-snow { display: none; } }
