.hitmix-festive{position:relative;isolation:auto;color:#fff8ee;text-align:center}
.site-footer:has(.hitmix-festive){padding-top:0}
.site-footer .hitmix-festive{margin-bottom:26px;padding:29px 12px 4px}
.site-footer .hitmix-festive::before{content:"";position:absolute;inset:0 0 auto;height:24px;background:radial-gradient(ellipse at 20% 0,#fff 68%,transparent 71%) 0 0/168px 18px repeat-x,radial-gradient(ellipse at 60% 0,#eee3ff 66%,transparent 70%) 58px 3px/211px 21px repeat-x;pointer-events:none}
.hitmix-festive-card{position:relative;display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;max-width:100%;padding:10px 15px;background:#302044;border:1px solid #a272ae;border-radius:12px;box-shadow:0 8px 24px #12091d38}
.hitmix-festive-card p{margin:0;color:#fff8ee;font-size:.9rem;font-weight:700}
.hitmix-festive-spark{color:#ffd785}
.hitmix-festive-open{min-height:44px;padding:6px 12px;color:#28163a;background:#fff0d1;border:1px solid #edbf70;border-radius:8px;font:700 .84rem Verdana,sans-serif;cursor:pointer}
.hitmix-festive-open:hover{background:#ffe3aa}
.pop-player .hitmix-festive{margin-block:18px 4px}
.pop-player .hitmix-festive-card::before{content:"";position:absolute;inset:-6px 7px auto;height:8px;border-radius:60% 40% 45% 55%;background:#fffcff;pointer-events:none}
.pop-player .player-shell{position:relative}
.pop-player .player-top::after{content:"✦";position:absolute;top:-.18em;right:0;color:#ffd687;opacity:.8;pointer-events:none;font-size:22px}
.hitmix-festive [hidden]{display:none!important}
.hitmix-festive-sky{position:fixed;inset:0;z-index:700;overflow:hidden;pointer-events:none}
.hitmix-festive-flake{position:absolute;left:var(--start);top:-18px;width:var(--size);height:var(--size);border-radius:50%;background:#fff;box-shadow:0 0 1px 1px #7241a261,0 0 6px #e0ceff96;animation:hitmix-festive-fall var(--duration) linear var(--delay) infinite}
.hitmix-festive-flight{position:absolute;left:0;top:clamp(80px,18vh,185px);width:clamp(260px,45vw,650px);animation:hitmix-festive-flight 12s linear both}
.hitmix-festive-team{position:relative;animation:hitmix-festive-gallop .82s ease-in-out infinite alternate;transform-origin:55% 50%;filter:drop-shadow(0 7px 8px #20112b60)}
.hitmix-festive-team img{display:block;width:100%;height:auto;max-width:none}
.hitmix-rudolph-nose{position:absolute;left:96.8%;top:21%;width:2%;aspect-ratio:1;border-radius:50%;background:#ff5a44;box-shadow:0 0 9px 4px #ff401c;animation:hitmix-rudolph 1.25s ease-in-out infinite alternate}
.hitmix-festive-gift{position:absolute;left:var(--gift-x);bottom:clamp(32px,8vh,86px);z-index:1;display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;transform:translateX(-50%);color:#311523;border:1px solid var(--ribbon);border-radius:10px;box-shadow:0 5px 15px #170b28a6;background:linear-gradient(90deg,transparent 42%,var(--ribbon) 42% 58%,transparent 58%),linear-gradient(transparent 34%,var(--ribbon) 34% 46%,transparent 46%),#932757;pointer-events:auto;cursor:pointer;animation:hitmix-gift-drop 1.7s cubic-bezier(.3,.05,.52,1) both}
.hitmix-festive-gift span{align-self:start;color:#fff;padding-top:3px}
.hitmix-festive-gift:hover{box-shadow:0 0 0 2px var(--ribbon),0 4px 18px #170b28a6}
.hitmix-album-dialog{box-sizing:border-box;width:min(450px,calc(100% - 30px));max-height:calc(100dvh - 30px);overflow:auto;padding:24px 22px 30px;border:1px solid #bc8ab9;border-radius:20px;background:radial-gradient(ellipse at top,#5c2867,#251534 75%);color:#fff7f0;text-align:center;box-shadow:0 18px 70px #180d2bb0}
.hitmix-album-dialog::backdrop{background:#1b112bb0}
.hitmix-album-dialog h2{margin:6px 0 0;color:#fff4e9;font-size:clamp(23px,6vw,34px);line-height:1.15}
.hitmix-album-caption{margin:12px 0 0;color:#ffdda0;font-weight:700;font-size:.83rem}
.hitmix-album-artist{margin:8px 0 18px;color:#f0dffa}
.hitmix-album-close{position:absolute;top:6px;right:6px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#fff2;color:white;font-size:25px;cursor:pointer}
.hitmix-album-record{width:66px;aspect-ratio:1;border-radius:50%;margin-inline:auto;background:radial-gradient(circle,#fff4df 0 4%,#b32962 5% 19%,#1c1428 20% 24%,#392a46 25% 27%,#160e20 28% 45%,#3c2c49 46% 48%,#190f24 49% 64%,#3c2c49 65% 67%,#1c1428 68%);box-shadow:0 4px 18px #120b1d80;transform:rotate(-12deg)}
.hitmix-festive button:focus-visible{outline:3px solid #ffda8d;outline-offset:3px}
@keyframes hitmix-festive-fall{from{transform:translate3d(0,0,0);opacity:0}10%{opacity:.9}90%{opacity:.8}to{transform:translate3d(var(--drift),calc(100vh + 36px),0);opacity:0}}
@keyframes hitmix-festive-flight{0%{transform:translate3d(-108%,35px,0) rotate(-8deg)}30%{transform:translate3d(9vw,8px,0) rotate(-4deg)}50%{transform:translate3d(42vw,-28px,0) rotate(-7deg)}71%{transform:translate3d(76vw,-10px,0) rotate(2deg)}100%{transform:translate3d(112vw,-90px,0) rotate(-10deg)}}
@keyframes hitmix-festive-gallop{from{transform:translateY(6px) rotate(-1.9deg) scaleY(.985)}to{transform:translateY(-8px) rotate(2deg) scaleY(1.035)}}
@keyframes hitmix-rudolph{from{opacity:.6;transform:scale(.8)}to{opacity:1;transform:scale(1.2)}}
@keyframes hitmix-gift-drop{0%{transform:translate(-50%,-72vh) rotate(-27deg);opacity:.15}70%{opacity:1}85%{transform:translate(-50%,6px) rotate(7deg)}100%{transform:translate(-50%,0) rotate(0)}}
@media(prefers-reduced-motion:reduce){.hitmix-festive-sky{display:none!important}}

/* Decorations stay out of the layout and leave controls unobstructed. */
.hitmix-festive-tree{font-size:clamp(19px,3vw,27px);line-height:1;text-shadow:0 0 10px #ffd98460}
body:has([data-christmas]) .site-masthead .site-header,
.pop-player .player-top{position:relative}
body:has([data-christmas]) .site-masthead .site-header::after,
.pop-player .player-top::before,
.hitmix-festive-card::after{
    content:"";position:absolute;pointer-events:none;z-index:2;
    height:12px;
    background:
        radial-gradient(circle at 10px 5px,#ffc45d 0 2px,#ffc45d66 3px,transparent 5px),
        radial-gradient(circle at 29px 8px,#e95078 0 2px,#e9507866 3px,transparent 5px),
        radial-gradient(circle at 48px 5px,#65cdaa 0 2px,#65cdaa66 3px,transparent 5px),
        radial-gradient(circle at 67px 8px,#9782ff 0 2px,#9782ff66 3px,transparent 5px);
    background-size:78px 12px;
}
body:has([data-christmas]) .site-masthead .site-header::after,
.pop-player .player-top::before{inset:-5px 4px auto}
.hitmix-festive-card::after{inset:auto 10px -5px}
.site-footer .hitmix-festive::after{
    content:"";position:absolute;inset:17px 0 auto;height:9px;pointer-events:none;opacity:.85;
    background:repeating-linear-gradient(112deg,transparent 0 4px,#278b72 4px 6px,#4bbb8c 6px 7px,#f5ce83 7px 8px,transparent 8px 12px) 0 0/24px 9px repeat-x;
    mask-image:radial-gradient(ellipse at center,#000 32%,transparent 69%);
    mask-size:35px 9px;
}
.pop-player .player-top::after{content:none}
@media(max-width:550px){
    .hitmix-festive-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:8px}
    .hitmix-festive-card [data-album-open]{grid-column:2;grid-row:2;justify-self:center}
    .hitmix-festive-tree:last-child{grid-column:3;grid-row:1}
}


/* The greeting follows navigation. Only the homepage gets the extra trim. */
.hitmix-festive-under-nav{display:flex;justify-content:center;padding:10px 16px 14px;background:#fff;color:#fff8ee}
.hitmix-festive-under-nav [hidden]{display:none!important}
.hitmix-festive-under-nav .hitmix-festive-card{box-shadow:none}
.hitmix-festive-under-nav .hitmix-festive-card p{color:#fff8ee}
.hitmix-festive-home{background:
    radial-gradient(circle at 10% 38%,#e4bd6266 0 2px,transparent 3px),
    radial-gradient(circle at 90% 68%,#b675cd55 0 2px,transparent 3px),
    linear-gradient(90deg,#f5edf9,#fffaf1 48%,#f5edf9);background-size:71px 38px,91px 42px,100% 100%}
.site-footer .hitmix-festive{margin-bottom:0;padding:25px 0 0}
.hitmix-festive-garland{display:flex;align-items:center;justify-content:space-evenly;gap:12px;min-height:46px;padding:4px 12px 8px;color:#ffecbc;background:
    radial-gradient(circle at 9px 7px,#ffda75 0 2px,transparent 3px) 0 0/37px 12px repeat-x,
    radial-gradient(circle at 11px 33px,#f6a8e8 0 2px,transparent 3px) 0 100%/51px 35px repeat-x,
    repeating-linear-gradient(115deg,#214638 0 14px,#2e624a 14px 25px,#1d3b31 25px 38px);
    border-top:1px solid #f0ce7b;border-bottom:2px solid #e1b65f;letter-spacing:.08em;pointer-events:none}
.hitmix-festive-garland span{font-size:clamp(15px,3vw,25px);white-space:nowrap;text-shadow:0 2px 8px #110c16}
body:has(.hitmix-festive-home) .show-list{position:relative;padding-top:15px}
body:has(.hitmix-festive-home) .show-list::before{
    content:"";position:absolute;inset:0 0 auto;height:10px;pointer-events:none;
    background:
        radial-gradient(circle at 9px 4px,#d38026 0 1.7px,transparent 2.6px),
        radial-gradient(circle at 28px 6px,#b33b77 0 1.7px,transparent 2.6px),
        radial-gradient(circle at 47px 4px,#2d896a 0 1.7px,transparent 2.6px),
        radial-gradient(circle at 66px 6px,#6a4ec0 0 1.7px,transparent 2.6px),
        linear-gradient(transparent 2px,#d9c6e2 2px 3px,transparent 3px);
    background-size:76px 10px;
}
body:has(.hitmix-festive-home) .music-banner{border-bottom:5px solid #e1b866}
