/* =========================================================
   CRDGAME HOME HEADER — MOBILE HARD HIDE
   На мобильной версии новый desktop-хедер главной не выводим.
   Работает только старое мобильное меню.
   Версия: 20260715_home_mobile_hide_1
========================================================= */

html body .crd-home-head {
 display: none !important;
}

@media (max-width: 768px) {
 html body .crd-home-head,
 html body .crd-home-head *,
 html body .crd-home-nav,
 html body .crd-home-nav *,
 html body .crd-home-head__top,
 html body .crd-home-head__main {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
 }

 html body #top_network {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  overflow: visible !important;
 }
}


/* =========================================================
   CRDGAME HOME HEADER — CLEAN SEPARATE DESKTOP HEADER
   Отдельный хедер только для главной.
   Не трогает обычный хедер остальных страниц.
   Выпадающее меню выровнено как mega-menu без обрезания текста.
   Версия: 20260715_home_clean_3
========================================================= */

@media (min-width: 769px) {
 html body .crd-home-head {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
 }
  
 html body #top_network {
  --crd-home-head-w: 2560px;
  --crd-home-top-h: 35px;
  --crd-home-main-h: 80px;
  --crd-home-total-h: 115px;
  --crd-home-drop-h: 250px;

  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9000 !important;

  width: 100% !important;
  max-width: 100% !important;

  height: var(--crd-home-total-h) !important;
  min-height: var(--crd-home-total-h) !important;
  max-height: var(--crd-home-total-h) !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  overflow: visible !important;
 }

 html body #top_network::before,
 html body #top_network::after {
  display: none !important;
  content: none !important;
 }

 html body #top_network .tn_inner {
  position: relative !important;

  width: 100% !important;
  max-width: 100% !important;

  height: var(--crd-home-total-h) !important;
  min-height: var(--crd-home-total-h) !important;
  max-height: var(--crd-home-total-h) !important;

  padding: 0 !important;
  margin: 0 !important;

  overflow: visible !important;
 }

 html body .crd-home-head {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10000 !important;

  width: 100% !important;
  height: var(--crd-home-total-h) !important;

  pointer-events: auto !important;
 }

 /* =========================================================
    TOP STRIP — 35px
 ========================================================= */

 html body .crd-home-head__top {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  z-index: 10020 !important;

  height: var(--crd-home-top-h) !important;
  min-height: var(--crd-home-top-h) !important;
  max-height: var(--crd-home-top-h) !important;

  background: rgba(24,24,31,.96) !important;
  border-bottom: 1px solid rgba(255,255,255,.045) !important;

  overflow: visible !important;
 }

 html body .crd-home-head__top-inner {
  width: min(var(--crd-home-head-w), 100%) !important;
  max-width: min(var(--crd-home-head-w), 100%) !important;

  height: var(--crd-home-top-h) !important;
  min-height: var(--crd-home-top-h) !important;
  max-height: var(--crd-home-top-h) !important;

  margin: 0 auto !important;
  padding: 0 35px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  box-sizing: border-box !important;
 }

 html body .crd-home-head__brand,
 html body .crd-home-head__brand:link,
 html body .crd-home-head__brand:visited {
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;

  height: var(--crd-home-top-h) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
 }

 html body .crd-home-head__brand img {
  display: block !important;

  width: auto !important;
  max-width: 170px !important;
  height: auto !important;
  max-height: 22px !important;

  object-fit: contain !important;
  opacity: .88 !important;
 }

 html body .crd-home-head__network {
  height: var(--crd-home-top-h) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  margin-left: 24px !important;
  padding: 0 !important;

  gap: 0 !important;
 }

 html body .crd-home-head__network a,
 html body .crd-home-head__network a:link,
 html body .crd-home-head__network a:visited {
  height: var(--crd-home-top-h) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 26px !important;

  color: rgba(190,181,166,.78) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;

  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .2px !important;
  text-transform: none !important;

  transition: color .18s ease, background .18s ease !important;
 }

 html body .crd-home-head__network a:hover {
  color: #f0dcc0 !important;
  background: rgba(255,255,255,.025) !important;
 }

 /* =========================================================
    MAIN BAR — 80px
 ========================================================= */

 html body .crd-home-head__main {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: var(--crd-home-top-h) !important;
  z-index: 10010 !important;

  height: var(--crd-home-main-h) !important;
  min-height: var(--crd-home-main-h) !important;
  max-height: var(--crd-home-main-h) !important;

  background:
   linear-gradient(180deg, rgba(13,10,8,.94), rgba(10,7,6,.91)) !important;
  border-bottom: 1px solid rgba(174,137,84,.20) !important;

  overflow: visible !important;
 }

 html body .crd-home-head__main-inner {
  position: relative !important;

  width: min(var(--crd-home-head-w), 100%) !important;
  max-width: min(var(--crd-home-head-w), 100%) !important;

  height: var(--crd-home-main-h) !important;
  min-height: var(--crd-home-main-h) !important;
  max-height: var(--crd-home-main-h) !important;

  margin: 0 auto !important;
  padding: 0 20px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  box-sizing: border-box !important;
  overflow: visible !important;
 }

 html body .crd-home-head__game-logo,
 html body .crd-home-head__game-logo:link,
 html body .crd-home-head__game-logo:visited {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;

  height: var(--crd-home-main-h) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  padding: 0 !important;
  margin: 0 auto 0 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
 }

 html body .crd-home-head__game-logo img {
  display: block !important;

  width: auto !important;
  max-width: 235px !important;
  height: auto !important;
  max-height: 44px !important;

  object-fit: contain !important;
  opacity: .84 !important;

  filter: drop-shadow(0 2px 6px rgba(0,0,0,.65)) !important;
 }

 /* =========================================================
    MAIN NAV
 ========================================================= */

 html body .crd-home-nav {
  position: relative !important;
  z-index: 10030 !important;

  height: var(--crd-home-main-h) !important;

  display: block !important;

  margin-left: auto !important;
  margin-right: 24px !important;

  overflow: visible !important;
 }

 html body .crd-home-nav__list {
  position: relative !important;
  z-index: 10032 !important;

  height: var(--crd-home-main-h) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;

  gap: 0 !important;

  padding: 0 !important;
  margin: 0 !important;

  list-style: none !important;
  overflow: visible !important;
 }

 html body .crd-home-nav__item {
  position: relative !important;

  height: var(--crd-home-main-h) !important;

  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;

  padding: 0 !important;
  margin: 0 !important;

  list-style: none !important;
  overflow: visible !important;
 }

 html body .crd-home-nav__item::before,
 html body .crd-home-nav__item::after,
 html body .crd-home-nav__item > .crd-home-nav__sub::before,
 html body .crd-home-nav__item > .crd-home-nav__sub::after {
  display: none !important;
  content: none !important;
 }

 html body .crd-home-nav__item--hub {
  width: 166px !important;
 }

 html body .crd-home-nav__item--guides {
  width: 172px !important;
 }

 html body .crd-home-nav__item--community {
  width: 190px !important;
 }

 html body .crd-home-nav__item--guide {
  width: 188px !important;
 }

 html body .crd-home-nav__item--about {
  width: 158px !important;
 }

 html body .crd-home-nav__link,
 html body .crd-home-nav__link:link,
 html body .crd-home-nav__link:visited {
  position: relative !important;

  width: 100% !important;
  height: var(--crd-home-main-h) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 10px !important;
  margin: 0 !important;

  color: rgba(235,226,210,.92) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;

  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .1px !important;
  text-transform: none !important;

  white-space: nowrap !important;

  text-shadow: 0 1px 0 rgba(0,0,0,.95) !important;

  transition: color .18s ease, text-shadow .18s ease !important;
 }

 html body .crd-home-nav__link::after {
  content: "" !important;

  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;

  width: 0 !important;
  height: 2px !important;

  transform: translateX(-50%) !important;

  background:
   linear-gradient(90deg, transparent, rgba(255,225,168,.96), transparent) !important;

  opacity: 0 !important;

  transition: width .18s ease, opacity .18s ease !important;
 }

 html body .crd-home-nav__item:hover > .crd-home-nav__link,
 html body .crd-home-nav__item:focus-within > .crd-home-nav__link {
  color: #fff0cc !important;
  text-shadow:
   0 1px 0 rgba(0,0,0,1),
   0 0 12px rgba(215,176,111,.20) !important;
 }

 html body .crd-home-nav__item:hover > .crd-home-nav__link::after,
 html body .crd-home-nav__item:focus-within > .crd-home-nav__link::after {
  width: 78px !important;
  opacity: 1 !important;
 }

 /* =========================================================
    HOME MEGA DROPDOWN
    Все колонки видны при наведении на меню.
    Ширины колонок заданы отдельно, чтобы текст не резался.
 ========================================================= */

 html body .crd-home-nav__drop-bg {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: var(--crd-home-total-h) !important;
  z-index: 10000 !important;

  width: 100% !important;
  height: 0 !important;

  opacity: 0 !important;
  visibility: hidden !important;

  background:
   radial-gradient(circle at 50% 18%, rgba(184,146,89,.075), transparent 58%),
   linear-gradient(180deg, rgba(21,16,12,.975), rgba(10,8,7,.965)) !important;

  border-top: 1px solid rgba(184,146,89,.14) !important;
  border-bottom: 1px solid rgba(184,146,89,.18) !important;

  box-shadow:
   0 22px 54px rgba(0,0,0,.52),
   inset 0 1px 0 rgba(255,236,194,.02) !important;

  overflow: hidden !important;
  pointer-events: none !important;

  transition: height .20s ease, opacity .14s ease, visibility .14s ease !important;
 }

 html body .crd-home-nav__drop-bg::after {
  content: "CRDGAME" !important;

  position: absolute !important;
  left: 50% !important;
  top: 72px !important;

  transform: translateX(-50%) !important;

  color: rgba(184,146,89,.025) !important;

  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 78px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 9px !important;

  pointer-events: none !important;
 }

 html body .crd-home-nav:hover .crd-home-nav__drop-bg,
 html body .crd-home-nav:focus-within .crd-home-nav__drop-bg {
  height: var(--crd-home-drop-h) !important;
  opacity: 1 !important;
  visibility: visible !important;
 }

 html body .crd-home-nav__sub {
  position: absolute !important;
  top: var(--crd-home-main-h) !important;
  left: 50% !important;
  z-index: 10040 !important;

  width: var(--crd-home-sub-w, 190px) !important;
  min-width: var(--crd-home-sub-w, 190px) !important;
  max-width: var(--crd-home-sub-w, 190px) !important;
  min-height: calc(var(--crd-home-drop-h) - 12px) !important;

  padding: 28px 0 16px !important;
  margin: 0 !important;

  list-style: none !important;
  text-align: center !important;

  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(-50%) translateY(-3px) !important;
  pointer-events: none !important;

  transition: opacity .16s ease, visibility .16s ease, transform .16s ease !important;
 }

 html body .crd-home-nav__item--hub {
  --crd-home-sub-w: 174px;
 }

 html body .crd-home-nav__item--guides {
  --crd-home-sub-w: 218px;
 }

 html body .crd-home-nav__item--community {
  --crd-home-sub-w: 218px;
 }

 html body .crd-home-nav__item--guide {
  --crd-home-sub-w: 218px;
 }

 html body .crd-home-nav__item--about {
  --crd-home-sub-w: 190px;
 }

 html body .crd-home-nav:hover .crd-home-nav__sub,
 html body .crd-home-nav:focus-within .crd-home-nav__sub {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
 }

 html body .crd-home-nav__sub > li {
  display: block !important;

  width: 100% !important;

  padding: 0 !important;
  margin: 0 !important;

  list-style: none !important;
  text-align: center !important;
 }

 html body .crd-home-nav__sub a,
 html body .crd-home-nav__sub a:link,
 html body .crd-home-nav__sub a:visited {
  position: relative !important;

  display: block !important;

  width: 100% !important;
  box-sizing: border-box !important;

  padding: 8px 8px !important;
  margin: 0 !important;

  color: #bfb19d !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;

  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.38 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;

  white-space: nowrap !important;
  overflow: visible !important;

  transition: color .16s ease, text-shadow .16s ease !important;
 }

 html body .crd-home-nav__sub a:hover,
 html body .crd-home-nav__sub a:focus {
  color: #ffd891 !important;
  text-shadow:
   0 1px 0 rgba(0,0,0,.88),
   0 0 10px rgba(215,176,111,.16) !important;
 }

 html body .crd-home-nav__sub a::after {
  content: "" !important;

  position: absolute !important;
  left: 50% !important;
  bottom: 2px !important;

  width: 0 !important;
  height: 1px !important;

  transform: translateX(-50%) !important;

  background: rgba(215,176,111,.42) !important;
  opacity: 0 !important;

  transition: width .16s ease, opacity .16s ease !important;
 }

 html body .crd-home-nav__sub a:hover::after,
 html body .crd-home-nav__sub a:focus::after {
  width: 32px !important;
  opacity: 1 !important;
 }

 /* =========================================================
    SEARCH + USER
 ========================================================= */

 html body .crd-home-head__search {
  width: 34px !important;
  min-width: 34px !important;
  height: var(--crd-home-main-h) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin-right: 22px !important;
 }

 html body .crd-home-head__search .crd-search-nav-btn {
  width: 34px !important;
  height: var(--crd-home-main-h) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  color: #d8c7a8 !important;
  cursor: pointer !important;
 }

 html body .crd-home-head__search svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
 }

 html body .crd-home-head__search .crd-search-nav-btn:hover {
  color: #ffd891 !important;
 }

 html body .crd-home-head__user {
  position: relative !important;
  z-index: 10050 !important;

  height: var(--crd-home-main-h) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;

  flex: 0 0 auto !important;
 }

 html body .crd-home-head__user .crd-head-stats,
 html body .crd-home-head__user .tn_user_wrap,
 html body .crd-home-head__user .tn_user_btn {
  margin-top: 0 !important;
 }

 html body .crd-home-head__user .crd-head-stats,
 html body .crd-home-head__user .tn_user_btn {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
 }

 html body .crd-home-head__user .tn_user_drop {
  z-index: 10080 !important;
 }

 html body .crd-home-head__user .tn_guest {
  height: var(--crd-home-main-h) !important;

  display: flex !important;
  align-items: center !important;
 }

 html body .crd-home-head__user .tn_login_btn,
 html body .crd-home-head__user .tn_register_btn {
  height: 40px !important;
  padding: 0 16px !important;
  font-size: 11px !important;
 }

 /* Старую ПК-строку на главной не используем */
 html body #top_network .tn_desktop_row.crd-polish-row {
  display: none !important;
 }

 /* Мобильные элементы не трогаем, но на ПК скрываем */
 html body #top_network .tn_hamburger,
 html body #top_network .tn_mini_logo,
 html body #top_network .tn_search_mobile_old,
 html body #top_network .tn_mobile_avatar {
  display: none !important;
 }

 /* Логотипы hero на главной ниже нового хедера */
 html body {
  --crd-hero-logo-top: 130px;
  --crd-hero-content-top: 365px;
 }

 html body .crd-home-official-logo,
 html body .crd-home-official-logo:link,
 html body .crd-home-official-logo:visited {
  top: 145px !important;
 }

}

/* =========================================================
   ULTRAWIDE: центр 2560px, как на официальном сайте
========================================================= */

@media (min-width: 2600px) {

 html body #top_network {
  left: 50% !important;
  right: auto !important;

  width: 2560px !important;
  min-width: 2560px !important;
  max-width: 2560px !important;

  margin-left: -1280px !important;
 }

 html body .crd-home-nav__drop-bg {
  left: 50% !important;
  right: auto !important;

  width: 2560px !important;
  min-width: 2560px !important;
  max-width: 2560px !important;

  margin-left: -1280px !important;
 }

}

/* =========================================================
   1501–1980px
========================================================= */

@media (min-width: 1501px) and (max-width: 1980px) {

 html body #top_network {
  --crd-home-drop-h: 236px;
 }

 html body .crd-home-head__game-logo {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
 }

 html body .crd-home-head__game-logo img {
  max-width: 215px !important;
  max-height: 40px !important;
 }

 html body .crd-home-nav__item--hub {
  width: 150px !important;
 }

 html body .crd-home-nav__item--guides {
  width: 158px !important;
 }

 html body .crd-home-nav__item--community {
  width: 176px !important;
 }

 html body .crd-home-nav__item--guide {
  width: 176px !important;
 }

 html body .crd-home-nav__item--about {
  width: 146px !important;
 }

 html body .crd-home-nav__item--hub {
  --crd-home-sub-w: 164px;
 }

 html body .crd-home-nav__item--guides,
 html body .crd-home-nav__item--community,
 html body .crd-home-nav__item--guide {
  --crd-home-sub-w: 204px;
 }

 html body .crd-home-nav__item--about {
  --crd-home-sub-w: 180px;
 }

 html body .crd-home-nav__link,
 html body .crd-home-nav__link:link,
 html body .crd-home-nav__link:visited {
  font-size: 13px !important;
 }

 html body .crd-home-nav__sub {
  padding-top: 26px !important;
 }

 html body .crd-home-nav__sub a,
 html body .crd-home-nav__sub a:link,
 html body .crd-home-nav__sub a:visited {
  font-size: 13px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
 }

}

/* =========================================================
   1281–1500px
========================================================= */

@media (min-width: 1281px) and (max-width: 1500px) {

 html body #top_network {
  --crd-home-top-h: 32px;
  --crd-home-main-h: 74px;
  --crd-home-total-h: 106px;
  --crd-home-drop-h: 224px;
 }

 html body .crd-home-head__top-inner {
  padding-left: 24px !important;
  padding-right: 24px !important;
 }

 html body .crd-home-head__brand {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
 }

 html body .crd-home-head__brand img {
  max-width: 145px !important;
  max-height: 19px !important;
 }

 html body .crd-home-head__network {
  margin-left: 14px !important;
 }

 html body .crd-home-head__network a {
  padding-left: 18px !important;
  padding-right: 18px !important;
  font-size: 11px !important;
 }

 html body .crd-home-head__game-logo {
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
 }

 html body .crd-home-head__game-logo img {
  max-width: 180px !important;
  max-height: 36px !important;
 }

 html body .crd-home-nav {
  margin-right: 18px !important;
 }

 html body .crd-home-nav__item--hub {
  width: 128px !important;
 }

 html body .crd-home-nav__item--guides {
  width: 136px !important;
 }

 html body .crd-home-nav__item--community {
  width: 150px !important;
 }

 html body .crd-home-nav__item--guide {
  width: 154px !important;
 }

 html body .crd-home-nav__item--about {
  width: 124px !important;
 }

 html body .crd-home-nav__item--hub {
  --crd-home-sub-w: 156px;
 }

 html body .crd-home-nav__item--guides,
 html body .crd-home-nav__item--community,
 html body .crd-home-nav__item--guide {
  --crd-home-sub-w: 190px;
 }

 html body .crd-home-nav__item--about {
  --crd-home-sub-w: 170px;
 }

 html body .crd-home-nav__link,
 html body .crd-home-nav__link:link,
 html body .crd-home-nav__link:visited {
  font-size: 12px !important;
 }

 html body .crd-home-nav__sub {
  padding-top: 22px !important;
 }

 html body .crd-home-nav__sub a,
 html body .crd-home-nav__sub a:link,
 html body .crd-home-nav__sub a:visited {
  font-size: 12px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
 }

 html body .crd-home-head__user .crd-head-stats {
  display: none !important;
 }

 html body {
  --crd-hero-logo-top: 118px;
  --crd-hero-content-top: 340px;
 }

 html body .crd-home-official-logo,
 html body .crd-home-official-logo:link,
 html body .crd-home-official-logo:visited {
  top: 128px !important;
 }

}

/* =========================================================
   981–1280px
========================================================= */

@media (min-width: 981px) and (max-width: 1280px) {

 html body #top_network {
  --crd-home-top-h: 30px;
  --crd-home-main-h: 70px;
  --crd-home-total-h: 100px;
  --crd-home-drop-h: 212px;
 }

 html body .crd-home-head__top-inner {
  padding-left: 18px !important;
  padding-right: 18px !important;
 }

 html body .crd-home-head__network a {
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-size: 10.5px !important;
 }

 html body .crd-home-head__game-logo {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
 }

 html body .crd-home-head__game-logo img {
  max-width: 150px !important;
  max-height: 32px !important;
 }

 html body .crd-home-nav {
  margin-right: 12px !important;
 }

 html body .crd-home-nav__item--hub {
  width: 112px !important;
 }

 html body .crd-home-nav__item--guides {
  width: 104px !important;
 }

 html body .crd-home-nav__item--community {
  width: 124px !important;
 }

 html body .crd-home-nav__item--guide {
  width: 130px !important;
 }

 html body .crd-home-nav__item--about {
  width: 104px !important;
 }

 html body .crd-home-nav__item--hub {
  --crd-home-sub-w: 150px;
 }

 html body .crd-home-nav__item--guides,
 html body .crd-home-nav__item--community,
 html body .crd-home-nav__item--guide {
  --crd-home-sub-w: 176px;
 }

 html body .crd-home-nav__item--about {
  --crd-home-sub-w: 156px;
 }

 html body .crd-home-nav__link,
 html body .crd-home-nav__link:link,
 html body .crd-home-nav__link:visited {
  font-size: 11px !important;
 }

 html body .crd-home-nav__sub {
  padding-top: 18px !important;
 }

 html body .crd-home-nav__sub a,
 html body .crd-home-nav__sub a:link,
 html body .crd-home-nav__sub a:visited {
  font-size: 11px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
 }

 html body .crd-home-head__search {
  margin-right: 12px !important;
 }

 html body .crd-home-head__user .crd-head-stats {
  display: none !important;
 }

 html body {
  --crd-hero-logo-top: 108px;
  --crd-hero-content-top: 315px;
 }

 html body .crd-home-official-logo,
 html body .crd-home-official-logo:link,
 html body .crd-home-official-logo:visited {
  top: 116px !important;
 }

}

/* =========================================================
   CRDGAME HOME HEADER — PAGE SWITCH
   Меню главной работает на главной и выбранных static-страницах.
   Версия: 20260715_home_clean_5
========================================================= */

.crd-home-head {
 display: none !important;
}

@media (min-width: 769px) {
 html body .crd-home-head {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
 }

 html body .tn_desktop_row.crd-polish-row {
  display: none !important;
 }
}

@media (max-width: 768px) {
 html body .crd-home-head,
 html body .crd-home-head *,
 html body .crd-home-nav,
 html body .crd-home-nav * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
 }
}

/* =========================================================
   CRDGAME HEADER — TOP DROPDOWNS FINAL GRAY
   v20260719_header_top_dropdowns_gray_final_3

   - Цвет верхних кнопок НЕ меняем
   - Стрелки возвращаем
   - Dropdown серый
   - Убираем разрыв между кнопкой и меню
   - Меню не закрывается мгновенно при движении мышки вниз
========================================================= */

@media (min-width: 901px) {

  #top_network,
  #top_network .tn_inner,
  #top_network .crd-home-head,
  #top_network .crd-home-head__top,
  #top_network .crd-home-head__top-inner,
  #top_network .crd-home-head__network {
    overflow: visible !important;
  }

  #top_network .crd-head-dd {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;

    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    z-index: 1600 !important;
  }

  /* невидимый мостик между кнопкой и dropdown */
  #top_network .crd-head-dd::before {
    content: "" !important;

    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;

    height: 14px !important;

    background: transparent !important;

    pointer-events: auto !important;
    z-index: 1599 !important;
  }

  /* верхние кнопки возвращаем к исходному цвету */
  #top_network .crd-head-dd > .crd-head-dd__main,
  #top_network .crd-head-dd > .crd-head-dd__main:link,
  #top_network .crd-head-dd > .crd-head-dd__main:visited {
    color: rgba(190,181,166,.78) !important;
    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  #top_network .crd-head-dd:hover > .crd-head-dd__main,
  #top_network .crd-head-dd:focus-within > .crd-head-dd__main {
    color: #f0dcc0 !important;
    background: rgba(255,255,255,.025) !important;
  }

  /* стрелка у пунктов с dropdown */
  #top_network .crd-head-dd > .crd-head-dd__main::after {
    content: "" !important;

    display: inline-block !important;

    width: 0 !important;
    height: 0 !important;

    margin-left: 7px !important;
    vertical-align: middle !important;

    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-top: 5px solid rgba(190,181,166,.68) !important;

    transform: translateY(-1px) !important;

    transition:
      transform .18s ease,
      border-color .18s ease !important;
  }

  #top_network .crd-head-dd:hover > .crd-head-dd__main::after,
  #top_network .crd-head-dd:focus-within > .crd-head-dd__main::after {
    transform: translateY(-1px) rotate(180deg) !important;
    border-top-color: #f0dcc0 !important;
  }

  /* dropdown — строго вертикальный, серый */
  #top_network .crd-head-dd > .crd-head-dd__menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1700 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    gap: 0 !important;

    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 7px !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateX(-50%) translateY(8px) !important;

    background:
      linear-gradient(180deg, rgba(29,30,36,.985), rgba(13,14,18,.985)) !important;

    border: 1px solid rgba(150,156,168,.20) !important;
    border-top-color: rgba(205,211,224,.28) !important;

    box-shadow:
      0 22px 54px rgba(0,0,0,.48),
      inset 0 1px 0 rgba(255,255,255,.045) !important;

    overflow: visible !important;

    transition:
      opacity .14s ease .08s,
      visibility .14s ease .08s,
      transform .14s ease .08s !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu--wide {
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
  }

  #top_network .crd-head-dd:hover > .crd-head-dd__menu,
  #top_network .crd-head-dd:focus-within > .crd-head-dd__menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: translateX(-50%) translateY(0) !important;

    transition-delay: 0s !important;
  }

  /* если широкое меню справа — прижимаем к правому краю пункта */
  #top_network .crd-home-head__network .crd-head-dd:last-child > .crd-head-dd__menu {
    left: auto !important;
    right: 0 !important;

    transform: translateY(8px) !important;
  }

  #top_network .crd-home-head__network .crd-head-dd:last-child:hover > .crd-head-dd__menu,
  #top_network .crd-home-head__network .crd-head-dd:last-child:focus-within > .crd-head-dd__menu {
    transform: translateY(0) !important;
  }

  /* верхняя серая линия dropdown */
  #top_network .crd-head-dd > .crd-head-dd__menu::before {
    content: "" !important;

    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    top: -1px !important;

    display: block !important;
    height: 1px !important;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(210,216,228,.38),
        transparent
      ) !important;

    pointer-events: none !important;
  }

  /* ссылки внутри dropdown */
  #top_network .crd-head-dd > .crd-head-dd__menu > a,
  #top_network .crd-head-dd > .crd-head-dd__menu > a:link,
  #top_network .crd-head-dd > .crd-head-dd__menu > a:visited {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    min-height: 34px !important;

    margin: 0 !important;
    padding: 8px 12px !important;

    color: rgba(207,211,220,.84) !important;
    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(170,176,188,.075) !important;
    box-shadow: none !important;

    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: .1px !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-align: left !important;

    white-space: normal !important;
    overflow: visible !important;

    transition:
      color .16s ease,
      background .16s ease,
      padding-left .16s ease !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu > a:last-child {
    border-bottom: 0 !important;
  }

  /* маленькая стрелка/метка у пунктов внутри dropdown */
  #top_network .crd-head-dd > .crd-head-dd__menu > a::before {
    content: "" !important;

    flex: 0 0 auto !important;

    width: 0 !important;
    height: 0 !important;

    margin-right: 9px !important;

    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    border-left: 5px solid rgba(178,184,196,.46) !important;

    opacity: .72 !important;

    transition:
      opacity .16s ease,
      border-left-color .16s ease !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu > a:hover,
  #top_network .crd-head-dd > .crd-head-dd__menu > a:focus {
    padding-left: 15px !important;

    color: rgba(245,247,252,.96) !important;

    background:
      linear-gradient(
        90deg,
        rgba(205,211,224,.105),
        rgba(205,211,224,.030)
      ) !important;

    text-shadow: 0 1px 0 rgba(0,0,0,.82) !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu > a:hover::before,
  #top_network .crd-head-dd > .crd-head-dd__menu > a:focus::before {
    opacity: 1 !important;
    border-left-color: rgba(238,241,248,.82) !important;
  }
}

/* mobile/tablet — обычный вложенный список */
@media (max-width: 900px) {
  #top_network .crd-head-dd {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    height: auto !important;
  }

  #top_network .crd-head-dd::before,
  #top_network .crd-head-dd__main::after {
    display: none !important;
    content: none !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu,
  #top_network .crd-head-dd > .crd-head-dd__menu--wide {
    position: static !important;

    display: grid !important;
    grid-template-columns: 1fr !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 !important;
    padding: 4px 0 8px 14px !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: none !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu::before {
    display: none !important;
    content: none !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu > a {
    min-height: 30px !important;

    padding: 0 12px !important;

    color: rgba(176,181,192,.78) !important;
    background: transparent !important;
    border: 0 !important;

    font-size: 12px !important;
  }

  #top_network .crd-head-dd > .crd-head-dd__menu > a:hover {
    padding-left: 12px !important;

    color: rgba(238,241,248,.94) !important;
    background: rgba(210,216,228,.055) !important;
  }
}
.crd-top-tagline{
  height: 48px;
  display:flex;
  align-items:center;
  padding:0 28px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#d7d1c4;
  border-bottom:1px solid rgba(201,150,74,.22);
  background:linear-gradient(180deg, rgba(14,14,16,.92), rgba(10,10,12,.88));
}