.scene > .painted-prop {
  appearance: none; position: absolute; z-index: 1; display: none;
  min-width: 44px; min-height: 44px; padding: 0; margin: 0; border: 0; border-radius: 12%;
  box-shadow: none; color: inherit; background: transparent; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.scene > .painted-prop.placed { display: block; }
.scene.summer > .prop-letter { z-index: 3; }
.painted-prop:focus-visible { outline: 2px dashed #ffedba; outline-offset: 4px; box-shadow: 0 0 0 2px #67482c; }
.prop-detail { position: absolute; display: block; pointer-events: none; }
.prop-detail i,.prop-detail b { position: absolute; display: block; pointer-events: none; }

.prop-works .prop-detail { transform: rotate(3deg); }
.wood-shadow {
  inset: 86% -1.5% -6% 1%; border-radius: 50%; opacity: .7;
  background: radial-gradient(ellipse at center, #291a17 4%,#332117ac 52%,transparent 73%); filter: blur(1px);
}
.wood-body,.wood-lid {
  inset: 0; background: url("assets/props/wood-toolbox.webp") center/100% 100% no-repeat;
  filter: brightness(.8) saturate(.81);
}
.wood-body { clip-path: polygon(0 37.9%, 89.5% 43.9%,100% 17.6%,100% 100%,0 100%); }
.wood-lid {
  clip-path: polygon(0 0,100% 0,100% 17.8%,89.5% 44.3%,0 38.3%);
  transform-origin: 51% 4%; transition: transform .38s cubic-bezier(.2,.66,.23,1);
}
.wood-interior {
  inset: 0; clip-path: polygon(.5% 37.7%,19% 12%,99% 16%,89.4% 44%);
  background: linear-gradient(175deg,#493222 15%,#7a5130 57%,#d68f48 72%,#e7ad64);
}
.wood-sketch {
  left: 51%; top: 31%; width: 31%; height: 12%; transform: rotate(3deg);
  clip-path: polygon(13% 0,100% 15%,87% 97%,0 83%); background-color: #edca91;
  background-image: linear-gradient(131deg,transparent 22%,#896a44 23% 24%,transparent 25%),
    linear-gradient(16deg,transparent 38%,#98744d 40% 42%,transparent 43%);
}
.prop-works.lit .wood-lid { transform: translate(0,-6%) skewX(-1.3deg) scaleY(.91); }
.wood-lid::after {
  content: ""; position: absolute; left: 42.5%; top: 34%; width: 5%; height: 7%;
  background: radial-gradient(ellipse,#ffedaf 1%,#ffde9c8a 29%,transparent 73%);
  animation: brass-glint 6.4s ease-in-out infinite;
}
@keyframes brass-glint { 0%,39%,84%,100% { opacity: .08; } 61% { opacity: .77; } }

.prop-diary .prop-detail svg { display: block; width: 100%; height: 100%; overflow: visible; }
.paper-curl { transform-origin: 65% 81%; transform: scale(.52,.48); transition: transform .34s ease-out; }
.paper-shade { fill: #885e3890; transform-origin: 69% 79%; transform: scale(.5,.35); transition: transform .34s; }
.prop-diary.lit .paper-curl { transform: translate(-2%,-2%) scale(1.02,1.1); }
.prop-diary.lit .paper-shade { transform: scale(1,.9); }
.prop-diary:not(.lit) .paper-curl { animation: corner-lift 4.8s ease-in-out infinite; }
@keyframes corner-lift {
  0%,56%,90%,100% { transform:scale(.52,.48); }
  74% { transform:translate(-1%,-2%) scale(.86,.95); }
}
.prop-works:not(.lit) .wood-lid { animation: lid-peek 4.7s ease-in-out infinite; }
@keyframes lid-peek {
  0%,55%,94%,100% { transform:none; }
  76% { transform:translateY(-3.4%) scaleY(.95); }
}
.prop-haze {
  inset:-21% -20%; border-radius:50%; background:radial-gradient(ellipse,#ffe2a34a,transparent 68%);
  animation: prop-haze 4.8s ease-in-out infinite;
}
@keyframes prop-haze { 0%,100% {opacity:.3} 63% {opacity:.85} }
.prop-dust {
  border-radius:50%; background:#ffe9b9; box-shadow:0 0 3px 1px #edbd7490;
  width:clamp(1.5px,.15vw,2.5px); height:clamp(1.5px,.15vw,2.5px);
  opacity:0; animation:dust-drift 4.8s ease-in-out infinite;
}
.prop-dust.near {left:12%;top:16%;--drift:-3px;animation-delay:-.9s}
.prop-dust.far {right:5%;top:3%;--drift:3px;animation-delay:-3.1s}
@keyframes dust-drift {
  0%,100% {opacity:0;transform:translateY(2px);}
  40% {opacity:.67;}
  80% {opacity:0;transform:translate(var(--drift),-7px);}
}

.lens-light {
  inset: 19% 19%; border-radius: 50%; opacity: .36;
  background: radial-gradient(ellipse at 34% 27%,#fff9d9 0 4%,#ddeadcac 7%,#e2e2bf28 19%,transparent 57%);
  transition: opacity .22s, transform .3s;
}
.prop-walk.lit .lens-light { opacity: .95; transform: translate(-3%,-3%) scale(1.24); }
.prop-walk:not(.lit) .lens-light { animation: lens-breathe 4.8s ease-in-out infinite; }
.lens-light::after {
  content:"";position:absolute; left:23%;top:12%;width:25%;height:30%;
  background:#fff4cf;clip-path:polygon(50% 0,57% 40%,100% 50%,57% 58%,50% 100%,43% 59%,0 50%,43% 40%);
  animation: lens-star 4.8s ease-in-out infinite;
}
@keyframes lens-star {0%,58%,90%,100%{opacity:0;transform:scale(.5)}73%{opacity:.85;transform:scale(1)}}
@keyframes lens-breathe { 0%,34%,88%,100% { opacity: .26; } 59% { opacity: .81; } }
.lens-finder {
  left: -70%; top: -73%; width: 222%; height: 174%; color: #fff5ce; opacity: 0; transform: scale(1.12);
  filter: drop-shadow(0 1px 1px #423d2a); transition: opacity .24s,transform .26s;
}
.lens-finder b { width: 13%; height: 22%; border: solid currentColor; border-width: 0; }
.lens-finder b:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.lens-finder b:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.lens-finder b:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.lens-finder b:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.prop-walk.lit .lens-finder { opacity: .86; transform: scale(1); }
.lens-flash {
  inset: -112%; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 50%, #fffce6f2 2%,#fff1c79e 14%,#fce3ac45 33%,transparent 66%);
}
.released .lens-flash { animation: prop-shutter .31s ease-out both; }
@keyframes prop-shutter { 0% { opacity: .08;transform: scale(.52); } 19% { opacity: .92; } 100% { opacity: 0;transform: scale(1); } }

.lamp-flame {
  inset: -15% -10%; border-radius: 50%;
  background: radial-gradient(ellipse,#ffe5a965,#ffc05c35 34%,#f4ab4f17 54%,transparent 70%);
  animation: lamp-breath 4.6s ease-in-out infinite;
}
@keyframes lamp-breath { 0%,100% { opacity: .32; } 65% { opacity: .9; } }
.lamp-fly {
  width: clamp(2px, .24vw, 4px); aspect-ratio: 1; border-radius: 50%; background: #ffe9a4;
  box-shadow: 0 0 4px 1px #f8bd6c99; opacity: 0;
  animation: prop-firefly 5.2s ease-in-out infinite; animation-delay: var(--wait);
}
.lamp-fly.first { left: -9%; top: 0%; --wait: -1.1s; --x: -4px; --y: -8px; }
.lamp-fly.second { left: 90%; top: -9%; --wait: -3.8s; --x: 6px; --y: -5px; }
.lamp-fly.third { left: 58%; top: -43%; --wait: -4.9s; --x: 3px; --y: -9px; }
@keyframes prop-firefly { 0%,76%,100% { opacity: 0; } 37% { opacity: .72; } 76%,100% { transform: translate(var(--x),var(--y)); } }
.prop-letter.lit .prop-detail { filter: drop-shadow(0 0 4px #ffca6b85); }
.prop-letter.lit .lamp-flame { background: radial-gradient(ellipse,#ffe7aab0,#ffc25b70 36%,#f6a24925 58%,transparent 72%); }

:root.is-still .prop-detail *, :root.is-still .prop-detail *::after { animation: none !important; transition: none !important; }
.film-ready-stage > .scene:not([data-visible="true"]) .prop-detail *,
.film-ready-stage > .scene:not([data-visible="true"]) .prop-detail *::after,
.in-space .prop-detail *, .in-space .prop-detail *::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .prop-detail *, .prop-detail *::after { animation: none !important; transition: none !important; }
}
