.novella-profile{--profile-color:var(--amber);font-family:var(--serif)}.novella-profile[data-reader-gender=F]{--profile-color:color-mix(in srgb,var(--paper)55%,#e3a1ad)}.novella-profile[data-reader-gender=M]{--profile-color:color-mix(in srgb,var(--paper)55%,#8cc4b8)}.novella-profile[data-reader-gender=NB]{--profile-color:color-mix(in srgb,var(--paper)55%,#bca2d1)}.novella-profile :is(button,input,select,textarea){font-family:var(--serif)}.novella-profile .account-page{max-width:1200px}.profile-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:22px;display:grid}.profile-card{border:1px solid var(--line);background:var(--nw-surface);border-radius:9px;min-width:0;padding:26px}.profile-card-heading{color:var(--amber);align-items:center;gap:12px;margin-bottom:24px;display:flex}.novella-profile .profile-card-heading h2{letter-spacing:-.3px;overflow-wrap:anywhere;font-size:27px;line-height:1.25}.profile-identity{align-items:center;gap:18px;margin-bottom:24px;display:flex}.profile-avatar{flex:0 0 88px;width:88px;height:88px}.profile-user-silhouette{width:100%;height:100%;color:var(--muted);background:radial-gradient(circle at 45% 25%,var(--nw-surface-raised),var(--nw-surface));border:1px solid var(--line);border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden}.profile-user-silhouette svg{flex:none;width:100%;height:100%;display:block}.profile-identity-copy{flex:1;min-width:0}.novella-profile .profile-kicker{color:var(--muted);font-size:var(--nw-small-type-11);margin:0 0 7px;line-height:1.5}.novella-profile .profile-identity-name{letter-spacing:-.5px;color:var(--profile-color);overflow-wrap:anywhere;font-size:32px;line-height:1.2}.novella-profile .profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--nw-small-type-12);color:var(--muted);margin:0 0 24px;line-height:1.8}.profile-account-details{min-width:0;margin:0}.profile-account-details>div{border-bottom:1px solid var(--line-soft);font-size:var(--nw-small-type-12);grid-template-columns:minmax(95px,.8fr) minmax(0,1.4fr);gap:14px;padding:12px 0;line-height:1.6;display:grid}.profile-account-details>div:first-child{padding-top:0}.profile-account-details>div:last-child{border-bottom:0}.profile-account-details dt{color:var(--muted)}.profile-account-details dd{min-width:0;color:var(--paper);overflow-wrap:anywhere;margin:0}.profile-account-details small{font-size:var(--nw-small-type-11);color:var(--muted);margin-top:3px;line-height:1.6;display:block}.profile-gender-control{margin-bottom:24px}.profile-gender-control label,.profile-preferences-form label{color:var(--paper);font-size:var(--nw-small-type-12);flex-direction:column;gap:9px;display:flex}.profile-gender-control label>span:first-child,.profile-preferences-form label>span:first-child{flex-wrap:wrap;align-items:baseline;gap:5px 10px;display:flex}.profile-gender-control label small,.profile-preferences-form label small{color:var(--muted);font-size:var(--nw-small-type-11)}.profile-select{width:100%;min-width:0;display:block;position:relative}.novella-profile .profile-select select,.profile-preferences-form textarea{background:var(--nw-field);border:1px solid var(--line);color:var(--paper);line-height:1.6;font-size:var(--nw-small-type-12);color-scheme:normal;border-radius:5px;width:100%;padding:11px 14px}.novella-profile .profile-select select{appearance:none;min-height:48px;padding-right:48px}.novella-profile .profile-select-arrow{pointer-events:none;width:18px;height:18px;color:var(--muted);position:absolute;top:50%;right:16px;transform:translateY(-50%)}.novella-profile .profile-select select:focus-visible,.profile-preferences-form textarea:focus-visible{outline:2px solid var(--amber);outline-offset:3px}.novella-profile .profile-gender-control p{font-size:var(--nw-small-type-11);color:var(--muted);margin:9px 0 0;line-height:1.7}.profile-reader-actions{flex-direction:column;align-items:flex-start;gap:18px;margin-top:24px;display:flex}.novella-profile .profile-reader-actions .button{white-space:normal;text-align:center;max-width:100%;min-height:44px}.novella-profile .profile-reader-actions .text-link{white-space:normal;min-height:44px}.novella-profile .profile-local-label{font-size:var(--nw-small-type-11);color:var(--muted);margin:18px 0 0;line-height:1.75}.novella-profile .profile-save-notice{font-size:var(--nw-small-type-11);color:var(--amber);margin:9px 0 0;line-height:1.7}.novella-profile .profile-save-notice:empty{margin:0}.profile-status{font-size:var(--nw-small-type-12);color:var(--muted);margin-bottom:25px;line-height:1.8}.profile-error{color:var(--nw-danger);align-items:center;gap:20px;display:flex}.profile-account-links{border-top:1px solid var(--line);flex-direction:column;gap:12px;margin-top:24px;padding-top:20px;display:flex}.novella-profile .profile-account-links .text-link{white-space:normal;text-align:left;min-height:44px;font-size:var(--nw-small-type-12);align-items:flex-start;gap:10px;line-height:1.6;display:flex}.profile-account-links .text-link>span{flex:1;min-width:0}.profile-account-links .text-link>svg{margin-top:4px}.novella-profile .profile-account-links small{font-size:var(--nw-small-type-11);color:var(--muted);margin-top:4px;line-height:1.6;display:block}.profile-library-card{grid-column:1/-1}.profile-library-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:30px;display:grid}.profile-library-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0;display:grid}.profile-library-counts>div{min-width:0}.profile-library-counts dt{font-size:var(--nw-small-type-12);color:var(--muted);overflow-wrap:anywhere;line-height:1.6}.profile-library-counts dd{color:var(--paper);overflow-wrap:anywhere;margin:8px 0 0;font-size:38px;line-height:1.2}.novella-profile .profile-library-actions p{color:var(--muted);font-size:var(--nw-small-type-12);line-height:1.8}.novella-profile .profile-library-actions .text-link{white-space:normal;min-height:44px;margin-top:12px;line-height:1.6}.profile-preferences-form{font-family:var(--serif);flex-direction:column;gap:22px;padding:24px 29px 29px;display:flex}.novella-profile .profile-preferences-form .profile-local-label{margin:0}.profile-preferences-form textarea{resize:vertical}.profile-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;padding-top:4px;display:flex}.novella-profile .profile-modal-actions .button{white-space:normal;min-height:44px}@media (width<=1050px){.profile-card-grid{grid-template-columns:minmax(0,1fr)}.profile-library-content{gap:24px}.profile-identity{max-width:500px}}@media (width<=620px){.profile-card-grid{gap:18px}.profile-card{padding:21px 19px}.profile-card-heading{gap:10px;margin-bottom:22px}.novella-profile .profile-card-heading h2{font-size:25px}.profile-identity{gap:15px}.profile-avatar{flex-basis:74px;width:74px;height:74px}.novella-profile .profile-identity-name{font-size:28px}.profile-account-details>div{grid-template-columns:minmax(85px,.8fr) minmax(0,1.4fr);gap:12px}.profile-library-content{grid-template-columns:minmax(0,1fr);gap:22px}.profile-library-counts{gap:16px}.profile-preferences-form{padding:20px}.profile-error{flex-direction:column;align-items:flex-start;gap:7px}}@media (width<=360px){.profile-identity{gap:12px}.profile-avatar{flex-basis:62px;width:62px;height:62px}.profile-account-details>div{grid-template-columns:minmax(0,1fr);gap:4px}.profile-library-counts{grid-template-columns:minmax(0,1fr);gap:20px}}