/* Shared dialogue crop. Each image is normalized from the visible crown to knees. */
body.game-theme .novel-figure.figure-self,
body.game-theme .novel-figure.figure-dean,
body.game-theme .novel-figure.figure-guest,
body.game-theme .simulator-layout .campus-world .campus-person.dialogue-actor {
  height:min(80svh,900px);width:min(43vw,620px);max-width:none;
}
body.game-theme.summer-onboarding .novel-figure.figure-self,
body.game-theme.summer-onboarding .novel-figure.figure-dean {
  height:min(84svh,940px);left:1vw;width:46vw;
}
body.game-theme .novel-figure.figure-dean>.novel-person {
  max-height:none!important;max-width:none!important;object-position:50% 0;
}
/* The corrected tied hairstyle is one shared head; the original clothing masks stay intact. */
.avatar-tied-clean>.avatar-base{clip-path:inset(17.5% 0 0 0)}
.avatar-tied-clean>.avatar-hair{display:none}
.illustrated-avatar .avatar-replacement-head{position:absolute;top:2.1%;left:50%;translate:-50% 0;height:17.2%;width:auto;aspect-ratio:377/600;display:block;z-index:1}
.illustrated-avatar .avatar-replacement-head>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block;max-width:none}
.avatar-replacement-head .replacement-hair{mask-image:url('assets/male-tied-head-v56-hair.png');-webkit-mask-image:url('assets/male-tied-head-v56-hair.png');mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.avatar-tied-clean>.avatar-clothes,.avatar-tied-clean>.avatar-pants{z-index:2}
/* Seated people and foreground furniture use the same image coordinates. */
.scene-seated-screen:before{display:none!important}
.scene-seated-screen:not(.scene-art-ready) .scene-pan-canvas{visibility:hidden}
.scene-seated-actor{position:absolute;left:26%;top:28%;height:105%;width:auto;aspect-ratio:2/3;translate:-50% 0;pointer-events:none;z-index:1}
.scene-seated-actor>img{width:100%;height:100%;display:block;object-fit:contain;filter:none;border:0;outline:0;box-shadow:none}
.scene-seated-foreground{position:absolute;inset:0;pointer-events:none;z-index:2;background-image:var(--summer-art);background-size:100% 100%;background-repeat:no-repeat}
.seated-cafe-cosy .scene-seated-foreground{clip-path:polygon(36.3% 59.3%,62.9% 59.3%,81.3% 80.5%,81.3% 86%,17.6% 86%,17.6% 80.5%)}
.seated-cafe-evening .scene-seated-actor{left:25%;top:31%;height:106%}
.seated-cafe-evening .scene-seated-foreground{clip-path:polygon(27% 70%,33% 65%,43% 63%,61% 63%,74% 69%,77% 75%,80% 100%,20% 100%,24% 74%)}
.seated-cinema-hall .scene-seated-actor{left:22%;top:25%;height:105%}
.seated-cinema-hall .scene-seated-foreground{display:none}
@media(max-width:760px){
 body.game-theme .novel-figure.figure-self,body.game-theme .novel-figure.figure-dean,body.game-theme .novel-figure.figure-guest,
 body.game-theme .simulator-layout .campus-world .campus-person.dialogue-actor{top:208px;bottom:auto;height:34svh;width:86vw;left:0}
 body.game-theme.summer-onboarding .novel-figure.figure-self,body.game-theme.summer-onboarding .novel-figure.figure-dean{top:85px;height:49svh;width:94vw;left:0}
}
@media(max-width:900px) and (max-height:550px){
 body.game-theme .novel-figure.figure-self,body.game-theme .novel-figure.figure-dean,body.game-theme .novel-figure.figure-guest,
 body.game-theme .simulator-layout .campus-world .campus-person.dialogue-actor{top:76px;bottom:auto;height:calc(100svh - 76px);width:47vw;left:5vw}
 body.game-theme.summer-onboarding .novel-figure.figure-self,body.game-theme.summer-onboarding .novel-figure.figure-dean{top:65px;height:calc(100svh - 65px);width:47vw;left:0}
}
