.topbar{
    position:sticky;
    top:0;
    z-index:1000;

    height:calc(58px + env(safe-area-inset-top));
    padding-top:env(safe-area-inset-top);

    background:rgba(255,255,255,.97);
    border-bottom:1px solid #e8eaee;

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.topbar-inner{
    position:relative;

    height:58px;

    display:flex;
    align-items:center;

    max-width:1180px;
    margin:0 auto;
    padding:0 12px;
}

.top-left{
    display:flex;
    align-items:center;
    gap:2px;
    flex:0 0 auto;
}

.icon-btn{
    width:42px;
    height:42px;
    padding:0;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    border:0;
    border-radius:50%;

    background:transparent;
    color:#17191d;

    cursor:pointer;
}

.icon-btn:active{
    background:#f2f4f7;
}

.icon-btn svg{
    width:23px;
    height:23px;

    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.top-title{
    position:absolute;
    left:50%;
    transform:translateX(-50%);

    max-width:36%;

    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;

    color:#17191d;

    font-size:15px;
    font-weight:800;
    line-height:1.4;

    text-align:center;
}

.top-actions{
    margin-left:auto;

    display:flex;
    align-items:center;
    gap:2px;

    flex:0 0 auto;
}


@media(max-width:480px){
    .topbar-inner{
        padding:0 8px;
    }

    .top-title{
        max-width:34%;
        font-size:14px;
    }

    .icon-btn{
        width:40px;
        height:40px;
    }
}
