.public-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #f8fbff;
    background: rgba(5, 9, 20, .86);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.public-header-inner {
    position: relative;
    width: min(1160px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.public-header-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}
.public-header-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(94, 234, 212, .24), rgba(139, 92, 246, .24));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
    font-size: 1.3rem;
}
.public-header-brand-copy { min-width: 0; }
.public-header-title {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 1.06rem;
    font-weight: 950;
    letter-spacing: -.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.public-header-subtitle {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: rgba(248, 251, 255, .62);
    font-size: .78rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.public-header-links {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
}
.public-header-link {
    padding: 10px 11px;
    color: rgba(248, 251, 255, .70);
    border-radius: 999px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 850;
    transition: color .16s ease, background .16s ease;
}
.public-header-link:hover,
.public-header-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.public-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.public-header-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 15px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .075);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}
.public-header-button.primary {
    color: #04111b;
    border-color: transparent;
    background: linear-gradient(135deg, #5eead4, #6ee7ff);
    box-shadow: 0 14px 34px rgba(94, 234, 212, .16);
}
.public-header-menu-button {
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    background: rgba(255, 255, 255, .075);
    cursor: pointer;
    font: inherit;
    font-size: 1.25rem;
}
.public-mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 22px;
    background: rgba(7, 15, 29, .98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .46);
}
.public-mobile-menu.is-open { display: block; }
.public-mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.public-mobile-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    color: rgba(248, 251, 255, .84);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 15px;
    background: rgba(255, 255, 255, .045);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 850;
}
.public-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}
.public-mobile-actions .public-header-button {
    min-height: 48px;
    border-radius: 15px;
}
body.public-menu-open { overflow: hidden; }
@media (max-width: 980px) {
    .public-header-links { display: none; }
    .public-header-actions { margin-left: auto; }
    .public-header-menu-button { display: grid; }
}
@media (max-width: 620px) {
    .public-header-inner {
        width: min(100% - 20px, 1160px);
        min-height: 64px;
        gap: 8px;
    }
    .public-header-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 14px;
    }
    .public-header-subtitle,
    .public-header-register {
        display: none;
    }
    .public-header-button {
        min-height: 40px;
        padding: 9px 12px;
        font-size: .84rem;
    }
    .public-header-menu-button {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 390px) {
    .public-header-title { max-width: 86px; }
    .public-header-button { padding-inline: 10px; }
    .public-mobile-nav { grid-template-columns: 1fr; }
}

