/* رأس صفحة المباراة — تصميم سطح المكتب (مطابق للجوال) */
@keyframes mmLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 49, 49, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(255, 49, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 49, 49, 0); }
}

@keyframes mmLiveTimeGlow {
  0%, 100% { opacity: 0.8; }
  50%      { opacity: 1; }
}

@media (min-width: 768px) {
  .profile-header-wrapper.match {
    position: relative;
    min-height: 0;
    padding: 0 !important;
    margin: 0 0 24px;
    border-radius: 20px;
    overflow: hidden;
    display: block !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(57, 219, 191, 0.10), transparent 55%),
      linear-gradient(180deg, #1a1d2e 0%, #131521 100%),
      url("../images/match-bg.png") no-repeat center center;
    background-size: auto, auto, cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  }

  html.light .profile-header-wrapper.match {
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(57, 219, 191, 0.10), transparent 55%),
      linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%),
      url("../images/match-bg.png") no-repeat center center;
    background-size: auto, auto, cover;
    box-shadow: 0 8px 28px rgba(14, 16, 25, 0.08);
  }

  /* لوحة AJAX الجانبية (get_match_detail) */
  .dynamic-content-area-wrap .ajax-details-wrapper .inner-section-title {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 800;
    color: #39DBBF;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match {
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(57, 219, 191, 0.10), transparent 55%),
      linear-gradient(180deg, #1a1d2e 0%, #131521 100%),
      url("../images/match-bg.png") no-repeat center center !important;
    background-size: auto, auto, cover !important;
  }

  html.light .dynamic-content-area-wrap .profile-header-wrapper.match {
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(57, 219, 191, 0.10), transparent 55%),
      linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%),
      url("../images/match-bg.png") no-repeat center center !important;
    background-size: auto, auto, cover !important;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-mobile-toolbar {
    padding: 12px 16px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-profile-details {
    padding: 10px 16px 14px !important;
    min-height: 128px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-profile-details .team-item .img {
    width: 72px;
    height: 72px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-profile-details .team-item h3 {
    font-size: 13px;
    min-height: 34px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-details.active-match .main-result > b,
  .dynamic-content-area-wrap .profile-header-wrapper.match .match-details.full-match .main-result b {
    font-size: 32px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .active-match-progress .match-inner-progress-wrap,
  .dynamic-content-area-wrap .profile-header-wrapper.match .match-inner-progress-wrap .percent {
    width: 64px !important;
    height: 64px !important;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-inner-progress-wrap .percent::before {
    -webkit-mask: radial-gradient(circle, transparent 27px, #000 28px) !important;
            mask: radial-gradient(circle, transparent 27px, #000 28px) !important;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-inner-progress-wrap .number {
    font-size: 14px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .mm-league-name,
  .dynamic-content-area-wrap .profile-header-wrapper.match .mm-league-round {
    max-width: 200px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-mobile-meta {
    padding: 8px 16px 12px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap {
    padding: 0 12px;
    height: 44px;
  }

  .dynamic-content-area-wrap .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item {
    font-size: 13px;
    margin: 0 10px;
  }

  .dynamic-content-area-wrap .ajax-details-wrapper + .inner-page-content {
    padding-top: 0;
  }

  .dynamic-content-area-wrap .ajax-details-wrapper + .inner-page-content .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  /* شريط علوي */
  .profile-header-wrapper.match .match-mobile-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent);
    position: relative;
    z-index: 5;
  }

  .profile-header-wrapper.match .mm-icon-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
    margin: 0;
    padding: 0;
    cursor: pointer;
  }

  .profile-header-wrapper.match .mm-icon-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
  }

  .profile-header-wrapper.match .mm-icon-btn.mm-share.mm-shared {
    background: rgba(57, 219, 191, 0.22) !important;
    color: #39DBBF !important;
  }

  html[dir=rtl] .profile-header-wrapper.match .mm-back svg {
    transform: rotate(180deg);
  }

  .profile-header-wrapper.match .mm-toolbar-center {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  .profile-header-wrapper.match .mm-league-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    line-height: 1.1;
    transition: background-color .2s ease;
  }

  .profile-header-wrapper.match .mm-league-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .profile-header-wrapper.match .mm-league-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 4px;
  }

  .profile-header-wrapper.match .mm-league-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: start;
  }

  .profile-header-wrapper.match .mm-league-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
  }

  .profile-header-wrapper.match .mm-league-round {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
  }

  /* فرق ونتيجة */
  .profile-header-wrapper.match .match-profile-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .profile-header-wrapper.match .match-profile-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 28px 16px !important;
    margin-bottom: 0 !important;
    min-height: 148px;
    position: relative;
    flex-wrap: nowrap;
  }

  .profile-header-wrapper.match .match-profile-details > a {
    flex: 1 1 0;
    min-width: 0;
    max-width: 32%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 1;
    padding-top: 0;
  }

  .profile-header-wrapper.match .match-profile-details .team-item {
    position: static;
    width: 100%;
    max-width: 100%;
    padding-top: 0 !important;
    white-space: normal;
    text-align: center;
  }

  .profile-header-wrapper.match .match-profile-details .team-item:before {
    display: none;
  }

  .profile-header-wrapper.match .match-profile-details .team-item .img {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    padding: 6px;
  }

  .profile-header-wrapper.match .match-profile-details .team-item .img img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.28));
  }

  .profile-header-wrapper.match .match-profile-details .team-item h3 {
    position: static;
    transform: none;
    right: auto;
    top: auto;
    margin: 12px 0 0;
    padding: 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
  }

  html.light .profile-header-wrapper.match .match-profile-details .team-item h3 {
    color: #0e1019;
  }

  .profile-header-wrapper.match .match-profile-details > .match-details {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: 42% !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: unset !important;
  }

  .profile-header-wrapper.match .match-profile-details .match-details {
    margin: 0 !important;
  }

  .profile-header-wrapper.match .match-details.active-match {
    margin-top: 0 !important;
  }

  .profile-header-wrapper.match .match-profile-details > .match-details .time {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
  }

  .profile-header-wrapper.match .match-profile-details > .match-details .timer {
    font-size: 12px;
    background: rgba(57, 219, 191, 0.14);
    color: #39DBBF;
    padding: 4px 12px;
    border-radius: 999px;
    height: auto;
    width: auto;
    margin: 0;
    font-weight: 700;
  }

  .profile-header-wrapper.match .match-details.active-match .main-result {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .profile-header-wrapper.match .match-details.active-match .main-result > b {
    flex: 1 1 0;
    min-width: 28px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    margin: 0;
  }

  .profile-header-wrapper.match .match-details.active-match .main-result > b:first-of-type {
    text-align: end;
    padding-inline-end: 4px;
  }

  .profile-header-wrapper.match .match-details.active-match .main-result > b:last-of-type {
    text-align: start;
    padding-inline-start: 4px;
  }

  .profile-header-wrapper.match .match-details.active-match .main-result b.win {
    color: #39DBBF;
  }

  .profile-header-wrapper.match .active-match-progress {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    text-decoration: none;
    position: relative;
    min-width: 80px;
    max-width: 130px;
  }

  .profile-header-wrapper.match .active-match-progress .result-status-text,
  .profile-header-wrapper.match .active-match-progress .match-inner-progress-wrap .result-status-text {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 6px !important;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(57, 219, 191, 0.14);
    color: #39DBBF;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .profile-header-wrapper.match .active-match-progress .result-status-text:empty {
    display: none !important;
  }

  .profile-header-wrapper.match .active-match-progress .between-live {
    background: rgba(255, 196, 32, 0.16) !important;
    color: #ffc420 !important;
  }

  .profile-header-wrapper.match .match-details.live-match .active-match-progress .live-match-status:not(:empty)::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39DBBF;
    margin-inline-end: 6px;
    flex-shrink: 0;
    animation: mmLivePulse 1.5s ease-out infinite;
  }

  .profile-header-wrapper.match .active-match-progress .match-inner-progress-wrap {
    display: block !important;
    position: relative;
    width: 72px !important;
    height: 72px !important;
    transform: none !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap:before {
    display: none;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap svg {
    display: none !important;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap .percent {
    position: relative !important;
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 !important;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap .percent::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 50% !important;
    background:
      conic-gradient(
        from 0deg,
        #39DBBF 0,
        #39DBBF calc(var(--num, 0) * 1%),
        rgba(255, 255, 255, 0.1) calc(var(--num, 0) * 1%),
        rgba(255, 255, 255, 0.1) 100%
      ) !important;
    -webkit-mask: radial-gradient(circle, transparent 31px, #000 32px) !important;
            mask: radial-gradient(circle, transparent 31px, #000 32px) !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 0 !important;
    transition: background .6s ease;
    animation: none !important;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap .number {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px;
    font-weight: 800;
    color: #39DBBF;
    z-index: 2;
    margin: 0 !important;
  }

  .profile-header-wrapper.match .match-details.live-match.active-match:not(.stopped-match) .match-inner-progress-wrap .number,
  .profile-header-wrapper.match .match-details.live-match.active-match:not(.stopped-match) .match-inner-progress-wrap .number span {
    animation: mmLiveTimeGlow 2s ease-in-out infinite;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap.stopped {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: auto !important;
    min-width: 72px;
    height: auto !important;
    overflow: visible !important;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap.stopped:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #FC4D4D;
    border-radius: 5px;
    z-index: 4;
    pointer-events: none;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap.stopped .percent::before {
    background:
      conic-gradient(
        from 0deg,
        #ffc420 0,
        #ffc420 50%,
        rgba(255, 196, 32, 0.18) 50%,
        rgba(255, 196, 32, 0.18) 100%
      ) !important;
    transition: none !important;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap.stopped .percent .ht-marker-top {
    position: absolute;
    left: 50%;
    top: -1px;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #FC4D4D;
    border-radius: 5px;
    z-index: 4;
    pointer-events: none;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap.stopped > .between-live {
    display: none !important;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap.stopped .live-match-status {
    background: rgba(255, 196, 32, 0.16) !important;
    color: #ffc420 !important;
  }

  .profile-header-wrapper.match .match-details.stopped-match .active-match-progress .live-match-status:not(:empty)::before {
    display: none !important;
  }

  .profile-header-wrapper.match .active-match-progress .extra-time {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 5px 0 0 !important;
    font-size: 11px;
    font-weight: 700;
    color: #FF3131;
    white-space: nowrap;
  }

  .profile-header-wrapper.match .active-match-progress .match-inner-progress-wrap > .live-match-status,
  .profile-header-wrapper.match .active-match-progress .match-inner-progress-wrap > .between-live {
    position: absolute !important;
    bottom: calc(100% + 6px) !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 3;
    white-space: nowrap;
    max-width: none !important;
    width: max-content !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .profile-header-wrapper.match .match-inner-progress-wrap.stopped > .live-match-status {
    position: static !important;
    transform: none !important;
    order: -2;
    margin: 0 0 6px !important;
    max-width: 280px !important;
    white-space: nowrap;
    font-size: 12px;
    padding: 5px 14px 4px;
  }

  .profile-header-wrapper.match .match-details.active-match .other-result.agg.live-match-agg {
    margin-top: 4px !important;
    padding-top: 0;
    width: auto;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .profile-header-wrapper.match .match-details.active-match .other-result.agg b {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
  }

  .profile-header-wrapper.match .match-details.active-match .other-result.agg span {
    font-size: 10px;
    height: auto;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.75);
  }

  /* بعد المباراة */
  .profile-header-wrapper.match .match-details.full-match {
    gap: 8px;
    margin-top: 0 !important;
  }

  .profile-header-wrapper.match .match-details.full-match .main-result {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    column-gap: 14px;
    row-gap: 8px;
    width: 100%;
  }

  .profile-header-wrapper.match .match-details.full-match .main-result > span {
    grid-column: 1 / -1;
    grid-row: 1;
    position: static !important;
    font-size: 11px;
    font-weight: 700;
    height: auto;
    min-height: 0;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    width: auto;
    max-width: 100%;
    margin: 0;
  }

  .profile-header-wrapper.match .match-details.full-match .main-result b {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    min-width: 28px;
    text-align: center;
    margin: 0;
  }

  .profile-header-wrapper.match .match-details.full-match .main-result b.win {
    color: #39DBBF;
  }

  .profile-header-wrapper.match .match-details.full-match .main-result::before {
    content: "";
    grid-column: 2;
    grid-row: 2;
    width: 10px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }

  .profile-header-wrapper.match .match-details.full-match .other-result {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 4px 0 0;
  }

  .profile-header-wrapper.match .match-details.full-match .other-result span {
    font-size: 11px;
    font-weight: 700;
    height: auto;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    width: auto;
  }

  .profile-header-wrapper.match .match-details.full-match .other-result b {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
  }

  /* معلومات الملعب والتاريخ */
  .profile-header-wrapper.match .match-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
    padding: 10px 28px 14px;
    margin: 0 !important;
    width: 100%;
    position: relative;
  }

  .profile-header-wrapper.match .match-mobile-meta .mm-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.2;
  }

  .profile-header-wrapper.match .match-mobile-meta .mm-meta-item svg {
    opacity: 0.75;
    flex: 0 0 auto;
  }

  html.light .profile-header-wrapper.match .match-mobile-meta .mm-meta-item {
    color: #6b7080;
  }

  /* تبويبات */
  .profile-header-wrapper.match .match-links-scroll {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.1);
  }

  html.light .profile-header-wrapper.match .match-links-scroll {
    border-top-color: rgba(14, 16, 25, 0.06);
    background: rgba(14, 16, 25, 0.03);
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap {
    padding: 0 12px;
    gap: 0;
    height: 44px;
    display: flex;
    align-items: stretch;
    width: max-content;
    max-width: none;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap.match-tabs--few {
    width: 100%;
    justify-content: center;
    margin-inline: auto;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    margin: 0 12px;
    padding: 0 2px;
    padding-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.55);
    transition: color .2s ease;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item:before {
    display: none !important;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item.active {
    color: #39DBBF;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item.active::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 3px;
    background: #39DBBF;
    border-radius: 3px 3px 0 0;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown {
    display: inline-flex;
    flex-direction: row;
    align-items: center !important;
    align-self: stretch;
    margin: 0 10px;
    padding-bottom: 0 !important;
    vertical-align: middle;
    position: relative;
    height: 100%;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown:has(> a.active):before {
    display: none !important;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: 100%;
    margin: 0 4px !important;
    padding: 0 2px !important;
    padding-bottom: 0 !important;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
  }

  /* السهم بجانب التاب وليس فوقه */
  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown #rank_pos.rank-scope-wrap--nav {
    flex-direction: row !important;
    align-items: center !important;
    align-self: center;
    height: auto;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item.active {
    color: #39DBBF !important;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item.active::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 3px;
    background: #39DBBF;
    border-radius: 3px 3px 0 0;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown .rank-scope-toggle {
    align-self: center;
    color: rgba(255, 255, 255, 0.45);
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown:has(> a.active) .rank-scope-toggle {
    color: #39DBBF;
  }

  .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .filter-cat-item .live {
    position: static;
    margin-inline-start: 6px;
    background: #FF3131;
    box-shadow: 0 0 0 0 rgba(255, 49, 49, 0.6);
    animation: mmLivePulse 1.6s ease-out infinite;
  }

  html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item,
  html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item {
    color: #6b7080;
  }

  html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item.active,
  html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item.active {
    color: #39DBBF;
  }

  html.light .profile-header-wrapper.match .match-details.active-match .main-result b,
  html.light .profile-header-wrapper.match .match-details.full-match .main-result b,
  html.light .profile-header-wrapper.match .match-profile-details > .match-details .time {
    color: #0e1019;
  }

  html.light .profile-header-wrapper.match .active-match-progress .result-status-text {
    background: rgba(57, 219, 191, 0.12);
    color: #2a9d82;
  }

  html.light .profile-header-wrapper.match .match-inner-progress-wrap .number {
    color: #2a9d82;
  }

  .profile-page-header + .inner-page-content,
  .profile-page-header + section.inner-page-content {
    padding-top: 8px;
  }

  @media (prefers-reduced-motion: reduce) {
    .profile-header-wrapper.match .match-details.live-match.active-match .match-inner-progress-wrap .number,
    .profile-header-wrapper.match .match-details.live-match.active-match .match-inner-progress-wrap .number span,
    .profile-header-wrapper.match .match-details.live-match .active-match-progress .live-match-status:not(:empty)::before {
      animation: none !important;
    }
    .profile-header-wrapper.match .match-inner-progress-wrap .percent {
      transition: none !important;
    }
  }
}

/* ─── رأس المباراة — وضع فاتح (موبايل + ديسكتوب + AJAX) ─── */
html.light .profile-header-wrapper.match {
  border: 1px solid rgba(14, 16, 25, 0.08);
  box-shadow: 0 8px 28px rgba(14, 16, 25, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

html.light .profile-header-wrapper.match .match-mobile-toolbar {
  background: linear-gradient(180deg, rgba(14, 16, 25, 0.04), transparent);
}

html.light .profile-header-wrapper.match .mm-icon-btn {
  border-color: rgba(14, 16, 25, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: #2a3142;
  box-shadow: 0 1px 4px rgba(14, 16, 25, 0.06);
}

html.light .profile-header-wrapper.match .mm-icon-btn:hover {
  background: #ffffff;
  border-color: rgba(14, 16, 25, 0.16);
}

html.light .profile-header-wrapper.match .mm-league-chip {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(14, 16, 25, 0.1);
  color: #0e1019;
  box-shadow: 0 1px 6px rgba(14, 16, 25, 0.05);
}

html.light .profile-header-wrapper.match .mm-league-name {
  color: #0e1019;
}

html.light .profile-header-wrapper.match .mm-league-round {
  color: #5c6478;
}

html.light .profile-header-wrapper.match .match-profile-details .team-item h3 {
  color: #0e1019;
}

html.light .profile-header-wrapper.match .match-details.active-match .main-result > b,
html.light .profile-header-wrapper.match .match-details.full-match .main-result > b,
html.light .profile-header-wrapper.match .match-profile-details > .match-details .time {
  color: #0e1019;
}

html.light .profile-header-wrapper.match .match-details.active-match .main-result b.win,
html.light .profile-header-wrapper.match .match-details.full-match .main-result b.win {
  color: #1a9b84;
}

/* شارة الحالة — انتهت / مؤجلة / إلخ */
html.light .profile-header-wrapper.match .match-details.full-match .main-result > span,
html.light .profile-header-wrapper.match .match-details.full-match .other-result span {
  background: rgba(14, 16, 25, 0.07) !important;
  color: #3d4458 !important;
  border: 1px solid rgba(14, 16, 25, 0.1);
}

html.light .profile-header-wrapper.match .match-details.full-match .other-result b {
  color: #3d4458 !important;
}

html.light .profile-header-wrapper.match .match-details.full-match .main-result::before {
  background: rgba(14, 16, 25, 0.22) !important;
}

html.light .profile-header-wrapper.match .match-details.active-match .other-result.agg span {
  background: rgba(14, 16, 25, 0.07) !important;
  color: #5c6478 !important;
  border: 1px solid rgba(14, 16, 25, 0.08);
}

html.light .profile-header-wrapper.match .match-details.active-match .other-result.agg b {
  color: #3d4458;
}

html.light .profile-header-wrapper.match .match-mobile-meta .mm-meta-item {
  color: #5c6478;
}

html.light .profile-header-wrapper.match .match-links-scroll {
  border-top-color: rgba(14, 16, 25, 0.08);
  background: rgba(14, 16, 25, 0.03);
}

html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item,
html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item {
  color: #5c6478;
}

html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item.active,
html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item.active {
  color: #1a9b84;
  font-weight: 700;
}

html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap > a.filter-cat-item.active::after,
html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown > a.filter-cat-item.active::after {
  background: #1a9b84;
}

html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown .rank-scope-toggle {
  color: #8b92a8;
}

html.light .profile-header-wrapper.match .match-links-scroll .filter-categories-wrap .rank-tab-with-dropdown:has(> a.active) .rank-scope-toggle {
  color: #1a9b84;
}

html.light .profile-header-wrapper.match .active-match-progress .result-status-text {
  background: rgba(26, 155, 132, 0.12);
  color: #1a7a68;
  border: 1px solid rgba(26, 155, 132, 0.18);
}

html.light .profile-header-wrapper.match .active-match-progress .between-live {
  background: rgba(200, 140, 0, 0.12) !important;
  color: #9a6b00 !important;
  border: 1px solid rgba(200, 140, 0, 0.2);
}

html.light .profile-header-wrapper.match .match-inner-progress-wrap .percent::before {
  background:
    conic-gradient(
      from 0deg,
      #1a9b84 0,
      #1a9b84 calc(var(--num, 0) * 1%),
      rgba(14, 16, 25, 0.1) calc(var(--num, 0) * 1%),
      rgba(14, 16, 25, 0.1) 100%
    ) !important;
}

html.light .profile-header-wrapper.match .match-inner-progress-wrap.stopped .percent::before {
  background:
    conic-gradient(
      from 0deg,
      #c99200 0,
      #c99200 50%,
      rgba(201, 146, 0, 0.2) 50%,
      rgba(201, 146, 0, 0.2) 100%
    ) !important;
}

html.light .profile-header-wrapper.match .match-inner-progress-wrap .number {
  color: #1a7a68;
}

html.light .dynamic-content-area-wrap .ajax-details-wrapper .inner-section-title {
  color: #1a9b84;
}

/* ─── تابات المحتوى الفرعية (تشيلسي / مان سيتي …) — نفس الموبايل ─── */
.match-page-inner .inline-tabs-wrapper,
.dynamic-content-area-wrap .inline-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin: 4px 0 14px;
  padding: 0 4px;
}

.match-page-inner .inline-tabs-items,
.dynamic-content-area-wrap .inline-tabs-items {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  background: rgba(25, 29, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 0;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.match-page-inner .inline-tabs-items .inline-tab-item,
.dynamic-content-area-wrap .inline-tabs-items .inline-tab-item {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color .25s ease, color .25s ease, transform .15s ease;
  color: rgba(255, 255, 255, 0.55);
}

.match-page-inner .inline-tabs-items .inline-tab-item:hover,
.dynamic-content-area-wrap .inline-tabs-items .inline-tab-item:hover {
  color: rgba(255, 255, 255, 0.85);
}

.match-page-inner .inline-tabs-items .inline-tab-item.active,
.dynamic-content-area-wrap .inline-tabs-items .inline-tab-item.active {
  background: #39DBBF;
  color: #0E1019;
  box-shadow: 0 2px 8px rgba(57, 219, 191, 0.25);
}

.match-page-inner .inline-tabs-items .inline-tab-item:active,
.dynamic-content-area-wrap .inline-tabs-items .inline-tab-item:active {
  transform: scale(0.97);
}

.match-page-inner .inline-tabs-wrapper.rank-stages-wrapper,
.dynamic-content-area-wrap .inline-tabs-wrapper.rank-stages-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  scrollbar-width: none;
}

.match-page-inner .inline-tabs-wrapper.rank-stages-wrapper::-webkit-scrollbar,
.dynamic-content-area-wrap .inline-tabs-wrapper.rank-stages-wrapper::-webkit-scrollbar {
  display: none;
}

.match-page-inner .inline-tabs-wrapper.rank-stages-wrapper .inline-tabs-items,
.dynamic-content-area-wrap .inline-tabs-wrapper.rank-stages-wrapper .inline-tabs-items {
  width: auto;
  flex: 0 0 auto;
}

.match-page-inner .inline-tabs-wrapper.rank-stages-wrapper .inline-tabs-items .inline-tab-item,
.dynamic-content-area-wrap .inline-tabs-wrapper.rank-stages-wrapper .inline-tabs-items .inline-tab-item {
  flex: 0 0 auto;
  min-width: 88px;
}

html.light .match-page-inner .inline-tabs-items,
html.light .dynamic-content-area-wrap .inline-tabs-items {
  background: #ffffff;
  border-color: rgba(14, 16, 25, 0.08);
  box-shadow: 0 2px 8px rgba(14, 16, 25, 0.05);
}

html.light .match-page-inner .inline-tabs-items .inline-tab-item,
html.light .dynamic-content-area-wrap .inline-tabs-items .inline-tab-item {
  color: #6b7080;
}

html.light .match-page-inner .inline-tabs-items .inline-tab-item.active,
html.light .dynamic-content-area-wrap .inline-tabs-items .inline-tab-item.active {
  background: #39DBBF;
  color: #0E1019;
}

.ranking-table {
  margin-top: 0;
}

/* ─── تاب الإحصائيات (-statics) — بطاقات وشريط تقدم موحد مع الهيدر ─── */
.match-page-inner .tab-content-item.stats .match-block-item,
.dynamic-content-area-wrap .tab-content-item.stats .match-block-item {
  margin-bottom: 14px;
}

.match-page-inner .tab-content-item.stats .match-block-item:last-child,
.dynamic-content-area-wrap .tab-content-item.stats .match-block-item:last-child {
  margin-bottom: 0;
}

.match-page-inner .tab-content-item.stats .section-title,
.dynamic-content-area-wrap .tab-content-item.stats .section-title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: #39DBBF;
  letter-spacing: 0.01em;
}

.match-page-inner .tab-content-item.stats .match-stats-block,
.dynamic-content-area-wrap .tab-content-item.stats .match-stats-block {
  border-radius: 14px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(30, 34, 52, 0.95) 0%, rgba(22, 25, 40, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.match-page-inner .tab-content-item.stats .progress-wrapper,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.match-page-inner .tab-content-item.stats .progress-wrapper .team-item,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .team-item {
  min-width: 44px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.match-page-inner .tab-content-item.stats .progress-wrapper .team-item.team-a,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .team-item.team-a {
  color: #39DBBF;
}

.match-page-inner .tab-content-item.stats .progress-wrapper .team-item.team-b,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .team-item.team-b {
  color: #b49ae8;
}

/* حلقة الاستحواذ — conic-gradient بدل أنيميشن SCSS القديم */
@property --poss-pct {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@keyframes statsPossessionRingIn {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue {
  --poss-pct: 0;
  position: relative;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  line-height: 1;
  margin: 0 14px;
  background: none !important;
  box-shadow: none !important;
  animation: statsPossessionRingIn 0.5s cubic-bezier(0.34, 1.15, 0.64, 1) both;
}

.match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue::before,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 0;
  background:
    conic-gradient(
      from -90deg,
      #39DBBF 0deg,
      #39DBBF calc(var(--poss-pct, 0) * 3.6deg),
      rgba(155, 126, 200, 0.42) calc(var(--poss-pct, 0) * 3.6deg),
      rgba(155, 126, 200, 0.42) 360deg
    );
  -webkit-mask: radial-gradient(circle, transparent 31px, #000 32px);
          mask: radial-gradient(circle, transparent 31px, #000 32px);
  transition: --poss-pct 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue::after,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue::after,
.match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue > span,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue > span {
  display: none !important;
}

.match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue .progress-value,
.dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue .progress-value {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: rgba(255, 255, 255, 0.82) !important;
  background: #161828 !important;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue,
  .dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue {
    animation: none;
  }

  .match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue::before,
  .dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue::before {
    transition: none;
  }
}

.match-page-inner .tab-content-item.stats .progress-state-item,
.dynamic-content-area-wrap .tab-content-item.stats .progress-state-item {
  margin-bottom: 14px;
}

.match-page-inner .tab-content-item.stats .progress-state-item:last-child,
.dynamic-content-area-wrap .tab-content-item.stats .progress-state-item:last-child {
  margin-bottom: 0;
}

.match-page-inner .tab-content-item.stats .progress-state-item .text,
.dynamic-content-area-wrap .tab-content-item.stats .progress-state-item .text {
  margin-bottom: 8px;
  font-size: 12px;
}

.match-page-inner .tab-content-item.stats .progress-state-item .text span:first-child,
.match-page-inner .tab-content-item.stats .progress-state-item .text span:last-child,
.dynamic-content-area-wrap .tab-content-item.stats .progress-state-item .text span:first-child,
.dynamic-content-area-wrap .tab-content-item.stats .progress-state-item .text span:last-child {
  min-width: 30px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.match-page-inner .tab-content-item.stats .progress-state-item .text .title,
.dynamic-content-area-wrap .tab-content-item.stats .progress-state-item .text .title {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 12px;
}

.match-page-inner .tab-content-item.stats .line-progress,
.dynamic-content-area-wrap .tab-content-item.stats .line-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.match-page-inner .tab-content-item.stats .line-progress .value,
.dynamic-content-area-wrap .tab-content-item.stats .line-progress .value {
  height: 6px;
  border-radius: 999px;
  background: #39DBBF;
}

.match-page-inner .tab-content-item.stats .line-progress.lost .value,
.dynamic-content-area-wrap .tab-content-item.stats .line-progress.lost .value {
  background: #9b7ec8;
}

.match-page-inner .tab-content-item.stats .pd-15-row,
.dynamic-content-area-wrap .tab-content-item.stats .pd-15-row {
  margin-left: -5px;
  margin-right: -5px;
}

.match-page-inner .tab-content-item.stats .pd-15-row > [class*="col-"],
.dynamic-content-area-wrap .tab-content-item.stats .pd-15-row > [class*="col-"] {
  padding-left: 5px;
  padding-right: 5px;
}

html.light .match-page-inner .tab-content-item.stats .match-stats-block,
html.light .dynamic-content-area-wrap .tab-content-item.stats .match-stats-block {
  background: #ffffff;
  border-color: rgba(14, 16, 25, 0.08);
  box-shadow: 0 2px 12px rgba(14, 16, 25, 0.06);
}

html.light .match-page-inner .tab-content-item.stats .section-title,
html.light .dynamic-content-area-wrap .tab-content-item.stats .section-title {
  color: #1a9b84;
}

html.light .match-page-inner .tab-content-item.stats .progress-wrapper,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper {
  border-bottom-color: rgba(14, 16, 25, 0.08);
}

html.light .match-page-inner .tab-content-item.stats .progress-wrapper .team-item.team-a,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .team-item.team-a {
  color: #1a9b84;
}

html.light .match-page-inner .tab-content-item.stats .progress-wrapper .team-item.team-b,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .team-item.team-b {
  color: #7c5cad;
}

html.light .match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue::before,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue::before {
  background:
    conic-gradient(
      from -90deg,
      #1a9b84 0deg,
      #1a9b84 calc(var(--poss-pct, 0) * 3.6deg),
      rgba(124, 92, 173, 0.32) calc(var(--poss-pct, 0) * 3.6deg),
      rgba(124, 92, 173, 0.32) 360deg
    );
}

html.light .match-page-inner .tab-content-item.stats .progress-wrapper .progress.blue .progress-value,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-wrapper .progress.blue .progress-value {
  background: #f4f6fb !important;
  color: #5c6275 !important;
  box-shadow: inset 0 0 0 1px rgba(14, 16, 25, 0.06);
}

html.light .match-page-inner .tab-content-item.stats .progress-state-item .text span:first-child,
html.light .match-page-inner .tab-content-item.stats .progress-state-item .text span:last-child,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-state-item .text span:first-child,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-state-item .text span:last-child {
  color: #0E1019;
}

html.light .match-page-inner .tab-content-item.stats .progress-state-item .text .title,
html.light .dynamic-content-area-wrap .tab-content-item.stats .progress-state-item .text .title {
  color: #8b92a8;
}

html.light .match-page-inner .tab-content-item.stats .line-progress,
html.light .dynamic-content-area-wrap .tab-content-item.stats .line-progress {
  background: rgba(14, 16, 25, 0.08);
}

html.light .match-page-inner .tab-content-item.stats .line-progress .value,
html.light .dynamic-content-area-wrap .tab-content-item.stats .line-progress .value {
  background: #1a9b84;
}

html.light .match-page-inner .tab-content-item.stats .line-progress.lost .value,
html.light .dynamic-content-area-wrap .tab-content-item.stats .line-progress.lost .value {
  background: #8b6cbc;
}

@media (min-width: 768px) {
  .match-page-inner .tab-content-item.stats > .small-container {
    max-width: 720px;
    margin: 0 auto;
  }

  .match-page-inner .tab-content-item.stats .match-stats-block,
  .dynamic-content-area-wrap .tab-content-item.stats .match-stats-block {
    padding: 20px 20px 18px;
  }

  .profile-page-header + .inner-page-content .match-page-inner .tab-content-item.stats.active,
  .profile-page-header + section.inner-page-content .match-page-inner .tab-content-item.stats.active {
    padding-top: 4px;
  }
}
