/* Locked camera, individually timed creature layers. */
.cinema-scene,.still .cinema-scene{animation:none!important;transform:none!important;scale:1!important;transition:none!important}.sleep-z{display:none!important}.cover-theatre{position:absolute;inset:0;pointer-events:none;overflow:hidden}.cover-theatre>img{position:absolute;width:100%;height:100%;inset:0;object-fit:fill}.quilt-layer{clip-path:polygon(69% 45%,100% 45%,100% 100%,78% 100%,79% 79%,75% 75%,69% 73%);transform-origin:90% 99%;animation:quilt-peek 8s infinite}.washer-layer{clip-path:polygon(59% 74%,73% 73%,77% 76%,80% 84%,78% 96%,72% 100%,59% 100%);transform-origin:72% 95%;animation:washer-rattle 8s infinite}.drum-spark{position:absolute;left:67.8%;top:82.5%;width:6.7%;height:10%;border:3px dashed #fff5b1;border-radius:50%;box-shadow:0 0 18px #ffdf69;opacity:0;animation:drum-spin 8s infinite}.quilt-eyes{position:absolute;left:85.5%;top:59%;width:7%;height:3%;background:radial-gradient(ellipse,#ffd85280,transparent 70%);mix-blend-mode:screen;animation:eyes-bloom 8s infinite}.flying-sock{position:absolute;left:70%;top:84%;width:4%;height:8%;opacity:0;filter:drop-shadow(4px 7px 3px #221a3755);animation:sock-launch 8s infinite}.repair-arc{position:absolute;left:61%;top:61%;width:9%;height:6%;filter:drop-shadow(0 0 7px #86edff);animation:arc-snap 8s infinite;opacity:0}.foam-pop{position:absolute;left:72%;top:89%;width:clamp(8px,1.6vw,25px);aspect-ratio:1;border:2px solid #fff7d6;border-radius:50%;background:#d6ecf33d;opacity:0;animation:foam-burst 8s infinite;animation-delay:calc(var(--i)*.035s)}.window-glow{animation:relay-lights 8s infinite!important;animation-delay:calc(var(--n)*.16s)!important;filter:blur(5px)}.lights-on .window-glow,.lights-on .lamplight{opacity:1!important;filter:brightness(2.2) blur(5px)}.start-spot{animation:start-cue 8s infinite!important}
@keyframes washer-rattle{0%,12%,32%,100%{transform:none}16%,20%,24%{transform:translate(-5px,-3px) rotate(-1deg)}18%,22%,26%{transform:translate(5px,-6px) rotate(1deg)}29%{transform:translateY(-9px)}}
@keyframes quilt-peek{0%,38%,83%,100%{transform:none}48%,66%{transform:translate(-9px,-18px) rotate(-1.2deg) scaleY(1.025)}55%{transform:translate(-6px,-24px) rotate(-.5deg) scaleY(1.035)}74%{transform:translate(4px,2px)}}
@keyframes drum-spin{0%,13%,34%,100%{opacity:0;transform:rotate(0)}17%,28%{opacity:.8;transform:rotate(230deg)}32%{transform:rotate(360deg)}}
@keyframes sock-launch{0%,24%{opacity:0;transform:none}26%{opacity:1}36%{opacity:1;transform:translate(-240px,-310px) rotate(-160deg) scale(1.5)}48%{opacity:1;transform:translate(-620px,-350px) rotate(-350deg) scale(.9)}57%,100%{opacity:0;transform:translate(-830px,-80px) rotate(-520deg) scale(.6)}}
@keyframes foam-burst{0%,24%,48%,100%{opacity:0;transform:none}27%{opacity:.9}43%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.6)}}
@keyframes eyes-bloom{0%,39%,78%,100%{opacity:0}49%,66%{opacity:1;transform:translate(-7px,-18px) scale(1.5)}}
@keyframes arc-snap{0%,5%,10%,100%{opacity:0}6%,8%{opacity:1}7%,9%{opacity:.2}}
@keyframes relay-lights{0%,6%,100%{opacity:.2}12%,35%{opacity:1}70%{opacity:.5}}
@keyframes start-cue{0%,66%,88%,100%{transform:none;box-shadow:none}70%,78%{transform:scale(1.035);box-shadow:0 0 28px #ffcc5c77}74%,82%{transform:scale(.99)}}
/* Illustrated celebration desk, receipts and collectible reward seals. */
#playShell .illustrated-result{width:min(860px,94vw);max-width:860px;padding:21px 25px 18px!important;background:#fff4dc;border:3px solid #a4805f;border-radius:27px!important;box-shadow:0 8px #70534d,0 25px 80px #17203288;background-image:radial-gradient(#d5b58f33 1px,transparent 1px);background-size:11px 11px}.illustrated-result h2{font-size:27px!important;margin:8px 0!important}.illustrated-result .result-banner{margin:6px 0 10px}.celebration-art{height:auto;aspect-ratio:3/1;background-image:url('assets/result-stories.png');background-size:100% 200%;background-position:center top;border:3px solid #cba482;border-radius:17px 17px 10px 10px;box-shadow:0 4px #d7bb8e;position:relative;overflow:hidden;margin:10px 0 12px}.celebration-art.tea{background-position:center bottom}.celebration-art:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 25px #9b633120}.illustrated-result .result-summary{margin:9px 0}.illustrated-result .result-stats{gap:10px;margin:10px 0}.illustrated-result .result-stats>div{background:#fffaf0;border:1px solid #cfb28b;border-radius:5px;padding:8px 4px 12px;box-shadow:2px 4px #c6a57d33;clip-path:polygon(0 0,100% 0,100% 94%,94% 100%,88% 94%,82% 100%,76% 94%,70% 100%,64% 94%,58% 100%,52% 94%,46% 100%,40% 94%,34% 100%,28% 94%,22% 100%,16% 94%,10% 100%,4% 94%,0 98%);animation:receipt-drop .5s backwards}.illustrated-result .result-stats>div:nth-child(2){animation-delay:.12s;transform:rotate(1deg)}.illustrated-result .result-stats>div:nth-child(3){animation-delay:.24s;transform:rotate(-1deg)}.illustrated-result .result-stats>div:nth-child(4){animation-delay:.36s}.illustrated-result .stat-icon{height:24px;width:29px;margin-bottom:4px}.illustrated-result .result-stats strong{font-size:20px}.illustrated-result .result-note{font-size:12px!important;line-height:1.7!important;margin:12px 0 8px!important;padding:9px 14px!important;border:1px dashed #c7ab88;background:#f6e7ca;border-radius:5px 14px 12px 5px;text-align:left}.letter-label{display:block;color:#b08c68;letter-spacing:2px;font-size:9px;margin-bottom:4px}.illustrated-result .medal-result{background:linear-gradient(135deg,#e6d7bc,#fff2d5);padding:10px 12px 6px;border:1px solid #c9ad86;border-radius:10px;margin-top:9px}.illustrated-result .medal-result>div{gap:12px}.illustrated-result .medal-result span{display:flex;align-items:center;gap:7px;background:#eee2cc;border:1px dashed #c5b294;border-radius:13px;transform:none;padding:4px 9px;font-size:10px}.illustrated-result .medal-result span.earned{background:#fff6d9;border:2px solid #c29c5d;box-shadow:0 2px #b3935f44;transform:rotate(-3deg)}.collectible{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid #bba580;border-radius:50%;background:#e7dac0;filter:grayscale(1);opacity:.5}.earned .collectible{background:#f4dc98;border-color:#b58b47;filter:none;opacity:1}.collectible .portrait{width:29px!important;height:29px!important;border:0!important;background-color:transparent!important;padding:0!important;background-position:0 0}.collectible-2 .portrait{background-position:0 50%}.tiny-lift{font-style:normal;font-size:25px!important;background:none!important;border:0!important;padding:0!important;color:#798451}.next-night-preview{display:flex;gap:10px;align-items:center;justify-content:center;margin:8px 0;color:#826b52}.next-night-preview small{display:block!important;font-size:9px;color:#a28e73}.next-night-preview b{font-size:11px}.preview-monster{width:34px;height:34px;background:url('assets/sprites.png') 66.666% 50%/400% 300%;filter:brightness(.4) sepia(.4);opacity:.75}.preview-monster.giant{background-image:url('assets/monsters-boss.png');background-size:300% 200%;background-position:0 0}.brass-key{font-size:30px;color:#fff2b7;margin-right:9px}.key-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px!important;padding:5px 18px!important}.illustrated-result .overlay-seal{animation:certify .5s .3s backwards}.illustrated-result .overlay-nav{margin-top:9px}
@keyframes receipt-drop{from{opacity:0;translate:0 -15px;rotate:-5deg}to{opacity:1;translate:0 0}}@keyframes certify{from{opacity:0;scale:1.7}to{opacity:1;scale:1}}
@media(max-height:800px){#playShell .illustrated-result{padding:12px 18px!important}.illustrated-result h2{font-size:22px!important}.celebration-art{max-height:150px;aspect-ratio:auto;background-size:100% 200%}.illustrated-result .result-note{margin:7px 0!important;padding:6px 10px!important}.illustrated-result .result-stats{margin:7px 0}.illustrated-result .result-stats>div{padding:5px 2px 9px}.illustrated-result .medal-result{padding:6px}.collectible{width:27px;height:27px}.illustrated-result .stat-icon{display:none}.next-night-preview{margin:5px 0}}
@media(max-width:600px){#playShell .illustrated-result{padding:12px!important}.illustrated-result .result-stats{gap:5px}.illustrated-result .result-stats strong{font-size:16px}.illustrated-result .medal-result>div{gap:5px}.illustrated-result .medal-result span{font-size:9px;padding:4px}.collectible{width:25px;height:25px}.celebration-art{min-height:110px}.flying-sock{animation-name:sock-launch-small}@keyframes sock-launch-small{0%,24%{opacity:0;transform:none}28%{opacity:1}40%{opacity:1;transform:translate(-100px,-130px) rotate(-200deg)}60%,100%{opacity:0;transform:translate(-230px,-30px) rotate(-440deg)}}}
.still .cover-theatre *,.still .window-glow,.still .start-spot,.still .illustrated-result *{animation:none!important}.still .drum-spark,.still .flying-sock,.still .repair-arc,.still .foam-pop{opacity:0}
@media(prefers-reduced-motion:reduce){.cover-theatre *,.window-glow,.start-spot,.illustrated-result *{animation:none!important}}
@media(max-height:800px){.celebration-art{height:150px}}
#playShell .illustrated-result{max-height:94dvh!important}.illustrated-result .celebration-art{height:clamp(110px,20dvh,190px);aspect-ratio:auto;margin:8px 0 10px}.illustrated-result .result-summary{padding:0!important;margin:6px 0!important;gap:28px}.illustrated-result .result-stats{margin:7px 0!important}.illustrated-result .result-stats>div{min-height:0!important}.illustrated-result .result-note{margin:7px 0!important}.illustrated-result .collectible .portrait{display:block!important;flex:none;background-image:url('assets/sprites.png')!important;background-size:400% 300%!important;box-shadow:none!important;border-radius:0!important;transform:none!important;margin:0!important}.illustrated-result .medal-result{margin-top:6px}.illustrated-result .overlay-nav{margin-top:6px}.illustrated-result .stat-icon.arc{line-height:24px;font-size:26px}
