.muze-profile .muze-profile__profile-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;min-width:0}
.muze-profile .muze-profile__profile-tools button,.muze-profile .muze-profile__bio-toggle{min-height:44px;max-width:100%;padding:9px 14px;border:1px solid var(--muze-profile-card-border,rgba(255,255,255,.2));border-radius:12px;background:var(--muze-profile-panel,rgba(30,26,44,.92));color:var(--muze-profile-text,#fff);font:600 14px/1.35 system-ui,sans-serif;white-space:normal;cursor:pointer}
.muze-profile .muze-profile__profile-tools button:focus-visible,.muze-profile .muze-profile__bio-toggle:focus-visible{outline:3px solid var(--muze-profile-accent,#f63087);outline-offset:3px}
.muze-profile .muze-profile__profile-tools p{margin:0;overflow-wrap:anywhere;font:13px/1.4 system-ui,sans-serif}
.muze-profile .muze-profile__share-fallback{width:100%;min-width:0;font:14px/1.4 system-ui,sans-serif}
.muze-profile .muze-profile__share-fallback input{display:block;width:100%;min-width:0;box-sizing:border-box;font-size:16px;margin-top:6px;padding:10px}
.muze-profile .muze-profile__identity>.muze-profile__bio{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible;overflow-wrap:anywhere;white-space:pre-line}
.muze-profile .muze-profile__identity>.muze-profile__handle,.muze-profile .muze-profile__identity>.muze-profile__tagline,.muze-profile .muze-profile__identity>.muze-profile__bio{color:var(--muze-profile-muted,var(--muze-profile-text,#c5b9c8))}
.muze-profile .muze-profile__bio-toggle{margin:6px 0 0;display:none}
.muze-profile [data-muze-profile-draft-status]{margin:8px 0 0;padding:9px 12px;border:1px solid var(--muze-profile-accent,#f63087);border-radius:10px;font:13px/1.4 system-ui,sans-serif;overflow-wrap:anywhere}
.muze-profile [data-muze-profile-draft-status][hidden],.muze-profile .muze-profile__share-fallback[hidden]{display:none!important}
/* Keep the sharing action readable and restrained across member designs. */
.muze-profile[data-muze-profile] .muze-profile__profile-tools .muze-profile__share-button {
 display:inline-flex!important;align-items:center;justify-content:center;gap:8px;
 width:auto!important;max-width:100%;min-width:0;min-height:40px;padding:9px 13px!important;
 border:1px solid #505b6e!important;border-radius:10px!important;
 background:#252c38!important;background-image:none!important;color:#f4f7fc!important;
 box-shadow:0 1px 2px rgba(0,0,0,.16)!important;text-shadow:none!important;
 font:600 13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;
 letter-spacing:normal!important;text-transform:none!important;text-decoration:none!important;
 cursor:pointer;touch-action:manipulation;transition:background-color .15s,border-color .15s;
}
.muze-profile[data-muze-profile] .muze-profile__share-button > span {font:inherit!important;color:inherit!important;letter-spacing:inherit!important;line-height:inherit!important}
.muze-profile[data-muze-profile] .muze-profile__share-button > svg {display:block;width:18px!important;height:18px!important;flex:0 0 18px;fill:none!important;stroke:currentColor!important;filter:none!important}
.muze-profile[data-muze-profile] .muze-profile__share-button:hover {background:#313c4c!important;border-color:#8aa3c3!important}
.muze-profile[data-muze-profile] .muze-profile__share-button:focus-visible {outline:2px solid #94c7ff!important;outline-offset:3px!important}
.muze-profile[data-muze-profile] .muze-profile__share-button:disabled {opacity:.65;cursor:wait}
.muze-profile[data-muze-profile] [data-muze-profile-share-status]:empty {display:none}
@media(prefers-reduced-motion:reduce){.muze-profile[data-muze-profile] .muze-profile__share-button{transition:none}}
@media(max-width:820px){
 .muze-profile .muze-profile__identity>.muze-profile__bio[data-muze-bio-expanded=false]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 .muze-profile .muze-profile__bio-toggle{display:inline-flex;align-items:center}
 .muze-profile .muze-profile__profile-tools{justify-content:center}
 .muze-profile[data-muze-profile] .muze-profile__profile-tools .muze-profile__share-button{min-height:44px}
}

/* One discoverable tools entry replaces the row of owner destination buttons. */
.muze-profile[data-muze-profile] .muze-profile__profile-tools {gap:8px!important}
.muze-profile[data-muze-profile] .muze-profile__tools-menu {margin:0;padding:0;border:0;background:none;min-width:0;max-width:100%}
.muze-profile[data-muze-profile] .muze-profile__tools-trigger {
 display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
 min-height:44px;padding:9px 12px;border:1px solid #505b6e;border-radius:10px;
 background:#252c38;color:#f4f7fc;cursor:pointer;list-style:none;touch-action:manipulation;
 font:600 13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;
 text-transform:none;letter-spacing:normal;box-shadow:0 1px 2px #00000029;
}
.muze-profile[data-muze-profile] .muze-profile__tools-trigger::-webkit-details-marker {display:none}
.muze-profile[data-muze-profile] .muze-profile__tools-trigger > span {font:inherit!important;color:inherit!important}
.muze-profile[data-muze-profile] .muze-profile__tools-trigger svg,
.muze-profile[data-muze-profile] .muze-profile__tools-close svg {display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:none}
.muze-profile[data-muze-profile] .muze-profile__tools-trigger .muze-profile__tools-chevron {width:14px;height:14px}
.muze-profile[data-muze-profile] .muze-profile__tools-trigger:hover {background:#313c4c;border-color:#8aa3c3}
.muze-profile[data-muze-profile] .muze-profile__tools-trigger:focus-visible,
.muze-profile[data-muze-profile] .muze-profile__tools-close:focus-visible {outline:2px solid #94c7ff;outline-offset:3px}
.muze-profile[data-muze-profile] .muze-profile__profile-tools .muze-profile__share-button {min-height:44px;padding:9px 12px!important}
.muze-profile[data-muze-profile] .muze-profile__profile-tools .muze-profile__tools-hint {flex:0 0 100%;margin:0!important;color:var(--muze-profile-muted,#b6bdca);font:500 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:normal!important;text-transform:none!important}
.muze-profile[data-muze-profile] .muze-profile__tools-menu[open] {flex-basis:100%}
.muze-profile[data-muze-profile] .muze-profile__tools-menu[open] > summary {width:max-content;max-width:100%;margin-bottom:8px}
.muze-profile[data-muze-profile] .muze-profile__tools-panel {box-sizing:border-box;padding:20px;background:#181b25;color:#f4f7fc;border:1px solid #495163;border-radius:18px;min-width:0;text-align:left;text-shadow:none}
.muze-profile[data-muze-profile] dialog.muze-profile__tools-dialog {position:fixed;inset:0;box-sizing:border-box;width:440px;max-width:calc(100vw - 32px);height:auto;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:18px;background:#181b25;color:#f4f7fc;box-shadow:0 24px 80px #0009;overflow:auto;overscroll-behavior:contain;text-align:left}
.muze-profile[data-muze-profile] dialog.muze-profile__tools-dialog:not([open]) {display:none!important}
.muze-profile[data-muze-profile] dialog.muze-profile__tools-dialog {height:fit-content}
.muze-profile[data-muze-profile] dialog.muze-profile__tools-dialog::backdrop {background:#090b13b3;backdrop-filter:blur(4px)}
.muze-profile[data-muze-profile] .muze-profile__tools-heading {display:flex;align-items:start;justify-content:space-between;gap:12px;margin:0 0 16px;padding:0;border:0;background:none;min-width:0}
.muze-profile[data-muze-profile] .muze-profile__tools-heading > div {min-width:0}
.muze-profile[data-muze-profile] .muze-profile__tools-heading h2 {margin:0 0 5px;padding:0;border:0;color:#f4f7fc!important;font:700 21px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-transform:none!important;letter-spacing:-.3px!important}
.muze-profile[data-muze-profile] .muze-profile__tools-heading p {margin:0!important;color:#b7c0d1!important;font:400 13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif!important;overflow-wrap:anywhere;letter-spacing:normal!important;text-transform:none!important}
.muze-profile[data-muze-profile] .muze-profile__tools-close {display:flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px!important;height:44px!important;min-width:44px;min-height:44px;padding:0!important;margin:0!important;border:1px solid #495163!important;border-radius:12px!important;background:#252c38!important;color:#e6edfa!important;box-shadow:none!important;cursor:pointer}
.muze-profile[data-muze-profile] .muze-profile__tools-close[hidden] {display:none!important}
.muze-profile[data-muze-profile] .muze-profile__tools-links {display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:0;border:0;background:none}
.muze-profile[data-muze-profile] .muze-profile__tools-links a.muze-profile__portal-link {display:flex!important;width:100%;min-width:0;min-height:68px;gap:12px;padding:12px!important;border:1px solid #343c4c!important;border-radius:12px!important;background:#212632!important;box-shadow:none!important;text-align:left}
.muze-profile[data-muze-profile] .muze-profile__tools-links .muze-profile__portal-link > svg {box-sizing:content-box;width:20px;height:20px;padding:9px;flex:0 0 20px;border-radius:10px;background:color-mix(in srgb,var(--portal-accent) 10%,transparent)}
.muze-profile[data-muze-profile] .muze-profile__tools-links .muze-profile__portal-link > span {flex:1 1 auto;min-width:0}
.muze-profile[data-muze-profile] .muze-profile__tools-links .muze-profile__portal-link::after {content:"";display:block;width:6px;height:6px;flex:0 0 6px;border-top:1.5px solid #a6b9d3;border-right:1.5px solid #a6b9d3;transform:rotate(45deg);margin:0 4px}
.muze-profile[data-muze-profile] .muze-profile__tools-links .muze-profile__portal-link strong {font-size:14px!important;line-height:1.4!important}
.muze-profile[data-muze-profile] .muze-profile__tools-links .muze-profile__portal-link small {font-size:12px!important;line-height:1.4!important}
.muze-profile[data-muze-profile] .muze-profile__tools-links a.muze-profile__portal-link:hover {background:#2a3242!important;border-color:var(--portal-accent)!important}
@media(max-width:600px) {
 .muze-profile[data-muze-profile] dialog.muze-profile__tools-dialog {inset:auto 0 0;width:100%;max-width:100%;margin:0;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:20px 20px 0 0}
 .muze-profile[data-muze-profile] .muze-profile__tools-dialog .muze-profile__tools-panel {padding:20px 16px max(20px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0}
}
@media(max-width:359px) {
 .muze-profile[data-muze-profile] .muze-profile__profile-tools {gap:6px!important}
 .muze-profile[data-muze-profile] .muze-profile__tools-trigger {gap:6px;padding:9px 10px;font-size:12px!important}
 .muze-profile[data-muze-profile] .muze-profile__profile-tools .muze-profile__share-button {gap:6px;padding:9px 10px!important;font-size:12px!important}
 .muze-profile[data-muze-profile] .muze-profile__tools-links a.muze-profile__portal-link {gap:10px;padding:10px!important}
 .muze-profile[data-muze-profile] .muze-profile__tools-heading h2 {font-size:20px!important}
}
/* Mobile owner controls and one-row content navigation. Desktop composition is unchanged. */
.muze-profile[data-muze-profile] .muze-profile__mobile-section-bar{display:none}
@media(max-width:820px){
 .muze-profile[data-muze-profile] .muze-profile__header-actions--owner{width:100%;min-width:0}
 .muze-profile[data-muze-profile] .muze-profile__owner-actions.has-mobile-edit-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%;min-width:0}
 .muze-profile[data-muze-profile] .has-mobile-edit-menu>.muze-profile__edit-profile-open{order:0!important;grid-column:auto!important;min-height:44px!important;padding:9px 10px!important}
 .muze-profile[data-muze-profile] .has-mobile-edit-menu .muze-profile__owner-button strong{font:600 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif!important}
 .muze-profile[data-muze-profile] .has-mobile-edit-menu .muze-profile__owner-button svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-menu{order:1!important;min-width:0;margin:0;padding:0;border:0;background:none}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-menu>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-sizing:border-box;padding:9px 10px;border:1px solid var(--muze-profile-card-border,#505b6e);border-radius:12px;background:var(--muze-profile-panel,#252c38);color:var(--muze-profile-text,#f4f7fc);list-style:none;cursor:pointer;font:600 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-transform:none;letter-spacing:normal}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-menu>summary::-webkit-details-marker{display:none}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-menu>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-menu[open]{grid-column:1/-1}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-menu[open]>summary::after{transform:rotate(225deg);margin-top:3px}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-options{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-top:8px;padding:8px;border:1px solid var(--muze-profile-card-border,#505b6e);border-radius:14px;background:var(--muze-profile-panel,#252c38)}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-options .muze-profile__owner-button{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:9px 12px!important;gap:10px!important;grid-column:auto!important;margin:0!important;border-radius:9px!important;box-sizing:border-box;order:initial!important}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-options .muze-profile__owner-button--info::after{content:"How profile editing works";font:600 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-align:left}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-hint{order:2!important;grid-column:1/-1;margin:0!important;color:var(--muze-profile-muted,#b6bdca);font:500 11px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-align:center;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere}
 .muze-profile[data-muze-profile] .muze-profile__mobile-section-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:12px 0 0;padding:0 10px;background:var(--muze-profile-panel,#141126);border:1px solid var(--muze-profile-card-border,#403546);border-bottom:0;border-radius:12px 12px 0 0;color:var(--muze-profile-muted,#b6bdca);font:600 12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important}
 .muze-profile[data-muze-profile] .muze-profile__mobile-section-bar>span{font:inherit!important;color:inherit!important}
 .muze-profile[data-muze-profile] .muze-profile__mobile-section-bar select{width:auto!important;max-width:55%;min-width:0;min-height:44px;margin:0;padding:7px 24px 7px 8px;border:0;border-radius:8px;background-color:transparent;box-shadow:none;color:var(--muze-profile-text,#f8f5ff);font:600 12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-overflow:ellipsis}
 .muze-profile[data-muze-profile] .muze-profile__mobile-section-bar select option{background:#202330;color:#fff}
 .muze-profile[data-muze-profile] .muze-profile__tabs{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;margin-top:0!important;padding:4px 6px 6px!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:0 0 12px 12px!important;scrollbar-width:thin;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
 .muze-profile[data-muze-profile] .muze-profile__tabs>button,.muze-profile[data-muze-profile] .muze-profile__tabs>a{flex:0 0 auto!important;width:auto!important;min-width:64px!important;max-width:none!important;min-height:44px!important;height:auto!important;padding:9px 12px!important;white-space:nowrap!important;font:600 13px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:normal!important;text-transform:none!important;border-radius:10px!important;margin:0!important}
 .muze-profile[data-muze-profile] .muze-profile__tabs-spacer{display:none!important}
 .muze-profile[data-muze-profile] .muze-profile__mobile-edit-menu>summary:focus-visible,.muze-profile[data-muze-profile] .muze-profile__mobile-section-bar select:focus-visible{outline:2px solid var(--muze-profile-accent,#94c7ff);outline-offset:2px}
}
