/* Strong overrides for module.css (loaded after common.css) */

#hd {
  background: transparent !important;
  border-bottom: 0 !important;
}

#hd .wp {
  margin-top: 14px !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#hd .hdc {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 30px rgba(24, 67, 115, 0.12) !important;
  padding: 18px 20px 14px !important;
}

#hd h2 {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

#hd h2.gtafb-site-logo a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 220px !important;
  height: 56px !important;
}

#hd h2.gtafb-site-logo img {
  display: block !important;
  max-height: 56px !important;
  width: auto !important;
}

.gtafb-header-search {
  flex: 1 1 auto !important;
  min-width: 320px !important;
}

.gtafb-search-form {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

.gtafb-search-input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  border: 1px solid #d5e4f3 !important;
  border-radius: 24px !important;
  background: #f9fcff !important;
  padding: 0 18px !important;
  color: #425a78 !important;
  box-shadow: inset 0 1px 1px rgba(18, 62, 112, 0.04) !important;
  outline: none !important;
}

.gtafb-search-input:focus {
  border-color: #97c8f4 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(23, 139, 255, 0.12) !important;
}

.gtafb-search-btn {
  flex: 0 0 auto !important;
  min-width: 116px !important;
  height: 46px !important;
  border-radius: 24px !important;
  border: 0 !important;
  background: linear-gradient(90deg, #40a8e4 0%, #4295d7 100%) !important;
  box-shadow: 0 8px 18px rgba(54, 145, 214, 0.35) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.gtafb-search-btn:hover {
  background: linear-gradient(90deg, #319ddd 0%, #338ccd 100%) !important;
}

.gtafb-header-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 10px !important;
}

.gtafb-btn {
  display: inline-block !important;
  min-width: 94px !important;
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 18px !important;
  border-radius: 20px !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.gtafb-btn-line {
  border: 1px solid rgba(23, 139, 255, 0.42) !important;
  color: #2f78be !important;
  background: rgba(227, 241, 255, 0.55) !important;
}

.gtafb-btn-line:hover {
  border-color: #178bff !important;
  color: #1677ff !important;
  background: #fff !important;
}

#nv {
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #48a8df 0%, #5aa3df 100%) !important;
  box-shadow: none !important;
  min-height: 46px !important;
  overflow: hidden !important;
  padding-left: 0 !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 0 !important;
}

#nv #qmenu {
  display: none !important;
}

#nv ul,
#nv ul li {
  height: 46px !important;
  line-height: 46px !important;
}

#nv ul {
  background: transparent !important;
  width: 1200px !important;
  max-width: calc(100% - 32px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

#nv ul:before,
#nv ul:after {
  content: none !important;
  display: none !important;
}

#nv li {
  background: transparent !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

#nv li a {
  display: block !important;
  height: 46px !important;
  line-height: 46px !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 0 12px !important;
  background-image: none !important;
  text-shadow: none !important;
}

#nv li > a.a,
#nv li > a.current {
  background: transparent !important;
  color: #fff !important;
}

#nv li.a a {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

#nv li:hover a {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

/* Force single active nav by current basescript to avoid dual-highlight issues */
body#nv_forum #nv li.a,
body#nv_plugin #nv li.a {
  margin-left: 0 !important;
  background: transparent !important;
}

body#nv_forum #nv li a {
  background: transparent !important;
}

body#nv_forum #nv li.a a {
  background: transparent !important;
}

body#nv_forum #nv li a[href*="forum.php"] {
  background: rgba(255, 255, 255, 0.2) !important;
}

body#nv_plugin #nv li a {
  background: transparent !important;
}

body#nv_plugin #nv li.a a {
  background: transparent !important;
}

body#nv_plugin #nv li a[href*="plugin.php?id=mini_gamelist"] {
  background: rgba(255, 255, 255, 0.2) !important;
}

/* Keep generic plugin pages (ct2 layout) from collapsing/misalignment */
body#nv_plugin #ct.ct2 {
  min-height: 0 !important;
}

body#nv_plugin #ct.ct2:after {
  content: "" !important;
  display: block !important;
  clear: both !important;
}

body#nv_plugin #ct.ct2 > .mn:first-child:not(:last-child) {
  float: left !important;
  width: calc(100% - 240px) !important;
  margin-bottom: 1em !important;
  overflow: hidden !important;
}

body#nv_plugin #ct.ct2 > .sd:last-child {
  float: right !important;
  width: 220px !important;
  overflow: hidden !important;
  margin-top: 0 !important;
}

body#nv_plugin #ct.ct2 > .sd:last-child .bm {
  margin-top: 0 !important;
}

body#nv_plugin #ct.ct2 .datalist table {
  width: 100% !important;
}

#mu {
  display: none !important;
}

body.pg_space #ct.ct2_a,
body.pg_spacecp #ct.ct2_a {
  display: flex !important;
  align-items: stretch !important;
  padding: 0 !important;
  border: 1px solid #dbe7f3 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 8px 20px rgba(24, 67, 115, 0.06) !important;
  overflow: hidden !important;
}

body.pg_space #ct.ct2_a:after,
body.pg_spacecp #ct.ct2_a:after {
  content: none !important;
  display: none !important;
}

body.pg_space #ct.ct2_a .appl,
body.pg_spacecp #ct.ct2_a .appl {
  order: 1 !important;
  flex: 0 0 192px !important;
  width: 192px !important;
  margin: 0 !important;
  padding: 14px 12px !important;
  float: none !important;
  border: 0 !important;
  border-right: 1px solid #e6eef8 !important;
  background: #f8fbff !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

body.pg_space #ct.ct2_a .mn,
body.pg_spacecp #ct.ct2_a .mn {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px 16px 18px !important;
  box-sizing: border-box !important;
}

body.pg_space #ct.ct2_a .mn .bm.bw0,
body.pg_spacecp #ct.ct2_a .mn .bm.bw0 {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.pg_space #ct.ct2_a .mn .emp,
body.pg_spacecp #ct.ct2_a .mn .emp {
  margin: 12px 0 !important;
  padding: 18px 16px !important;
  border: 1px solid #e4edf8 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.pg_space #ct.ct2_a .tbn,
body.pg_spacecp #ct.ct2_a .tbn {
  margin: 0 !important;
  border: 1px solid #e3edf9 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.pg_space #ct.ct2_a .tbn .mt,
body.pg_spacecp #ct.ct2_a .tbn .mt {
  margin: 0 !important;
  padding: 12px !important;
  border-bottom: 1px solid #e6eef8 !important;
}

body.pg_space #ct.ct2_a .tbn li,
body.pg_spacecp #ct.ct2_a .tbn li {
  margin: 0 !important;
  padding: 0 10px !important;
  height: 38px !important;
  line-height: 38px !important;
  border-bottom: 1px dashed #d8e6f5 !important;
}

body.pg_space #ct.ct2_a .tbn li.a,
body.pg_spacecp #ct.ct2_a .tbn li.a {
  margin: 0 !important;
  padding: 0 10px !important;
  border-top: 0 !important;
  border-bottom: 1px solid #d9e8f8 !important;
  background: #edf6ff !important;
}

body.pg_space #ct.ct2_a .tbn ul a,
body.pg_spacecp #ct.ct2_a .tbn ul a {
  height: 38px !important;
  line-height: 38px !important;
}

body.pg_spacecp #retpre a {
  display: inline-block !important;
  padding: 4px 10px !important;
  border: 1px solid #b7cff0 !important;
  border-radius: 8px !important;
  background: #f2f8ff !important;
  color: #2f78be !important;
}

body.pg_spacecp #retpre a:hover {
  border-color: #7fb5ea !important;
  background: #fff !important;
}

#scbar {
  border: 1px solid #dbe7f3 !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 6px 8px !important;
}

#scbar .scbar_txt_td .px {
  border: 1px solid #d6e4f3 !important;
  border-radius: 8px !important;
  height: 34px !important;
}

#scbar .scbar_btn_td .pn {
  border-radius: 8px !important;
  border-color: #178bff !important;
  background: #178bff !important;
}

#scbar_hot {
  color: #5f7391 !important;
}

#scbar_hot a {
  color: #178bff !important;
}

/* Forum index information panels */
body#nv_forum #pt.bm {
  border: 1px solid #deebf8 !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 6px 16px rgba(24, 67, 115, 0.06) !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  margin-bottom: 12px !important;
}

body#nv_forum #pt.bm .z,
body#nv_forum #pt.bm .y {
  line-height: 46px !important;
}

body#nv_forum #pt.bm .z {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

body#nv_forum #pt.bm .z a,
body#nv_forum #pt.bm .z span,
body#nv_forum #pt.bm .z em {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 46px !important;
  font-size: 14px !important;
}

body#nv_forum #pt.bm .z em {
  width: auto !important;
  margin: 0 6px !important;
  color: #afc0d4 !important;
  line-height: 46px !important;
}

body#nv_forum #pt.bm .nvhm {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  margin-top: 0 !important;
  margin-right: 4px !important;
  font-size: 14px !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
  vertical-align: middle !important;
}

body#nv_forum #pt.bm .nvhm:before {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  text-indent: 0 !important;
}

body#nv_forum #chart.bm {
  border: 1px solid #dbe7f3 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 8px 22px rgba(24, 67, 115, 0.08) !important;
  padding: 14px 16px !important;
  margin-bottom: 14px !important;
}

body#nv_forum #chart .chart {
  color: #506684 !important;
  font-size: 15px !important;
  line-height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
}

body#nv_forum #chart .chart .pipe {
  margin: 0 10px !important;
  color: #b4c8de !important;
}

body#nv_forum #chart .chart em,
body#nv_forum #chart .y a {
  color: #2f82cf !important;
}

body#nv_forum #chart .chart em {
  font-weight: 600 !important;
}

body#nv_forum #chart .y {
  line-height: 34px !important;
}

body#nv_forum #ct .mn > .bm:not(.fl),
body#nv_forum #ct .mn > .fl.bm > .bm.bmw,
body#nv_forum #ct #online.bm,
body#nv_forum #ct .lk.bm {
  border: 1px solid #dbe7f3 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 10px 24px rgba(24, 67, 115, 0.08) !important;
  margin-bottom: 14px !important;
}

body#nv_forum #ct .mn > .fl.bm {
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#nv_forum #ct .mn > .fl.bm > .bm.bmw:last-child {
  margin-bottom: 0 !important;
}

body#nv_forum #ct .mn > #pgt.bm,
body#nv_forum #ct .mn > #pgtb.bm {
  margin: 10px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#nv_forum #ct .mn > #pgt .pgsbtn,
body#nv_forum #ct .mn > #pgtb .pgsbtn {
  color: #fff !important;
  border-color: #2f82cf !important;
  background: linear-gradient(180deg, #4b9cf1 0%, #2f82cf 100%) !important;
}

body#nv_forum #ct .mn > #pgt .pgsbtn:hover,
body#nv_forum #ct .mn > #pgtb .pgsbtn:hover {
  color: #fff !important;
  border-color: #1f70bc !important;
  background: linear-gradient(180deg, #3f92ea 0%, #1f70bc 100%) !important;
  text-decoration: none !important;
}

body#nv_forum #newspecial_menu {
  width: 132px !important;
}

body#nv_forum #newspecial_menu a {
  display: block !important;
  padding: 0 8px !important;
  height: 28px !important;
  line-height: 28px !important;
  color: #2f4768 !important;
}

body#nv_forum #newspecial_menu a:hover {
  color: #1d2f47 !important;
  background: #e9f3ff !important;
  text-decoration: none !important;
}

body#nv_forum #newspecial_menu li:hover:before {
  color: #2f78be !important;
}

body#nv_forum #ct .bm_h {
  border-bottom: 1px solid #e6eff9 !important;
  background: linear-gradient(180deg, #fafdff 0%, #f2f8ff 100%) !important;
  padding: 0 16px !important;
  min-height: 50px !important;
  line-height: 50px !important;
}

body#nv_forum #ct .bm_h h2,
body#nv_forum #ct .bm_h h2 a {
  color: #2f4768 !important;
  font-size: 18px !important;
  line-height: 50px !important;
  margin: 0 !important;
}

body#nv_forum #ct .bm_h h3 {
  margin: 0 !important;
  min-height: 50px !important;
  line-height: 50px !important;
  font-size: 18px !important;
  color: #2f4768 !important;
}

body#nv_forum #ct .bm_h h3 strong a {
  color: #2f4768 !important;
}

body#nv_forum #ct .bm_h h3 .xs1 {
  color: #5f7796 !important;
  font-size: 14px !important;
  margin-left: 6px !important;
}

body#nv_forum #ct .bm_c {
  background: transparent !important;
  padding: 12px 14px !important;
}

body#nv_forum #ct .mn > .fl.bm > .bm.bmw > .bm_c {
  padding: 0 !important;
}

body#nv_forum #ct .bm_c > .bm {
  margin-bottom: 0 !important;
}

body#nv_forum #ct .fl_tb tr:hover {
  background: #f7fbff !important;
}

body#nv_forum #ct .fl_tb tr + tr td {
  border-top: 1px dashed #e9f0f9 !important;
}

body#nv_forum #ct .fl_tb td {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

body#nv_forum #ct .fl_icn {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

body#nv_forum #ct .fl_icn_g {
  margin-left: 12px !important;
  width: 34px !important;
}

body#nv_forum #ct .fl_g dl {
  margin-left: 46px !important;
  padding-left: 12px !important;
}

body#nv_forum #ct .fl_tb dl {
  line-height: 1.8 !important;
}

body#nv_forum #ct .fl_tb dt {
  margin-bottom: 4px !important;
}

body#nv_forum #ct .fl_tb dd {
  line-height: 24px !important;
}

body#nv_forum #online #onlinelist {
  padding: 10px 16px 14px !important;
}

body#nv_forum #online #onlinelist dt {
  margin: 0 !important;
  padding: 8px 0 12px !important;
  line-height: 24px !important;
}

body#nv_forum #online #onlinelist dd {
  padding: 10px 0 2px !important;
}

body#nv_forum #online #onlinelist li {
  margin: 0 12px 10px 0 !important;
  line-height: 26px !important;
}

body#nv_forum .lk .bm_c {
  padding: 14px 16px 16px !important;
}

body#nv_forum .lk .m li,
body#nv_forum .lk .x li {
  line-height: 28px !important;
}

/* forumdisplay readability */
body#nv_forum .tl .th,
body#nv_forum .tl .th th,
body#nv_forum .tl .th td {
  color: #3e5574 !important;
}

body#nv_forum .tl .th a,
body#nv_forum .tl .th a:visited {
  color: #2f78be !important;
}

body#nv_forum .tps a,
body#nv_forum .tps a:visited {
  color: #405a78 !important;
}

body#nv_forum .tps a:hover {
  color: #1677ff !important;
  background: #edf6ff !important;
  border-radius: 4px !important;
}

body#nv_forum .pn:hover,
body#nv_forum .pnc:hover,
body#nv_forum a.pn:hover,
body#nv_forum a.pnc:hover,
body#nv_forum .pn:hover span,
body#nv_forum .pnc:hover span,
body#nv_forum a.pn:hover span,
body#nv_forum a.pnc:hover span {
  color: #fff !important;
}

body#nv_forum .tl th em,
body#nv_forum .tl th em a {
  color: #2f78be !important;
}

body#nv_forum .tl td em,
body#nv_forum .tl td em a,
body#nv_forum .xg1 {
  color: #617997 !important;
}

#ft {
  width: 100% !important;
  max-width: none !important;
  margin-top: 24px !important;
  padding: 22px 0 24px !important;
  border-top: 0 !important;
  background: linear-gradient(180deg, #1f3045 0%, #24364e 100%) !important;
  color: #d4e7ff !important;
}

#ft #flk,
#ft #frt {
  float: none !important;
  width: 1200px !important;
  max-width: calc(100% - 32px) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

#ft #frt {
  margin-top: 4px !important;
}

#ft a,
#ft p,
#ft strong,
#ft em,
#ft .xs0 {
  color: #d4e7ff !important;
}

#ft .pipe {
  color: rgba(212, 231, 255, 0.45) !important;
}

@media (max-width: 1024px) {
  #hd .wp {
    padding: 0 !important;
  }

  #hd .hdc {
    display: block !important;
    padding: 14px 12px 10px !important;
  }

  #hd h2 {
    margin-bottom: 10px !important;
  }

  .gtafb-header-search {
    margin-bottom: 10px !important;
  }

  .gtafb-search-form {
    gap: 8px !important;
  }

  .gtafb-search-input {
    height: 42px !important;
  }

  .gtafb-search-btn {
    min-width: 92px !important;
    height: 42px !important;
  }

  .gtafb-header-actions {
    justify-content: flex-start !important;
    margin-bottom: 8px !important;
  }

  #nv ul,
  #nv ul li {
    height: 46px !important;
    line-height: 46px !important;
  }

  #nv li {
    float: none !important;
    border-top: 0 !important;
  }

  body.pg_space #ct.ct2_a,
  body.pg_spacecp #ct.ct2_a {
    display: block !important;
    overflow: visible !important;
  }

  body.pg_space #ct.ct2_a .appl,
  body.pg_spacecp #ct.ct2_a .appl {
    width: auto !important;
    flex: 0 0 auto !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e6eef8 !important;
  }

  body.pg_space #ct.ct2_a .mn,
  body.pg_spacecp #ct.ct2_a .mn {
    width: auto !important;
    margin: 0 !important;
    padding: 12px !important;
  }

  body#nv_forum #pt.bm {
    min-height: 42px !important;
    padding: 0 12px !important;
  }

  body#nv_forum #pt.bm .z,
  body#nv_forum #pt.bm .y {
    line-height: 40px !important;
  }

  body#nv_forum #chart.bm {
    padding: 10px 12px !important;
  }

  body#nv_forum #chart .chart {
    font-size: 14px !important;
    line-height: 28px !important;
    min-height: 28px !important;
  }

  body#nv_forum #ct .bm_h {
    min-height: 44px !important;
    line-height: 44px !important;
    padding: 0 12px !important;
  }

  body#nv_forum #ct .bm_h h2,
  body#nv_forum #ct .bm_h h2 a,
  body#nv_forum #ct .bm_h h3 {
    line-height: 44px !important;
    min-height: 44px !important;
    font-size: 16px !important;
  }

  body#nv_forum #ct .bm_c {
    padding: 10px 12px !important;
  }

  #ft #flk,
  #ft #frt {
    width: auto !important;
    max-width: calc(100% - 20px) !important;
  }

  body#nv_plugin #ct.ct2 > .mn:first-child:not(:last-child),
  body#nv_plugin #ct.ct2 > .sd:last-child {
    float: none !important;
    width: auto !important;
    margin: 0 0 12px 0 !important;
  }
}
