.volga-app-stores {
    --badge-width: 154px;
    --badge-height: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px 28px;
    padding: 26px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #ffffff24;
    text-align: left;
}
.volga-app-stores span { display: block; color: #bcc4d2; font-size: 13px; line-height: 1.4; margin-bottom: 10px; }
.volga-app-stores .volga-apk span { color: #a7e4d8; }
.volga-app-stores a, .volga-app-stores button:disabled {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--badge-width);
    height: var(--badge-height);
    border-radius: 9px;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.volga-app-stores .volga-apk > span { color: #b2c7e1; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.volga-app-stores .volga-apk a {
    gap: 8px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid #579aff;
    border-radius: 13px;
    background: linear-gradient(125deg, #307ef5, #235ed1);
    box-shadow: inset 0 1px 0 #ffffff50, 0 6px 20px #236ee947;
}
.volga-app-stores .volga-apk-mark { display: block; width: 30px; height: 30px; object-fit: contain; background: #f5faff; border-radius: 9px; }
.volga-app-stores .volga-apk a:hover { background: linear-gradient(125deg, #3987ff, #276ade); }
.volga-app-stores a:focus-visible, .volga-app-stores .volga-qr-button:focus-visible { outline: 3px solid #75caff; outline-offset: 3px; }
.volga-app-stores .volga-qr-button {
    min-height: var(--badge-height);
    padding: 0 16px;
    border: 1px solid var(--color-border-default, #dde3ec);
    border-radius: var(--radius-control, 8px);
    background: var(--color-bg-surface, white);
    color: var(--color-text-primary, #172033);
    font: 500 16px/24px 'Yandex Sans Display', Arial, sans-serif;
    text-transform: none;
    cursor: pointer;
}
.volga-app-stores .volga-qr-button:hover { background: var(--color-bg-subtle, #f8fafc); }
.volga-app-stores .volga-store-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    box-sizing: border-box;
    width: min(var(--modal-width-small, 440px), calc(100% - 32px));
    height: fit-content;
    max-height: calc(100% - 32px);
    overflow: auto;
    padding: 24px;
    border: 1px solid var(--color-border-default, #dde3ec);
    border-radius: var(--radius-card, 10px);
    background: var(--color-bg-surface, white);
    color: var(--color-text-primary, #172033);
    text-align: center;
    font: 400 16px/24px 'Yandex Sans Display', Arial, sans-serif;
}
.volga-app-stores .volga-store-dialog::backdrop { background: var(--overlay-bg, rgba(23,32,51,.24)); }
.volga-app-stores .volga-store-dialog h2 { margin: 0; color: inherit; font: 600 22px/30px 'Yandex Sans Display', Arial, sans-serif; }
.volga-app-stores .volga-store-dialog figure { margin: 16px 0; }
.volga-app-stores .volga-store-dialog figure img { display: block; max-width: 100%; height: auto; margin: auto; }
.volga-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.volga-app-stores button:disabled { appearance: none; gap: 9px; background: #191e28; color: #e0e4eb; font: inherit; font-weight: 600; font-size: 15px; line-height: 1; text-transform: none; border: 1px solid #414854; pointer-events: none; opacity: 1; box-shadow: none; }
.volga-app-stores button img { display: block; width: 26px; height: 26px; object-fit: contain; }
.volga-app-stores .volga-store-badge {
    display: inline-flex;
    align-items: stretch;
    min-width: var(--badge-width);
    height: var(--badge-height);
    box-sizing: border-box;
    border: 1px solid #414854;
    border-radius: 9px;
    background: #191e28;
    color: #e0e4eb;
}
.volga-app-stores .volga-store-badge > a,
.volga-app-stores .volga-store-qr {
    background: transparent;
    color: inherit;
    border: 0;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
}
.volga-app-stores .volga-store-badge > a {
    flex: 1;
    width: auto;
    height: auto;
    gap: 8px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.volga-app-stores .volga-store-badge > a:has(+ button) { border-radius: 8px 0 0 8px; }
.volga-app-stores .volga-store-qr {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    padding: 0;
    border-radius: 0 8px 8px 0;
}
.volga-app-stores .volga-store-qr::before {
    content: "";
    position: absolute;
    inset: 12px auto 12px 0;
    border-left: 1px solid #414854;
}
.volga-app-stores .volga-store-badge > :is(a, .volga-store-qr):hover { background: #414854; color: white; }
.volga-app-stores .volga-store-badge > :is(a, .volga-store-qr):active { background: #0d111b; }
.volga-app-stores .volga-store-qr:focus-visible { outline: 3px solid #75caff; outline-offset: 3px; }
@media (max-width: 640px) {
    .volga-footer-copyright { padding-inline: 52px; text-wrap: balance; }
    .volga-app-stores { --badge-width: min(144px, calc((100vw - 60px) / 2)); --badge-height: 44px; }
}

.header_menu .volga-app-stores {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--color-border-default, #dde3ec);
    font-family: 'Yandex Sans Display', Arial, sans-serif;
}
.header_menu .volga-app-stores > div > span {
    color: var(--color-text-secondary, #667085);
    margin-bottom: 8px;
}
.header_menu .volga-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(152px, 100%), 1fr));
}
.header_menu .volga-store-badge,
.header_menu .volga-badges > button:disabled {
    width: 100%;
    min-width: 0;
}
