/* Video highlights — mint accents, stable mobile/desktop layout */

.p10-video-page {
  --p10-text: #1F1F1F;
  --p10-secondary: #6F6F6F;
  --p10-muted: #A0A0A0;
  --p10-border: rgba(31, 31, 31, 0.08);
  --p10-card: #FFFFFF;
  --p10-bg: #F4F5F6;
  --p10-mint: #5F9E90;
  --p10-mint-soft: #D8EDE7;
  --p10-mint-deep: #3F7A6E;
  --p10-radius: 14px;
  --p10-tg: #2AABEE;
  --accent: #5F9E90;
  --adark: #3F7A6E;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--p10-text);
}

.p10-video-page *,
.p10-video-page *::before,
.p10-video-page *::after {
  box-sizing: border-box;
}

.p10-video-page.p7-results-page.mainV2__page--inner {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
}

.p10-video-page.p7-results-page .p7-results-wrap.p10-video-wrap {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 72px;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (min-width: 991px) {
  .p10-video-page.p7-results-page .p7-results-wrap.p10-video-wrap {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 56px;
  }
}

.p10-video-head__intro {
  margin: 2px 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--p10-secondary);
  max-width: 42ch;
}

.p10-video-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.p10-video-title__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75em;
  margin-left: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--p10-secondary, #6b7c76);
  line-height: 1.3;
}

.p10-video-title .ti-player-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--p10-mint);
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Filter bar: не ломаем узкую колонку ── */
#p10VideoPage .filter-bar {
  position: relative;
  z-index: 40;
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
  overflow: visible;
}

#p10VideoPage .p7-results-inner {
  max-width: none;
  padding: 0;
  margin: 0;
}

#p10VideoPage .p7-results-toprow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: visible;
  position: relative;
  z-index: 50;
}

#p10VideoPage .p7-results-toprow__titlebar {
  width: 100%;
  flex: 0 0 auto;
  display: block;
}

#p10VideoPage .p7-results-toprow__titlebar .mainV2__page-title {
  margin: 0 !important;
  line-height: 1.15;
}

#p10VideoPage .p7-results-toprow__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}

#p10VideoPage .p7-results-toprow__tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

#p10VideoPage .p7-results-toprow__sex,
#p10VideoPage .p7-results-toprow__cat {
  flex: 0 0 auto;
  position: relative;
  z-index: 60;
}

#p10VideoPage .p7-results-toprow__sex .flt-btn {
  min-width: 72px;
  height: 34px;
  padding: 0 10px;
}

#p10VideoPage .p7-results-toprow__cat .flt-btn {
  min-width: 0;
  max-width: 160px;
  height: 34px;
  padding: 0 10px;
}

#p10VideoPage .p7-results-toprow__cat .flt-btn-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#p10VideoPage .p7-results-toprow__spacer {
  display: none;
}

@media (min-width: 720px) {
  #p10VideoPage .p7-results-toprow__spacer {
    display: block;
    flex: 1 1 auto;
    min-width: 8px;
  }

  #p10VideoPage .p7-results-toprow .search-box {
    flex: 0 1 280px;
    width: auto;
    max-width: 320px;
  }
}

#p10VideoPage .p7-results-toprow .search-box {
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  height: 40px;
}

#p10VideoPage .p7-results-toprow .search-box input,
body.v2-page #p10VideoPage .p7-results-toprow .search-box input {
  width: 100% !important;
  min-width: 0 !important;
}

#p10VideoPage .sw-btn {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

#p10VideoPage .sw-btn.on {
  background: var(--p10-text);
  color: #fff;
  border-color: var(--p10-text);
}

#p10VideoPage .p7-filters-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  position: relative;
  z-index: 45;
  overflow: visible;
}

#p10VideoPage .p7-filters-grid .dropdown-wrap {
  flex: 0 1 auto;
  max-width: none;
  min-width: 0;
  position: relative;
  overflow: visible;
  z-index: 60;
}

#p10VideoPage .p7-filters-grid .p7-results-toprow__sex {
  flex: 0 0 auto;
}

#p10VideoPage .p7-filters-grid .p7-results-toprow__cat {
  flex: 0 1 160px;
  max-width: 180px;
}

#p10VideoPage .p7-filters-grid .dropdown-wrap:has(.flt-btn.open) {
  z-index: 80;
}

#p10VideoPage .p7-filters-grid .flt-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
}

#p10VideoPage .p7-filters-grid .p7-results-toprow__sex .flt-btn {
  width: auto;
  min-width: 72px;
}

#p10VideoPage .p7-filters-grid .p7-results-toprow__sex .dropdown {
  left: 0;
  right: auto;
}

#p10VideoPage .p7-filters-grid .search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 140px;
  min-width: 140px;
  max-width: 240px;
  width: auto;
  margin: 0 0 0 auto;
  height: 34px;
  padding: 0 12px;
  box-sizing: border-box;
  background: var(--card, #fff);
  border: 0.5px solid rgba(31, 31, 31, 0.12);
  border-radius: 999px;
  transition: border-color .15s, background .12s;
  position: relative;
}

#p10VideoPage .p7-filters-grid .search-box:focus-within {
  border-color: rgba(31, 31, 31, 0.3);
  background: #F4F5F6;
}

#p10VideoPage .p7-filters-grid .search-box > i.ti-search {
  font-size: 14px;
  color: var(--muted, #8a8a8a);
  flex-shrink: 0;
}

#p10VideoPage .p7-filters-grid .search-box input,
body.v2-page #p10VideoPage .p7-filters-grid .search-box input,
body.v2-page #p10VideoPage #p10-video-q {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  color: var(--text, #1f1f1f) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#p10VideoPage .p7-filters-grid .search-box input::placeholder {
  color: var(--muted, #8a8a8a);
  font-weight: 500;
  font-size: 12px;
}

#p10VideoPage .p7-filters-grid .search-clear {
  font-size: 14px;
  color: var(--muted, #8a8a8a);
  cursor: pointer;
  display: none;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 50%;
  line-height: 1;
  align-items: center;
}

#p10VideoPage .p7-filters-grid .search-clear:hover {
  color: var(--text, #1f1f1f);
}

#p10VideoPage .p7-filters-grid .search-box.has-value .search-clear {
  display: flex;
}

@media (max-width: 559px) {
  #p10VideoPage .p7-filters-grid .p7-results-toprow__sex,
  #p10VideoPage .p7-filters-grid .p7-results-toprow__cat {
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
  }

  #p10VideoPage .p7-filters-grid .p7-results-toprow__sex .flt-btn {
    width: 100%;
  }

  #p10VideoPage .p7-filters-grid .search-box {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
    width: 100%;
  }
}

@media (min-width: 640px) {
  #p10VideoPage .p7-filters-grid .dropdown-wrap {
    flex: 0 1 auto;
    max-width: none;
  }

  #p10VideoPage .p7-filters-grid .search-box {
    flex: 0 1 220px;
    min-width: 160px;
    max-width: 260px;
    margin-left: auto;
  }
}

@media (max-width: 990px) {
  #p10VideoPage .p7-filters-grid .search-box {
    padding: 0 10px;
  }

  #p10VideoPage .p7-filters-grid .search-box.has-value {
    padding-right: 24px;
  }

  #p10VideoPage .p7-filters-grid .search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }

  #p10VideoPage .p7-filters-grid .search-box input,
  body.v2-page #p10VideoPage .p7-filters-grid .search-box input,
  body.v2-page #p10VideoPage #p10-video-q {
    font-size: 11px !important;
  }

  #p10VideoPage .p7-filters-grid .search-box input::placeholder {
    font-size: 11px;
  }

  #p10VideoPage .p7-filters-grid .search-box > i.ti-search {
    font-size: 13px;
  }
}

#p10VideoPage .flt-btn-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

#p10VideoPage .flt-btn.is-set {
  color: var(--p10-text);
  border-color: rgba(31, 31, 31, 0.22);
}

#p10VideoPage .dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: auto;
  min-width: 100%;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  max-height: min(320px, 55vh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 0.5px solid rgba(31, 31, 31, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(31, 31, 31, 0.12);
  padding: 4px;
  z-index: 200;
  display: none;
}

#p10VideoPage .dropdown.open {
  display: block !important;
}

#p10VideoPage .p7-results-toprow__sex .dropdown {
  right: 0;
  left: auto;
}

#p10VideoPage .dd-item {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1F1F1F;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

#p10VideoPage .dd-item:hover {
  background: #F4F5F6;
}

#p10VideoPage .dd-item.on {
  background: var(--p10-mint-soft);
  font-weight: 700;
}

@media (min-width: 640px) {
  #p10VideoPage .p7-results-toprow__nav {
    flex-wrap: nowrap;
  }
}

/* ── Sections + grid ── */
.p10-video-section {
  margin: 0 0 22px;
}

.p10-video-section__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--p10-text);
  letter-spacing: 0.01em;
}

/* «Скоро играешь»: мятный акцент-блок; карточки клипов — бумага */
.p10-foryou {
  margin: 0 0 18px;
  padding: 12px 12px 10px;
  border: 0.5px solid rgba(95, 158, 144, 0.28);
  border-radius: 14px;
  background: linear-gradient(165deg, #eef6f3 0%, #e4efe9 100%);
}

.p10-foryou[hidden] {
  display: none;
}

.p10-foryou__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
}

.p10-foryou__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--p10-mint-deep, #3F7A6E);
}

.p10-foryou__lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #4a6f66;
}

.p10-foryou__rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.p10-foryou__rail::-webkit-scrollbar {
  display: none;
}

.p10-foryou__card {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  min-width: 168px;
  max-width: 240px;
  border: 0.5px solid var(--p10-border, rgba(0, 0, 0, 0.1));
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.p10-foryou__card:hover,
.p10-foryou__card:focus-within {
  border-color: rgba(46, 125, 90, 0.45);
}

.p10-foryou__main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 8px 10px 8px 8px;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.p10-foryou__main:focus-visible {
  outline: 2px solid rgba(46, 125, 90, 0.45);
  outline-offset: -2px;
}

.p10-foryou__more {
  flex-shrink: 0;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-left: 0.5px solid var(--p10-border, rgba(0, 0, 0, 0.1));
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--p10-secondary, #6b7c76);
  cursor: pointer;
}

.p10-foryou__more:hover,
.p10-foryou__more:focus-visible {
  color: #2e7d5a;
  outline: none;
  background: rgba(46, 125, 90, 0.06);
}

.p10-foryou__av {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eee9;
}

.p10-foryou__av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p10-foryou__av-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: #2e7d5a;
}

.p10-foryou__play {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(20, 24, 22, 0.82);
  color: #fff;
  font-size: 10px;
}

.p10-foryou__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.p10-foryou__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--p10-text, #1f1f1f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p10-foryou__sub {
  font-size: 12px;
  color: var(--p10-secondary, #6b7c76);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p10-video-shelf--mine .p10-video-shelf__name {
  color: #2e7d5a;
}

.p10-video-shelf__mine {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(46, 125, 90, 0.12);
  font-size: 11px;
  font-weight: 700;
  color: #2e7d5a;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.p10-video-shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.p10-video-shelf__title {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.p10-video-shelf__count {
  font-size: 0.85em;
  font-weight: 700;
  color: var(--p10-secondary, #6b7c76);
}

.p10-video-shelf__all {
  flex-shrink: 0;
  margin: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--p10-secondary, #6b7c76);
  cursor: pointer;
}

.p10-video-shelf__all:hover,
.p10-video-shelf__all:focus-visible {
  color: var(--p10-text, #1f1f1f);
  outline: none;
  text-decoration: underline;
}

.p10-video-more-wrap {
  margin: 8px 0 4px;
  text-align: center;
}

.p10-video-more-wrap--back {
  margin: 0 0 14px;
  text-align: left;
}

.p10-video-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border: 0.5px solid var(--p10-border, rgba(0, 0, 0, 0.12));
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--p10-text, #1f1f1f);
  cursor: pointer;
}

.p10-video-more:hover,
.p10-video-more:focus-visible {
  border-color: var(--p10-text, #1f1f1f);
  outline: none;
}

.p10-video-more .ti {
  font-size: 16px;
  line-height: 1;
}

.p10-video-more--back {
  min-height: 0;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--p10-secondary, #6b7c76);
}

.p10-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

/* Витрина: на мобилке 1 клип на полку, на desktop — все 3 */
.p10-video-shelf .p10-video-grid > .p10-video-card:nth-child(n + 2) {
  display: none;
}

@media (min-width: 900px) {
  .p10-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .p10-video-shelf .p10-video-grid > .p10-video-card:nth-child(n + 2) {
    display: grid;
  }
}

.p10-video-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.p10-video-card {
  /* Mobile-first: превью на всю ширину — как вертикальная карточка на десктопе */
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: var(--p10-card);
  border: 0.5px solid var(--p10-border);
  border-radius: var(--p10-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.p10-video-card:hover {
  border-color: rgba(95, 158, 144, 0.35);
  box-shadow: 0 4px 14px rgba(31, 31, 31, 0.06);
}

.p10-video-card:hover .p10-video-card__thumb {
  background: #EBECED;
}

.p10-video-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: center;
  padding: 8px 14px 10px;
}

/* Preview: full-bleed faces + surnames + score */
.p10-video-card__thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  min-height: 128px;
  background: #F4F5F6;
  border: 0;
  border-bottom: 0.5px solid rgba(31, 31, 31, 0.08);
  cursor: pointer;
  align-self: stretch;
  padding: 18px 14px 12px;
  transition: background .15s ease;
}

.p10-video-card__thumb .p10-video-badge-new {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.p10-video-card__match-text {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 2px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--p10-mint-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  border-bottom: 1px dashed rgba(63, 122, 110, 0.55);
}

.p10-video-card__match-text:hover,
.p10-video-card__match-text:focus-visible {
  color: var(--p10-mint);
  background: transparent;
  border-bottom-style: solid;
  border-bottom-color: var(--p10-mint);
  outline: none;
}

.p10-video-card__cat-chip {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  max-width: 46%;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--mv2-font, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.88);
  color: #2f4f47;
  backdrop-filter: blur(4px);
}

.p10-video-card__thumb:has(.p10-video-card__match-text) .p10-video-card__cat-chip {
  top: 32px;
}

.p10-video-card__poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1 1 auto;
  width: 100%;
  text-align: center;
  z-index: 1;
  min-width: 0;
  padding: 0;
  min-height: 0;
}

.p10-video-card__faces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  min-width: 0;
}

.p10-video-card__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 44px;
}

.p10-video-card__play-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid rgba(31, 31, 31, 0.12);
  box-shadow: 0 2px 8px rgba(31, 31, 31, 0.1);
  color: #1F1F1F;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.p10-video-card__play-fab .ti {
  margin-left: 1px; /* optical center play icon */
}

.p10-video-card__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1 1 0;
  max-width: 110px;
}

.p10-video-card__face {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  background: #E8ECE8;
  flex-shrink: 0;
}

.p10-video-card__surname {
  display: block;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--p10-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.p10-video-card__poster-score {
  /* сеты столбиком — между аватарками, не под ними */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 44px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--p10-text);
  font-variant-numeric: tabular-nums;
}

.p10-hl-set {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.p10-hl-g {
  min-width: 0.85em;
  text-align: center;
  font-weight: 800;
  color: var(--p10-text);
}

.p10-hl-g.w {
  font-weight: 800;
  color: var(--p10-text);
}

.p10-hl-g.l {
  font-weight: 400;
  color: #B0B0B0;
}

.p10-hl-sep {
  font-weight: 400;
  color: #C8C8C8;
  width: 0.45em;
  text-align: center;
  flex-shrink: 0;
}

.p10-video-card__dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(31, 31, 31, 0.78);
  color: #fff;
  font-family: var(--mv2-font, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.p10-video-card__dur .ti {
  display: none; /* play уже в fab */
}

a.p10-video-card__match-link {
  /* legacy: счёт больше не ссылка */
  text-decoration: none;
  color: inherit;
}

.p10-video-card__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0 52px 0 2px; /* место под pill длительности справа */
  width: 100%;
  max-width: 360px;
  min-width: 0;
  z-index: 2;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.p10-video-card__meta {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--p10-secondary, #6b7c76);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

@media (min-width: 560px) {
  .p10-video-card__thumb {
    min-height: 148px;
    aspect-ratio: 2.1 / 1;
    padding: 20px 18px 14px;
  }

  .p10-video-card__face {
    width: 72px;
    height: 72px;
  }

  .p10-video-card__surname {
    font-size: 13px;
  }

  .p10-video-card__poster-score {
    font-size: 16px;
    min-width: 48px;
  }

  .p10-video-card__faces {
    gap: 14px;
    max-width: 380px;
  }
}

@media (min-width: 900px) {
  .p10-video-grid .p10-video-card__thumb {
    aspect-ratio: 2 / 1;
    min-height: 0;
    padding: 18px 12px 10px;
  }

  .p10-video-grid .p10-video-card__face {
    width: 64px;
    height: 64px;
  }

  .p10-video-grid .p10-video-card__person {
    max-width: 100px;
    gap: 5px;
  }

  .p10-video-grid .p10-video-card__surname {
    font-size: 12px;
  }

  .p10-video-grid .p10-video-card__poster-score {
    font-size: 15px;
    min-width: 42px;
  }

  .p10-video-grid .p10-video-card__faces {
    gap: 10px;
    max-width: 280px;
  }

  .p10-video-grid .p10-video-card__meta-row {
    max-width: 280px;
    margin-top: 6px;
  }

  .p10-video-grid .p10-video-card__body {
    padding: 6px 12px 8px;
  }

  .p10-video-grid .p10-video-card__footer {
    padding-top: 0;
    border-top: 0;
    min-height: 36px;
  }
}

/* Category colors on thumb chip */
.p10-video-card__thumb[data-thumb-cat="Masters"] .p10-video-card__cat-chip {
  background: #f3e0b8;
  color: #7a5a12;
}
.p10-video-card__thumb[data-thumb-cat="Challenger"] .p10-video-card__cat-chip {
  background: #d6e6f7;
  color: #1e4f7a;
}
.p10-video-card__thumb[data-thumb-cat="Base"] .p10-video-card__cat-chip {
  background: #d8ede7;
  color: #2f6a5c;
}
.p10-video-card__thumb[data-thumb-cat="Futures"] .p10-video-card__cat-chip {
  background: #e4ddf5;
  color: #4a3a78;
}
.p10-video-card__thumb[data-thumb-cat="Tour"] .p10-video-card__cat-chip {
  background: #e2e6ea;
  color: #3a4550;
}
.p10-video-card__thumb[data-thumb-cat="Hard"] .p10-video-card__cat-chip {
  background: #f5dcc8;
  color: #8a4a1a;
}
.p10-video-card__thumb[data-thumb-cat="Новички"] .p10-video-card__cat-chip {
  background: #dcefd8;
  color: #3a6b34;
}
.p10-video-card__thumb[data-thumb-cat="Ex-Profi"] .p10-video-card__cat-chip {
  background: #cfe3de;
  color: #1f5c52;
}
.p10-video-card__thumb[data-thumb-cat="Спарринг"] .p10-video-card__cat-chip,
.p10-video-card__thumb[data-thumb-cat="Sparring"] .p10-video-card__cat-chip {
  background: #e8e4f0;
  color: #4a3d66;
}

.p10-video-badge-new {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--p10-mint-soft);
  color: var(--p10-mint-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 900px) {
  .p10-video-grid .p10-video-card__meta {
    color: var(--p10-secondary);
    font-weight: 500;
    font-size: 11px;
  }
}

.p10-video-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  min-height: 36px;
  min-width: 0;
}

.p10-video-card__stats {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}

.p10-video-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--p10-secondary, #6b7c76);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  user-select: none;
}

.p10-video-views .ti {
  font-size: 15px;
  line-height: 1;
}

.p10-video-page .p10-video-reactions.p7-reactions-prod {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  flex: 0 0 auto;
}

.p10-video-page .p10-video-reactions .commentItem__contentLike_gameReactions {
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  position: relative;
  z-index: 2;
}

.p10-video-page .p10-video-reactions .commentItem__gameReactions {
  display: flex !important;
  align-items: center;
  gap: 2px;
  margin: 0 !important;
  padding: 0 !important;
}

.p10-video-page .p10-video-reactions .p7-react-unit {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  margin: 0 !important;
}

.p10-video-page .p10-video-reactions .p7-react-btn,
.p10-video-page .p10-video-reactions .commentItem__contentLikeBox_emoji {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px;
  background: transparent !important;
  color: var(--p10-secondary);
  cursor: pointer;
  float: none !important;
  box-shadow: none !important;
}

.p10-video-page .p10-video-reactions .p7-react-icon,
.p10-video-page .p10-video-reactions .commentItem__contentLikeEmoji {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.p10-video-page .p10-video-reactions .p10-clap-icon {
  width: 22px;
  height: 22px;
  font-size: 18px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.72;
  transform: translateY(0.5px);
}

.p10-video-page .p10-video-reactions .commentItem__contentLikeBox:hover .p10-clap-icon,
.p10-video-page .p10-video-reactions .commentItem__contentLikeBox_active .p10-clap-icon {
  filter: none;
  opacity: 1;
}

.p10-video-page .p10-video-reactions .p7-react-icon svg,
.p10-video-page .p10-video-reactions .commentItem__contentLikeEmoji svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p10-video-page .p10-video-reactions .commentItem__contentLikeBox_active {
  color: var(--p10-text) !important;
}

.p10-video-page .p10-video-reactions .commentItem__contentLikeBox_active .p7-react-icon svg,
.p10-video-page .p10-video-reactions .commentItem__contentLikeBox_active .commentItem__contentLikeEmoji svg {
  color: #2f6fed;
  stroke: #2f6fed;
}

.p10-video-page .p10-video-reactions .p7-react-unit__who,
.p10-video-page .p10-video-reactions .commentItem__gameReactionCount_toggle {
  display: inline-flex !important;
  align-items: center;
  min-height: 28px;
  padding: 0 4px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--p10-secondary);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  float: none !important;
}

.p10-video-page .p10-video-reactions .commentItem__contentLikeBox_active ~ .p7-react-unit__who,
.p10-video-page .p10-video-reactions .p7-react-unit:has(.commentItem__contentLikeBox_active) .p7-react-unit__who {
  color: var(--p10-text);
  font-weight: 700;
}

.p10-hl-who-popup {
  position: fixed;
  z-index: 10050;
  min-width: 200px;
  max-width: min(280px, calc(100vw - 16px));
  padding: 10px 12px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  font-family: var(--mv2-font, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
}

.p10-hl-who-popup[hidden] {
  display: none !important;
}

.p10-hl-who-popup__close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: #8a8a8a;
  cursor: pointer;
  padding: 4px;
}

.p10-hl-who-popup__title {
  margin: 0 20px 6px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--p10-text, #1f1f1f);
}

.p10-hl-who-popup__body {
  font-size: 13px;
  line-height: 1.35;
  color: var(--p10-secondary, #6b7c76);
}

.p10-hl-who-popup__items {
  max-height: 240px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 2px;
}

.p10-hl-who-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.p10-hl-who-item__link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.p10-hl-who-item__link:hover .p10-hl-who-item__name {
  text-decoration: underline;
}

.p10-hl-who-item__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.p10-hl-who-item__av--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #8a9a94;
}

.p10-hl-who-item__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--p10-text, #1f1f1f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p10-hl-who-item__date {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--p10-secondary, #6b7c76);
}

.p10-hl-who-popup__empty,
.p10-hl-who-popup__anon {
  margin: 0;
  font-size: 13px;
  color: var(--p10-secondary, #6b7c76);
}

.p10-hl-who-popup__anon {
  margin-top: 8px;
}

.p10-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: #2AABEE;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex: 0 1 auto;
  box-shadow: 0 1px 3px rgba(42, 171, 238, 0.35);
  transition: background .12s ease, box-shadow .12s ease, transform .12s ease;
}

.p10-video-cta__label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.p10-video-card:hover .p10-video-cta {
  background: #229ED9;
  box-shadow: 0 2px 8px rgba(42, 171, 238, 0.4);
}

.p10-video-cta i {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

@media (min-width: 560px) {
  .p10-video-cta {
    height: 34px;
    font-size: 13px;
    padding: 0 14px 0 11px;
  }
}

@media (max-width: 380px) {
  .p10-video-cta__label {
    /* на узких — коротко, иконка TG всё равно читается */
  }
}

.p10-video-empty {
  display: none;
  padding: 32px 12px;
  text-align: center;
  color: var(--p10-secondary);
  font-size: 14px;
}

.p10-video-empty.is-visible {
  display: block;
}

.p10-video-empty button {
  margin-top: 8px;
  border: 0;
  background: none;
  color: var(--p10-text);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.p10-video-yt {
  margin-top: 28px;
  border-top: 0.5px solid var(--p10-border);
  padding-top: 16px;
  width: 100%;
  min-width: 0;
}

.p10-video-yt__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--p10-text);
}

.p10-video-yt__lead {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--p10-secondary);
}

.p10-video-yt__block {
  margin-bottom: 16px;
  min-width: 0;
}

.p10-video-yt__label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--p10-secondary);
}

.p10-video-yt__frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 0.5px solid var(--p10-border);
}

.p10-video-yt__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%;
}

/* mobile bottom nav clearance */
@media (max-width: 990px) {
  body.has-mainV2-bottom-nav .p10-video-page.p7-results-page .p7-results-wrap.p10-video-wrap {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

