.illustrated-house { overflow: hidden; border-radius: 14px; }
.illustrated-house::after,
.illustrated-house > .learning-streak-season-label { display: none; }
.house-layers { position: absolute; inset: 0; pointer-events: none; }
.house-layers > svg,
.house-layers > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.house-layers [hidden] { display: none !important; }
.house-layers #decay-layers[data-site="early"] .house-flowers { display: none; }
.house-layers #decay-layers[data-build="26"] .site-backwoods { clip-path: url(#frame26-backwoods-clip); }
.illustrated-house[data-decay]:not([data-decay="0"]) > img { filter: saturate(.86) brightness(.93); }
.illustrated-house:has(#decay-approaching-dusk:not([hidden])) > img { filter: saturate(.69) brightness(.81); }
.illustrated-house:has(#decay-site-night:not([hidden])) > img { filter: saturate(.42) brightness(.56); }
.illustrated-house:has(#decay-site-moon:not([hidden])) > img { filter: saturate(.28) brightness(.44); }
.illustrated-house[data-decay="25"] > img,
.illustrated-house[data-decay="26"] > img,
.illustrated-house[data-decay="27"] > img,
.illustrated-house[data-decay="28"] > img,
.illustrated-house[data-decay="29"] > img { filter: saturate(.47) brightness(.64); }
.illustrated-house[data-decay="30"] > img,
.illustrated-house[data-decay="31"] > img { filter: saturate(.32) brightness(.49); }
.illustrated-house[data-reward="gold"] > img { filter: contrast(1.16) saturate(.88) brightness(.82); }
.illustrated-house[data-reward="dew"] > img { filter: saturate(.78) brightness(.93); }
.illustrated-house[data-reward="course"] > img { filter: saturate(.88) brightness(.88); }
.illustrated-house[data-reward="house"] > img { filter: saturate(.72) brightness(.62); }
.house-layers #celebration-note { position: absolute; bottom: 5%; right: 4%; padding: 8px; max-width: 24ch; background: #252234ee; color: #fff3d4; border-radius: 8px; }
.house-layers #celebration-note img { width: 48px; height: 48px; object-fit: contain; float: left; }
.house-layers .reveal-edge { animation: house-reveal-glow 1.6s ease-in-out infinite; }
@keyframes house-reveal-glow {
  0%, 100% { filter: drop-shadow(0 0 3px #ffd97d); }
  50% { filter: drop-shadow(0 0 9px #ffd97d); }
}
.house-dialog { max-width: min(440px, 90vw); border: 0; border-radius: 16px; padding: 20px; color: #273c42; }
.house-dialog::backdrop { background: #15151b87; }
.house-dialog img { object-fit: contain; float: left; margin-right: 12px; }
