/******** 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/19124.css?v=17');

/* designs */
@import url('https://forumstatic.ru/files/001c/6f/83/99859.css?v=11');

/* 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=3');

/* 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');

/* mobile */
@import url('https://forumstatic.ru/files/001c/6f/83/70794.css?v=1');

@import url(style_cs.1765217378.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 15px 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;
  padding: 15px;
}

#pun_wrap.closed .formsubmit {
  margin-bottom: 6px;
}

.punbb {
  position: relative;
}

#prevention::after,
.punbb::after {
  position: absolute;
  content: '';

  top: 5px;
  left: 7px;

  width: calc(100% - 16px);
  height: calc(100% - 126px);

  border: 1px dashed var(--black-20);

  opacity: .6;
  pointer-events: none;
  z-index: 8;
}

#prevention::after {
  height: calc(100% - 16px);
}

/* 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-17);
  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,
#pun-navlinks.active + #pun-ulinks {
  z-index: 99999;
}

#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: 1020px;
  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: 15px;

  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-status p span.item3 {
  font-family: var(--code-font);
  font-size: var(--size-10);
  text-transform: lowercase;
}

#pun-announcement {
  height: 0;
}

.status_userava {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status_userava .avatar_wrapper {
  width: 33px;
  height: 33px;
  border: 1px solid var(--button-def-txt);

  padding: 3px;
  margin: 0;

  box-sizing: border-box;
  cursor: pointer;
}

.status_userava img {
  display: block;

  width: 25px;
  height: 25px;

  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 8px;
  padding-bottom: 0;
}

.category.hide {
  padding-bottom: 0;
}

.category .container {
  max-height: 1000px;
  transition: var(--transition);
}

.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;
  left: 0;

  display: flex;
  align-items: center;
  gap: 15px;

  max-width: 948px;
  width: 100%;

  border: 1px solid transparent;
  padding: 11px 0 12px 55px;
  margin: 2px 0 12px;

  box-sizing: border-box;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
}

.category.hide .new_main_header {
  background: var(--forum);
  border: 1px solid var(--border-form);
  margin: 12px 0 0;
}

#pun-stats {
  position: relative;
  z-index: 8;
}

#pun-stats .new_main_header {
  cursor: default;
  padding: 2px 90px 12px 0;
  justify-content: flex-end;
}

.new_main_header * {
  pointer-events: none;
}

.new_main_header h2 {
  position: relative;
  top: 1px;

  width: 212px;

  font-family: var(--code-font);
  font-size: var(--size-16);
  text-align: right;
  color: var(--bg-nav);
  text-transform: uppercase;
}

.animated_text {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  margin-left: auto;
}

#pun-viewtopic .new_main_header {
  cursor: text;

  padding-top: 4px;
  margin-bottom: 0;
  padding-bottom: 0;

  z-index: 0;
}

#pun-viewtopic .new_main_header h2 {
  width: 100%;
  text-align: left !important;
}

#pun-stats .new_main_header h2 {
  order: 2;
  text-align: left;
  width: auto;
}

.new_main_header .description_category {
  position: relative;
  top: 1px;

  max-width: 469px;

  font-size: var(--size-9);
  line-height: 1.2;

  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: 0 20px 0 auto;
  transition: var(--transition);
}

.category.hide .new_main_header svg {
  margin: 0 20px 0 auto;
  transform: rotate(270deg);
}

.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: 0;
}

.category .links {
  position: relative;

  width: 136px;

  border-bottom: 1px dashed var(--border-form);

  padding: 25px 0 10px 15px;
  box-sizing: border-box;
}

.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;

  background: var(--bg-body);

  margin-top: -5px;
  padding: 5px;

  z-index: 1;
}

.category tbody::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  height: calc(100% - 2px);
  width: calc(100% - 2px);

  border-radius: 0;
  border: 1px solid var(--black-20);

  z-index: 0;
  opacity: .3;
}

.category tbody .theme_block {
  position: relative;
  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);
  border: 1px solid var(--border-form);

  padding: 18px 20px 20px;

  box-sizing: border-box;
  transition: var(--transition);
}

.category table tr:hover {
  background: var(--tr-hover);
}

.category table tr.inew {
  background: var(--forum-new);
}

.category tbody .theme_block:first-child .links {
  border-top: none;
}

.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-end;
  grid-area: last;
  gap: 0;
}

.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 {
  order: 1;

  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 .info_stroke {
  order: 2;
  display: flex;
  gap: 7px;

  font-size: var(--size-8);

  padding-top: 1px;
  opacity: .7;
}

#pun-viewforum .category table .info_stroke {
  font-size: var(--size-8);
  text-transform: uppercase;

  margin: 8px 0 0;
}

.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(--forum-link);
  text-transform: uppercase;
  text-align: center;

  width: max-content;
  background: var(--bg-body);

  border-radius: 20px;
  border: 1px solid var(--border-form);

  padding: 3px 12px 4px;

  box-sizing: border-box;
}

.category table .mainLink li a:hover {
  background: var(--accent-2);
  color: var(--button-txt);
  border-color: var(--accent-2);
}

.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 {
  position: relative;
  background: var(--bg-body);
  padding: 5px 0 5px 5px;
}

.statscon::after {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: calc(100% - 2px);
  height: calc(100% - 2px);

  border: 1px solid var(--black-20);
  border-radius: 0;

  opacity: .3;
  mix-blend-mode: hard-light;
  z-index: 0;
}

.statscon .container {
  display: flex;
}

/* users */

.statscon .stars {
  width: calc(100% - 136px);
  background: var(--forum);

  border-radius: 0;
  border: 1px solid var(--border-form);

  padding: 20px;

  z-index: 1;
}

.statscon .stars .item5 {
  text-transform: lowercase;
  margin: 15px 0;
}

.statscon .stars .item5.users_24h {
  margin-bottom: 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: center;
  gap: 4px;

  width: 136px;
  border-bottom: 1px dashed var(--border-form);
  padding: 0 15px 8px 0;

  z-index: 1;
}

/* 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 3px;
}

.statscon .users_online li {
  border: 1px solid var(--border-form);
  background: var(--bg-body);
}

.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: 1px;
  margin-right: 1px;
}

.statscon .users_online li strong,
.statscon .stars .item4 a {
  font-family: var(--accent-font-2);
  font-size: var(--size-12);
  letter-spacing: 1px;
  line-height: 1;
}


/******** Rusff ********/

#pun-about {
  position: absolute;

  left: 0;
  right: 0;
  bottom: -27px;

  background: none;

  text-align: center;
  font-weight: 300;
  text-transform: uppercase;
  font-size: var(--size-8);
  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: 0;
}

/* description */

.footer h3 {
  font-family: var(--accent-font-4);
  font-size: var(--size-18);
  text-transform: uppercase;
  color: var(--bg-main);

  margin-top: 6px;
}

/* 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-modal .container table.container,
#pun-edit #pun-main .history_posts_list table,
#pun-mod #pun-main table,
#pun-foundation #pun-main table,
#pun-userlist #pun-main table,
#pun-online #pun-main table,
#pun-modviewforum #pun-main table,
#pun-viewforum #pun-main table,
#pun-searchtopics #pun-main table,
#pun-messages #pun-main #messages table {
  position: relative;

  width: 100%;
  background: var(--bg-body);

  margin: 20px 0 0;
  padding: 7px;
}

.pun-modal .container table.container {
  padding: 7px !important;
}

#pun-viewforum #pun-main .category table {
  margin-top: -12px;
}

#pun-userlist #pun-main table {
  margin-top: 25px;
  margin-bottom: 10px;
}

.pun-modal .container table.container,
#pun-mod #pun-main table,
#pun-foundation #pun-main table {
  margin: 0;
}

#pun-userlist #pun-main .linksb .pagelink {
  margin-left: 0;
}

.pun-modal .container table.container::before,
#pun-edit #pun-main .history_posts_list table::before,
#pun-mod #pun-main table::before,
#pun-foundation #pun-main table::before,
#pun-userlist #pun-main table::before,
#pun-online #pun-main table::before,
#pun-modviewforum #pun-main table::before,
#pun-viewforum #pun-main table::before,
#pun-searchtopics #pun-main table::before,
#pun-messages #pun-main #messages table::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 0;

  z-index: 0;
}


.pun-modal .container table.container::before,
#pun-edit #pun-main .history_posts_list table::before,
#pun-mod #pun-main table::before,
#pun-foundation #pun-main table::before,
#pun-profile #profile10 table::before,
#pun-userlist #pun-main table::before,
#pun-online #pun-main table::before,
#pun-modviewforum #pun-main table::before,
#pun-viewforum #pun-main table::before,
#pun-searchtopics #pun-main table::before,
#pun-messages #pun-main #messages table::before {
  border: 1px solid var(--black-20);
  opacity: .3;
}

.pun-modal .container table.container,
.pun-modal .container table.container tbody,
.pun-modal .container table.container thead,
#pun-edit #pun-main .history_posts_list table,
#pun-mod #pun-main table,
#pun-foundation #pun-main table,
#pun-profile #profile10 table,
#pun-userlist #pun-main table,
#pun-online #pun-main table,
#pun-modviewforum #pun-main table,
#pun-viewforum #pun-main table,
#pun-searchtopics #pun-main table,
#pun-messages #pun-main #messages table,
#pun-userlist #pun-main thead,
#pun-online #pun-main thead,
#pun-modviewforum #pun-main thead,
#pun-viewforum #pun-main thead,
#pun-searchtopics #pun-main thead,
#pun-messages #pun-main #messages thead,
#pun-edit #pun-main .history_posts_list thead,
#pun-userlist #pun-main tbody,
#pun-online #pun-main tbody,
#pun-modviewforum #pun-main tbody,
#pun-viewforum #pun-main tbody,
#pun-searchtopics #pun-main tbody,
#pun-edit #pun-main .history_posts_list tbody,
#pun-messages #pun-main #messages tbody {
  display: block;
}

.pun-modal .container table.container tbody {
  margin: -20px 0 0;
}

#pun-profile #profile10 table {
  margin-top: 15px;
}

.pun-modal .container table.container thead,
#pun-edit #pun-main .history_posts_list tr:first-child,
#pun-mod #pun-main thead,
#pun-foundation #pun-main thead,
#pun-profile #profile10 thead,
#pun-userlist #pun-main thead,
#pun-online #pun-main thead,
#pun-modviewforum #pun-main thead,
#pun-viewforum #pun-main thead,
#pun-searchtopics #pun-main thead,
#pun-messages #pun-main #messages thead {
  position: relative;
  display: block;
  top: -20px;
  left: 0;

  width: 100%;
  background: var(--category-back-img) no-repeat center;
  background-size: cover;

  border-radius: 0;

  font-family: var(--code-font);
  text-transform: lowercase;
  color: var(--bg-main);
  font-weight: 400;
  font-size: var(--size-11);

  padding: 0;
  box-sizing: border-box;
}

.pun-modal .container table.container thead {
  top: 0;
}

#pun-edit #pun-main .history_posts_list tr:first-child {
  display: flex;
}

.pun-modal .container table.container th,
#pun-edit #pun-main .history_posts_list tr:first-child th,
#pun-mod #pun-main thead th,
#pun-foundation #pun-main thead th,
#pun-profile #profile10 thead th,
#pun-userlist #pun-main thead th,
#pun-online #pun-main thead th,
#pun-modviewforum #pun-main thead th,
#pun-viewforum #pun-main thead th,
#pun-searchtopics #pun-main thead th,
#pun-messages #pun-main #messages thead th {
  font-weight: 400;
}

#pun-profile #profile10 thead th {
  position: relative;
  background: none !important;
}

#pun-profile #profile10 thead th::after {
  position: absolute;
  content: '\e63f';

  top: 4px;
  right: 0;

  font-size: var(--size-10);
  font-family: var(--ico-font-2);

  transition: var(--transition);
}

#pun-profile #profile10 thead th:hover::after {
  color: var(--accent-1);
}

.pun-modal .container table.container th.tcl,
.pun-modal .container table.container th.tc2,
#pun-edit #pun-main .history_posts_list tr:first-child th.tcl,
#pun-mod #pun-main thead th.tcl,
#pun-foundation #pun-main thead th.tcl,
#pun-profile #profile10 thead th.tcl,
#pun-userlist #pun-main thead th.tcl,
#pun-online #pun-main thead th.tcl,
#pun-modviewforum #pun-main thead th.tcl,
#pun-viewforum #pun-main thead th.tcl,
#pun-searchtopics #pun-main thead th.tcl,
#pun-messages #pun-main #messages thead th.tcl,
#pun-userlist #pun-main thead th.tcr,
#pun-online #pun-main thead th.tcr,
#pun-modviewforum #pun-main thead th.tcr,
#pun-viewforum #pun-main thead th.tcr,
#pun-searchtopics #pun-main thead th.tcr,
#pun-edit #pun-main .history_posts_list tr:first-child th.tcr,
#pun-messages #pun-main #messages thead th.tcr {
  display: block;
}

#pun-viewforum #pun-main thead th.tcr,
#pun-searchtopics #pun-main thead th.tcr,
#pun-messages #pun-main #messages thead th.tcr {
  position: relative;
  right: 17px;
}

#pun-userlist #pun-main thead th.username {
  position: relative;
  left: 7px;
}

.pun-modal .container table.container tbody,
#pun-edit #pun-main .history_posts_list tbody,
#pun-mod #pun-main tbody,
#pun-foundation #pun-main tbody,
#pun-profile #profile10 tbody,
#pun-userlist #pun-main tbody,
#pun-online #pun-main tbody,
#pun-modviewforum #pun-main tbody,
#pun-viewforum #pun-main tbody,
#pun-searchtopics #pun-main tbody,
#pun-messages #pun-main #messages tbody {
  position: relative;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border-form);
  border-top: none;

  margin-top: -30px;
}

#pun-edit #pun-main .history_posts_list tbody {
  margin-top: -17px;
}

#pun-profile #profile10 tbody {
  margin-top: -31px;
}

#pun-viewforum #pun-main .category tbody {
  border: none;
  margin-top: 0;
}

.pun-modal .container table.container tbody {
  width: calc(100% - 2px) !important;
  margin-top: 0;
}

.pun-modal .container table.container tr,
#pun-edit #pun-main .history_posts_list tr,
#pun-mod #pun-main tr,
#pun-foundation #pun-main tr,
#pun-profile #profile10 tr,
#pun-userlist #pun-main tr,
#pun-online #pun-main tr,
#pun-modviewforum #pun-main tr,
#pun-viewforum #pun-main tr,
#pun-searchtopics #pun-main tr,
#pun-messages #pun-main #messages tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;

  background: var(--forum);

  padding: 2px 5px 2px 12px;
  transition: var(--transition);
}

#pun-messages #pun-main #messages tr {
  padding: 0 5px 0 12px;
}

#pun-profile #profile10 tr {
  padding: 4px 5px 4px 12px;
}

#pun-viewforum #pun-main .category tbody tr:first-child,
#pun-viewforum #pun-main .category tbody tr:last-child,
#pun-viewforum #pun-main .category tr {
  padding: 14px 15px;
}

.pun-modal .container table.container tr,
#pun-edit #pun-main .history_posts_list tr,
#pun-mod #pun-main tr,
#pun-foundation #pun-main tr,
#pun-profile #profile10 tr,
#pun-userlist #pun-main tbody tr,
#pun-online #pun-main tbody tr,
#pun-modviewforum #pun-main tbody tr,
#pun-viewforum #pun-main tbody tr,
#pun-searchtopics #pun-main tbody tr,
#pun-messages #pun-main #messages tbody tr {
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.pun-modal .container table.container tr,
#pun-edit #pun-main .history_posts_list tr,
#pun-mod #pun-main tr,
#pun-foundation #pun-main tr,
#pun-online #pun-main tr {
  padding: 8px 12px;
}

#pun-userlist #pun-main tr {
  padding: 2px 12px 2px 5px;
}

#pun-online #pun-main tr .username,
#pun-online #pun-main tr .action,
#pun-online #pun-main tr .tc3 {
  text-transform: lowercase;
}

#pun-online #pun-main tr .username {
  width: 40% !important;
  text-align: left;
  font-family: var(--code-font);
}

#pun-online #pun-main tr .username .registered-user:hover,
#pun-online #pun-main tr .username a {
  color: var(--link-hover-color);
}

#pun-online #pun-main tr .username .registered-user,
#pun-online #pun-main tr .username a:hover {
  color: var(--link-color);
}

#pun-online #pun-main tr .username a:not(.registered-user) {
  font-family: var(--main-font);
}

#pun-online #pun-main tr .action {
  display: flex;
  align-items: center;
  gap: 4px;

  width: 45% !important;
  text-align: left;
  padding-left: 10px;
}

#pun-online #pun-main tr .tc3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;

  width: 15% !important;
  text-align: center;
}

.pun-modal .container table.container tr:hover,
#pun-edit #pun-main .history_posts_list tr:not(:first-child):hover,
#pun-mod #pun-main tr:hover,
#pun-foundation #pun-main tr:hover,
#pun-profile #profile10 tr:hover,
#pun-userlist #pun-main tr:hover,
#pun-online #pun-main tr:hover,
#pun-modviewforum #pun-main tr:hover,
#pun-viewforum #pun-main tr:hover,
#pun-searchtopics #pun-main tr:hover,
#pun-messages #pun-main #messages tr:hover {
  background: var(--tr-hover);
}

#pun-modviewforum #pun-main tr.tr-divider,
#pun-viewforum #pun-main tr.tr-divider,
#pun-searchtopics #pun-main tr.tr-divider,
#pun-messages #pun-main #messages tr.tr-divider {
  background: var(--tr-hover);

  text-transform: lowercase;
  font-family: var(--accent-font-2);

  padding: 2px 22px 3px;
}

#pun-modviewforum #pun-main th.tcmod {
  height: 15px;
}

#pun-modviewforum #pun-main td.tcmod {
  display: flex;
  align-items: center;
}

.pun-modal .container table.container tr:not(:last-child),
#pun-edit #pun-main .history_posts_list tr:not(:last-child),
#pun-mod #pun-main tr:not(:last-child),
#pun-foundation #pun-main tr:not(:last-child),
#pun-profile #profile10 tr:not(:last-child),
#pun-userlist #pun-main tr:not(:last-child),
#pun-online #pun-main tr:not(:last-child),
#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 #messages tr:not(:last-child) {
  border-bottom: 1px dashed var(--bg-body);
}

#pun-profile #profile10 tr:nth-child(20n) {
  border-bottom: none;
}

#pun-viewforum #pun-main .category tr:not(:last-child) {
  border: 1px solid var(--border-form);
}

#pun-profile #profile10 tr:first-child,
#pun-userlist #pun-main tbody tr:first-child,
#pun-modviewforum #pun-main tbody tr:first-child,
#pun-viewforum #pun-main tbody tr:first-child,
#pun-searchtopics #pun-main tbody tr:first-child {
  border-radius: 0;
  padding-top: 4px;
}

#pun-userlist #pun-main tbody tr:last-child,
#pun-modviewforum #pun-main tbody tr:last-child,
#pun-viewforum #pun-main tbody tr:last-child,
#pun-searchtopics #pun-main tbody tr:last-child,
#pun-messages #pun-main #messages tbody tr:last-child {
  padding-bottom: 5px;
}

#pun-userlist #pun-main tr:last-child,
#pun-online #pun-main tr:last-child,
#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 #messages tr:last-child {
  border-radius: 0;
}

.pun-modal .container table.container thead tr:first-child:last-child,
#pun-mod #pun-main thead tr:first-child:last-child,
#pun-foundation #pun-main thead tr:first-child:last-child,
#pun-profile #profile10 thead tr:first-child:last-child,
#pun-userlist #pun-main thead tr:first-child:last-child,
#pun-online #pun-main thead tr:first-child:last-child,
#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 #messages thead tr:first-child:last-child {
  background: none;
  border: none;

  padding-top: 5px;
  padding-bottom: 16px;
}

.pun-modal #move_posts_form .container table.container thead tr:first-child:last-child {
  display: flex;
  padding: 6px 12px;
}

.pun-modal #move_posts_form .container table.container tbody tr {
  display: flex;
  padding: 8px 12px;
}

#pun-edit #pun-main .history_posts_list tbody tr:first-child {
  top: 0;
  border: none;

  padding: 5px 12px 6px;
}

#pun-modviewforum .tcl,
#pun-viewforum .tcl,
#pun-searchtopics .tcl,
#pun-messages .tcl {
  display: flex;
  align-items: center;

  position: relative;
  width: 45%;

  text-align: left;
  text-transform: lowercase;
}

#pun-modviewforum .tcl[colspan='4'],
#pun-viewforum .tcl[colspan='4'],
#pun-searchtopics .tcl[colspan='4'],
#pun-messages .tcl[colspan='4'] {
  justify-content: center;
  width: 100%;
  padding: 10px 10px 10px 17px;
}

#pun-viewforum .category .tcl {
  width: 60%;
}

#pun-viewforum .category table tr .tcr .last_theme {
  top: 3px;
}

#pun-viewforum .category table tr .tcr .lastpost {
  flex-direction: row;
  justify-content: flex-end;
  gap: 5px;
}

#pun-viewforum .category table tr .tcr .byuser {
  position: relative;
  order: 1;
}

#pun-viewforum .category table tr .tcr .byuser::after {
  position: relative;
  display: inline-block;
  content: '—';
  margin-left: 5px;
}


#pun-viewforum .category table tr .tcr .datetime {
  order: 2;
}

#pun-modviewforum th.tcl,
#pun-viewforum th.tcl,
#pun-searchtopics th.tcl,
#pun-messages th.tcl,
#pun-modviewforum .tcl .intd,
#pun-viewforum .tcl .intd,
#pun-searchtopics .tcl .intd,
#pun-messages .tcl .intd {
  padding-left: 12px;
  box-sizing: border-box;
}

#pun-viewforum .category .tcl::before {
  display: none;
}

#pun-viewforum .category .tcl .intd {
  padding-left: 0;
}

#pun-viewforum .category table .tclcon h3 {
  margin-bottom: -3px;
}

#pun-viewforum .category table h3 a {
  font-size: var(--size-17);
}

#pun-viewforum .category table h3 a::before,
#pun-viewforum .category table h3 a::after {
  right: -4px;
  height: 9px;
}

#pun-edit #pun-main .history_posts_list td:first-child,
#pun-edit #pun-main .history_posts_list td:nth-child(5),
#pun-mod #forum-foundation td:first-child,
#pun-foundation #forum-foundation td:first-child,
#pun-profile #profile10 td.tcl,
#pun-profile #profile10 .tc3.ft-version,
#pun-profile #profile10 .tc2.ft-uploaded,
#pun-mod #pun-main tr td.tcl,
#pun-foundation #pun-main tr td.tcl,
#pun-modviewforum td.tc3,
#pun-viewforum td.tc3,
#pun-searchtopics td.tc3,
#pun-messages td.tc3,
#pun-modviewforum td.tcl .intd,
#pun-viewforum td.tcl .intd,
#pun-searchtopics td.tcl .intd,
#pun-messages td.tcl .intd,
#pun-online #pun-main tr .username,
#pun-userlist #pun-main tr .username,
#pun-userlist #pun-main tr .registered {
  position: relative;
}

#pun-edit #pun-main .history_posts_list td:first-child::before,
#pun-edit #pun-main .history_posts_list td:nth-child(5)::before,
#pun-profile #profile10 td.tc3.ft-version::before,
#pun-profile #profile10 td.tc2.ft-uploaded::before,
#pun-mod #forum-foundation td:first-child::before,
#pun-foundation #forum-foundation td:first-child::before,
#pun-profile #profile10 td.tcl::after,
#pun-mod #pun-main tr td.tcl:first-child::before,
#pun-foundation #pun-main tr td.tcl:first-child::before,
#pun-modviewforum td.tcl::before,
#pun-viewforum td.tcl::before,
#pun-searchtopics td.tcl::before,
#pun-messages td.tcl::before,
#pun-modviewforum td.tc3::before,
#pun-viewforum td.tc3::before,
#pun-searchtopics td.tc3::before,
#pun-messages td.tc3::before,
#pun-online #pun-main tr td.username::before,
#pun-userlist #pun-main tr td.username::before,
#pun-userlist #pun-main tr td.registered::before {
  position: absolute;
  content: '';

  top: -3px;
  right: 0;

  height: calc(100% + 6px);

  border-right: 1px solid var(--bg-body);
}

#pun-messages td.tcl::before,
#pun-messages td.tc3::before {
  top: 0;
}

#pun-modviewforum .tcl[colspan='4']::before,
#pun-viewforum .tcl[colspan='4']::before,
#pun-searchtopics .tcl[colspan='4']::before,
#pun-messages .tcl[colspan='4']::before {
  display: none;
}

#pun-modviewforum tr:last-child td.tcl::before,
#pun-viewforum tr:last-child td.tcl::before,
#pun-searchtopics tr:last-child td.tcl::before,
#pun-messages tr:last-child td.tcl::before,
#pun-modviewforum tr:last-child td.tc3::before,
#pun-viewforum tr:last-child td.tc3::before,
#pun-searchtopics tr:last-child td.tc3::before,
#pun-messages tr:last-child td.tc3::before,
#pun-userlist #pun-main tr:last-child td.username::before,
#pun-userlist #pun-main tr:last-child td.registered::before {
  height: calc(100% + 8px);
}

#pun-edit #pun-main .history_posts_list td:first-child::before,
#pun-edit #pun-main .history_posts_list th:first-child::before,
#pun-edit #pun-main .history_posts_list td:nth-child(5)::before,
#pun-edit #pun-main .history_posts_list th:nth-child(5)::before,
#pun-mod #forum-foundation td:first-child::before,
#pun-mod #pun-main tr td.tcl:first-child::before,
#pun-foundation #forum-foundation td:first-child::before,
#pun-foundation #pun-main tr td.tcl:first-child::before,
#pun-online #pun-main tr td.username::before {
  top: -8px;
  height: calc(100% + 16px);
}

#pun-profile #profile10 td.tc3.ft-version::before {
  width: 100%;
  border-left: 1px solid var(--bg-body);
}

#pun-profile #profile10 td.tc2.ft-uploaded::before,
#pun-profile #profile10 td.tc3.ft-version::before,
#pun-profile #profile10 td.tcl::after {
  top: -4px;
  height: calc(100% + 8px);
}

#pun-modviewforum .tcl .intd::before,
#pun-viewforum .tcl .intd::before,
#pun-searchtopics .tcl .intd::before,
#pun-messages .tcl .intd::before {
  position: absolute;
  content: '';

  top: 1px;
  left: 0;

  font-family: var(--accent-font-2);
  text-transform: uppercase;
}

#pun-viewforum .category .tcl .intd::before {
  display: none;
}

#pun-modviewforum .iclosed .tcl .intd::before,
#pun-viewforum .iclosed .tcl .intd::before,
#pun-searchtopics .iclosed .tcl .intd::before,
#pun-messages .iclosed .tcl .intd::before {
  content: 'x';
}

#pun-modviewforum .isticky .tcl .intd::before,
#pun-viewforum .isticky .tcl .intd::before,
#pun-searchtopics .isticky .tcl .intd::before,
#pun-messages .isticky .tcl .intd::before {
  content: '!';
}

#pun-modviewforum .inew .tcl .intd::before,
#pun-viewforum .inew .tcl .intd::before,
#pun-searchtopics .inew .tcl .intd::before,
#pun-messages .inew .tcl .intd::before {
  content: 'n';
}

#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::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 {
  font-size: var(--size-10);
  opacity: .9;
}

#pun-modviewforum .tcr,
#pun-viewforum .tcr,
#pun-searchtopics .tcr,
#pun-messages .tcr {
  display: grid;
  grid-template-columns: calc(100% - 33px) 29px;
  grid-template-areas:
        "last ava";
  gap: 5px;

  width: 25%;

  text-align: right;
  text-transform: lowercase;
}

#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 {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20%;

  text-transform: lowercase;
  text-align: center;
}

#pun-messages .tc2 {
  width: 28% !important;
}

#pun-modviewforum td.tc2,
#pun-viewforum td.tc2,
#pun-searchtopics td.tc2,
#pun-messages td.tc2 {
  font-size: var(--size-10);
}

#pun-searchtopics .tc2 a {
  display: flex;
  flex-direction: column;
}

#pun-searchtopics .tc2 .info_forum {
  order: 1;
}

#pun-searchtopics .tc2 .name_forum {
  order: 2;
}

#pun-messages #pun-main #messages td.tc2.pmtc22 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 28% !important;

  padding-top: 4px;
  padding-bottom: 4px;
}

#pun-messages .tc2 {
  justify-content: flex-start;
  text-align: left;
}

#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 {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 10%;
  text-align: center;
  font-size: var(--size-10);
}

#pun-userlist #pun-main tr .username {
  display: flex;
  align-items: center;
  gap: 5px;

  width: 25%;

  font-family: var(--code-font);
}

#pun-userlist #pun-main tr .title,
#pun-userlist #pun-main tr .user_title {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 25%;
  text-transform: lowercase;
  text-align: center;
}

#pun-userlist #pun-main tr .relation {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 10%;
  text-align: center;
}

#pun-userlist #pun-main tr .posts,
#pun-userlist #pun-main tr .num_posts {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 10%;
  text-align: center;
}

#pun-userlist #pun-main tr .registered {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 15%;
  text-transform: lowercase;
  text-align: center;
}

#pun-userlist #pun-main tr .last_visit {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  width: 15%;
  text-transform: lowercase;
  text-align: right;
}


/* file upload */

#pun-profile #profile10 .tcl {
  display: flex;
  align-items: center;
  width: 15% !important;

  text-align: left;
  font-family: var(--code-font);
}

#pun-profile #profile10 .tc2 {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20% !important;
  text-transform: lowercase;
}

#pun-profile #profile10 .tc3 {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 10% !important;
  text-transform: lowercase;
}

#pun-profile #profile10 .tcr3 {
  width: 20% !important;
}

#pun-profile #profile10 .tcr input {
  width: 100%;
}

#pun-profile #profile10 .tc3.checker {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 5% !important;
}

#pun-profile #profile10 .tc3.checker::after {
  display: none;
}


/* userlist */

#pun-userlist #userlist {
  margin-top: 25px;
}


#pun-messages .tc3.pmtc33 {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 15% !important;
}

.pagelink {
  display: flex;
  align-items: center;
  gap: 5px;

  width: max-content;

  font-family: var(--accent-font-2);
  text-transform: lowercase;

  border-radius: 0;
}

#profile10 .pagelink {
  padding: 0 !important;
}


/* edit */

#pun-edit #pun-main .history_posts_list td,
#pun-edit #pun-main .history_posts_list th {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: lowercase;
}

#pun-edit #pun-main .history_posts_list td:first-child,
#pun-edit #pun-main .history_posts_list th:first-child {
  justify-content: flex-start;
}

#pun-edit #pun-main .history_posts_list td:first-child,
#pun-edit #pun-main .history_posts_list th:first-child,
#pun-edit #pun-main .history_posts_list td:nth-child(2),
#pun-edit #pun-main .history_posts_list th:nth-child(2),
#pun-edit #pun-main .history_posts_list td:nth-child(3),
#pun-edit #pun-main .history_posts_list th:nth-child(3),
#pun-edit #pun-main .history_posts_list td:nth-child(5),
#pun-edit #pun-main .history_posts_list th:nth-child(5) {
  width: 20%;
}

#pun-edit #pun-main .history_posts_list td:nth-child(4),
#pun-edit #pun-main .history_posts_list th:nth-child(4) {
  width: 10%;
}

#pun-edit #pun-main .history_posts_list td:nth-child(6),
#pun-edit #pun-main .history_posts_list th:nth-child(6) {
  width: 10%;
}


/******** Pages/Top-bottom links ********/

.modmenu .container,
.linkst,
.linksb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;

  text-transform: lowercase;
}

.linkst {
  margin-bottom: 22px;
}

#pun-viewtopic .linksb {
  flex-wrap: wrap;
  margin-bottom: 40px;
}

#messages .linksb {
  margin-bottom: 5px;
  margin-top: 10px;
}

#messages .linksb .pagelink {
  margin-left: 0;
  margin-right: auto;
}

#pun-viewtopic .linksb .pagelink {
  order: 1;
  margin-left: 0;
  margin-right: auto;
}

#pun-viewtopic .linksb .postlink {
  order: 2;
}

#pun-viewtopic .linksb .subscribelink {
  order: 3;
  width: 100%;

  text-align: right;
  font-family: var(--code-font);

  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%;

  font-family: var(--code-font);
  font-weight: 400;
  text-align: right;

  margin-bottom: 5px;
}

.linksb {
  justify-content: flex-end;
  margin-bottom: 10px;
}

.linksb .pagelink {
  margin-left: auto;
}

#pun-main .postlink {
  display: flex;
  align-items: center;
  gap: 5px;
}

#pun-main .postlink.long {
  width: auto;
}

.modmenu strong {
  order: 2;
}

.modmenu span {
  order: 1;
  font-family: var(--code-font);
  font-weight: 400 !important;
}


/* pages */

.pagelink .pages,
.pagelink .page-container {
  display: flex;
  align-items: center;
  gap: 3px;
}

.pagelink .pages {
  gap: 0;
  border: 1px solid var(--light-gray);
  border-radius: 15px;
}

.pagelink .pages .files-pagelink {
  display: flex;
  border: 1px solid var(--light-gray);
  border-radius: 15px;
}

#profile10 .pagelink .pages {
  gap: 10px;
  border-radius: 0;
  border: none;
}

.pagelink .pages #page-select {
  margin-left: 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 .ellipsis,
.pagelink a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 21px;
  min-width: 21px;

  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: 20px;

  padding: 2px 2px 4px 4px;
  box-sizing: border-box;
}

.pagelink strong,
.pagelink .ellipsis,
.pagelink a {
  background: var(--forum);
  line-height: 1.5;

  border: none;
  border-radius: 0;

  padding: 0 0 0 1px;

  box-sizing: unset;
}

.pagelink strong:first-child,
.pagelink a:first-child {
  border-radius: 20px 0 0 20px;
  padding-left: 4px;
}

.pagelink strong:last-child,
.pagelink a:last-child {
  border-radius: 0 20px 20px 0;
  padding-right: 4px;
}

.pagelink strong:first-child:last-child,
.pagelink a:first-child:last-child {
  border-radius: 20px;
  padding-left: 5px;
}

.pagelink strong:not(:last-child),
.pagelink .ellipsis:not(:last-child),
.pagelink a:not(:last-child) {
  border-right: 1px solid var(--light-gray);
}

.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: 20px;
  padding: 4px 10px;
}

#pun-modviewforum .tcl .newtext a,
#pun-viewforum .tcl .newtext a,
#pun-searchtopics .tcl .newtext a,
#pun-messages .tcl .newtext a {
  font-size: var(--size-10);
  padding: 2px 7px 3px;
}

.pagelink strong {
  background: var(--change-font-bg);
  font-weight: 400;
}

.linkst div#pun-live-rusff {
  text-transform: lowercase;
}


/******** Themes ********/

#pun-viewtopic div#pun-live-rusff {
  height: 14px;

  text-transform: lowercase;
  font-family: var(--code-font);
  font-size: var(--size-10);

  margin: 0 0 0 auto;
  z-index: 99999;
}

#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: 10px 0 0 10px;

  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 div#pun-live-rusff .cooltext {
  padding-top: 2px;
}

#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 10px 10px 0;

  cursor: pointer;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -khtml-box-shadow: none;
  text-shadow: none;

  padding: 1px 10px 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: -17px;
  margin-bottom: 0;

  z-index: 1;
}

.post .container::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: calc(100% - 2px);
  height: calc(100% - 2px);

  border: 1px solid var(--black-20);

  opacity: .3;
  z-index: 0;
  pointer-events: none;
}

.post .container .container {
  display: inline-block;
  background: none;

  border-radius: 0;

  padding: 0 !important;
  margin: 0;
}

.post .container .container::before {
  display: none;
}

#formLogin .login_image,
.statscon .post_image,
.category .post_image,
.post .post_image {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: var(--bg-body);

  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.statscon .post_image {
  z-index: 0;
}

#formLogin .login_image::before,
.statscon .post_image::before,
.category .post_image::before,
.post .post_image::before,
#mask_dialog .post_image::before,
#mask_dialog .post_image::after {
  position: absolute;
  content: '';

  bottom: -9px;
  left: -105px;

  width: 385px;
  height: 385px;
  background: var(--post-img) no-repeat;
  background-size: contain;

  z-index: 0;
  pointer-events: none;
  mix-blend-mode: luminosity;
  filter: contrast(0.9) brightness(0.9);
  opacity: .3;
}

#formLogin .login_image::before {
  bottom: -150px;
  left: -130px;
}

#mask_dialog .post_image::before {
  bottom: -144px;
  left: -190px;
}

#mask_dialog .post_image::after {
  bottom: -55px;
  left: auto;
  right: -225px;
}

.category .post_image::before {
  bottom: -144px;
  left: -218px;
}

.statscon .post_image::before {
  bottom: -144px;
  left: auto;
  right: -218px;
}


/*** profile ***/

.post-author {
  position: relative;
  top: 8px;

  width: 224px;

  text-align: center;
  color: var(--bg-main);

  margin-bottom: 7px;
  padding-left: 8px;

  box-sizing: border-box;
}


.post-author ul {
  position: sticky;
  top: 69px;

  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 {
  position: relative;
  min-width: 180px;

  padding: 3px 0 9px;
  margin: 0 auto;

  box-sizing: border-box;
}

.pa-avatar::before {
  position: absolute;
  content: '';

  bottom: 0;
  left: 0;

  width: 100%;
  height: 92%;
  background: var(--black-20);

  z-index: -1;
}

.overlay_avatar,
.avatar_wrapper {
  position: relative;
  max-width: 180px;
  width: max-content;

  margin: 0 auto;
}

.pa-avatar .overlay_avatar {
  overflow: hidden;
}

.avatar_wrapper::before,
.avatar_wrapper::after {
  position: absolute;
  content: '';

  top: -3px;
  right: -3px;

  width: calc(100% - 10px);
  height: calc(100% - 10px);

  opacity: .5;
  pointer-events: none;
  z-index: -1;
}

.avatar_wrapper::before {
  border-top: 1px solid var(--more);
  border-right: 1px solid var(--more);
}

.avatar_wrapper::after {
  top: auto;
  bottom: -3px;
  left: -3px;
  right: auto;

  border-bottom: 1px dashed var(--more);
  border-left: 1px dashed var(--more);
}

.pa-avatar .overlay_avatar::after {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: var(--accent-1);

  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: var(--transition);
  mix-blend-mode: color;
}

.pa-avatar img {
  display: block;
  max-width: 180px;
  height: auto;

  transition: var(--transition);
  pointer-events: none;

  margin: 0 auto;
}

.pa-avatar .avatar_wrapper:hover img {
  transform: scale(1.1);
}

.pa-avatar .overlay_avatar:hover::after {
  opacity: 1;
}

.radius .pa-avatar .overlay_avatar::after,
.radius .pa-avatar .avatar_wrapper::before,
.radius .pa-avatar .avatar_wrapper::after,
.radius .pa-avatar .avatar_wrapper,
.radius .pa-avatar .overlay_avatar,
.radius .pa-avatar img {
  border-radius: 50%;
}

.radius .pa-avatar .avatar_wrapper::before,
.radius .pa-avatar .avatar_wrapper::after {
  width: calc(100% + 5px);
  height: calc(100% + 5px);
}

.round .pa-avatar .overlay_avatar,
.round .pa-avatar .overlay_avatar::after,
.round .pa-avatar .avatar_wrapper,
.round .pa-avatar img {
  border-radius: 10px;
}

.round .pa-avatar .avatar_wrapper::before {
  border-top-right-radius: 10px;
}

.round .pa-avatar .avatar_wrapper::after {
  border-bottom-left-radius: 10px;
}

/* lz */
.pa-fld1 {
  min-width: 180px;
  background: var(--black-20);

  padding: 0 8px 22px;
  box-sizing: border-box;
}

.pa-fld1 .profile__name {
  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: 13px;
  left: 15px;

  width: 7px;
  height: 7px;
  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 .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 .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 dashed var(--border-profile);

  padding: 7px 15px;
  margin-top: -10px;
  box-sizing: border-box;
}

/* answers/mod */
#pun-multidelete .pa-title,
#pun-multimove .pa-title,
#pun-multimegre .pa-title,
.post-author ul li.pa-replies {
  width: 100%;

  font-size: var(--size-10);
  text-transform: lowercase;

  padding: 10px 15px 15px;
  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: 20px;
  right: 27px;

  width: calc(100% - 277px);

  font-size: var(--size-10);
  text-transform: uppercase;

  border-bottom: 1px dashed var(--bg-body);

  padding: 0 0 13px;
  margin-left: auto;
  box-sizing: border-box;

  z-index: 9999;
}

.punbb#pun-multimove .post .container,
.punbb#pun-multimegre .post .container,
.punbb#pun-multidelete .post .container,
.punbb#pun-searchposts .post .container {
  margin-top: -10px;
}

.post h3 span.new_func,
.post h3 span {
  max-width: 100%;
  font-family: var(--code-font);
  margin-left: 0;
}

.post h3 span .permalink {
  top: 1px;
}

.post h3 span strong {
  position: relative;
  top: 0;
  font-weight: 400;
}

.post h3 span.new_func strong {
  font-weight: 400;
  top: 1px;
}

#pun-multimove .post h3 span,
#pun-searchposts .post h3 span,
#pun-searchposts .post h3 span,
#pun-multidelete .post h3 span {
  display: flex;
}

#pun-multimove .post h3 em,
#pun-multimegre .post h3 em,
#pun-searchposts .post h3 em,
#pun-multidelete .post h3 em {
  font-style: normal;
  margin-left: 5px;
}

#pun-multimove .post h3 span strong,
#pun-multimegre .post h3 span strong,
#pun-searchposts .post h3 span strong,
#pun-multidelete .post h3 span strong {
  order: 2;
  top: 0;
  margin-left: auto;
}

#pun-multimove .linkst,
#pun-multimegre .linkst,
#pun-searchposts .linkst,
#pun-multidelete .linkst {
  margin-top: 5px;
  margin-bottom: 0;
}

#pun-multimove .linksb,
#pun-multimegre .linksb,
#pun-searchposts .linksb,
#pun-multidelete .linksb {
  margin-top: 10px;
  margin-bottom: 0;
}


/*** change font ***/

#newFunc a {
  background: var(--bg-main);
  color: var(--description);
  font-size: var(--size-8);

  padding: 5px 4px;
}

#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 {
  position: absolute;
  top: 50px;

  display: flex;
  flex-direction: column;
  gap: 5px;

  height: auto;
  width: 160px;
  background: var(--bg-nav);

  color: var(--bg-main);
  font-size: var(--size-11);
  text-align: center;
  text-transform: lowercase;

  border-radius: 10px;
  padding: 10px 10px 13px;

  overflow: hidden;
  visibility: hidden;
  box-sizing: border-box;
  opacity: 0;
  transition: var(--transition-flow);
  transform: translateX(-50%);
  backdrop-filter: var(--blur-2);
  z-index: 9;
}

#newFunc #changeFont.active .change_font__content {
  top: calc(100% + 5px);
  opacity: 1;
  visibility: visible;
}

#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% - 238px);
  background: var(--forum);

  font-size: var(--size-13);
  line-height: 1.4;
  text-align: justify;

  border-radius: 0;
  border: 1px solid var(--border-form);

  padding: 40px 20px 20px;
  margin-top: -8px;
  box-sizing: border-box;
  overflow: hidden;
}

.post .post-content {
  padding-bottom: 20px;
}

.post .post-body .post-sig {
  font-size: var(--size-12);
}

.post-content p {
  margin: 16px 0;
}

.post-content a {
  color: var(--link-hover-color);
}

.post-content a:hover {
  color: var(--link-color);
}

.post-content table {
  width: 100%;
}

.main .post-content td {
  border: none !important;
  vertical-align: top;
}

.post-sig dd {
  position: relative;
  margin: 0;
}

.post-sig dd::before {
  position: absolute;
  content: '';

  top: -16px;
  right: 0;

  width: 30%;
  border-top: 1px solid var(--bg-main);
}


/* Bookmark */
.topic .post .bookmark.ncnfrm {
  color: var(--bg-body);
}

.topic .post .bookmark {
  right: -20px;
  color: var(--accent-1);
  cursor: pointer;
}

.topic .post .bookmark:before {
  border-width: 9px 0 8px 10px;
}

.post .editBookmark {
  box-shadow: var(--shadow);
  border-radius: 0;
  margin-top: 138px;
}

.post .editBookmark h1 {
  display: block !important;

  color: var(--bg-main);
  font-family: var(--accent-font-4);
  text-transform: uppercase;
  font-size: var(--size-17);
  line-height: 1;

  padding: 3px 0 5px 20px;
  box-sizing: border-box;
}

.post .editBookmark span.delBookmark {
  position: relative;
  right: 15px;
  top: 7px;

  width: 14px;
  height: 14px;

  font-size: 0 !important;
  transition: var(--transition);
}

.post .editBookmark span.delBookmark::before {
  position: absolute;
  content: '\e605';
  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(--forum);
}

.post .editBookmark .container {
  background: var(--forum);
  padding: 10px !important;
}

.post .editBookmark::before {
  position: absolute;
  content: '';

  top: -5px;
  left: 0;

  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;
}

.editBookmark .inputfield::before {
  content: 'Описание:';
  grid-area: label;

  color: var(--text-color);
  font-size: var(--size-12);
  text-transform: lowercase;
  font-family: var(--code-font);
  font-weight: 400;

  margin-bottom: 5px;
  padding-left: 10px;
}

.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);
}

.post-rating a.noNull::before {
  color: var(--border-form);
}

.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,
.post-rating a.noNull: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 7px 12px 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;
}


/***** View profile *****/

#viewprofile-next table,
#viewprofile-next tbody,
#viewprofile-next td {
  display: block;
}

#viewprofile-next table {
  position: relative;

  width: 100%;

  padding-top: 9px;
  margin-top: 10px;

  box-sizing: border-box;
  z-index: 1;
  overflow: hidden;
}

#viewprofile-next tbody {
  position: relative;
  background: var(--bg-body);
  padding: 7px;
}

#viewprofile-next tbody::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: calc(100% - 2px);
  height: calc(100% - 2px);

  border: 1px solid var(--black-20);

  opacity: .3;
  pointer-events: none;
  z-index: 0;
}

#viewprofile-next tr {
  position: relative;

  display: flex;
  align-items: flex-start;
  gap: 7px;
}

#viewprofile-next tr::before,
#viewprofile-next tr::after {
  position: absolute;
  content: '';

  bottom: 66px;
  left: 0;

  width: 385px;
  height: 385px;
  background: var(--post-img) no-repeat;
  background-size: contain;

  z-index: 0;
  pointer-events: none;
  mix-blend-mode: luminosity;
  filter: contrast(0.9) brightness(0.9);
  opacity: .4;
}

#viewprofile-next tr.guest::before {
  bottom: -54px;
}

#viewprofile-next tr::after {
  right: -70px;
  left: auto;
  bottom: -60px;
}

#viewprofile-next #profile-signature table {
  display: table;
  background: none;
  padding: 0;
  margin-top: 0;
}

#viewprofile-next #profile-signature tbody {
  display: table-row-group;
}

#viewprofile-next #profile-signature tr {
  display: table-row;
}

#viewprofile-next #profile-signature td {
  display: table-cell;
}


/* left */

#viewprofile-next #profile-left {
  position: relative;

  width: 219px;
  min-height: 437px;

  z-index: 1;
}

#viewprofile-next tr.no_ban #profile-left {
  min-height: 402px;
}

#viewprofile-next tr.guest #profile-left {
  min-height: auto;
}

#profile-left .post-author {
  top: 0;
  width: 216px;

  padding-left: 0;
  margin-bottom: 0;
}

#profile-left .post-author ul {
  display: flex;
  flex-direction: column;
}

#profile-left .post-author ul li {
  margin: 0 auto;
}

#profile-left .post-author #profile-name strong {
  font-size: var(--size-20);
  font-weight: 400 !important;
}

#profile-left .post-author #profile-title strong {
  font-weight: 400 !important;
}

#profile-left .post-author .pa-fld2 {
  margin-top: -25px;
}

#profile-left .post-author .pa-author {
  padding: 5px 10px;
}

#profile-left .post-author .pa-avatar {
  padding: 3px 0 9px;
}

#profile-left .post-author .pa-avatar div {
  width: max-content;
  max-width: 180px;

  margin: 0 auto;
}

#profile-left .post-author .pa-fld1 {
  padding: 0 8px 22px;
}

#profile-left .post-author .pa-posts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;

  padding: 5px 5px 8px;
  margin: 0 auto auto;
}

#profile-left .post-author .pa-fld4 {
  padding: 7px 15px;
}

#profile-left .post-author .pa-fld5 {
  padding: 6px 15px 5px;
}


/* right */

#viewprofile-next #profile-right {
  position: relative;

  width: calc(100% - 219px);
  background: var(--forum);

  border: 1px solid var(--border-form);
  padding: 20px;
  margin-top: -16px;

  box-sizing: border-box;
  z-index: 1;
  overflow: unset;
}

#viewprofile-next #profile-right li {
  display: flex;
  align-items: stretch;
  gap: 10px;

  border-bottom: 1px dashed var(--bg-body);
}

#viewprofile-next #profile-right li#pa-last-visit {
  border-bottom: none;
}

#viewprofile-next #profile-right li span {
  width: 25%;

  font-family: var(--code-font);
  text-transform: lowercase;
  text-align: right;

  border-right: 1px solid var(--bg-body);

  padding: 6px 5px;
}

#viewprofile-next #profile-right li strong {
  width: 75%;

  text-transform: lowercase;
  font-weight: 400;

  padding: 6px 5px;
}

#viewprofile-next #profile-right li strong a {
  color: var(--link-hover-color);
}

#viewprofile-next #profile-right li strong a:hover {
  color: var(--link-color);
}

#viewprofile-next #profile-right #message {
  position: absolute;
  top: calc(100% + 33px);
  left: 50px;

  font-family: var(--code-font);

  opacity: .7;
}

#viewprofile-next .no_ban #profile-right #message {
  top: calc(100% + 21px);
}

#viewprofile .edit_profile {
  position: absolute;

  left: 230px;
  bottom: 0;

  width: calc(100% - 230px);
  background: var(--forum-link-bg);

  border: none;
  outline: none;

  font-size: var(--size-10);
  font-weight: 400;
  color: var(--forum-link);
  text-align: center;

  box-sizing: border-box;
}

#viewprofile .edit_profile:hover {
  background: var(--change-font-menu-txt);
}

#viewprofile #profile-signature {
  padding: 10px 0 0;
}

#viewprofile #profile-signature ul {
  padding: 0;
  border: none;
}


/***** Edit profile *****/

#profile .profile_wrapper,
#profile form[method='post']:not(#messages) {
  position: relative;
  display: flex;
  gap: 7px;

  background: var(--bg-body);

  padding: 7px;
  margin-top: 11px;
}

#profile .profile_wrapper form[method='post']:not(#messages),
#profile .profile_wrapper form[method='post'].messages_wrapper {
  display: block;
  background: none;
  padding: 0;
  margin-top: 0;
}

#profile .profile_wrapper #post-new form[method='post']:not(#messages) {
  margin-top: 22px;
}

#profile .profile_wrapper #post-new form[method='post']:not(#messages) .input {
  display: block;
  width: 100%;
}

#profile .profile_wrapper #post-new form[method='post']:not(#messages) .input input {
  width: 100%;
}

#profile .profile_wrapper #post-new form[method='post']:not(#messages) .fs-box + p {
  padding: 0 !important;
}

#profile .profile_wrapper #post-new form[method='post']:not(#messages) .checkfield {
  position: relative;
  top: 7px;

  display: flex;
  align-items: center;
}

#profile .profile_wrapper #post-new form[method='post']:not(#messages) .checkfield input[type='checkbox']:checked {
  background-size: 83%;
}

#profile .profile_wrapper::before,
#profile form[method='post']::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: calc(100% - 2px);
  height: calc(100% - 2px);

  border: 1px solid var(--black-20);

  opacity: .3;
  z-index: 0;
  pointer-events: none;
}

#profile .profile_wrapper form[method='post']::before {
  display: none;
}

#profile #profilenav {
  width: 130px;
}

#profile #profilenav ul {
  display: flex;
  flex-direction: column;
  gap: 5px;

  font-family: var(--button-font);
  text-transform: uppercase;
  font-size: var(--size-12);
  letter-spacing: .5px;

  padding: 5px 10px;
}

#profile #profilenav a {
  color: var(--text-color);
}

#profile #profilenav .isactive a {
  position: relative;
  color: var(--link-color);
}

#profile #profilenav .isactive a::before,
#profile #profilenav .isactive a::after {
  position: absolute;
  content: '';
  bottom: -1px;
  right: -3px;
  width: 100%;
  height: 1px;
  background: var(--link-color);
  z-index: -1;
  transition: var(--transition-2);
}

#profile #profilenav a:hover {
  color: var(--link-hover-color);
}

#profile #profilenav .isactive a:hover {
  color: var(--link-color);
}

#profile #profilenav .isactive a:hover::after {
  left: 3px;
  right: auto;
  width: 100%;
  background: var(--link-hover-color);
}

#profile .profile_wrapper.new_mess .fieldsets_wrapper,
#profile .edit_profile,
#profile .fieldsets_wrapper.messages_wrapper,
#profile .fieldsets_wrapper#profileContainer {
  width: calc(100% - 130px);
  margin-top: -16px;
}

#profile .fieldsets_wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#profile .fieldsets_wrapper fieldset {
  margin: 0;
}

#profile .fieldsets_wrapper:not(.messages_wrapper) fieldset a {
  font-weight: 500;
}

#profile .avatar_settings {
  display: flex;
  gap: 20px;
}

#profile .avatar_wrapper {
  z-index: 1;
}

#profile .avatar_wrapper::before,
#profile .avatar_wrapper::after {
  border-color: var(--bg-nav);
}

#pun-upavatar .fieldset_legend {
  margin: 3px 0 0;
}

#profile #form-buttons {
  margin-top: -15px;
}

#profile #main-reply {
  margin-top: 10px;
}

.parsedsig {
  margin: 10px 0 30px;
}

.parsedsig dt {
  display: none;
}

.short_code + .inputfield .label {
  font-size: var(--size-12);
  font-family: var(--code-font);
  text-transform: lowercase;
}

#profile10 #uploaded-count-block {
  font-family: var(--code-font);
  text-transform: uppercase;
  font-size: var(--size-9);
  letter-spacing: .5px;
}

#setmods dl dl {
  background: var(--bg-main);
  padding: 5px 10px;
}

#setmods dl dl:not(:last-child) {
  margin-bottom: 5px;
}

#setmods dt {
  border-bottom: 1px dashed var(--light-gray);
  padding: 5px 0;
}

#setmods dd {
  margin: 5px 0 0;
}

#profile #birthday .input {
  display: flex;
  gap: 7px;
}

#profile #title em {
  display: block;

  font-style: normal;
  text-transform: lowercase;

  margin-top: 5px;
}

#profile .submitfield {
  margin-bottom: 0;
}


/***** Search *****/

#pun-search #pun-main #punbbsearch {
  display: flex;
  flex-direction: column;
  gap: 5px;

  margin-top: 20px;
}

#pun-search #pun-main #punbbsearch fieldset {
  margin-top: 0;
}

#pun-search #pun-main #punbbsearch .infofield {
  width: 100%;
}

#pun-search #pun-main #punbbsearch .formsubmit {
  margin-top: 5px;
}


/***** Fond *****/

#pun-mod #pun-main .section .container,
#pun-foundation #pun-main .section .container {
  background: none;
  border: none;
  padding: 0;

  margin-top: 10px;
}

#pun-mod #pun-main .section .info .container,
#pun-foundation #pun-main .section .info .container {
  margin-top: 0;
}

#pun-mod #pun-main .tcl:first-child,
#pun-foundation #pun-main .tcl {
  width: 25%;
  text-align: left;
  font-family: var(--code-font);
}

#pun-mod #pun-main .tcl:nth-child(2) {
  width: 25%;
  text-align: left;
  text-transform: lowercase;

  padding-left: 10px;
}

#pun-foundation #pun-main .tc2,
#pun-foundation #pun-main .tc3:nth-child(3) {
  text-align: center !important;
}

#pun-mod #pun-main .tc3,
#pun-foundation #pun-main .tc3 {
  width: 50%;
  text-align: right;
}

#pun-mod #forum-foundation th,
#pun-foundation #forum-foundation th {
  text-align: center;
}

#pun-mod #forum-foundation td,
#pun-foundation #forum-foundation td {
  width: calc(100% / 2);
  text-align: center;
}


/***** Messages *****/

#profile .messages_wrapper .post .container::before {
  display: none;
}

#profile .fieldsets_wrapper.messages_wrapper fieldset {
  padding: 20px 20px 15px 12px;
}

#profile .messages_wrapper .post .post_image {
  top: 15px;
  left: -12px;
  background: var(--forum);
}

#profile .messages_wrapper .post-author {
  top: 20px;
  width: 190px;
  padding-left: 0;
}

#profile .messages_wrapper .pa-avatar {
  min-width: 150px;
}

#profile .messages_wrapper .pa-avatar img {
  max-width: 154px;
}

#profile .messages_wrapper .avatar_wrapper::before,
#profile .messages_wrapper .avatar_wrapper::after {
  border-color: var(--more);
}

#profile .messages_wrapper .post .container {
  background: none;
  margin-top: 12px !important;
}

#profile .messages_wrapper .post h3 {
  position: absolute;
  top: 15px;
  right: 20px;

  width: calc(100% - 32px);
  text-align: right;

  padding: 0 0 13px;
}

#profile .messages_wrapper .post .post-body {
  right: 0;
  width: calc(100% - 197px);
  background: none;
  border: none;
  padding: 13px 0 0 6px;
}

#profile .messages_wrapper .post .post-content {
  padding-bottom: 0;
}

#profile .post .post_image::before {
  bottom: -140px;
}

#profile .messages_wrapper .post .post-links {
  justify-content: flex-end;
  width: 100%;
  padding: 10px 0 0;
}

#profile .messages_wrapper .post .post-links ul {
  display: flex;
  gap: 15px;
}

#profile .fieldsets_wrapper.messages_wrapper fieldset + form fieldset {
  background: none;
  border: none;
  padding: 0;
}

#profile .messages_wrapper #form-buttons {
  margin-top: 0;
}

#profile .messages_wrapper #form-buttons td#button-sticker {
  display: block;
}

#pun-messages #pun-main #messages table {
  padding: 0;
}

#profile .fieldsets_wrapper #messages.main_mess fieldset {
  padding: 33px 0 0;
}

#pun-messages #pun-main .fieldsets_wrapper #messages.main_mess tbody {
  border: none;
}

#pun-messages #pun-main #messages table::before {
  display: none;
}

#pun-messages .tcl.pmtcl1 strong {
  font-weight: 400;
  font-family: var(--button-font);
  text-transform: uppercase;

  pointer-events: none;
}

#pun-messages .tcl.pmtcl1 strong a::before {
  position: absolute;
  content: '';
  bottom: -1px;
  right: -3px;
  width: 100%;
  height: 1px;
  background: var(--link-color);
  z-index: -1;
  transition: var(--transition-2);
}


/***** New/Edit post *****/

#pun-post #post-form,
#pun-edit #post-form {
  margin-top: 21px;
}

#pun-post #post-form input#fld3 {
  width: calc(100% - 105px);
}

#pun-post #post-form #newFunc {
  pointer-events: none;
}

#pun-post #post-form #newFunc * {
  pointer-events: all;
}

#pun-post #post-form #tags + .longinput {
  margin-bottom: 0;
}

#pun-post #post-form #tags + .longinput + .areafield {
  margin-top: 0;
}

#pun-post #post-form .bottom_form {
  margin-top: 0;
  width: 100%;
}

#pun-post .checkfield + .longinput {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#pun-post .checkfield + .longinput label {
  width: 100%;
}

#pun-post .post .container {
  align-items: flex-start;
  padding: 7px 0 7px;
}

#pun-post .post-author {
  position: sticky;
  top: 69px;

  width: 216px;
  background: var(--profile);

  padding-left: 0;
  margin-left: 8px;
  margin-top: 2px;
}

#pun-post .post-author p {
  margin: 0;
}

.punbb .post {
  scroll-margin-top: 60px;
}

#pun-post.punbb .post h3 {
  top: 23px;
}

#pun-post .post h3 span {
  display: flex;
  justify-content: space-between;
}

#pun-post .post h3 span strong {
  order: 2;
}

#pun-post .post .post-body {
  margin-top: -15px;
}

#pun-post .post .container {
  margin-top: -10px;
}

#pun-edit #post-form .input a {
  text-transform: uppercase;
  font-family: var(--code-font);
  font-size: var(--size-9);
  letter-spacing: .5px;
}

#pun-edit #post-form .history_posts_list p {
  text-transform: lowercase;
}

#pun-edit .history_selected_diff {
  font-size: var(--size-13);
}

#post-preview {
  margin: 0 auto 21px;
}

#post-preview .post-box {
  max-width: 688px;
  font-size: var(--size-13);
  text-align: justify;
  line-height: 1.4;

  margin: 0 auto;
}


/***** Mod themes *****/

#pun-mergeposts form,
#pun-deleteposts form,
#pun-movetopic form {
  margin-top: 21px;
}

#pun-multimegre .post .post-links,
#pun-multidelete .post .post-links,
#pun-multimove .post .post-links {
  justify-content: flex-end;
}

#pun-multimegre .modmenu .container,
#pun-multidelete .modmenu .container,
#pun-multimove .modmenu .container {
  justify-content: center;
  gap: 5px;
  width: max-content;
  margin: 15px auto 0;
}

#pun-multimegre .modmenu .container strong,
#pun-multidelete .modmenu .container strong,
#pun-multimove .modmenu .container strong {
  order: 0;
  display: block;

  width: 100%;

  text-align: center;
  font-family: var(--code-font);
  font-weight: 400;
}

#pun-deleteposts form .infofield {
  font-size: var(--size-12);
  margin: 15px 0 5px;
}

#pun-mergeposts form fieldset p {
  margin: 15px 0 0;
}

#pun-mergeposts form textarea {
  min-height: 60px;
}

.punbb#pun-multimove #move_posts_form .formsubmit {
  padding: 0;
  margin: 10px 0 0;
  text-align: right;
}

.punbb#pun-multimove #SubmitMPst {
  margin: 0 auto;
  border-color: var(--bg-body);
}

.punbb#pun-multimove #move_posts_form {
  margin-top: -7px;
  z-index: 1;
  position: relative;
  overflow: auto;
}

.punbb#pun-multimove .move_posts_form .modal-inner > .container {
  overflow: unset;
}

.punbb #move_posts_form .formal > form.container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.punbb#pun-multimove .move_posts_form fieldset {
  padding-top: 36px;
}

.move_posts_form fieldset#PMove_1 .fs-box {
  display: flex;
  gap: 10px;
}

.punbb#pun-multimove .move_posts_form fieldset {
  margin: 0;
}

.pgl,
.forum_name {
  font-weight: 400;
  text-transform: lowercase;
  font-family: var(--code-font);
  font-size: var(--size-10);
}

.pgl strong,
.forum_name strong {
  font-weight: 400;
}