/* ===== Сторінка автора (макет SEO) ===== */

/* Мобільний: сховати trending-блок у банері */
@media (max-width: 768px) {
  .aft-trending-part.aft-4-trending-posts {
    display: none !important;
  }
}

/* Контент головної сторінки */
.home .entry-content > h1,
.home .entry-content h1 {
  font-size: 2rem;
  text-align: center;
  line-height: 35px;
}

.home .entry-content > p,
.home .entry-content p {
  text-align: justify;
}

.newsgame-author-archive__main {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.newsgame-author-profile {
  margin: 0 0 28px;
}

.newsgame-author-profile__card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.04);
}

.newsgame-author-profile__top {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.newsgame-author-profile__avatar {
  flex-shrink: 0;
}

.newsgame-author-profile__avatar-img {
  width: 168px !important;
  height: 168px !important;
  border-radius: 50%;
  border: 3px solid #d4af37;
  padding: 3px;
  background: #ffffff;
  object-fit: cover;
  display: block;
}

.newsgame-author-profile__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.newsgame-author-profile__name {
  margin: 0;
  color: #111111;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
}

.newsgame-author-profile__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsgame-author-profile__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.newsgame-author-profile__badge--role {
  background: #d4af37;
  color: #111111;
}

.newsgame-author-profile__badge--topic {
  background: #f0f0f0;
  color: #444444;
}

.newsgame-author-profile__bio {
  margin: 0;
  color: #444444;
  font-size: 15px;
  line-height: 1.65;
}

.newsgame-author-profile__bio p {
  margin: 0 0 10px;
}

.newsgame-author-profile__bio p:last-child {
  margin-bottom: 0;
}

.newsgame-author-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.newsgame-author-profile__stat {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 16px 28px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

.newsgame-author-profile__stat-value {
  display: block;
  margin: 0 0 4px;
  color: #111111;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.newsgame-author-profile__stat-label {
  display: block;
  color: #888888;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.newsgame-author-profile__stat--wide {
  flex: 0 0 auto;
  min-width: 0;
  max-width: max-content;
  padding-left: 22px;
  padding-right: 22px;
}

.newsgame-author-profile__stat-value--text {
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}

.newsgame-author-profile__topics {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.newsgame-author-profile__topics-title {
  margin: 0 0 12px;
  color: #888888;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.newsgame-author-profile__topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsgame-author-profile__topic {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #333333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.newsgame-author-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.newsgame-author-post-card {
  margin: 0;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(10, 37, 64, 0.03);
  transition: box-shadow 0.15s ease;
}

.newsgame-author-post-card:hover,
.newsgame-author-post-card:focus-within {
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.07);
}

.newsgame-author-post-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececec;
}

.newsgame-author-post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsgame-author-post-card__image--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ececec 0%, #f5f5f5 100%);
}

.newsgame-author-post-card__body {
  padding: 10px 12px 12px;
}

.newsgame-author-post-card__badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.newsgame-author-post-card__badge--blog {
  background: #d4af37;
  color: #111111;
}

.newsgame-author-post-card__badge--news {
  background: #f0f0f0;
  color: #555555;
}

.newsgame-author-post-card__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.newsgame-author-post-card__title a {
  color: #111111;
  text-decoration: none;
}

.newsgame-author-post-card__title a:hover,
.newsgame-author-post-card__title a:focus-visible {
  color: #0a2540;
}

.newsgame-author-post-card__date {
  display: block;
  color: #888888;
  font-size: 12px;
  font-weight: 600;
}

.newsgame-author-posts__pagination {
  width: 100%;
  margin-top: 24px;
  padding: 0;
}

.newsgame-author-posts__empty {
  margin: 0;
  padding: 24px;
  border-radius: 12px;
  background: #f5f5f5;
  color: #666666;
  font-size: 16px;
  text-align: center;
}

body.aft-dark-mode .newsgame-author-profile__card,
body.aft-dark-mode .newsgame-author-post-card,
body.aft-dark-mode .newsgame-author-profile__stat {
  background: #1a1a1a;
  border-color: #333333;
}

body.aft-dark-mode .newsgame-author-profile__name,
body.aft-dark-mode .newsgame-author-post-card__title a {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-author-profile__bio,
body.aft-dark-mode .newsgame-author-post-card__date {
  color: #cccccc;
}

@media (max-width: 1199px) {
  .newsgame-author-posts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .newsgame-author-profile__card {
    padding: 20px;
  }

  .newsgame-author-profile__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsgame-author-profile__avatar-img {
    width: 140px !important;
    height: 140px !important;
  }

  .newsgame-author-profile__badges {
    justify-content: center;
  }

  .newsgame-author-profile__stats {
    justify-content: center;
  }

  .newsgame-author-profile__stat-value--text {
    white-space: normal;
  }

  .newsgame-author-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .newsgame-author-posts__grid {
    grid-template-columns: 1fr;
  }
}

/* Один шрифт на всём сайте (перекрывает Oswald в заголовках темы MoreNews) */
:root {
  --newsgame-font-family: "Open Sans", "Noto Sans", "Noto Sans CJK SC", "Noto Sans JP",
    "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

body,
button,
input,
select,
optgroup,
textarea,
.site-title,
.site-branding .site-title,
h1,
h2,
h3,
h4,
h5,
h6,
.main-navigation ul li a,
.read-title,
.read-title h3,
.read-title h4,
.read-descprition,
.entry-content,
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content li,
.entry-content blockquote,
.widget-title,
.aft-posts-tabs-panel .nav-tabs > li > a,
.cat-links li a,
.wp-block-tag-cloud a,
.tagcloud a,
.exclusive-posts a,
.font-claude-response-body {
  font-family: var(--newsgame-font-family) !important;
}

/* Header menu — desktop only */
@media only screen and (min-width: 993px) {
  body #masthead.morenews-header .main-navigation .menu > ul:not(.menu-mobile) > li > a,
  body #masthead.morenews-header .main-navigation > .menu > ul:not(.menu-mobile) > li > a,
  body #main-navigation-bar .main-navigation .menu > ul:not(.menu-mobile) > li > a,
  body #main-navigation-bar .main-navigation > .menu > ul:not(.menu-mobile) > li > a,
  body .morenews-header .top-navigation ul li > a,
  body #masthead.morenews-header .main-navigation li.current-menu-item > a,
  body #masthead.morenews-header .main-navigation li.current_page_item > a,
  body #masthead.morenews-header .main-navigation li.menu-item-object-page > a {
    color: #ffffff !important;
    background: transparent !important;
  }

  body #masthead.morenews-header .main-navigation .menu > ul:not(.menu-mobile) > li > a:hover,
  body #masthead.morenews-header .main-navigation .menu > ul:not(.menu-mobile) > li > a:focus,
  body #masthead.morenews-header .main-navigation .menu > ul:not(.menu-mobile) > li > a:visited,
  body #main-navigation-bar .main-navigation .menu > ul:not(.menu-mobile) > li > a:hover,
  body #main-navigation-bar .main-navigation .menu > ul:not(.menu-mobile) > li > a:focus,
  body #main-navigation-bar .main-navigation .menu > ul:not(.menu-mobile) > li > a:visited,
  body .morenews-header .top-navigation ul li > a:hover,
  body .morenews-header .top-navigation ul li > a:focus,
  body .morenews-header .top-navigation ul li > a:visited {
    color: #ffffff !important;
  }

  body.aft-default-mode:not(.home) .header-layout-compressed-full .full-width.af-transparent-head .af-for-transparent .main-navigation .menu > ul:not(.menu-mobile) > li > a,
  body.aft-default-mode .header-layout-compressed-full .morenews-header .main-navigation .menu > ul:not(.menu-mobile) > li > a,
  body.aft-default-mode .header-layout-compressed-full .morenews-header .main-navigation .menu-desktop > ul:not(.menu-mobile) > li > a {
    color: #ffffff !important;
  }
}

/* Header menu — mobile dropdown */
@media screen and (max-width: 992px) {
  body #masthead.morenews-header {
    position: relative;
    z-index: 10060;
    overflow: visible;
  }

  body #masthead.morenews-header .af-middle-header,
  body #masthead.morenews-header .container-wrapper,
  body #masthead.morenews-header .bottom-bar-flex {
    overflow: visible;
  }

  body .morenews-header .navigation-container,
  body .morenews-header .main-navigation,
  body .morenews-header .main-navigation > .menu {
    position: static;
  }

  body #masthead.morenews-header .main-navigation .menu .menu-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 10050;
    background: #0a2540;
    box-shadow: 0 10px 28px rgba(10, 37, 64, 0.28);
  }

  body #masthead.morenews-header .main-navigation .menu .menu-mobile li a,
  body #masthead.morenews-header .main-navigation .menu .menu-mobile li a:hover,
  body #masthead.morenews-header .main-navigation .menu .menu-mobile li a:focus,
  body #masthead.morenews-header .main-navigation .menu .menu-mobile li a:visited,
  body #masthead.morenews-header .main-navigation .menu .menu-mobile li.current-menu-item > a,
  body #masthead.morenews-header .main-navigation .menu .menu-mobile li.current_page_item > a {
    color: #ffffff !important;
    background: transparent !important;
    border-top-color: rgba(255, 255, 255, 0.14);
    white-space: normal;
  }

  body.aft-dark-mode #masthead.morenews-header .main-navigation .menu .menu-mobile {
    background: #0a2540;
  }
}

/* Main tournaments block */
.newsgame-main-tournaments-section {
  margin: 0 0 24px;
}

/* Home: tournaments / matches / results before blog (mockup layout) */
.newsgame-home-snooker-dashboard {
  margin: 0;
  padding: 8px 0 32px;
  background-color: #f5f5f5 !important;
  box-shadow: none !important;
}

.newsgame-home-board {
  padding-top: 10px;
  padding-bottom: 10px;
}

.newsgame-home-board__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0 0 14px;
}

.newsgame-home-board__title {
  margin: 0;
  color: #111111;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.newsgame-home-board__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0a2540;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.newsgame-home-board__more:hover,
.newsgame-home-board__more:focus-visible {
  color: #c9a227;
  outline: none;
}

.newsgame-home-board__grid {
  display: grid;
  gap: 16px;
}

.newsgame-home-board__grid--tournaments,
.newsgame-home-board__grid--matches {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.newsgame-home-card {
  margin: 0;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.newsgame-home-card:hover {
  border-color: rgba(10, 37, 64, 0.22);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.08);
  transform: translateY(-1px);
}

.newsgame-home-card--tournament.is-ongoing {
  background: #e8eef7;
  border-color: #c5d2e6;
}

.newsgame-home-card__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.newsgame-home-card--tournament.is-past .newsgame-home-card__badge {
  background: #f3f4f6;
  color: #6b7280;
}

.newsgame-home-card--tournament.is-ongoing .newsgame-home-card__badge {
  background: #d6e0f0;
  color: #0a2540;
}

.newsgame-home-card--tournament.is-upcoming .newsgame-home-card__badge {
  background: #e8eef7;
  color: #0a2540;
}

.newsgame-home-card__title {
  margin: 0 0 10px;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.newsgame-home-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.newsgame-home-card__context {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.newsgame-home-card__fixture {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 0 0 12px;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.newsgame-home-card__fixture span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.newsgame-home-card__when {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #0a2540;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.newsgame-home-card__result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin: 0 0 12px;
}

.newsgame-home-card__players,
.newsgame-home-card__scores {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.newsgame-home-card__players span,
.newsgame-home-card__scores span {
  font-size: 15px;
  line-height: 1.3;
}

.newsgame-home-card__players .is-winner,
.newsgame-home-card__scores .is-winner {
  color: #111111;
  font-weight: 800;
}

.newsgame-home-card__players .is-loser,
.newsgame-home-card__scores .is-loser {
  color: #9ca3af;
  font-weight: 600;
}

.newsgame-home-card__scores {
  text-align: right;
  min-width: 1.5em;
}

.newsgame-home-card__icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.75;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}

.newsgame-home-card__icon--calendar {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.newsgame-home-card__icon--clock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

body.aft-dark-mode .newsgame-home-board__title,
body.aft-dark-mode .newsgame-home-card__title,
body.aft-dark-mode .newsgame-home-card__fixture,
body.aft-dark-mode .newsgame-home-card__players .is-winner,
body.aft-dark-mode .newsgame-home-card__scores .is-winner {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-home-card {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.12);
}

body.aft-dark-mode .newsgame-home-card--tournament.is-ongoing {
  background: rgba(10, 37, 64, 0.35);
  border-color: rgba(197, 210, 230, 0.35);
}

body.aft-dark-mode .newsgame-home-board__more,
body.aft-dark-mode .newsgame-home-card__when {
  color: #c9a227;
}

body.aft-dark-mode .newsgame-home-card__meta,
body.aft-dark-mode .newsgame-home-card__context,
body.aft-dark-mode .newsgame-home-card__fixture span,
body.aft-dark-mode .newsgame-home-card__players .is-loser,
body.aft-dark-mode .newsgame-home-card__scores .is-loser {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1100px) {
  .newsgame-home-board__grid--tournaments,
  .newsgame-home-board__grid--matches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .newsgame-home-board__header {
    flex-wrap: wrap;
  }

  .newsgame-home-board__grid--tournaments,
  .newsgame-home-board__grid--matches {
    grid-template-columns: 1fr;
  }

  .newsgame-home-board__title {
    font-size: 22px;
  }
}


.newsgame-main-tournaments {
  width: 100%;
}

.newsgame-main-tournaments__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #111111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.newsgame-main-tournaments__marker {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #0a2540;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.newsgame-main-tournaments__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsgame-main-tournaments__item {
  margin: 0;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.newsgame-main-tournaments__name {
  margin: 0 0 2px;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.newsgame-main-tournaments__date {
  margin: 0;
  color: #666666;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.newsgame-home-api-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.newsgame-match-widget__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #111111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.newsgame-match-widget__marker {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #0a2540;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.newsgame-match-widget__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsgame-match-widget__item {
  margin: 0;
  padding: 13px 16px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
}

.newsgame-match-widget__meta,
.newsgame-match-widget__date {
  margin: 0;
  color: #666666;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.newsgame-match-widget__teams {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: baseline;
  margin: 4px 0;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.newsgame-match-widget__teams span {
  color: #666666;
  font-size: 13px;
  font-weight: 600;
}

.newsgame-match-widget__teams--result {
  justify-content: space-between;
}

.newsgame-match-widget__score {
  color: #0a2540 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.aft-dark-mode .newsgame-main-tournaments__title,
body.aft-dark-mode .newsgame-main-tournaments__name,
body.aft-dark-mode .newsgame-match-widget__title,
body.aft-dark-mode .newsgame-match-widget__teams {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-main-tournaments__item,
body.aft-dark-mode .newsgame-match-widget__item {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.15);
}

body.aft-dark-mode .newsgame-main-tournaments__date,
body.aft-dark-mode .newsgame-match-widget__meta,
body.aft-dark-mode .newsgame-match-widget__date,
body.aft-dark-mode .newsgame-match-widget__teams span {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 640px) {
  .newsgame-main-tournaments {
    max-width: none;
  }

  .newsgame-main-tournaments__title {
    font-size: 22px;
  }
}

/* ===== Снукеристи: архів і профіль ===== */
.newsgame-players-archive__title,
.newsgame-players-featured__title,
.newsgame-players-list__title,
.newsgame-player-profile__section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 16px;
}

.newsgame-players-archive__marker,
.newsgame-player-profile__marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0a2540;
  flex-shrink: 0;
}

.newsgame-players-archive__header {
  margin-bottom: 24px;
}

.newsgame-players-archive__header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.newsgame-players-archive__header-main .newsgame-players-archive__title {
  margin-bottom: 0;
}

.newsgame-players-archive__description {
  color: #666666;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 12px;
}

.newsgame-players-archive {
  background: #f8f6f2;
}

.newsgame-players-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e7e2d8;
  border-radius: 14px;
}

.newsgame-players-filters--limits-only {
  justify-content: flex-end;
}

.newsgame-players-filters--in-header {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  flex-shrink: 0;
}

.newsgame-players-filters__left {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}

.newsgame-players-filters__group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsgame-players-filters__label {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}

.newsgame-players-filters__select {
  min-width: 150px;
  min-height: 38px;
  padding: 7px 36px 7px 12px;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  color: #111111;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.newsgame-players-filters__limits {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #f1ede6;
  border: 1px solid #e7e2d8;
}

.newsgame-players-filters__limits-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: #0a2540;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.18);
  transform: translateX(4px);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.newsgame-players-filters__limits button.newsgame-players-filters__button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  height: auto;
  line-height: normal;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.28s ease;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
}

.newsgame-players-filters__limits button.newsgame-players-filters__button:not(.is-active) {
  color: #0a2540 !important;
}

.newsgame-players-filters__limits button.newsgame-players-filters__button.is-active {
  color: #ffffff !important;
}

.newsgame-players-filters__limits button.newsgame-players-filters__button:hover:not(.is-active),
.newsgame-players-filters__limits button.newsgame-players-filters__button:focus:not(.is-active) {
  color: #111111 !important;
}

.newsgame-players-ranking-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.newsgame-players-ranking-grid > .newsgame-player-grid-card {
  flex: 0 0 calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
  box-sizing: border-box;
}

.newsgame-player-grid-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.newsgame-player-grid-card:hover,
.newsgame-player-grid-card:focus-within {
  border-color: #0a2540;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  transform: translateY(-2px);
}

.newsgame-player-grid-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 22px 18px 18px;
  text-decoration: none;
  color: inherit;
}

.newsgame-player-grid-card__rank {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f3eee4;
  color: #6f6558;
  font-size: 12px;
  font-weight: 800;
  z-index: 1;
}

.newsgame-player-grid-card__avatar-wrap {
  margin: 8px 0 14px;
}

.newsgame-player-grid-card__avatar {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.newsgame-player-grid-card__avatar--tone-1 { background: #efe6d7; color: #6f6558; }
.newsgame-player-grid-card__avatar--tone-2 { background: #e3edf7; color: #4f6578; }
.newsgame-player-grid-card__avatar--tone-3 { background: #e3e9f0; color: #4f6578; }
.newsgame-player-grid-card__avatar--tone-4 { background: #f4e8df; color: #7a5d4d; }
.newsgame-player-grid-card__avatar--tone-5 { background: #ece8f4; color: #5d5478; }
.newsgame-player-grid-card__avatar--tone-6 { background: #f0ece3; color: #6d6558; }

.newsgame-player-grid-card__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.newsgame-player-grid-card__initials {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.newsgame-player-grid-card__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  line-height: 1.25;
}

.newsgame-player-grid-card__excerpt {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #8a8175;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-width: 100%;
}

.newsgame-player-grid-card__nickname {
  margin: 0 0 8px;
  font-size: 14px;
  font-style: italic;
  color: #8a8175;
  line-height: 1.35;
}

.newsgame-player-grid-card__stats {
  margin: 0 0 16px;
  font-size: 13px;
  color: #8a8175;
  line-height: 1.4;
}

.newsgame-player-grid-card__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid #ddd6cb;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.newsgame-player-grid-card:hover .newsgame-player-grid-card__profile,
.newsgame-player-grid-card:focus-within .newsgame-player-grid-card__profile {
  border-color: #0a2540;
  color: #0a2540;
  background: #f3f6f9;
}

.newsgame-players-grid__empty {
  margin: 16px 0 0;
  color: #666666;
  font-size: 15px;
  text-align: center;
}

.newsgame-players-page-intro {
  margin-bottom: 20px;
}

.newsgame-player-single {
  background: #f8f6f2;
}

.newsgame-player-profile__timeline,
.newsgame-player-news,
.newsgame-player-profile__content {
  margin-bottom: 32px;
}

.newsgame-player-timeline {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
  border-left: 2px solid #0a2540;
}

.newsgame-player-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 22px 20px;
  position: relative;
}

.newsgame-player-timeline__item:last-child {
  padding-bottom: 0;
}

.newsgame-player-timeline__item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a2540;
  border: 3px solid #f8f6f2;
  box-shadow: 0 0 0 2px #0a2540;
}

.newsgame-player-timeline__year {
  flex: 0 0 64px;
  font-size: 15px;
  font-weight: 800;
  color: #0a2540;
}

.newsgame-player-timeline__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.newsgame-player-timeline__title {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
}

.newsgame-player-timeline__event {
  font-size: 14px;
  color: #8a8175;
}

.newsgame-player-news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.newsgame-player-news__all-link {
  font-size: 14px;
  font-weight: 700;
  color: #0a2540;
  text-decoration: none;
  white-space: nowrap;
}

.newsgame-player-news__all-link:hover,
.newsgame-player-news__all-link:focus {
  color: #0a2540;
  text-decoration: underline;
}

.newsgame-player-news__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsgame-player-news__link {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e7e2d8;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsgame-player-news__link:hover,
.newsgame-player-news__link:focus {
  border-color: #0a2540;
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.06);
}

.newsgame-player-news__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e3e9f0;
  color: #0a2540;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsgame-player-news__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.newsgame-player-news__date {
  font-size: 12px;
  color: #8a8175;
  text-transform: capitalize;
}

.newsgame-player-news__title {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  line-height: 1.35;
}

.newsgame-players-featured {
  margin-bottom: 36px;
}

.newsgame-players-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.newsgame-players-grid > .newsgame-player-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  box-sizing: border-box;
}

.newsgame-players-grid--featured .newsgame-player-card__media {
  aspect-ratio: 4 / 5;
}

.newsgame-player-card {
  margin: 0;
  height: 100%;
}

.newsgame-player-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.newsgame-player-card__link:hover,
.newsgame-player-card__link:focus {
  transform: translateY(-2px);
  border-color: #0a2540;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12);
}

.newsgame-player-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #14304d;
}

.newsgame-player-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsgame-player-card__photo--placeholder {
  background: linear-gradient(145deg, #14304d 0%, #0a2540 100%);
}

.newsgame-player-card__rank {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 42px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0a2540;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.newsgame-player-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}

.newsgame-player-card__name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  line-height: 1.3;
}

.newsgame-player-card__nickname {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0a2540;
}

.newsgame-player-card__excerpt {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
}

.newsgame-player-profile__hero {
  margin: 0 -4px 28px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2540 0%, #14304d 100%);
  color: #ffffff;
}

.newsgame-player-profile__hero-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.newsgame-player-profile__photo-wrap {
  flex-shrink: 0;
}

.newsgame-player-profile__photo-frame {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.newsgame-player-profile__photo-frame--placeholder {
  border: 3px solid #d4af37;
}

.newsgame-player-profile__photo-frame--tone-1 { background: #efe6d7; color: #6f6558; }
.newsgame-player-profile__photo-frame--tone-2 { background: #e3edf7; color: #4f6578; }
.newsgame-player-profile__photo-frame--tone-3 { background: #e3e9f0; color: #4f6578; }
.newsgame-player-profile__photo-frame--tone-4 { background: #f4e8df; color: #7a5d4d; }
.newsgame-player-profile__photo-frame--tone-5 { background: #ece8f4; color: #5d5478; }
.newsgame-player-profile__photo-frame--tone-6 { background: #f0ece3; color: #6d6558; }

.newsgame-player-profile__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.newsgame-player-profile__initials {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.newsgame-player-profile__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.newsgame-player-profile__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsgame-player-profile__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.newsgame-player-profile__badge--rank {
  background: #0a2540;
  color: #ffffff;
}

.newsgame-player-profile__name,
.newsgame-player-profile__hero .newsgame-player-profile__name.entry-title {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.12;
}

.newsgame-player-profile__nickname {
  margin: 0;
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: #d4af37;
}

.newsgame-player-profile__excerpt {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
}

.newsgame-player-profile__stats {
  margin-bottom: 32px;
}

.newsgame-player-profile__stats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.newsgame-player-profile__stat {
  flex: 1 1 calc((100% - 56px) / 5);
  min-width: 140px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 96px;
  background: #ffffff;
  border: 1px solid #e7e2d8;
  border-radius: 14px;
  padding: 18px 14px;
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.03);
}

.newsgame-player-profile__stat-label {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #8a8175;
  line-height: 1.35;
}

.newsgame-player-profile__stat-value {
  display: block;
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  line-height: 1.1;
}

.newsgame-player-profile__content-box {
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #e7e2d8;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: #111111;
}

.newsgame-player-profile__content-box p:last-child {
  margin-bottom: 0;
}

.newsgame-player-profile__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #e7e2d8;
}

.newsgame-player-profile__nav-item--prev {
  flex: 1 1 0;
  min-width: 0;
}

.newsgame-player-profile__nav-item--next {
  flex: 1 1 0;
  min-width: 0;
  text-align: right;
}

.newsgame-player-profile__nav-link {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.newsgame-player-profile__nav-link:hover .newsgame-player-profile__nav-name,
.newsgame-player-profile__nav-link:focus .newsgame-player-profile__nav-name {
  color: #0a2540;
}

.newsgame-player-profile__nav-direction {
  font-size: 13px;
  color: #8a8175;
}

.newsgame-player-profile__nav-name {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
}

.newsgame-player-profile__nav-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
}

.newsgame-player-profile__nav-all:hover,
.newsgame-player-profile__nav-all:focus {
  color: #0a2540;
}

.newsgame-player-profile__nav-all-icon {
  display: inline-flex;
  color: #8a8175;
}

body.aft-dark-mode .newsgame-players-archive__title,
body.aft-dark-mode .newsgame-players-featured__title,
body.aft-dark-mode .newsgame-players-list__title,
body.aft-dark-mode .newsgame-player-profile__section-title,
body.aft-dark-mode .newsgame-player-card__name,
body.aft-dark-mode .newsgame-player-profile__content {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-player-card__link,
body.aft-dark-mode .newsgame-player-profile__stat {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.15);
}

body.aft-dark-mode .newsgame-players-archive__description,
body.aft-dark-mode .newsgame-player-profile__stat-label,
body.aft-dark-mode .newsgame-players-filters__label,
body.aft-dark-mode .newsgame-player-grid-card__nickname,
body.aft-dark-mode .newsgame-player-grid-card__stats,
body.aft-dark-mode .newsgame-player-grid-card__excerpt,
body.aft-dark-mode .newsgame-player-timeline__event,
body.aft-dark-mode .newsgame-player-news__date,
body.aft-dark-mode .newsgame-player-profile__nav-direction {
  color: rgba(255, 255, 255, 0.74);
}

body.aft-dark-mode .newsgame-players-archive,
body.aft-dark-mode .newsgame-player-single {
  background: #141414;
}

body.aft-dark-mode .newsgame-players-filters:not(.newsgame-players-filters--in-header),
body.aft-dark-mode .newsgame-player-grid-card,
body.aft-dark-mode .newsgame-player-news__link,
body.aft-dark-mode .newsgame-player-profile__stat,
body.aft-dark-mode .newsgame-player-profile__content-box {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.15);
}

body.aft-dark-mode .newsgame-players-filters__limits button.newsgame-players-filters__button:not(.is-active) {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.aft-dark-mode .newsgame-players-filters__limits button.newsgame-players-filters__button.is-active {
  color: #ffffff !important;
}

body.aft-dark-mode .newsgame-players-filters__limits button.newsgame-players-filters__button:hover:not(.is-active),
body.aft-dark-mode .newsgame-players-filters__limits button.newsgame-players-filters__button:focus:not(.is-active) {
  color: #0a2540 !important;
}

body.aft-dark-mode .newsgame-players-filters__limits-indicator {
  background: #0a2540;
  box-shadow: 0 2px 10px rgba(10, 37, 64, 0.25);
}

body.aft-dark-mode .newsgame-players-filters__limits {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.12);
}

body.aft-dark-mode .newsgame-players-filters__select {
  background-color: #1a1a1a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.aft-dark-mode .newsgame-player-grid-card__profile {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.aft-dark-mode .newsgame-player-grid-card__name,
body.aft-dark-mode .newsgame-player-timeline__title,
body.aft-dark-mode .newsgame-player-news__title,
body.aft-dark-mode .newsgame-player-profile__nav-name,
body.aft-dark-mode .newsgame-player-profile__content-box {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-player-grid-card__rank {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

body.aft-dark-mode .newsgame-player-timeline__year {
  color: #d4af37;
}

body.aft-dark-mode .newsgame-player-profile__stat-value {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-player-profile__nav {
  border-top-color: rgba(255, 255, 255, 0.12);
}

body.aft-dark-mode .newsgame-player-timeline__item::before {
  border-color: #141414;
}

@media (max-width: 992px) {
  .newsgame-players-ranking-grid > .newsgame-player-grid-card,
  .newsgame-players-grid > .newsgame-player-card {
    flex: 0 0 calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }

  .newsgame-player-profile__stat {
    flex: 1 1 calc((100% - 14px) / 2);
  }
}

@media (max-width: 640px) {
  .newsgame-players-ranking-grid > .newsgame-player-grid-card,
  .newsgame-players-grid > .newsgame-player-card,
  .newsgame-player-profile__stat {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .newsgame-players-archive__header-main {
    flex-direction: column;
    align-items: stretch;
  }

  .newsgame-players-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .newsgame-players-filters__left {
    flex-direction: column;
    align-items: stretch;
  }

  .newsgame-players-filters__group {
    flex-direction: column;
    align-items: stretch;
  }

  .newsgame-players-filters__select {
    width: 100%;
  }

  .newsgame-players-filters__limits {
    width: 100%;
    justify-content: center;
  }

  .newsgame-players-filters--in-header .newsgame-players-filters__limits {
    width: auto;
    align-self: flex-end;
  }

  .newsgame-player-profile__hero-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 22px 18px;
  }

  .newsgame-player-profile__photo-frame {
    width: 132px;
    height: 132px;
  }

  .newsgame-player-profile__initials {
    font-size: 38px;
  }

  .newsgame-player-profile__name {
    font-size: 28px;
  }

  .newsgame-player-profile__badges {
    justify-content: flex-start;
  }

  .newsgame-player-profile__nav {
    flex-direction: column;
    text-align: center;
  }

  .newsgame-player-profile__nav-item--next {
    text-align: center;
  }

  .newsgame-player-profile__nav-all {
    order: -1;
  }
}

/* Snooker data pages (tournaments, matches, results) */
.newsgame-snooker-page {
  padding-top: 8px;
}

.newsgame-snooker-page--full .newsgame-snooker-page__main {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.newsgame-snooker-page__header {
  margin-bottom: 20px;
}

.newsgame-snooker-page__title {
  margin: 0 0 8px;
  color: #111111;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.newsgame-snooker-page__description,
.newsgame-snooker-page__intro,
.newsgame-snooker-page__content {
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}

.newsgame-snooker-page__content {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e5e5e5;
}

.newsgame-snooker-dashboard {
  margin-top: 8px;
}

.newsgame-snooker-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px 0 14px;
  background: linear-gradient(180deg, #ffffff 72%, rgba(255, 255, 255, 0));
}

.newsgame-snooker-dashboard .newsgame-snooker-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 2px solid #0a2540 !important;
  border-radius: 8px;
  background: #ffffff !important;
  color: #111111 !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.newsgame-snooker-dashboard .newsgame-snooker-tabs__btn:hover,
.newsgame-snooker-dashboard .newsgame-snooker-tabs__btn:focus-visible {
  border-color: #c9a227 !important;
  background: #f7f7f7 !important;
  color: #111111 !important;
  outline: none;
}

.newsgame-snooker-dashboard .newsgame-snooker-tabs__btn.is-active,
.newsgame-snooker-dashboard .newsgame-snooker-tabs__btn.is-active:hover,
.newsgame-snooker-dashboard .newsgame-snooker-tabs__btn.is-active:focus-visible {
  background: #0a2540 !important;
  border-color: #c9a227 !important;
  color: #ffffff !important;
}

.newsgame-snooker-tabs__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.18);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.newsgame-snooker-dashboard .newsgame-snooker-tabs__btn.is-active .newsgame-snooker-tabs__count {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
}

.newsgame-snooker-panel {
  display: none;
}

.newsgame-snooker-panel.is-active {
  display: block;
  animation: newsgame-snooker-fade-in 0.22s ease;
}

@keyframes newsgame-snooker-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsgame-snooker-section {
  margin: 0;
}

.newsgame-snooker-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.newsgame-snooker-section__header--compact {
  margin-bottom: 12px;
}

.newsgame-snooker-section__heading {
  min-width: 0;
}

.newsgame-snooker-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #111111;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.newsgame-snooker-section__subtitle {
  margin: 6px 0 0;
  color: #777777;
  font-size: 14px;
  font-weight: 600;
}

.newsgame-snooker-section__marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c0392b;
  flex: 0 0 auto;
}

.newsgame-snooker-section__marker--gold {
  background: #c9a227;
}

.newsgame-snooker-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsgame-snooker-filters__btn {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #d7d7d7 !important;
  border-radius: 999px;
  background: #ffffff !important;
  color: #111111 !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.newsgame-snooker-filters__btn.is-active,
.newsgame-snooker-filters__btn:hover,
.newsgame-snooker-filters__btn:focus-visible {
  border-color: #c9a227 !important;
  background: #0a2540 !important;
  color: #ffffff !important;
  outline: none;
}

.newsgame-snooker-tournament-grid {
  margin-top: 4px;
}

.newsgame-snooker-tournament-tile {
  margin: 0;
  padding: 12px 12px 10px;
  border: 1px solid #dddddd;
  border-top: 3px solid #c9a227;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
}

.newsgame-snooker-tournament-tile--ongoing {
  border-color: #c9a227;
  box-shadow: none;
}

.newsgame-snooker-tournament-tile--upcoming {
  opacity: 1;
}

.newsgame-snooker-tournament-tile--past {
  opacity: 0.85;
}

.newsgame-snooker-tournament-tile__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: #0a2540;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsgame-snooker-tournament-tile__status--past {
  color: #888888;
}

.newsgame-snooker-tournament-tile__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9a227;
  flex: 0 0 auto;
}

.newsgame-snooker-tournament-tile__name {
  margin: 0 0 6px;
  color: #111111;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.newsgame-snooker-tournament-tile__date {
  margin: 0;
  color: #666666;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.newsgame-snooker-matches__day {
  position: sticky;
  top: 68px;
  z-index: 5;
  margin: 18px 0 8px;
  padding: 8px 0 6px;
  border-bottom: 2px solid #c9a227;
  background: #ffffff;
  color: #333333;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: capitalize;
}

.newsgame-snooker-day-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.newsgame-snooker-day-tabs__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  margin: 0;
  padding: 8px 6px;
  border: 1px solid #d7d7d7 !important;
  border-radius: 8px;
  background: #ffffff !important;
  color: #111111 !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: capitalize;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.newsgame-snooker-day-tabs__btn:hover,
.newsgame-snooker-day-tabs__btn:focus-visible {
  border-color: #c9a227 !important;
  background: #f5f5f5 !important;
  color: #111111 !important;
  outline: none;
}

.newsgame-snooker-day-tabs__btn.is-active {
  border-color: #c9a227 !important;
  background: #0a2540 !important;
  color: #ffffff !important;
}

.newsgame-snooker-day-tabs__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.18);
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}

.newsgame-snooker-day-tabs__btn.is-active .newsgame-snooker-day-tabs__count {
  background: rgba(255, 255, 255, 0.16);
}

.newsgame-snooker-day-panel {
  display: none;
}

.newsgame-snooker-day-panel.is-active {
  display: block;
  animation: newsgame-snooker-fade-in 0.2s ease;
}

.newsgame-snooker-day-panel__title {
  margin: 0 0 12px;
  color: #444444;
  font-size: 15px;
  font-weight: 700;
  text-transform: capitalize;
}

.newsgame-snooker-match-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.newsgame-snooker-match-tile {
  margin: 0;
  padding: 12px 12px 10px;
  border: 1px solid #dddddd;
  border-top: 3px solid #c9a227;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
}

.newsgame-snooker-match-tile__time {
  margin: 0 0 8px;
  color: #0a2540;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.newsgame-snooker-match-tile__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #111111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.newsgame-snooker-match-tile__score .is-winner {
  color: #c9a227;
}

.newsgame-snooker-match-tile__score-sep {
  color: #999999;
  font-size: 18px;
}

.newsgame-snooker-match-tile__players {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.newsgame-snooker-match-tile__players .is-winner {
  color: #0a2540;
  font-weight: 800;
}

.newsgame-snooker-match-tile--result .newsgame-snooker-match-tile__players {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  justify-content: center;
  text-align: center;
}

.newsgame-snooker-match-tile__vs {
  color: #888888;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.newsgame-snooker-match-tile__meta {
  margin: 8px 0 0;
  color: #666666;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.newsgame-snooker-empty {
  margin: 0;
  padding: 24px;
  background: #f5f5f5;
  border-radius: 6px;
  color: #666666;
  font-size: 16px;
}

body.aft-dark-mode .newsgame-snooker-page__title,
body.aft-dark-mode .newsgame-snooker-section__title {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-snooker-tabs {
  background: linear-gradient(180deg, #111111 72%, rgba(17, 17, 17, 0));
}

body.aft-dark-mode .newsgame-snooker-tabs__btn:not(.is-active) {
  background: #1a1a1a !important;
  color: #ffffff !important;
}

body.aft-dark-mode .newsgame-snooker-tabs__btn.is-active {
  background: #0a2540 !important;
  color: #ffffff !important;
}

body.aft-dark-mode .newsgame-snooker-day-tabs__btn:not(.is-active) {
  background: #1a1a1a !important;
  border-color: #333333 !important;
  color: #ffffff !important;
}

body.aft-dark-mode .newsgame-snooker-day-panel__title {
  color: #dddddd;
}

body.aft-dark-mode .newsgame-snooker-filters__btn:not(.is-active) {
  background: #1a1a1a !important;
  border-color: #333333 !important;
  color: #ffffff !important;
}

body.aft-dark-mode .newsgame-snooker-tournament-tile,
body.aft-dark-mode .newsgame-snooker-match-tile {
  background: #1a1a1a;
  border-color: #333333;
  color: #eeeeee;
}

body.aft-dark-mode .newsgame-snooker-tournament-tile__name,
body.aft-dark-mode .newsgame-snooker-match-tile__players {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-snooker-tournament-tile__date,
body.aft-dark-mode .newsgame-snooker-match-tile__meta,
body.aft-dark-mode .newsgame-snooker-match-tile__vs {
  color: #aaaaaa;
}

body.aft-dark-mode .newsgame-snooker-match-tile__time {
  color: #c9a227;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .newsgame-snooker-day-tabs,
  .newsgame-snooker-match-grid,
  .newsgame-snooker-tournament-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .newsgame-snooker-day-tabs,
  .newsgame-snooker-match-grid,
  .newsgame-snooker-tournament-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsgame-snooker-tabs__btn {
    font-size: 12px;
    padding: 10px 8px;
  }

  .newsgame-snooker-tabs__count {
    min-width: 20px;
    padding: 2px 6px;
    font-size: 11px;
  }
}