/* ==========================================================
   KOSMODRIFT UNIFIED LIVE V15.3.13

   Один DOM и один JavaScript для ПК и телефона.
   ========================================================== */

#kdb-live-render-v9.kdb-live-unified-v15-3-13 {
    position: absolute !important;
    top: 22px !important;
    left: 50% !important;
    z-index: 30 !important;

    width: calc(100% - 32px) !important;
    max-width: 1880px !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateX(-50%) !important;

    border:
        1px solid rgba(64, 181, 224, 0.38) !important;

    background:
        linear-gradient(
            110deg,
            rgba(2, 19, 31, 0.97) 0%,
            rgba(3, 25, 39, 0.96) 34%,
            rgba(21, 70, 91, 0.88) 100%
        ) !important;

    box-shadow:
        0 16px 38px rgba(0, 8, 15, 0.25) !important;

    color: #f4f8fb !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

#kdb-live-render-v9.kdb-live-unified-v15-3-13,
#kdb-live-render-v9.kdb-live-unified-v15-3-13 * {
    box-sizing: border-box !important;
}

.kdb-live-v15-3-13__grid {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns:
        minmax(205px, 0.84fr)
        minmax(300px, 1.48fr)
        minmax(245px, 1fr)
        minmax(330px, 1.34fr);

    grid-template-areas:
        "status current stage previous";

    align-items: stretch;
}

.kdb-live-v15-3-13__cell {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 13px 20px;

    border-right:
        1px solid rgba(88, 187, 223, 0.17);

    overflow: hidden;
}

.kdb-live-v15-3-13__cell:last-child {
    border-right: 0;
}

.kdb-live-v15-3-13__status {
    grid-area: status;

    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;
}

.kdb-live-v15-3-13__current {
    grid-area: current;
}

.kdb-live-v15-3-13__stage {
    grid-area: stage;
}

.kdb-live-v15-3-13__previous {
    grid-area: previous;
}

.kdb-live-v15-3-13__dot {
    width: 12px;
    height: 12px;

    flex: 0 0 12px;

    border-radius: 50%;

    background: #f02d63;

    box-shadow:
        0 0 0 5px rgba(240, 45, 99, 0.11),
        0 0 14px rgba(240, 45, 99, 0.58);
}

.kdb-live-v15-3-13__dot--idle {
    background: #6f8797;

    box-shadow:
        0 0 0 5px rgba(111, 135, 151, 0.11);
}

.kdb-live-v15-3-13__live {
    flex: 0 0 auto;

    color: #ffffff;

    font-family: "Oswald", sans-serif;
    font-size: 28px;
    font-weight: 750;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
}

.kdb-live-v15-3-13__division {
    min-width: 0;

    color: #9fb2bf;

    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.12;
    text-transform: uppercase;

    white-space: normal;
    overflow-wrap: anywhere;
}

.kdb-live-v15-3-13__label {
    display: block;

    margin-bottom: 5px;

    color: #8fa7b7;

    font-family: "Golos Text", sans-serif;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.kdb-live-v15-3-13__value {
    display: block;

    max-width: 100%;

    color: #f4f8fb;

    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.16;

    white-space: normal;
    overflow-wrap: anywhere;
}

.kdb-live-v15-3-13__stage
.kdb-live-v15-3-13__value {
    font-size: 14px;
}

.site-header a[data-kdb-vk-unified="v15.3.13"] {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;

    display: inline-grid !important;
    place-items: center !important;

    padding: 0 !important;
    margin: 0 !important;

    line-height: 1 !important;
}

.kdb-header-vk-v15-3-13 {
    display: block;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
}

@media (max-width: 760px) {
    #kdb-live-render-v9.kdb-live-unified-v15-3-13 {
        top: 20px !important;

        width: calc(100% - 48px) !important;
        height: 210px !important;
        min-height: 210px !important;
        max-height: 210px !important;
    }

    .kdb-live-v15-3-13__grid {
        grid-template-columns:
            minmax(0, 45%)
            minmax(0, 55%);

        grid-template-rows:
            48px
            minmax(0, 1fr)
            minmax(0, 1fr);

        grid-template-areas:
            "status stage"
            "current stage"
            "previous stage";
    }

    .kdb-live-v15-3-13__cell {
        padding: 10px 13px;
    }

    .kdb-live-v15-3-13__status {
        border-right:
            1px solid rgba(88, 187, 223, 0.17);
        border-bottom:
            1px solid rgba(88, 187, 223, 0.17);
    }

    .kdb-live-v15-3-13__current {
        border-right:
            1px solid rgba(88, 187, 223, 0.17);
        border-bottom:
            1px solid rgba(88, 187, 223, 0.17);
    }

    .kdb-live-v15-3-13__previous {
        border-right:
            1px solid rgba(88, 187, 223, 0.17);
    }

    .kdb-live-v15-3-13__stage {
        padding: 18px 17px;

        border-right: 0;

        background:
            linear-gradient(
                145deg,
                rgba(27, 84, 107, 0.12),
                rgba(4, 29, 43, 0.03)
            );
    }

    .kdb-live-v15-3-13__live {
        font-size: 27px;
    }

    .kdb-live-v15-3-13__division {
        font-size: 9px;
    }

    .kdb-live-v15-3-13__label {
        margin-bottom: 5px;

        font-size: 8px;
    }

    .kdb-live-v15-3-13__value {
        font-size: 15px;
    }

    .kdb-live-v15-3-13__stage
    .kdb-live-v15-3-13__label {
        font-size: 10px;
    }

    .kdb-live-v15-3-13__stage
    .kdb-live-v15-3-13__value {
        font-size: 15px;
        line-height: 1.22;
    }

    .site-header a[data-kdb-vk-unified="v15.3.13"] {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }

    .kdb-header-vk-v15-3-13 {
        font-size: 15px;
    }
}

@media (max-width: 390px) {
    .kdb-live-v15-3-13__grid {
        grid-template-columns:
            minmax(0, 47%)
            minmax(0, 53%);
    }

    .kdb-live-v15-3-13__cell {
        padding-right: 10px;
        padding-left: 10px;
    }

    .kdb-live-v15-3-13__stage {
        padding-right: 12px;
        padding-left: 12px;
    }

    .kdb-live-v15-3-13__value {
        font-size: 14px;
    }

    .kdb-live-v15-3-13__stage
    .kdb-live-v15-3-13__value {
        font-size: 14px;
    }
}
