/******** Load style ********/

/* icons */
@import url('https://forumstatic.ru/files/001c/30/52/21092.css?v=2');

/* fonts */
@import url('https://forumstatic.ru/files/001c/6f/83/56658.css?v=5');

/* root */
@import url('https://forumstatic.ru/files/001c/6f/83/71201.css?v=15');

/* designs */
@import url('https://forumstatic.ru/files/001c/6f/83/30381.css?v=29');

/* themes */
@import url('https://forumstatic.ru/files/001c/6f/83/75022.css');

/* login */
@import url('https://forumstatic.ru/files/001c/6f/83/28930.css?v=2');

/* change font */
@import url('https://forumstatic.ru/files/001c/6f/83/61055.css?v=10');

/* whisper */
@import url('https://forumstatic.ru/files/001c/6f/83/69700.css');

/* notifications */
@import url('https://forumstatic.ru/files/001c/6f/83/69133.css?v=48');

@import url(style_cs.1752474025.css);



/******** Main ********/

#pun_wrap.closed {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 1px);
}

#pun {
  position: relative;
  max-width: 1050px;
  margin: 382px auto 29px;
  padding: 64px 30px 5px;
  box-sizing: border-box;
}

#pun::before,
#pun::after {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  max-width: 1050px;
  height: 100%;

  pointer-events: none;
}

#pun::before {
  background: var(--bg-nav);

  opacity: .75;
  z-index: -1;
}

#pun::after {
  background: var(--noise);
  background-repeat: repeat;

  opacity: .5;
  mix-blend-mode: color-burn;
  z-index: -1;
}

#pun_wrap.closed #pun {
  margin: 0;
}

/* background */
.main_wrapper {
  position: fixed;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background-image: var(--bg-image);
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  pointer-events: none;
  z-index: -2;
}



/******** Navs ********/

#pun-navlinks.scroll.sticky,
#pun-ulinks.scroll.sticky {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  max-width: 1050px;

  margin: 0 auto;
  z-index: 99999;
}

#pun-navlinks ul,
#pun-ulinks ul {
  position: relative;

  display: flex;
  justify-content: center;
  gap: 15px;
}

#pun-navlinks a:hover,
#pun-ulinks a:hover {
  color: var(--accent-1);
}

/* top */

#pun-navlinks {
  position: relative;

  height: 64px;
  font-size: var(--size-19);
  font-family: var(--accent-font-1);
  text-transform: uppercase;
  font-family: var(--accent-font-4);

  margin-top: -64px;
  padding: 12px 0 15px;

  box-sizing: border-box;

  z-index: 2;
}

#pun-navlinks.active {
  z-index: 100;
}

#pun-navlinks.scroll.sticky {
  padding-top: 13px;
}

#pun-navlinks::before,
#pun-navlinks::after {
  position: absolute;
  content: '';

  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  max-width: 990px;
  height: 62px;

  margin: 0 auto;

  opacity: 0;
  pointer-events: none;
}

#pun-navlinks::before {
  background: var(--bg-nav);
  z-index: -1;
}

#pun-navlinks::after {
  background: var(--noise);
  background-repeat: repeat;

  mix-blend-mode: color-burn;
  pointer-events: none;
  z-index: 0;
}

#pun-navlinks.sticky::before {
  opacity: .75;
}

#pun-navlinks.sticky::after {
  opacity: .5;
}

#pun-navlinks ul::after {
  position: absolute;
  content: '';

  top: -16px;
  left: 0;

  width: 100%;
  max-width: 1050px;
  height: 71px;
  background: var(--nav--overlay);
  background-size: contain;

  pointer-events: none;
  z-index: 0;
}

#pun-navlinks.scroll ul::after {
  display: none;
}

#pun-navlinks a {
  color: var(--forum-new);
}

/* bottom */

#pun-ulinks {
  position: relative;
  top: -29px;

  text-transform: lowercase;

  margin-bottom: -16px;
  z-index: 2;
}

#pun-ulinks.scroll.sticky {
  top: 36px;
}

#pun-ulinks a {
  color: var(--light-gray);
}



/******** Announcement ********/

#pun-status {
  padding-top: 22px;
}

#pun-announcement {
  height: 0;
}

.status_userava {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status_userava .avatar_wrapper {
  width: 45px;
  height: 45px;
  border: 1px solid var(--accent-2);

  padding: 4px;

  box-sizing: border-box;
  cursor: pointer;
}

.status_userava img {
  display: block;

  width: 35px;
  height: 35px;

  border-radius: 50%;

  pointer-events: none;
  object-fit: cover;
  transition: var(--transition);
}

.status_userava .avatar_wrapper:hover img {
  transform: scale(1.1);
}

.status_userava .item2 {
  display: block;
  text-transform: lowercase;
  margin-top: 4px;
}



/******** Category ********/

.category {
  position: relative;
  margin: 0 0 14px;
}

.category .container {
  max-height: 1000px;
  transition: var(--transition);
}

.category.category-1.hide .new_main_header::before,
.category.hide + .category.hide:not(:nth-child(odd)):not(.category-7) .new_main_header::before {
  display: none;
}

.category.hide .container {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.category.hide  .new_main_header::after {
  border-radius: 0;
}

.category.category-1 {
  z-index: 1;
}

.category.category-1.hide {
  z-index: 7;
}

.category.category-2 {
  z-index: 2;
}

.category.category-2.hide {
  z-index: 6;
}

.category.category-3 {
  z-index: 3;
}

.category.category-3.hide {
  z-index: 5;
}

.category.category-4 {
  z-index: 4;
}

.category.category-5 {
  z-index: 5;
}

.category.category-5.hide {
  z-index: 3;
}

.category.category-6 {
  z-index: 6;
}

.category.category-2.hide {
  z-index: 2;
}

.category.category-7 {
  z-index: 7;
}

.category.category-7.hide {
  z-index: 1;
}

.new_main_header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;

  max-width: 946px;
  width: 100%;

  padding: 8px 0 5px 55px;

  box-sizing: border-box;
  cursor: pointer;
  transition: var(--transition);
  z-index: 0;
}

#pun-stats .new_main_header {
  cursor: default;
  padding: 8px 90px 4px 0;
  justify-content: flex-end;
}

.new_main_header * {
  pointer-events: none;
}

.new_main_header::before {
  position: absolute;
  content: '';

  top: -36px;
  left: -22px;

  width: calc(100% + 44px);
  max-width: 990px;
  height: 140px;
  background: var(--category-img-2) no-repeat;
  background-size: contain;

  z-index: -2;
  pointer-events: none;
}

.new_main_header::after {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  max-width: 873px;
  height: 50px;
  background: var(--category-back-img) no-repeat center;
  background-size: cover;

  border-radius: 0;

  pointer-events: none;
  overflow: hidden;
  transition: var(--transition);
  z-index: -2;
}

#pun-stats .new_main_header::after {
  border-radius: 0;
  left: auto;
  right: 0;
}

#pun-stats .new_main_header::before {
  top: -53px;
  background: var(--category-img-1) no-repeat;
  background-size: contain;
}

.category:nth-child(odd) .new_main_header::before {
  top: -80px;
  background: var(--category-img) no-repeat;
  background-size: contain;
}

.new_main_header h2 {
  position: relative;
  font-family: var(--accent-font-1);
  font-size: var(--size-32);
  color: var(--bg-main);
  text-transform: uppercase;
}

.animated_text {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

#pun-viewtopic .new_main_header {
  cursor: default;
}

#pun-viewtopic .new_main_header::before {
  top: -80px;
  background: var(--category-img) no-repeat;
  background-size: contain;
}

#pun-stats .new_main_header h2 {
  order: 2;
}

.new_main_header .description_category {
  position: relative;
  top: -9px;

  max-width: 469px;

  font-size: var(--size-9);
  line-height: 1.2;
  color: var(--bg-main);

  filter: brightness(0.99);
  transition: var(--transition-2);
}

#pun-stats .new_main_header .description_category {
  order: 1;
  text-align: right;
}

.category:nth-child(odd) .new_main_header {
  padding-left: 20px;
}

.category:nth-child(odd) .new_main_header h2 {
  order: 2;
}

.category:nth-child(odd) .description_category {
  order: 3;
}

.category:nth-child(odd) .new_main_header svg {
  order: 1;
}

.new_main_header svg {
  width: 20px;
  margin: -22px 36px 0 auto;
  transition: var(--transition);
}

.new_main_header svg path {
  fill: var(--description);
  stroke: var(--description);
  transition: var(--transition);
}

.category.hide:nth-child(odd) .new_main_header svg,
.category:nth-child(odd) .new_main_header svg {
  margin: -2px 0 0 0;
}

.new_main_header:hover svg path {
  fill: var(--link-hover-color);
  stroke: var(--link-hover-color);
}

.category:nth-child(odd) .new_main_header svg path {
  fill: var(--bg-main);
  stroke: var(--bg-main);
}

.category:nth-child(odd) .new_main_header:hover svg path {
  fill: var(--accent-1);
  stroke: var(--accent-1);
}

.category .links {
  position: relative;

  width: 136px;

  border-bottom: 1px dashed var(--forum);
  border-top: 1px solid var(--forum);

  padding: 25px 0 10px 15px;
  box-sizing: border-box;
}

.category .links::before,
.category .links::after {
  position: absolute;
  content: '';

  top: 0;
  right: 0;

  width: 100%;
  height: calc(100% + 7px);

  z-index: -1;
}

.category .links::before {
  background: var(--bg-body);
}

.category .links::after {
  background: var(--noise);
  mix-blend-mode: hard-light;
  opacity: .3;
}

.category .links .banners a,
.category .links .banners img {
  position: relative;
  display: block;
  width: max-content;
  border-radius: 8px;
}

.category .links .banners img {
  pointer-events: none;
  transition: var(--transition);
}

.category .links .banners a::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: var(--bg-main);

  border-radius: 8px;

  transition: var(--transition);
  mix-blend-mode: color;
  z-index: 1;
}

.category .links .banners a:hover::before {
  opacity: 0;
}

.category table,
.category td {
  display: block;
}

.category tbody {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;

  margin-top: -16px;

  z-index: 1;
}

.category tbody::after,
.category tbody::before {
  position: absolute;
  content: '';

  top: 16px;
  right: -7px;

  width: calc(100% - 122px);
  height: calc(100% - 9px);
  border-radius: 0;

  z-index: -1;
}

.category tbody::before {
  background: var(--bg-body);
}

.category tbody::after {
  background: var(--noise);
  opacity: .3;
  mix-blend-mode: hard-light;
}

.category tbody.full::before,
.category tbody.full::after {
  width: calc(100% + 7px);
}

.category tbody.full:has(.theme_block:last-child)::before,
.category tbody.full:has(.theme_block:last-child)::after {
  border-radius: 0;
}

.category tbody .theme_block {
  display: flex;
  justify-content: flex-end;
}

.category table tr {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: calc(100% - 136px);
  background: var(--forum);

  padding: 20px;
  box-sizing: border-box;
}

.category table tr.inew {
  background: var(--forum-new);
}

.category tbody .theme_block:first-child .links::after,
.category tbody .theme_block:first-child .links::before {
  top: 16px;
  height: calc(100% - 9px);
}

.category tbody .theme_block:first-child .links {
  border-top: none;
}

.category tbody .theme_block:last-child .links::after,
.category tbody .theme_block:last-child .links::before {
  border-radius: 0;
}

.category table tr .tcl {
  width: 57%;
}

.forum table tr .tcr,
.category table tr .tcr {
  display: flex;
  gap: 10px;
  align-items: center;

  width: 38%;
}

.forum table tr .tcr .last_theme,
.category table tr .tcr .last_theme {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.forum table tr .tcr .last_theme {
  align-items: flex-start;
}

.category table tr .tcr .lastpost-link {
  font-weight: 500;
  line-height: .9;
  font-size: var(--size-13);
  text-transform: lowercase;
}

.category table tr .tcr .lastpost {
  display: flex;
  flex-direction: column;
  gap: 1px;

  font-size: var(--size-10);
}

.category table h3 a {
  position: relative;

  font-size: var(--size-20);
  font-family: var(--accent-font-4);
  font-weight: 400;
  color: var(--link-color);
}

.category table h3 a::before,
.category table h3 a::after {
  position: absolute;
  content: '';

  bottom: 0;
  right: -6px;

  width: 97%;
  height: 12px;
  background: var(--theme-before);

  z-index: -1;
  transition: var(--transition-2);
}

.category table h3 a::after {
  width: 0;
}

.category table h3 a:hover::after {
  left: 6px;
  right: auto;

  width: 100%;
  background: var(--accent-1-light);
}

.category table .inew h3 a::before {
  background: var(--accent-1-light);
}

.category table .inew h3 a:hover::after {
  background: var(--accent-2-light);
}

.category table .description__small p:not(.more) {
  line-height: 1.3;
  font-size: var(--size-10);

  margin-bottom: 0;
}

.category table .description__small .more {
  display: flex;
  align-items: center;
  gap: 12px;

  text-transform: uppercase;
  letter-spacing: 1px;

  margin: 5px 0 -2px;
}

.category table .description__small .more .more_text {
  font-size: var(--size-10);
  font-family: var(--button-font);
  color: var(--more-info);

  border-radius: 15px;
  background: var(--more);
  padding: 2px 10px 3px;
}

.category table .inew .description__small .more .more_text {
  background: var(--more-new);
}

.category table .description__small .more .info_stroke {
  display: flex;
  gap: 7px;

  font-size: var(--size-8);

  padding-top: 1px;
  opacity: .7;
}

.category table .mainLink,
.category table .mainLink ul {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 4px;
}

.category table .mainLink li,
.category table .mainLink li a {
  display: block;
}

.category table .mainLink li a {
  font-family: var(--button-font);
  font-size: var(--size-10);
  letter-spacing: 1px;
  color: var(--button-txt);
  text-transform: uppercase;
  text-align: center;

  width: max-content;
  background: var(--accent-2);

  border-radius: 20px;
  padding: 3px 12px 4px;

  box-sizing: border-box;
}

.category table .mainLink li a:hover {
  background: var(--accent-1);
}

.category table .tclcon {
  display: flex;
  flex-direction: column;
}

.category table .tclcon h3 {
  order: 1;
}

.category table .tclcon .description {
  order: 2;
}

.category table .tclcon .subforums {
  display: flex;
  flex-wrap: wrap;
  order: 3;

  font-family: var(--button-font);
  text-transform: uppercase;

  margin-top: 8px;
}

.category table .tclcon .subforums + .subforums {
  margin-top: -1px;
}

.category table .tclcon .subforums em {
  font-style: normal;
}

.category table .tclcon .subforums a {
  display: inline-block;

  font-size: var(--size-10);
  font-family: var(--button-font);
  letter-spacing: 1px;
  text-transform: uppercase;

  border: 1px solid var(--light-gray);
  border-right: none;

  padding: 2px 7px 3px;
}

.category table .tclcon .subforums a:first-child {
  border-radius: 14px 0 0 14px;
}

.category table .tclcon .subforums a:first-child:last-child {
  border-radius: 14px;
}

.category table .tclcon .subforums a:last-child {
  border-radius: 0 14px 14px 0;
  border-right: 1px solid var(--light-gray);
}

.category table .tclcon .subforums a:hover {
  color: var(--link-hover-color);
}

.category .theme_block .banners {
  display: flex;
  flex-direction: column;
  gap: 5px;

  padding-right: 20px;
  padding-left: 6px;
}



/******** Statistics ********/

.statscon {
  background: var(--bg-body);
  padding: 7px;
}

.statscon .container {
  display: flex;
}

/* users */

.statscon .stars {
  width: calc(100% - 136px);
  background: var(--forum);

  border-radius: 0;

  padding: 20px;
  margin-top: -24px;
}

.statscon .stars .item5 {
  text-transform: lowercase;
  margin: 15px 0;
}

.statscon .stars a {
  font-weight: 500;
}

.statscon .stars span a {
  font-weight: 400;
}

/* all info */

.statscon .users_online {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 4px;

  width: 136px;
  border-bottom: 1px dashed var(--forum);
  padding: 3px 15px 10px 0;
}

/* main */

.statscon .stars .item4,
.statscon .users_online li {
  display: inline-block;

  font-size: var(--size-10);
  font-family: var(--button-font);
  text-transform: uppercase;
  letter-spacing: 1px;

  border: 1px solid var(--light-gray);
  border-radius: 14px;

  padding: 1px 11px 2px;
}

.statscon .stars .item4 strong,
.statscon .users_online li strong {
  font-weight: 400;
}

.statscon .users_online li span,
.statscon .stars .item4 span {
  display: inline-block;
  padding-top: 2px;
  margin-right: 1px;
}

.statscon .users_online li strong,
.statscon .stars .item4 a {
  font-family: var(--accent-font-4);
  font-size: var(--size-12);
  letter-spacing: 1px;
  line-height: .9;
}



/******** Rusff ********/

#pun-about {
  position: absolute;

  left: 0;
  right: 0;
  bottom: -23px;

  background: none;

  text-align: center;
  font-weight: 300;
  text-transform: uppercase;
  font-size: var(--size-9);
  letter-spacing: 1px;
}

#pun-about a {
  color: var(--bg-main);
  opacity: .4;
}

#pun-about a:hover {
  color: var(--accent-1);
  opacity: 1;
}



/******** Footer ********/

.footer {
  position: relative;

  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;

  color: var(--forum);

  z-index: -1;
}

/* description */

.footer h3 {
  font-family: var(--accent-font-1);
  font-size: var(--size-32);

  margin-top: -16px;
}

/* created */

.footer .created {
  text-align: right;
  text-transform: uppercase;
  font-size: var(--size-8);
  letter-spacing: 1px;

  margin: 0;
}

/* banners */

.footer__banners {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;

  max-width: 650px;
  height: 107px;

  margin-top: 5px;

  overflow: auto;
}

.footer__banners a,
.footer__banners img {
  display: block;
  height: max-content;
  border-radius: 8px;
  transition: var(--transition);
}

.footer__banners img {
  opacity: .5;
  pointer-events: none;
}

.footer__banners a:hover img {
  opacity: 1;
}



/******** Forum/New themes/Messages ********/

#pun-modviewforum #pun-main table,
#pun-viewforum #pun-main table,
#pun-searchtopics #pun-main table,
#pun-messages #pun-main table {
  position: relative;

  width: calc(100% - 7px);
  margin: 10px 0 10px auto;
}

#pun-modviewforum #pun-main table::before,
#pun-viewforum #pun-main table::before,
#pun-searchtopics #pun-main table::before,
#pun-messages #pun-main table::before,

#pun-modviewforum #pun-main table::after,
#pun-viewforum #pun-main table::after,
#pun-searchtopics #pun-main table::after,
#pun-messages #pun-main table::after {
  position: absolute;
  content: '';

  top: 16px;
  left: -7px;

  width: calc(100% + 14px);
  height: calc(100% - 19px);
  border-radius: 0;

  z-index: -1;
}

#pun-modviewforum #pun-main table::before,
#pun-viewforum #pun-main table::before,
#pun-searchtopics #pun-main table::before,
#pun-messages #pun-main table::before {
  background: var(--bg-body);
}

#pun-modviewforum #pun-main table::after,
#pun-viewforum #pun-main table::after,
#pun-searchtopics #pun-main table::after,
#pun-messages #pun-main table::after {
  background: var(--noise);
  opacity: .3;
  mix-blend-mode: hard-light;
}

#pun-modviewforum #pun-main table,
#pun-viewforum #pun-main table,
#pun-searchtopics #pun-main table,
#pun-messages #pun-main table,

#pun-modviewforum #pun-main thead,
#pun-viewforum #pun-main thead,
#pun-searchtopics #pun-main thead,
#pun-messages #pun-main thead,

#pun-modviewforum #pun-main tbody,
#pun-viewforum #pun-main tbody,
#pun-searchtopics #pun-main tbody,
#pun-messages #pun-main tbody,

#pun-messages #pun-main td {
  display: block;
}

#pun-modviewforum #pun-main thead,
#pun-viewforum #pun-main thead,
#pun-searchtopics #pun-main thead,
#pun-messages #pun-main thead {
  position: relative;
  left: -7px;

  width: calc(100% + 14px);
  background: var(--category-back-img) no-repeat center;
  background-size: cover;

  border-radius: 0;

  text-transform: lowercase;
  color: var(--bg-main);
  font-weight: 500;
  font-size: var(--size-11);

  padding: 0 7px;
  box-sizing: border-box;
}

#pun-modviewforum #pun-main tbody,
#pun-viewforum #pun-main tbody,
#pun-searchtopics #pun-main tbody,
#pun-messages #pun-main tbody {
  position: relative;
  top: -10px;

  display: flex;
  flex-direction: column;
}

#pun-modviewforum #pun-main tr,
#pun-viewforum #pun-main tr,
#pun-searchtopics #pun-main tr,
#pun-messages #pun-main tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  background: var(--forum);

  padding: 5px 20px;
}

#pun-modviewforum #pun-main tr:not(:last-child),
#pun-viewforum #pun-main tr:not(:last-child),
#pun-searchtopics #pun-main tr:not(:last-child),
#pun-messages #pun-main tr:not(:last-child) {
  border-bottom: 1px solid var(--bg-body);
}

#pun-modviewforum #pun-main tr:first-child,
#pun-viewforum #pun-main tr:first-child,
#pun-searchtopics #pun-main tr:first-child,
#pun-messages #pun-main tr:first-child {
  padding-top: 20px;
}

#pun-modviewforum #pun-main tbody tr:first-child,
#pun-viewforum #pun-main tbody tr:first-child,
#pun-searchtopics #pun-main tbody tr:first-child,
#pun-messages #pun-main tbody tr:first-child {
  border-radius: 0;
  padding-top: 5px;
}

#pun-modviewforum #pun-main tr:last-child,
#pun-viewforum #pun-main tr:last-child,
#pun-searchtopics #pun-main tr:last-child,
#pun-messages #pun-main tr:last-child {
  border-radius: 0;
}

#pun-modviewforum #pun-main thead tr:first-child:last-child,
#pun-viewforum #pun-main thead tr:first-child:last-child,
#pun-searchtopics #pun-main thead tr:first-child:last-child,
#pun-messages #pun-main thead tr:first-child:last-child {
  background: none;

  padding-top: 10px;
  padding-bottom: 19px;
}

#pun-modviewforum .tcl,
#pun-viewforum .tcl,
#pun-searchtopics .tcl,
#pun-messages .tcl {
  width: 45%;

  text-align: left;
  text-transform: lowercase;
  font-size: var(--size-13);
}

#pun-modviewforum .tcl .newtext .bracket,
#pun-viewforum .tcl .newtext .bracket,
#pun-searchtopics .tcl .newtext .bracket,
#pun-messages .tcl .newtext .bracket {
  display: none;
}

#pun-modviewforum .tcl .acchide + strong,
#pun-viewforum .tcl .acchide + strong,
#pun-searchtopics .tcl .acchide + strong,
#pun-messages .tcl .acchide + strong {
  font-weight: 500;
}

#pun-modviewforum .inew .tcl .acchide + strong a,
#pun-viewforum .inew .tcl .acchide + strong a,
#pun-searchtopics .inew .tcl .acchide + strong a,
#pun-messages .inew .tcl a {
  position: relative;
  font-weight: 500;
}

#pun-modviewforum .inew .tcl .acchide + strong a:hover,
#pun-viewforum .inew .tcl .acchide + strong a:hover,
#pun-searchtopics .inew .tcl .acchide + strong a:hover,
#pun-messages .inew .tcl a:hover {
  color: var(--link-color);
}

#pun-modviewforum .inew .tcl .acchide + strong a::before,
#pun-viewforum .inew .tcl .acchide + strong a::before,
#pun-searchtopics .inew .tcl .acchide + strong a::before,
#pun-messages .inew .tcl a::before,

#pun-modviewforum .inew .tcl .acchide + strong a::after,
#pun-viewforum .inew .tcl .acchide + strong a::after,
#pun-searchtopics .inew .tcl .acchide + strong a::after,
#pun-messages .inew .tcl a::after {
  position: absolute;
  content: '';

  bottom: -2px;
  right: -2px;

  width: 97%;
  height: 8px;
  background: var(--theme-before);

  z-index: -1;
  transition: var(--transition-2);
}

#pun-modviewforum .inew .tcl .acchide + strong a::after,
#pun-viewforum .inew .tcl .acchide + strong a::after,
#pun-searchtopics .inew .tcl .acchide + strong a::after,
#pun-messages .inew .tcl a::after {
  width: 0;
}

#pun-modviewforum .inew .tcl .acchide + strong a:hover::after,
#pun-viewforum .inew .tcl .acchide + strong a:hover::after,
#pun-searchtopics .inew .tcl .acchide + strong a:hover::after,
#pun-messages .inew .tcl a:hover::after {
  left: 2px;
  right: auto;
  width: 97%;
  background: var(--accent-1-light);
}

#pun-messages .tcl.pmtcl1 {
  width: 55% !important;
}

#pun-modviewforum .byuser-username,
#pun-viewforum .byuser-username,
#pun-searchtopics .byuser-username,
#pun-messages .byuser-username {
  opacity: .9;
}

#pun-modviewforum .tcr,
#pun-viewforum .tcr,
#pun-searchtopics .tcr,
#pun-messages .tcr {
  width: 25%;

  text-align: right;
  text-transform: lowercase;
  font-size: var(--size-13);
}

#pun-modviewforum .inew .tcr a,
#pun-viewforum .inew .tcr a,
#pun-searchtopics .inew .tcr a,
#pun-messages .inew .tcr a {
  font-weight: 500;
}

#pun-modviewforum .tc2,
#pun-viewforum .tc2,
#pun-searchtopics .tc2,
#pun-messages .tc2 {
  width: 20%;

  text-transform: lowercase;
  text-align: center;
}

#pun-searchtopics .tc2 .info_forum {
  display: inline-block;
  background: var(--more);

  font-size: var(--size-10);
  font-family: var(--button-font);
  color: var(--more-info);
  text-transform: uppercase;
  letter-spacing: 1px;

  border-radius: 15px;

  margin-bottom: 2px;
  padding: 2px 10px 3px;
}

#pun-messages #pun-main td.tc2.pmtc22 {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 28% !important;
}

#pun-messages .tc2.pmtc24 {
  width: 2% !important;
  padding: 1px !important;
}

#pun-messages .tc2.pmtc24 input {
  margin: 0;
}

#pun-modviewforum .tc3,
#pun-viewforum .tc3,
#pun-searchtopics .tc3,
#pun-messages .tc3 {
  width: 10%;
  text-align: center;
}

#pun-messages .tc3.pmtc33 {
  width: 15% !important;
}

.pagelink {
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: lowercase;
}



/******** Pages/Top-bottom links ********/

.modmenu .container,
.linkst,
.linksb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;

  text-transform: lowercase;
}

#pun-viewtopic .linkst {
  padding-right: 60px;
}

#pun-viewtopic .linksb {
  flex-wrap: wrap;
  margin-bottom: 40px;
}

#pun-viewtopic .linksb .pagelink {
  order: 1;
}

#pun-viewtopic .linksb .postlink {
  order: 2;
}

#pun-viewtopic .linksb .subscribelink {
  order: 3;
  width: 100%;
  text-align: right;
  margin-top: 10px;
}

#pun-modviewforum .modmenu .container {
  justify-content: flex-end;
}

.modmenu#topic-users-in .container {
  display: block;
  margin: 20px 0;
}

#pun-modviewforum .modmenu .container strong {
  order: inherit;
  width: 100%;
  text-align: right;
  margin-bottom: 5px;
}

.linksb {
  margin-bottom: 10px;
}

#pun-main .postlink {
  display: flex;
  align-items: center;
  gap: 5px;
}

#pun-main .postlink.long {
  width: auto;
}

.modmenu strong {
  order: 2;
}

.modmenu span {
  order: 1;
}


/* pages */

.pagelink .pages,
.pagelink .page-container {
  display: flex;
  align-items: center;
  gap: 3px;
}

#pun-main .new-topic {
  padding-right: 0;
}

#pun-main .postlink a,
#pun-modviewforum .tcl .newtext a,
#pun-viewforum .tcl .newtext a,
#pun-searchtopics .tcl .newtext a,
#pun-messages .tcl .newtext a,
.modmenu strong a,
.new-poll a,
.new-topic a,
.pagelink strong,
.pagelink a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 23px;
  min-width: 23px;

  font-size: var(--size-11);
  font-family: var(--button-font);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;

  border: 1px solid var(--light-gray);
  border-radius: 8px;

  padding: 2px 2px 4px 4px;
  box-sizing: border-box;
}

.modmenu strong a,
#pun-main .postlink a,
#pun-modviewforum .tcl .newtext a,
#pun-viewforum .tcl .newtext a,
#pun-searchtopics .tcl .newtext a,
#pun-messages .tcl .newtext a {
  display: inline-block;
  min-height: auto;
  border-radius: 10px;
  padding: 2px 8px 3px;
}

.pagelink strong {
  background: var(--accent-2);
  color: var(--button-txt);
  font-weight: 400;
  border-color: var(--accent-2);
}

.linkst div#pun-live-rusff {
  text-transform: lowercase;
}



/******** Themes ********/

#pun-viewtopic div#pun-live-rusff {
  height: 20px;
  text-transform: lowercase;
  margin: 2px 60px 5px auto;
  z-index: 9999;
}

#pun-viewtopic .cool1 {
  background: var(--accent-second);

  color: var(--forum);
  font-size: var(--size-11);
  font-family: var(--main-font);


  border-right: none;
  border-radius: 0;

  margin-right: 0;
  padding: 1px 5px 2px 8px;

  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -khtml-box-shadow: none;
  text-shadow: none;
}

#pun-viewtopic .cool2 {
  width: 17px;
  height: 17px;
  background: var(--category);

  color: var(--forum);
  font-size: var(--size-11);
  font-family: var(--main-font);
  text-align: center;

  border: none;

  margin-right: 0;
  padding-top: 2px;
}

#pun-viewtopic div#pun-live-rusff-peoples {
  top: 22px;
  background: var(--category);
  color: var(--forum);
  border-radius: 0;
}

#pun-viewtopic div.people-head {
  background: var(--accent-second);
  font-size: var(--size-11);
  border-bottom: none;
  border-radius: 0;
}

#pun-viewtopic .cool3 {
  height: 17px;
  background: var(--accent-second);

  color: var(--forum);
  font-size: var(--size-11);
  font-family: var(--main-font);
  font-weight: 400;

  border: none;
  border-left: none;
  border-radius: 0;

  cursor: pointer;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -khtml-box-shadow: none;
  text-shadow: none;

  padding: 1px 5px 1px 5px;
}

.post .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 7px;

  background: var(--bg-body);

  border-radius: 0;

  padding: 0;
  margin-top: -27px;
  margin-bottom: 7px;
}

.post .container .container {
  display: inline-block;
  background: none;

  padding: 0 !important;
  margin: 0;
}


/*** profile ***/

.post-author {
  position: relative;
  top: 7px;

  width: 223px;

  text-align: center;
  color: var(--bg-main);

  margin-bottom: 7px;
  padding-left: 7px;

  box-sizing: border-box;
}

.post-author ul {
  background: var(--profile);
  background-size: cover;
}

.post[data-group-id="3"] .post-author ul {
  padding-bottom: 15px;
}

.post-author ul li {
  width: calc(100% - 20px);
  margin: 0 auto;
}

/* name */
.post-author ul li.pa-author {
  width: 100%;
}

.pa-author {
  background: var(--black-20);

  font-size: var(--size-20);
  font-family: var(--accent-font-3);
  color: var(--forum);
  text-transform: uppercase;

  border-radius: 0;
  padding: 5px 10px;

  box-sizing: border-box;
}

/* status */
.pa-title {
  font-size: var(--size-10);
  text-transform: lowercase;
  font-weight: 300;

  padding: 5px 0;
}

/* avatar */
.pa-avatar {
  min-width: 180px;
  background: var(--black-20);

  padding: 8px;
  margin: 0 auto;

  box-sizing: border-box;
}

.pa-avatar img {
  display: block;
  transition: var(--transition);
  pointer-events: none;
}

.pa-avatar .avatar_wrapper:hover img {
  transform: scale(1.1);
}

.pa-avatar .avatar_wrapper {
  overflow: hidden;
}

  /* lz */
.pa-fld1 {
  min-width: 180px;
  background: var(--black-20);

  padding: 0 8px 22px;
  box-sizing: border-box;
}

.pa-fld1 .profile__name {
  font-weight: 700;
  font-size: var(--size-18);
  text-transform: uppercase;
  font-family: var(--accent-font-3);
}

.pa-fld1 .profile__text {
  font-size: var(--size-10);
  text-transform: lowercase;
  letter-spacing: .5px;
}

/* twinks */
.post-author .pa-fld2 {
  position: relative;
  margin-top: -25px;
}

.twink_link {
  display: inline-block;

  width: 30px;
  height: 22px;
  background: var(--twink);
  background-size: contain;

  font-size: 0;
  color: transparent;

  margin: 0 auto;

  transition: var(--transition);
  filter: brightness(.9) grayscale(.2);
}

.twink_link:hover {
  filter: brightness(1) grayscale(0);
}

/* last visit */
.post-author ul li.pa-online,
.post-author ul li.pa-last-visit {
  position: absolute;
  top: 11px;
  left: 15px;

  width: 8px;
  height: 8px;
  background: var(--forum);

  font-size: 0;
  border-radius: 50%;

  opacity: .3;
  cursor: pointer;
}

.pa-online {
  background: var(--accent-first);

  -webkit-animation: pulse 1.1s linear infinite;
  -moz-animation: pulse 1.1s linear infinite;
  -ms-animation: pulse 1.1s linear infinite;
  -o-animation: pulse 1.1s linear infinite;
  animation: pulse 1.1s linear infinite;
}

.pa-online strong,
.pa-last-visit span {
  pointer-events: none;
}

/* mess/rep/fandom */
.post-author ul li.pa-posts,
.post-author ul li.pa-respect,
.post-author ul li.pa-fld5 {
  display: inline-block;
  width: auto;

  font-size: var(--size-16);
  font-family: var(--accent-font-3);
  text-transform: uppercase;

  padding: 5px 5px 20px;
}

.post-author ul li.pa-respect i {
  position: relative;
  top: -1px;

  font-size: var(--size-12);
  margin-right: 1px;
}

.post-author ul li.pa-posts .ti-ink-pen {
  font-size: var(--size-10);
}

/* fandom */
.post-author ul li.pa-fld5 {
  width: 100%;
  background: var(--black-20);

  padding: 6px 15px 5px;
  box-sizing: border-box;
}

/* ban */
.post-author ul li.pa-fld4 {
  width: 100%;

  font-size: var(--size-10);
  text-transform: lowercase;

  border-top: 1px solid var(--border-profile);

  padding: 7px 15px;
  margin-top: -10px;
  box-sizing: border-box;
}

/* links */
.pa-fld1 .profile__text a:hover,
.post-author a {
  color: var(--forum);
}

.pa-fld1 .profile__text a,
.post-author a:hover {
  color: var(--accent-1);
}


/*** header ***/

.punbb .post h3 {
  position: relative;
  top: 0;
  right: 27px;

  width: calc(100% - 277px);

  font-size: var(--size-10);
  text-transform: uppercase;

  border-bottom: 1px dashed var(--bg-body);

  padding: 0 0 12px;
  margin-left: auto;
  box-sizing: border-box;

  z-index: 9999;
}

.post h3 span.new_func {
  max-width: 100%;
  margin-left: 0;
}

.post h3 span.new_func .permalink {
  top: 1px;
}

.post h3 span.new_func strong {
  position: relative;
  top: 1px;
}


/*** change font ***/

#newFunc a {
  background: var(--bg-main);
  color: var(--description);
  font-size: var(--size-8);
}

#newFunc #changeProfile.active,
#newFunc #changeFont.active a {
  background: var(--accent-2);
  color: var(--button-txt);
}

#newFunc #changeProfile.active:hover,
#newFunc #changeFont.active a:hover,
#newFunc a:hover {
  background: var(--accent-1);
  color: var(--button-txt);
}

#newFunc #changeFont .change_font__content {
  background: var(--bg-nav);

  color: var(--bg-main);
  font-size: var(--size-11);

  border-radius: 0;
}

#newFunc #changeFont span.change_font__content span.active,
#newFunc #changeFont span.change_font__content span:hover {
  color: var(--accent-1);
}

#pun-viewtopic .post.new_view h3 {
  width: 73%;
}

/* mini profile */
.post #newProfile {
  top: 72px;

  min-width: calc(24% - 20px);
  background: var(--category-back-img) no-repeat 50% 75%;

  color: var(--text-color);

  border-radius: 0;
  margin: -33px auto 0 -13px;
  padding: 0 10px 10px 10px;

  z-index: 99;
}

.online #newProfile::after {
  left: 2px;

  width: 6px;
  height: 6px;
  background: var(--accent-1);
}

.post #newProfile::before {
  position: absolute;
  content: '';

  top: -5px;
  left: 5px;

  width: 100%;
  height: 100%;
  background: var(--bg-main);

  z-index: -1;
  pointer-events: none;
}

#newProfile li.pa-respect {
  color: var(--text-color);
}

.post #newProfile li.pa-author a {
  font-size: var(--size-18);
}

.post #newProfile li.pa-author {
  position: relative;
  width: max-content;
}

.post #newProfile li.pa-author::before,
.post #newProfile li.pa-author::after {
  position: absolute;
  content: '';
  bottom: 0;
  right: -4px;
  width: 97%;
  height: 10px;
  background: var(--forum-new);
  z-index: -1;
  transition: var(--transition-2);
}

.post #newProfile li.pa-author::after {
  width: 0;
}

.post #newProfile li.pa-author:hover::after {
  left: 4px;
  right: auto;
  width: 100%;
  background: var(--accent-1-light);
}

.post #newProfile li.pa-author,
.post #newProfile li.pa-author a,
.post #newProfile li.pa-respect a {
  background: none;
  color: var(--link-color);
  padding: 0;
}

.post #newProfile li.pa-respect a:hover {
  color: var(--link-hover-color);
}

/*** post ***/

.post .post-body {
  position: relative;
  right: 7px;

  width: calc(100% - 237px);
  background: var(--forum);

  font-size: var(--size-13);
  line-height: 1.4;
  text-align: justify;

  border-radius: 0;

  padding: 40px 20px 20px;
  margin-top: -16px;
  box-sizing: border-box;
}

.post .post-content {
  padding-bottom: 20px;
}

.post .post-content p {
  margin: 16px 0;
}

.post .post-content td {
  border: none !important;
  vertical-align: top;
}


/* Bookmark */
.topic .post .bookmark {
  right: -20px;
  color: var(--accent-1);
  cursor: pointer;
}

.post .editBookmark {
  box-shadow: var(--shadow);
  border-radius: 0;
}

.post .editBookmark h1 {
  display: block !important;

  color: var(--bg-main);
  font-family: var(--accent-font-4);
  text-transform: uppercase;
  font-size: var(--size-18);
  line-height: 1;

  padding: 3px 0 3px 30px;
  box-sizing: border-box;
}

.post .editBookmark span.delBookmark {
  position: relative;
  right: 15px;
  top: 7px;
  font-size: 0 !important;
  transition: var(--transition);
}

.post .editBookmark span.delBookmark::before {
  position: absolute;
  content: '\e646';
  top: 0;
  right: 0;

  font-family: var(--ico-font-2);
  font-size: var(--size-14) !important;

  transition: var(--transition-2);
}

.post .editBookmark span.delBookmark:hover::before {
  color: var(--accent-1);
  transform: rotate(360deg);
}

.post .editBookmark span.delBookmark:hover {
  color: var(--accent-1);
}

.post .editBookmark .container {
  background: var(--forum);
  padding: 10px !important;
}

.post .editBookmark::before {
  position: absolute;
  content: '';

  top: -5px;
  left: -5px;

  width: 100%;
  height: 100%;
  background: var(--bg-image) no-repeat 50% 78%;
  background-size: cover;

  z-index: -1;
}

.editBookmark .inputfield {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 5px;
  grid-template-areas:
    'label label label'
    'input input button';

  color: transparent;
  font-size: 0;
  text-align: left;

  margin-bottom: 5px;
}

.inputfield::before {
  content: 'Описание:';
  grid-area: label;

  color: var(--text-color);
  font-size: var(--size-12);
  text-transform: lowercase;
  font-weight: 700;

  margin-bottom: 5px;
  padding-left: 20px;
}

.editBookmark .inputfield input {
  color: initial;
}

.editBookmark #inpEditBm {
  grid-area: input;
}

.editBookmark .inputfield .button#btnSaveBm {
  grid-area: button;
  margin-left: 0;
}


/*** reaction/vote ***/

/* reaction */
.reactions-container {
  justify-content: flex-end;
}

.reactions-container svg {
  display: none;
}

.reactions-container .reaction-chip {
  position: relative;

  width: 24px;
  height: 24px;
  background: none;

  border: none;
  border-radius: 0;
}

.reactions-container .reaction-chip:not(.reaction-chip--disabled):hover {
  background: none;
}

.reactions-container .reaction-picker-panel {
  right: -41px;
}

.reactions-root .reactions-container .emoji-mart {
  background: var(--bg-main);

  font-family: var(--main-font);
  font-size: var(--size-12);
  text-transform: lowercase;
  color: var(--text-color);

  border: none;
  border-radius: 0;
}

.reactions-root .reactions-container .emoji-mart-bar {
  border: none;
  background: var(--category-back-img) no-repeat center;
  background-size: auto;
  padding: 6px 0 5px;
}

.reactions-root .reactions-container .emoji-mart-bar:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.reactions-root .emoji-mart-anchor-selected .emoji-mart-anchor-bar {
  display: none;
}

.reactions-root .emoji-mart-anchor {
  cursor: pointer;
}

.reactions-root .emoji-mart-anchor.emoji-mart-anchor-selected {
  pointer-events: none;
}

.reactions-root .emoji-mart-anchor * {
  pointer-events: none;
}

.reactions-root .emoji-mart-anchor[aria-label='Недавно использованное']::before {
  content: '\f1da';
}

.reactions-root .emoji-mart-anchor[aria-label='Люди']::before {
  content: '\f5b8';
}

.reactions-root .emoji-mart-anchor[aria-label='Животные и природа']::before {
  content: '\f1b0';
}

.reactions-root .emoji-mart-anchor[aria-label='Еда и напитки']::before {
  content: '\f564';
}

.reactions-root .emoji-mart-anchor[aria-label='Активности']::before {
  content: '\f45f';
}

.reactions-root .emoji-mart-anchor[aria-label='Места']::before {
  content: '\f57d';
}

.reactions-root .emoji-mart-anchor[aria-label='Предметы']::before {
  content: '\f0fc';
}

.reactions-root .emoji-mart-anchor[aria-label='Символы']::before {
  content: '\f225';
}

.reactions-root .emoji-mart-anchor[aria-label='Флаги']::before {
  content: '\f2b4';
}

.reactions-root .reactions-container .emoji-mart-search input {
  margin-bottom: 5px;
}

.reactions-root .reactions-container .emoji-mart-category-label span {
  background-color: var(--bg-body);
  text-align: center;
  color: var(--description);

  padding: 3px 6px;
  filter: brightness(.97);
}

.reactions-root .reactions-container .emoji-mart-category-list {
  margin: 0 0 5px;
  background: var(--bg-body);
}

.reactions-root .reactions-container .emoji-mart-emoji {
  opacity: .8;
  transition: var(--transition);
  cursor: pointer;
}

.reactions-root .reactions-container .emoji-mart-emoji span {
  pointer-events: none;
}

.reactions-root .reactions-container .emoji-mart-emoji:hover {
  opacity: 1;
  transform: scale(1.2);
}

.reactions-root .reactions-container .emoji-mart-category .emoji-mart-emoji:hover::before {
  display: none;
}

/* vote */
.post-vote a,
.post-rating a {
  display: block;
  position: relative;

  width: 24px;
  height: 24px;

  text-align: center;
}

.post div.post-vote p {
  margin: 0 10px !important;
}

.post div.post-vote a {
  font-size: 0 !important;
}

.post div.post-rating a {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: var(--size-11) !important;
  color: var(--forum);
}

.reactions-root .emoji-mart-anchor::before,
.reactions-container .reaction-chip::before,
.post-vote a::before,
.post-rating a::before {
  position: absolute;

  left: 0;
  top: 50%;
  right: 0;

  text-align: center;
  font-family: var(--ico-font);
  font-size: var(--size-20);
  color: var(--bg-body);
  font-weight: 900;

  margin: 0 auto;

  transform: translateY(-50%);
  z-index: -1;
  transition: var(--transition);
}

.reactions-root .emoji-mart-anchor::before {
  font-size: var(--size-16);
  z-index: 0;
}

.post-rating a::before {
  content: '\f004';
}

.post-vote a::before {
  content: '\f4ad';
}

.reactions-container .reaction-chip::before {
  content: '\23';
  font-size: var(--size-19);
  z-index: 0;
  margin-top: 1px;
}

.reactions-root .emoji-mart-anchor.emoji-mart-anchor-selected::before,
.reactions-root .emoji-mart-anchor:hover::before,
.reactions-container .reaction-chip:hover::before,
.post-vote a:hover::before,
.post-rating a:hover::before {
  color: var(--accent-1);
}

.reactions-root .emoji-mart-anchor:hover::before {
  color: var(--forum-new);
}

.mylike .post-rating a::before {
  color: var(--accent-2);
}

/*** links ***/

.post .post-links {
  position: relative;
  top: 0;

  display: flex;
  justify-content: space-between;

  width: calc(100% - 7px);

  padding: 10px 20px 17px;
  box-sizing: border-box;
}

.post .post-links .left,
.post .post-links .right {
  display: flex;
  gap: 15px;
}

.post .post-links li {
  list-style: none;

  font-size: var(--size-10);
  font-family: var(--button-font);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.post .post-links a {
  opacity: .8;
}

.post .post-links a:hover {
  opacity: 1;
}