
.wn-welt { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 900ms ease; }
.wn-welt.is-da { opacity: 1; }
.wn-welt[hidden] { display: none; }
.wn-welt canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html:not(.mwl-weihnachten-deko) .wn-welt { display: none; }

.wn-kante { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 140; pointer-events: none; display: block; opacity: 0; transition: opacity 900ms ease; }
.wn-kante.is-da { opacity: 1; }
.wn-kante.is-nav { position: absolute; bottom: 100%; z-index: 1; }
.wn-kante[hidden], html:not(.mwl-weihnachten-deko) .wn-kante { display: none; }

html.mwl-weihnachten-deko {
    --wn-glas: rgba(12, 21, 39, 0.7);
    --wn-glas-ansicht: rgba(9, 17, 33, 0.78);
    --wn-eis: #bcd8f5;

    --bg-deep: #060d1b;
    --bg-sidebar: rgba(8, 15, 30, 0.66);
    --bg-glass: rgba(12, 21, 39, 0.66);
    --bg-surface: var(--wn-glas);
    --bg-surface-grad: var(--wn-glas);
    --bg-surface-hover: rgba(18, 29, 51, 0.86);
    --bg-elevated: rgba(15, 25, 45, 0.95);
    --border: rgba(190, 216, 255, 0.12);
    --border-subtle: rgba(190, 216, 255, 0.09);
    --border-default: rgba(190, 216, 255, 0.17);
    --edge-top: inset 0 1px 0 rgba(226, 239, 255, 0.13);
    --ambient-a1: 0;
    --ambient-a2: 0;
    --ambient-a3: 0;
}
html.mwl-weihnachten-deko[data-theme="light"] {
    --wn-glas: rgba(255, 255, 255, 0.86);
    --wn-glas-ansicht: rgba(255, 255, 255, 0.9);
    --wn-eis: #3d6a9c;

    --bg-deep: #e6eef7;
    --bg-sidebar: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.74);
    --bg-surface-hover: rgba(255, 255, 255, 0.95);
    --bg-elevated: rgba(255, 255, 255, 0.97);
    --border: rgba(40, 80, 130, 0.11);
    --border-subtle: rgba(40, 80, 130, 0.08);
    --border-default: rgba(40, 80, 130, 0.15);
    --edge-top: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
html.mwl-weihnachten-deko #view-dashboard {
    --dn-panel: var(--wn-glas);
    --dn-line: rgba(190, 216, 255, 0.1);
    --dn-line-2: rgba(190, 216, 255, 0.16);
}
html.mwl-weihnachten-deko .sidebar,
html.mwl-weihnachten-deko .sidebar.active { background: var(--bg-sidebar) !important; }
html.mwl-weihnachten-deko[data-theme="light"] #view-dashboard {
    --dn-line: rgba(40, 80, 130, 0.09);
    --dn-line-2: rgba(40, 80, 130, 0.16);
}

html.mwl-weihnachten-deko,
html.mwl-weihnachten-deko body,
html.mwl-weihnachten-deko .main,
html.mwl-weihnachten-deko #mainContent { background-color: transparent; background-image: none; }
html.mwl-weihnachten-deko { background-color: var(--bg-deep); }

html.mwl-weihnachten-deko .umf-banner,
html.mwl-weihnachten-deko .dn-hero {
    background: var(--wn-glas);
    border: 1px solid var(--border-default);
    box-shadow: var(--edge-top);
}
html.mwl-weihnachten-deko .dn-hero { padding: 16px 20px; border-radius: 16px; }
html.mwl-weihnachten-deko .view-section:not(#view-dashboard) {
    background: var(--wn-glas-ansicht);
    box-shadow: 0 0 0 14px var(--wn-glas-ansicht);
    border-radius: 4px;
}

.wn-card { display: none; }
html.mwl-weihnachten-karte .wn-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 4px 14px;
    min-height: 64px;
    margin-bottom: 1.25rem;
    padding: 12px 10px 12px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 14px;
    box-shadow: var(--edge-top);
}
.wn-ico { display: block; width: 16px; height: 16px; flex-shrink: 0; }
.wn-ico svg { display: block; width: 100%; height: 100%; }
.wn-marke { color: var(--wn-eis, var(--text-muted)); }
.wn-marke .wn-ico { width: 20px; height: 20px; }
.wn-text { min-width: 0; }
.wn-title {
    margin: 0;
    font-family: var(--font-display, inherit);
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    color: var(--text-main);
}
.wn-lead {
    margin: 2px 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
    text-wrap: pretty;
}
.wn-btn {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 120ms ease-out;
}
.wn-close {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 0; border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 120ms ease-out;
}
.wn-btn:active, .wn-close:active { transform: scale(0.96); }
.wn-btn:focus-visible, .wn-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
    .wn-btn:hover, .wn-close:hover { background: var(--hover-fill); color: var(--text-main); }
}

@media (max-width: 1023px) {
    html.mwl-weihnachten-karte .wn-card { margin-top: 56px; }
    html.mwl-weihnachten-karte .wn-card ~ .setup-card { margin-top: 0; }
    html.mwl-weihnachten-karte .wn-card ~ .dn-notes { padding-top: 0; }
}
@media (max-width: 559px) {
    html.mwl-weihnachten-karte .wn-card {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "marke text zu" ". deko .";
        align-items: start;
        padding: 12px 6px 8px 14px;
    }
    .wn-marke { grid-area: marke; padding-top: 1px; }
    .wn-text { grid-area: text; }
    .wn-close { grid-area: zu; margin-top: -6px; }
    .wn-btn { grid-area: deko; justify-self: start; margin-left: -12px; }
}

@media (prefers-reduced-motion: reduce) {
    .wn-welt, .wn-kante { transition: none; }
}

@media print {
    .wn-welt, .wn-card, .wn-kante { display: none !important; }
}
