:root {
    /* Yoomoney logo */
    --md-admonition-icon--yoomoney: url('data:image/svg+xml;charset=utf-8,<svg width="169" height="120" viewBox="0 0 169 120" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M108.99 0C75.5725 0 48.9902 26.962 48.9902 60C48.9902 93.4177 75.9523 120 108.99 120C142.028 120 168.99 93.038 168.99 60C168.99 26.962 142.028 0 108.99 0ZM108.99 82.4051C96.8383 82.4051 86.5852 72.1519 86.5852 60C86.5852 47.8481 96.8383 37.5949 108.99 37.5949C121.142 37.5949 131.395 47.8481 131.395 60C131.016 72.1519 121.142 82.4051 108.99 82.4051Z" fill="white"/><path d="M48.6076 17.4684V104.81H27.3418L0 17.4684H48.6076V17.4684Z" fill="white"/></svg>');
    /* Boosty logo */
    --md-admonition-icon--boosty: url('data:image/svg+xml;charset=utf-8,<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M2.661 14.337 6.801 0h6.362L11.88 4.444l-0.038 0.077 -3.378 11.733h3.15c-1.321 3.289 -2.35 5.867 -3.086 7.733 -5.816 -0.063 -7.442 -4.228 -6.02 -9.155M8.554 24l7.67 -11.035h-3.25l2.83 -7.073c4.852 0.508 7.137 4.33 5.791 8.952C20.16 19.81 14.344 24 8.68 24h-0.127z" fill="white" stroke-width="1"></path></svg>');
}

/* Yoomoney styling */

.md-typeset .admonition.yoomoney,
.md-typeset details.yoomoney {
    border-color: rgba(113, 47, 244, 1);
}
.md-typeset .yoomoney > .admonition-title,
.md-typeset .yoomoney > summary {
    background-color: rgba(113, 47, 244, 0.1);
}
.md-typeset .yoomoney > .admonition-title::before,
.md-typeset .yoomoney > summary::before {
    background-color: rgb(113, 47, 244);
    -webkit-mask-image: var(--md-admonition-icon--yoomoney);
    mask-image: var(--md-admonition-icon--yoomoney);
}

/* Boosty styling */

.md-typeset .admonition.boosty,
.md-typeset details.boosty {
    border-color: rgb(241, 95, 44);
}
.md-typeset .boosty > .admonition-title,
.md-typeset .boosty > summary {
    background-color: rgba(241, 95, 44, 0.1);
}
.md-typeset .boosty > .admonition-title::before,
.md-typeset .boosty > summary::before {
    background-color: rgb(241, 95, 44);
    -webkit-mask-image: var(--md-admonition-icon--boosty);
    mask-image: var(--md-admonition-icon--boosty);
}






.chapter li.part-title {
    font-size: 1.2em;
}

main ol li {
    margin-bottom: 10px;
}

.badge {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-sizing: border-box;
    color: rgb(33, 37, 41);
    display: inline-block;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial,
        sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 10.5px;
    font-weight: 700;
    height: 17.8438px;
    line-height: 10.5px;
    margin-right: 4px;
    padding-bottom: 3.675px;
    padding-left: 6.825px;
    padding-right: 6.825px;
    padding-top: 3.675px;
    text-align: center;
    text-size-adjust: 100%;
    text-wrap-mode: nowrap;
    vertical-align: baseline;
    white-space-collapse: collapse;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.badge.online {
    background-color: rgb(25, 135, 84);
}

.badge.online-percent {
    border: 1px solid rgb(25, 135, 84);
    color: var(--md-typeset-color);
}

.badge.offline {
    background-color: rgb(220, 53, 69);
}

.badge.unknown {
    background-color: rgb(108, 117, 125);
}

.badge.adult {
    background-color: rgb(255, 193, 7);
}

.badge.lapka {
    background-color: rgb(13, 202, 240);
}

.icon.online {
    color: rgb(25, 135, 84);
}

.icon.offline {
    color: rgb(220, 53, 69);
}
