.app-dock {
    display: none;
}

.app-header {
    display: none;
}

.is-app .web-header {
    display: none;
}

.is-app.is-authenticated .app-header {
    position: sticky;
    top: 0;
    z-index: 490;
    display: block;
    border-bottom: 1px solid #eceff3;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(0.8rem);
}

.app-header-inner {
    display: flex;
    width: min(100%, 45rem);
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 1rem;
}

.app-header-logo {
    display: flex;
    width: clamp(7.5rem, 31vw, 9.25rem);
}

.app-header-notification {
    position: relative;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #fff7f0;
    color: var(--main);
    font-size: clamp(1.25rem, 5vw, 1.45rem);
}

.app-header-notification em,
.app-dock-item em {
    position: absolute;
    display: inline-flex;
    min-width: 1.05rem;
    height: 1.05rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.22rem;
    border: 0.1rem solid #fff;
    border-radius: 99rem;
    background: #ef4444;
    color: #fff;
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.app-header-notification em {
    top: -0.15rem;
    right: -0.15rem;
}

.is-app.is-authenticated #base_wrap {
    padding-bottom: 3.5rem;
}

.is-app.is-authenticated .app-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 500;
    display: grid;
    height: 3.5rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0.125rem 0.75rem;
    border-top: 1px solid #e8eaed;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -0.35rem 1.25rem rgba(30, 41, 59, 0.08);
    backdrop-filter: blur(0.8rem);
}

.app-dock-item {
    position: relative;
    display: flex;
    height: 100%;
    min-width: 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.05rem;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: clamp(0.68rem, 2.6vw, 0.78rem);
    font-weight: 700;
}

.app-dock-item em {
    top: 0.08rem;
    left: calc(50% + 0.35rem);
}

.app-header-notification em[hidden],
.app-dock-item em[hidden] {
    display: none;
}

.app-dock-item i {
    color: #374151;
    font-size: clamp(1.2rem, 5vw, 1.45rem);
    line-height: 1;
}

.app-dock-item.active,
.app-dock-item:active {
    color: var(--main);
}

.app-dock-item.active i,
.app-dock-item:active i {
    color: var(--main);
}

@media screen and (min-width: 718px) {
    .app-header-inner {
        border-right: 1px solid #f1f3f5;
        border-left: 1px solid #f1f3f5;
    }

    .is-app.is-authenticated .app-dock {
        right: 50%;
        left: auto;
        width: min(100%, 45rem);
        transform: translateX(50%);
        border-right: 1px solid #e8eaed;
        border-left: 1px solid #e8eaed;
        border-radius: 1rem 1rem 0 0;
    }
}
