/* The same compact header on discovery, studios and account pages. */
header{height:68px;position:sticky;top:0;z-index:70;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 max(24px,calc((100vw - 960px)/2));background:#fffffff5;border-bottom:1px solid #eee;backdrop-filter:blur(12px)}
header>a{display:block;line-height:0;flex-shrink:0}header>a img{display:block;width:38px;height:38px;object-fit:contain}header nav{display:flex;align-items:center;gap:22px;margin:0;flex-wrap:nowrap}
header a{color:#666;text-decoration:none}header .desktop-links{display:flex;align-items:center;gap:4px}header .desktop-links a{font-size:13px;padding:10px 12px;white-space:nowrap}header a[aria-current=page]{font-weight:600;color:#111}
header .your-studios{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:12px;padding:0 13px;height:38px;min-height:38px;border:1px solid #ddd;border-radius:8px;background:white;white-space:nowrap}header .your-studios[aria-current=page]{background:#171717;color:white;border-color:#171717}
.auth-navigation{display:flex;align-items:center;gap:16px}.auth-navigation a{font-size:12px;white-space:nowrap}.auth-navigation .solid{padding:9px 13px;border-radius:8px;background:#171717;color:#fff;min-height:38px}
header .site-menu{position:relative;margin:0;z-index:80}header .site-menu summary{display:flex;align-items:center;gap:8px;padding:0;border:0;font-size:12px;font-weight:500;list-style:none;cursor:pointer;min-height:38px}.site-menu summary::-webkit-details-marker{display:none}
.account-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f1f1ef;color:#111;font-size:13px}.account-menu-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
header .site-menu>div{display:grid;position:absolute;right:0;top:calc(100% + 10px);min-width:210px;padding:7px;background:#fff;border:1px solid #e7e7e7;border-radius:12px;box-shadow:0 8px 24px #0000000d;z-index:81}header .site-menu:not([open])>div{display:none}
header .site-menu>div a,header .site-menu>div button{display:block;width:100%;border:0;background:none;text-align:left;color:#555;font:inherit;font-size:13px;padding:11px 12px;border-radius:6px;min-height:40px;cursor:pointer}header .site-menu>div a:hover,header .site-menu>div button:hover{background:#f5f5f3;color:#111}.menu-information,.menu-signout{border-top:1px solid #eee;margin-top:5px;padding-top:5px}.menu-information{display:grid;grid-template-columns:1fr 1fr}header .site-menu .menu-information a{font-size:11px;min-height:36px}
header .mobile-navigation,header .visitor-menu{display:none}
body[data-screen=welcome] header{position:sticky;height:68px;justify-content:space-between;border-bottom:1px solid #eee;background:#fffffff5;backdrop-filter:blur(12px)}body[data-screen=welcome] header nav{position:static}body[data-screen=welcome] .brand img{width:38px;height:38px}body[data-screen=welcome] .desktop-links{display:flex}body[data-screen=welcome] .your-studios{display:inline-flex}
.studio-result-link{display:inline-block;color:#777;text-decoration:none;font-size:12px;border-bottom:1px solid transparent}.studio-result-link:hover,.studio-result-link[aria-current=page]{color:#111;border-bottom-color:#aaa}.composer-identity{padding:0 4px 8px;font-size:11px;color:#888}.composer-identity .live-actor-label{margin:0;display:flex;align-items:center;gap:7px}.composer-identity select{font-size:11px;max-width:180px;padding:3px 6px}.live-account-tools:empty{display:none}
@media(max-width:760px){header{height:60px;padding:0 16px;gap:12px}header>a img{width:34px;height:34px}header nav{gap:12px}header .desktop-links,body[data-screen=welcome] .desktop-links{display:none}header .mobile-navigation{display:grid}header .member-menu .mobile-navigation{border-bottom:1px solid #eee;padding-bottom:5px;margin-bottom:5px}header .visitor-menu{display:block}header .visitor-menu summary{padding:8px;border:1px solid #ddd;border-radius:8px}.account-menu-name{display:none}.auth-navigation{gap:12px}header .your-studios{font-size:11px;padding:0 10px;height:36px;min-height:36px}body[data-screen=welcome] header{height:60px}body[data-screen=welcome] .brand img{width:34px;height:34px}}
@media(min-width:761px) and (max-width:980px){header{padding:0 20px}header nav{gap:12px}header .desktop-links a{padding:10px 8px;font-size:12px}.account-menu-name{display:none}}

.settings-information{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #eee;margin-top:24px;padding-top:18px;font-size:11px;color:#888}.settings-information a{text-decoration:underline;text-underline-offset:3px}

header .site-menu,header .visitor-menu{display:block}header .site-menu summary{padding:8px 11px;border:1px solid #ddd;border-radius:8px;min-height:38px;font-size:12px}header .profile-shortcut{display:inline-flex;align-items:center;justify-content:center;flex:none}header .profile-shortcut:focus-visible{outline:2px solid #171717;outline-offset:3px;border-radius:50%}@media(max-width:760px){header .profile-shortcut .account-avatar{width:30px;height:30px}header .site-menu summary{padding:8px;min-height:36px}header nav{gap:9px}.auth-navigation{gap:9px}}

body[data-screen="welcome"][data-member="visitor"] header{justify-content:flex-end}body[data-screen="welcome"][data-member="visitor"] header>.brand,header .desktop-links[hidden]{display:none}body[data-screen="welcome"][data-member="visitor"] header .mobile-navigation{display:grid}body[data-member="member"] .welcome>.manifesto-mark,body[data-member="member"] .welcome>.welcome-brand-name{display:none}

/* Native details keeps the icon state aligned with mouse, keyboard and Escape. */
header .site-menu summary{width:40px;height:40px;min-height:40px;padding:10px;justify-content:center;border:0;border-radius:8px;background:transparent}header .site-menu summary:hover{background:#f5f5f3}header .site-menu summary:focus-visible{outline:2px solid #555;outline-offset:2px}.menu-icon{position:relative;display:block;width:20px;height:18px}.menu-icon>span{position:absolute;left:0;top:8px;display:block;width:20px;height:1.5px;border-radius:1px;background:currentColor;transform-origin:center;transition:transform .2s ease,opacity .15s ease}.menu-icon>span:first-child{transform:translateY(-6px)}.menu-icon>span:last-child{transform:translateY(6px)}.site-menu[open] .menu-icon>span:first-child,dialog .close .menu-icon>span:first-child{transform:rotate(45deg)}.site-menu[open] .menu-icon>span:nth-child(2),dialog .close .menu-icon>span:nth-child(2){opacity:0;transform:scaleX(.3)}.site-menu[open] .menu-icon>span:last-child,dialog .close .menu-icon>span:last-child{transform:rotate(-45deg)}@media(prefers-reduced-motion:reduce){.menu-icon>span{transition:none}}

dialog .close{display:flex;align-items:center;justify-content:center;float:right;width:40px;height:40px;min-height:40px;padding:10px;border:0;border-radius:0;background:transparent;color:#555;box-shadow:none;cursor:pointer}dialog .close:hover,dialog .close:active{background:transparent;color:#111}dialog .close:focus-visible{outline:2px solid #777;outline-offset:2px}

header .your-studios,header .your-studios[aria-current=page]{display:inline-flex;align-items:center;height:auto;min-height:40px;padding:10px 12px;border:0;border-radius:0;background:transparent;color:#666;line-height:1.4;font-size:13px;font-weight:400}header .your-studios[aria-current=page]{color:#111;font-weight:600}@media(max-width:760px){header .your-studios,header .your-studios[aria-current=page]{padding:8px 3px;font-size:12px}}@media(min-width:761px) and (max-width:980px){header .your-studios{font-size:12px;padding:10px 8px}}


/* The creation action remains visible; account actions belong in the menu. */
header .start-studio{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 15px;background:#111;color:#fff!important;border-radius:8px;font-size:12px;line-height:1.3;white-space:nowrap}
body[data-screen="welcome"][data-member="visitor"] header{justify-content:space-between}body[data-screen="welcome"][data-member="visitor"] header>.brand{display:block}body[data-screen="welcome"][data-member="visitor"] header .mobile-navigation{display:none}
@media(max-width:760px){header .your-studios,header .your-studios[aria-current=page],header .profile-shortcut{display:none}header .start-studio{min-height:40px}body[data-screen="welcome"][data-member="visitor"] header .mobile-navigation{display:grid}header nav{gap:8px}}

/* Stable shared desktop grid and equal spacing, including Your studios. */
@media(min-width:761px){html{scrollbar-gutter:stable}header{width:100%;max-width:none;box-sizing:border-box}header nav{gap:16px}header .desktop-links{gap:4px}header .desktop-links a,header .desktop-links .your-studios{display:inline-flex;flex-direction:column;justify-content:center;min-height:40px;padding:10px 12px;font-size:13px;line-height:1.4}header .desktop-links a::after{content:attr(data-nav-label);height:0;line-height:0;visibility:hidden;font-weight:600;pointer-events:none}header .profile-shortcut{margin-left:0}}
@media(min-width:761px) and (max-width:980px){header nav{gap:12px}header .desktop-links a,header .desktop-links .your-studios{padding:10px 8px;font-size:12px}}

/* Discovery, information, identity, and session actions. */
header .site-menu>div{width:240px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 80px);overflow-y:auto;box-sizing:border-box}
header .site-menu .menu-account{border-top:1px solid #eee;margin-top:5px;padding-top:5px}
header .site-menu a.menu-profile{display:flex;align-items:center;gap:10px;min-width:0}
header .menu-profile .account-avatar{flex:0 0 30px;width:30px;height:30px;overflow:hidden}
header .account-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
header .menu-profile-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
header .site-menu a.menu-start-studio{background:#111;color:#fff;margin-top:5px;text-align:center;font-weight:500}
header .site-menu a.menu-start-studio:hover{background:#333;color:#fff}
@media(max-width:760px){header .site-menu .mobile-navigation{border-bottom:1px solid #eee;padding-bottom:5px;margin-bottom:5px}}

/* One header for discovery and standalone information pages. */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url('/inter-400.woff2')}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url('/inter-500.woff2')}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url('/inter-600.woff2')}
header,header *{box-sizing:border-box}
header{font-family:Inter,Arial,sans-serif;font-synthesis:none;font-size:13px;line-height:1.4;width:100%;max-width:none;margin:0;min-height:0}
header nav{margin:0}
header .profile-shortcut{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:5px;flex:none}
header .profile-shortcut .account-avatar,header .profile-shortcut .avatar,header .profile-shortcut>img{display:grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:50%;overflow:hidden;object-fit:cover}
header .profile-shortcut img{width:30px;height:30px;object-fit:cover;border-radius:50%}
header .credit-inbox-button{border-radius:8px;cursor:pointer;min-height:40px}
header .credit-inbox-button:hover{background:#f5f5f3}
header .navigation-pending{visibility:hidden;pointer-events:none}
.navigation-session-loading{display:flex;gap:16px;align-items:center;width:96px;flex:none}
.navigation-session-loading>span{display:block;width:40px;height:30px;border-radius:8px;background:#f6f6f5}
.navigation-session-loading>span:first-child{width:30px;margin:0 5px;border-radius:50%}
.navigation-inbox{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:28px;border:1px solid #e8e8e8;border-radius:14px;background:#fff;color:#171717;font:14px/1.5 Inter,Arial,sans-serif;overflow:auto}
.navigation-inbox::backdrop{background:#0005}.navigation-inbox h2{margin:0 40px 24px 0;font-size:22px;font-weight:600;letter-spacing:-.035em}.navigation-inbox h3{font-size:16px;font-weight:600}.navigation-inbox button:not(.navigation-inbox-close){font:inherit;padding:10px 14px;background:white;border:1px solid #ddd;border-radius:8px;cursor:pointer}.navigation-inbox a{color:inherit;text-underline-offset:3px}
.navigation-inbox .navigation-inbox-close{float:right;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:transparent;cursor:pointer;font:28px/1 Inter,sans-serif;color:#555}
@media(max-width:760px){header{height:60px;padding:0 16px;gap:12px}header nav{gap:8px}header .profile-shortcut{display:inline-flex}header .brand img{width:34px;height:34px}.navigation-session-loading{gap:8px;width:88px}}

/* Reserve the scrollbar before asynchronous page content arrives. */
html{scrollbar-gutter:stable}
