#cn-season { color:#5c252c; }
#cn-season *, #cn-season *::before, #cn-season *::after { box-sizing:border-box; }
#cn-snow { position:fixed; inset:0; width:100%; height:100%; pointer-events:none!important; z-index:99990; }
#cn-intro[hidden], #cn-controls[hidden] { display:none!important; }
#cn-intro { position:fixed; inset:0; z-index:99989; height:100%; height:100dvh; display:grid; place-items:center; overflow:hidden; pointer-events:none!important; background:radial-gradient(ellipse at 50% 50%,#741b28 0,#430f1d 45%,#2c0b15 100%); animation:cn-arrive .18s ease both; transition:opacity .45s ease; }
#cn-intro.cn-leaving { animation:none; opacity:0; }
#cn-intro .cn-art { width:min(330px,65vw); max-height:82dvh; animation:cn-rise .55s ease both; }
#cn-intro .cn-tree { display:block; width:100%; height:auto; max-height:82dvh; overflow:visible; }
#cn-intro .cn-ribbon { stroke-dasharray:2600; stroke-dashoffset:2600; animation:cn-draw 1.45s .05s cubic-bezier(.25,.1,.2,1) forwards; }
#cn-intro .cn-stars { animation:cn-arrive 1s .15s both; }
#cn-intro .cn-spark { animation:cn-glow 1s ease-in-out infinite alternate; }
#cn-controls { position:fixed; left:18px; bottom:18px; z-index:99981; display:flex; border:1px solid #e6e0da; background:#fffdf9f5; color:#5c252c; box-shadow:0 3px 14px #1e122015; border-radius:40px; padding:4px; font-family:inherit; }
#cn-controls button { display:inline-flex; align-items:center; justify-content:center; gap:7px; height:34px; border:0; border-radius:30px; background:transparent; padding:0 10px; color:inherit; font-family:inherit; font-size:11px; font-weight:500; cursor:pointer; }
#cn-controls button:hover { background:#f3e9e7; }
#cn-controls svg { width:16px; height:16px; flex-shrink:0; }
#cn-controls button:focus-visible { outline:2px solid #a47a35; outline-offset:4px; }
@keyframes cn-arrive { from {opacity:0} to {opacity:1} }
@keyframes cn-rise { from {opacity:0;transform:translateY(8px)} to {opacity:1;transform:translateY(0)} }
@keyframes cn-draw { to {stroke-dashoffset:0} }
@keyframes cn-glow { from {opacity:.65} to {opacity:1} }
@media(max-width:680px) { #cn-controls {left:10px;bottom:12px;} #cn-intro .cn-art {width:235px;max-width:65vw;} }
@media(prefers-reduced-motion:reduce) { #cn-intro {display:none!important;} #cn-season * {animation:none!important;transition:none!important;} }
