/******** Import Styles ********/

/* fonts */
@import url('https://forumstatic.ru/files/001b/de/7b/31200.css?v=1');
/* root */
@import url('https://forumstatic.ru/files/001b/de/7b/39842.css?v=10');
@import url(style_cs.1765749459.css);
/* red */
@import url('https://forumstatic.ru/files/001b/de/7b/22342.css?v=70');

/* icons */
@import url('https://forumstatic.ru/files/001c/30/52/21092.css?v=2');

/* Ïëàøêà */
@import url('https://forumstatic.ru/files/001b/de/7b/14886.css?v=4');

/* Birthday
@import url('https://forumstatic.ru/files/001a/fd/a5/53834.css?v=2');*/

/* Birthday Hui
@import url('https://forumstatic.ru/files/001a/fd/a5/65361.css?v=1'); */

/* Snow
@import url('https://forumstatic.ru/files/001a/fd/a5/34374.css?5');

#snow {
    position: fixed;
    height: 100%;
    z-index: 0;
} */

/* Hearts
@import url('https://forumstatic.ru/files/001a/fd/a5/78626.css?6'); */

/* Money;
@import url('https://forumstatic.ru/files/001b/de/7b/87677.css?10'); */


/******** Main ********/

#pun_wrap {
  padding-top: 50px;
}

#pun {
  position: relative;

  width: 1085px;
  background: var(--bg-main);

  padding: 0 28px;
  margin: 0 auto;

  box-sizing: border-box;
  border-radius: 16px;
  z-index: 1;
}

#pun.works {
  background: none;
}

.punbb {
  position: relative;

  display: block;
  flex-direction: column;

  width: 100%;

  margin: 0 auto;

  box-sizing: border-box;
}

html.punbb {
  display: block;
}


/* Order */

#pun-navlinks {
  order: 1;
}

#pun-ulinks {
  order: 2;
}

#html-header {
  order: 3;
}

#pun-status {
  order: 4;
}

#pun-crumbs1 {
  order: 5;
  z-index: 2;
}

#pun-main,
#pun-admain {
  order: 6;
}

#pun-stats {
  order: 7;
}

#pun-crumbs2 {
  order: 8;
}

#pun-about {
  order: 9;
}

#html-footer {
  order: 10;
}


/******** List ********/

ul.container {
  padding-left: 0;
}

ul li {
  list-style: none;
}

.post .post-content ul {
  padding: 0;
  margin: 20px 0;
}

.post-content ul li {
  position: relative;
  list-style: none !important;

  margin-bottom: 10px !important;
  padding-left: 16px;
}

.post-content ul li p:first-child,
.post .post-content ul:first-child {
  margin-top: 0;
}

.post-content ul li p:last-child {
  margin-bottom: 0;
}

.post-content ul li:last-child,
.post .post-content ul:last-child {
  margin-bottom: 0 !important;
}

.post-content ul li::before {
  position: absolute;
  content: '';
  top: 6px;
  left: 0;
  width: 6px;
  height: 6px;
  z-index: 1;
  color: var(--accent);
  background: var(--accent-2);
}


/******** Navigation ********/

#pun-navlinks {
  position: absolute;

  top: -43px;
  left: 0;

  background: none;

  z-index: 999;
}

#pun-navlinks.scroll {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 1085px;
  background: var(--bg-main);
  margin: 0 auto;
  height: 38px;
  padding: 7px 0 0;
  border-bottom: 1px solid var(--border-quote);
}

#pun-ulinks.scroll {
  position: fixed;
  top: 26px;
  left: 0;
  right: 0;
  max-width: 1085px;
  margin: 0 auto;
  padding: 0;
  z-index: 9999;
}

#pun-navlinks.scroll ul, #pun-ulinks.scroll ul {
  justify-content: center;
}

#pun-navlinks.scroll ul {
  justify-content: center;
  width: 100%;
  top: 0;
  left: 0;
}

#pun-navlinks.scroll ul a {
  font-size: var(--size-12);
}

#pun-ulinks.scroll ul {
  width: 100%;
  left: 0;
  top: 0;
}

#pun-navlinks.scroll ul li a {
  background: none;
  border: none;
  color: var(--accent);
  padding: 0;
}

#pun-navlinks.scroll ul li a:hover,
#pun-ulinks.scroll ul li a:hover {
  color: var(--accent);
}

#pun-ulinks {
  position: relative;

  top: -130px;

  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;

  z-index: 2;
}

#pun-navlinks ul,
#pun-ulinks ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  line-height: 1;

  margin: 0;
}

#pun-navlinks ul {
  position: relative;
  top: -11px;
  left: 74px;

  justify-content: flex-start;
  gap: 10px;

  width: max-content;
}

#pun-ulinks ul {
  width: 360px;
  justify-content: flex-start;
  position: relative;
  left: 581px;
  top: 24px;
  line-height: 1.5;
  gap: 3px 5px;
}

#pun-navlinks ul li,
#pun-ulinks ul li {
  line-height: 1;
}

#pun-ulinks ul li {
  font-size: var(--size-12);
  text-transform: lowercase;
  margin: 0 5px;
}

#pun-ulinks ul li a {
  color: var(--accent-link);
  font-weight: 400;
}

#pun-ulinks ul li a:hover {
  color: var(--accent-2);
}

/******** Login/Reg ********/

#pun-status {
  position: relative;

  text-align: left;
  font-size: var(--size-10);
  text-transform: lowercase;

  margin-top: -80px;

  z-index: 2;
}

.punbb-admin #pun-status {
  margin-top: -10px;
}

.punbb-admin #pun-crumbs1 {
  margin-bottom: 10px;
}

#pun-status p {
  margin: 0;
}


/******** Category ********/

.category,
#pun-stats {
  position: relative;

  padding: 0;
  margin-bottom: 50px;

  box-sizing: border-box;
}

.linkst + .category .container {
  max-width: 100%;
}

.linkst + .category .container .tcr span.lastpost,
.linkst + .category .container .tcr a.lastpost-link {
  text-align: left;
}

.category .container {
  width: 100%;
  max-width: 100%;
  height: auto;

  margin: 0 auto;
}

.category {
  transition: var(--transition);
  max-height: 1000px;
  overflow: hidden;
}

.category.hide {
  max-height: 52px;
}

.category table {
  width: 100%;
}

#pun-stats {
  margin-bottom: 5px;
}

.category:nth-child(2) {
  margin-top: 15px;
}

.pun-modal h2,
.overlay_modal h2,
#pun-main.multipage h1,
#pun-main #MyBookmarks h2,
#pun-main #MyBookmarks h1,
.punbb #mask_dialog .hv-mask-dialog-title,
.category h2,
#pun-stats h2 {
  display: flex;
  align-items: center;

  position: relative;

  max-width: 100%;
  width: 100%;
  height: 48px;
  background: var(--category), no-repeat;
  background-size: cover;

  text-align: center;
  font-size: var(--size-32);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: var(--up-down);
  font-family: var(--accent-font-2);

  border-radius: 0;

  margin: 0 auto;
  padding: 0 0 3px 123px;
  box-sizing: border-box;

  overflow: hidden;
  z-index: 1;
}

.punbb #pun-main .pun-modal.unread-notifications .section h2,
.overlay_modal h2,
.punbb #mask_dialog .hv-mask-dialog-title,
#pun-main.multipage h1 {
  font-family: var(--accent-font);
  position: relative;
  padding: 6px 0 2px 15px;
  font-size: var(--size-14);
  background-position: 50%;
}

.category h2 {
  cursor: pointer;
}

.category h2 span {
  position: relative;
  pointer-events: none;
}

.category h2 span::before {
  position: absolute;
  top: 50%;
  left: -25px;
  font-size: var(--size-15);
  font-style: italic;

  transform: translateY(-50%);
}

#pun-category1.category h2 span::before {
  content: '00.'
}

#pun-category2.category h2 span::before {
  content: '01.'
}

#pun-category3.category h2 span::before {
  content: '02.'
}

#pun-category4.category h2 span::before {
  content: '03.'
}

#pun-category5.category h2 span::before {
  content: '04.'
}

#pun-category6.category h2 span::before {
  content: '05.'
}

#pun-category7.category h2 span::before {
  content: '06.'
}


.category h2 .description,
#pun-stats h2 .description {
  position: relative;
  display: none;
  max-width: 100%;
  margin: 0 auto;
}

.category thead {
  display: none;
}

.category tr {
  display: flex;
  justify-content: space-between;

  padding: 0;
  margin-bottom: 0;
  box-sizing: border-box;
}

#pun-index .category tr {
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  border-top: none;
  align-items: flex-start;
}

#pun-index .category tr .tclcon .subforums {
  order: 3;
  text-transform: lowercase;
  font-weight: 700;
  padding: 20px 0 0;
}

#pun-index .category tr .tclcon .subforums em {
  font-weight: 700;
  font-style: normal;
}

#pun-index .category tr .tclcon .subforums a {
  font-weight: 400;
}

#pun-index .category tr#forum_f7 .tclcon .podfl {
  bottom: -30px;
}

.category tr:last-child {
  margin-bottom: 0;
}


.category .tcl {
  position: relative;
  width: 64%;
  min-width: 646px;
  line-height: 1;
}

#pun-index .category .isub .tcl {
  padding-left: 0 !important;
}

.main .tcl {
  position: relative;
}

.main .tcl .info {
  order: 2;
  position: relative;

  box-sizing: border-box;
}

.forumbanners {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  position: relative;
  top: 7px;
}

.main .tcl .info p {
  font-size: var(--size-10);
  text-align: justify;
  line-height: 1.1;

  margin: 0;
}

.main .tcl .podfl {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 5px;

  width: auto;
  background: none;

  margin-top: 12px;
  padding: 0;
}

.main .tcl .podfl:empty {
  display: none;
}

.main .tcl .podfl a {
  position: relative;
  display: inline-block;

  background: var(--accent);

  color: var(--white);
  font-family: var(--accent-font);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  font-size: var(--size-10);
  text-transform: uppercase;

  border-radius: 10px;

  padding: 6px 10px 3px;
}

.main .tcl .podfl a:hover {
  background: var(--accent-2);
  color: var(--white);
}

.main .tcl .info .forumbanners a {
  position: relative;
  display: inline-block;
}

.main .tcl .info .forumbanners a:hover::before {
  opacity: 0;
}

.main .tcl .info .forumbanners img {
  display: block;
  border-radius: 5px;
  transition: var(--transition);
  filter: grayscale(1);
}

.main .tcl .info .forumbanners img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.main .tcl .intd {
  display: flex;
  justify-content: flex-start;
}

.main.multipage .tcl .intd {
  justify-content: flex-start;
}

.main .tcl .icon {
  position: absolute;
  top: 0;
  left: -1px;

  width: 82px;
  height: 100%;
  min-height: 96px;
  background: var(--old);
  background-position: 50% 19%;
}

.main .tcl .tclcon {
  position: relative;

  width: 100%;
  text-align: justify;

  margin-left: 6px;
  padding: 0;

  box-sizing: border-box;
}

.main .category .tcl .tclcon {
  display: flex;
  flex-direction: column;
  margin-left: 0;
  padding: 20px 20px 20px 102px;
}

.main .category .inew {
  background: var(--new);
  background-position: 50% 29%;
}

#messages table .tcl .icon,
.main .forum .tcl .icon {
  width: 6px;
  height: 31px;
  min-height: auto;
  margin: 0;
}

.category .tcl h3 {
  order: 1;
  position: relative;

  font-family: var(--accent-font);
  font-size: var(--size-18);
  font-weight: 600;
  color: var(--accent-link);
  text-transform: lowercase;

  margin: 0 0 5px;
}

.category .tcl h3 a {
  color: var(--accent-link);
}

.category .tcl h3 a:hover {
  color: var(--accent-2);
}

.category .inew .tcl h3 a {
  color: var(--accent-2);
}

.category .inew .tcl h3 a:hover {
  color: var(--accent);
}


.category .tcr {
  position: relative;
  top: 16px;
  display: grid;
  grid-template-areas: "ava link" "ava name";
  justify-content: flex-start;

  min-width: 290px;
  max-width: 290px;
  padding: 20px 10px;
}

.category .tcr,
.category .tcr a {
  line-height: 1
}

.category .tcr a.lastpost-link {
  display: block;
  grid-area: link;
  align-self: center;

  font-size: var(--size-14);
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: 0;

  padding-top: 4px;
}

.category .tcr a.lastpost-link {
  color: var(--accent-link);
}

.category .tcr a.lastpost-link:hover {
  color: var(--accent-2);
}

.category .tcr span.lastpost {
  display: inline-block;
  margin-top: 1px;
  grid-area: name;

  font-size: var(--size-12);
  text-transform: lowercase;
}


html body .punbb .user-avatar {
  grid-area: ava;
  display: flex;
  align-items: center;

  width: 33px;
  height: 33px;

  margin-right: 13px;
}


body .punbb .user-avatar a {
  position: relative;
  display: block;

  height: 31px;
  background: var(--accent) !important;

  border: none;
  border-radius: 50%;
}

html body .punbb .user-avatar .avatar-image {
  width: 31px;
  height: 31px;

  border-radius: 50%;

  transition: var(--transition);
  filter: grayscale(1);
  opacity: 1;
}

html body .punbb .user-avatar.no-avatar .avatar-image {
  background-image: url('https://forumstatic.ru/files/001a/fd/a5/68657.png') !important;
}

html body .punbb .user-avatar .avatar-image:hover {
  filter: grayscale(0);
}

body .punbb .user-avatar .isonline {
  top: 50%;
  right: 0;
  left: 0;

  width: 6px;
  height: 6px;
  background: var(--border-quote);

  border-radius: 0;

  margin: 0 auto;
  transform: translateY(-50%);
}


/* Statistics */

#pun-stats .statscon {
  background: var(--bg-post);
  border: 1px solid var(--border-quote);

  font-size: var(--size-12);
  line-height: 1.3;
  text-transform: lowercase;

  max-width: 100%;

  padding: 20px;
  margin: 0 auto;
}

#pun-stats ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  margin: 0;
}


#pun-stats ul li:not(#onlinelist) {
  width: 49%;
}

#pun-stats ul li:not(#onlinelist) span {
  font-weight: 400;
}

#pun-stats ul li.item4 strong {
  font-weight: 400;
}

#pun-stats ul li#onlinelist {
  width: 100%;
  text-align: justify;
}

#pun-stats ul li#onlinelist a:first-child {
  font-weight: 700;
}

#pun-stats ul li#onlinelist span a,
#pun-stats ul li#onlinelist span a:first-child {
  font-weight: 500;
}

#pun-stats ul li.item1 {
}

#pun-stats ul li.item2 {
  text-align: right;
}

#pun-stats ul li.item3 {
}

#pun-stats ul li.item4 {
  text-align: right;
}

#pun-stats ul li.item5 {
}

#pun-stats ul li.item6 {
}

#pun-stats ul li.onlinelist {
  margin: 20px 0;
}

#pun-stats ul li a,
#pun-stats ul li.item4 a:hover {
  color: var(--txt-quote);
  letter-spacing: 0;
}

#pun-stats ul li a:hover,
#pun-stats ul li.item4 a {
  color: var(--accent-2);
  text-transform: lowercase;
}

#pun-stats ul li.item4 a {
  font-family: var(--accent-font);
  font-size: var(--size-14);
  font-style: italic;
  text-transform: lowercase;
}

#pun-stats ul li#onlinelist.birthday {
  margin-top: 30px;
  font-weight: 700;
}

#pun-stats ul li#onlinelist.birthday strong,
#pun-stats ul li#onlinelist.birthday a {
  font-weight: 400;
}


/******** Banners **********/

#html-footer {
  position: relative;
  padding-bottom: 0;
}

.copyright h3 {
  display: none;
  text-transform: uppercase;
  font-style: italic;
  font-size: var(--size-10);
  font-family: var(--accent-font);
  font-weight: 600;

  margin: 0;
}

.footer_wrap {
  width: calc(100% + 56px);
  height: 181px;
  background: var(--footer);
  background-size: cover;

  border-radius: 0 0 15px 15px;
  padding: 42px 0 0;
  box-sizing: border-box;
  margin-left: -28px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;

  max-width: 493px;
  height: 105px;

  margin: 0 0 0 36px;

  overflow-y: auto;
}

.footer a {
  position: relative;
  display: inline-block;
  margin: 0;
}

.footer a::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  z-index: 2;
  mix-blend-mode: soft-light;
  transition: var(--transition);
  pointer-events: none;
}

.footer a:hover::before {
  opacity: 0;
}

.footer img {
  display: block;
  border-radius: 5px;
  transition: var(--transition);
  opacity: .7;
}

.footer img:hover {
  opacity: 1;
}


/* Forum/Active-new messages */

#pun-searchtopics .main .forum .container,
#pun-viewforum .main .forum .container,
#pun-respect .main .forum .container,
#pun-positive .main .main .forum .container,
#pun-modviewforum .main .forum .container,
#pun-userlist .main .container {
  background: none;
  border: none;
  padding: 0;
}

#pun-respect #pun-main.multipage h1,
#pun-positive #pun-main.multipage h1 {
  font-family: var(--accent-font);
}

#pun-searchtopics .forum .container table,
#pun-viewforum .forum .container table,
#pun-respect .container table,
#pun-positive .container table,
#pun-modviewforum .forum .container table,
#pun-userlist .container table,
#pun-online .container table,
#pun-messages .container table,
#filetable {
  width: 100%;

  font-size: var(--size-12);

  border-collapse: separate;
  border-spacing: 0;
}

#filetable {
  border-spacing: 0;
}

#pun-respect .container table,
#pun-positive .container table {
  border-spacing: 0 5px;
}

#pun-profile #filetable {
  border-spacing: 0 4px;
}

#pun-viewforum #pun-main {
}

#pun-viewforum #pun-main .linkst,
#pun-viewforum #pun-main .linksb {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 20px 0;
}

#pun-viewforum #pun-main .linksb {
  padding: 0 5px 10px;
}

#pun-viewforum #pun-main .modmenu {
  padding: 0 5px;
}

#pun-viewforum #pun-main .forum {
  padding: 0 20px;
}

#pun-modviewforum .forum .container table,
#pun-viewforum .forum .container table,
#pun-searchtopics .forum .container table {
  border-spacing: 0 5px;
}

#pun-messages .container table.short_code {
  font-size: var(--size-10);
}

#pun-message #pun-main .info {
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  padding: 18px;
  margin-bottom: 15px;
}

#pun-searchtopics .forum .container tbody tr,
#pun-viewforum .forum .container tbody tr,
#pun-respect .container tbody tr,
#pun-positive .container tbody tr,
#pun-modviewforum .forum .container tbody tr,
#pun-userlist .container tbody tr,
#pun-online .container tbody tr,
#filetable tbody tr {
  background: none;
}

#filetable tbody tr .tcl {
  padding-left: 0;
}

#pun-messages .container tbody .tcl {
  padding-left: 0;
}

#pun-profile #uploaded-count-block {
  text-transform: lowercase;
  padding: 8px .5em 0 0;
}

#pun-messages .post-links ul li.pl-reply {
  margin-right: 10px;
}

#pun-messages .container tbody tr .tcl a,
#pun-messages .container tbody tr .pmtc22 a {
  position: relative;
  color: var(--txt-main);
  z-index: 1;
}

#pun-messages .container tbody tr .tcl strong a,
#pun-messages .container tbody tr.inew .tcl a {
  font-weight: 700;
  color: var(--accent-2);
}

#pun-messages .container tbody tr .tcl strong a:hover,
#pun-messages .container tbody tr.inew .tcl a:hover,
#pun-messages .container tbody tr.inew .pmtc22 a:hover,
#pun-messages .container tbody tr .tcl a:hover,
#pun-messages .container tbody tr .pmtc22 a:hover {
  color: var(--accent);
}

#pun-messages .container tbody .pmtc22 {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}


#pun-messages .container tbody .pmtc24 {
  padding-right: 0 !important;
  text-align: right;
}

#pun-userlist .container tbody .tcl,
#pun-online .container tbody .username {
  line-height: 1.2;
}

#pun-userlist .container tbody .tc2.user_title {
  text-transform: lowercase;
}

#pun-userlist .main .container,
#pun-online .main .container {
  padding: 0;
}

#pun-userlist .container tbody .last_visit,
#pun-online .container .tc3 {
  font-size: var(--size-9);
  text-transform: uppercase;

  padding-right: 0;
}

.tcmod {
  width: 5%;
  padding-top: 5px;
}

#pun-viewtopic #pun-main.multipage h1 {
  left: 0;
  width: 100%;
  max-width: 100%;
}

#pun-viewtopic #pun-main.multipage {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

#pun-messages #pun-main,
#pun-profile #pun-main,
#pun-search #pun-main {
  padding: 0;
}

#pun-message h1 {
  display: none;
}

#pun-userlist .usertable,
#pun-main.multipage .online-list {
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  padding: 10px 20px 20px;
}

body .punbb#pun-userlist .usertable .user-avatar a {
  border-width: 2px;
}

#pun-post #tags + .inputfield.longinput {
  display: grid;
  grid-template-areas:
        "name name"
        "input buttons";
  gap: 0 15px;
  align-items: center;
  grid-template-columns: calc(100% - 120px) 100px;

  margin-top: 10px;
}

#pun-post .main h1 {
  text-align: center;
  position: relative;
}

#pun-post.punbb .topic {
  margin-bottom: 50px;
}

#pun-post.punbb .post-author {
  padding: 15px 0 12px;
  box-sizing: border-box;
  margin-top: -28px;
}

#pun-post.punbb .post .container {
  align-items: flex-start;
}

#pun-post.punbb .post-author .pa-author {
  position: relative;
  left: 0px;
  width: 100%;
  font-size: var(--size-18);
  font-family: var(--accent-font);
  text-align: center;
  color: var(--body-bg);
  line-height: 1;
  font-weight: 600;
  box-sizing: border-box;
  margin: 0px;
  padding: 2px 10px;
}

.punbb #mask_dialog .hv-mask-dialog-title {
  margin: 0 auto 20px;
}

.forum .container {
  border-radius: 0;

  margin: 20px 0;

  box-sizing: border-box;
}

#pun-message .main .container {
  text-align: center;
}

.forum table {
  width: 100%;
}

.forum table tbody tr.inew .tcl strong {
  font-weight: 400 !important;
}

.forum table tbody tr.inew .tcl .acchide + a {
  color: var(--accent);
}

.forum table tbody tr.inew .tcl .acchide + a:hover {
  color: var(--accent-2);
}

.forum table th,
.forum table th.tcr,
.online-list table th,
#pun #pun-online .online-list th.username,
#pun #pun-online .online-list th.action,
.usertable table th,
#pun-respect table th,
#pun-respect table th.tc3:nth-child(4),
#pun-positive table th,
#pun-positive table th.tc3:nth-child(4),
#filetable th,
#profileContainer th,
#messages th,
#pun-edit th,
.Select_Topics th,
html .punbb .table_GamePosts tbody th {
  font-weight: 400;
  font-size: var(--size-8);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;

  padding: 10px 5px;

  opacity: .7 !important;
  box-sizing: border-box;
}

.forum table th:first-child,
.online-list table th:first-child,
.usertable table th:first-child,
#pun-respect table th:first-child,
#pun-positive table th:first-child,
#filetable th:first-child,
#profileContainer th:first-child,
#pun-edit th:first-child,
html .punbb .table_GamePosts tbody th:first-child {
  text-align: left;
  padding-left: 0;
}

#messages th:first-child {
  text-align: left;
  padding-left: 0;
}

.forum table th:last-child,
.online-list table th:last-child,
.usertable table th:last-child,
#pun-respect table th:last-child,
#pun-positive table th:last-child,
#filetable th:last-child,
#profileContainer th:last-child,
#messages th:last-child,
#pun-edit th:last-child,
html .punbb .table_GamePosts tbody th:last-child {
  text-align: right;
  padding-right: 0;
  text-transform: uppercase;
}

.Select_Topics th:first-child {
  text-align: left;
  padding-left: 0;
}

.Select_Topics th:last-child {
  text-align: right;
  padding-right: 0;
}

html .punbb .table_GamePosts tbody th {
  background: none !important;
  transition: var(--transition);
}

html .punbb .table_GamePosts tbody th:hover {
  color: var(--accent);
}

.forum table th.tc2,
.forum table th.tc3 {
  font-size: var(--size-8);
}

.forum table .tcl {
  width: 40%;
  text-align: left;
  line-height: 1.2;

  padding: 0;
}

.forum table .tcl .polltext {
  text-transform: lowercase;
}


.forum table .tcl .icon,
#messages table .tcl .icon {
  background: none;
  min-height: auto;
  top: auto;
}

.forum table .tcl .tclcon,
#messages table .tcl .tclcon {
  width: calc(100% - 30px);
  padding: 5px 10px;
  margin: 0;
  text-align: left;
}

.main .forum table .tcl .icon::before,
#messages table .tcl .icon::before {
  position: relative;
  top: 6px;
  left: 0;
  font: menu;
  background: none;
  line-height: .9;
  font-size: var(--size-14);
}

#messages table .tcl .tclcon::before {
  margin-right: 14px;
}

.forum table .inew .tcl .icon::before,
#messages table .inew .tcl .icon::before {
  content: '\2135';
  color: var(--accent);
}

.forum table .isticky .tcl .icon::before,
#messages table .isticky .tcl .icon::before,
.forum table .iclosed .tcl .icon::before,
#messages table .iclosed .tcl .icon::before {
  content: '\2135';
}

.main .forum .tcl .icon {
  top: auto;
  background: none;
  margin-bottom: 0;
}

#messages table tr.inew .tcl .tclcon::after,
.main .forum tr.inew .tcl .tclcon::after {
  display: none;
}

.forum table .tc2,
.forum table .tc3 {
  width: 15%;
  font-size: var(--size-8);
  text-align: center;
  text-transform: uppercase;
}

.forum table .tcr {
  width: 20%;
  text-align: right;
}

#pun-modviewforum .forum table .tcr {
  text-align: right;
  padding-right: 0;
}

#pun-modviewforum .tcmod {
  text-align: right;
}

.forum table tbody .tcr {
  display: grid;
  width: calc(100% - 15px);

  grid-template-columns: calc(100% - 33px) 33px;
  grid-template-areas:
              "last ava"
              "user ava";
  align-items: center;
  text-align: right;


  padding: 1px 0;
  margin-left: auto;
}

.forum .tcr .user-avatar {
  grid-area: ava;
  margin: 0;
  float: none;
}

.forum .tcr .user-avatar a {
  margin-right: 0;
  border-width: 2px;
}

.forum table .tcr a {
  grid-area: last;

  display: block;
  line-height: 1;

  padding-top: 5px;
  margin-right: 13px;
}

.forum .tcr .byuser {
  grid-area: user;
  line-height: 1;
  margin-right: 13px;
  margin-top: 0;
}

.forum table .tcl a,
.forum table .tc2 a,
.forum table .tcr a,
.forum table .inew .tcl a,
.forum table .inew .tc2 a {
  color: var(--accent-link);
}

.forum table .tcl a:hover,
.forum table .tc2 a:hover,
.forum table .tcr a:hover,
.forum table .inew .tcl a:hover,
.forum table .inew .tc2 a:hover,
.forum table .inew .tcr a:hover {
  color: var(--accent-2);
}

.forum table .tcr {
  text-transform: lowercase;
}

.forum table .inew .tcr a {
  color: var(--txt-main);
  font-weight: 600;
  font-size: var(--size-11);
}

.forum table .tcr a {
  font-size: var(--size-11);
}

.forum table .tcr a,
.forum table .tcl a {
  font-weight: 500;
}

.forum table .inew .tcr a,
.forum table .inew .tcl a {
  font-weight: 700;
}

.forum table .inew .tcl .pagestext a,
.forum table .inew .tcl .newtext a {
  font-weight: 400;
}

.forum table .tcr .byuser {
  margin-left: -2px;
  font-style: normal;
  font-size: var(--size-12);
}


.linkst {
  text-align: left;
}

.pagelink {
  text-align: left;
  text-transform: lowercase;
  margin: 10px 0;
}

.pagelink strong,
.pagelink a {
  display: inline-block;
  min-width: 20px;
  min-height: 20px;
  background: var(--bg-post);
  text-align: center;
  font-family: var(--accent-font);
  text-align: center;
  color: var(--accent);
  font-weight: 500;
  font-size: var(--size-11);
  border-radius: 5px;
  border: 1px solid var(--border-quote);
  padding: 3px 7px 0;
  box-sizing: border-box;
  transition: var(--transition);
}


.punbb-admin .pagelink strong,
.punbb-admin .pagelink a,
#pun-viewforum .pagelink strong,
#pun-viewforum .pagelink a,
#pun-searchtopics .pagelink strong,
#pun-searchtopics .pagelink a,
#pun-viewtopic .pagelink strong,
#pun-viewtopic .pagelink a,
#pun-userlist .pagelink strong,
#pun-userlist .pagelink a {
  padding-top: 4px;
}

#pun-userlist .pagelink a,
.linksb .pagelink a {
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
}

.pagelink strong {
  background: var(--accent-2);
  color: var(--white);
  border-color: var(--accent-2);
}

#pun-userlist .pagelink a:hover,
.linksb .pagelink a:hover,
.pagelink a:hover {
  background: var(--accent);
  color: var(--white) !important;
  border-color: var(--accent);
}

.pagelink strong {
  pointer-events: none;
}

.formal {
  padding: 0;
}

.main .postlink.long {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  text-transform: lowercase;

  box-sizing: border-box;
}

.modmenu {
  text-transform: lowercase;
  font-size: var(--size-11);
  letter-spacing: 1px;

  padding: 0;
}

.modmenu a {
  letter-spacing: 0;
}

.linkst,
.linksb {
  text-transform: lowercase;
  font-size: var(--size-11);
  padding: 0;
}

.modmenu .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;

  width: 100%;
  text-align: right;
}

.modmenu .container strong {
  width: 100%;
  margin-bottom: 10px;
}

.modmenu .container span {
  width: 100%;
}


/******** Online ********/

.online-list .container {
  margin-top: 0;
}

.online-list table,
.usertable table,
#pun-respect table,
#pun-positive table {
  width: 100%;
}

.online-list tr td {
  padding: 5px;
}

.online-list tr td:first-child {
  padding-left: 0;
}

.online-list tr td:last-child {
  padding-right: 0;
}

#pun #pun-online .online-list .username {
  width: 20%;
  text-align: left;

  font-size: var(--size-12);
  text-transform: lowercase;
}

#pun #pun-online .online-list .username a {
  color: var(--body-bg);
}

#pun #pun-online .online-list .username a:hover {
  color: var(--accent);
}

#pun #pun-online .online-list .action {
  width: 60%;

  text-align: center;
  font-size: var(--size-12);
  text-transform: lowercase;
}

#pun #pun-online .online-list th.username,
#pun #pun-online .online-list th.action {
  text-transform: uppercase;
}

#pun #pun-online .online-list .tc3 {
  width: 20%;
}

#pun #pun-online .online-list td.tc3 {
  text-align: right;

  font-size: var(--size-12);
  text-transform: lowercase;
}

.online-list th.tc3 {
  text-align: center;
}


/******** Users ********/

.usertable tbody .tcl {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.usertable tbody .last_visit {
  text-align: right;
}


/******** Topic ********/

.topic {
  text-align: left;
  margin-top: 10px;
}

.topic + .linksb {
  margin-top: 40px;
}

.container .post-content td,
.topic .post-content td {
  border: none !important;
  vertical-align: top;
}

.post {
  position: relative;
  width: 100%;
  scroll-margin-top: 62px;
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  margin-bottom: 5px;
  padding: 0 15px 15px;
  box-sizing: border-box;
}

.post .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.post-author {
  width: 223px;

  transform: scaleX(1);
  transition: var(--transition);
  transform-origin: top left;

  z-index: 2;
}

#pun-viewtopic .post.new_view .post-author {
  transform: scaleX(0) scaleY(0);
  height: 0;
}

#pun-viewtopic .post.new_view .post-author ul * {
  opacity: 0;
}

.post-body {
  width: calc(100% - 239px);

  font-family: var(--post-font);
  text-align: justify;

  padding-top: 10px;
}

.hide_profile .post-body {
  width: 100%;
}

#pun-viewtopic .post.new_view h3 {
  float: right;
  margin-bottom: 25px;
  margin-top: 8px;
}

#pun-viewtopic .post.new_view .post-body {
  width: 100%;
}

#pun-viewtopic .post.new_view h3 span strong {
  order: 4;
  background: var(--bg-main);
  padding: 10px 8px;
  line-height: 1;
}

#pun-viewtopic .post.new_view h3 {
  width: 78%;
}

#pun-viewtopic .post.new_view h3 span .permalink {
  order: 2;
  margin-left: 0;
  margin-right: auto;
  flex-grow: unset;
  background: var(--bg-main);
  padding: 10px 0 10px 8px;
  line-height: 1;
}

#pun-viewtopic .post.new_view h3 span {
  width: 100%;
}

#newFunc {
  order: 2;
  margin-left: auto;
  margin-right: 8px;
  z-index: 9;
}

#newFunc #changeFont .change_font__content {
  position: absolute;
  display: block;

  top: 24px;

  width: 119px;
  background: var(--bg-main);

  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: var(--transition);

  padding: 5px 10px 8px;
}

#pun-viewtopic .post.new_view h3 #newFunc #changeFont .change_font__content {
  top: 36px;
}

#newFunc #changeProfile.active,
#newFunc #changeFont.active a {
  background: var(--accent);
  color: var(--bg-main);
  border-color: var(--accent);
}

#newFunc #changeProfile.active:hover,
#newFunc #changeFont.active a:hover {
  background: var(--accent);
  color: var(--bg-main);
}

#newFunc #changeFont.active .change_font__content {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
}

#newFunc #changeFont span.change_font__content span {
  display: block;
  width: auto;
  text-align: center;
  text-transform: none;
  margin: 4px 0;
  transition: var(--transition);
  cursor: pointer;
}

#newFunc #changeFont span.change_font__content span:hover {
  color: var(--accent-2);
}

#newFunc #changeFont span.change_font__content span.active {
  color: var(--accent-2);
  pointer-events: none;
}

#pun-viewtopic .post.new_view h3 #newFunc {
  order: 3;
  background: var(--bg-main);
  padding: 5px 8px;
  margin-left: 0;
  margin-right: 0;
}

#newFunc a {
  position: relative;
  display: inline-block;

  width: 19px;
  height: 19px;
  background: var(--bg-main);

  text-align: center;
  color: var(--accent);
  font-size: var(--size-9);

  border-radius: 5px;
  border: 1px solid var(--border-quote);

  padding: 3px;

  box-sizing: border-box;
  cursor: pointer;
}

#pun-post #newFunc {
  position: relative;
  top: 0;
}

#pun-edit #newFunc {
  position: absolute;
  top: -30px;
  right: 0;
}

#pun-edit #newFunc #changeFont .change_font__content,
#pun-post #newFunc #changeFont .change_font__content {
  top: 33px;
  background: var(--bg-post);
}

#pun-edit #newFunc a,
#pun-post #newFunc a {
  background: var(--accent);
}

#newFunc a i {
  pointer-events: none;
}

#pun-edit #newFunc a:hover,
#pun-post #newFunc a:hover,
#newFunc a:hover {
  background: var(--accent);
  color: var(--bg-main);
}

#newFunc #changeFont {
  display: inline-block;
}

#newFunc a:not(:last-child) {
  margin-right: 5px;
}

#pun-viewtopic .post.new_view .container {
  clear: both;
}

#pun-viewtopic .post.new_view .post-vote .container {
  clear: none;
}

#newProfile {
  position: sticky;
  top: 50px;

  width: max-content;
  min-width: calc(22% - 20px);

  margin: -64px auto 15px 0;
  padding: 5px 10px 5px 5px;

  z-index: 99;
}

#newProfile .new_profile {
  display: flex;
  align-items: center;
}

#newProfile.online::before {
  position: absolute;
  content: '';

  top: 5px;
  left: -3px;

  width: 8px;
  height: 8px;
  background: var(--accent);

  -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;

  border-radius: 50%;

  z-index: 1;
}

#newProfile li {
  list-style: none;
  line-height: 1;

  padding: 0;
}

#newProfile li.pa-author a {
  display: inline-block;
  font-family: var(--accent-font);
  font-size: var(--size-15);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0;
  font-weight: 500;
}

#newProfile li.pa-author a:hover {
  color: var(--accent);
}

#newProfile li.pa-author {
  position: relative;
  top: -1px;
  left: 0;
  margin-bottom: 3px;
}

#newProfile li.pa-respect {
  position: relative;
  bottom: 0;
  left: 0;
}

#newProfile li.pa-respect a {
  line-height: 1;
  font-weight: 400;
  color: var(--accent);
  text-transform: uppercase;
  color: var(--accent);
}

#newProfile li.pa-respect img {
  display: none;
}

#newProfile li.pa-respect a:hover {
  color: var(--accent-2);
}

#newProfile li.pa-respect .fld-name a {
  color: var(--txt-main);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
}

#newProfile li.pa-respect .fld-name a:hover {
  color: var(--accent);
}

#newProfile li.pa-avatar img {
  display: block;
  max-width: 40px;
  max-height: 40px;
  margin-right: 7px;
  object-fit: cover;
  pointer-events: none;
  transition: var(--transition);
}

#newProfile div:nth-child(2) {
  margin-left: 0;
}

#pun-main .post h3 span #newProfile span {
  display: inline;
  padding: 0;
  border: none;
}


.hide_profile .post-body,
.post.hide_profile h3 span {
  width: 100%;
}

.hide_profile .post-body {
  padding-left: 0;
  padding-right: 0;
}

html .hide_profile .post-body,
html .hide_profile .post-links,
html .hide_profile .post-links ul,
html .post.hide_profile h3 > span {
  width: 100%;
  margin-left: 0 !important;
}

.punbb .post-content img.postimg {
  vertical-align: middle;
}

.post-body .post-rating,
.post-body .post-vote {
  font-size: 110%;
}

.post.mylike .post-vote {
  display: none;
}

.post.mylike .post-rating a {
  color: var(--accent);
}

.post.mylike .post-rating a:hover {
  color: var(--txt-main);
}


/* Edit/Del/etc. links */

.post-links {
  width: 100%;
  height: 20px;

  padding: 0;
  margin-top: 15px;
}

.post-links ul {
  display: inline-block;
  width: 100%;
  height: 100%;

  text-align: right;

  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.post-links ul li.pl-reply {
  margin-right: 0;
}

.post-links ul li {
  display: inline;
  margin-right: 5px;
}

.post-links ul li:last-child {
  margin-right: 0;
}

.post-links ul li.pl-quote,
.post-links ul li.pl-edit,
.post-links ul li.pl-delete {
  margin-left: 5px;
  margin-right: 0;
}

.post-links ul li.pl-email {
  float: left;
}

.post-links ul li:last-child {
  margin-right: 0;
}

.post-links a {
  color: var(--bg-main);
  font-family: var(--accent-font);
  text-transform: lowercase;
  font-size: var(--size-12);
  font-style: italic;
  background: var(--accent);
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 15px;
}

.post-links a:hover {
  background: var(--accent-2);
  color: var(--bg-main);
  font-weight: 400;
}


#pun-viewtopic .linkst {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#pun-viewforum #pun-main .linkst,
#pun-multidelete .linkst,
#pun-multimove .linkst,
#pun-multimegre .linkst,
#pun-modviewforum .linkst,
#pun-viewtopic .linkst,
#pun-searchtopics .linkst,
#pun-searchposts .linkst {
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  border-top: none;
  padding: 10px 20px;
  margin-bottom: 10px;
}

#pun-main.multipage .forum {
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  padding: 10px 20px;
}

.post h3 {
  position: relative;
  top: 19px;
  margin: 0 0 15px;
  z-index: 9;
  pointer-events: none;
}

.post h3 span {
  pointer-events: all;
}

.post h3 em,
.crumbs em {
  font-style: normal;
  margin: 0 2px;
}

.post h3 a {
  color: var(--txt-main);
}

.post h3 a:hover {
  color: var(--accent-2);
}

.post h3 span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  width: calc(100% - 240px);

  font-size: var(--size-9);
  color: var(--txt-main);
  text-transform: uppercase;
  letter-spacing: 1px;

  border-bottom: none;

  padding: 0;
  margin-left: auto;
  box-sizing: border-box;
}

.post h3 span strong {
  order: 3;
  font-weight: 700;
}

.post h3 span #fntSlider {
  order: 2;
  margin-right: 15px;
}

.post h3 a:last-child {
  margin-right: auto;
}

.post h3 span .permalink {
  order: 1;
  flex-grow: 0;

  font-weight: 700;
  color: var(--txt-main);
}

.post h3 span .permalink:hover {
  color: var(--accent-2);
}


/* Post profile */

.post .post-author ul {
  position: sticky;
  top: 56px;

  width: 100%;
  background: var(--gradient-profile);

  text-align: center;

  border: 1px solid var(--border-quote);
  border-radius: 10px;

  padding: 14px 0 15px;
  margin: -13px 0 10px;
  box-sizing: border-box;

  z-index: 9;
}

.post-author ul.with_fandom {
  padding-top: 20px;
  padding-bottom: 25px;
}

.post-author ul.with_plashka {
  padding-bottom: 0;
}

#pun-searchposts .post .post-author ul {
  padding-top: 15px;
}

.plashka {
  align-content: center;
  align-items: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  transition: var(--transition);
}

.plashka * {
  pointer-events: none;
}

.plashka {
  align-content: center;
  align-items: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.plashka .text {
  position: relative;
  top: 10px;
  text-align: center;

  min-height: 36px;
  background: var(--accent);
  overflow: hidden;
  z-index: 0;

  border-radius: 0 0 10px 10px;
  transition: var(--transition);
}

.plashka .text .text__top p,
.plashka .text .text__bottom p {
  color: var(--white);
}

.plashka:hover .text {
  filter: brightness(1.2);
}

.plashka .text::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: url('https://forumstatic.ru/files/001b/de/7b/26254.png');

  opacity: .25;
  mix-blend-mode: hard-light;
  pointer-events: none;

  z-index: 0;
}

.plashka .text .text__top {
  padding: 16px 10px 3px;
}

.plashka .text .text__bottom:first-child {
  padding: 13px 10px 5px;
}

.plashka .text .text__bottom,
.plashka .text .text__top:last-child {
  padding: 0 10px 8px;
}

.plashka .text::after {
  position: absolute;
  content: '';

  top: -21px;
  left: 0;
  right: 0;

  width: 30px;
  height: 30px;

  border-radius: 50%;
  margin: 0 auto;
  z-index: 1;
}

.plashka .image {
  top: 19px;
  max-width: 24px;
  max-height: 24px;
  width: 24px;
  height: 24px;
  margin-right: 0;
  box-sizing: border-box;
  background: var(--bg-post);
  border-radius: 50%;
  padding: 2px;
}

.plashka .text .text__bottom,
.plashka .text .text__top {
  position: relative;
  z-index: 3;
}

.plashka .text .text__top:last-child:first-child {
  padding: 18px 10px 11px;
  text-align: center;
}

.plashka .text .text__bottom:last-child:first-child {
  padding: 15px 10px 12px;
  text-align: center;
}

.plashka .text .text__bottom a,
.plashka .text .text__top a {
  color: var(--bg-post);
}

.plashka .text .text__bottom a:hover,
.plashka .text .text__top a:hover {
  color: var(--white);
}

.post-author ul .pa-author {
  position: relative;
  left: 0;

  width: 100%;

  font-size: var(--size-18);
  font-family: var(--accent-font);
  text-align: center;
  color: var(--accent-2);
  font-style: italic;
  line-height: 1.1;
  font-weight: 700;

  margin: 0;
  padding: 2px 10px 1px;
  box-sizing: border-box;
}

.post-author ul .pa-author strong {
  font-weight: 600;
  color: var(--accent);
}

.post-author ul .pa-replies {
  text-transform: lowercase;
}

#pun-searchposts .post-author ul .pa-author {
  margin: 5px 0 0;
}

.post-author .fandom {
  order: 1;

  position: absolute;
  display: block;

  top: -12px;
  left: 0;
  right: 0;

  width: max-content;
  background: var(--bg-post);

  font-weight: 500;
  font-family: var(--accent-font);
  line-height: 1;
  color: var(--accent-link);
  text-transform: lowercase;
  font-size: var(--size-11);
  font-style: italic;

  border: 1px solid var(--border-quote);
  border-radius: 30px;

  margin: 1px auto 0;
  padding: 5px 10px;
  box-sizing: border-box;
}

.post-author ul .pa-author a {
  color: var(--accent-2);
  text-transform: uppercase;
}

.post-author ul .pa-author a:hover {
  color: var(--accent);
}

.post-author ul .pa-fld1 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;

  max-width: 180px;
  background: var(--bg-post);

  border-radius: 5px;
  border: 1px solid var(--border-quote);

  font-family: var(--main-font);

  margin: 0 auto 7px;
  padding: 9px;

  box-sizing: border-box;
}

.post-author ul .pa-fld1 .lzname {
  position: relative;
  display: inline-block;

  order: 2;

  width: 100%;

  font-size: calc(var(--size-15) + 1px);
  font-weight: 600;
  font-family: var(--accent-font);
  color: var(--accent-2);
  text-transform: lowercase;
  font-style: italic;
  line-height: .9;

  margin: 0 auto;
  padding: 0;

  cursor: pointer;
  box-sizing: border-box;
}

.post-author ul .pa-fld1 a {
  color: var(--accent-2);
  font-weight: 400;
}

.post-author ul .pa-fld1 .lzname {
  color: var(--accent-2);
}

.post-author ul .pa-fld1 a:hover {
  color: var(--accent);
}

.post-author ul .pa-fld1 .lzname:hover {
  color: var(--accent);
}

.post-author ul .pa-fld1 .info {
  position: relative;
  order: 3;

  width: 100%;

  font-size: var(--size-11);
  text-align: center;
  text-transform: lowercase;
  font-weight: 400;
  line-height: 1.2;

  padding: 0;
  margin-top: 4px;

  box-sizing: border-box;
}

.post-author ul .pa-fld1 .info.twink {
  padding: 0 0 18px;
}

.post-author ul .pa-fld1 .info .twink_link {
  position: absolute;

  left: 0;
  right: 0;
  bottom: -2px;

  width: 13px;
  height: 13px;

  color: var(--accent);

  margin: 0 auto;
}

.post-author ul .pa-fld1 .info .twink_link i {
  pointer-events: none;
}

.post-author ul .pa-fld1 .info .twink_link:hover {
  color: var(--accent-2);
}

.post-author ul .pa-fld1 .info a {
  font-weight: 400;
}

.post-author ul .pa-fld1 .info a:not(.twink_link) {
  position: relative;
  z-index: 9;
}

.post-author ul .pa-fld1 .info a:hover {
  color: var(--accent);
}

.post-author ul .pa-title {
  width: 100%;
  max-width: 180px;

  text-align: center;
  text-transform: lowercase;
  line-height: 1;
  font-size: var(--size-10);

  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.post-author ul .pa-avatar {
  width: 100%;

  text-align: center;

  margin-top: 7px;
  margin-bottom: 7px;
  box-sizing: border-box;
}

.post-author ul .pa-avatar img {
  transition: var(--transition);
}

#newProfile .avatar_wrapper,
#profile-left .avatar_wrapper,
.post-author ul .pa-avatar .avatar_wrapper {
  width: max-content;
  margin: 0 auto;
  overflow: hidden;
}

.radius #newProfile .avatar_wrapper,
#profile-left.radius .avatar_wrapper,
.radius .post-author ul .pa-avatar .avatar_wrapper {
  border-radius: 50%
}

.round #newProfile .avatar_wrapper,
#profile-left.round .avatar_wrapper,
.round .post-author ul .pa-avatar .avatar_wrapper {
  border-radius: 10px;
}

#newProfile .avatar_wrapper.change,
.post-author ul .pa-avatar .avatar_wrapper.change {
  position: relative;
  width: max-content;
  border-radius: 5px;
  margin: 0 auto;
  overflow: hidden;
}

#newProfile .avatar_wrapper.change {
  width: 40px;
}

#newProfile .avatar_wrapper.change:hover img,
.post-author ul .pa-avatar .avatar_wrapper.change:hover img {
  transform: scale(1.2);
}

#newProfile .avatar_wrapper.change::before,
.post-author ul .pa-avatar .avatar_wrapper.change::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: var(--accent);

  transition: var(--transition);
  mix-blend-mode: color;
  opacity: 0;
  z-index: 1;
}

#newProfile .avatar_wrapper.change:hover::before,
.post-author ul .pa-avatar .avatar_wrapper.change:hover::before {
  opacity: 1;
}

.post-author ul .pa-avatar a,
#newProfile li.pa-avatar {
  position: relative;
  display: block;
}

#newProfile li.pa-avatar {
  width: 40px;
  margin-right: 10px;
}

.post-author ul .pa-avatar a {
  width: max-content;
  margin: 0 auto;
}


.post-author ul .pa-avatar img {
  display: block;
  max-width: 180px;
  height: auto;

  outline: none;

  margin: 0 auto;
  pointer-events: none;
}

#profile .post-author ul .pa-avatar img {
  width: 100%;
}

.post-author ul .pa-avatar.item2 img.allow_change:hover {
  outline-color: transparent;
}

.post-author ul .pa-fld6 {
  display: none;
  width: 100%;

  text-align: center;
  font-family: var(--arial-font), serif;
  letter-spacing: 1px;
  text-transform: lowercase;

  margin-bottom: 5px;
}

.post-author ul .pa-posts,
.post-author ul .pa-fld4,
.post-author ul .pa-respect {
  display: inline-block;
  width: auto;

  font-size: var(--size-14);
  font-weight: 600;
  font-family: var(--accent-font);
  color: var(--text-color);
  text-align: center;

  padding: 0 10px;

  box-sizing: border-box;
  opacity: 0;
}

.post-author ul .pa-posts .fld-name,
.post-author ul .pa-fld4 .fld-name,
.post-author ul .pa-respect .fld-name {
  font-size: var(--size-9);
  text-transform: uppercase;
  font-family: var(--main-font);
  font-weight: 400;
}

.post-author ul .pa-fld4 span:last-child {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

#viewprofile #profile-right #pa-fld4 strong:not(.count_post),
.post-author ul .pa-fld4 span:not(.count_post):last-child {
  position: relative;
  font-size: 0;
}

#viewprofile #profile-right #pa-fld4 strong:not(.count_post)::before,
.post-author ul .pa-fld4 span:last-child:not(.count_post)::before {
  position: absolute;
  content: '';

  top: -11px;
  left: 50%;

  width: 25px;
  height: 13px;
  background: url('https://forumstatic.ru/files/001a/fd/a5/11229.svg') no-repeat;

  pointer-events: none;
  transform: translateX(-50%);
}

#viewprofile #profile-right #pa-fld4 strong:not(.count_post)::before {
  top: 4px;
  left: 25px;
}

.post-author ul .pa-fld4 span:last-child:hover {
  color: var(--accent-2);
}

.post-author ul .pa-respect .fld-name + a:hover,
.post-author ul .pa-respect a {
  font-weight: 400;
  color: var(--accent-link);
}

.post-author ul .pa-respect .fld-name + a {
  color: var(--accent-2);
}

html.dark .post-author ul .pa-respect a:hover {
  color: var(--fix-link);
}

.post-author ul .pa-posts .fld-name,
.post-author ul .pa-fld4 .fld-name,
.post-author ul .pa-respect .fld-name {
  display: block;
  margin-bottom: 0;
}

.post-author ul .pa-last-visit {
  font-size: var(--size-8);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  text-align: center;
  color: var(--txt-main);

  margin-bottom: 0;
}

.punbb span.GamePst,
.punbb strong.GamePst2 {
  color: var(--accent);
  transition: var(--transition);
  cursor: pointer;
  padding-right: 0 !important;
}

.punbb span.GamePst:hover,
.punbb strong.GamePst2:hover {
  color: var(--accent);
}


.post-author ul .pa-fld5 {
  position: absolute;
  top: -20px;
  right: -5px;
  z-index: 9;
  cursor: pointer;
}


.post-author ul .profile_sticker.birthday,
#viewprofile #profile-left .profile_sticker.birthday {
  position: absolute;
  top: -15px;
  left: -15px;

  max-width: 40px;

  z-index: 9;
}

.profile_sticker {
  cursor: pointer;
}

.profile_sticker img {
  width: 40px;
  height: 40px;
  object-fit: scale-down;
  pointer-events: none;
}

#pun-profile #profile-right .profile_sticker,
#pun-profile #profile-right #pa-fld2 {
  position: relative;
  top: 0;
  right: 0;
}

#pun-profile #profile-right .profile_sticker {
  width: max-content;
}

.profile_sticker img:hover,
.twink_link img:hover {
  cursor: pointer;
}

.profile_sticker {
  pointer-events: none;
}

.profile_sticker p {
  position: absolute;

  transform: translateX(50%);
  transform-origin: top;

  top: 20px;
  right: 50%;

  min-width: 110px;
  background: var(--accent);

  font-size: var(--size-9);
  color: var(--bg-main);
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;

  border-radius: 2px;

  margin: 0;
  padding: 4px 8px 4px;

  transition: var(--transition-flow);

  pointer-events: none;
  overflow: hidden;
  visibility: hidden;
  z-index: 2;
  opacity: 0;
}

.profile_sticker img {
  pointer-events: all;
}

.profile_sticker img:hover ~ p {
  top: 35px;
  transform: translateX(50%);
  opacity: 1;
  visibility: visible;
}

#pun-profile #profile-right .profile_sticker p {
  position: absolute;

  top: 54px;
  left: 50%;
  right: 0;

  width: 150px;

  margin: 0 auto;
  transform: translateY(-50%) translateX(-50%);
}

.pa-fld2 {
  position: absolute;
  display: inline-block;

  bottom: -12px;
  left: 12px;
  transform: translateX(-50%);
}

body .twink_link {
  position: relative;
  font-size: var(--size-15);
  color: var(--gradient-1);
}

body .twink_link i::before {
  position: relative;
  content: '*';
  top: 0;

  height: 13px;

  font: menu;
  font-size: calc(var(--size-32) - 6px);
  font-family: var(--accent-font), sans-serif;
  margin-right: 0;
  text-transform: uppercase;
  font-weight: 700;
}

body .twink_link:hover {
  color: var(--accent);
}


.twink_link i::before {
  display: block !important;
}

.punbb span.GamePst:hover,
.punbb strong.GamePst2:hover {
  color: var(--accent);
}

.post-author ul .pa-respect a > img {
  display: none;
}

.post-author ul .pa-respect a i {
  margin-right: 1px;
}

.post-author ul .pa-respect a:hover i::before {
  color: rgba(0, 0, 0, 1);
}

.post-author ul .pa-fld3 {
  position: relative;
  width: 100%;
  border-top: none;
  margin: -6px auto -5px;
}

.post-author ul .pa-online,
.post-author ul .pa-reg,
.post-author ul .pa-ip {
  text-align: center;
  letter-spacing: 1px;
  line-height: 1;
  font-size: var(--size-10);

  margin-top: 12px;
}

#newProfile .online_mini,
.post-author ul .pa-online {
  position: absolute;
  content: '';

  top: 7px;
  left: -4px;

  width: 8px;
  height: 8px;
  background: var(--accent);

  border-radius: 50%;

  -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;

  z-index: 1;
  cursor: pointer;
}

.post-author ul .pa-online strong {
  display: none;
  font-weight: 400;
}

.post-author ul .post-author-Sp {
  text-align: center;
  margin-top: 8px;
}

.post-author ul .post-author-Sp .aw {
  transition: var(--transition);
}

.post-author ul .post-author-Sp .aw:hover {
  opacity: .7;
}

.post-author ul .post-author-Sp .wrapper {
  padding-left: 0;
  padding-top: 25px;
}


/* Post */

.post-content p {
  margin: 15px 0;
  overflow: hidden;
}

.bookmark + .post-content p,
.post-content p:first-child {
  margin-top: 0;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.post .post-content hr {
  border-top: 0;
  border-bottom: 1px solid var(--accent-link);
  margin: 20px 0;
}

.post-content table {
  table-layout: fixed;
  margin: 20px auto !important;
}

.post-content table:first-child {
  margin-top: 0 !important;
}

.post-content table:last-child {
  margin-bottom: 0 !important;
}


/* */

#topic-modmenu .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#topic-modmenu .container strong,
#topic-modmenu .container span {
  width: auto;
}

#topic-users-in .container {
  display: block;
}

#pun-viewtopic .linksb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;

  text-transform: lowercase;
}

#pun-about {
  text-transform: lowercase;
  font-size: var(--size-11);
  letter-spacing: 1px;
  padding: 0;
}

#pun-crumbs1,
#pun-crumbs2 {
  text-align: center;
  text-transform: uppercase;
  font-family: var(--accent-font);
  font-size: var(--size-10);
  font-weight: 700;
}

#pun-crumbs2 {
  width: 100%;
  max-width: 786px;
  margin: 0 auto;
}

#pun-about {
  position: absolute;

  left: 0;
  right: 0;
  bottom: -35px;

  width: fit-content;

  color: var(--table-overlay);
  text-align: left;
  font-size: var(--size-8);
  text-transform: uppercase;

  margin: 0 auto;

  z-index: 9;
}

#pun-about a {
  color: var(--table-overlay);
}

#pun-about a:hover {
  color: var(--accent-light);
}

#pun-viewtopic .linksb .postlink {
  order: 2;
}

#pun-viewtopic .linksb .pagelink {
  order: 1;
  margin: 0;

}

#pun-viewtopic .linksb .subscribelink {
  order: 3;
  width: 100%;
  text-align: right;
}


/* Sign */

body .post-sig td {
  border: none !important;
}

#profile-gifts {
  text-transform: lowercase;
}

dt {
  font-weight: 600;
  text-transform: uppercase;
}

dd {
  border-top: 1px solid transparent;

  padding-top: 10px;
  margin-left: 0;
}

#viewprofile #profile-signature,
#viewprofile #profile-signature ul {
  padding-left: 0;
  padding-right: 0;
}

#viewprofile #profile-signature ul {
  border-top: 1px solid var(--border-quote);
}


/******** Post Form ********/

#post #float + script + table td {
  padding-right: 10px;
}

#post .areafield .input > span {
  right: -22px !important;
  top: 15px !important;
}

#post .areafield .input > span::before {
  position: absolute;
  content: '\f0e2';

  transform: translateY(-50%);
  top: 50%;
  right: -22px;

  font-size: var(--size-13);
  font-weight: 900;
  font-family: var(--ico-font);
  text-align: center;
  color: var(--accent);

  margin: 0 auto;

  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
}

#imageupload-left input[type=button] {
  width: 12em !important;
  border: none;
}

#post .areafield .input > span:hover::before {
  color: var(--accent);
}

#pun #form-buttons table,
#pun .punbb .formal textarea {
  width: 100%;
  max-width: 100%;
}

#pun .punbb .formal .areafield {
  width: calc(100% - 3px);
}

#post-preview .fs-box {
  position: relative;
}

#post fieldset .fs-box {
  position: relative;
  display: block;
}


/* Form Buttons and inner container */

#float {
  position: absolute;
  display: none;

  transform: translateX(-50%);
  top: 48px;
  left: 50%;

  width: auto;
  background: var(--twink);

  color: var(--txt-main);
  font-size: var(--size-8);
  letter-spacing: 1px;
  text-transform: uppercase;

  border: none !important;
  border-radius: 0;

  padding: 15px !important;
  box-sizing: border-box;
  z-index: 10;
}

#pun-main #tags .container#floatArea {
  display: none;
  max-width: 200px;
  text-align: center;

  margin: 0 auto;
  padding-bottom: 15px;
}

#pun-main #tags .container#floatArea.active {
  display: block;
}

#pun-main #tags .container#floatArea p {
  text-transform: lowercase;
  font-weight: 700;

  margin-top: 0;
  margin-bottom: 7px;
}

#floatArea .float_area__inner span {
  display: inline-block;
  background: var(--bg-main);
  font-size: 120%;
  border-radius: 5px;
  padding: 10px;
  margin: 0 2px;
  cursor: pointer;
  transition: var(--transition);
}

#floatArea .float_area__inner span:hover {
  background: var(--accent);
  color: var(--white);
}


#form-buttons tr,
#pun-messages .container #form-buttons tr {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  background: none;
}

#form-buttons td {
  position: relative;
  width: 24px;
  height: 24px;
  background-image: none !important;
  background-color: var(--bg-main) !important;
  border: 1px solid var(--border-quote) !important;
  border-radius: 5px;
  margin: 0 2px 3px;
  transition: var(--transition);
}

#form-buttons td:hover {
  background-color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
}

#form-buttons td#button-mask {
  background-image: none !important;
}

#form-buttons td img {
  opacity: 0;
}

#form-buttons td::before {
  position: absolute;

  transform: translateY(-50%);
  top: 50%;
  left: 0;
  right: 0;

  height: auto;
  background-color: transparent;

  font-size: var(--size-13);
  font-weight: 900;
  font-family: var(--ico-font);
  text-align: center;
  color: var(--text-color);

  margin: 0 auto;

  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;

  pointer-events: none;
}

#form-buttons td:hover::before,
#form-buttons #button-image:hover b p {
  color: var(--white);
}

#form-buttons #button-font::before {
  content: '\f031';
}

#form-buttons #buttonTranslate::before,
#form-buttons #button-transL::before {
  content: '\f0ac';
}

#form-buttons #buttonChangeCase::before,
#form-buttons #button-ChangeÑase::before {
  content: '\f1dc';
}

#form-buttons #button-size::before {
  content: '\f034';
}

#form-buttons #button-bold::before {
  content: '\f032';
}

#form-buttons #button-italic::before {
  content: '\f033';
}

#form-buttons #button-underline::before {
  content: '\f0cd';
}

#form-buttons #button-strike::before {
  content: '\f0cc';
}

#form-buttons #buttonIndent::before,
#form-buttons #button-indent::before {
  content: '\f03c';
}

#form-buttons #button-left::before {
  content: '\f036';
}

#form-buttons #button-center::before {
  content: '\f037';
}

/*
    #form-buttons #button-center + td::before {
      content: '\f039';
    }
    */

#form-buttons #button-right::before {
  content: '\f038';
}

#form-buttons #buttonFloat::before,
#form-buttons #floatbut::before {
  content: '\f2bb';
}

#form-buttons #button-link::before {
  content: '\f0c1';
}

#form-buttons #button-spoiler::before {
  content: '\f518';
}

#form-buttons #button-image::before {
  content: '\f302';
}

#form-buttons #button-image b p {
  top: 5px;
  right: 2px;

  color: rgba(41, 41, 41, 1);
  font-size: var(--size-7);

  margin: 0 !important;

  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;

  z-index: 0 !important;
}

#form-buttons #button-video::before {
  content: '\f144';
}

#form-buttons #button-hide::before {
  content: '\f070';
}

#form-buttons #button-quote::before {
  content: '\f27a';
}

#form-buttons #button-code::before {
  content: '\f121';
}

#form-buttons #button-color::before {
  content: '\f53f';
}

#form-buttons #button-table::before {
  content: '\f84c';
}

#form-buttons #button-smile::before {
  content: '\f118';
}

#form-buttons #button-sticker::before {
  content: '\f4da';
}

#form-buttons #button-keyboard::before {
  content: '\f11c';
}

#form-buttons #button-addition::before {
  content: '\f150';
}

#form-buttons #button-mask::before {
  content: '\f630';
}


#tags .container {
  top: 41px !important;
  left: -1px;

  max-height: 400px;
  background: var(--bg-post);

  border: 1px solid var(--border-quote);
  border-radius: 0;

  padding: 10px;

  box-sizing: border-box;
  overflow: auto;
  z-index: 99 !important;
}

#pun-edit #tags .container {
  top: 68px !important;
}

#pun-main #image-source-list a,
#pun-main #video-area-actions a,
#pun-main #image-area-actions a,
#pun-main #spoiler-sels a {
  background: var(--accent);

  font-family: var(--accent-font);
  font-size: var(--size-10) !important;
  color: var(--white);
  font-weight: 600;

  border-radius: 11px;

  padding: 6px 13px 4px;
  margin-right: 5px;
}

#pun-main #image-source-list a {
  padding: 7px 13px 4px;
}

#pun-main #video-area-actions a {
  margin-right: 0;
}

#pun-main #video-area-actions a:first-child {
  background: var(--accent);
}

#pun-main .imgupload-subscription-info {
  margin-top: 10px;
}

#pun-main #image-source-list a:hover,
#pun-main #video-area-actions a:hover,
#pun-main #image-area-actions a:hover,
#pun-main #spoiler-sels a:hover {
  background: var(--accent-2);
}

#pun-messages #post-form div.container {
  top: 40px !important;
}

#pun-profile #tags .container {
  top: 60px !important;
}

.main #image-area-actions,
.main #image-area-tcon-computer {
  padding: 5px;
}

#tags .container strong {
  font-size: var(--size-8) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#tags .container a {
  font-size: var(--size-8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#tags .container .uploadQueueItem .cancel a {
  font-size: var(--size-18);
  color: var(--link-head);
  font-weight: 400;
}

#tags .container .uploadQueueItem .cancel a:hover {
  color: var(--accent);
}

#tags .container a.cancel {
  font-size: var(--size-11);
}

#tags .container#spoiler-area,
#tags .container#image-area,
#tags .container#video-area {
  right: -1px !important;
  margin: 0 auto;
}

#my-imgur {
  border: 4px solid var(--bg-post) !important;
  width: 336px !important;
  font-size: var(--size-12) !important;
  padding: 13px !important;
  box-sizing: border-box !important;
}

#tags .container#color-area,
#tags .container#table-area,
#tags .container#keyboard-area,
#tags .container#addition-area {
  right: -1px !important;
  left: auto;
}

#tags .container#table-area div:nth-child(2) p {
  display: flex;
  align-items: center;
  justify-content: center;
}

#tags .container#table-area div:nth-child(2) p label {
  margin-bottom: 0;
  line-height: 1;
}

#font-area span,
#size-area span,
#addition-area span,
#addition-area div {
  font-weight: 500;
  transition: var(--transition);
}

.container#font-area span {
  padding: 3px 0;
}

#addition-area #hideProfile span {
  pointer-events: none;
}

#font-area div:hover span,
#size-area div:hover span,
#addition-area div:hover span,
#addition-area div:hover {
  color: var(--accent-2);
}


#image-source-list {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

#action-computer,
#action-internet,
#action-return,
#action-close,
#action-clean-uploaded,
#action-insert-uploaded,
.frame_host,
#video-area-actions2 a:last-child {
  font-family: var(--main-font);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;

  border: none;
  border-radius: 0;

  padding: 7px 10px 7px;
  margin: 0 2px;

  cursor: pointer;
  transition: var(--transition);
}

#tags .container #action-computer,
#tags .container #action-insert-uploaded,
#tags .container .frame_host,
#tags .container #upload-button {
  background: var(--accent-2);
  color: var(--white);

  margin-right: 2px !important;
}

#tags .container #action-computer:hover,
#tags .container #action-return:hover,
#tags .container #action-clean-uploaded:hover,
#tags .container #action-insert-uploaded:hover,
#tags .container .frame_host:hover,
#tags .container #upload-button:hover {
  background: var(--accent);
  color: var(--white);
}

#tags .container #action-internet,
#tags .container #action-close,
#tags .container #video-area-actions2 a:last-child {
  background: var(--accent);
  color: var(--white);
}

#tags .container #action-internet:hover,
#tags .container #action-close:hover,
#tags .container #video-area-actions2 a:last-child:hover {
  background: var(--accent-2);
  color: var(--white);
}

#action-close {
  margin-right: 0 !important;
}

#image-source-list img,
.uploadQueueItem .cancel,
#uploaded-images img,
#color-area td {
  transition: var(--transition);
}

#image-source-list img:hover,
.uploadQueueItem .cancel:hover,
#uploaded-images img:hover,
#color-area td:hover {
  opacity: .7;
}

#video-area-tinp,
#image-area-tinp,
#video-area-tinp2 {
  padding: 10px !important;
  border: 1px solid var(--bg-post) !important;
  background: var(--bg-main);
}

#imageupload-right {
  max-width: 100% !important;
  width: 100%;
}

#imageQueue {
  max-height: 238px !important;
  padding-right: 5px;
}

.uploadQueueItem {
  border: none !important;
  background: var(--bg-main) !important;
  border-radius: 0 !important;
  color: var(--txt-main);
}

.uploadProgress {
  background: var(--bg-main) !important
}

.uploadProgressBar {
  background: var(--accent) !important;
}

#uploaded-images img {
  width: 83px !important;
  outline: none !important;
  object-fit: cover;
  border: none !important;
  border-radius: 5px;
  margin: 1px;
  background: var(--bg-main);
}

.media-tabs {
  display: flex;

  padding: 0;
  margin: 8px 0 0;
}

.media-tabs li {
  margin-right: 5px;
}

div.media-t2 {
  display: none;
}

div.media-t2 br {
  display: none;
}

div.media-t2 .media_link {
  position: absolute;
  top: 44px;
  left: 13px;
}

div.media-t2 #video-area-thd2 {
  padding: 0 0 10px 30px;
}


.punbb #table-area td {
  border-color: var(--border-quote) !important;
  background: var(--bg-post) !important;
}

.punbb #table-area td.selected {
  background-color: var(--bg-main) !important;
}


/* Keyboard */

.punbb #keyboard-span input {
  min-width: 23px;
  height: 23px;
  min-height: auto;
  background-color: var(--bg-main);

  font-size: var(--size-8);
  color: var(--text-color);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;

  border: none;
  outline: none;
  border-radius: 5px;

  padding: 2px 6px;
  transition: var(--transition);
}

.punbb #keyboard-span input:hover {
  background-color: var(--accent);
  color: var(--bg-main);
}


/******** Reputation/Positive ********/

#pun-respect .tcl,
#pun-positive .tcl {
  width: 13% !important;
  text-align: left;
}

#pun-respect .tc2,
#pun-positive .tc2 {
  width: 3% !important;
}

#pun-respect td.tcl,
#pun-positive td.tcl,
#pun-respect td.tc2,
#pun-positive td.tc2,
#pun-respect td.tc3:nth-child(3),
#pun-positive td.tc3:nth-child(3) {
  font-size: var(--size-9);
  padding-left: 0;
  text-transform: uppercase;
}

#pun-respect .tc3:nth-child(3),
#pun-positive .tc3:nth-child(3) {
  width: 20% !important;
}

#pun-respect td.tc3:nth-child(3),
#pun-positive td.tc3:nth-child(3) {
  font-weight: 500;
  text-align: center;
}

#pun-respect td.tc3:nth-child(3) a,
#pun-positive td.tc3:nth-child(3) a {
  color: var(--accent-link);
  text-transform: lowercase;
  font-size: var(--size-11);
  line-height: 1.1;
}

#pun-respect td.tc3:nth-child(3) a:hover,
#pun-positive td.tc3:nth-child(3) a:hover {
  color: var(--accent-2);
}

#pun-respect .tc3:nth-child(4),
#pun-positive .tc3:nth-child(4) {
  width: 35% !important;
  padding: 5px;
  text-align: center;
  line-height: 1.1;
  text-transform: none;
}

#pun-respect .tcr,
#pun-positive .tcr {
  width: 29% !important;
  text-align: right;
  text-transform: lowercase;
  line-height: 1.2;

  padding-left: 10px;
  padding-right: 0;
}

#pun-respect #pun-main .container,
#pun-positive #pun-main .container {
  padding: 10px 20px 20px;
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
}

#pun-respect .removeReputation,
#pun-positive .removeReputation {
  position: relative;
  background: none !important;
  margin-right: -15px;
}

#pun-respect .removeReputation::before,
#pun-positive .removeReputation::before {
  position: absolute;
  content: "\f00d";

  transform: translateY(-50%);
  top: calc(50% - 2px);
  right: 0;

  font-size: var(--size-15);
  font-weight: 900;
  font-family: var(--ico-font);
  text-align: center;
  color: rgba(41, 41, 41, 1);

  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
}

#pun-respect .removeReputation:hover::before,
#pun-positive .removeReputation:hover::before {
  color: var(--accent);
}


/******** View profile ********/

#viewprofile ul {
  padding: 0;
  margin: 0;
}

#viewprofile table {
  width: 100%;
  margin-bottom: 30px;
}

#viewprofile tbody {
  display: block;
}

#viewprofile tr {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  margin-top: 0;
}

#viewprofile #profile-left {
  position: relative;
  display: flex;
  flex-wrap: wrap;

  width: 250px;
  background: var(--gradient-profile);
  border: 1px solid var(--border-quote);
  border-radius: 10px;

  text-align: center;

  padding: 18px 0 !important;

  box-sizing: border-box;
  overflow: unset;
}


#viewprofile #profile-right {
  width: calc(100% - 280px);
}


/* Left (profile) */

#profile-left #profile-name {
  position: relative;
  order: 1;
  top: 0;

  width: 100%;

  font-size: var(--size-18);
  font-family: var(--accent-font);
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  line-height: 1.1;

  padding: 0 10px;
  margin: 0 auto;

  box-sizing: border-box;
}

#viewprofile #profile-name strong {
  font-size: var(--size-18);
  font-weight: 600 !important;
  text-transform: uppercase;
  font-style: italic;
  color: var(--accent-2);
}

#profile-left #profile-title {
  order: 2;

  width: calc(100% - 20px);

  text-align: center;
  line-height: 1;
  text-transform: lowercase;
  font-size: var(--size-9);

  padding: 0 10px 8px;
  margin: 0 auto;

  box-sizing: border-box;
}

#profile-left .avatar_wrapper {
  position: relative;
  width: max-content;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 5px;
}

#profile-left .avatar_wrapper.change {
  cursor: pointer;
}

#profile-left .avatar_wrapper.change:hover img {
  transform: scale(1.2);
}

#profile-left .avatar_wrapper.change::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: var(--accent);

  transition: var(--transition);
  mix-blend-mode: color;
  opacity: 0;
  z-index: 1;
}

#profile-left .avatar_wrapper.change:hover::before {
  opacity: 1;
}

#profile-left #pa-avatar {
  order: 3;
  width: 100%;

  text-align: center;

  box-sizing: border-box;
}

#profile-left #pa-avatar img {
  display: block;
  max-width: 180px;
  height: auto;

  margin: 0 auto;
  pointer-events: none;
  transition: var(--transition);
}

#profile-left #pa-online {
  order: 4;

  width: 100%;

  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  font-size: var(--size-8);

  margin-top: 15px;
}

#profile-left #pa-edit {
  position: absolute;
  bottom: -35px;

  order: 5;
  width: 100%;
  margin-top: 11px;
}

#profile-left #pa-edit a {
  display: block;

  width: 100%;
  background: var(--accent);

  font-size: var(--size-12);
  font-family: var(--accent-font);
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;

  border: none;
  border-radius: 14px;

  padding: 6px 15px 4px;
  margin: 0 auto;

  cursor: pointer;
  transition: var(--transition);
  box-sizing: border-box;
}

#profile-left #pa-edit a:hover {
  background: var(--accent-2);
  color: var(--white);
}

#profile-left #profile-title strong,
#profile-left #pa-online strong,
#profile-left #pa-edit strong {
  font-weight: 400 !important;
}


/* Right (info) */

#profile-right li {
  display: flex;
  justify-content: space-between;
  margin: 0 0 2px;
}

#profile-right li#pa-fld6 {
  display: none;
}

#profile-right span {
  display: block;
  width: 22%;

  line-height: 1;
  text-align: right;
  font-size: var(--size-10);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 auto;
  padding: 12px 0 0;
}

#profile-right #pa-fld4 strong span,
#profile-right span.profile_mess_links,
#profile-right span.profile_mess_links span {
  padding: 0;
  width: auto;
  text-align: center;
  margin: 0;
}

#profile-right #pa-fld4 strong span {
  cursor: pointer;
  transition: var(--transition);
  width: max-content;
}

#viewprofile #profile-right strong {
  display: block !important;
  width: 76% !important;
  background: var(--bg-post);

  padding: 7px 15px 6px;

  box-sizing: border-box;

  font-weight: 400;
}

#viewprofile #profile-right li:nth-last-child(3) strong {
  padding-bottom: 8px;
}

#profile-right li#pa-fld1 strong {
  position: relative;
  display: flex !important;
  flex-direction: column;
  z-index: 1;
}

#profile-right li#pa-fld1 strong::before {
  position: absolute;
  content: '';

  top: 8px;
  left: 15px;
  right: 0;

  width: 100%;
  max-width: 223px;
  height: calc(100% - 15px);
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  border-radius: 5px;

  margin: 0;

  pointer-events: none;
  z-index: -1;
}

#profile-right li#pa-fld1 .lzname {
  order: 2;

  position: relative;
  display: inline-block;

  width: 100%;
  max-width: 223px;

  font-size: var(--size-14);
  font-weight: 600;
  font-family: var(--accent-font);
  color: var(--accent-link);
  text-transform: lowercase;
  font-style: italic;
  text-align: center;
  line-height: 1;

  margin: 0;
  padding: 0 10px;

  cursor: pointer;
  box-sizing: border-box;
}

#profile-right li#pa-fld1 .lzname:hover {
  color: var(--accent);
}

#profile-right li#pa-fld1 .fandom {
  order: 1;
  display: block;
  width: 100%;
  max-width: 204px;
  height: auto;
  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  border-radius: 15px;
  font-weight: 500;
  font-family: var(--accent-font);
  line-height: 1.1;
  color: var(--accent-link);
  text-transform: lowercase;
  font-size: var(--size-11);
  font-style: italic;
  text-align: center;
  margin: 10px 10px 9px;
  padding: 4px 10px 3px;
  box-sizing: border-box;
}

#profile-right li#pa-fld1 .info {
  order: 3;

  width: 100%;
  max-width: 223px;

  font-size: var(--size-12);
  line-height: 1.2;
  text-align: center;
  text-transform: lowercase;

  margin: 4px 0 0;
  padding: 0 10px 10px;

  box-sizing: border-box;
}


#profile-right li#pa-fld3 .plashka {
  top: -10px;
  max-width: 223px;
  margin: 0 0;
}

#profile-right li#pa-fld2 strong {
  height: 30px;
}

#profile-right li#pa-email,
#profile-right li#pa-posts,
#profile-right li#pa-last-post,
#profile-right li#pa-last-visit {
  text-transform: lowercase;
}


/******** Edit profile ********/

#profile #profilenav {
  position: sticky;
  top: 55px;
  float: left;
  width: 197px;
  margin-top: 8px;
}

#profile #profilenav ul {
  padding: 0;
  margin: 0 0 30px;
}

#profile #profilenav li {
  font-size: var(--size-13);
  text-transform: lowercase;
  font-family: var(--accent-font);
}

#profile #profilenav li.isactive {
  font-weight: 500;
}

#profile #profilenav li.isactive a {
  color: var(--text-color);
}

#profile #profilenav li a {
  color: var(--accent-link);
}

#profile #profilenav li.isactive a:hover,
#profile #profilenav li a:hover {
  color: var(--accent-2);
}

#profile #profilenav + fieldset {
  margin-top: 0;
}

#pun-messages #profile #profilenav + fieldset {
  border: none;
}

#profile fieldset,
#profile .formsubmit {
  width: calc(100% - 197px);
  margin-left: auto;
}

#profile fieldset .formsubmit {
  width: 100%;
}

#profile .inputfield {
  margin-bottom: 10px;
}

#profile #profile4 fieldset .fs-box {
  display: block;
}

#profile #profile4 img {
  display: block;
  margin-left: 5px;
  border-radius: 5px;
}

#profile #profile4 .inputfield {
  margin-bottom: 3px;
}

#profile #profile4 .datafield {
  margin-top: 0;
}

#pun-upavatar #pun-main h1 {
  display: none;
}

#profile #profile4 .inputfield a,
#profile #profile4 .datafield a {
  display: inline-block;

  min-width: 130px;
  background: var(--button);

  font-size: var(--size-11);
  font-family: var(--accent-font);
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  color: var(--white);

  border: none;
  border-radius: 17px;

  padding: 6px 15px 2px;
  margin: 0 2px;

  cursor: pointer;
  transition: var(--transition);
}

#profile #profile4 .inputfield a {
  background: var(--accent);
  color: var(--white);
}

#profile #profile4 .inputfield a:hover {
  background: var(--accent-2);
  color: var(--bg-main);
}

#profile #profile4 .datafield a:hover {
  background: var(--accent-2);
  color: var(--bg-main);
}

#profile #main-reply {
  width: 100%;
}

#profile5 .input {
  width: 100%;
}

#profile5 .inputfield {
  margin-top: 20px;
  width: 100%;
}

#profile5 #tags + .input #Knopa2-2 {
  display: none;
}

#profile5 #tags + .input > span {
  right: -43px !important;
  top: 36px !important;
}


#profile5 #tags + .input > span::before {
  position: absolute;
  content: '\f0e2';
  top: 0;
  right: 0;
  font-size: var(--size-13);
  font-weight: 900;
  font-family: var(--ico-font);
  text-align: center;
  color: var(--txt-main);
  margin: 0 auto;
  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
}

#profile5 #tags + .input span:hover::before {
  color: var(--twink);
}

#profile5 #form-buttons {
  width: 100%;
  margin-bottom: 10px;
}

#profile5 #form-buttons td {
  width: 25px;
  height: 25px;
  margin: 1px;
}


#profile5 #form-buttons td img {
  height: 22px;
}

#profile8 .inputfield,
#profile8 .inputfield input,
#profile8 textarea {
  width: 100%;
}

#profile10 .adfs-box {
  width: 100%;
  margin-left: auto;
}

#filetable td.tc2,
#filetable td.tc3 {
  font-size: var(--size-10);
  text-align: center;
}

#profile #filetable thead tr .header {
  background-position: 100% 45%;
}

#profile #profile10 .tcl {
  width: 13% !important;
  text-align: center;
}

#profile #profile10 .tc0 {
  border-radius: 5px;
  transition: var(--transition);
}

#profile #profile10 .tc2 {
  width: 16% !important;
}

#profile #profile10 .tc3 {
  width: 10% !important;
}

#profile #profile10 th.checker {
  background: none;
  padding-right: 8px;
}

#profile10 .select-file {
  width: 100%;
  margin-left: auto;
}

#profile10 .select-file .pagelink {
  margin-bottom: 0;
}

#profile10 .submitend {
  text-align: right;
  width: 100%;
  margin-left: auto;
}

#profile10 .submitend .pagelink {
  display: flex;
  align-items: center;
}

#profile10 .submitend .pagelink .files-pagelink {
  flex-grow: 1;
  margin-left: 5px;
}

#setmods,
#profileContainer .infofield + div {
  width: 100%;
}

#profileContainer .tc2:nth-child(3) {
  padding: 20px 0;
}

#awards-content td:nth-child(3) {
  padding: 10px 10px 10px 0;
}

#profileContainer .tc2:nth-child(3) .button,
#awards-content .tc2:nth-child(4) .button {
  font-size: var(--size-10);
  border-radius: 5px;
  padding: 5px 15px;
}

#awards-content .tcl {
  width: 20% !important;
}

#awards-content .tc2:nth-child(2) {
  width: 10% !important;
  text-align: center;
}

#awards-content td:nth-child(3) {
  width: 60% !important;
  text-align: justify;
}

#awards-content .tc2:nth-child(4) {
  width: 10% !important;
  padding-right: 5px;
}


/******** Messages ********/

.messages-container #post-new #post {
  background: none;

  border: none;
  border-radius: 0;

  margin: 0;
  padding: 0;

}

#messages .fs-box,
#messages .container,
#messages table {
  width: 100%;
}

#messages table tr .tcl {
  padding-right: 10px;
}

#messages table tr.inew .tcl a {
  font-weight: 700;
}

#messages table tr .pmtc22 {
  width: 22% !important;
  min-width: 166px;

  padding-bottom: 10px;
}

#messages table tr td.pmtc22 {
  display: flex;
  align-items: center;

  padding-bottom: 10px;
}

#messages table tr .pmtc33 {
  text-align: center;
}

#messages table tr td.pmtc33 {
  font-size: var(--size-10) !important;
  text-transform: lowercase;
}

#messages table tr .pmtc24 {
  width: 3% !important;
  padding: 0 !important;
}

body .punbb#pun-messages .user-avatar a {
  border-width: 2px;
}

.messages-container #profilenav + fieldset {
  position: relative;
  background: none;
  padding: 0;
}

.messages-container .post-author {
  width: 190px;
  margin-left: 0;
}

.messages-container .post .post-author ul {
  display: flex;
  flex-wrap: wrap;
  top: 52px;
  width: 172px;

  margin: -21px 0 50px;
  padding: 15px 0 20px;
}

.post-author ul.hv-mask .pa-author .fandom:nth-last-child(2) {
  display: none;
}

.messages-container .post-author ul .pa-author {
  order: 1;

  font-size: var(--size-15);
  line-height: .9;

  margin: 0 auto;
  padding: 0 5px 0;
}

.messages-container .post-author.online ul .pa-author::before {
  top: 8px;
  left: -2px;

  width: 6px;
  height: 6px;
}

.messages-container .post-author ul .pa-avatar {
  order: 3;
  margin: 0 10px 6px;
}

.messages-container .post-author ul .pa-avatar .avatar_wrapper {
  width: 100%;
}

.messages-container .post-author ul .pa-title {
  order: 2;
  width: 100%;

  margin-left: 0;
  margin-bottom: 3px;
  padding: 3px 10px 4px;

  box-sizing: border-box;
}

.messages-container .post-author ul .pa-reg {
  order: 5;
  width: 100%;

  line-height: 1.2;
  text-transform: uppercase;
  font-size: var(--size-8);

  margin-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.messages-container .post-author ul .pa-reg span {
  display: block;
}

.messages-container .post-author ul .pa-posts {
  order: 4;
  width: 100%;
  background: none;
  padding: 3px;
  line-height: 1;
  opacity: 1;
}

.messages-container .post-author ul .pa-posts .fld-name {
  display: block;
  margin-bottom: 4px;
}

.messages-container .post-body {
  width: calc(100% - 192px);
}

#pun-messages #post-form .inputfield {
  margin: 0;
}

#pun-messages #post-form .inputfield input {
  width: 100%;
}

#pun-messages #profilenav + fieldset legend:first-child {
  top: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
  color: var(--accent-link);
  width: max-content;
}

#pun-messages #profilenav + fieldset legend:first-child::before,
#pun-messages #profilenav + fieldset legend:first-child::after {
  display: none;
}

#pun-messages #profilenav + fieldset legend:first-child #plng {
  order: 2;
  margin: 0 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
  font-size: var(--size-10);
}

.messages-container .post h3 {
  margin: 5px 0 22px;
}

.messages-container .post h3 span {
  justify-content: space-between;
  width: calc(100% - 192px);
}

.messages-container .post h3 span #fntSlider {
  margin-right: 0;
}

.messages-container .post-links ul li.pl-email {
  flex-grow: 1;
}


.messages-container #post {
  text-align: left;

  background: var(--bg-post);
  border: 1px solid var(--border-quote);
  border-radius: 0;

  padding: 10px;
  margin: 20px 0;

  box-sizing: border-box;
}

.messages-container #post #wrapperBottom ul li {
  margin: 0 2px;
}

.messages-container #post .formal {
  padding: 0;
}

.messages-container #post .fs-box {
  display: block;
}

.messages-container #post #post-form p:last-child {
  display: flex;
  padding-bottom: 0 !important;
}

.messages-container #post #post-form p:last-child span:not(.checkfield) {
  flex-grow: 1;
}

.messages-container #post #post-form p:last-child span.checkfield {
  width: 83px;
}

.messages-container #form-buttons td {
  width: 24px;
  height: 24px;
  margin: 1px;
}


.messages-container #form-buttons td img {
  height: 22px;
}

#messages .linksb {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 203px);
  margin-left: auto;
  padding-right: 0;
}

#messages .linksb .clearer {
  display: none;
}


/******** New Theme/Preview/Edit ********/

#pun-post #fld3 {
  width: 100%;
}

#post-preview .post-content {
  max-width: 704px;
  text-align: justify;
  font-family: var(--post-font);
  margin: 0 auto;
}

#post #post-preview legend {
  display: inline-block;
  width: auto;
}

.history_posts_list {
  margin-bottom: 30px;
  padding: 5px 15px;
  background: var(--bg-post);
}

#pun-edit .bottom_form {
  margin-top: 54px;
}

#pun-edit input:not([type="checkbox"]):not(.button):not([type="button"]) {
  width: 100%;
}


#pun-edit #post-form .areafield {
  text-align: right;
}

#pun-edit #post-form table {
  border-collapse: separate;
  border-spacing: 0 3px;
}

#pun-edit #post-form table td {
  text-transform: lowercase;
}

#pun-edit #post-form table td:first-child {
  text-align: left;
  padding-left: 0;
}

#pun-edit #post-form table td:last-child {
  text-align: right;
  padding-right: 0;
}


/******** Move messages ********/

#pun-multimegre .modmenu .container,
#pun-multidelete .modmenu .container,
#pun-multimove .modmenu .container {
  align-items: center;
  justify-content: center;

  padding: 10px;
}

#pun-multimegre .forum_name,
#pun-multidelete .forum_name,
#pun-multimove .forum_name {
  text-transform: lowercase;
  font-weight: 900;
  font-family: var(--arial-font);
}

#pun-multimove .forum_name {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

#register .info-box:nth-child(2) {
  padding: 10px 20px;
  margin-top: -11px;
}

.pun-modal .container {
  max-height: 45em !important;
}

.pun-modal .modal-inner {
  max-height: 46em !important;
}

#Move_Forum {
  margin-right: 5px;
}

#pun-multidelete .modmenu .container strong,
#pun-multimegre .modmenu .container strong,
#pun-multimove .modmenu .container strong,
#pun-moveposts .formsubmit {
  text-align: center;
}

#pun-multidelete .modmenu .container .button,
#pun-multimegre .modmenu .container .button,
#pun-multimove .modmenu .container .button {
  margin-left: 10px;
}

#pun-multidelete input[type='text'],
#pun-multimegre input[type='text'],
#pun-moveposts input[type='text'] {
  width: 100%;
}

#pun-multidelete .modmenu input[type='checkbox'],
#pun-multimegre .modmenu input[type='checkbox'],
#pun-multimove .modmenu input[type='checkbox'] {
  margin-right: 7px;
}

#movePostsTable {
  margin: 0 15px;
  padding: 0;
}

#pun .pun-modal fieldset#PMove_2 {
  margin-top: 20px;
}

.Select_Topics,
.Select_Topics table {
  width: 100%;
}

.Select_Topics .tc2 {
  text-align: right;
}

#pun-multimove .post .post-author ul {
}

#pun-searchposts .post-author ul .pa-author,
#pun-multimove .post .post-author ul .pa-author {
  order: 1;
  left: 0;
  width: calc(100% - 30px);
  margin: 0 auto 0;
}

#pun-searchposts .post,
#pun-multimove .post {
  margin-top: 20px;
}

#pun-searchposts .post-author ul .pa-title,
#pun-multimove .post .post-author ul .pa-title {
  order: 2;
  padding-top: 0;
}

#pun-multimove #pun-main.multipage h1::before {
  width: calc(70% + 180px);
}

#pun-multimove #pun-main.multipage h1::after {
  left: calc(70% + 185px);
}

#pun-multimove .post .post-author ul .pa-avatar {
  order: 3;
}

#pun-multimove .post-links ul,
#pun-searchposts .post-links ul {
  text-align: left;
}

#pun-multimegre .post-links ul li:last-child,
#pun-multidelete .post-links ul li:last-child,
#pun-multimove .post-links ul li:last-child {
  display: flex;
  justify-content: flex-end;
}

#pun-multimove .post-links ul li label {
  text-transform: uppercase;
  font-size: var(--size-9);
}


/******** Reg ********/

fieldset.radiofield {
  display: flex;
  flex-wrap: wrap;
}

fieldset.radiofield input {
  margin-top: 0;
  margin-left: 0;
}

fieldset.radiofield label {
  width: 96%;
  margin-left: 5px;
  margin-top: -1px;
  cursor: pointer;
}


/******** Logout/Change profile ********/

#pun-navlinks ul li#navlogout {
  position: relative;
}

#pun-navlinks a:not(.NextShow) + span.odd {
  display: none !important;
}

#pun-navlinks span.odd #form-login {
  position: absolute;

  top: 16px;
  right: 0;

  width: 470px;
  background-color: var(--bg-main);
  font-style: normal;

  border-radius: 0;
  border: none;
  outline: none;
  padding: 15px;

  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
  -ms-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
  -o-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
  box-shadow: 0 0 15px rgba(0, 0, 0, .15);

  z-index: 99999999;
  box-sizing: border-box;
}

#pun-navlinks.fixed span.odd #form-login {
  top: 28px;
}

#form-login #List-UserNames {
  float: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 205px;
  width: 216px;

  border-radius: 0;

  padding: 0;
  box-sizing: border-box;
}

#pun-navlinks.fixed #form-login #List-UserNames ul {
  left: 0;
  top: 0;
  display: block;
  padding: 0;
  width: 216px;
  margin-top: 0;
}

#form-login #List-UserNames ul {
  left: 0;
  top: 0;
  padding-right: 0;
  padding-left: 0;
  padding-left: 0;
  margin-top: 0;
  text-align: left;
  max-height: 148px;
  overflow-y: auto;
}

#pun-navlinks.fixed #form-login #List-UserNames {
  padding: 0 10px 0 0;
}

#form-login #List-UserNames span:nth-child(2) {
  -js-display: flex;
  display: flex;
  align-content: flex-start;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  width: 100%;
  float: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}

#form-login #List-UserNames span:nth-child(2) span {
  width: 50%;
}

#form-login #List-UserNames span:nth-child(2) span.a1-paste {
  display: initial;
  text-align: right;
  margin-top: 0;
}

#form-login #List-UserNames span:nth-child(2) input {
  width: 100%;
}

#form-login #List-UserNames li {
  display: flex;
  width: 97%;

  font-size: var(--size-13);
  font-style: normal;
  text-transform: initial;

  padding-right: 10px;
  padding-left: 10px;
  padding-top: 4px;
  padding-bottom: 5px;

  margin-left: 0;
  margin-right: 0;
  margin-bottom: 3px;

  box-sizing: border-box;
}

#form-login #List-UserNames li b {
  display: inline-block;
  width: 180px;

  font-weight: 600;

  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
}

#form-login #List-UserNames li b:hover,
#form-login #List-UserNames li .close:hover::before {
  color: var(--accent);
  cursor: pointer;
}

#form-login #List-UserNames li .close {
  position: relative;
  display: inline-block;
  width: 8px;
  color: transparent;

  margin-top: 0;
}

#form-login #List-UserNames li .close::before {
  position: absolute;

  content: '\f00d';

  transform: translateY(-50%);
  top: 50%;
  left: 4px;

  font-size: var(--size-11);
  font-weight: 900;
  font-family: var(--ico-font);
  color: rgba(41, 41, 41, 1);

  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
}

#form-login #List-UserNames li .close:hover::before {
  color: var(--accent);
}

#form-login .Rega,
#form-login .Forgot {
  font-size: var(--size-10);
  font-weight: 600;
  font-family: var(--main-font);
  letter-spacing: 1px;
}

#form-login span:nth-child(2),
#form-login div:nth-child(3) {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--size-10);
}

#form-login span:nth-child(2) {
  font-weight: 700;
  margin-bottom: 10px;
}

#form-login li span:nth-child(2) {
  font-weight: 500;
  margin-bottom: 0;
}

#form-login span:nth-child(2),
#form-login div:nth-child(3),
#form-login .button,
#form-login .Rega,
#form-login .Forgot {
  float: right;

  padding-left: 5px;
  box-sizing: border-box;
  margin-right: 0;
}

#pun-navlinks.scroll ul li #form-login .Rega,
#pun-navlinks.scroll ul li #form-login .Forgot {
  font-size: var(--size-10);
}

#pun-navlinks.scroll ul li #form-login .Rega,
#pun-navlinks.scroll ul li #form-login .Forgot,
#form-login .Rega,
#form-login .Forgot {
  color: var(--accent);
}

#pun-navlinks.scroll ul li #form-login .Rega:hover,
#pun-navlinks.scroll ul li #form-login .Forgot:hover,
#form-login .Rega:hover,
#form-login .Forgot:hover {
  color: var(--accent-2);
}

#form-login span:nth-child(2),
#form-login div:nth-child(3),
#form-login .Rega,
#form-login .Forgot {
  width: 220px;
  background: none;
  border: none;
  padding: 0;
}

#form-login .Rega {
  margin-bottom: 3px;
}

#form-login span:nth-child(2):hover,
#form-login div:nth-child(3):hover,
#form-login .Rega:hover,
#form-login .Forgot:hover {
  background: none;
  border: none;
  padding: 0;
}

#form-login .Rega {
  margin-top: 10px;
}

#form-login .button {
  width: 215px;
  margin-top: 5px !important;
}

#form-login div:nth-child(3) input {
  width: 100%;
  box-sizing: border-box;
  margin: 3px 0 5px;
}

#form-login div:nth-child(3) span {
  font-size: var(--size-10);
  font-family: var(--main-font);
  letter-spacing: 1px;
  text-transform: lowercase;
}

#form-login div:nth-child(3) .inputfield {
  margin: 0;
}

#pun-navlinks #New-exit {
  position: absolute;

  top: 46px;
  right: 0;

  width: 30px;
  height: 30px;
  background: var(--accent-2);

  border-radius: 5px;
  padding: 5px 5px;

  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  box-shadow: 0 0 15px rgba(0, 0, 0, .15);
  box-sizing: border-box;
}

#pun-navlinks #New-exit img {
  display: none;
}

#pun-navlinks.fixed #New-exit {
  top: 44px;
}

#pun-navlinks #New-exit::before {
  display: block;
  position: absolute;
  content: '\f70c';

  transform: translateY(-50%);
  top: 50%;
  left: 0;
  right: 0;

  font-size: var(--size-13);
  font-family: var(--ico-font);
  color: var(--bg-main);
  font-weight: 900;
  text-align: center;
}

#pun-navlinks #New-exit:hover {
  background: var(--accent);
}

#form-login p {
  position: initial;
}

#form-login #List-UserNames + span,
#form-login #List-UserNames + span + div,
#pun-navlinks span.odd #form-login p:last-child {
  text-align: center;
  line-height: 1.1;
}

#pun-navlinks span.odd {
  position: absolute !important;
}


/******** Notification ********/

.notification-left .notification-image {
  border-radius: 50% !important;
}

#notify-link .unreads, #navpm .unreads {
  border-radius: 50% !important;
  color: var(--white) !important;
  background: var(--accent) !important;
  box-shadow: none !important;
  font-weight: 400 !important;
}

.unread-notifications .modal-inner {
  text-align: center;
}

.unread-notifications .notification-left + .notification-right {
  line-height: 1.3;
}

.unread-notifications td {
  width: 100%;
}

.unread-notifications #notifications-wrap table {
  width: 100%;
  margin: 0 auto;
}

.pun-modal.unread-notifications .container {
  background: var(--bg-main) !important;
  text-align: left;
  padding: 5px 10px 10px;
}

.pun-modal.unread-notifications #notifications-settings {
  padding: 0 0 10px;
}

.unread-notifications .notification-left + .notification-right a {
  color: var(--accent);
  font-weight: 600;
}

.unread-notifications .notification-left + .notification-right a:hover {
  color: var(--accent);
}

.pun-modal.unread-notifications #stored-title {
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 0 5px 0 0;
  border: none;
  border-style: none;
  background: none;
  text-transform: lowercase;
}

#pun .pun-modal.unread-notifications h2 .closer {
  pointer-events: all;
  right: 30px;
  top: 12px;
  z-index: 1;
}

#pun .unread-notifications #notifications-advanced #settings-enabled {
  font-style: normal;
}

#pun .unread-notifications .setting-title .setting-description {
  margin-top: 0;
  margin-bottom: 5px;
}

.unread-notifications #notifications-settings .settings-telegram {
  float: right;
}

.pun-modal.unread-notifications .notifications-block-title {
  border: none;
  border-style: none;
  background: none;
  margin-bottom: 5px;
  text-transform: lowercase;
  padding: 0;
}

.pun-modal.unread-notifications #notifications-settings #settings-telegram a {
  text-transform: lowercase;
  color: var(--accent-2);
}

.pun-modal.unread-notifications #notifications-settings #settings-telegram a:hover {
  text-transform: lowercase;
  color: var(--accent);
}

.pun-modal.unread-notifications #notifications-settings #settings-telegram::after {
  color: var(--accent);
}

.pun-modal.unread-notifications #notifications-advanced #advanced-setting-list {
  padding: 0.3em 0 0.8em;
}

.punbb #pun-main .pun-modal.unread-notifications .section h2 {
  display: flex !important;
  left: 0;
}

.punbb .unread-notifications #notifications-wrap,
.punbb .unread-notifications #notifications-advanced {
  padding-right: 5px;
}

.pun-modal.unread-notifications tr {
  display: flex;
  align-items: center;

  width: 100%;
  background: var(--bg-post) !important;

  border: none;
  border-radius: 0;

  padding: 10px;
  margin-bottom: 3px;

  box-sizing: border-box;
  transition: var(--transition);
}

.pun-modal.unread-notifications tr:hover {
  background: var(--bg-post) !important;
}

.pun-modal.unread-notifications #notifications tr {
  background: var(--bg-post) !important;
}

.pun-modal.unread-notifications #notifications tr:hover {
  background: var(--bg-post) !important;
}

.pun-modal.unread-notifications h2 span:first-child {
}

#pun .pun-modal h2 .closer {
  position: absolute;
  right: -22px;
  padding: 10px 0 0 !important;
  font-size: var(--size-32) !important;
  font-family: var(--main-font);
  transition: var(--transition);
  color: var(--txt-main);
  margin-right: -13px !important;
}

#pun .pun-modal h2 .closer::before,
#pun .pun-modal h2 .closer::after {
  display: none;
}


#pun .pun-modal h2 .closer:hover {
  color: var(--accent);
}


/******** Awards ********/

#pun-mod .main {
  margin-top: 30px;
}

.category #awards-content tr {
  align-items: center;
}

.category #awards-content .tcl {
  width: 20%;
}

.category #awards-content .tc2:nth-child(2) {
  width: 10% !important;
  text-align: center;
}

.category #awards-content .tc2:nth-child(3) {
  width: 50% !important;
  padding-left: 5px;
  padding-right: 5px;
}

.category #awards-content .tc2:nth-child(4) {
  width: 20% !important;
  text-align: right;
}


/* Poll */

#poll-special table {
  position: relative;

  width: 80% !important;

  text-align: justify;
  border-radius: 0;


  margin: 0 auto;
  padding: 16px 10px;

  box-sizing: border-box;
}

#poll-special .question .tac {
  position: absolute;

  top: -10px;
  left: 0;
  right: 0;

  width: max-content;
  background: var(--bg-main);

  font-family: var(--accent-font);
  font-size: var(--size-18);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;

  margin: 0 auto;
  padding: 2px 15px;

  box-sizing: border-box;
}

#poll-special .question .tac strong {
  font-weight: 400;
}

#poll-special tr:last-child .tac {
  font-family: var(--arial-font);
  font-size: var(--size-12);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#poll-special tr:last-child .tac span {
  display: block;
  text-align: center;
  margin-top: 20px;
}


#pun-main.multipage #poll-special table td h1 {
  display: block !important;
  height: 4px !important;
  margin: 0 0 2px;
  padding: 0;
  border: none;
}

#pun-main.multipage #poll-special table td h1::before {
  position: relative;
  display: block;

  content: '';
  top: 2px;

  width: auto;
  height: 0;

  border-bottom: 2px solid var(--accent);
  z-index: 0;
}

#pun-main.multipage #poll-special table td h1::after {
  display: none;
}

#poll-special td:not(.tar):first-child {
  width: max-content;
}

#poll-special td:nth-child(3) {
  width: 10%;
  text-align: right !important;
}


/******** Close forum ********/

.formal.prof.no-active {
  height: auto !important;
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formal.prof.no-active fieldset {
  text-align: center;
  margin: 0;
  padding: 10px 15px;
  margin-top: 10px;
}

.formal.prof.no-active fieldset .fs-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.formal.prof.no-active #login {
  max-width: 400px;
  background: var(--bg-main);
  text-align: center;
  padding: 10px;
  z-index: 9;
}

.formal.prof.no-active #login span {
  font-family: var(--accent-font);
  font-size: var(--size-15);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}


/******** Need ********/

.topic .post.topicpost .charlist {
  padding: 35px 0 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.topic .post.topicpost .charlist ul {
  flex: none;
  width: 49.5%;
  background: var(--bg-post);

  text-align: center;

  margin: 0 0 4px;
  padding: 0 0 12px;
  border-radius: 0;

  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
}

.topic .post.topicpost .charlist ul:hover {
  background: var(--bg-main);
}

.topic .post.topicpost .charlist ul .charlist_title {
  background: var(--accent);
  font-size: var(--size-15);
  font-family: var(--accent-font);
  text-transform: lowercase;
  font-style: italic;
  text-align: center;
  font-weight: 400;
  border: none;
  padding: 0 5px;
  margin-top: 0;
  color: var(--white);
  border-radius: 0;
  transition: var(--transition);
}

.topic .post.topicpost .charlist ul .charlist_title.active {
  background: var(--accent-2);
}

.topic .post.topicpost .charlist ul li:not(.charlist_title) {
  margin-bottom: 0 !important;
}

.topic .post.topicpost .charlist .hvClearFilters {
  font-style: normal;
  text-transform: lowercase;
  transition: var(--transition);
}

.topic .post.topicpost .charlist .hvClearFilters:hover {
  color: var(--accent);
}

.topic .post.topicpost .charlist ul .charlist_title:hover {
  background: var(--accent);
}

.topic .post.topicpost .charlist ul .charlist_title::before,
.topic .post.topicpost .charlist .charlist_item::before {
  display: none;
}

.topic .post.topicpost .charlist .charlist_item {
  padding-left: 0;
}

.topic#topic_t14 .post:not(.topicpost) .fd + p {
  font-family: var(--accent-font);
  font-size: 130%;
}


/* ñïèñîê ðîëåé */

.topic#topic_t14041 .post-content#p1490166-content .media-box > div {
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 700;
}

.topic#topic_t14041 .post-content#p1490166-content .media-box > div::before {
  top: 6px;
}

.topic#topic_t14041 .post-content#p1490166-content table {
  width: 100%;
  font-size: 1.2em;
}

.topic#topic_t14041 .post-content#p1490166-content table a {
  color: var(--accent-2);
}

.topic#topic_t14041 .post-content#p1490166-content table a:hover {
  color: var(--accent);
}

.topic#topic_t14041 .post-content#p1490166-content tr {
  display: flex;
  align-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
  border: 1px solid var(--border-quote);
}

.topic#topic_t14041 .post-content#p1490166-content tr:not(:last-child) {
  border-bottom: none;
}

.topic#topic_t14041 .post-content#p1490166-content td {
  box-sizing: border-box;
}

.topic#topic_t14041 .post-content#p1490166-content td:first-child {
  width: 35%;
  background: none;
  text-align: right;
  border-right: 1px solid var(--border-quote) !important;
  padding-right: 15px !important;
  transition: var(--transition);
}

.topic#topic_t29 .post-content#p2338-content table tr td:last-child a,
.topic#topic_t14041 .post-content#p1490166-content td:first-child strong {
  font-family: var(--accent-font);
  font-size: var(--size-18);
  color: var(--accent-link);
  font-style: italic;
}

.topic#topic_t29 .post-content#p2338-content table tr td p + .quote-box a {
  color: var(--accent-2);
}

.topic#topic_t29 .post-content#p2338-content table tr td p + .quote-box a:hover,
.topic#topic_t29 .post-content#p2338-content table tr td:last-child a:hover {
  color: var(--size-18);
}

.topic#topic_t14041 .post-content#p1490166-content td:last-child {
  width: calc(100% - 35%);
  text-align: left;
  -webkit-transition: all ease-out 0.3s;
  -moz-transition: all ease-out 0.3s;
  -ms-transition: all ease-out 0.3s;
  -o-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
  padding-left: 15px !important;
}

.topic#topic_t14041 .post-content#p1490166-content tr:hover td:first-child {
  background: var(--bg-main);
}

.topic#topic_t14041 .post-content#p1490166-content tr:hover td:last-child {
  background: var(--bg-main);
}

.topic#topic_t14041 .post-content#p1490166-content tr td:last-child strong {
  text-transform: uppercase;
  font-size: var(--size-13);
  line-height: 1;
  color: var(--accent-link);
}


/* òâèíêè */

.topic#topic_t29 .post-content#p2338-content table {
  width: 100%;
  border: 1px solid var(--border-quote);
}

.topic#topic_t29 .post-content#p2338-content table tbody {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 15px 10px;
}

.topic#topic_t29 .post-content#p2338-content table,
.topic#topic_t29 .post-content#p2338-content table tr,
.topic#topic_t29 .post-content#p2338-content table tr td {
  display: block;
}

.topic#topic_t29 .post-content#p2338-content table tr td {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
  background: var(--bg-post);
}

.topic#topic_t29 .post-content#p2338-content table {
  background: var(--bg-main);
}

.topic#topic_t29 .post-content#p2338-content table tr td p + .quote-box {
  height: calc(100% - 34px);
  width: calc(100% - 20px);
  background: var(--bg-inner-quote);
  padding: 10px 15px 12px;
  margin: 10px auto;
}

.topic#topic_t29 .post-content#p2338-content table p {
  margin: 0;
}

.topic#topic_t29 .post-content#p2338-content table tr:not([valign="middle"]) p {
  padding: 8px 10px 10px;
  line-height: 1;
}

.topic#topic_t29 .post-content#p2338-content table tr:not([valign="middle"]) {
  width: calc(33% - 15px);
  background: none;
  border: 1px solid var(--bg-main);
  transition: var(--transition);
}

.topic#topic_t29 .post-content#p2338-content table tr:not([valign="middle"]) .quote-box p {
  text-align: left;
  padding: 0;
}

.topic#topic_t29 .post-content#p2338-content table tr:not([valign="middle"]):last-child {
  margin-bottom: 25px;
}

.topic#topic_t29 .post-content#p2338-content table tr:not([valign="middle"]) {
  background: var(--bg-main);
}

.topic#topic_t29 .post-content#p2338-content table tr[valign="middle"] {
  width: 100%;
  text-align: center;
}

.topic#topic_t29 .post-content#p2338-content table tr:not([valign="middle"]):hover {
  border-color: var(--border-quote);
}

.topic#topic_t29 .post-content#p2338-content table tr[valign="middle"]:not(:first-child) {
  margin-top: 20px;
}

.topic#topic_t29 .post-content#p2338-content table tr td:last-child .quote-box a {
  font-family: var(--main-font);
  font-size: var(--size-12);
  font-style: normal;
}


#pun-mergeposts .formsubmit,
#pun-deleteposts .formsubmit,
#pun-delete .formsubmit,
#pun-deleteposts .infofield,
#pun-delete .infofield {
  text-align: center;
}

#move_posts_form table.container tbody {
  padding-right: 5px;
}
