.profile-page{margin:0;background:#faf5e9;color:#223e39;font:17px/1.65 system-ui,sans-serif}.profile-page *{box-sizing:border-box}.profile-page a{color:#245e58;text-underline-offset:4px}.profile-page .skip{position:absolute;left:-9999px}.profile-page .skip:focus{left:1rem;top:1rem;z-index:20;background:white;padding:1rem}.profile-wrap{max-width:1150px;margin:auto;padding:2rem clamp(1rem,4vw,3rem)}.profile-intro{padding:2rem 0 1rem}.profile-eyebrow{letter-spacing:.16em;font-size:.78rem;font-weight:800}.profile-intro h1{font-size:clamp(2.6rem,7vw,5rem);line-height:1.07;letter-spacing:-.05em;margin:.35em 0}.profile-intro>p{max-width:760px}.profile-state{display:inline-block;background:#d6e8dd;border:1px solid #4b7564;border-radius:99px;padding:.3rem .8rem;font-weight:700;font-size:.88rem}.profile-builder{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.5fr);gap:2rem;margin:2rem 0}.profile-card{background:#fffdf6;border:1px solid #9cab9e;border-radius:22px;padding:1.4rem;box-shadow:0 8px 0 #e4dfce}.profile-display{position:sticky;top:5rem;text-align:center;height:fit-content}.profile-avatar{position:relative;aspect-ratio:1;max-width:340px;margin:auto;border:3px solid #243e37;border-radius:50%;overflow:hidden;isolation:isolate}.profile-avatar>.profile-portrait{position:absolute;width:87.5%;height:87.5%;left:6.25%;top:.78%;object-fit:contain;image-rendering:pixelated}.profile-instrument{position:absolute;width:37.5%;height:37.5%;right:1.56%;bottom:1.56%;border-radius:50%;background:#fff7e8;image-rendering:pixelated;padding:.8%}.profile-display h2{font-size:1.35rem;overflow-wrap:anywhere;margin-bottom:.25rem}.profile-display p{font-size:.9rem}.profile-page fieldset{border:0;padding:0;margin:1.1rem 0 1.6rem;min-width:0}.profile-page legend{font-weight:800;margin-bottom:.6rem}.profile-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.45rem}.profile-page button{cursor:pointer;background:#fff9ec;color:#223e39;font:inherit;font-weight:650;border:1px solid #83998e;border-radius:12px;padding:.7rem 1rem}.profile-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;font-size:.8rem;padding:.55rem .15rem;line-height:1.3;min-height:48px}.profile-choices img{max-width:100%;height:64px;object-fit:contain;image-rendering:pixelated}.profile-page button[aria-pressed=true]{outline:3px solid #20594e;outline-offset:1px;background:#e1eee4}.profile-page button:hover{background:#e1eee4}.profile-page button:disabled{cursor:wait;opacity:.65}.profile-page :focus-visible{outline:3px solid #b94127;outline-offset:4px}.profile-swatch{width:25px;height:25px;border-radius:50%;border:1px solid #55685d}.profile-page input[type=text]{display:block;margin:.5rem 0;width:100%;max-width:440px;border:1px solid #657f72;border-radius:10px;padding:.75rem;font:inherit;background:white;color:#223e39}.profile-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.2rem 0}.profile-actions .primary{background:#23594e;color:white}.profile-status{min-height:3.3em;font-size:.95rem}.profile-file{display:block;margin:1.2rem 0}.profile-file input{display:block;margin-top:.5rem;max-width:100%}.profile-section{padding:2rem 0;border-top:1px solid #9cab9e}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.profile-grid article{background:#e7eee1;padding:1.2rem;border-radius:15px}.profile-grid h3{font-size:1.07rem;margin:.3rem 0}.profile-count{font-size:2.3rem;line-height:1.2;font-weight:800}.profile-grid p{font-size:.9rem}.profile-note{padding:1rem 1.25rem;background:#f3e4c8;border-left:5px solid #a76034;border-radius:0 10px 10px 0}.profile-future li{margin:.75rem 0}.profile-footer{font-size:.85rem;padding:2rem 0}@media(max-width:760px){.profile-builder{grid-template-columns:1fr}.profile-display{position:static}.profile-avatar{max-width:260px}.profile-choices{gap:.45rem}.profile-grid{grid-template-columns:1fr 1fr}@media(max-width:420px){.profile-card{padding:1rem .8rem}.profile-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-grid{grid-template-columns:1fr}}

.profile-avatar>.profile-portrait{width:110%;height:110%;left:-5%;top:0;object-fit:cover;object-position:center top}

/* V50.1: avoid inherited max-width/auto-height restoring the shoulder cut. */
.profile-avatar>.profile-portrait{width:110%!important;height:110%!important;max-width:none!important;max-height:none!important;left:-5%!important;top:0!important;object-fit:fill!important;object-position:center top!important}
.d51-avatar-ring{position:relative;display:inline-block;width:30px;height:30px;min-width:30px;flex:none;border-radius:50%;overflow:hidden;vertical-align:middle}.d51-avatar-ring>.dools-profile-mini{display:block!important;position:absolute!important;width:110%!important;height:110%!important;max-width:none!important;max-height:none!important;left:-5%!important;top:0!important;object-fit:fill!important;border-radius:0!important;margin:0!important;background:transparent!important}
