body {
    --app-bar-h: 64px;
    --vkm-dock-h: var(--app-bar-h);
    --vkm-dock-gap: 0px;
}

body {
    padding-bottom: calc(var(--app-bar-h) + env(safe-area-inset-bottom, 0px) + 10px);
}

.vkm-tabbar,
.vkm-claim {
    display: none;
}

.vkm-toast {
    bottom: calc(var(--app-bar-h) + env(safe-area-inset-bottom, 0px) + 10px);
}

.vkm-bar {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 56px;
    grid-template-rows: var(--app-bar-h);
    align-items: center;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    height: calc(var(--app-bar-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 calc(12px + env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) calc(12px + env(safe-area-inset-left, 0px));
    overflow: hidden;
    background: var(--vkm-cloth);
    border-top: 1px solid var(--vkm-line);
    box-shadow: none;
    box-sizing: border-box;
    transition: transform .22s ease;
}

.vkm-typing .vkm-bar,
.vkm-nav-open .vkm-bar {
    transform: translateY(100%);
    pointer-events: none;
}

.vkm-bar > noindex {
    display: flex;
    min-width: 0;
    height: var(--app-bar-h);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.vkm-bar__path,
.vkm-bar__seek {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--vkm-ash);
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.vkm-bar__ico {
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.vkm-bar__ico svg {
    display: block;
    width: 20px;
    height: 20px;
}

.vkm-bar__path .vkm-bar__ico {
    width: 24px;
    height: 24px;
}

.vkm-bar__path .vkm-bar__ico svg {
    width: 24px;
    height: 24px;
}

.vkm-bar__txt {
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.vkm-bar__take {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--vkm-amber);
    color: var(--vkm-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.vkm-bar__take:hover,
.vkm-bar__take:active {
    color: var(--vkm-ink);
    text-decoration: none;
    filter: brightness(.92);
}

.vkm-bar__path:focus-visible,
.vkm-bar__seek:focus-visible,
.vkm-bar__take:focus-visible {
    outline: 2px solid var(--vkm-text);
    outline-offset: 2px;
}

.vkm-pop#vkm-pop-path .vkm-pop__brand {
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: calc(100% - 56px);
    height: 28px;
}

.vkm-pop#vkm-pop-path .vkm-pop__brand img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 28px;
    object-fit: contain;
}

.vkm-path {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vkm-path__block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vkm-path__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    color: var(--vkm-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.vkm-path__link:focus-visible {
    outline: 2px solid var(--vkm-text);
    outline-offset: 2px;
}

@media (max-width: 359px) {
    .vkm-bar {
        gap: 4px;
        padding-left: calc(8px + env(safe-area-inset-left, 0px));
        padding-right: calc(8px + env(safe-area-inset-right, 0px));
        grid-template-columns: 56px minmax(0, 1fr) 48px;
    }

    .vkm-bar__take {
        padding: 0 12px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vkm-bar {
        transition: none;
    }
}
