/* Character detail has its own desktop and phone compositions. */
.ya110-character-detail .ya110-character-sheet{align-items:start!important;margin-top:28px!important}
.ya110-character-detail .ya110-character-sheet__portrait{height:clamp(620px,58vw,800px)!important;min-height:0!important;align-self:start}
.ya110-character-detail .ya110-character-sheet__main img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important}
.ya110-character-detail .ya120-look-studio{align-items:start!important;margin-top:42px!important}
.ya110-character-detail .ya120-look-stage{position:relative!important;top:auto!important;height:clamp(580px,68vh,730px)!important;min-height:0!important;align-self:start}
.ya110-character-detail .ya120-look-stage [data-ya71-preview]{position:absolute!important;inset:68px 12px 12px!important;width:auto!important;height:auto!important;max-width:none!important;display:block!important;overflow:hidden!important}
.ya110-character-detail .ya120-look-stage [data-ya71-preview] img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important}
.ya110-character-detail .ya120-look-picker{min-width:0;overflow:hidden}
.ya110-character-detail .ya120-look-picker__head h2{font-size:clamp(1.7rem,2.4vw,2.9rem)!important;line-height:1.3}
@media(max-width:1000px){
 .ya110-character-detail .ya110-character-sheet,.ya110-character-detail .ya120-look-studio{width:min(760px,calc(100% - 24px))!important;grid-template-columns:minmax(0,1fr)!important}
 .ya110-character-detail .ya110-character-sheet__portrait{height:clamp(460px,90vw,680px)!important}
 .ya110-character-detail .ya120-look-stage{height:clamp(480px,92vw,680px)!important}
 .ya110-character-detail .ya120-look-studio{gap:0!important}
 .ya110-character-detail .ya120-look-picker{border-radius:0 0 30px 30px}
}
@media(max-width:600px){
 .ya110-character-detail .ya110-character-sheet__portrait{height:clamp(390px,112vw,570px)!important}
 .ya110-character-detail .ya120-look-stage{height:clamp(390px,115vw,570px)!important}
 .ya110-character-detail .ya120-look-stage [data-ya71-preview]{inset:58px 6px 8px!important}
 .ya110-character-detail .ya120-look-stage__caption{left:14px;top:15px;padding:9px 12px;font-size:.61rem}
 .ya110-character-detail .ya120-look-picker{padding:22px 16px}
 .ya110-character-detail .ya120-look-picker__head h2{font-size:clamp(1.75rem,7vw,2.4rem)!important}
}

/* Keep the notebook compact; social links have their own full-width row. */
.ya110-character-detail .ya110-character-sheet__book{padding:32px 34px!important}
.ya110-character-detail .ya110-character-sheet__book h1{margin:12px 0!important;font-size:clamp(3rem,5.2vw,5rem)!important}
.ya110-character-detail .ya110-character-tags{margin:18px 0!important}
.ya110-character-detail .ya110-profile-fields{margin:22px 0!important}
.ya110-character-detail .ya110-character-sheet{row-gap:18px!important}
.ya140-profile-connect{width:min(1680px,96vw);margin:18px auto 0}
.ya140-profile-connect .ya120-connect-card{display:flex;align-items:center;flex-wrap:wrap;gap:16px 26px;margin:0;padding:22px 30px}
.ya140-profile-connect .ya120-connect-card small{display:none}
.ya140-profile-connect .ya120-connect-card h3{margin:0;font-size:1.35rem}
.ya140-profile-connect .ya120-socials{margin:0;flex:1}
@media(min-width:1001px){.ya110-character-detail .ya110-character-sheet__portrait{position:sticky;top:118px}}
@media(max-width:1000px){.ya140-profile-connect{width:min(760px,calc(100% - 24px))}.ya110-character-detail .ya110-character-sheet__portrait{position:relative;top:auto}}
@media(max-width:600px){.ya110-character-detail .ya110-character-sheet__book{padding:26px 22px!important}.ya140-profile-connect .ya120-connect-card{padding:20px 18px}.ya140-profile-connect .ya120-socials{flex-basis:100%}}
/* Keep the portrait at the beginning of the notebook, including legacy position overrides. */
.ya110-character-detail .ya110-character-sheet{min-height:0!important;padding-bottom:0!important}
@media(min-width:1001px){.ya110-character-detail .ya110-character-sheet__portrait{position:sticky!important;top:118px!important}}
@media(max-width:1000px){.ya110-character-detail .ya110-character-sheet__portrait{position:relative!important;top:auto!important}}
