/* Six door styles. Each applies to .door-face (closed) and .door.open (frame). */

/* ---- Lebkuchen ---- */
.door-face.style-lebkuchen, .door.open.style-lebkuchen { background: #b9793f; box-shadow: 0 18px 40px rgba(59, 36, 21, .28), inset 0 0 0 10px #a4652f; }
.door-face.style-lebkuchen .door-num { color: #fff4e2; text-shadow: 0 6px 0 #7a4a1e; }
.style-lebkuchen .icing { position: absolute; inset: 18px; border-radius: 18px; border: 5px dashed #fff4e2; }
.style-lebkuchen .ribbon { position: absolute; top: 0; left: 0; right: 0; height: 46px; }
.style-lebkuchen .ribbon::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 28px; background: #8b1e2d; }
.style-lebkuchen .ribbon i { position: absolute; top: 0; left: calc(50% - 30px); width: 28px; height: 36px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #a8273a; transform: rotate(-20deg); }
.style-lebkuchen .ribbon i + i { left: calc(50% + 2px); transform: rotate(20deg); }
.style-lebkuchen .ribbon b { position: absolute; top: 14px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 8px; background: #c9a227; }
.style-lebkuchen .dots { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.style-lebkuchen .dots i { width: 10px; height: 10px; border-radius: 5px; background: #fff4e2; }
.style-lebkuchen .dots i:nth-child(2) { background: #c9a227; }
.door.open.style-lebkuchen .card { box-shadow: inset 0 0 0 2px #e8d7b8; }

/* ---- Tannenzweig ---- */
.door-face.style-tanne, .door.open.style-tanne { background: #1f4d3a; box-shadow: 0 18px 40px rgba(31, 77, 58, .35); }
.door-face.style-tanne .door-num { color: #f6ebd9; }
.style-tanne .lights { position: absolute; top: 14px; left: 22px; right: 22px; display: flex; justify-content: space-between; }
.style-tanne .lights i { width: 12px; height: 12px; border-radius: 6px; background: #f2c14e; box-shadow: 0 0 12px #f2c14e; animation: glow 2.4s ease-in-out infinite; }
.style-tanne .lights i:nth-child(2) { background: #e86a5a; box-shadow: 0 0 12px #e86a5a; animation-delay: .4s; }
.style-tanne .lights i:nth-child(3) { background: #8fc7e8; box-shadow: 0 0 12px #8fc7e8; animation-delay: .8s; }
.style-tanne .lights i:nth-child(5) { background: #e86a5a; box-shadow: 0 0 12px #e86a5a; animation-delay: 1.2s; }
.style-tanne .bough { position: absolute; border-radius: 50%; background: #2a6a4e; }
.style-tanne .bough.b1 { bottom: -50px; left: -40px; width: 170px; height: 170px; }
.style-tanne .bough.b2 { bottom: -70px; right: -30px; width: 150px; height: 150px; }
.door.open.style-tanne::before { content: ""; position: absolute; top: -6px; left: 24px; right: 24px; height: 12px; background: radial-gradient(circle, #f2c14e 0 5px, transparent 6px) 0 0 / 25% 12px repeat-x; filter: drop-shadow(0 0 6px #f2c14e); }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ---- Schneekugel ---- */
.door-face.style-schnee, .door.open.style-schnee { background: #8fbfdd; box-shadow: 0 18px 40px rgba(60, 90, 120, .3), inset 0 0 0 10px #d9eef8; }
.door-face.style-schnee .door-num { color: #fff; text-shadow: 0 5px 0 #5b8fb0; }
.style-schnee .flakes i { position: absolute; border-radius: 50%; background: #fff; opacity: .9; }
.style-schnee .flakes i:nth-child(1) { top: 30px; left: 40px; width: 8px; height: 8px; }
.style-schnee .flakes i:nth-child(2) { top: 70px; left: 70%; width: 6px; height: 6px; }
.style-schnee .flakes i:nth-child(3) { top: 120px; left: 40%; width: 5px; height: 5px; }
.style-schnee .flakes i:nth-child(4) { top: 50px; left: 55%; width: 7px; height: 7px; }
.style-schnee .flakes i:nth-child(5) { top: 150px; left: 82%; width: 8px; height: 8px; }
.style-schnee .flakes i:nth-child(6) { top: 200px; left: 20%; width: 6px; height: 6px; }
.style-schnee .snowhill { position: absolute; bottom: 0; left: 0; right: 0; height: 70px; border-radius: 50% 50% 0 0 / 40px 40px 0 0; background: #fff; }
.door.open.style-schnee .card { background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 2px #d9eef8; }
.door.open.style-schnee .card-label { color: #5b7d96; }
.door.open.style-schnee .card-text { color: #2b3a48; }

/* ---- Strickmuster ---- */
.door-face.style-strick, .door.open.style-strick { background: #8b1e2d; box-shadow: 0 18px 40px rgba(139, 30, 45, .3); }
.door-face.style-strick .door-num { color: #fff6e8; }
.style-strick .knit { position: absolute; left: 0; right: 0; }
.style-strick .knit.k1 { top: 22px; height: 22px; background: repeating-linear-gradient(90deg, #fff6e8 0 14px, transparent 14px 28px); }
.style-strick .knit.k2 { top: 52px; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 14px, #fff6e8 14px 28px); }
.style-strick .knit.k3 { bottom: 52px; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 14px, #fff6e8 14px 28px); }
.style-strick .knit.k4 { bottom: 22px; height: 22px; background: repeating-linear-gradient(90deg, #fff6e8 0 14px, transparent 14px 28px); }
.door-face.style-strick .door-knob { background: #fff6e8; }

/* ---- Sternenhimmel ---- */
.door-face.style-sterne, .door.open.style-sterne { background: #17233a; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 0 0 3px #c9a227; }
.door-face.style-sterne .door-num { color: #f2c14e; }
.style-sterne .stars i { position: absolute; border-radius: 50%; background: #f2c14e; animation: glow 3s ease-in-out infinite; }
.style-sterne .stars i:nth-child(1) { top: 28px; left: 36px; width: 4px; height: 4px; }
.style-sterne .stars i:nth-child(2) { top: 70px; left: 75%; width: 5px; height: 5px; animation-delay: .7s; }
.style-sterne .stars i:nth-child(3) { bottom: 80px; left: 50px; width: 4px; height: 4px; animation-delay: 1.4s; }
.style-sterne .stars i:nth-child(4) { bottom: 40px; left: 70%; width: 3px; height: 3px; animation-delay: 2.1s; }
.style-sterne .bigstar { position: absolute; top: 34px; right: 34px; width: 40px; height: 40px; fill: #f2c14e; filter: drop-shadow(0 0 6px rgba(242, 193, 78, .8)); }
.door.open.style-sterne .card { background: #fff8ec; }

/* ---- Kaminfeuer ---- */
.door-face.style-kamin, .door.open.style-kamin { background: #5e2a1e; box-shadow: 0 18px 40px rgba(94, 42, 30, .35); }
.door-face.style-kamin .door-num { color: #ffd9a8; text-shadow: 0 0 24px rgba(242, 163, 58, .6); }
.style-kamin .glow { position: absolute; bottom: 0; left: 0; right: 0; height: 150px; background: radial-gradient(ellipse at 50% 100%, #f2a33a 0%, #d9531e 40%, rgba(94, 42, 30, 0) 72%); animation: flicker 1.8s ease-in-out infinite; }
.style-kamin .log { position: absolute; bottom: 20px; left: 60px; right: 60px; height: 16px; border-radius: 8px; background: #3a1a12; }
@keyframes flicker { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: .8; transform: scaleY(.92); } }

@media (prefers-reduced-motion: reduce) {
  .style-tanne .lights i, .style-sterne .stars i, .style-kamin .glow { animation: none; }
}
