/* Creation-only composition. Gameplay/prologue renderer and original assets stay intact. */
.morning-room {--seat-x:65%;--seat-floor:94%;--seat-width:34%;height:clamp(240px,calc(100vh - 330px),480px);height:clamp(240px,calc(100svh - 330px),480px);background-position:center bottom;}
.morning-room[data-family=rich] {--seat-x:68%;--seat-floor:94%;--seat-width:33%;background-position:center bottom;}
.morning-room[data-family=poor] {--seat-x:80%;--seat-floor:97%;--seat-width:31%;background-position:center bottom;}
.morning-room:after {background:none;}
.morning-room .age-arrow {top:36%;transform:translateY(-50%);min-width:44px;}
.morning-room .morning-figure {z-index:2;}
.morning-room .morning-figure .avatar.reference-portrait.scene-character[data-polished=true],
.morning-room .morning-figure[data-framing=full] .avatar.reference-portrait.scene-character[data-polished=true] {
  left:var(--seat-x)!important;right:auto!important;top:auto!important;
  bottom:calc(100% - var(--seat-floor))!important;transform:translateX(-50%)!important;
  width:min(var(--seat-width),calc(58vh - 191.4px))!important;width:min(var(--seat-width),calc(58svh - 191.4px))!important;height:auto!important;aspect-ratio:2/3;max-width:none;
  filter:drop-shadow(1px 2px 1px #3424182b)!important;
}
.morning-room .morning-figure .scene-character[data-polished=true]::before {
  z-index:0;left:12%;right:8%;bottom:1.7%;height:5%;transform:skewX(18deg);
  background:radial-gradient(ellipse at center,#38251665 0%,#38251625 42%,transparent 72%);
}
.morning-room .scene-character[data-polished=true] img {position:relative;z-index:1;}
.morning-room .morning-figure[data-framing=bust] .avatar.reference-portrait.scene-character[data-polished=true] {
  left:50%!important;right:auto!important;top:24px!important;bottom:auto!important;
  width:min(94%,600px)!important;transform:translate(-50%,calc(var(--portrait-top,0) * -100%))!important;
  aspect-ratio:2/3;height:auto!important;
}
.morning-room .morning-figure[data-framing=bust] .scene-character::before {display:none;}
.morning-room .portrait-name {background:#173647d9;padding:7px 12px;border-radius:9px;bottom:12px;left:14px;right:auto;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:none;}
@media(max-width:700px){
 .morning-room {height:auto;aspect-ratio:1.18;--seat-width:39%;--seat-x:62%;--seat-floor:96%;}
 .morning-room .age-arrow{top:32%;}
 .morning-room[data-family=rich] {--seat-width:38%;--seat-x:65%;--seat-floor:96%;}
 .morning-room[data-family=poor] {--seat-width:35%;--seat-x:80%;--seat-floor:98%;}
 .morning-room .morning-figure .avatar.reference-portrait.scene-character[data-polished=true],
 .morning-room .morning-figure[data-framing=full] .avatar.reference-portrait.scene-character[data-polished=true]{width:var(--seat-width)!important;}
 .morning-room .morning-figure[data-framing=bust] .avatar.reference-portrait.scene-character[data-polished=true]{width:96%!important;top:16px!important;}
 .morning-room .portrait-name {font-size:10px;bottom:8px;left:8px;padding:5px 8px;}
}
@media(min-width:701px) and (max-height:760px){
 .morning-room .room-note{top:12px;left:14px;padding:6px 10px;font-size:7px;}
 .morning-room .room-note strong{font-size:17px;}
 .morning-room .room-note span{display:none;}
}
@media(min-width:701px) and (max-height:450px){
 .morning-room{height:360px;}
 .morning-room .morning-figure[data-framing=full] .avatar.reference-portrait.scene-character[data-polished=true]{width:min(var(--seat-width),208px)!important;}
}
