/* 2.0加強優化版: the source artwork is the artwork shown in the room. */
.mom-image-stage{position:relative;overflow:hidden;border-radius:20px;background:#f5e8f1}.mom-image-stage .motherart{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:0;display:block}.mom-image-spark{position:absolute;bottom:8%;left:0;right:0;text-align:center;color:#fff2cf;font-size:38px;text-shadow:0 2px 14px #ba659c;pointer-events:none;animation:soft-spark 1s ease}.mom-image-stage.acted .motherart{animation:soft-glow .8s ease}.care-progress{font-size:11px;line-height:1.7;color:#8c7990;margin:12px 0 0}.house-stage.scene-stage{background:#f5e7ef!important;aspect-ratio:1.5;overflow:hidden}.house-stage.scene-stage .room-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:0}.house-stage.scene-stage .house-slots{z-index:1}.house-stage.scene-stage .house-slot{border:0;background:transparent;box-shadow:none;min-height:0;display:block}.house-stage.scene-stage .house-slot .furniture-art{display:block;width:100%;height:100%;aspect-ratio:1;filter:drop-shadow(0 5px 4px #7c536b12)}.house-stage.scene-stage .house-slot .room-piece{width:100%;height:100%;aspect-ratio:1;margin:0;max-height:none;border-radius:0;box-shadow:none}.house-stage.scene-stage .house-slot .slotlabel{display:none!important}.house-stage.scene-stage .house-slot .placement-dot{top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.house-stage.scene-stage.placing .house-slot:not(.empty){outline:2px dashed #b486b8;border-radius:15px;background:#fff8fc12}.house-stage.scene-stage .roomsign{top:4%;left:4%;z-index:3;font-size:11px}.house-stage.scene-stage .housefriend{z-index:3;right:2%;bottom:2%;width:10%;border-width:2px}.room-help{font-size:12px;line-height:1.75;color:#8b7790;margin:13px 4px}.house-tools .tray button .sprite{margin:0;border-radius:10px}.house-tools .tray button span:not(.sprite){margin:7px 0 4px}.house-tools .tray button{padding:7px;line-height:1.5}.house-tools .tray button small{display:block;color:#a68ca3}.display-cabinet .furniture-art{display:block;width:100%;height:auto;aspect-ratio:1}.display-cabinet .furniture-art>.sprite{width:100%;height:auto;aspect-ratio:1;border-radius:0}.drive-car>.furniture-art{display:block;width:100%;height:100%;aspect-ratio:1}.drive-car .room-piece{height:100%;width:100%;border-radius:0;margin:0}.scene-stage .house-slot.empty .placement-dot{font-size:18px}.scene-stage .house-slot.empty .placement-dot small{font-size:9px}
#modal{max-height:calc(100dvh - 32px);overscroll-behavior:contain;scroll-padding-bottom:24px}#modal .modalhead h2{font-size:22px;line-height:1.45;overflow-wrap:anywhere}#modal .modalhead{align-items:flex-start;gap:10px}#modal .close{flex:0 0 38px;min-width:38px}#modal .prize-actions{padding-bottom:4px}.mom-choices button{min-height:70px}.mom-choices span{font-size:11px}.mom-image-stage+.motherquote{margin-top:13px}.motherquote{line-height:1.8}.mom-choices button,.prize-actions button,.flavor-choices button{min-height:44px}.enhanced-gifts button{min-height:44px}
@keyframes soft-spark{from{opacity:0;transform:translateY(12px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes soft-glow{50%{filter:brightness(1.08)}}
@media(max-width:800px){.house-stage.scene-stage{aspect-ratio:1.33}.house-stage.scene-stage .roomsign{font-size:9px;padding:5px 7px}.house-stage.scene-stage .housefriend{width:10%}.house-tools .tray{grid-template-columns:repeat(2,minmax(0,1fr));max-height:390px;gap:10px}.house-tools .tray button{font-size:12px;padding:9px}.house-tools .tray .sprite{max-width:145px;margin:0 auto!important}.room-help{font-size:11px;margin-bottom:18px}.mom-choices{gap:5px}.mom-choices button{font-size:22px;padding:8px 3px;min-height:75px}.mom-choices span{font-size:10px}.motherquote{font-size:15px}#modal{width:calc(100% - 24px);padding:18px;max-height:calc(100dvh - 28px);border-radius:24px}#modal .modalhead h2{font-size:20px;margin-top:0}.mom-image-stage{border-radius:15px}.prize-actions{gap:9px}.bottom{z-index:10}.mom-image-spark{font-size:26px}.care-progress{font-size:10px}.house-stage.scene-stage .house-slot.empty .placement-dot{width:30px;height:30px}.placement-dot small{padding:2px 4px}.scene-stage.placing .house-slot .placement-dot{animation:none}}
@media(prefers-reduced-motion:reduce){.mom-image-stage.acted .motherart,.mom-image-spark{animation:none}}
