/*************************************************************
CODE STRUCTURE BY BLANCHE, GRAPHICS BY JUDASCARE
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/
@import url(style_cs.1732540392.css);
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0');
@import url('https://forumstatic.ru/files/001a/e6/32/64733.css'); /* helvetica */

@font-face {
  font-family: Arial Black;
  font-weight: normal;
  src: local('arial_black'), url(https://forumstatic.ru/files/001c/03/d1/88675.woff) format('woff');
}

/***************************************/

:root {
  --bg: url(https://forumstatic.ru/files/001c/0a/2b/96572.jpg) repeat fixed;
  --foot: url();
  --bg-color: #30316b;
  --pun: #e5e5e5;
  --notify: var(--col1);
  --link: var(--col1);

  --col1: #dd5bc7;
  --col2: #26b1b9;
  --col3: #a875cc;

  --font: helv;
  --font-fav: arial black;

  --title-h: 213px;
  --prof-w: 220px;
  --profnav-w: 110px;
  --main-w: 1000px;
  --main-p: 20px;
  --usav: 25px;
  --foot-h: 20px;
  --icon-w: 10px;

  --mat: 'Material Symbols Outlined';
  --mat1: 'Material Symbols Rounded';
}

/***************************************/

a {
  text-decoration: none;
  transition: all 0.5s;
  color: var(--link);
}

#pun-admain a,
#MyBookmarks span.scrl {
  color: var(--link) !important;
}

a:hover,
a:focus,
a:active {
  color: var(--bg-color);
}

:focus {
  outline: none !important;
}

.adlabel,
.adlabel a {
  color: var(--pun) !important;
}

/* ETO BAZA: BODYb, PUNb, TITLEb
--------------------------------------------------------------------------------------------------------------------------*/
html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: url(https://forumstatic.ru/files/001c/0a/2b/38241.jpg) bottom left no-repeat fixed,
    var(--bg) var(--bg-color);
}

body.redirect-page {
  background: var(--bg-color) !important;
}

/***************************************/

#pun {
  position: relative;
  width: var(--main-w);
  background: var(--pun);
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  color: #151515;
  margin: var(--title-h) auto var(--foot-h) auto;
  border-right: 10px solid var(--col1);
}

.punbb {
  padding: var(--main-p);
  box-sizing: border-box;
}

#pun:before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -10px;
  top: 0;
  height: calc(100% + 118px);
  width: calc(100% + 10px);
  background: var(--bg) top;
}

#pun:after {
  content: '';
  position: absolute;
  top: -76px;
  right: -57px;
  border: 2px solid var(--col1);
  width: 100%;
  height: calc(100% - -120px);
  z-index: -1;
}

/***************************************/

#pun-title {
    width: calc(var(--main-w) + 10px);
    margin: calc(0px - var(--title-h) - 20px) 0 20px -30px;
    background: var(--bg) top;
    height: var(--title-h);
}

#pun-title:before {
  content: 'aurora';
  font-family: var(--font-fav);
  color: #f5f4f4;
  text-transform: uppercase;
  font-style: italic;
  font-size: 77px;
  position: absolute;
  right: 30px;
  top: -132px;
  letter-spacing: -4px;
}

#pun-title:after {
  content: '';
  border: 2px solid var(--pun);
  width: 332px;
  height: 118px;
  position: absolute;
  left: 53px;
  top: -120px;
  border-bottom: none;
  border-right: none;
}

/* BODY/TITLE RANDOM CHANGER © BLANCHE. free for use only with copy  */
#bg {
  position: absolute;
  width: var(--main-w);
  height: var(--title-h);
  top: calc(0px - var(--title-h));
  left: 50%;
  margin-left: -495px;
  z-index: 0;
}
.bg-0 {
  background: url(https://forumstatic.ru/files/001c/0a/2b/46377.gif) no-repeat center;
}
.bg-1 {
  background: url(https://forumstatic.ru/files/001c/0a/2b/43927.gif) no-repeat center;
}
.bg-2 {
  background: url(https://forumstatic.ru/files/001c/0a/2b/69072.gif) no-repeat center;
}

/* NAVLINKS / ULINKS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-navlinks .container,
#pun-ulinks .container {
  display: flex;
  margin: 0;
  width: var(--main-w);
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  gap: 20px;
  text-transform: lowercase;
  letter-spacing: 0.2px;
  margin-left: -20px;
}
#pun-ulinks a,
#pun-navlinks a {
  padding: 0 3px;
}
#pun-navlinks .container {
  font-weight: 600;
  font-size: 17px;
  font-style: italic;
}

/* ulinks */

#pun-ulinks .container {
  font-size: 8px;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}
#pun-ulinks a:before {
  content: '#';
  color: var(--col1);
  font-size: 11px;
}

#pun-ulinks a,
#pun-navlinks a {
  color: var(--bg-color);
}

#pun-navlinks a:hover,
#pun-ulinks a:hover {
  color: var(--col1);
}

#navadmin a:before {
  content: 'амс';
}

/* STATUS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-status .container {
  font-family: var(--font);
  text-transform: lowercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0;
  font-size: 7px;
  top: calc(0px - var(--title-h) + 10px);
  position: absolute;
  left: 0;
  width: var(--main-w);
  text-align: center;
  text-transform: uppercase;
}

#pun-status {
  color: var(--pun);
}
#pun-status a,
#pun-status strong {
  color: var(--col1);
}

#pun-status .status-right {
  float: none !important;
}

/* CATEGORY
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats h2 {
  font-size: 0;
}
#pun-stats h2 span:before {
  content: 'statistics';
}

#pun-index .category .container,
.statscon {
  position: relative;
}

.category h2,
#pun-stats h2 {
  margin: 0 0 0 calc(0px - var(--main-p));
  width: var(--main-w);
  background: var(--bg) top;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/***************************************/

.category h2 span,
#pun-stats h2 span {
  color: var(--pun);
  font-family: var(--font-fav);
  text-transform: lowercase;
  font-style: italic;
}

.category h2 span,
#pun-stats h2 span:before {
  font-size: 30px;
}

/* HASICON / STRUCTURE EVERYWHERE
--------------------------------------------------------------------------------------------------------------------------*/
table {
  width: 100%;
}

.hasicon,
.usertable tbody,
#messages tbody,
#pun-respect .container tbody,
#pun-positive .container tbody,
#pun-online .container tbody {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font);
  margin: 20px 0;
  width: calc(var(--main-w) - var(--main-p) * 2);
}

.hasicon tr,
thead tr,
.usertable tr,
#messages tr,
#pun-searchtopics tr,
#pun-respect tr,
#pun-positive tr,
#pun-online tr {
  display: grid;
  gap: 10px;
  grid-template-columns: 50% 8% 8% 30%;
  justify-content: space-between;
  text-transform: lowercase;
  font-family: var(--font);
  align-items: center;
  color: var(--bg-color);
}

/***************************************/

#pun-searchtopics tr {
  grid-template-columns: 40% 20% 6% 26%;
}

.usertable tr {
  grid-template-columns: 20% 32% 6% 6% 10% 10%;
}

#pun-messages .hasicon tr,
#messages thead tr {
  grid-template-columns: 1fr 18% 10% 3%;
  align-items: center;
}

#pun-respect tr,
#pun-positive tr {
  grid-template-columns: 12% 2% 15% 30% 30%;
}

#pun-online tr {
  grid-template-columns: 40% 40% 20%;
}

#pun-messages td,
#pun-messages th,
#pun-online td {
  width: auto !important;
}

#pun-viewforum .tcr,
#pun-searchtopics .tcr,
.tc2,
.usertable .last_visit,
#pun-respect .tcr,
#pun-positive .tcr {
  text-align: right;
}

#pun-viewforum td.tcr,
#pun-searchtopics td.tcr {
  grid-template-areas: 'time user ava';
  display: grid;
  align-items: center;
  justify-items: end;
  justify-content: end;
  grid-template-columns: auto auto var(--usav);
  gap: 7px;
}

#pun-viewforum td.tcr a,
#pun-searchtopics td.tcr a {
  grid-area: 'time';
}

th {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-size: 10px;
  text-align: left;
}

/* fieldset */
fieldset {
  margin: 10px 0 !important;
  padding: 0;
  border: none !important;
}

/* fs-box */
.fs-box.inline {
  display: flex;
  gap: 10px;
  border: 1px solid;
  padding: 10px;
  align-items: center;
}

#pun-userlist .fs-box.inline {
  margin-top: -11px;
  position: relative;
}

#pun-login .fs-box.inline {
  margin-top: 10px;
  position: relative;
}

.inline .infofield {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-align: justify;
  color: var(--col1);
}

/* PUN-INDEX / PODFORUMS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .hasicon {
  gap: 30px;
}

#pun-index .hasicon tr {
  position: relative;
  box-sizing: border-box;
  grid-template-columns: 435px 1fr;
  gap: 30px;
  margin: 0;    color: #524943;
}

/* subforums */
#pun-index .hasicon .isub .tcl {
  padding-left: 0px !important;
}

.subforums {
  font-size: 0;
}

#pun-viewforum .isub .tcl h3 {
  margin: 0 0;
}

/* left part */

#pun-index .tcl h3 {
    font-weight: 600;
    text-transform: lowercase;
    margin: 0 0 10px 0;
    font-size: 17px;
    font-style: italic;
    font-family: var(--font);
    transition: all 0.5s;
    text-align: left;
}

#pun-index .tcl h3 a {
  color: var(--bg-color);
}

#pun-index .tclcon {
  font-size: 10px;
  text-align: justify;
  letter-spacing: 0.6px;
  line-height: 17px;
  text-transform: lowercase;
  font-weight: normal;
}

#pun-index .tclcon span,
#pun-index .subforums {
    position: relative;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0 0 -46px;
    background: var(--bg-color);
    padding: 0px 10px;
}

#pun-index .tclcon span {
    padding-left: 30px;
}

#pun-index .tclcon span a,
#pun-index .subforums a {
    color: var(--pun);
    font-family: var(--font);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

#pun-index .tclcon span a:before, #pun-index .subforums a:before {
    content: '#';
    color: var(--col2);
}

/* right part */
#pun-index .tcr {
    display: grid;
    grid-template-columns: auto var(--usav);
    grid-template-rows: auto auto;
    gap: 3px 10px;
    grid-template-areas: 'lastpost1 ava'
    'lastpost2 ava';
    justify-content: end;
    align-items: center;
    justify-items: end;
}

.lastpost-link {
    font-weight: 700;
    grid-area: lastpost1;
    color: var(--col1);
    text-align: right;
    display: flex;
    height: 100%;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    font-size: 12px;
    align-items: flex-end;
    line-height: 15px;
    font-style: italic;
}

.lastpost {
    grid-area: lastpost2;
    font-size: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* user-avatar */
.user-avatar,
.avatar-image {
  border-radius: 0 !important;
}
.user-avatar {
  margin: 3px 0 0 0 !important;
  background: #3e3e3e;
  width: var(--usav) !important;
  height: var(--usav) !important;
  grid-area: ava;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.avatar-image {
  opacity: 1 !important;
  filter: grayscale(1);
  mix-blend-mode: screen;
  width: calc(var(--usav) - 0px) !important;
  height: calc(var(--usav) - 0px) !important;
}

.isonline {
  background: var(--col1) !important;
  top: 9px !important;
  right: 9px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 0 !important;
}

/* ICONS
--------------------------------------------------------------------------------------------------------------------------*/
.intd {
  display: grid;
  grid-template-columns: var(--icon-w) 1fr;
  align-items: center;
  gap: 10px;
}

#pun-index .intd {
  align-items: start;
  gap: 15px;
}

.intd .icon {
    width: var(--icon-w);
    height: var(--icon-w);
    transition: all 0.5s;
    margin-top: -15px;
color: var(--bg-color);
}

.intd .icon:before {
    content: '#';
    font-size: 20px;
    font-style: italic;
}

#pun-index .intd .icon {
color: var(--pun);    margin-top: -5px;
}

.intd .icon.inew,
.intd .icon-new {
color: var(--col1) !important;
}

.isticky .intd .icon {
color: var(--col2);
}

.iclosed .icon {
color: var(--col3);
}

/* CRUMBS
--------------------------------------------------------------------------------------------------------------------------*/
.crumbs {
  margin: 20px 0;
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  text-transform: lowercase;
}

.crumbs a {
  color: var(--bg-color);
  display: inline-flex;
  align-items: center;
}

.crumbs,
.crumbs a:hover {
  color: var(--col1);
}

.crumbs a:after,
#pun-searchposts h3 span a:after {
    content: '#';
    color: var(--col1);
    margin: 0px 0 0 10px;
    /* height: 4px; */
    /* width: 4px; */
    opacity: 1;
    font-size: 12px;
}

.crumbs a:last-child:after,
#pun-searchposts h3 span a:last-child:after {
  display: none;
}

/* STATSCON
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats .container {
  display: grid;
  grid-template-columns: auto auto;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 10px;
  /*  margin: 20px 0px 0px 0px;*/
  font-family: var(--font);
  gap: 5px;
  grid-template-areas:
    'tem reg'
    'soo last'
    'active active'
    'day day';
}

.statscon .item1 {
  grid-area: tem;
}
.statscon .item2 {
  grid-area: soo;
}
.statscon .item3 {
  grid-area: reg;
  text-align: right;
}
.statscon .item4 {
  grid-area: last;
  text-align: right;
}

.statscon .item5 {
  text-align: justify;
  line-height: 15px;
  margin-top: 10px;
}
.statscon .item5.onlinelist {
  grid-area: active;
}
.statscon .item5.users_24h {
  grid-area: day;
}

.statscon strong,
.statscon a {
  color: var(--col1);
  font-weight: 600;
}

/* FOOTER
--------------------------------------------------------------------------------------------------------------------------*/
#pun-about {
    width: var(--main-w);
    height: var(--foot-h);
    text-align: center;
    position: absolute;
    left: -1px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

#pun-about .container {
  font-family: var(--font);
  font-size: 6px;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  margin-top: 50px;
}

#pun-about,
#pun-about a {
  color: #f6f6f6;
}

/* PROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
/* structure */
.post-author {
  width: var(--prof-w);
  min-height: 85px;
  position: relative;
}

.post-author ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  width: var(--prof-w);
  gap: 10px 5px;
  font-family: var(--font);
  padding: 0px 10px 6px 10px;
  box-sizing: border-box;
  margin: 25px 0 30px 0px;
  border: 2px solid var(--col3);
  color: #282f38;
}

.post-author li {
  width: inherit;
}

/* pa */
.pa-author {
  font-size: 17px;
  font-weight: 600;
  text-transform: lowercase;
  transition: all 0.5s;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 17px;
  margin-top: -30px;
  text-align: left;
  font-style: italic;
}

.pa-author,
.pa-author a {
  color: var(--bg-color);
}

.pa-author a:hover {
  color: var(--col1);
}

.pa-title {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: lowercase;
    font-family: var(--font);
    font-weight: 100;
    margin: 0;
    line-height: 10px;
}

.pa-avatar {
  position: relative;
  width: auto !important;
  margin: 0 20px;
  z-index: 1;
}

.pa-avatar img,
#pa-avatar img {
  position: relative;
  z-index: 2;
}

/* posts/respect */
.pa-respect,
.pa-posts {
  width: calc(calc(var(--prof-w) - 30px) / 2) !important;
  text-transform: lowercase;
  font-weight: 100;
  font-size: 10px;
  position: relative;
  z-index: 1;
}

.pa-respect,
.pa-respect a,
.pa-posts {
  color: var(--bg-color);
}

.pa-respect .fld-name,
.pa-respect .fld-name a,
.pa-posts .fld-name {
  color: #6c5694;
}

.pa-respect .fld-name,
.pa-posts .fld-name {
  font-size: 10px;
  margin-bottom: 3px;
  text-transform: lowercase;
  display: block;
  font-weight: 600;
  font-style: italic;
}

.pa-respect img {
  filter: grayscale(1);
  vertical-align: middle;
  margin-top: -4px;
}

/* fld */
.pa-fld1 lz {
  margin: 0 10px 10px 10px;
  display: block;
  text-align: justify;
  font-size: 9px;
  letter-spacing: 0.6px;
  font-weight: 400;
}

.pa-fld1 lz a {
  color: #727272;
}

.pa-fld1 .ank {
    color: var(--col2);
    font-size: 14px;
    text-transform: lowercase;
    font-weight: 600;
    display: block;
}

#pa-fld1 .ank {
  display: block;
}

.pa-fld2 {
    font-size: 9px;
    letter-spacing: 1px;
    text-align: justify;
    font-weight: 100;
    line-height: 15px;
}

.pa-fld3 plash, #pa-fld3 plash {
    background: url(https://forumstatic.ru/files/001c/0a/2b/97125.jpg?v=1);
    width: 220px;
    height: 30px;
    display: grid;
    grid-template-areas:
        'verh img'
        'niz img';
    grid-template-columns: auto 25px;
    grid-template-rows: 1fr 1fr;
    padding: 0 10px;
    box-sizing: border-box;
    gap: 0 10px;
    font-family: var(--font);
    color: #e5e5e5;
    align-items: center;
    justify-content: space-between;
}

.pa-fld3 plash img, #pa-fld3 plash img {
    grid-area: img;
    max-height: 30px;
    max-width: 30px;
}

.pa-fld3 plash b, #pa-fld3 plash b {
    grid-area: verh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    font-weight: 600;
    font-size: 14px;
    font-style: italic;
    letter-spacing: .2px;
    text-transform: lowercase;
    margin-bottom: -1px;
}

.pa-fld3 plash i, #pa-fld3 plash i {
    grid-area: niz;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    font-size: 9px;
    text-transform: lowercase;
    font-weight: 100;
    font-style: normal;
    letter-spacing: 1px;
}

/* online */
.indOnline,
.indOffline {
  cursor: pointer;
  position: absolute;
  top: -26px;
  left: 0;
  height: 4px;
  width: 100%;
  z-index: 2;
  font-family: var(--font);
}

.indOnline:before,
.indOffline:before {
  content: '#';
}

.indOnline:before {
    color: var(--col1);
}

.indOffline:before {
    color: #bfbebe;
}

/* QUOTES / SPOILER / TEXTAREA
--------------------------------------------------------------------------------------------------------------------------*/
.quote-box,
.code-box,
textarea,
.inner,
.modal-inner,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal {
  background: var(--pun) !important;
  border: 2px solid var(--col2) !important;
  box-shadow: none !important;
}

.quote-box {
  margin: 35px 10px 10px;
  position: relative;
}

.code-box {
  margin: 10px 10px 15px;
  position: relative;
}

.spoiler-box {
  margin: 20px 0;
}

td .spoiler-box {
  margin: 20px 10px;
}

.quote-main {
    border-color: var(--col3) !important;
}

.hide-box, .spoiler-box {
    border-color: var(--col3) !important;
}

cite,
.code-box .legend,
.spoiler-box > div {
    font-style: normal;
    display: block;
    font-family: var(--font);
    font-weight: 600;
    text-transform: lowercase;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.2px;
    position: relative;
    text-align: left;
    background: var(--col2) !important;
    padding: 0 40px 3px 40px;
}

.hide-box cite, .spoiler-box > div {
    background: var(--col3) !important;
}


.code-box .legend,
.hide-box cite {
  text-align: right;
}

.spoiler-box > div {
  margin-top: 0;
  padding: 4px 0;
}

.spoiler-box > div {
  padding-left: 40px !important;
}

cite,
cite a,
cite a:hover,
.code-box .legend,
.code-box .legend a,
.spoiler-box > div {
  color: var(--pun);
}

a.qc-post-link:before {
  font-family: var(--mat);
  margin-left: 5px;
  font-weight: 100;
  content: '\e0e6';
  vertical-align: middle;
}

a.qc-post-link img {
  display: none;
}

blockquote,
.blockcode {
  padding: 10px 30px;
  position: relative;
  z-index: 3;
  background: var(--pun);
  margin: 0;
}

blockquote p:last-child {
  padding: 0;
}

.scrollbox {
  overflow: auto;
  font-size: initial;
  max-height: 60px;
}

/* SPOILER ANIMATION © BLANCHE. free for use only with copy */

.spoiler-box > div:before {
    content: '#';
    font-family: var(--mat);
    transition: all 0.5s;
    transform: rotate(0deg);
    font-size: 13px;
    font-weight: 600;
    position: absolute;
    left: 10px;
    font-style: normal;
}

.spoiler-box > div.visible:before {
  transform: rotate(80deg);
}

/* textarea */
textarea {
  overflow: auto;
  font-size: 10.5px !important;
  line-height: 15px !important;
  padding: 10px;
  font-family: Verdana;
  box-sizing: border-box;
}

/* FORMA OTVETA
--------------------------------------------------------------------------------------------------------------------------*/
#pun-viewtopic #post {
  margin-top: 20px;
}

#pun-viewtopic .post-box #post,
#pun-viewtopic .post-box fieldset {
  margin: 0 !important;
  padding: 0;
}

.post-box {
  padding-bottom: 20px;
}

#post .areafield {
  margin: 0;
}

#pun-edit #post .areafield span.input a {
  margin: 10px 0;
  display: block;
  text-transform: lowercase;
  font-family: var(--font);
  letter-spacing: 0.5px;
}

.hashelp {
  position: relative;
}

#main-reply {
  height: 213px;
}

.grippie {
  margin-top: 5px;
}

/* CUSTOM FORM-BUTTONS WITH WRITTEN SYMBOLS © BLANCHE. free for use only with copy */
#form-buttons {
    display: grid;
    grid-template-columns: 145px 1fr;
    background: var(--col2);
    margin-bottom: -1px;
}

#form-buttons table {
  width: 100% !important;
}

#form-buttons tr {
  width: 100%;
  display: flex;
  height: 26px;
  justify-content: space-between;
}

#plng,
#form-buttons td {
  display: flex;
  justify-content: center;
  gap: 3px;
  align-items: center;
  height: 26px;
  box-sizing: border-box;
  color: var(--pun);
}

#form-buttons td {
  background-image: none !important;
  font-family: var(--mat);
  font-size: 15px;
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
  background: var(--bg-color) !important;
  font-size: 9px;
  font-family: var(--font);
  color: var(--col1);
  font-weight: 600;
}

#form-buttons td img {
  z-index: 9;
}

#form-buttons td:before {
  position: absolute;
}

#button-font:before {
  content: '\e264';
}

#button-size:before {
  content: '\eae2';
}

#button-bold:before {
  content: '\e238';
}

#button-italic:before {
  content: '\e23f';
}

#button-underline:before {
  content: '\e249';
}

#button-strike:before {
  content: '\e257';
}

#button-transL:before {
  content: '\e8e2';
}

#button-indent:before {
  content: '\e23e';
}

#button-left:before {
  content: '\e236';
}

#button-center:before {
  content: '\e234';
}

#button-right:before {
  content: '\e237';
}

#button-justify:before {
  content: '\e235';
}

#button-link:before {
  content: '\e157';
}

#button-spoiler:before {
  content: '\e875';
}

#button-image:before {
  content: '\e412';
}

#button-imagetwo:before {
  content: '\e3f4';
}

#button-video:before {
  content: '\e1c4';
}

#button-hide:before {
  content: '\e898';
}

#button-quote:before {
  content: '\e625';
}

#button-code:before {
  content: '\ead1';
}

#button-html:before {
  content: '\ef54';
}

#button-color:before {
  content: '\e40a';
}

#button-table:before {
  content: '\f088';
}

#button-smile:before {
  content: '\e813';
}

#button-sticker:before {
  content: '\e87d';
}

#button-keyboard:before {
  content: '\f028';
}

#button-addition:before {
  content: '\e145';
}

#button-mask:before {
  content: '\e853';
}

#floatbut:before {
  content: '\e3b5';
}

/* tags */
#tags .container,
#float {
  overflow-y: auto;
  padding: 10px !important;
  height: 192px;
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  z-index: 99999;
  font-size: 10px;
  background: var(--bg-color);
  top: 27px !important;
  margin: -1px -6px 0 0px;
  color: var(--col1);
}

#font-area div,
#size-area div,
#addition-area div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: all 0.5s;
  margin: -10px;
  padding: 10px;
  position: relative;
}

/*#font-area:hover div,
#size-area:hover div,
#addition-area:hover div {
  color: var(--col2);
}*/

#font-area div:hover,
#size-area div:hover,
#addition-area div:hover {
  background: var(--col1);
  color: var(--bg-color);
}

#font-area div img,
#size-area div img {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

#font-area span,
#size-area span,
#addition-area div {
  height: auto !important;
}

#uploaded-images img {
  object-fit: cover;
}

#image-area,
#color-area,
#video-area,
#spoiler-area {
  height: auto !important;
}

#spoiler-area a,
#image-area a {
  color: inherit;
}

#float {
  left: 43%;
  z-index: 2;
  height: auto;
  position: absolute;
  display: none;
}

/* INPUT / BUTTONS
--------------------------------------------------------------------------------------------------------------------------*/
input,
select,
option,
.hvStickerPackModalTab {
  background: var(--pun) !important;
  border: 2px solid var(--col1);
  font-family: var(--font) !important;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 3px 5px;
  color: var(--bg-color);
  box-sizing: border-box;
}

select,
option {
  /*  color: var(--col2);*/
  text-transform: lowercase;
}

#topic-modmenu {
  margin-top: 20px;
}

/* button */
.button,
.hvStickerPackModalTab {
  background: var(--col1) !important;
  border: none !important;
  padding: 6px 10px !important;
  text-transform: lowercase;
  font-size: 10px !important;
  color: var(--pun);
  font-weight: 600 !important;
  transition: all 0.5s;
  cursor: pointer;
  border-radius: 0 !important;
}

.button:hover,
.hvStickerPackModalTab:hover,
.hvStickerPackModalTab.active {
  /*  background: var(--col2) !important;*/
  opacity: 0.5;
}

/* POST-LINKS / LINKST / LINSKB
--------------------------------------------------------------------------------------------------------------------------*/
.post-links {
  width: 100%;
}

#pun-viewtopic .post-links,
#pun-searchposts .post-links {
  padding-left: 10px;
  margin-bottom: -8px;
}

.post-links ul {
  text-align: right;
  margin: 0;
}

#pun-searchposts .post-links ul {
  text-align: left;
}

#pun-searchposts .post:last-child .post-links {
  margin-bottom: 10px;
}

.post-links ul,
#pun-viewtopic .linkst {
  padding-right: 30px;
}

.endpost .post-links ul,
#pun-messages .post-links ul {
  padding-right: 0;
}

.post-links li {
  display: inline-block;
}

.pl-email {
  float: left;
}

.pl-email.pm,
.pl-email.email {
  margin-left: 10px;
}

#pun-viewtopic .pl-delete,
.pl-edit,
#pun-messages .pl-quote {
  margin-right: 8px;
}

#pun-viewtopic h3,
#pun-searchposts h3,
#pun-multimove h3 {
  margin: 3px 0 10px 0;
}

.post h3 span,
.linkst,
.linksb {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post h3 span {
  flex-direction: row-reverse;
  margin-top: -10px;
  padding-left: calc(var(--prof-w) + var(--main-p) * 2) !important;
  box-sizing: border-box;
}

.pagelink {
  order: 1;
}
.postlink {
  order: 3;
  width: auto !important;
  margin-right: 20px;
}
.subscribelink,
#pun-viewforum noindex {
  order: 2;
}

.post h3 span,
.post-links,
.pagelink,
.postlink,
.subscribelink,
#pun-viewforum .modmenu strong,
.postlink .button {
    font-family: var(--font);
    font-size: 8px !important;
    letter-spacing: 1px;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-style: italic;
}

.post h3 span a,
.post-links a {
  color: var(--pun);
}

.post h3 span,
.post-links .pl-email a,
.pagelink,
.pagelink a,
.postlink a,
.postlink .button {
  color: var(--pun);
}

.post h3 span,
.linkst,
.endpost .post-links,
#pun-messages .post-links,
#pun-viewforum .category {
  /*border-bottom: 1px solid;
  border-top: 1px solid;
    padding-bottom: 10px;*/
  padding: 5px 0;
}

.post h3 span,
.endpost .post-links,
.linksb,
#pun-viewforum .linkst {
  padding-right: var(--main-p);
  margin-left: -20px;
  margin-right: -20px;
  width: calc(100% + 40px);
}

.linksb,
#pun-viewforum .linkst {
/*  border-top: 1px solid;
  border-bottom: 1px solid;*/
  padding: 5px 0;
  box-sizing: border-box;
  padding-left: 20px;
}

.gid3 .linksb {
  margin-top: 7px;
}

.linkst {
  margin-bottom: 10px;
}

.post h3 span,
.linksb,
.linkst,
.endpost .post-links,
#pun-messages .post-links/*,
#pun-viewforum .category*/ {
    background: var(--col1);
}

#pun-viewtopic .linkst,
#pun-searchposts .linkst,
#pun-multimove .linkst {
  border: none;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: -18px;
}

.linkst {
    margin-left: -20px;
    margin-right: -20px;
    padding-right: 20px;
    padding-left: 20px;
}

/* PAGES: VIEWTOPIC / POST / PUN-POST
--------------------------------------------------------------------------------------------------------------------------*/
.post .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 15px;
}

.post-rating .container,
.post-vote .container {
  display: block;
  margin: 0 !important;
}

.post .post-rating a,
.post .post-vote a {
  border: 2px solid var(--col1);
  min-width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px !important;
  transition: all 0.2s;
  color: var(--bg-color);
}

.post-rating a:hover,
.post-vote a:hover {
  background: var(--col1);
}

.post-rating a:before,
.post-vote a:before {
  font-family: var(--mat1);
  color: var(--col1);
  margin-right: 3px;
  transition: all 0.5s;
}
.post-rating a:before {
  content: '\e87d';
}
.post-vote a:before {
  content: '\e253';
}
.post-rating a:hover:before,
.post-vote a:hover:before {
  color: var(--pun);
}
div.post-vote {
  margin-bottom: 65px;
}

.post-body {
  display: block;
  width: calc(100% - var(--prof-w) - 20px);
  position: relative;
}

.reactions-root {
  padding: 0 5px;
  position: absolute;
  bottom: 0;
}

.post-content {
  width: 100%;
  text-align: justify;
}

.post-content img.postimg {
  vertical-align: middle;
}

.post-content table {
  table-layout: fixed;
}

.post-content table td {
  border: none !important;
}

.post-content p {
  margin: 0;
  padding-bottom: 10px;
  line-height: 150%;
  text-align: justify;
}

#topic-users-in {
  text-transform: lowercase;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.5px;
}

#topic-users-in span {
  font-weight: normal !important;
}

#topic-users-in a:after {
  content: ',';
  margin-right: 2px;
}

.formsubmit {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: lowercase;
  font-family: var(--font);
  letter-spacing: 0.5px;
  color: var(--bg-color);
}

#pun-post .pa-author {
  margin: auto;
  text-align: center;
  position: relative;
  top: auto;
}

#pun-post #post-preview legend span,
#pun-userlist legend span,
#pun-search legend span,
.modal-inner legend span,
#pun-delete legend span {
  display: block !important;
  margin-bottom: 10px;
}

#pun-login label {
  white-space: nowrap;
}

/* fntslider */
.FNTslider {
  width: 160px;
  height: 4px;
  border: 1px solid var(--pun);
  box-sizing: border-box;
}
.FNTslider .before {
  height: 3px;
  margin: 0px;
  background: var(--pun);
}
.FNTslider .thumb {
  width: 13px;
  height: 7px;
  position: relative;
  top: -6px;
  cursor: pointer;
  background: var(--pun);
}

/* new theme */
.required label,
.datafield .input,
.selectfield label,
.inputfield label,
.inputfield.required.longinput,
#pun-admain legend span,
#setmods dt {
  background-color: transparent !important;
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  font-size: 10px !important;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 7px;
}

.inputfield.required.longinput:last-child {
  display: flex;
  align-items: center;
}

/* checkboxes */
p[class='checkfield'] *,
div[class='checkfield'] *,
fieldset[class='radiofield'] * {
  vertical-align: middle;
  font-family: var(--font);
  font-weight: 300;
  font-size: 10px;
  padding: 2px 0;
  display: inline-block;
}

/* PAGES: VIEWFORUM, SEARCHPOSTS, ETC
--------------------------------------------------------------------------------------------------------------------------*/
.newtext {
  font-size: 10px;
}

.newtext a {
  color: var(--col1) !important;
}

.pagestext a {
  color: var(--col1) !important;
}

#pun-viewforum .category {
  margin-bottom: 10px;
}

#pun-searchposts h3 span {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 5px;
}

#pun-searchposts h3 strong {
  position: absolute;
  right: 30px;
}

#pun-searchposts .FNTslider {
  position: absolute;
  right: 50px;
}

#pun-searchposts h3 span a {
  display: inline-flex;
  align-items: center;
}

#pun-searchposts h3 span a:after {
  margin: 0px 0 2px 5px;
  display: inline-block;
  font-family: var(--font);
}

/* PAGES: VIEWPROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
#viewprofile tr {
  display: grid;
  grid-template-columns: 260px 1fr;
  font-family: var(--font);
  gap: 20px;
  border: 2px solid var(--col2);
  align-items: center;
  margin: 30px;
}

#profile-signature ul {
  border: none !important;
}

/* left part */
#viewprofile #profile-left {
  width: inherit !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-transform: lowercase;
  letter-spacing: 1px;
  padding: 15px !important;
  text-align: center;
  color: var(--pun);
  height: 100%;
  box-sizing: border-box;
/*  background: var(--col3);*/
  font-size: 9px;
  justify-content: center;
}

#profile-name {
  font-size: 15px;
}

#profile-left #profile-title strong,
#profile-left #pa-online strong {
  font-weight: 200 !important;
}

#profile-name strong,
#pa-edit a {
  color: var(--bg-color) !important;
}

#pa-avatar img {
  margin: 7px 0;
}

.pa-avatar img {
  max-width: 180px;
  max-height: 180px;
}

/* right part */
#profile-right {
  width: inherit !important;
  padding: 10px !important;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

#profile-right li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  text-transform: lowercase;
  font-size: 10px;
  align-items: center;
}

#profile-right li span:first-child {
  background: var(--pun);
  border: 1px solid var(--col2);
  text-transform: lowercase;
  font-weight: 600;
  padding: 2px 10px 4px 10px;
}

#profile-right li span:first-child,
#profile-right li span:first-child a {
  color: var(--bg-color);
}

#profile-right strong {
  font-weight: 500;
  padding: 0 !important;
  letter-spacing: 0.5px;
}

#profile-right strong,
#profile-right strong a {
  color: var(--bg-color);
}

/* inside */
#profilenav,
#pun-adnav {
  float: left;
  width: var(--profnav-w);
  font-family: var(--font);
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

#profilenav ul,
#pun-adnav ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#profile fieldset,
.adformal {
  padding: 20px;
}

#pun-profile fieldset,
#pun-profile .adfs-box {
  text-transform: lowercase;
  font-family: var(--font);
  color: var(--bg-color);
  letter-spacing: 0.5px;
  margin-left: var(--profnav-w) !important;
}

#profile fieldset fieldset {
  margin-left: 0px !important;
  padding: 0px;
}

#filetable thead tr {
  display: table-row;
}

#pun-profile #profile {
  min-height: 280px;
}

/* PAGES: USERLIST, RESPECT, ONLINE
--------------------------------------------------------------------------------------------------------------------------*/
.usertable .container {
  margin: 20px 0;
}

.usertable td,
.usertable th {
  text-align: center;
}

.usertable .tcl,
#pun-respect .tcl,
#pun-positive .tcl {
  text-align: left;
}

#pun-respect td,
#pun-respect th,
#pun-positive td,
#pun-positive th {
  width: auto !important;
  text-align: center;
}

/* userlist */
.username,
td.pmtc22 {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-areas: 'ava user';
  gap: 10px;
  align-items: center;
}

#pun-online .username {
  display: block;
}

td.pmtc22 {
  justify-content: end;
}

.usersname,
td.pmtc22 a,
#pun-viewforum td.tcr .byuser,
#pun-searchtopics td.tcr .byuser {
  grid-area: user;
}

.usersname a {
    color: var(--col2);
}

/* PAGES: MESSAGES
--------------------------------------------------------------------------------------------------------------------------*/
#pun-messages .hasicon {
  width: auto;
}

#pun-messages h3 {
  margin-top: -21px;
  position: relative;
}

.postlink .button {
  background: transparent !important;
  padding: 0 !important;
}

#profile.formal.messages-container .container {
  min-height: 70px;
}

#notify-settings {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 9px;
  color: var(--bg-color);
  margin-left: calc(var(--profnav-w) + 15px);
}

input#OnOff_Notify {
  margin-top: -2px;
}

#volSlider.vol_slider {
  margin-top: 1px;
}

#pun-messages .post-links {
    margin-bottom: -1px;
    padding-right: 10px;
    padding-left: 10px;
    width: calc(100% + 20px) !important;
    margin-right: -40px;
}

#pun-messages .post h3 span {
  padding-left: 540px !important;
  white-space: nowrap;
  margin-left: 0 !important;
  gap: 10px;
}

/* SCROLLBAR / SELECTION
--------------------------------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--col1);
}

/* selection */
::selection {
  color: var(--col1);
  background: var(--bg-color);
}

/* HIDDEN ELEMENTS
--------------------------------------------------------------------------------------------------------------------------*/
.acchide,
h1,
#pun-navlinks h2,
#pun-status h2,
#pun-ulinks h2,
.multipage .topic h2,
form#post.container legend span,
.post-sig dt span,
.crumbs strong,
.divider hr,
#pun-userlist .main h2,
#pun .modlist,
.stickytext,
.closedatafield,
#pun-viewforum #pun-main h2,
#pun-announcement h2,
#pun-break4,
#pun-messages .post-sig,
.tipsy-arrow,
.clearer,
#pun-searchtopics #pun-main h2,
.num_msg:before,
/* проверить все ДО этого */
#topic-users-in a:last-child:after,
#topic-modmenu span,
#pun-viewforum .modmenu span,
#post-form h2,
#pun-index th,
#pun-index .tcr br,
#pun-index .tc2,
#pun-index .tc3,
.lastedit,
.pa-reg,
.pa-gifts,
.pa-replies,
.sharelink,
.postlink .closed,
.pl-share,
.pl-reports,
.pa-last-visit,
#viewprofile-next #profilenav,
#pa-invites,
#profile-gifts,
#navadmin span,
#pun-live-rusff,
.crumbs em,
#pun-searchposts em,
#pun-searchtopics .modmenu,
.bubble:after,
#pa-fld4,
#pun-post .topic h2,
.hide-box .qcn,
#topic-feed,
.modal-inner h2 span, 
.catleft, 
.catright, 
#button-smile,
#button-files_rusff, 
#button-graffiti_rusff,
#pun-index .subforums em,
.pa-online,
.reactions-root,
.qcn {
  display: none !important;
}

/* MOBILE / MOZILLA
--------------------------------------------------------------------------------------------------------------------------*/
@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
  }
  #form-buttons {
    margin-bottom: -2px;
  }
}

/*html{min-width: 1200px!important;}для мобил*/
@media screen and (max-device-width: 480px) {
  a,
  a:hover,
  a:focus,
  a:active,
  #pun-status,
  .crumbs,
  #pun-stats ul.container,
  .modmenu .container,
  #pun-index .tcr .lastpost {
    -webkit-text-size-adjust: none;
  }
  .hashelp center div a button,
  .button,
/*  input,*/
  select {
    -webkit-appearance: none !important;
    border-radius: 0px !important;
  }
}