.secret-compartment .decoration-shelf {
    display: block; position: relative; width: 100%; padding: 0;
    overflow: visible; isolation: isolate;
}
.decoration-pile {
    position: absolute; inset: -5% -5% -10%;
    background: url('/front/assets/decoration-pile.png') center / 100% 100% no-repeat;
    filter: drop-shadow(0 4px 3px #28130690);
}
.decoration-art {
    display: block;
    background-image: url('/front/assets/decorations-sheet.png');
    background-size: 500% 100%; background-repeat: no-repeat;
}
[data-decoration="garland"] { background-position: 0% 0; }
[data-decoration="star"] { background-position: 25% 0; }
[data-decoration="tinsel"] { background-position: 50% 0; }
[data-decoration="bows"] { background-position: 75% 0; }
[data-decoration="rain"] { background-position: 100% 0; }
.decoration-object {
    position: absolute; border: 0; padding: 0; background: transparent;
    left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
    width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
    cursor: pointer; clip-path: var(--shape); outline: none;
}
.decoration-object::before {
    content: ''; position: absolute;
    width: calc(10000% / var(--w)); height: calc(10000% / var(--h));
    left: calc(-100% * var(--x) / var(--w)); top: calc(-100% * var(--y) / var(--h));
    background: url('/front/assets/decoration-pile.png') center / 100% 100% no-repeat;
    opacity: 0; transition: opacity .18s ease; pointer-events: none;
    filter: brightness(1.35) saturate(1.12);
}
.decoration-object[data-decoration="garland"] {
    --x: 0; --y: 4; --w: 60; --h: 40;
    --shape: polygon(8% 22%, 30% 10%, 38% 0, 96% 6%, 100% 48%, 82% 52%, 76% 41%, 55% 27%, 53% 76%, 24% 100%, 0 92%, 0 48%);
}
.decoration-object[data-decoration="rain"] {
    --x: 54; --y: 3; --w: 46; --h: 95;
    --shape: polygon(0 0, 57% 0, 84% 18%, 100% 40%, 100% 100%, 16% 100%, 32% 74%, 86% 87%, 84% 70%, 73% 63%, 83% 47%, 55% 43%, 45% 35%, 22% 32%, 35% 20%, 0 24%);
}
.decoration-object[data-decoration="star"] {
    --x: 10; --y: 17; --w: 62; --h: 43;
    --shape: polygon(28% 0, 61% 28%, 100% 9%, 80% 47%, 68% 44%, 62% 67%, 81% 85%, 71% 96%, 64% 82%, 55% 100%, 44% 66%, 0 61%, 33% 43%);
}
.decoration-object[data-decoration="tinsel"] {
    --x: 0; --y: 44; --w: 63; --h: 56;
    --shape: polygon(9% 0, 46% 4%, 58% 22%, 78% 20%, 95% 37%, 85% 49%, 74% 58%, 100% 69%, 100% 86%, 78% 96%, 6% 100%, 0 84%, 7% 63%, 0 42%, 7% 20%);
}
.decoration-object[data-decoration="bows"] {
    --x: 50; --y: 34; --w: 49; --h: 63;
    --shape: polygon(12% 0, 36% 5%, 51% 18%, 89% 18%, 94% 30%, 82% 45%, 94% 62%, 100% 84%, 78% 94%, 65% 78%, 48% 100%, 32% 94%, 38% 66%, 0 72%, 13% 51%, 19% 33%, 0 18%);
}
.decoration-object:disabled { pointer-events: none; }
.decoration-object:not(:disabled):hover::before,
.decoration-object:not(:disabled):focus-visible::before { opacity: 1; }
.decoration-dialog { width: min(480px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); box-sizing: border-box; padding: 26px 22px 20px; text-align: center; }
.decoration-close { position: absolute; top: 8px; right: 8px; }
.decoration-dialog h2 { margin: 0 32px 8px; }
.decoration-dialog p { color: #e4bd82; font: 14px/1.5 Georgia, serif; margin: 8px 0; }
.decoration-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.decoration-style { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 8px 4px 12px; border: 1px solid #d6a56766; border-radius: 8px; background: #301b1270; color: #f7dcac; font: 14px/1.3 Georgia, serif; opacity: 1; }
.decoration-style .decoration-art { width: min(100%, 88px); aspect-ratio: 3 / 5; margin-bottom: 10px; }
.decoration-art[data-variant="1"] { filter: saturate(.15) hue-rotate(170deg) brightness(1.18); }
.decoration-art[data-variant="2"] { filter: hue-rotate(115deg) saturate(.75); }
.decoration-art[data-decoration="star"][data-variant="2"] { filter: hue-rotate(315deg) saturate(1.3); }
.decoration-art[data-decoration="bows"][data-variant="1"] { filter: hue-rotate(220deg); }
.decoration-art[data-decoration="bows"][data-variant="2"] { filter: hue-rotate(60deg) brightness(1.5); }
.decoration-art[data-decoration="rain"][data-variant="1"] { filter: sepia(.85) saturate(1.5); }
@media (max-width: 380px) {
    .decoration-dialog { padding: 24px 12px 16px; }
    .decoration-styles { gap: 6px; }
    .decoration-style { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .decoration-object::before { transition: none; } }
