#child-profiles{max-width:850px;margin:auto}#child-profile-form{max-width:650px}#child-profile-form>label{display:block;margin:18px 0 7px}#child-profile-form>input{font:inherit;font-size:20px;color:var(--ink);background:#fff;border:1px solid #b6a9c9;border-radius:4px;min-height:48px;padding:12px;width:100%}#child-profile-form .avatar-picker{margin-top:20px}#child-profiles .word-row{gap:15px;flex-wrap:wrap}#child-profile-link{display:inline-block;min-height:44px;padding:8px 0}#child-profile-error{color:#a04c3e}#child-profiles .actions{flex-wrap:wrap}
#child-profiles .word-row>div{min-width:0;flex:1 1 150px;overflow-wrap:anywhere}

/* Approved companion posters in personal About Me clues; artwork stays intact. */
.about-personal-art{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}.about-personal-art img.object-art{object-fit:contain;width:100%;height:calc(100% - 28px);min-height:0}.about-personal-art figcaption{font:600 18px var(--ui);color:var(--ink);line-height:28px;max-width:100%;overflow-wrap:anywhere}

header button.profile{min-height:44px;padding:0;font:600 16px var(--ui);flex-shrink:0}
#child-profile-popover[hidden]{display:none}
#child-profile-popover{position:fixed;z-index:100;top:var(--profile-menu-top,100px);right:max(16px,env(safe-area-inset-right));width:min(320px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));max-height:calc(100dvh - var(--profile-menu-top,100px) - 16px - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid var(--line);border-radius:4px;padding:8px;color:var(--ink)}
.child-picker-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:10px;text-align:left;background:#fff;border-radius:4px}.child-picker-option>span{min-width:0;overflow-wrap:anywhere}.child-picker-option strong,.child-picker-option small{display:block}.child-picker-option small{font-size:12px;color:var(--muted)}.child-picker-option[aria-current="true"]{background:var(--violet-tint)}.child-picker-option .child-picker-active{color:var(--violet);flex-shrink:0}.child-picker-manage{display:flex;align-items:center;min-height:44px;padding:10px;border-top:1px solid var(--line);font-size:14px;color:var(--violet)}.child-picker-error{font-size:13px;margin:0;color:#a04c3e}.child-picker-error:not(:empty){padding:8px}

.child-delete-link{background:transparent;padding:8px 0;min-height:44px;font-size:12px;text-decoration:underline}
#child-delete-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;border:1px solid var(--line);border-radius:4px;padding:24px;background:#fff;color:var(--ink)}#child-delete-dialog::backdrop{background:rgba(34,36,79,.3)}#child-delete-dialog h2{font-size:26px}#child-delete-dialog .mini{overflow-wrap:anywhere}#child-delete-dialog .actions{flex-wrap:wrap}#child-delete-error{color:#a04c3e}#child-delete-dialog .btn{min-height:44px}
