
/* --- olegtix-block-league_matches_tabs --- */
.block-lm-tabs {
  margin-bottom: 16px;
}

.block-lm-tabs__title {
  font-size: 24px;
  font-weight: 700;
  color: #232323;
  margin: 0 0 16px;
}

.block-lm-tabs .sport-tabs {
  margin: 0 0 16px;
}

.block-lm-tabs .sort-btn:not(.sort-btn--active) {
  background: transparent;
  color: var(--text);
}

.block-lm-tabs .sort-btn--active {
  background-color: var(--white);
  color: var(--primary);
}

.block-lm-tabs__panels {
  min-height: 100px;
}

.block-lm-tabs__panel {
  display: none;
}

.block-lm-tabs__panel--active {
  display: block;
}

.block-lm-tabs__panel .matches-table {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding: 4px;
  margin-bottom: 16px;
}

.block-lm-tabs__panel .matches-table:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .block-lm-tabs__panel .matches-table {
    background: transparent;
    padding: 0;
  }
}


/* --- olegtix-block-expert_predictions --- */
.block-expert-predictions {
  margin-bottom: 16px;
}

.block-expert-predictions .dates-header {
  margin-bottom: 16px;
}

.block-expert-predictions .sport-tabs {
  margin: 0 0 16px;
}

.block-expert-predictions .sort-btn:not(.sort-btn--active) {
  background: transparent;
  color: var(--text);
}

.block-expert-predictions .sort-btn--active {
  background-color: var(--white);
  color: var(--primary);
}

.block-expert-predictions__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block-expert-predictions__empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #7d7d7d;
}

.block-expert-predictions__empty + .block-expert-predictions__nearest {
  padding-top: 0;
}

.block-expert-predictions__nearest {
  padding: 8px 20px 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.block-expert-predictions__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.block-expert-predictions__more-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  padding: 0 32px;
  height: 50px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.block-expert-predictions__more-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.block-expert-predictions__more-btn--loading {
  opacity: 0.6;
  pointer-events: none;
}



/* --- olegtix-block-banner --- */
.block-banner {
    padding: 48px 0;
}

.block-banner__link {
    display: block;
}

.block-banner__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}


/* --- olegtix-block-experts_slider --- */
.experts-slider {
  padding: 48px 0;
  overflow: hidden;
  width: 100%;
}

.experts-slider__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.experts-slider__title {
  margin: 0;
}

.experts-slider__navigation {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.experts-slider__nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.experts-slider__nav-btn:hover {
  background-color: var(--grey-light);
}

.experts-slider__nav-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.experts-slider__slider {
  overflow: visible;
  width: 100%;
}

.experts-slider__footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.experts-slider__footer .btn {
  padding: 14px 32px;
}

.expert-card {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.expert-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.expert-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--grey-light);
  color: var(--text);
  font-size: 36px;
  font-weight: 700;
}

.expert-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.expert-card__position {
  font-size: 14px;
  color: #888;
  margin-top: -12px;
}

.expert-card__btn {
  width: 100%;
  font-size: 14px;
  padding: 12px 20px;
}

@media (max-width: 991px) {
  .experts-slider {
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  .experts-slider {
    padding: 32px 0;
  }

  .experts-slider__header {
    margin-bottom: 16px;
  }

  .expert-card {
    padding: 16px;
    gap: 16px;
  }

  .expert-card__avatar {
    width: 80px;
    height: 80px;
  }

  .expert-card__name {
    font-size: 16px;
  }
}


/* --- olegtix-block-experts --- */
.block-experts {
  margin-top: 40px;
  margin-bottom: 40px;
}

.block-experts__title {
  margin-bottom: 24px;
}

.block-experts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.expert-listing-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 20px;
  border-radius: 14px;
  background: var(--white);
}

.expert-listing-card__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.expert-listing-card__avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grey-light);
}

.expert-listing-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-listing-card__avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--grey);
  font-size: 36px;
  font-weight: 700;
}

.expert-listing-card__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.expert-listing-card__name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.expert-listing-card__position {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--grey);
}

.expert-listing-card__sport {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grey-light);
}

.expert-listing-card__sport img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.expert-listing-card__bio {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expert-listing-card__stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.expert-listing-card__stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--grey-light);
}

.expert-listing-card__stat-label {
  font-size: 12px;
  line-height: 1.3;
  color: var(--text);
}

.expert-listing-card__stat-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  white-space: nowrap;
}

.expert-listing-card__btn {
  margin-top: auto;
  width: 100%;
  height: 50px;
  padding: 0 32px;
  box-shadow: 0 5px 10px rgba(147, 69, 216, 0.25);
}

.block-experts__more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.block-experts__more[hidden] {
  display: none;
}

.block-experts__more-btn {
  min-width: 185px;
  height: 50px;
}

.block-experts__more-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.block-experts__pagination {
  display: flex;
  justify-content: center;
}

.block-experts__empty {
  padding: 32px 0;
  color: var(--grey);
  font-size: 14px;
}

.block-experts.is-loading {
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .block-experts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .block-experts {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .block-experts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .block-experts__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .block-experts__more-btn {
    width: 100%;
  }
}


/* --- olegtix-block-sport_leagues --- */
.block-sport-leagues {
    margin: 0;
}

.block-sport-leagues .sport-tabs {
    margin: 0 0 16px;
}

.block-sport-leagues__hub-link {
    display: inline-block;
    margin: 0 0 12px;
    color: #9345d8;
    font-weight: 600;
    text-decoration: none;
}

.block-sport-leagues__hub-link:hover {
    text-decoration: underline;
}

.block-sport-leagues__see-all {
    display: inline-block;
    margin-top: 8px;
    color: #9345d8;
    font-size: 14px;
    text-decoration: none;
}

.block-sport-leagues__see-all:hover {
    text-decoration: underline;
}

.block-sport-leagues__panel {
    display: none;
}

.block-sport-leagues__panel--active {
    display: block;
}

.block-sport-leagues__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.block-sport-leagues__card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #232323;
    font-size: 14px;
    transition: opacity 0.2s;
}

.block-sport-leagues__card:hover {
    opacity: 0.7;
}

.block-sport-leagues__panel[data-panel="popular"] .block-sport-leagues__card {
    background: #fff;
}

.block-sport-leagues__empty {
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    color: #7d7d7d;
    font-size: 14px;
}

.block-sport-leagues__card-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.block-sport-leagues__card-icon {
    display: flex;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.block-sport-leagues__card-icon svg {
    width: 100%;
    height: 100%;
}

.block-sport-leagues__country {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 0 20px;
}

.block-sport-leagues__country-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.block-sport-leagues__country-flag {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
    object-fit: cover;
}

.block-sport-leagues__country-name {
    font-weight: 700;
    font-size: 16px;
    color: #232323;
    flex: 1;
}

.block-sport-leagues__country-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s;
    color: #7d7d7d;
}

.block-sport-leagues__country--open .block-sport-leagues__country-chevron {
    transform: rotate(180deg);
}

.block-sport-leagues__country-body {
    display: none;
    padding: 0 0 16px;
}

.block-sport-leagues__country--open .block-sport-leagues__country-body {
    display: block;
}

@media (max-width: 768px) {
    .block-sport-leagues__grid {
        grid-template-columns: 1fr;
    }

    .block-sport-leagues .sport-tabs__tab {
        font-size: 18px;
    }

    .block-sport-leagues .sport-tabs__tab-text {
        display: inline;
    }
}


/* --- olegtix-author --- */
/* Страница автора */
.author-page {
  padding: 48px 0;
  background-color: var(--grey-light);
  /* min-height: calc(100vh - 200px); */
}

.author-page__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.author-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 20px;
}

.author-page__avatar {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: auto;
  flex-shrink: 0;
}

.author-page__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-page__avatar--placeholder {
  width: 100%;
  height: 100%;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 400;
  color: var(--white);
  border-radius: 50%;
}

.author-page__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.author-page__contact svg {
  flex-shrink: 0;
}

.author-page__contact a {
  color: var(--text);
  text-decoration: none;
}

.author-page__contact a:hover {
  color: var(--primary);
}

.author-page__city {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.author-page__workplace {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.author-page__socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.author-page__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.author-page__social-link:hover {
  opacity: 0.7;
}

.author-page__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.author-page__content {
  display: flex;
  flex-direction: column;
}

.author-page__content.white-bg {
  padding: 40px;
  overflow: hidden;
}
.author-page__info {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.author-page__header {
  padding: 0 0 24px;
  border-bottom: 1px solid var(--grey-light);
}

.author-page__header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.author-page__header-info {
  flex: 1;
}

.author-page__name {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.275em;
  color: var(--text);
}

.author-page__position {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey);
}

.author-page__rating {
  flex-shrink: 0;
}

.author-page__rating-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.275em;
  color: var(--text);
  margin-bottom: 6px;
}
.author-page__rating-stars {
  font-size: 14px;
  font-weight: 600;
}
.author-page__rating-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}
.author-page__rating-votes {
  font-size: 12px;
}
.author-page__rating-value svg {
  flex-shrink: 0;
}

.author-page__block {
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-light);
}

.author-page__content > .author-page__block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.author-page__block h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

.author-page--expert .author-page__layout {
  grid-template-columns: 312px minmax(0, 1fr);
  gap: 40px;
}

.author-page--expert .author-page__sidebar {
  gap: 24px;
}

.author-page--expert .author-page__info {
  width: 100%;
}

.author-page--expert .author-page__avatar {
  width: 200px;
  height: 200px;
}

.author-page--expert .author-page__content.white-bg {
  border-radius: 8px;
}

.author-page--expert .author-page__header {
  padding-bottom: 18px;
}

.author-page--expert .author-page__position {
  margin-top: 4px;
}

.expert-profile__summary {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  gap: 12px;
  width: 312px;
  max-width: 100%;
}

.expert-profile__summary-card {
  display: flex;
  width: 150px;
  min-height: 67px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--white);
}

.expert-profile__summary-label {
  font-size: 14px;
  line-height: 1.3;
  color: var(--text);
}

.expert-profile__summary-value {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary);
}

.expert-profile__sports {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.expert-profile__sport {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--grey-light);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.expert-profile__sport:hover {
  color: var(--primary);
}

.expert-profile__sport img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.expert-profile__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--grey);
}

.expert-profile__contacts a {
  color: var(--grey);
  text-decoration: none;
}

.expert-profile__contacts a:hover {
  color: var(--primary);
}

.expert-statistics {
  padding: 48px 0 0;
}

.expert-statistics__title {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.27;
  color: var(--text);
}

.expert-statistics__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 206.6667px));
  gap: 16px;
}

.expert-statistics__card {
  min-height: 130px;
  padding: 20px;
  border-radius: 14px;
  background: var(--white);
}

.expert-statistics__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text);
}

.expert-statistics__info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--grey);
  border-radius: 50%;
  background: transparent;
  cursor: help;
  font-size: 12px;
  line-height: 1;
  color: var(--grey);
}

.expert-statistics__tooltip {
  --arrow-x: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  max-width: min(240px, calc(100vw - 16px));
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--text);
  color: var(--white);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 8px 24px rgba(35, 35, 35, 0.18);
  pointer-events: none;
}

.expert-statistics__tooltip[hidden] {
  display: none;
}

.expert-statistics__tooltip::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: var(--arrow-x);
  width: 10px;
  height: 10px;
  background: var(--text);
  transform: translateX(-50%) rotate(45deg);
}

.expert-statistics__tooltip--below::before {
  bottom: auto;
  top: -4px;
}

.expert-statistics__value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.27;
  color: var(--text);
}

.expert-statistics__subvalue {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--primary);
}

.expert-statistics__card--accent .expert-statistics__value {
  color: var(--primary);
}

.expert-statistics__card--positive .expert-statistics__value {
  color: #34b945;
}

.expert-statistics__card--negative .expert-statistics__value {
  color: #f85c5f;
}

.expert-prediction-history {
  padding: 48px 0 0;
}

.expert-prediction-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.expert-prediction-history__title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.27;
  color: var(--text);
}

.expert-prediction-history__filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.expert-prediction-history__filters::-webkit-scrollbar {
  display: none;
}

.expert-prediction-history .sort-btn {
  padding: 0 14px;
  height: 40px;
  font-size: 13px;
}

.expert-prediction-history .sort-btn:not(.sort-btn--active) {
  background: transparent;
  color: var(--text);
}

.expert-prediction-history .sort-btn--active {
  background: var(--white);
  color: var(--primary);
}

.expert-prediction-history__table {
  overflow-x: auto;
  padding: 4px;
  border-radius: 14px;
  background: var(--white);
}

.expert-prediction-history__columns,
.expert-prediction-history__row {
  display: grid;
  grid-template-columns: minmax(320px, 400px) repeat(5, minmax(120px, 1fr));
  min-width: 1040px;
}

.expert-prediction-history__columns {
  min-height: 40px;
  align-items: center;
  padding-left: 20px;
  border-radius: 10px;
  background: var(--grey-light);
  color: var(--grey);
  font-size: 14px;
  line-height: 1.3;
}

.expert-prediction-history__columns span:not(:first-child) {
  text-align: center;
}

.expert-prediction-history__row {
  min-height: 60px;
  align-items: center;
  padding-left: 20px;
  border-bottom: 1px solid var(--grey-light);
  font-size: 14px;
  line-height: 1.3;
}

.expert-prediction-history__match {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.expert-prediction-history__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--grey);
  flex-shrink: 0;
}

.expert-prediction-history__toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.expert-prediction-history__item.is-open .expert-prediction-history__toggle-icon {
  transform: rotate(45deg);
}

.expert-prediction-history__bets-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f6efff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.expert-prediction-history__match-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.expert-prediction-history__match-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.expert-prediction-history__match-title:hover {
  color: var(--primary);
}

.expert-prediction-history__match-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--grey);
  font-size: 12px;
}

.expert-prediction-history__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 12px;
  text-align: center;
}

.expert-prediction-history__cell--strong {
  font-weight: 700;
  color: var(--text);
}

.expert-prediction-history__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.expert-prediction-history__status--won {
  background: #ebf8ec;
  color: var(--text);
}

.expert-prediction-history__status--lost {
  background: #fff0f0;
  color: var(--text);
}

.expert-prediction-history__status--pending {
  background: #fff7eb;
  color: var(--text);
}

.expert-prediction-history__bets {
  min-width: 1040px;
  background: var(--grey-light);
}

.expert-prediction-history__bets-head,
.expert-prediction-history__bet-row {
  display: grid;
  grid-template-columns: 120px 180px 110px 150px 150px minmax(320px, 1fr);
  align-items: start;
  min-height: 48px;
  padding: 12px 20px;
  gap: 12px;
}

.expert-prediction-history__bets-head {
  color: var(--grey);
  font-size: 14px;
}

.expert-prediction-history__bet-row {
  border-top: 1px solid var(--white);
  color: var(--text);
  font-size: 14px;
}

.expert-prediction-history__bet-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.expert-prediction-history__bet-row span:last-child {
  text-align: left;
}

.expert-prediction-history__bets-empty,
.expert-prediction-history__empty {
  padding: 32px 20px;
  color: var(--grey);
  text-align: center;
  font-size: 14px;
}

.expert-prediction-history__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.expert-prediction-history__more-btn {
  height: 50px;
  padding: 0 32px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.expert-prediction-history__more-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.expert-prediction-history__more-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .author-page__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .author-page__sidebar {
    position: static;
    flex-direction: row;
    align-items: center;
  }
  .author-page__content.white-bg {
    padding: 15px;
  }
  .author-page__avatar {
    width: 150px;
    height: 150px;
    margin-right: 16px;
  }
  .author-page__block {
    padding: 15px 0;
  }
  .author-page--expert .author-page__layout {
    grid-template-columns: 1fr;
  }
  .author-page--expert .author-page__sidebar {
    flex-direction: row;
    align-items: center;
  }
  .author-page--expert .author-page__avatar {
    width: 150px;
    height: 150px;
    margin-right: 0;
  }
  .expert-statistics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .expert-prediction-history__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .author-page__header-top {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 13px;
  }
  .author-page__rating-title {
    margin-bottom: 0;
  }
  .author-page__rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  .author-page--expert .author-page__sidebar {
    flex-direction: column;
    align-items: flex-start;
  }
  .expert-profile__summary {
    max-width: 320px;
  }
  .expert-statistics {
    padding-top: 28px;
  }
  .expert-statistics__title {
    font-size: 22px;
  }
  .expert-statistics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .expert-prediction-history {
    padding-top: 28px;
  }
  .expert-prediction-history__title {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .author-page__block h2 {
    margin-bottom: 12px;
  }
  .author-page__position {
    font-size: 12px;
  }
  .author-page__name {
    font-size: 20px;
  }
  .author-page__avatar {
    width: 120px;
    height: 120px;
  }
  .author-page__social-link {
    width: 30px;
    height: 30px;
  }
  .author-page {
    padding: 0;
  }
  .expert-profile__summary {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .expert-profile__summary-card {
    width: auto;
  }
  .expert-statistics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .expert-statistics__card {
    min-height: 92px;
  }
  .expert-prediction-history .sort-btn {
    padding: 0 12px;
  }
  .expert-prediction-history__more-btn {
    width: 100%;
  }
}

/* Вкладки постов автора */
.author-posts-tabs {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--grey-light);
}



.author-posts-tabs__tab {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--grey);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.author-posts-tabs__tab:hover {
  color: var(--text);
}

.author-posts-tabs__tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.author-posts-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--grey);
  font-size: 16px;
}

@media (max-width: 768px) {
  .author-posts-tabs__tab {
    padding: 12px 16px;
    font-size: 14px;
  }
}

.author-pages-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.page-link-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #232323;
    transition: box-shadow 0.15s ease;
}

.page-link-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.page-link-card__thumb img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.page-link-card__title {
    padding: 12px 14px;
    font-weight: 600;
    line-height: 1.3;
}

