.library-embed{background:transparent;overflow-anchor:none}
.library-embed body{background:transparent}
.library-embed .site-header{padding:14px 16px;gap:12px}
.library-embed .brand-description,.library-embed .breadcrumbs{display:none}
.library-embed main{padding:0 16px;max-width:none}
.library-embed .library-intro{padding:22px 0}
.library-embed .library-intro h1{font-size:32px}
.library-embed .site-footer{padding:16px}
.library-embed dialog{position:fixed;inset:var(--rik-visible-top,16px) 0 auto;margin:0 auto;max-height:var(--rik-visible-height,min(85vh,640px));overflow:auto}
.library-embed .config-form{max-height:calc(var(--rik-visible-height,min(85vh,640px)) - 94px)}
.library-embed .toast{top:var(--rik-visible-bottom,90vh);bottom:auto;transform:translate(-50%,-100%)}
@media(max-width:900px){.library-embed .config-form{max-height:none;overflow:visible}.library-embed .site-header nav{gap:12px}.library-embed .site-header{flex-wrap:wrap}.library-embed .project-button{margin-left:auto}}
