body {
    font-size: 17px;
    line-height: 26px;

    -moz-osx-font-smoothing: grayscale;
    color: #000;
    background: #F2F2F2;
}

@font-face {
  font-family: 'YS Text';
  src: url('/public/app/fonts/text-variable-full.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap; 
}



@media (min-width: 925px) {
    :root {
        --layout-max-width: 884px;
        --layout-tabbar-height: 0px;
        --layout-floating-footer-offset: 8px;
    }
}

@media (min-width: 640px) {
    :root {
        --layout-island-border-radius: 10px;
        --layout-content-offset-x: 24px;
        --layout-view-offset-y: 16px;
        --layout-island-gap-y: 24px;
        --layout-header-height: var(--layout-header-height-default);
        --layout-header-banner-height: 250px;
        --layout-content-banner-height: 130px;
    }
}


.codex-special__toolbar  {
    dislay: none;
}

body {
  font-family: 'YS Text', Roboto, system-ui, -apple-system, 'Segoe UI', Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  font-weight: 400; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;}


.special-white article, .special-white aside, .special-white div, .special-white footer, .special-white form, .special-white header, body.special-white {

    color: #c9cccf !important;
}

.special-big h1 {
    font-size: 22px !important;
    line-height: 30px;
}
.branding {
    height: 60px;
}


.block-quote--text-small {
    font-size: 17px;
    line-height: 26px;
}

.ablock-quote {
    --line-width: 4px;
    display: grid;
    grid-template-columns: 4px auto;
    grid-column-gap: 12px;
    -moz-column-gap: 12px;
    column-gap: 12px;
    grid-row-gap: 8px;
    row-gap: 8px;
}


.block-quote__line {
    width: 4px;
    border-radius: 2px;
    background: #E65C77;
    margin: 4px 0;
}



@media (min-width: 768px) {
    .main-aside--offset-top {
        margin-top: 0px;
    }
}

.layout-wrapper {
    grid-row: 3;
}

.layout {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: var(--layout-max-width);
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    position: relative;
}

@media (min-width: 925px) {
    .layout {
        grid-template-columns: 220px 640px;
    }
}

@media (min-width: 1240px) {
    .layout {
        grid-template-columns: 220px 640px 320px;
    }
}

.aside--left {
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
}

@media (min-width: 925px) {
    .aside--left {
        display: flex;
    }
}

.view {
    width: 100%;
    min-width: 0;
    padding: 16px 0;
}
@media (min-width: 640px) {
    .view {
        align-self: start;
    }
}


.bar {
    width: 100%;
    position: fixed;
    left: 0;
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .bar {
        position: sticky;
    }
}
.bar--top {
    top: 0;
    z-index: 10;
}

.header {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60px;
    padding-left: 0px;
    padding-right: 0px;
    background-color: #FFE6EB;
    transform: translateZ(0);
    box-shadow: 0 -1px #FFE6EB;
}

.header__layout {
    flex-shrink: 0;
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
    grid-gap: 0;
    gap: 0;
    width: 100%;
    height: 60px;
    margin-top: auto;
    grid-template-areas: "left main right";
    grid-template-columns: 1fr auto 1fr;
}

@media (min-width: 925px) {
    .header__layout {
        max-width: var(--layout-max-width);
        grid-template-columns: 220px minmax(0, 640px) auto;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 1240px) {
    :root {
        --layout-max-width: 1280px;
    }
}

@media (min-width: 1240px) {
    .header__layout {
        grid-template-columns: 220px minmax(0, 640px) 320px;
    }
}
.header__left {
    display: flex;
    align-items: center;
    height: 100%;
    grid-area: main;
}

@media (min-width: 925px) {
    .header__left {
        grid-area: left;
        padding-left: 10px;
    }
}

.header__logo {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 24px;
}

@media (min-width: 925px) {
    .header__logo {
        padding: 0 10px;
    }
}

@media (min-width: 925px) {
    .header__main {
        width: 100%;
        grid-area: main;
        display: flex;
        align-items: center;
        -moz-column-gap: 8px;
        column-gap: 8px;
        height: 100%;
        padding-left: 34px;
    }
}

@media (min-width: 1240px) {
    .header__main {
        padding-left: 10px;
    }
}

.distribution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    height: 100%;
}

@media (min-width: 925px) {
    .header__distribution {
        display: none;
    }
}

.header__main-distribution {
    margin-left: auto;
    margin-right: 10px;
}

@media (min-width: 1240px) {
    .header__main-distribution {
        margin-right: 0;
        padding-right: 24px;
    }
}

.distribution__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    white-space: nowrap;
}

@media (min-width: 925px) {
    
.distribution__link {
        justify-content: flex-start;
    }
}

@media (min-width: 1240px) {
    .distribution__link {
        justify-content: center;
    }
}

.distribution__link:only-child {
    flex: 1;
}

.distribution__image {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.distribution__text {
    font-size: 15px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header__right {
    display: grid;
    grid-area: right;
    padding-right: 20px;
    max-width: 100%;
}

@media (min-width: 640px) {
    .header__right {
        -moz-column-gap: 8px;
        column-gap: 8px;
        align-items: center;
        margin-left: auto;
        grid-auto-flow: column;
    }
}

@media (min-width: 925px) {
    .header__right {
        padding-right: 0;
    }
}

@media (min-width: 1240px) {
    .header__right {
        position: relative;
        -moz-column-gap: 12px;
        column-gap: 12px;
    }
}


button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, [type=button], [type=reset], [type=submit] {
    -webkit-appearance: button;
}

.button {
    --button-font-weight: 500;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    background-color: var(--button-bg-color);
    border-radius: var(--button-radius);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--button-text-color);
    padding: var(--button-padding);
    height: var(--button-height);
    flex-shrink: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}


.button--size-l {
    --button-icon-margin: 0 8px 0 12px;
    --button-padding: 0 16px;
    --button-font-size: 17px;
    --button-width: 46px;
    --button-height: 42px;
    --button-radius: 10px;
    --icon-size: 24px;
}

button {
    padding: 0;
    background: none;
    border: none;
}

html, body, a, button, [role=button], [tabindex], input, textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.quick-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.header svg {
    display: block;
    fill: currentColor;
}

.button--type-secondary {
    box-shadow: 0 0 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .1), inset 0 -1px 0 rgba(0, 0, 0, .06);;
    --button-bg-color: #fff;
    --button-bg-color-hover: #fff;
    --button-bg-color-active: #fff;
    --button-text-color: #000;
}

.button--with-icon {
    padding-left: 0;
}

.button--with-icon svg, .button--with-icon img {
    margin: var(--button-icon-margin);
    width: var(--icon-size);
    height: var(--icon-size);
}

.button--rounded {
    --button-radius: var(--button-height);
}

.button--type-primary {
    --button-bg-color: #0B5DD7;
    --button-bg-color-hover: #2264BF;
    --button-bg-color-active: #2A6DD1;
    --button-text-color: #fff;
}

@media(hover: hover) {
    .button--type-secondary:hover {
        box-shadow:var(--theme-color-button-secondary-shadow-hover)
    }
}

.button--type-secondary:active {
    box-shadow: var(--theme-color-button-secondary-shadow-active)
}

[data-overlayscrollbars] {
    position: relative;
}
[data-overlayscrollbars~=host], [data-overlayscrollbars-padding] {
    align-items: stretch !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    scroll-behavior: auto !important;
}

[data-overlayscrollbars~=host], [data-overlayscrollbars-padding] {
    display: flex;
}

[data-overlayscrollbars~=host], [data-overlayscrollbars-padding] {
    overflow: hidden !important;
}

[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport]), [data-overlayscrollbars-viewport~=scrollbarHidden], html[data-overlayscrollbars-viewport~=scrollbarHidden]>body {
    scrollbar-width: none !important;
}


.sidebar {
    display: grid;
    grid-row-gap: 26px;
    row-gap: 26px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 10px;
    padding-right: 8px;
}

.sidebar-item .andropov-media {
    flex-shrink: 0;
    margin-right: 10px;
}

.andropov-media {
    overflow: hidden;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
}

.andropov-media--rounded {
    border-radius: 50%;
}

aside--left .scrollable {
    flex-grow: 1;
}


[data-ripple] {
    position: relative;
    overflow: hidden;
}

.sidebar-item {
    --height: 46px;
    --offset: 10px;
    display: flex;
    align-items: center;
    min-width: 0;
    height: var(--height);
    padding: 0 var(--offset);
    border-radius: 12px;
    cursor: pointer;
}

.sidebar-item .icon {
    flex-shrink: 0;
    color: #595959;
    margin-right: 12px;
}

.sidebar-item__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dot {
    background-color: #0b5dd7;
    border-radius: 50%;
    animation: update-in .25s ease-in;
    width: 6px;
    height: 6px;
}

.dot--size-large {
    width: 8px;
    height: 8px;
}
.sidebar-item__has-updates {
    flex-shrink: 0;
    margin: auto 6px auto auto;
}

/* ostrov */

.content {
    --link-z-index: 0;
    background-color: #fff;
    border-radius: 10px;
    max-width: 100%;
    padding-bottom: 4px;
}

@media (min-width: 640px) {
    .content {
        padding-bottom: 6px;
    }
}

.content-header {
    display: flex;
    align-items: center;
    padding: 16px 24px 12px;
}

@media (min-width: 640px) {
    .content-header {
        padding-top: 20px;
    }
}

.author {
    font-size: 15px;
    line-height: 22px;
    --avatar-size: 40px;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: repeat(2, auto);
    grid-gap: 0 10px;
    gap: 0 10px;
    align-items: center;
}

.author--with-sticker {
    gap: 0 12px;
    align-items: start;
}

.content-header .author:not(:last-child) {
    margin-right: 12px;
}

.author__avatar {
    color: inherit !important;
    border: 0 !important;
}

.author__avatar {
    grid-row: span 2;
    height: 40px;
}

.author__avatar-sticker {
    display: block;
    position: absolute;
    transform: translate(24px, 21px);
    border: 1px solid #fff;
    border-radius: 50%;
}

.author__main {
    display: flex;
    align-items: center;
    min-width: 0;
    position: relative;
}

.author__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.author__details {
    font-size: 13px;
    line-height: 18px;
    display: flex;
    align-items: center;
    min-width: 0;
    color: #000;
}


.content-header__topic {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

.string-switch {
    overflow: hidden;
}

.author .noshrink {
    flex-shrink: 0;
}

.author__details>*:not(:first-child) {
    margin-left: 6px;
}

.content-header__date {
    display: flex;
}

.content-modified {
    margin-left: 4px !important;
}

.content-modified {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 2px;
}

.content-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
}

.button--size-s {
    --button-icon-margin: 0 5px 0 8px;
    --button-padding: 0 10px;
    --button-font-size: 13px;
    --button-width: 30px;
    --button-height: 28px;
    --button-radius: 8px;
    --icon-size: 16px;
    padding-bottom: 1px;
}


.button--type-minimal {
    --button-bg-color: #F0F0F0;
    --button-bg-color-hover: #E6E6E6;
    --button-bg-color-active: #D8D8D8;
    --button-text-color: #000;
}

.button--with-icon {
    padding-left: 0;
}


.content__body {
    position: relative;
    padding-bottom: 4px;
}

@media (min-width: 640px) {
    .content__body {
        padding-bottom: 6px;
    }
}

.content-title {
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    --icon-color: #E65C77;
    --offset: 12px;
    padding: 0 24px 12px;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

.content__blocks {
    position: relative;
}

.block-wrapper--media {
    margin-top: 20px;
    margin-bottom: 20px;
}

.block-wrapper:first-child {
    margin-top: 0;
}

.block-media {
    padding: 0 24px;
}

.media {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.media__underlay, .media:after, .media .andropov-media {
    grid-column: 1;
    grid-row: 1;
}

.media__underlay {
    --background-color: rgba(0, 0, 0, .08);
    --background-image: none;
    background-color: #21293a;
    background-image: var(--background-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 11px;
}

.block-wrapper {
    margin-top: 12px;
    margin-bottom: 12px;
}

.block-wrapper:last-child{
    margin-bottom: 0;
}

.block-text {
    font-size: 17px;
    line-height: 26px;
    padding: 0 24px;
    padding-right: 39px;
}

.content__read-more {
    position: relative;
    padding: 0 24px;
    margin-top: 20px;
    z-index: 1;
}

.link-button {
    display: inline-flex;
    align-items: center;
    color: #0B5DD7;
    cursor: pointer;
    white-space: nowrap;
}

.link-button--default {
    font-size: 17px;
    line-height: 26px;
}

.content__reactions {
    padding: 0 24px;
    padding-top: 14px;
    padding-bottom: 6px;
    z-index: 1;
}

.reactions {
    position: relative;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.reaction-button {
    --reaction-button-size: 20px;
    --reaction-button-padding: 5px 8px;
    --reaction-button-gap: 6px;
    --reaction-button-font-size: 15px;
    --reaction-button-min-width: 36px;
    display: flex;
    flex-shrink: 0;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    line-height: 20px;
    min-width: 36px;
}

.reaction-button--type-default {
    background: #F9F9F9;
    color: #595959;
}

.animated-image {
    display: block;
    border-radius: 4px;
}

.content-footer {
    --height: 46px;
    --offset-x: 24px;
    padding: 24px;
    height: 46px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.content-footer__item:not(:last-child) {
    margin-right: 20px;
}

.content-footer__item:first-child {
    margin-left: -4px;
}

.content-footer-button {
    --button-size-default: 28px;
    --button-size-small: 22px;
    --button-color: #595959;
    --button-icon-bg-color: transparent;
    --button-size: 28px;
    font-size: 15px;
    line-height: 22px;
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: #595959;
    cursor: pointer;
}

.content-footer-button__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border-radius: 100%;
}

.content-footer-button__label {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.content-footer__space {
    flex: 1;
}

.content-stats-wrapper[data-v-85f3ff7a] {
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 28px;
    overflow: hidden;
    --speed: .22s;
}

.content-comment {
    padding: 14px 24px 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.content-comment__avatar {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.content-comment__text {
    font-size: 15px;
    line-height: 22px;
    line-height: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-line-clamp: var(--line-count, 2);
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 24px;
}

