/* A single framed play area, including a reserved rail for actions and speech. */
body{margin:0}header{min-height:0;padding:10px 2vw;gap:12px}.brand{font-size:24px}.brand small{font-size:8px;margin-top:5px;letter-spacing:2px}nav{gap:6px}nav button{font-size:12px;padding:7px 10px;min-height:34px}main{min-width:0;margin:7px auto;display:flex;flex-direction:column;gap:5px}.hud{padding:7px 12px 14px;border-radius:16px;min-height:42px}.hud strong{font-size:14px}.growth{font-size:11px;gap:3px 12px}.track{height:6px}#questTrack{bottom:4px;height:3px}.ribbon{padding:2px 6px;font-size:12px;min-height:20px}footer{padding:4px 2px;gap:8px;min-height:30px;font-size:11px}footer button{font-size:12px;min-height:28px;padding:4px 9px}#stage{aspect-ratio:auto!important;min-height:0;flex-shrink:0;border-radius:22px;--rail-height:104px}#world{inset:0 0 var(--rail-height) 0!important}#effects{inset:0 0 var(--rail-height) 0!important;height:calc(100% - var(--rail-height))!important;width:100%}
#stage>#mobileNarration{display:grid!important;position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;height:var(--rail-height);margin:0!important;z-index:75;background:linear-gradient(115deg,#fffbee,#edf4e8);border-top:3px solid #fff;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) 21px;align-items:center;gap:3px 10px;padding:7px 12px 5px;isolation:isolate}#stage>#mobileNarration #caption{grid-column:1;grid-row:1;position:relative!important;inset:auto!important;max-width:none!important;width:100%!important;margin:0!important;transform:none!important;translate:none!important;min-height:0!important;height:auto;max-height:100%;overflow:auto;padding:13px 10px 15px!important;border:0;background:#fffdf1;box-shadow:none;font-size:14px!important;line-height:1.4!important;border-radius:12px}#stage>#mobileNarration #speaker{top:0;left:10px;font-size:10px;padding:1px 7px;border:0;transform:translateY(-20%);z-index:2}#stage>#mobileNarration #caption:after{font-size:9px;right:9px;bottom:1px}#stage>#mobileNarration #caption.actionFeedback:after{content:'可以继续操作';color:#8a8a74}#stage>#mobileNarration #caption.hidden{display:none!important}#stage>#mobileNarration #instruction{grid-column:1/-1;grid-row:2;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:none;border:0;border-radius:0;text-align:center;font-size:11px!important;line-height:1.3;box-shadow:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#stage>#mobileNarration #mobileActions{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;max-width:380px}#stage>#mobileNarration:not(.hasCaption) #mobileActions{grid-column:1/-1;max-width:none}#stage>#mobileNarration:not(.hasActions) #caption{grid-column:1/-1}#stage>#mobileNarration #mobileActions>.prop,#stage>#mobileNarration #mobileActions>button{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;min-width:0!important;width:auto!important;min-height:36px!important;padding:7px 12px!important;font-size:13px!important;margin:0!important;max-width:100%;border-radius:12px}#stage>#mobileNarration .iceControls,#stage>#mobileNarration .talkActions,#stage>#mobileNarration .walkControls{position:relative!important;inset:auto!important;display:flex;flex-wrap:wrap;justify-content:center;gap:5px;width:auto;margin:0;pointer-events:auto}#stage>#mobileNarration .iceControls button,#stage>#mobileNarration .talkActions button,#stage>#mobileNarration .walkControls button{font-size:12px;padding:7px 8px;min-width:0;min-height:35px;width:auto;border-radius:11px}#stage>#mobileNarration .talkActions small{display:inline;font-size:12px;margin-left:3px}#stage>#mobileNarration .talkActions button{font-size:18px}#stage>#mobileNarration .mapControl{display:flex;align-items:center;gap:8px;width:auto;padding:0;border:0;background:none}#stage>#mobileNarration #signalStrength{font-size:11px;max-width:100px}#stage>#mobileNarration .fanMeter,#stage>#mobileNarration .nightRoutine,#stage>#mobileNarration .unwrapSteps{font-size:11px;position:relative;inset:auto;display:flex;gap:5px;padding:0}.landscapeGame{height:100svh;overflow:hidden}.landscapeGame nav{display:flex;flex-wrap:nowrap;width:auto}.landscapeGame main{overflow:visible}.portraitGame{overflow-x:hidden}.portraitGame header{padding:9px 3vw}.portraitGame nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:5px}.portraitGame .brand{font-size:22px}.portraitGame .brand small{font-size:7px}.portraitGame nav button{font-size:11px;padding:6px;min-height:31px}.portraitGame .hud strong{font-size:12px}.portraitGame .growth{font-size:10px}.portraitGame footer>span{display:none}.portraitGame footer{justify-content:center}.portraitGame #stage>#mobileNarration{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto 17px;padding:5px 7px;gap:2px}.portraitGame #stage>#mobileNarration #caption{grid-column:1!important;grid-row:1;font-size:13px!important;padding:10px 8px 12px!important}.portraitGame #stage>#mobileNarration #mobileActions{grid-column:1!important;grid-row:2;max-width:none;gap:5px}.portraitGame #stage>#mobileNarration #instruction{grid-row:3;font-size:10px!important}.portraitGame #stage>#mobileNarration .iceControls button{font-size:11px;padding:6px 7px}.portraitGame #stage>#mobileNarration .talkActions small{font-size:11px}.portraitGame #stage>#mobileNarration .talkActions button{font-size:15px;padding:5px 7px;min-height:32px}
.realPersonalProp{font-size:0!important;height:23%;width:13%;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;z-index:23;touch-action:none}.realPersonalProp svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.realPersonalProp .magicVolume{pointer-events:none}.bookAura{filter:drop-shadow(0 0 6px #fff1a4) drop-shadow(0 0 16px #dfb45b)!important;animation:bookSignal 1.4s infinite alternate!important}.bookAura:after{content:'✦';position:absolute;right:-7%;top:-5%;font-size:27px;color:#fff8bf;text-shadow:0 0 12px #d7a454;pointer-events:none}#rummage2{width:11%}#stage[data-scene="6"] #actor-jiameng{left:0%!important;bottom:2%!important;width:25%!important}#stage[data-scene="6"] #packBag{left:80%;top:60%;width:17%;height:28%;padding:0}#stage[data-scene="6"] .packDesk{opacity:.55}#stage[data-scene="6"] .looseItem{height:23%}#stage[data-scene="6"] .looseItem.inside{animation:packAway .5s both!important}.takingBite{animation:iceNibble .45s both!important}.returningIce{animation:returnIce .5s both!important}
.smoothTablet{overflow:visible}.smoothTablet .mapSurface{position:absolute;inset:10px!important;width:auto!important;height:auto!important;overflow:hidden;border-radius:10px;background:#c9d9b3;touch-action:none}.airportMap{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.signalTarget{position:absolute;left:68%;top:55%;width:14%;height:24%;max-width:38px;transform:translate(-50%,-50%);z-index:3;filter:drop-shadow(0 0 7px #fff2b4);pointer-events:none}.signalTarget svg{width:100%;height:100%;display:block}.searchCircle{position:absolute;left:25%;top:67%;width:36%;aspect-ratio:1;height:auto;transform:translate(-50%,-50%);padding:0;border:3px solid #fffbdd;border-radius:50%;background:#fff9cf29;box-shadow:0 0 0 7px #fffbdd25,inset 0 0 14px #fff8cc55;z-index:4;touch-action:none;transition:width .15s,box-shadow .2s;cursor:grab}.searchCircle i{position:absolute;left:46%;top:46%;width:8%;height:8%;border-radius:50%;background:#fff8c3}.searchCircle.located{border-color:#f8d47f;background:#fff2b533;box-shadow:0 0 0 9px #fff2a644}.smoothTablet .pin{position:absolute!important;inset:auto!important}.postcard{perspective:600px;overflow:visible!important;background:none!important;padding:0!important;box-shadow:none!important;border:0!important}.postcardFace,.postcardBack{position:absolute;inset:0;border:4px solid #fff9e7;border-radius:6px;box-shadow:1px 4px 3px #60514a33;overflow:hidden;transition:transform .4s,opacity .35s;backface-visibility:hidden}.postcardFace{opacity:0;transform:rotateY(-180deg);background:#fff9e7}.postcardFace img{width:100%!important;height:100%!important;object-fit:cover!important}.postcardBack{display:block;background:linear-gradient(110deg,#f9edd2,#fff9e5);transform:rotateY(0)}.postcardBack:before{content:'';position:absolute;left:49%;top:12%;height:76%;border-left:1px solid #b7a584}.postcardBack small{position:absolute;left:5%;top:9%;font-family:Georgia,serif;font-size:8px;letter-spacing:1px;color:#a18c6d}.stamp{position:absolute;right:8%;top:8%;width:20%;height:29%;border:2px dotted #af977b;background:#e5dbc0}.stamp svg{width:100%;height:100%;display:block}.postmark{position:absolute;right:22%;top:17%;width:22%;height:26%;border:2px solid #aa8c7555;border-radius:50%;rotate:-15deg}.addressLines{position:absolute;right:7%;top:51%;width:34%;height:35%;background:repeating-linear-gradient(0deg,transparent 0 25%,#bda889 26% 29%)}.turnedPostcard .postcardFace{opacity:1;transform:rotateY(0)}.turnedPostcard .postcardBack{opacity:0;transform:rotateY(180deg)}.postboxDistant .postcard{filter:brightness(.95)}.postboxClose .background{animation:postboxApproach .75s both}.phonePickup{animation:phonePickup .6s both!important}
.tmiProp{right:2%;left:auto;top:2%;width:10%;height:18%;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;z-index:18;filter:drop-shadow(0 0 6px #fff7bc);animation:tmiInvite 3s infinite alternate;min-width:40px;min-height:42px}.tmiProp svg,.tmiProp img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.tmiProp.board{right:2%;top:6%;width:15%;height:25%}.photoFrameProp{left:3%;top:25%;width:15%;height:22%;padding:0;background:none!important;border:0;box-shadow:none;z-index:22}.photoFrameArt{position:absolute;inset:5%;display:block;background:#d6b687;border:7px ridge #c5a274;border-radius:7px;rotate:-7deg;box-shadow:2px 5px 2px #6d594333}.photoFrameArt:after{content:'';position:absolute;left:30%;right:30%;bottom:-15%;height:15%;background:#a88a68;border-radius:3px}.photoFrameArt img{display:block;width:100%;height:100%;object-fit:cover}.tmiReading{background:#fff5d9;border:7px solid #c9ac7b;border-radius:15px;padding:22px;color:#63513f}.tmiReading h2{font-size:23px}.tmiReading p{font-size:16px;line-height:1.9;margin:14px 0;padding-bottom:12px;border-bottom:1px dashed #cab993}.tmiPhoto{width:100%;max-height:230px;object-fit:contain;border:6px solid white;background:white;rotate:-1deg;margin:4px 0 15px}
.relicArt{display:inline-flex;width:42px;height:46px;align-items:center;justify-content:center}.relicArt svg,.relicArt img{display:block;max-width:100%;max-height:100%;object-fit:contain}.fiveKeepsakes>span{width:47px;height:52px;padding:3px}.summonCollection{text-align:center}.summonCollection h2{font-size:24px}.summonPortraitTarget{display:flex;align-items:center;justify-content:center;border:3px solid #d2bb87;border-radius:18px;background:#f4efdf;position:relative;overflow:hidden}.summonCollection .summonPortraitTarget{width:min(280px,70vw);margin:15px auto}.dotPortrait{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;image-rendering:pixelated;border-radius:12px}.summonTokens{display:flex;justify-content:center;gap:9px;align-items:stretch;flex-wrap:wrap}.summonToken{display:flex;flex-direction:column;align-items:center;justify-content:center;width:79px;padding:7px 4px;border:2px solid #e4d3aa;border-radius:13px;background:#fff9e7;touch-action:none}.summonToken small{font-size:10px;line-height:1.4;margin-top:4px}.summonToken.inserted{background:#e2eccd;border-color:#a1b887;box-shadow:0 0 14px #c5dda477}.summonToken.inserted:after{content:'✓';color:#789168;font-size:13px}.summonToken:disabled{filter:grayscale(1);opacity:.35}.summonCollection>p{font-size:14px;line-height:1.6}.summonCount{font-size:14px;font-weight:bold;color:#8a7752}.summoningAltar{position:absolute;left:20%;right:8%;top:4%;height:66%;background:linear-gradient(120deg,#fff8df,#f0ead5);border:4px solid #dfc58c;border-radius:23px;z-index:24;display:grid;grid-template-columns:44% 56%;grid-template-rows:32px minmax(0,1fr) 20px;gap:4px;padding:10px;box-shadow:0 7px 0 #826f5333}.summoningAltar h2{grid-column:1/-1;margin:0;text-align:center;font-size:19px;color:#7c6885}.summoningAltar .summonPortraitTarget{grid-column:1;grid-row:2;align-self:center;aspect-ratio:1;max-height:100%}.summoningAltar .summonTokens{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;align-content:center}.summoningAltar .summonToken{width:auto;padding:3px;min-height:0}.summoningAltar .relicArt{width:31px;height:34px}.summoningAltar .summonToken small{font-size:9px}.summoningAltar .summonCount{grid-column:1/-1;text-align:center}.summonCharging .summoningAltar{animation:summonGlow 1.9s both}.summoningWorld .finalLeaf .dotPortrait{max-width:100%;height:auto;max-height:82%;width:auto;aspect-ratio:1}.summoningWorld .finalLeaf>small{font-size:11px;text-align:center}.finishedPanel .finishedPortrait{display:block;width:100px;height:100px;border:3px solid #d6c79f;border-radius:15px;overflow:hidden}.finishedPanel{gap:9px}.slot .relicArt{width:40px;height:43px}
@keyframes bookSignal{to{filter:drop-shadow(0 0 12px #fff1a4) drop-shadow(0 0 25px #dfb45b)}}@keyframes packAway{to{scale:.2;opacity:0;rotate:15deg}}@keyframes returnIce{to{translate:90px 40px;scale:.3;opacity:0}}@keyframes postboxApproach{from{transform:scale(1)}to{transform:scale(1.045)}}@keyframes phonePickup{to{scale:1.8;translate:-10px -25px;opacity:0}}@keyframes tmiInvite{to{filter:drop-shadow(0 0 10px #fff1aa);translate:0 -2px}}@keyframes summonGlow{20%,60%{box-shadow:0 0 50px 20px #fff0a2;filter:brightness(1.15)}80%{scale:1.08;filter:brightness(1.7)}100%{scale:.7;opacity:0}}
@media(max-width:600px){.realPersonalProp{height:24%;width:15%}.tmiProp{width:13%;height:16%}.tmiProp.board{width:18%;height:23%}.summoningAltar{left:3%;right:3%;top:3%;height:69%;padding:7px;grid-template-rows:28px minmax(0,1fr) 18px}.summoningAltar h2{font-size:15px}.summoningAltar .summonToken small{font-size:8px}.summoningAltar .relicArt{width:25px;height:29px}.summoningAltar .summonToken.inserted:after{font-size:10px}.summoningAltar .summonTokens{gap:3px}.summonToken{width:64px}.summonToken small{font-size:9px}.tmiReading{padding:15px;border-width:5px}.tmiReading h2{font-size:20px}.tmiReading p{font-size:15px}.smoothTablet .mapSurface{inset:7px!important}.postcardBack small{font-size:6px;letter-spacing:0}.postcardFace,.postcardBack{border-width:3px}.finishedPanel .finishedPortrait{width:78px;height:78px}.portraitGame #stage>#mobileNarration .mapControl>button{font-size:11px;padding:5px 8px}.portraitGame #stage>#mobileNarration #signalStrength{font-size:10px}.photoFrameArt{border-width:5px}}
@media(max-height:500px) and (orientation:landscape){header{padding:4px 2vw}.brand{font-size:19px}.brand small{display:none}nav button{font-size:10px;min-height:26px;padding:4px 6px}.hud{min-height:28px;padding:4px 8px 10px}.hud strong{font-size:11px}.growth{font-size:9px}.ribbon{font-size:10px;min-height:16px}footer{min-height:24px}footer button{font-size:10px;min-height:24px}#stage>#mobileNarration{padding:4px 7px;grid-template-rows:minmax(0,1fr) 15px}#stage>#mobileNarration #caption{font-size:12px!important;padding:10px 7px 11px!important}#stage>#mobileNarration #instruction{font-size:9px!important}#stage>#mobileNarration .iceControls button,#stage>#mobileNarration .talkActions button{font-size:10px;min-height:28px;padding:4px 6px}.sceneLabel{padding:5px 8px}.sceneLabel h1{font-size:13px}}
@media(prefers-reduced-motion:reduce){.bookAura,.tmiProp,.summonCharging .summoningAltar{animation:none!important}}
.inventoryProp{display:block;width:52px;height:57px;position:relative}.inventoryProp svg{display:block;width:100%;height:100%}.inventoryProp .magicVolume{width:100%;height:100%}
.sideRailGame #world.readingObject .blessingPhone{padding:17px 14px 8px}.sideRailGame #world.readingObject .phoneInk{font-size:13px;line-height:1.55}.sideRailGame #world.readingObject .phoneInk small{font-size:11px;margin-top:6px}.sideRailGame #world.readingObject .blessingPhone button{font-size:12px;min-height:28px;padding:4px 9px;margin-top:6px}.sideRailGame #world.readingObject .keepsakeCard{padding:2% 4%}.sideRailGame #world.readingObject .keepsakeWriting{font-size:14px;line-height:1.55}
.finishedPanel{display:grid;grid-template-columns:minmax(0,1fr) 110px;grid-template-rows:auto auto auto auto auto;align-content:center;gap:8px;padding:18px 24px}.finishedPanel>small:first-child{grid-column:1;grid-row:1}.finishedPanel>h1{grid-column:1;grid-row:2;font-size:29px}.finishedPanel>.unfinished{grid-column:1;grid-row:3;font-size:22px}.finishedPanel .finishedPortrait{grid-column:2;grid-row:1/4;width:110px;height:110px;align-self:center;justify-self:center;flex-shrink:0}.finishedPanel>.fullRow{grid-column:1/-1;grid-row:4;margin:8px 0 0;gap:6px}.finishedPanel>.fullRow button{font-size:13px;min-height:36px;padding:6px 9px}.finishedPanel>.waterproof{grid-column:1/-1;grid-row:5;font-size:11px}.finishedPanel>.epilogueBook{left:1%;bottom:1%;width:40px;height:45px}.finishedPanel>.epilogueTea{left:auto;right:1%;bottom:1%;width:24px;height:42px;min-height:0}
.portraitGame .finishedPanel{grid-template-columns:minmax(0,1fr) 80px;padding:14px;gap:7px}.portraitGame .finishedPanel>h1{font-size:23px}.portraitGame .finishedPanel>.unfinished{font-size:18px}.portraitGame .finishedPanel .finishedPortrait{width:80px;height:80px}.portraitGame .finishedPanel>.fullRow button{font-size:11px;padding:6px}.sideRailGame #world.readingObject .inscribedStick{padding:8px 12px;width:30%;left:35%}.sideRailGame #world.readingObject .inscribedStick p{font-size:14px;line-height:1.5}.sideRailGame #world.readingObject .inscribedStick small{font-size:11px;margin:4px}.sideRailGame #world.readingObject .inscribedStick button{font-size:11px;min-height:27px;padding:3px 9px}.sideRailGame .finishedPanel{grid-template-columns:minmax(0,1fr) 80px;gap:4px;padding:9px 20px}.sideRailGame .finishedPanel>h1{font-size:22px}.sideRailGame .finishedPanel>.unfinished{font-size:16px}.sideRailGame .finishedPanel .finishedPortrait{width:78px;height:78px}.sideRailGame .finishedPanel>.fullRow{margin-top:3px}.sideRailGame .finishedPanel>.fullRow button{min-height:27px;padding:4px 6px;font-size:11px}.sideRailGame .finishedPanel>small{font-size:10px}
.sideRailGame header{height:36px;min-height:36px;flex-wrap:nowrap;padding:3px 2vw}.sideRailGame .brand{font-size:19px;white-space:nowrap}.sideRailGame .brand small{display:none}.sideRailGame nav{width:auto!important;display:flex!important;gap:4px;flex-wrap:nowrap}.sideRailGame nav button{min-height:26px;font-size:10px;padding:3px 6px}.sideRailGame main{margin:4px auto;gap:3px}.sideRailGame .hud{height:31px;min-height:31px;padding:3px 9px 8px;flex-wrap:nowrap}.sideRailGame .ribbon{height:15px;min-height:15px;padding:0 5px}.sideRailGame footer{height:27px;min-height:27px;flex-wrap:nowrap;padding:0}.sideRailGame footer>span{width:auto;min-width:0;flex:1;font-size:10px}.sideRailGame footer button{white-space:nowrap;min-height:24px;font-size:10px;padding:3px 6px}.sideRailGame #world{inset:0 235px 0 0!important}.sideRailGame #effects{inset:0 235px 0 0!important;width:calc(100% - 235px)!important;height:100%!important}.sideRailGame #stage>#mobileNarration{left:auto!important;top:0!important;right:0!important;bottom:0!important;width:235px;height:100%;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto auto;border-top:0;border-left:3px solid white;padding:9px 8px;gap:8px}.sideRailGame #stage>#mobileNarration #caption{grid-column:1!important;grid-row:1;font-size:13px!important;max-height:100%;align-self:start;padding:16px 8px 16px!important}.sideRailGame #stage>#mobileNarration #mobileActions{grid-column:1!important;grid-row:2;max-width:none;gap:5px}.sideRailGame #stage>#mobileNarration #instruction{grid-row:3;white-space:normal;font-size:10px!important}.sideRailGame #stage>#mobileNarration .mapControl{flex-wrap:wrap;justify-content:center}.sideRailGame #stage>#mobileNarration .talkActions button{min-height:30px;font-size:12px;padding:5px}.sideRailGame #stage>#mobileNarration .talkActions small{font-size:10px}.sideRailGame .sceneLabel{padding:4px 7px}.sideRailGame .sceneLabel h1{font-size:12px}.sideRailGame .sceneLabel small{font-size:7px}
#stage[data-scene="8"] #actor-danni{left:60%!important;width:23%!important;bottom:5%!important}#stage[data-scene="8"] #actor-jiyu{left:78%!important;width:23%!important;bottom:5%!important}#stage[data-scene="8"] .petHead{width:11%;bottom:0%}#stage[data-scene="8"] .samoyedEgg{left:39%;top:65%;width:13%;height:29%;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;filter:drop-shadow(0 0 5px #fff3b1)}.samoyedEgg img{object-fit:contain}.portraitGame #stage[data-scene="8"] #actor-danni{left:51%!important;width:29%!important}.portraitGame #stage[data-scene="8"] #actor-jiyu{left:74%!important;width:29%!important}.portraitGame #stage[data-scene="8"] .petHead{width:15%}.portraitGame #stage[data-scene="8"] .pet0{left:5%}.portraitGame #stage[data-scene="8"] .pet1{left:62%}.portraitGame #stage[data-scene="8"] .pet2{left:80%}
