/* Shared A/B layout: constrain against the clipping carousel, not just the screen. */
.lobby-v13 #chapter-deck .depth-card.chapter-card{
 max-height:calc(100% - 18px);
 max-width:calc(100vw - 32px);
 min-height:0;
}
@media(max-width:1023px) and (max-height:760px){
 .lobby-v13 #chapter-deck .depth-card.chapter-card{grid-template-rows:minmax(40px,1fr) auto}
 .lobby-v13 #chapter-deck .chapter-body{min-height:0;padding-top:10px;padding-bottom:13px}
 .lobby-v13 #chapter-deck .chapter-body h3{font-size:clamp(19px,3vw,29px);overflow-wrap:anywhere}
 .lobby-v13 #chapter-deck .chapter-card-foot{margin-top:6px}
}
