.bmc-gph-wrap{
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 14px 16px 0;
}

.bmc-gph-shell{
    max-width: 1540px;
    margin: 0 auto;
    min-height: 96px;
    padding: 16px 22px;
    display: grid;
    grid-template-columns: minmax(220px,auto) minmax(260px,1fr) auto;
    gap: 22px;
    align-items: center;
    color: var(--bmc-gph-text);
    background:
        radial-gradient(circle at 70% 50%, rgba(82,226,162,.18), transparent 26%),
        linear-gradient(135deg, var(--bmc-gph-bg-start) 0%, var(--bmc-gph-bg-end) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--bmc-gph-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.14);
}

.bmc-gph-logo-link{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none !important;
    color:var(--bmc-gph-text) !important;
}

.bmc-gph-logo-img{
    width:46px;
    height:46px;
    object-fit:contain;
}

.bmc-gph-title{
    font-size:clamp(28px, 3vw, 50px);
    line-height:1;
    font-weight:800;
    letter-spacing:-.045em;
    white-space:nowrap;
}

.bmc-gph-nav{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    min-width:0;
    flex-wrap:nowrap;
}

.bmc-gph-link{
    color:var(--bmc-gph-text) !important;
    text-decoration:none !important;
    font-weight:750;
    font-size:16px;
    line-height:1;
    padding:14px 18px;
    border-radius:999px;
    white-space:nowrap;
    transition:all .2s ease;
}

.bmc-gph-link:hover,
.bmc-gph-link.is-active{
    background:rgba(255,255,255,.12);
    color:#fff !important;
}

.bmc-gph-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
}

.bmc-gph-msg,
.bmc-gph-menu-btn{
    width:54px;
    height:54px;
    border-radius:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    color:var(--bmc-gph-text) !important;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    position:relative;
    transition:all .2s ease;
}

.bmc-gph-msg{
    border-radius:50%;
}

.bmc-gph-msg svg{
    width:22px;
    height:22px;
}

.bmc-gph-msg:hover,
.bmc-gph-menu-btn:hover,
.bmc-gph-primary-btn:hover,
.bmc-gph-ghost-btn:hover,
.bmc-gph-profile-btn:hover{
    transform:translateY(-1px);
}

.bmc-gph-badge{
    position:absolute;
    top:-4px;
    right:-4px;
    min-width:20px;
    height:20px;
    padding:0 6px;
    border-radius:999px;
    background:var(--bmc-gph-badge);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:10px;
    font-weight:800;
    box-shadow:0 6px 12px rgba(0,0,0,.18);
}

.bmc-gph-badge.is-hidden,
.bmc-gph-bottom-badge.is-hidden{
    display:none !important;
}

.bmc-gph-primary-btn,
.bmc-gph-ghost-btn{
    min-height:54px;
    padding:0 26px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    font-weight:800;
    font-size:17px;
    transition:all .2s ease;
    white-space:nowrap;
}

.bmc-gph-primary-btn{
    background:var(--bmc-gph-surface);
    color:var(--bmc-gph-surface-text) !important;
    box-shadow:0 12px 28px rgba(0,0,0,.16);
}

.bmc-gph-ghost-btn{
    background:rgba(255,255,255,.12);
    color:var(--bmc-gph-text) !important;
}

.bmc-gph-profile{
    position:relative;
}

.bmc-gph-profile-btn{
    width:54px;
    height:54px;
    padding:0;
    border:none;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.bmc-gph-avatar{
    width:54px;
    height:54px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(145deg, #103f66 0%, #0b2545 45%, #1c7f67 100%);
    color:#fff;
    font-weight:800;
    font-size:17px;
    letter-spacing:.02em;
    box-shadow: 0 8px 22px rgba(0,0,0,.24), inset 0 1px 5px rgba(255,255,255,.10);
}

.bmc-gph-dropdown{
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    width:280px;
    background:var(--bmc-gph-surface);
    color:var(--bmc-gph-surface-text);
    border-radius:24px;
    box-shadow:0 22px 44px rgba(0,0,0,.18);
    padding:12px;
    display:none;
}

.bmc-gph-profile.is-open .bmc-gph-dropdown{
    display:block;
}

.bmc-gph-dropdown-head{
    padding:10px 10px 14px;
    border-bottom:1px solid rgba(16,24,40,.08);
    margin-bottom:8px;
}

.bmc-gph-dropdown-name{
    font-weight:800;
    font-size:15px;
    margin-bottom:4px;
}

.bmc-gph-dropdown-package{
    font-size:13px;
    color:var(--bmc-gph-surface-muted);
}

.bmc-gph-dropdown-link,
.bmc-gph-mobile-link{
    display:flex;
    align-items:center;
    min-height:46px;
    padding:0 12px;
    border-radius:16px;
    color:var(--bmc-gph-surface-text) !important;
    text-decoration:none !important;
    font-weight:700;
}

.bmc-gph-dropdown-link:hover,
.bmc-gph-mobile-link:hover{
    background:#f4f6f8;
}

.bmc-gph-dropdown-link.is-danger,
.bmc-gph-mobile-link.is-danger{
    color:#c62828 !important;
}

.bmc-gph-menu-btn{
    border:none;
    padding:0;
    cursor:pointer;
}

.bmc-gph-menu-btn span{
    display:block;
    width:20px;
    height:2px;
    background:#fff;
    margin:4px auto;
    border-radius:999px;
}

.bmc-gph-mobile-panel{
    max-width:1540px;
    margin:10px auto 0;
    background:#fff;
    color:#101828;
    border-radius:24px;
    box-shadow:0 18px 40px rgba(0,0,0,.12);
    padding:10px;
    display:none;
}

.bmc-gph-mobile-panel.is-open{
    display:block;
}

.bmc-gph-bottom-nav{
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:9999;
    display:none;
    grid-template-columns:repeat(5,1fr);
    gap:8px;
    padding:10px;
    border-radius:24px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(16,24,40,.08);
    backdrop-filter:blur(16px);
    box-shadow:0 18px 40px rgba(0,0,0,.16);
}

.bmc-gph-bottom-item{
    position:relative;
    min-height:58px;
    border-radius:18px;
    text-decoration:none !important;
    color:#101828 !important;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    background:#fff;
}

.bmc-gph-bottom-ico{ font-size:18px; line-height:1; }
.bmc-gph-bottom-label{ font-size:11px; font-weight:700; line-height:1.1; }

.bmc-gph-bottom-badge{
    position:absolute;
    top:4px;
    right:10px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    background:var(--bmc-gph-badge);
    color:#fff;
    font-size:10px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
}

@media (max-width: 1320px){
    .bmc-gph-shell{
        grid-template-columns:minmax(220px,auto) 1fr auto;
    }
    .bmc-gph-link{
        padding:12px 14px;
        font-size:15px;
    }
}

@media (max-width: 1160px){
    .bmc-gph-shell{
        grid-template-columns:auto auto;
    }
    .bmc-gph-nav{
        display:none;
    }
}

@media (max-width: 820px){
    .bmc-gph-wrap{
        padding:10px 10px 0;
    }
    .bmc-gph-shell{
        min-height:80px;
        padding:14px 16px;
        border-radius:22px;
        gap:14px;
    }
    .bmc-gph-title{
        font-size:clamp(24px,8vw,38px);
    }
    .bmc-gph-actions .bmc-gph-ghost-btn,
    .bmc-gph-actions .bmc-gph-primary-btn,
    .bmc-gph-actions .bmc-gph-profile{
        display:none;
    }
    .bmc-gph-msg,
    .bmc-gph-menu-btn{
        width:48px;
        height:48px;
    }
    .bmc-gph-bottom-nav{
        display:grid;
    }
    body{
        padding-bottom:92px !important;
    }
}
