body.atelier-home .character-profile-open{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:12px 15px;border:1.5px solid #30282b;border-radius:14px;background:#fff5d2;color:#30282b;box-shadow:0 3px #30282b;font:inherit;font-size:14px;font-weight:800;cursor:pointer;margin-top:auto}.character-profile-open svg{width:20px;height:20px}.character-color-link{display:block;margin:15px auto 0;border:0;background:transparent;font:inherit;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:4px;color:#9e3857;cursor:pointer}.character-profile-open:hover{transform:translateY(-2px)}.character-profile-open:focus-visible,.character-color-link:focus-visible{outline:3px solid #df2346;outline-offset:4px}body.atelier-home dialog.profile-dialog{padding:0;width:min(940px,94vw);max-width:940px;max-height:90dvh;border:2px solid #30282b;border-radius:28px;box-shadow:0 10px 0 #30282b,0 25px 70px #30282b40;background:#fffdf9;color:#30282b;overflow:auto;scroll-behavior:auto}.profile-dialog::backdrop{background:#25202b80;backdrop-filter:blur(5px)}.profile-dialog .profile-close{position:sticky;display:grid;place-items:center;float:right;top:14px;margin:14px 15px -58px 0;z-index:8;width:43px;height:43px;border:1.5px solid #30282b;border-radius:50%;background:#fffdf8;color:#30282b;font-size:29px;cursor:pointer}.profile-hero{display:grid;grid-template-columns:240px 1fr;gap:30px;align-items:center;padding:35px 55px 30px 30px;background:var(--profile-color);border-bottom:1.5px solid #30282b}.profile-portrait{height:245px;display:grid;place-items:center}.profile-portrait .character-stage{width:220px!important;height:220px!important;min-height:0!important;margin:0!important}.profile-dialog .profile-eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;margin:0 0 15px}.profile-dialog .profile-origin{font-size:13px;margin:0 0 8px;color:#735966}.profile-dialog #profile-name{font-size:clamp(29px,4vw,45px);line-height:1.15;margin:0 0 15px}.profile-dialog .profile-motto{font-size:20px;line-height:1.5;margin:0;max-width:35ch}.profile-content{padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-section{padding:24px;border:1px solid #dfd3d8;border-radius:18px;background:#fff}.profile-section h3{display:flex;align-items:center;gap:12px;font-size:21px;line-height:1.3;margin:0 0 16px}.profile-section h3 svg{width:31px;height:31px;flex:none;color:#ac3c59;padding:4px;background:#fff0c9;border-radius:8px;box-sizing:content-box}.profile-section p{font-size:15px;line-height:1.85;margin:0}.profile-section-0{grid-column:1/-1;background:#fffaf0}.profile-section-3{background:#fff4f7}.profile-section-4{background:#eef7ef}.profile-section-5{grid-column:1/-1;background:var(--profile-color);border-color:#30282b}.profile-section-5 p{font-size:21px;font-weight:800;line-height:1.6}.profile-section small{display:block;font-size:13px;line-height:1.7;margin-top:15px}.profile-review{display:inline-block;font-size:10px;padding:5px 8px;background:#f3eef5;color:#755769;border-radius:5px;margin-bottom:13px}.profile-favorites{margin:0;display:grid;gap:12px}.profile-favorites>div{padding-bottom:10px;border-bottom:1px dashed #eadde3}.profile-favorites>div:last-child{border:0;padding:0}.profile-favorites dt{font-size:12px;font-weight:900;color:#a83154;margin:0 0 3px}.profile-favorites dd{margin:0;font-size:14px;line-height:1.65}.profile-editor-note{grid-column:1/-1;font-size:12px!important;line-height:1.7;margin:0;color:#7b6870}.profile-story-link{grid-column:1/-1;justify-self:start;color:#a82042;font-weight:800;text-underline-offset:5px}.profile-switch{display:flex;gap:10px;flex-wrap:wrap;padding:20px 30px 30px;border-top:1px solid #e6dce0;background:#fffaf0}.profile-switch button{padding:10px 17px;border:1px solid #b8a7ae;border-radius:22px;background:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;color:#30282b}.profile-switch button[aria-pressed=true]{background:#30282b;color:#fff}.profile-dialog button:focus-visible,.profile-dialog a:focus-visible{outline:3px solid #df2346;outline-offset:4px}@media(max-width:650px){body.atelier-home dialog.profile-dialog{width:94vw;max-height:92dvh;border-radius:21px}.profile-hero{grid-template-columns:1fr;gap:10px;text-align:center;padding:25px 22px}.profile-portrait{height:175px}.profile-portrait .character-stage{width:165px!important;height:165px!important}.profile-dialog .profile-motto{font-size:18px;margin:auto}.profile-content{grid-template-columns:1fr;padding:18px;gap:15px}.profile-section{padding:20px}.profile-section h3{font-size:20px}.profile-section p{font-size:14px}.profile-section-5 p{font-size:19px}.profile-switch{padding:18px;gap:8px}.profile-switch button{padding:10px 12px}.character-profile-open{font-size:12px!important;gap:7px!important;padding:11px 8px!important}.character-color-link{font-size:12px}}@media(prefers-reduced-motion:reduce){.character-profile-open:hover{transform:none}}

/* Readable profiles for shared reading at every age. */
body.atelier-home dialog.profile-dialog{width:min(1000px,94vw);max-width:1000px}.profile-content{gap:24px;padding:32px}.profile-section{padding:28px}.profile-section h3{font-size:25px;margin-bottom:20px}.profile-section p{font-size:18px;line-height:1.8;color:#30282b;max-width:61ch}.profile-section p+p{margin-top:17px}.profile-section-0 p{max-width:66ch}.profile-favorites{gap:17px}.profile-favorites dt{font-size:16px;color:#972a49;margin-bottom:7px}.profile-favorites dd{font-size:18px;line-height:1.75;color:#30282b}.profile-favorites>div{padding-bottom:16px}.profile-review{font-size:13px;line-height:1.5;background:#ece5ef;color:#4c3949;padding:7px 10px}.profile-dialog .profile-origin{font-size:16px;color:#594550}.profile-dialog .profile-eyebrow{font-size:12px;color:#30282b}.profile-section small{font-size:16px;line-height:1.8;color:#40343c}.profile-section-5 p{font-size:23px;max-width:54ch}.profile-editor-note{font-size:15px!important;line-height:1.8;color:#594750;max-width:75ch}.profile-story-link{font-size:18px}.profile-switch button{font-size:16px;min-height:45px}.profile-reading-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:18px 32px;border-bottom:1px solid #dfd3d8;background:#fffdf7;color:#4f3d46;font-size:16px}.profile-reading-bar button{font:inherit;font-weight:800;min-height:44px;padding:10px 15px;border:1.5px solid #69555e;border-radius:12px;background:#fff1c6;color:#30282b;cursor:pointer}.profile-large .profile-section p,.profile-large .profile-favorites dd{font-size:22px}.profile-large .profile-favorites dt{font-size:18px}.profile-large .profile-section small{font-size:19px}.profile-large .profile-section-5 p{font-size:26px}.profile-large .profile-content{grid-template-columns:1fr}.profile-section-2{align-self:start}@media(max-width:650px){.profile-content{padding:18px;gap:18px}.profile-section{padding:22px}.profile-section h3{font-size:23px}.profile-section p,.profile-favorites dd{font-size:18px;line-height:1.8}.profile-favorites dt{font-size:16px}.profile-dialog .profile-origin{font-size:16px}.profile-dialog .profile-motto{font-size:20px}.profile-reading-bar{padding:16px 20px;font-size:15px;gap:12px}.profile-section-5 p{font-size:22px}.profile-section small{font-size:16px}.profile-editor-note{font-size:15px!important}.profile-large .profile-section p,.profile-large .profile-favorites dd{font-size:21px}.profile-large .profile-section-5 p{font-size:24px}}
