/* Decorations attach to the existing header. All controls retain their theme styling. */
#tmfc-christmas { display: none !important; }
.site-header > .tmfc-xmas-garland,
.site-header > .tmfc-xmas-greeting,
.tmfc-xmas-badge > .tmfc-xmas-hat { display: none; }
.site-header.tmfc-xmas-active > .tmfc-xmas-garland {
    display: block;
    position: relative;
    height: 72px;
    overflow: hidden;
    pointer-events: none;
    background-color: #12395e;
    background-image: url('christmas-garland.png');
    background-position: center top;
    background-size: 640px auto;
    background-repeat: repeat-x;
}
.site-header.tmfc-xmas-active > .tmfc-xmas-greeting {
    display: block;
    margin: 0;
    padding: 9px 20px 13px;
    color: #f3ca73;
    background: #12395e;
    text-align: center;
    font: 700 13px/1.5 var(--club-mono, Consolas, monospace);
    letter-spacing: 1px;
}
.site-header.tmfc-xmas-active .header-inner { padding-top: 78px; }
.site-header .tmfc-xmas-badge { position: relative; }
.site-header.tmfc-xmas-active .tmfc-xmas-badge > .tmfc-xmas-hat {
    display: block;
    position: absolute;
    top: -62px;
    left: 50%;
    width: 100px;
    height: 70px;
    transform: translateX(-50%) rotate(-8deg);
    background: url('santa-hat.svg') center / contain no-repeat;
    pointer-events: none;
    z-index: 1;
}
.tmfc-xmas-garland .tmfc-xmas-glow {
    display: block;
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 12% 30%, #fff1ad66, transparent 18%), radial-gradient(ellipse at 67% 25%, #ffe8a14d, transparent 16%);
    animation: tmfc-xmas-twinkle 5s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes tmfc-xmas-twinkle { from { opacity: .2; } to { opacity: .7; } }
@media (max-width: 1050px) and (min-width: 801px) {
    .site-header.tmfc-xmas-active .tmfc-xmas-badge > .tmfc-xmas-hat { width: 88px; height: 62px; transform: translateX(-50%) rotate(-8deg); top: -55px; }
}
@media (max-width: 800px) {
    .site-header.tmfc-xmas-active .header-inner { padding-top: 53px; }
    .site-header.tmfc-xmas-active > .tmfc-xmas-garland { height: 47px; background-size: 440px auto; }
    .site-header.tmfc-xmas-active > .tmfc-xmas-greeting { font-size: 10px; padding: 6px 14px 9px; letter-spacing: .5px; }
    .site-header.tmfc-xmas-active .tmfc-xmas-badge > .tmfc-xmas-hat { width: 66px; height: 47px; transform: translateX(-50%) rotate(-8deg); top: -38px; }
}
@media (prefers-reduced-motion: reduce) { .tmfc-xmas-garland .tmfc-xmas-glow { animation: none; opacity: .35; } }
@media print {
    .site-header > .tmfc-xmas-garland, .site-header > .tmfc-xmas-greeting,
    .site-header .tmfc-xmas-badge > .tmfc-xmas-hat { display: none !important; }
}
