/* Place browser controls on the unchanged 800 x 600 native creation artwork. */
#creation{padding:12px;max-width:calc(100vw - 20px);max-height:calc(100svh - 20px);overflow-x:hidden;overflow-y:auto}
#creation .dialog-head{gap:12px;margin-bottom:10px}
#creation .dialog-head h2{font-size:20px;line-height:1.4}
#creation-shell{position:relative;margin-inline:auto;overflow:hidden;max-width:100%}
#creation-form{position:relative;width:100%;height:100%;margin:0}
#creation-frame{position:absolute;left:0;top:0;transform-origin:top left}
#creation-portrait{left:404px;top:104px;width:136px;height:136px;object-fit:cover;object-position:center;border-radius:50%;background:#29185a}
#creation-role{top:248px;font-size:14px;line-height:22px;white-space:nowrap}
#creation-frame .creation-style{left:140px;top:337px;width:179px;height:83px;display:grid;grid-template-rows:22px 22px 22px;gap:8px;line-height:22px;align-content:start;justify-content:stretch;font-size:13px}
#creation-frame .creation-style>*{display:block;margin:0;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent}
#creation-frame .creation-style span{font-size:12px}
#creation-frame .creation-style small{font-size:11px}
.creation-name-label{left:156px;top:453px;height:20px;line-height:20px;font-size:14px}
#creation-name{left:137px;top:479px;width:186px;height:24px;padding:0 3px;line-height:24px}
#creation-stat{left:500px;top:314px;width:94px;height:189px;padding:0;border:0;border-radius:0;background:none;font-size:12px}
#creation-stat>div{display:flex;justify-content:flex-end;gap:0;line-height:18px;height:18px}
#creation-stat>div:nth-child(4){margin-top:7px}
#creation-stat span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#creation-stat b{font-size:12px;font-weight:400}
#creation-description{left:87px;top:529px;width:454px;max-height:51px;line-height:17px;font-size:11px;white-space:pre-line;overflow:hidden}
#creation-mobile{position:absolute;left:0;right:0;display:none}
#creation-mobile-summary{font-size:11px;margin:0;color:#d5cef0;line-height:1.8}
#creation-error{margin:8px 0 0;max-width:100%;overflow-wrap:anywhere}
#creation .dialog-note{max-width:100%;margin:8px 0 0;overflow-wrap:anywhere}
@media(max-width:599px){
 #creation .dialog-head h2{font-size:16px}
 #creation-mobile{display:flex;flex-direction:column;gap:8px;padding:12px 4px 0}
 #creation-mobile .mobile-role-arrows{display:flex;justify-content:space-between;gap:10px}
 #creation-mobile button{padding:8px 12px;font-size:13px}
 #creation-mobile strong{font-size:13px;line-height:1.5}
 #creation-mobile>label{font-size:12px}
 #creation-name.mobile-creation-name{position:static;width:100%;height:40px;padding:7px;font-size:16px;line-height:24px;background:#fff;color:#211943}
 #creation-mobile>.primary{margin-top:0;min-height:40px}
 #confirm-create,.creation-name-label{display:none}
}

#creation-sprite{align-items:end}#creation-sprite canvas{width:126px;height:126px;object-fit:contain}.character-card canvas{width:100px;height:100px;object-fit:contain}.portrait canvas{object-fit:contain}
@media(max-width:610px){.character-card canvas{width:82px;height:82px}}
