/* Spiderpiggy Christmas snow. Static decoration; no overflow or input changes. */
@media screen and (forced-colors: none) {
html[data-sp-holiday="christmas"] {
    --sp-snow-regular-height: 13px;
    --sp-snow-regular-width: 232px;
}
:where(html[data-sp-holiday="christmas"] body#phpbb :is(#page-header .headerbar, #page-header > .navbar, #page-footer > .navbar,
.forabg, .forumbg, .topstats, .panel, .post, .stat-block,
.sp-stat-block, .sp-index-stat, .sp-who-is-online, .sp-birthdays, .sp-statistics,
.sp-index-stats:not(:has(.stat-block, .sp-stat-block, .sp-index-stat)),
.sp-profile-hero, .sp-profile-card, .sp-memberlist-card, .sp-viewonline-card,
.sp-search-history, .sp-search-topics, .cp-mini, #quick-login-panel,
.sp-faq-hero, #faqlinks.sp-faq-index, .sp-faq-section, .sp-faq-item,
#sp-chatwidget, .sp-chatwidget, .stoker-chat, #mchat, .mchat,
.soi-stat, .sp-piggy-index-stat, .sp-piggy-rich-item, .sp-up-ranking-panel,
.sp-piggy-points .sp-trivia-rewards, .sp-piggy-points .sp-points-editor,
.sp-pm, .sp-pm-index-teaser, .triviaforum-profile-panel, .triviaforum-stat-section,
.contactpanel, .wc-intro, .wc-card, .links-hero, .links-card, .links-random-card,
.sp-chat-status, .sp-trivia-topbar, .phpbb_announcement, .sp-failedlogins,
.attachment-preview.bordered, [data-sp-snow]):not([data-sp-snow="off"])) {
    position: relative;
}
:where(html[data-sp-holiday="christmas"] body#phpbb :is(#page-header .headerbar, #page-header > .navbar, #page-footer > .navbar,
.forabg, .forumbg, .topstats, .panel, .post, .stat-block,
.sp-stat-block, .sp-index-stat, .sp-who-is-online, .sp-birthdays, .sp-statistics,
.sp-index-stats:not(:has(.stat-block, .sp-stat-block, .sp-index-stat)),
.sp-profile-hero, .sp-profile-card, .sp-memberlist-card, .sp-viewonline-card,
.sp-search-history, .sp-search-topics, .cp-mini, #quick-login-panel,
.sp-faq-hero, #faqlinks.sp-faq-index, .sp-faq-section, .sp-faq-item,
#sp-chatwidget, .sp-chatwidget, .stoker-chat, #mchat, .mchat,
.soi-stat, .sp-piggy-index-stat, .sp-piggy-rich-item, .sp-up-ranking-panel,
.sp-piggy-points .sp-trivia-rewards, .sp-piggy-points .sp-points-editor,
.sp-pm, .sp-pm-index-teaser, .triviaforum-profile-panel, .triviaforum-stat-section,
.contactpanel, .wc-intro, .wc-card, .links-hero, .links-card, .links-random-card,
.sp-chat-status, .sp-trivia-topbar, .phpbb_announcement, .sp-failedlogins,
.attachment-preview.bordered, [data-sp-snow]):not([data-sp-snow="off"]))::after {
    content: "";
    display: block;
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: var(--sp-snow-regular-height);
    border-start-start-radius: inherit;
    border-start-end-radius: inherit;
    background: url("christmas-snow.svg") repeat-x center top / var(--sp-snow-regular-width) 100%;
    pointer-events: none;
    z-index: 2;
}
:where(html[data-sp-holiday="christmas"] body#phpbb :is(#page-header > .navbar, #page-footer > .navbar, .soi-stat,
.sp-index-stat, .sp-piggy-index-stat, .sp-piggy-rich-item, .sp-failedlogins,
.sp-trivia-topbar, .attachment-preview.bordered, .sp-faq-item):not([data-sp-snow="off"]))::after {
    block-size: 8px;
    background-size: 172px 100%;
}
@media (max-width: 600px) {
    html[data-sp-holiday="christmas"] {
        --sp-snow-regular-height: 8px;
        --sp-snow-regular-width: 172px;
    }
}
}

/* These lists have flush 4px headers; leave room above the title. */
@media screen and (forced-colors: none) {
html[data-sp-holiday="christmas"] body#phpbb .forabg:not(.stoker-chat):not([data-sp-snow="off"]) > .inner > ul.topiclist:first-child > li.header,
html[data-sp-holiday="christmas"] body#phpbb .forumbg:not(.forumbg-table):not([data-sp-snow="off"]) > .inner > ul.topiclist:first-child > li.header,
html[data-sp-holiday="christmas"] body#phpbb .forumbg:not(.forumbg-table):not([data-sp-snow="off"]) > .inner > ul.topiclist.topics > li.header:first-child {
    padding-top: 12px;
}
}
