/* The advent way in on the home page (functions/_adventhome.js): the gift card above "hi there" and the 24 doors in the promo slot.
   The advent page's look: dark green, red, gold, Pip in a Santa hat. Linked only from Dec 1 to 24. */
.adh-gift{display:inline-flex;align-items:center;gap:12px;margin:0 0 10px;padding:8px 14px 8px 10px;background:radial-gradient(circle at 30% 20%,#2a7d48,#14472a);color:#fffdf8;border:2px solid #1e1c18;border-radius:12px;box-shadow:4px 4px 0 #000;text-decoration:none;transform:rotate(-1.5deg);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.adh-gift:hover{transform:rotate(0) translateY(-2px)}
.adh-gift:focus-visible{outline:3px solid #f3c63f;outline-offset:3px}
.adh-t{display:flex;flex-direction:column;line-height:1.1}
.adh-k{font:8px var(--pixel,monospace);letter-spacing:.16em;text-transform:uppercase;color:#ff9aa8}
.adh-t b{font:500 20px var(--serif,Georgia,serif);color:#f3c63f}
.adh-t small{font-size:12px;color:#d9ecd9}
.adh-door{position:relative;width:40px;height:40px;flex:none;background:#c8102e;border:2px solid #1e1c18;border-radius:7px;display:grid;place-items:center;box-shadow:inset 0 0 0 3px #9e0b22}
.adh-door:before,.adh-door:after{content:"";position:absolute;background:#f3c63f}
.adh-door:before{left:0;right:0;top:50%;height:4px;margin-top:-2px}.adh-door:after{top:0;bottom:0;left:50%;width:4px;margin-left:-2px}
.adh-door span{position:relative;z-index:1;padding:0 3px;border-radius:3px;background:#c8102e;line-height:1.1;font:500 21px/1.1 var(--serif,Georgia,serif);color:#fff;text-shadow:2px 2px 0 #1e1c18}
/* Pip in a Santa hat (the advent page's mascot, smaller) */
.adh-pip{position:relative;display:inline-block;width:44px;height:50px;flex:none;animation:adhbob 2.6s ease-in-out infinite}
.adh-pip i{position:absolute;display:block}
.adh-pip .b{bottom:0;left:2px;width:39px;height:43px;background:#efe6cf;border:2px solid #1e1c18;border-radius:6px 6px 4px 4px;box-shadow:2px 2px 0 #000}
.adh-pip .s{left:8px;top:11px;width:26px;height:20px;background:#cde7d2;border:2px solid #1e1c18;border-radius:3px}
.adh-pip .e{top:4px;width:3px;height:5px;background:#1e1c18}.adh-pip .l{left:7px}.adh-pip .r{left:14px}
.adh-pip .m{left:6px;top:11px;width:10px;height:4px;border:2px solid #1e1c18;border-top:0;border-radius:0 0 6px 6px}
.adh-pip .k{left:20px;bottom:5px;width:13px;height:3px;background:#1e1c18;border-radius:2px}
.adh-pip .hat{left:17px;top:-2px;width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:19px solid #c8102e;transform:rotate(18deg);transform-origin:bottom center}
.adh-pip .brim{left:12px;top:14px;width:31px;height:7px;background:#fff;border:2px solid #1e1c18;border-radius:5px;transform:rotate(8deg)}
.adh-pip .pom{left:34px;top:-4px;width:8px;height:8px;background:#fff;border:2px solid #1e1c18;border-radius:50%}
@keyframes adhbob{50%{transform:translateY(-3px) rotate(-2deg)}}
/* the 24 doors */
.adh-strip{background:#14472a;border-bottom:1.5px solid #1e1c18}
.adh-sin{display:flex;align-items:center;justify-content:center;gap:14px;min-height:44px;padding:6px 16px;color:#fffdf8;text-decoration:none;font-size:14px}
.adh-sin:focus-visible{outline:3px solid #f3c63f;outline-offset:-4px}
.adh-tag{font:9px var(--pixel,monospace);letter-spacing:.14em;background:#c8102e;color:#fff;padding:4px 8px;border-radius:4px;flex:none}
.adh-ds{display:flex;gap:3px;flex:none}
.adh-ds i{width:17px;height:21px;border:1px solid #0b2a17;border-radius:3px;font:7px/19px var(--pixel,monospace);text-align:center;font-style:normal}
.adh-ds i.op{background:#2a7d48;color:#d9ecd9;border-color:#0b2a17}
.adh-ds i.now{background:#c8102e;color:#fff;box-shadow:0 0 0 2px #14472a,0 0 0 3.5px #f3c63f}
.adh-ds i.shut{background:#efe6cf;color:#6b6454}
.adh-ds i.fin.shut{color:#c8102e}
.adh-say b{color:#f3c63f;font-weight:400}
.adh-say u{text-underline-offset:3px}
.adh-sin:hover u{color:#f3c63f}
@media (max-width:1100px){.adh-x{display:none}}
@media (max-width:760px){.adh-sin{justify-content:flex-start;gap:10px;padding:6px 12px;overflow:hidden}.adh-ds i:nth-child(n+8){display:none}.adh-say{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}}
@media (max-width:640px){.adh-gift{gap:9px;padding:6px 10px 6px 8px}.adh-t b{font-size:17px}.adh-t small{display:none}.adh-door{width:32px;height:32px}.adh-door span{font-size:17px}}
@media (prefers-reduced-motion:reduce){.adh-pip{animation:none}.adh-gift{transition:none}}
@media (forced-colors:active){.adh-gift,.adh-strip{border-color:CanvasText}}
