/* Christmas — dark green / charcoal with the 64-tan Santa pattern, snow and candy canes (made for new.64ch.org) */
:root {
    --board-font: 10pt arial,helvetica,sans-serif;
    --background-color: #141414 url("/static/img/christmas-64tan-pattern.webp") 0 0 / 800px auto repeat fixed;
    --sidebar-background-color: rgba(20, 28, 24, 0.96);
    --border-color: #3D5045;
    --text-color: #EDE3D1;
    --link-color: #FF8A80;
    --link-hover-color: #FFD54F;
    --postblock-background-color: #1A3D28;
    --postername-color: #7BD88F;
    --post-background-color: #27342D;
    --replymode-color: #fff;
    --replymode-background-color: #C62828;
    --omittedposts-color: #9FB3A5;
    --filetitle-color: #FF8A80;
    --input-bg: #1D2621;
    --input-border: #45594C;
    --button-bg: #34463B;
    --button-border: #45594C;
    --button-hover-bg: #3E5346;
    --button-color: #EDE3D1;

    --success-bg: rgba(46, 160, 80, 0.8);
    --success-color: #fff;
    --error-bg: rgba(198, 40, 40, 0.85);
    --error-color: #fff;

    --new-header-bg: #1A3D28;
    --new-thread-bg: #222D27;
    --new-postinfo-bg: #2F3E36;
    --new-op-postinfo-bg: #26422F;

    --frontpage-text-color: #EDE3D1;
    --news-background-color: #27342D;
    --tab-background-color: #1F4430;
    --tab-border-color: #45594C;
    --frontpage-header-color: #FF6E6E;
    --board-box-bg: rgba(32, 43, 37, 0.95);

    --sidebar-text-color: #F1E6D2;
    --sidebar-link-background-color: #1F4430;
    --plus-background-color: #2F3E36;
    --plus-border-color: #45594C;
}

/* the 64-tan pattern shows through a light dark veil */
html { background: #141414 url("/static/img/christmas-64tan-pattern.webp") 0 0 / 800px auto repeat fixed; }
body { background: rgba(0, 0, 0, 0.28) !important; }

/* greentext stays readable on dark posts */
.quote, .unkfunc { color: #9CCC65; }

/* candy-cane stripe across the top of the screen */
html::after {
    content: ""; position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 10000; pointer-events: none;
    background: repeating-linear-gradient(-45deg, #C62828 0 12px, #FFF8EC 12px 24px);
}

/* gentle falling snow */
html::before {
    content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.75;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.95) 50%, transparent 51%),
        radial-gradient(2px 2px at 90px 140px, rgba(255,255,255,.85) 50%, transparent 51%),
        radial-gradient(3px 3px at 160px 80px, rgba(255,255,255,.8) 50%, transparent 51%),
        radial-gradient(2px 2px at 230px 200px, rgba(255,255,255,.9) 50%, transparent 51%),
        radial-gradient(3px 3px at 60px 230px, rgba(255,255,255,.7) 50%, transparent 51%),
        radial-gradient(2px 2px at 280px 20px, rgba(255,255,255,.8) 50%, transparent 51%);
    background-size: 300px 260px;
    animation: xmas-snow 18s linear infinite;
}
@keyframes xmas-snow { from { background-position: 0 0; } to { background-position: 60px 260px; } }
@media (prefers-reduced-motion: reduce) { html::before { animation: none; } }

/* candy-cane dividers */
hr { border: none; height: 6px; border-radius: 3px; background: repeating-linear-gradient(-45deg, #C62828 0 10px, #fff 10px 20px); }
