/* Shared public-page header. */
.public-header{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;width:100%!important;max-width:none!important;min-height:88px!important;margin:0!important;padding:18px 24px!important;border:0!important;background:transparent!important;box-sizing:border-box!important;z-index:25}
.public-brand{display:flex!important;align-items:center!important;gap:10px!important;color:#f7f3e7!important;text-decoration:none!important;font:600 24px/normal -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;letter-spacing:-.8px!important;white-space:nowrap}
.public-brand i{position:relative;display:block;width:36px;height:36px;border-radius:50%;overflow:hidden;filter:drop-shadow(0 0 5px #ffd67a66);flex:none}
.public-brand i img{position:absolute;width:142.22%!important;height:142.22%!important;max-width:none!important;left:50%;top:50%;transform:translate(-50%,-50%)}
.public-brand small{display:block;margin-top:3px;color:#dedbd0;font:400 10px/normal -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.15px}
.public-actions{display:flex;align-items:center;gap:32px}.public-actions nav{display:flex!important;visibility:visible!important;gap:28px!important;padding:0!important;margin:0!important;position:static!important;background:none!important;font:500 14px/1.3 'DM Sans',sans-serif!important}.public-actions nav a{color:#dedbd0!important;text-decoration:none!important;padding:12px 0!important;white-space:nowrap}.public-actions nav a:hover{color:#ffe3a2!important}
.public-actions moonsay-account{display:block!important;position:static!important;width:142px!important;height:50px!important;flex:none}
body:has(.public-header) .moon-hero{padding-top:72px}

@media(max-width:700px){.public-header{padding:18px 20px!important;flex-wrap:wrap!important;gap:18px!important}.public-actions{width:100%;justify-content:space-between;gap:12px}.public-actions nav{gap:18px!important;font-size:13px!important}.public-actions moonsay-account{width:126px!important;--account-button-width:126px}}
@media(max-width:380px){.public-header{padding:18px 16px!important}.public-actions nav{gap:12px!important;font-size:12px!important}.public-actions moonsay-account{width:108px!important;--account-button-width:108px}}

@media(max-width:700px){.public-header{min-height:132px!important;align-items:flex-start!important}.public-actions{width:auto;position:absolute;right:20px;top:70px}.public-actions moonsay-account{width:142px!important;--account-button-width:142px}}@media(max-width:380px){.public-actions{right:16px}}

/* Reuse the existing Plans account control and lifecycle. */
:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header{min-height:88px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;position:relative!important}
:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header>.brand{left:24px!important;top:22.5px!important}
:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header>moonsay-account{top:19px!important;right:24px!important}
@media(max-width:700px){:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header{min-height:132px!important}:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header>.brand{left:20px!important;top:18px!important}:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header>moonsay-account{top:70px!important;right:20px!important}}
@media(max-width:380px){:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header>.brand{left:16px!important}:is(body.is-plans,html[data-loading-surface="plans"] body.is-restoring)>header>moonsay-account{right:16px!important}}
