.dvssk-new-year {
    --wire: #344859;
    --snow: rgba(71, 121, 159, .7);
    position: absolute;
    z-index: 2;
    top: calc(100% - 1px);
    left: 50%;
    width: min(1444px, calc(100% - 48px));
    height: 34px;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
}

body.theme-dark .dvssk-new-year {
    --wire: #84949d;
    --snow: rgba(233, 246, 255, .9);
}

body.access-mode .dvssk-new-year { display: none; }

/* The header moves by its own height; ornaments extend beyond that box. */
.site-header--hidden .dvssk-new-year { visibility: hidden; }

@media print {
    .dvssk-new-year { display: none; }
}

.dvssk-new-year__garland {
    position: relative;
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.dvssk-new-year__strand {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: 46px;
    overflow: visible;
}

.dvssk-new-year__wire {
    fill: none;
    stroke: var(--wire);
    stroke-width: 1.25px;
    vector-effect: non-scaling-stroke;
}

.dvssk-new-year__socket { fill: #394251; }
.dvssk-new-year__bulb { fill: currentColor; }
.dvssk-new-year__shine { fill: rgba(255, 255, 255, .8); }
.dvssk-new-year__reflection { fill: currentColor; opacity: .12; filter: blur(4px); }

body.theme-dark .dvssk-new-year__reflection { opacity: .44; filter: blur(5px); }
body.theme-dark .dvssk-new-year__bulb { filter: drop-shadow(0 0 3px currentColor); }

.dvssk-new-year .is-amber { color: #ffce64; }
.dvssk-new-year .is-rose { color: #fa7792; }
.dvssk-new-year .is-aqua { color: #72e7f3; }
.dvssk-new-year .is-green { color: #9ae58c; }

.dvssk-new-year__snow {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 120px;
}

@media (max-width: 1000px) {
    .dvssk-new-year__strand:nth-child(n + 4) { display: none; }
}

@media (max-width: 700px) {
    .dvssk-new-year { width: calc(100% - 28px); }
    .dvssk-new-year__strand:nth-child(n + 3) { display: none; }
}

@media (max-width: 420px) {
    .dvssk-new-year__strand:nth-child(n + 2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dvssk-new-year__snow { display: none; }
}

/* Corner ornament is part of the seasonal theme, not the permanent layout. */
.event.dvssk-festive-event, aside.right .event.dvssk-festive-event { position: relative; overflow: visible; }
.dvssk-santa-hat { position:absolute; right:-14px; top:-49px; width:76px; height:69px; z-index:3; pointer-events:none; transform:rotate(14deg); filter:drop-shadow(0 3px 3px rgba(0,0,0,.18)); }
body.access-mode .dvssk-santa-hat { display:none; }
@media (max-width:900px) { .dvssk-santa-hat { width:58px; height:53px; right:-4px; top:-38px; } }
@media print { .dvssk-santa-hat { display:none; } }
