/* Kitchen Decor */ .kitchen-window { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); width: 100px; height: 80px; background: #bae6fd; border: 6px solid white; border-radius: 8px; box-shadow: inset 0 0 10px rgba(255,255,255,0.8); z-index: 2; } .kitchen-counter { position: absolute; bottom: 15%; left: 0; width: 100%; height: 80px; background: linear-gradient(to bottom, #f1f5f9 20px, #cbd5e1 20px); border-top: 4px solid #94a3b8; z-index: 8; } .fridge { position: absolute; bottom: 20%; left: 6%; font-size: 5rem; z-index: 9; filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.1)); } /* Kitchen Chair & Dining Table */ .kitchen-chair { position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%); width: 150px; height: 130px; background: #fbbf24; border-radius: 24px 24px 0 0; border: 6px solid #d97706; box-shadow: 0 8px 15px rgba(0,0,0,0.15); z-index: 10; } .kitchen-table { position: absolute; bottom: 15%; left: 50%; transform: translateX(-50%); width: 250px; height: 75px; background: #fef08a; border-radius: 16px 16px 8px 8px; border: 6px solid #f59e0b; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 25; display: flex; justify-content: center; align-items: center; padding-top: 6px; } .kitchen-plate { width: 95px; height: 30px; background: #ffffff; border-radius: 50%; border: 3px solid #cbd5e1; box-shadow: inset 0 3px 6px rgba(0,0,0,0.15); display: flex; justify-content: center; align-items: center; font-size: 1.4rem; transition: transform 0.2s; } /* Bathroom Mirror & Bathtub */ .bathroom-mirror { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); width: 120px; height: 140px; background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); border: 8px solid #ffffff; border-radius: 60px 60px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1), inset 0 0 15px rgba(255,255,255,0.9); overflow: hidden; z-index: 2; } .mirror-reflection { position: absolute; top: -20px; left: 15px; width: 25px; height: 180px; background: rgba(255,255,255,0.6); transform: rotate(25deg); } .bathtub-container { position: absolute; bottom: 16%; left: 50%; transform: translateX(-50%); width: 260px; height: 110px; z-index: 25; pointer-events: none; } /* Toothbrush Animation (วางตรงปากสัตว์เลี้ยงพอดี) */ .brush-anim { position: absolute; font-size: 2.8rem; z-index: 60; top: 55%; left: 50%; animation: brushTeeth 0.35s infinite alternate ease-in-out; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); } @keyframes brushTeeth { 0% { transform: translate(-80%, -50%) rotate(-25deg); } 100% { transform: translate(-20%, -50%) rotate(20deg); } } .foam-sparkle { position: absolute; font-size: 1.3rem; z-index: 60; animation: floatFoam 0.75s ease-out forwards; pointer-events: none; } @keyframes floatFoam { 0% { transform: scale(0.4) translate(0, 0); opacity: 1; } 100% { transform: scale(1.3) translate(var(--dx), var(--dy)); opacity: 0; } } /* Bedroom Decor & Blanket */ .bed-headboard { position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%); width: 300px; height: 210px; background: #7c3aed; border-radius: 30px 30px 0 0; border: 8px solid #5b21b6; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 5; } .bed-mattress { position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%); width: 280px; height: 140px; background: #ddd6fe; border-radius: 20px 20px 10px 10px; border: 6px solid #a78bfa; box-shadow: inset 0 -10px 15px rgba(0,0,0,0.1); z-index: 8; } .bed-pillow { position: absolute; bottom: 31%; left: 50%; transform: translateX(-50%); width: 150px; height: 55px; background: #ffffff; border-radius: 20px; border: 5px solid #f472b6; box-shadow: 0 6px 12px rgba(0,0,0,0.15), inset 0 -4px 8px rgba(244,114,182,0.2); z-index: 10; display: flex; justify-content: center; align-items: center; } .bed-pillow::after { content: '🌸'; font-size: 1.1rem; opacity: 0.7; } .night-window { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); font-size: 4.5rem; opacity: 0.85; filter: drop-shadow(0 0 15px rgba(253,224,71,0.5)); z-index: 2; } .blanket-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 33%; background: linear-gradient(to top, #0284c7 0%, #38bdf8 85%, #bae6fd 100%); border-top: 10px solid #f0f9ff; border-radius: 35px 35px 0 0; z-index: 35; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); transform: translateY(100%); box-shadow: 0 -10px 25px rgba(0,0,0,0.3); display: flex; justify-content: center; padding-top: 8px; } .blanket-overlay::after { content: '⭐ 🌙 ⭐'; font-size: 1.4rem; letter-spacing: 12px; color: #ffffff; opacity: 0.85; text-shadow: 0 2px 4px rgba(0,0,0,0.2); } .blanket-active { transform: translateY(0); } .pet-container { position: absolute; bottom: 25%; left: 50%; transform: translateX(-50%); width: 180px; height: 220px; z-index: 20; transition: all 0.5s ease; } .pet-breathing { animation: breathe 3s infinite ease-in-out; } @keyframes breathe { 0%, 100% { transform: translateX(-50%) translateY(0) scaleY(1); } 50% { transform: translateX(-50%) translateY(-5px) scaleY(0.98); } } .pet-sleeping { /* วางบนเตียงและหนุนหมอน */ bottom: 18% !important; transform: translateX(-50%) scale(0.88) !important; animation: sleepBreathe 3.5s infinite ease-in-out; z-index: 20 !important; /* อยู่บนหมอน (10) แต่อยู่ใต้ผ้าห่ม (35) */ } /* Expressions & Sleep Eye Fix */ .face-happy .eye, .face-smile .eye { height: 4px; border-radius: 10px; transform: translateY(4px); background: #222; } .face-happy .catchlight, .face-smile .catchlight { display: none; } .face-happy .mouth, .face-smile .mouth { transform: scale(1.6); color: #15803d; } .face-sad .eye { transform: rotate(15deg); } .face-sad .mouth { transform: rotate(180deg); margin-top: 5px; } .face-pout .eye { height: 5px; border-radius: 4px; transform: translateY(3px) rotate(-20deg); background: #991b1b; } .face-pout .mouth { transform: scale(1.4) translateY(-3px); font-weight: bold; color: #991b1b; } .pout-mark { position: absolute; top: -18px; right: 2px; font-size: 1.5rem; opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none; } .face-pout .pout-mark { opacity: 1; animation: popPout 0.4s infinite alternate; } .face-laugh .eye { height: 4px; border-radius: 10px; transform: translateY(4px) rotate(20deg); background: #be123c; } .face-laugh .catchlight { display: none; } .face-laugh .mouth { font-size: 1.8rem; margin-top: -6px; transform: scale(1.5); color: #e11d48; } /* ตาหลับสนิทเมื่อนอน */ .face-sleep .eye { height: 3px !important; border-radius: 10px !important; background: #333 !important; transform: translateY(6px) !important; } .face-sleep .catchlight { display: none !important; } .face-sleep .mouth { opacity: 0 !important; } /* Speech Bubble ง่วงนอน */ .sleepy-bubble { position: absolute; top: -45px; left: 50%; transform: translateX(-50%); background: #ffffff; border: 3px solid #8b5cf6; border-radius: 20px; padding: 4px 12px; font-size: 0.85rem; font-weight: bold; color: #6d28d9; box-shadow: 0 4px 10px rgba(0,0,0,0.15); white-space: nowrap; z-index: 50; animation: pulseSleepy 1.5s infinite ease-in-out; } @keyframes pulseSleepy { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.08); } } .sleep-timer-badge { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, 0.6); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; z-index: 60; display: none; }