.site-shell:has(> #header.tourney-side-nav) #left-block:has(> #post.prediction-table-page),
.site-shell:has(> #header.tourney-side-nav) #left-block:has(> #post.struct-predictions-page),
.site-shell:has(> #header.tourney-side-nav) #left-block:has(> #post.struct-fantasy-page) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.site-shell:has(> #header.tourney-side-nav) #left-block:has(> #post.prediction-table-page),
.site-shell:has(> #header.tourney-side-nav) #left-block:has(> #post.struct-predictions-page),
.site-shell:has(> #header.tourney-side-nav) #left-block:has(> #post.struct-fantasy-page) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Структура лиг (struct_predictions, struct_fantasy) */
#post.struct-predictions-page,
#post.struct-fantasy-page {
    padding: 4px 0 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
#post.struct-predictions-page .struct-league .ind-league-banner,
#post.struct-fantasy-page .struct-league .ind-league-banner {
    min-height: 44px;
    padding: 8px 12px;
    gap: 10px;
    margin: 0 0 10px;
}
#post.struct-predictions-page .struct-league .ind-league-banner__mark,
#post.struct-fantasy-page .struct-league .ind-league-banner__mark {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 86%;
}
#post.struct-predictions-page .struct-league .ind-league-banner__title,
#post.struct-fantasy-page .struct-league .ind-league-banner__title {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.74rem, 0.62rem + 0.35vw, 0.92rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.15;
}
#post.struct-fantasy-page .struct-pyramid {
    gap: 16px;
}
#post.struct-fantasy-page .struct-tier {
    margin: 0;
}
#post.struct-fantasy-page .struct-tier__body {
    gap: 0;
    margin: 0;
    align-items: stretch;
}
#post.struct-fantasy-page .struct-tier__body--center {
    align-items: stretch;
}
#post.struct-fantasy-page .struct-tier--first .struct-tier__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}
#post.struct-fantasy-page .struct-tier--first .struct-tier__row .struct-league:nth-child(3):last-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    max-width: calc(50% - 6px);
    justify-self: center;
}
#post.struct-fantasy-page .struct-tier__row {
    gap: 12px;
    align-items: stretch;
}
#post.struct-fantasy-page .struct-league {
    padding: 10px 12px;
    margin: 0;
}
#post.struct-fantasy-page .struct-league > .ind-league-banner,
#post.struct-fantasy-page .struct-league .ind-league-banner {
    margin: 0 0 10px !important;
    align-items: center;
    box-sizing: border-box;
}
#post.struct-fantasy-page .struct-league .ind-league-banner__title--split .ind-league-banner__title-main,
#post.struct-fantasy-page .struct-league .ind-league-banner__title--split .ind-league-banner__title-sub {
    display: inline;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: none;
    line-height: inherit;
}
#post.struct-fantasy-page .struct-league .ind-league-banner__title--split .ind-league-banner__title-main::after {
    content: '. ';
}
#post.struct-fantasy-page .struct-league__cols {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px 16px;
}
#post.struct-fantasy-page .struct-league__col {
    flex: 0 0 168px;
    width: 168px;
    max-width: 168px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
#post.struct-fantasy-page .struct-league--elite .struct-league__cols,
#post.struct-fantasy-page .struct-league--qualifying .struct-league__cols {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: stretch;
    gap: 6px 16px;
    width: 100%;
}
#post.struct-fantasy-page .struct-league--elite .struct-league__col,
#post.struct-fantasy-page .struct-league--qualifying .struct-league__col {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
}
#post.struct-fantasy-page .struct-tier__row .struct-league {
    height: 100%;
}

/* Структура лиг (struct_predictions, struct_fantasy) */
#post.struct-predictions-page,
#post.struct-fantasy-page {
    padding: 4px 0 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
/* === end restoration batch === */

/* struct_fantasy: ровные отступы — конец файла, перебивает дубли struct-league ниже по файлу */
#post.struct-fantasy-page .struct-tier__body,
#post.struct-fantasy-page .struct-tier__body--center {
    align-items: stretch !important;
}
#post.struct-fantasy-page .struct-league--elite,
#post.struct-fantasy-page .struct-league--qualifying {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}
#post.struct-fantasy-page .struct-league {
    margin: 0 !important;
}
#post.struct-fantasy-page .struct-league__cols {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 6px 16px !important;
}
#post.struct-fantasy-page .struct-league__col {
    flex: 0 0 168px !important;
    width: 168px !important;
    max-width: 168px !important;
    min-width: 0;
}
#post.struct-fantasy-page .struct-league--elite .struct-league__cols,
#post.struct-fantasy-page .struct-league--qualifying .struct-league__cols {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: flex-start !important;
    justify-content: stretch !important;
    gap: 6px 16px !important;
    width: 100%;
}
#post.struct-fantasy-page .struct-league--elite .struct-league__col,
#post.struct-fantasy-page .struct-league--qualifying .struct-league__col {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}
