.public-rail {
    position: fixed;

    top: 50%;
    left: 24px;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    padding: 8px;

    background: rgba(224, 224, 224, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12);

    z-index: 900;
}

.public-rail-link {
    position: relative;

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

    min-width: 76px;
    padding: 10px 12px;

    font-family: "Sora", sans-serif;
    font-size: 13px;
    font-weight: 500;

    color: #242424;
    text-decoration: none;

    border-radius: 9px;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.public-rail-link:hover {
    background: rgba(255, 255, 255, 0.45);
    color: #111111;
}

.public-rail-link.active {
    background: #181818;
    color: #f5f5f5;
}

.public-rail-link.active::before {
    content: "";

    position: absolute;

    left: -1px;
    top: 50%;

    width: 3px;
    height: 18px;

    transform: translateY(-50%);

    background: #f5f5f5;

    border-radius: 0 3px 3px 0;
}

@media (max-width: 900px) {

    .public-rail {

        left: 12px;

        padding: 6px;

        border-radius: 12px;

    }

    .public-rail-link {

        min-width: 58px;

        padding: 9px 8px;

        font-size: 12px;

        border-radius: 8px;

    }

}