/* Loaded only for the selected Christmas design, including the admin preview. */
:root { --xmas-paper: #eeeadd; --xmas-paper-2: #f1eddf; --xmas-field: #fffdf7; --xmas-line: #dfd4b9; --xmas-line-2: #d8d5c2; --xmas-red-dark: #81232e; --xmas-green: #164d3c; --xmas-green-2: #2e694c; --xmas-green-dark: #123e33; --xmas-gold: #d9b96e; --xmas-gold-dark: #82611b; --xmas-light: #ffe4a0; --xmas-light-red: #e6756b; --xmas-cream: #fff3d5; }
.wrap { padding-top: 40px; }
body::after { content: ''; position: fixed; inset: auto 0 0; height: 100px; pointer-events: none; z-index: -1; opacity: .25; background: url('/public/images/christmas-tree.svg') left -28px bottom -45px / 150px auto repeat-x; }
.card { border: 1px solid var(--xmas-line); box-shadow: 0 10px 30px #031b2330; }
input[type="text"], input[type="password"], input[type="date"], input[type="number"], select, .choice-btn { background-color: var(--xmas-field); border-color: var(--xmas-line-2); }
.btn-secondary, .game-tile { background-color: var(--xmas-paper); color: var(--text); }
.lobby-areas .game-tile { background: var(--xmas-paper); color: var(--text); }
.lobby-areas .game-tile .tile-desc, .lobby-areas .game-tile .tile-players { color: var(--text-muted); }
.room-privacy:not(.is-private):not(.is-on) { background: var(--xmas-paper-2); }
.game-tile { border: 1px solid var(--xmas-line); }
.btn-primary { box-shadow: 0 4px 0 var(--xmas-red-dark); }
.christmas-welcome { position: relative; overflow: hidden; padding-top: 26px; }
.christmas-welcome::before { content: ''; position: absolute; inset: 0 0 auto; height: 14px; background: repeating-linear-gradient(145deg, var(--xmas-green) 0 9px, var(--xmas-green-2) 9px 15px, var(--xmas-green) 15px 22px); border-bottom: 2px solid var(--xmas-gold); }
.christmas-tree { display: block; width: 128px; height: 144px; margin: 0 auto 8px; }
.christmas-welcome h1 { font-size: 25px; }
.christmas-lights { display: flex; justify-content: space-around; position: relative; margin: -25px 0 18px; height: 18px; border-top: 2px solid var(--xmas-gold); border-radius: 50%; pointer-events: none; }
.christmas-lights i { width: 6px; height: 9px; border-radius: 3px 3px 5px 5px; background: var(--xmas-light); box-shadow: 0 0 8px 3px #ffd88844; margin-top: 5px; }
.christmas-lights i:nth-child(3n) { background: var(--xmas-light-red); box-shadow: 0 0 8px 3px #f48b6744; }
.christmas-snow { display: none; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.christmas-snow i { position: absolute; left: calc(var(--i) * 10% + 2%); top: -10px; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .5; }
.christmas-motion .christmas-snow { display: block; }
.christmas-motion .christmas-snow i { animation: christmas-fall 17s linear infinite; animation-delay: calc(var(--i) * -2.7s); }
.christmas-motion .christmas-lights i { animation: christmas-glow 6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.7s); }
.lobby-areas { position: relative; border-top: 2px solid var(--xmas-gold); padding-top: 12px; }
.lobby-areas::before { content: '✦'; position: absolute; right: 4px; top: -13px; color: var(--xmas-gold-dark); background: var(--card); padding: 0 7px; }
.christmas-toggle { display: block; margin: 0 auto 12px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--xmas-gold); border-radius: 20px; color: var(--xmas-cream); background: var(--xmas-green-dark); font: inherit; cursor: pointer; }
.christmas-toggle[hidden] { display: none; }
.christmas-toggle[aria-pressed="false"] { background: transparent; color: var(--xmas-cream); text-decoration: line-through; }
.christmas-toggle:disabled { cursor: default; opacity: .8; }
.christmas-toggle-note { display: block; margin: -6px 0 12px; text-align: center; font-size: 13px; color: var(--text-muted); }
.christmas-toggle-note[hidden] { display: none; }
.christmas-toggle:focus-visible { outline: 3px solid var(--xmas-light); outline-offset: 3px; }
.room-playing .christmas-snow { display: none; }
.room-playing .christmas-lights i, .christmas-paused .christmas-lights i, .christmas-paused .christmas-snow i { animation-play-state: paused; }
@keyframes christmas-fall { to { transform: translate(18px, 105vh); } }
@keyframes christmas-glow { to { box-shadow: 0 0 10px 4px #ffd88866; } }
@media (max-width: 480px) { .christmas-snow i:nth-child(even) { display: none; } .room-playing .wrap { padding-top: 32px; } }
@media (prefers-reduced-motion: reduce) { .christmas-snow { display: none !important; } .christmas-lights i { animation: none !important; } }
