*{box-sizing:border-box}html{min-height:100%;background:#e8eef7}body{margin:0;color:#484762;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;background:radial-gradient(circle at 80% 85%,#e7f6df,transparent 50%),linear-gradient(125deg,#eee9ff,#d2e6ed);min-height:100svh}button,a,input{font:inherit}button{color:inherit;cursor:pointer;border:2px solid white;background:#fffdf2;border-radius:15px;padding:10px 16px;font-weight:700;box-shadow:0 4px 0 #514b7730;transition:filter .2s,box-shadow .2s}button:hover{filter:brightness(1.04);box-shadow:0 4px 0 #514b7750}button:focus-visible,a:focus-visible,input:focus-visible{outline:4px solid #8768ce;outline-offset:3px}button:disabled{opacity:.5;cursor:default}header{min-height:100px;padding:22px 4vw;border-bottom:3px solid #fff8;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{color:#615480;text-decoration:none;font-size:29px;font-weight:900}.brand small{display:block;font-size:9px;letter-spacing:3px;margin:10px 0 0 29px}nav{display:flex;gap:9px;align-items:center}nav button{font-size:13px}main{width:min(1260px,94vw,calc((100svh - 270px)*1.7778));min-width:640px;margin:18px auto}.hud{background:#faf9ffdc;border:3px solid #fff;padding:13px 19px;border-radius:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 4px 0 #7a769426}.hud strong{font-size:16px}.growth{display:grid;grid-template-columns:1fr auto;gap:6px 22px;min-width:34%;font-size:12px;font-weight:700}.track{height:8px;background:#dfdfea;border-radius:10px;grid-column:1/-1;overflow:hidden}.track i{display:block;height:100%;width:0;background:#f2ad7e;border-radius:10px;transition:width .5s}.ribbon{display:flex;justify-content:space-between;font-size:13px;padding:16px 10px 12px}#stage{aspect-ratio:16/9;position:relative;isolation:isolate;overflow:hidden;border:6px solid white;outline:2px solid #aaa2b5;border-radius:27px;background:#e0e8e4;box-shadow:0 12px 0 #60577d25;touch-action:none}#world{position:absolute;inset:0;overflow:hidden}.background{position:absolute;inset:-1%;background-size:cover;background-position:center;animation:cameraIn 1.4s ease-out both}.background:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#40415a17,transparent 45%)}.actor{position:absolute;width:27%;aspect-ratio:1;left:var(--x,60%);bottom:var(--y,7%);z-index:5;transition:left 1.1s ease-in-out,bottom 1.1s ease-in-out,opacity .5s;pointer-events:none;filter:drop-shadow(0 8px 3px #273d3a20)}.actor .sprite{width:100%;height:100%;background:url('life-art/cast-v8.webp') no-repeat;background-size:300% 200%;background-position:var(--cx) var(--cy);transform-origin:50% 85%;animation:breathe 3s ease-in-out infinite;animation-delay:var(--delay,0s)}.actor.walking .sprite{animation:walk .34s infinite alternate}.actor.laughing .sprite{animation:laugh .3s infinite alternate}.actor.shocked .sprite{animation:shock .45s 2}.actor.sitting .sprite{transform:translateY(12%) scale(.88);animation:breatheSmall 4s infinite}.actor.windy .sprite{animation:windHair .3s infinite alternate}.actor .name{position:absolute;bottom:1%;left:50%;transform:translateX(-50%);background:#fffdf2ec;border:2px solid #fff;border-radius:10px;padding:3px 9px;font-size:11px;white-space:nowrap;opacity:0;transition:opacity .2s}.actor:hover .name,.showNames .actor .name{opacity:1}.emotion{position:absolute;top:5%;left:58%;font-size:30px;animation:emotionPop 1.7s both}.sceneLabel{position:absolute;top:4%;left:3%;border:3px solid #fff;background:#fffdf0f2;border-radius:17px;padding:12px 15px;z-index:10;pointer-events:none}.sceneLabel small{display:block;font-size:10px;letter-spacing:1px;color:#89839a;margin-bottom:7px}.sceneLabel h1{font-size:23px;margin:0}.prop{position:absolute;z-index:8;touch-action:none;user-select:none}.hotspot{background:#fffef0ef;border:3px solid #fff;box-shadow:0 4px 0 #6b618542,0 0 0 6px #fff3;animation:invite 3s infinite}.label{font-size:12px;display:block;margin-top:5px}.bookProp{left:42%;top:51%;width:20%;height:25%;perspective:600px;padding:0;border:0;background:none;box-shadow:none;overflow:visible}.bookCover{display:grid;place-items:center;position:absolute;inset:0;background:#765078;border:5px solid #f7ce8d;border-radius:6px 15px 15px 6px;color:#ffe3aa;box-shadow:3px 8px 0 #e8d9ad,0 13px 15px #48445c55;font-size:32px;transform-origin:left;transition:transform 1.3s}.bookProp.open .bookCover{transform:rotateY(-150deg)}.bookPage{position:absolute;inset:4px;background:#fff9e2;border-radius:4px;display:grid;place-items:center;font-size:13px;padding:10px;line-height:1.6}.warning{position:absolute;left:31%;top:43%;background:#fff9e7;border-radius:9px;padding:7px 12px;font-size:13px;rotate:-5deg;z-index:12;box-shadow:0 3px 8px #45405f30}.tea{left:72%;top:54%;width:6%;height:22%;background:linear-gradient(90deg,#bf8f61,#e9bc86 50%,#ca955d);border:3px solid #fff4d4;border-radius:5px 5px 15px 15px;box-shadow:0 5px 9px #3d335a35;z-index:12}.tea:before{content:"";position:absolute;width:7px;height:40%;background:#b7a0db;left:45%;top:-35%;border:2px solid #fff}.tea:after{content:"● ● ●";position:absolute;bottom:4px;left:7%;font-size:9px;color:#76533e}.tea.pouring{animation:pour 1.3s forwards}.teaPuddle{position:absolute;left:45%;top:59%;width:23%;height:16%;border-radius:50%;background:#c590578a;z-index:13;animation:puddle 1.5s both}.teaDrops i{position:absolute;left:54%;top:62%;width:10px;height:15px;border-radius:50%;background:#d2a06a;z-index:14;animation:drop 1s var(--delay) both}.vortex{position:absolute;inset:-50%;z-index:40;background:repeating-conic-gradient(from 0deg at 50% 50%,#b9a5e588 0deg 20deg,#f7edbf88 20deg 40deg);border-radius:50%;animation:vortex 2.6s both;pointer-events:none}.flyingPhoto{width:13%;height:23%;padding:5px 5px 16px;border:0;border-radius:5px;background:#fffdf7;box-shadow:0 5px 15px #42405d45;animation:photoFly 5s ease-in-out infinite;transform:rotate(var(--rot,-10deg));z-index:9}.flyingPhoto img,.postcard img{width:100%;height:100%;object-fit:cover;object-position:50% var(--focus,58%);display:block;pointer-events:none;border-radius:3px}.flyingPhoto.caught{animation:catchPhoto .5s both;pointer-events:none}.photoTray{position:absolute;right:2%;top:5%;display:flex;gap:5px;z-index:12}.photoTray button{width:43px;height:51px;padding:3px;border-radius:5px;rotate:4deg}.photoTray img{width:100%;height:100%;object-fit:cover}.windRibbon{position:absolute;left:-30%;top:38%;height:50%;width:40%;border-top:4px solid #d5f6ffbd;border-radius:50%;z-index:7;pointer-events:none;animation:windAcross 4s linear infinite}.windRibbon.second{top:55%;animation-delay:-2s}.exit{right:3%;bottom:6%;z-index:15}.openBag{left:47%;top:43%;font-size:40px;width:12%;aspect-ratio:1;border-radius:25px}.bagOnStage{left:36%;top:31%;width:28%;height:42%;background:#e9be83;border:7px solid #b38259;border-radius:34px;box-shadow:0 6px 0 #8b644f,0 12px 20px #473b4d40;z-index:14}.bagOnStage:before{content:"";position:absolute;width:40%;height:25%;border:8px solid #a17650;border-bottom:0;border-radius:25px 25px 0 0;left:30%;top:-25%}.bagSlot{display:grid;place-items:center;position:absolute;width:35%;height:40%;left:32%;top:40%;border:3px dashed #9c7658;border-radius:12px;font-size:12px;background:#ffedc5}.looseItem{width:9%;aspect-ratio:1;font-size:35px;display:grid;place-items:center;padding:5px;transition:left .5s,top .5s,transform .5s}.looseItem.inside{transform:scale(.1);opacity:0;pointer-events:none}.bagOnStage.opened{animation:bagOpen .5s}.tablet{width:32%;height:52%;left:35%;top:27%;background:#5d777c;border:8px solid #5d777c;border-bottom-width:15px;border-radius:17px;overflow:hidden;box-shadow:0 8px 0 #3a555c;z-index:13}.mapSurface{position:absolute;inset:0;background:repeating-linear-gradient(15deg,transparent 0 35px,#f7f0c5 36px 43px,transparent 44px 70px),repeating-linear-gradient(105deg,#c7ddba 0 40px,#f9f2ce 41px 47px,#c7ddba 48px 90px)}.scan{position:absolute;left:20%;top:15%;width:62%;aspect-ratio:1;border:3px solid #fff5c7;border-radius:50%;background:#fffcd62b;box-shadow:0 0 0 15px #ffedab26;transition:transform .2s,left .2s}.pin{position:absolute;left:66%;top:44%;font-size:30px;filter:blur(6px);transition:filter .2s}.mapControl{position:absolute;left:35%;top:82%;width:32%;z-index:16;background:#fffdf0;padding:7px 12px;border-radius:15px}input[type=range]{width:100%;accent-color:#a084bf;touch-action:none}.mapReady{right:5%;bottom:6%}.postcard{width:15%;height:25%;background:#fffdf4;padding:5px 5px 16px;border-radius:5px;border:0;rotate:var(--rot);transition:left .7s,top .7s,rotate .7s;z-index:16;box-shadow:0 5px 12px #3a394951}.phone{width:5%;height:8%;left:71%;top:40%;border:4px solid #49575b;background:#bee3d3;border-radius:5px;rotate:-12deg;z-index:13;padding:0;box-shadow:0 0 15px #fff1a8}.phone.revealed{animation:phoneGlow 1.5s infinite}.phone .label{position:absolute;white-space:nowrap;top:100%;left:-50%;background:#fffdf0;padding:5px 9px;border-radius:10px;font-size:11px}.phoneBurst{position:absolute;inset:0;z-index:35;background:radial-gradient(circle at 73% 44%,#fffbe3 0,transparent 0);animation:phoneBurst 2s both;pointer-events:none}.broadcast{right:3%;top:5%;font-size:11px;max-width:22%;background:#fffdf0e8;z-index:15}.chapterToken{position:absolute;left:43%;top:27%;width:14%;aspect-ratio:1;display:grid;place-items:center;font-size:72px;background:#fff8d8;border:4px solid white;border-radius:30px;z-index:30;animation:tokenAppear 1.5s both;box-shadow:0 0 40px #ffe79f}.maskedMessage{position:absolute;left:27%;right:27%;top:54%;padding:15px;background:#fffdf5ed;border-radius:17px;text-align:center;line-height:1.8;font-weight:700;z-index:30}.packDesk{position:absolute;left:3%;right:3%;bottom:6%;height:24%;background:#e6c39e;border:5px solid #c49b7b;border-radius:30px;z-index:3}.packBag{left:72%;top:50%;width:15%;height:28%;background:#d8ac7e;border:5px solid #a57654;border-radius:25px;display:grid;place-items:center;font-size:35px}.packBag.ready{animation:invite 1.5s infinite}.clock{position:absolute;right:6%;top:7%;border:6px solid #ab8cbb;background:#fff9e4;border-radius:50%;width:11%;aspect-ratio:1;display:grid;place-items:center;font-weight:900;font-size:20px}.walkControls{position:absolute;bottom:7%;left:5%;right:5%;display:flex;justify-content:space-between;z-index:20;pointer-events:none}.walkControls button{pointer-events:auto;font-size:19px;min-width:85px;touch-action:none}.roadProgress{position:absolute;left:32%;right:32%;bottom:5%;height:9px;background:#fff9;border-radius:10px;overflow:hidden;z-index:10}.roadProgress i{display:block;height:100%;width:0;background:#b2a1d3;transition:width .1s}.iceOffer{left:43%;top:26%;width:16%;height:41%;border:0;background:none;box-shadow:none;perspective:400px;padding:0;z-index:15}.iceTop{position:absolute;left:20%;top:0;width:60%;height:75%;border-radius:45% 45% 18% 18%;background:var(--flavor,#f9e18e);border:4px solid #fff7c9;box-shadow:inset -8px -4px #b59c8a25,0 8px 10px #55475a25;transition:transform .4s,clip-path .3s;overflow:hidden}.iceTop:before{content:"";position:absolute;inset:12% 25%;border-left:4px solid #ffffff55;border-right:4px solid #ffffff33;border-radius:25px}.iceStick{position:absolute;width:16%;height:35%;background:#d8b58b;left:42%;bottom:0;border-radius:0 0 8px 8px;box-shadow:inset -4px 0 #b48b65}.iceOffer.offered{animation:offer 1.1s both}.iceOffer.turned .iceTop{transform:rotateY(180deg)}.iceOffer.bite .iceTop{clip-path:polygon(0 0,34% 0,36% 12%,48% 18%,60% 12%,64% 0,100% 0,100% 100%,0 100%)}.iceOffer.bite2 .iceTop{clip-path:polygon(0 22%,18% 22%,26% 34%,39% 36%,47% 24%,62% 23%,69% 13%,72% 0,100% 0,100% 100%,0 100%)}.iceControls{position:absolute;left:22%;right:22%;bottom:6%;z-index:18;display:flex;justify-content:center;flex-wrap:wrap;gap:7px}.iceControls button{font-size:12px;padding:8px 12px}.flavorTag{position:absolute;left:41%;top:20%;width:20%;text-align:center;background:#fffdf5;border-radius:10px;padding:6px;font-size:13px;font-weight:700;z-index:17}.pet{position:absolute;bottom:10%;width:7%;aspect-ratio:1;font-size:35px;padding:0;background:none;border:0;box-shadow:none;z-index:12;animation:breathe 3s infinite}.pet:hover{animation:petJump .4s infinite alternate}.door{position:absolute;left:45%;top:13%;height:70%;width:21%;border:9px solid #c1a1cf;border-radius:80px 80px 8px 8px;background:linear-gradient(150deg,#f9dcad,#b4e4db);box-shadow:0 0 35px #fff5bf;transform-origin:left;transition:transform 1.5s,filter 1.5s;z-index:4}.door:after{content:"✦";position:absolute;right:12%;top:57%;font-size:24px;color:#806d99}.door.unlocked{transform:perspective(600px) rotateY(-80deg);filter:brightness(1.6)}.keyProp{left:25%;top:45%;font-size:55px;line-height:1;cursor:grab;background:#fff7d9;border:3px solid #fff;border-radius:22px;padding:8px;animation:keyFloat 3s infinite}.keyhole{position:absolute;left:58%;top:50%;z-index:8;width:4%;height:13%;border-radius:40%;background:#8c729c;border:3px solid #fff2c1}.letter{left:23%;top:52%;width:16%;height:20%;background:#fffbe2;border:3px solid white;border-radius:6px;font-size:23px;rotate:-5deg;display:grid;place-items:center;box-shadow:0 5px 7px #48425530;z-index:18}.letter.sent{animation:letterFly 2s both}.letterBird{position:absolute;font-size:36px;left:60%;top:40%;animation:birdFly 2.2s both;z-index:25}.mailDevice{left:57%;top:47%;width:12%;height:23%;background:#e6b968;border:4px solid #fff0bd;border-radius:25px 25px 8px 8px;display:grid;place-items:center;font-size:33px;box-shadow:0 5px 0 #b18b4a;z-index:16}.windowControl{right:12%;top:12%;width:18%;height:27%;background:#b0d8d72b;box-shadow:inset 0 0 0 4px #fff8;border:3px solid #fff9;border-radius:6px;z-index:8;font-size:14px}.windowControl.open{transform:perspective(400px) rotateY(-65deg);transform-origin:right;transition:transform 1s}.cloud{position:absolute;width:11%;height:12%;background:#fff9e9de;border:3px solid #fff;border-radius:50%;z-index:18;display:grid;place-items:center;font-size:24px;box-shadow:6px 5px 0 #d7c3ad3b;animation:cloudBob 3s infinite alternate;transition:left .8s,top .8s,opacity .8s;touch-action:none}.cloud.gone{left:80%!important;top:10%!important;opacity:0;pointer-events:none}.fanProp{left:29%;top:62%;font-size:62px;padding:0;background:none;border:0;box-shadow:none;z-index:23;transform-origin:50% 95%;touch-action:none}.fanProp.fanning{animation:fan .18s infinite alternate}.fanMeter{position:absolute;right:4%;bottom:8%;background:#fffaf0;padding:9px;border-radius:12px;font-size:12px;z-index:18}.cozyTint{position:absolute;inset:0;background:#ffc57d20;pointer-events:none;z-index:2}.talkActions{position:absolute;left:3%;bottom:8%;display:flex;gap:9px;z-index:19}.talkActions button{width:70px;min-height:64px;font-size:29px;padding:6px}.talkActions small{font-size:11px;display:block}.chairMoved{animation:chairSlide 1s both}.teaSteam{position:absolute;left:52%;top:46%;font-size:32px;animation:steam 3s infinite;color:#fff;pointer-events:none;z-index:10}.bookmark{left:27%;top:42%;width:7%;height:31%;border:3px solid #fff4ba;background:#a8bbb7;border-radius:5px 5px 0 0;display:grid;place-items:center;font-size:27px;color:#fff;box-shadow:0 0 25px #ffe8a955;z-index:20;touch-action:none}.memoryBook{left:55%;top:48%;width:23%;height:29%;background:linear-gradient(90deg,#ffefd0 49%,#cbb997 50%,#fff3d9 53%);border:5px solid #b48b65;border-radius:8px;display:grid;place-items:center;font-size:22px;z-index:15}.endPanel{position:absolute;left:13%;right:13%;top:16%;bottom:11%;background:#fffdf1f2;border:4px solid white;border-radius:30px;z-index:10;text-align:center;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.endPanel h1{font-size:25px;margin:0}.endPanel p{font-size:14px;line-height:1.8;margin:0}.relicRow{display:flex;gap:9px;justify-content:center}.relicCell{width:60px;height:66px;border:2px solid #d8d0c6;background:#f1e8d2;border-radius:14px;display:grid;place-items:center;font-size:30px}.relicCell.blank{background:#ebe8e8;color:#aaa;font-size:18px}.endButtons{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.endButtons button{font-size:12px}#effects{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:31}#caption{position:absolute;bottom:17%;left:4%;width:47%;background:#fffdf2f5;border:3px solid white;border-radius:24px;padding:14px 18px;z-index:27;box-shadow:0 5px 0 #7b739b25;transition:opacity .25s,transform .25s;pointer-events:none;font-weight:700;font-size:16px;line-height:1.6}#caption:empty{display:none}#speaker{position:absolute;top:-16px;left:14px;border:2px solid #fff;border-radius:12px;background:#9987bb;color:white;font-size:11px;padding:3px 11px;font-weight:700}#line{white-space:pre-line}#caption.hidden{opacity:0;transform:translateY(8px)}#instruction{position:absolute;left:50%;bottom:3%;transform:translateX(-50%);max-width:75%;border:2px solid white;background:#fffdf4ed;border-radius:13px;padding:8px 13px;font-size:12px;text-align:center;z-index:28;pointer-events:none}#instruction:empty{display:none}#sceneVeil{position:absolute;inset:0;pointer-events:none;z-index:45;background:#fff7dc;opacity:0}#sceneVeil.turn{animation:sceneTurn .8s both}footer{padding:23px 4px 12px;display:flex;align-items:center;gap:12px;font-size:12px}footer>span{flex:1}footer button{font-size:12px;padding:8px 12px}#toast{position:fixed;left:50%;bottom:5%;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#655a83;color:white;padding:12px 22px;border:2px solid white;border-radius:20px;z-index:100;transition:.3s;font-size:14px;max-width:90vw}#toast.show{opacity:1;transform:translateX(-50%)}dialog{border:4px solid white;border-radius:26px;background:#fffdf6;color:#4d4962;width:min(730px,92vw);max-height:89svh;padding:30px;box-shadow:0 15px 80px #47425e55}dialog::backdrop{background:#43405c88;backdrop-filter:blur(4px)}#closeModal{position:absolute;right:12px;top:10px;border:0;box-shadow:none;background:#ede7f3;border-radius:50%;width:32px;height:32px;padding:0;font-size:23px}dialog h2{margin:0 0 20px;font-size:22px}dialog p{line-height:1.8}dialog .sub{font-size:13px;color:#81778f}.inventory{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.slot{min-height:91px;background:#f1ebdf;border:2px solid #e6d7c9;border-radius:15px;font-size:30px;padding:8px;display:grid;place-items:center}.slot small{font-size:11px}.slot.empty{color:#c1b5b1;border-style:dashed;box-shadow:none}.photoFull{display:block;max-width:100%;max-height:63svh;object-fit:contain;border:7px solid #fff;box-shadow:0 3px 12px #453b5a20;border-radius:5px;margin:0 auto 16px}.photoGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.photoGrid button{padding:4px;border-radius:10px}.photoGrid img{width:100%;height:120px;object-fit:cover;display:block;border-radius:7px}.videoMemory{width:100%;max-height:60svh;display:block;border-radius:12px}.journalRow{padding:12px 0;border-bottom:1px solid #e5dde8;display:flex;justify-content:space-between;gap:20px;font-size:14px}.dialogueLog{max-height:62svh;overflow:auto;font-size:14px}.dialogueLog b{color:#8b6ba1}.puzzleBoard{display:grid;grid-template-columns:repeat(3,1fr);aspect-ratio:3/4;background:#e3dbd0;border:5px solid white;margin:auto;max-width:300px;gap:2px}.puzzleCell{border:1px dashed #a59a94;background:#ede4d8;border-radius:0;padding:0;box-shadow:none;position:relative}.puzzleCell.done{background-image:var(--photo);background-size:300% 300%;border:0}.piecePool{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:16px 0}.piece{width:58px;height:64px;background-image:var(--photo);background-size:300% 300%;border:3px solid white;border-radius:6px;touch-action:none}.piece.selected{outline:4px solid #a88ac8}.lockedNote{padding:14px;background:#ede8ee;border-radius:13px;font-size:14px}.primary{background:#aa94c7;color:#fff;border-color:#c8b7de}.fullRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.helper{font-size:12px;color:#8a8092}.talkNote{background:#efe7f4;padding:13px;border-radius:12px}.phoneMemory{background:#e6e8e3;border:7px solid #697a7d;border-radius:22px;padding:22px 15px;margin:10px auto 20px;max-width:290px;text-align:center}.phoneMemory p{font-weight:700}.softBlur{filter:blur(4px);user-select:none}.hidden{display:none!important}.fadeIn{animation:cameraIn 1s both}.noTouch{pointer-events:none}
@keyframes breathe{50%{transform:translateY(-3px) rotate(.5deg)}}@keyframes breatheSmall{50%{transform:translateY(10%) scale(.88)}}@keyframes walk{from{transform:translateY(0) rotate(-4deg)}to{transform:translateY(-8px) rotate(4deg)}}@keyframes laugh{to{transform:translateY(-8px) rotate(3deg) scale(1.02)}}@keyframes windHair{to{transform:skewX(-4deg) rotate(-3deg)}}@keyframes shock{50%{transform:translateY(-15px)}}@keyframes cameraIn{from{transform:scale(1.05);opacity:.5}to{transform:scale(1);opacity:1}}@keyframes invite{50%{box-shadow:0 4px 0 #6b618542,0 0 0 9px #fff3}}@keyframes emotionPop{0%{opacity:0;transform:scale(.2)}35%{opacity:1;transform:scale(1.2) translateY(-6px)}100%{opacity:0;transform:translateY(-35px)}}@keyframes photoFly{0%,100%{translate:0 0;rotate:-7deg}50%{translate:14px -15px;rotate:9deg}}@keyframes catchPhoto{to{translate:0 30px;scale:.5;opacity:0}}@keyframes windAcross{to{left:120%;transform:translateY(-70px)}}@keyframes pour{to{transform:translate(-180px,-40px) rotate(-95deg)}}@keyframes puddle{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes drop{to{translate:var(--dx) var(--dy);opacity:0}}@keyframes vortex{0%{transform:scale(.01) rotate(0);opacity:0}45%{opacity:1}100%{transform:scale(2) rotate(500deg);opacity:1}}@keyframes bagOpen{50%{scale:1.1;rotate:-3deg}}@keyframes phoneGlow{50%{box-shadow:0 0 35px #fff5a6;scale:1.12}}@keyframes phoneBurst{35%,65%{background:radial-gradient(circle at 73% 44%,#fffbe3 15%,#fffbe3bb 60%,transparent 100%)}100%{background:#fffbe3}}@keyframes tokenAppear{from{scale:.2;rotate:-30deg;opacity:0}to{scale:1;rotate:0;opacity:1}}@keyframes offer{from{translate:130% 10%;rotate:20deg;scale:.5}to{translate:0 0;rotate:0;scale:1}}@keyframes petJump{to{translate:0 -10px;rotate:6deg}}@keyframes keyFloat{50%{translate:0 -8px;rotate:6deg}}@keyframes letterFly{to{left:58%;top:43%;scale:.15;rotate:360deg;opacity:0}}@keyframes birdFly{50%{left:82%;top:10%}100%{left:48%;top:40%;scale:.3;opacity:0}}@keyframes cloudBob{to{translate:10px -9px;rotate:6deg}}@keyframes fan{to{rotate:35deg}}@keyframes chairSlide{from{translate:-45px 0}to{translate:0 0}}@keyframes steam{to{translate:0 -25px;opacity:0}}@keyframes sceneTurn{0%{opacity:0}45%{opacity:1}100%{opacity:0}}
@media(max-width:900px){header{padding:16px 3vw;min-height:80px}.brand{font-size:24px}.brand small{font-size:8px;letter-spacing:1px}nav{gap:5px}nav button{font-size:11px;padding:8px 10px}main{min-width:0;width:94vw}.sceneLabel{padding:8px 11px}.sceneLabel h1{font-size:18px}.sceneLabel small{font-size:8px}#caption{font-size:14px;padding:10px 14px}.endPanel{padding:14px;gap:8px}.endPanel h1{font-size:21px}.endPanel p{font-size:12px}.relicCell{width:45px;height:48px;font-size:24px}.endButtons button{padding:7px 10px}}
@media(max-width:600px){header{gap:12px;flex-wrap:wrap}.brand{font-size:22px}nav{width:100%;justify-content:space-between}nav button{padding:8px 9px;font-size:11px}.hud{padding:12px}.hud strong{font-size:13px}.growth{min-width:42%;font-size:10px;gap:5px}.ribbon{font-size:11px}main{width:94vw;margin-top:12px}#stage{aspect-ratio:4/5;border-radius:22px;border-width:4px}.background{background-position:55% center}.actor{width:42%}.sceneLabel{max-width:80%}.sceneLabel h1{font-size:17px}#caption{width:76%;bottom:18%;font-size:14px;padding:12px 14px}#instruction{font-size:11px;max-width:90%;width:max-content;bottom:3%;padding:7px 10px}.flyingPhoto{width:20%;height:18%}.postcard{width:23%;height:20%}.phone{width:9%;height:6%}.openBag{width:20%;font-size:32px}.bagOnStage{left:25%;width:50%;height:29%;top:36%}.looseItem{width:15%;font-size:28px}.tablet{left:18%;width:64%;height:40%;top:29%}.mapControl{left:18%;width:64%;top:72%}.mapReady{bottom:7%;font-size:12px}.packBag{left:74%;width:22%;height:21%;font-size:30px}.bookProp{left:35%;width:32%;top:52%;height:19%}.warning{left:19%;top:45%;font-size:11px}.tea{width:10%;height:17%;top:56%;left:78%}.clock{width:18%;font-size:16px}.iceOffer{left:40%;width:23%;height:32%;top:29%}.flavorTag{left:34%;width:36%;top:22%}.iceControls{left:3%;right:3%;bottom:6%;gap:6px}.iceControls button{font-size:11px;padding:8px 10px}.pet{font-size:27px;width:12%;bottom:19%}.door{left:43%;width:37%;height:57%;top:20%}.keyhole{left:66%;top:50%;width:8%;height:9%}.keyProp{left:15%;font-size:45px}.letter{left:17%;width:27%;height:15%;top:55%;font-size:20px}.mailDevice{left:60%;width:20%;height:17%;top:50%;font-size:27px}.windowControl{right:10%;width:27%;height:22%;font-size:12px}.cloud{width:18%;height:9%;font-size:20px}.fanProp{font-size:50px;top:67%}.fanMeter{font-size:11px;bottom:9%}.talkActions{bottom:7%;left:3%;gap:6px}.talkActions button{width:57px;min-height:54px;font-size:25px}.bookmark{width:12%;height:24%;top:46%;left:22%}.memoryBook{width:36%;height:21%;top:54%;left:52%;font-size:18px}.chapterToken{left:36%;width:28%;font-size:60px;top:28%}.maskedMessage{left:12%;right:12%;top:53%;font-size:14px}.endPanel{left:5%;right:5%;top:20%;bottom:10%;gap:15px}.endPanel h1{font-size:21px}.endPanel p{font-size:14px}.relicCell{width:45px;height:58px}.broadcast{font-size:10px;max-width:31%;top:22%;padding:6px}.photoTray{top:23%}footer{gap:7px;font-size:10px;flex-wrap:wrap}footer>span{min-width:40%}footer button{font-size:10px;padding:7px 8px}.inventory{gap:7px}.slot{min-height:74px;font-size:25px;padding:5px}.slot small{font-size:10px}dialog{padding:30px 17px 20px}.photoGrid img{height:85px}.walkControls button{font-size:16px;min-width:70px}.roadProgress{bottom:5%;left:27%;right:27%}}
.bookProp:disabled{opacity:1}.bookCover{backface-visibility:hidden}.mailDevice{left:41%;top:66%;width:14%;height:24%;background:#fff4c11a;border:3px solid #fff9;border-radius:24px;color:transparent;box-shadow:none}.mailDevice:hover{background:#fff4c144}.windowControl{right:10%;top:8%;width:23%;height:25%}
@media(max-width:600px){.mailDevice{left:40%;top:65%;width:23%;height:19%}.windowControl{right:6%;top:8%;width:31%;height:23%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}.actor .sprite{animation:none}.background{animation:none}.actor{transition-duration:.01ms}}
.heldPhone{position:absolute;left:65%;top:49%;height:17%;width:11%;border:3px solid #526166;border-radius:4px;background:#c0d8d0;rotate:-16deg;font-size:8px;font-style:normal;color:#526166;animation:recording 2.8s infinite alternate;z-index:2}@keyframes recording{to{rotate:-7deg;translate:0 -3px}}
#stage[data-scene="8"] #actor-danni{left:58%}#stage[data-scene="8"] #actor-jiyu{left:72%}#stage[data-scene="9"] #actor-danni{left:70%;bottom:30%;width:24%}#stage[data-scene="9"] #actor-jiyu{left:76%;width:24%}.iceControls{bottom:10%}@media(max-width:600px){#stage[data-scene="8"] #caption{bottom:33%}.iceControls{bottom:12%}#stage[data-scene="8"] #actor-danni{left:49%;width:32%}#stage[data-scene="8"] #actor-jiyu{left:66%;width:34%}#stage[data-scene="8"] #actor-jiameng{left:0;width:38%}}
@media(max-width:600px){#stage[data-scene="4"] .background,#stage[data-scene="5"] .background{background-position:72% center}#stage[data-scene="10"] .background,#stage[data-scene="11"] .background,#stage[data-scene="12"] .background,#stage[data-scene="13"] .background{background-position:80% center}.mailDevice{left:1%;width:24%}}
