@import url(style_cs.1764237477.css);
@import url('https://kit-pro.fontawesome.com/releases/v6.5.2/css/pro.min.css');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
@import url('https://fonts.googleapis.com/css2?family=Yarndings+20&display=swap');

@font-face {
    font-family: 'Geologica';
    src: local('Geologica Thin');
    src: url('//forumstatic.ru/files/0019/78/44/52405.ttf') format('truetype');
}

@font-face {
    font-family: 'Conthrax';
    src: url('//forumstatic.ru/files/001c/8f/7f/77366.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans');
    src: url('//forumstatic.ru/files/001a/fb/19/56757.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans');
    src: url('//forumstatic.ru/files/001a/fb/19/69763.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans');
    src: url('//forumstatic.ru/files/001a/fb/19/20203.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans');
    src: url('//forumstatic.ru/files/001a/fb/19/72143.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}


@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans');
    src: url('//forumstatic.ru/files/001a/fb/19/68438.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans');
    src: url('//forumstatic.ru/files/001a/fb/19/36157.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('/files/001a/fb/19/19750.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('/files/001a/fb/19/11610.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('/files/001a/fb/19/78444.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('/files/001a/fb/19/27479.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: local('Jost');
    src: url('/files/001a/fb/19/72834.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: local('Jost');
    src: url('/files/001a/fb/19/33833.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Jost';
    src: local('Jost');
    src: url('/files/001a/fb/19/82594.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Jost';
    src: local('Jost');
    src: url('/files/001a/fb/19/14634.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* информационные блоки постов
-------------------------------------------------------------*/

.infoBlock {
    display: block;
    white-space: pre-line;
    border: 1px solid var(--brdr2);
    border-radius: 10px;
    padding: 15px;
    margin: auto !important;
    width: 80%;
    line-height: 150%;
}

infohead {
    display: flex;
    background-image: url(https://forumstatic.ru/files/001c/8f/7f/36422.webp?v=1);
    background-position: -610px -610px;
    background-color: black;
    color: #ededed;
    border-radius: 10px 10px 0 0;
    padding: 10px 20px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    margin: -15px !important;
    flex-direction: column;
    text-shadow: 2px 2px 0px #000;
    position: relative;
    overflow: hidden;
}

infoheadbg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    margin: auto !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

infoheadbg img {
    width: 80%;
    mask: linear-gradient(to right, transparent -5%, black 50%);
    filter: blur(1px) grayscale(.6) brightness(1.2) contrast(1.4) opacity(0.7);
}

infohead p {
    padding: 0px !important;
    z-index: 2;
}

infoquote {
    display: block;
    border-radius: 3px;
    border-width: 1px 3px 3px 1px;
    border-style: solid;
    border-color: var(--brdr2) var(--brdr2) var(--brdr2) var(--brdr2);
    padding: 10px 15px;
    white-space: pre-line;
    box-shadow: 3px 3px 5px -3px rgb(0 0 0 / 16%);
}






.punbb[data-topic-id="1"]:before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(https://forumstatic.ru/files/001c/8f/7f/36422.webp?v=1);
    top: 0;
    left: 0;
}




/* clear profile
-------------------------------------------------------------*/

.clear-profile li.pa-fld1, .clear-profile li.pa-fld2 {visibility: hidden; display:none;}

.clear-profile .profileInfo {
    margin: 0 0px -10px 0px !important;
}


/* Личное звание
-------------------------------------------------------------*/
personalinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-width: 0px 0 1px 0;
    /* border-style: dashed; */
    margin: 10px 0 10px 0 !important;
    border-color: rgb(0 0 0 / 17%);
    padding: 5px 4px 0 4px;
    font-size: 10px;
    box-shadow: 0px 4px 7px -2px #00000026;
    border-radius: 0 0 10px 10px;
}

name {
    display: block;
    font-size: 12px;
    font-weight: 500;
}

name a {}
name a:hover {}

career {
    text-align: center;
    line-height: 1.4;
    display: block;
    margin: 0 0 10px 0 !important;
    padding: 4px 4px;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 500;
    border-width: 1px 0 1px 0;
    border-style: dashed;
    margin: 7px 0 10px 0 !important;
    border-color: rgb(0 0 0 / 17%);
}

youtext p {
    padding: 0 0 4px 0 !important;
}


.punbb .post .post-author:has(img.fon.dark) career {
    border-color: #515151;
    width: 100%;
}


.punbb .post .post-author:has(img.fon.dark) personalinfo {
    box-shadow: 0px 4px 7px -5px #000000;
}

/* Иконки профиля
-------------------------------------------------------------*/

.punbb .post .post-author:has(img.fon.dark) charicon {background-color: rgb(0 0 0 / 47%) !important;}


.punbb .post .post-author:has(charicon) li.pa-author {
    margin-top: 15px;
}

charicon {
    display: flex;
    background: #ffffff87;
    width: 35px;
    height: 35px;
    position: absolute;
    border-radius: 70px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    top: 20px;
    left: 100px;
    z-index: 23;
    backdrop-filter: blur(13px);
    box-shadow: 0px 4px 7px -2px #00000026;
    margin: auto !important;
}

charicon img {
    width: 80%;
    height: auto;
}


/* Фоны профиля
-------------------------------------------------------------*/

.punbb .post .post-author:has(img.fon.light) .profileInfo {
    background-color: rgb(255 255 255 / 70%) !important;
    color: #333 !important;
}

.punbb .post .post-author:has(img.fon.dark) .profileInfo {
    background-color: rgb(0 0 0 / 70%) !important;
    color: #fff !important;
}

.punbb .post .post-author:has(img.fon.dark) .profileInfo {
    background-color: rgb(0 0 0 / 47%) !important;
    color: #d7d7d7 !important;
}

img.fon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: var(--rds3);
    z-index: 0;
    pointer-events: none;
    mask: linear-gradient(to top, transparent 30%, black 50%);
}

img.fon.light {}

.punbb .post .post-author:has(img.fon.light) {background-color: #ededed !important;}

.punbb .post .post-author:has(img.fon.dark) {background-color: #232323 !important;}


/* Плашки профиля
-------------------------------------------------------------*/
.ribbon {
    height: 40px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 1;
    font-size: 12px;
    justify-content: center;
    gap: 6px;
}

.ribbon p.rbig {
    text-transform: uppercase !important;
    font-weight: 800;
    overflow: hidden;
    text-align: center;
}


.ribbon.drk p {
    box-shadow: -1px 1px 0 0 #cdcdcd;
    background: #1c1c1c;
    color: #cdcdcd;
    text-transform: lowercase;
}

.ribbon p {
    z-index: 1;
    background: #ededed;
    padding: 0 4px !important;
    border-radius: 3px;
    height: 12px;
    font-size: 8px;
    line-height: 1 !important;
    display: flex;
    align-items: center;
    color: #1c1c1c;
    box-shadow: -2px 2px 0 0 #1c1c1c;
}

.ribbon img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.punbb .post .post-author:has(.ribbon) .profileInfo {
    margin: 30px 0px 30px 0px;
}






html, body {margin: 0; padding: 0}

.punbb * {
  margin: 0
  }

.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

.punbb img {
  }

.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }

html {
background-color: #fff;
background-image: url(https://forumstatic.ru/files/001c/8f/7f/95439.webp);
background-size: cover;
background-attachment: fixed;
}

body {
  font-size: 100.01%;
  }

.punbb {
  font: normal 12px Geologica, roboto, verdana, arial, helvetica, sans-serif;
  color: var(--mainText);
  }

.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 12px Geologica, Roboto, verdana, arial, helvetica, sans-serif;
    border-radius: var(--rds3) !important;
    padding: 5px;
    border: 1px solid var(--brdr2) !important;
    background: var(--ctgrBG) !important;
}

.punbb h1 {
    text-align: center;
    font-size: 12px;
    margin-bottom: 10px;
}

.punbb h1, .punbb h2, .punbb h3, .punbb h4 {
  font-weight: normal;
  }

.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

.punbb address, .punbb em {
  font-style: normal
  }

.punbb .post-content em {
  font-style: italic
  }

.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }


.punbb optgroup {
  font-weight: bold;
  }

#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }

#pun {
    margin: 450px auto 30px auto;
    position: relative;
    width: 1000px;
    background-color: var(--mainPun);
    border-radius: var(--rds10);
    padding: 40px 0 0 0;
}

#pun:before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(https://forumstatic.ru/files/001c/8f/7f/78723.png);
    z-index: -1;
    pointer-events: none;
}

.punbb {
    float: left;
    height: auto;
    padding: 20px;
    width: -webkit-fill-available;
}

#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

.punbb .post {
    margin: 20px 0;
    border: 1px solid var(--brdr2);
    border-radius: var(--rds10);
    padding: 10px 10px 5px 10px;
    scroll-margin-top: 80px;
}

.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

#pun-post .topic {
  margin-top: 1em;
  }

.punbb .post-content {
  padding: 0;
  margin: auto;
  width: 100%;
  overflow: hidden;
  }

.punbb .post-sig dt {
  display: block;
  width: 250px;
  margin: 5px 0;
  }

.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

.punbb .post-content img {
  vertical-align: text-bottom
  }

.punbb .post-content img.postimg {
  vertical-align: middle;
  }

.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

.quote-box {
    background: var(--ctgrBG);
}

.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid var(--brdr2);
    border-radius: var(--rds3);
    background: var(--ctgrBG);
    box-shadow: inset 0px -20px 20px -20px rgb(0 0 0 / 9%);
}

cite a.qc-post-link {
    font-size: 11px;
    border-bottom: 1px dashed var(--brdr2);
    color: var(--mainText) !important;
    font-weight: 600;
    opacity: .95;
    padding-bottom: 2px;
}

.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  }

.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  margin: 0 0 1.1em 0;
  }

.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }

.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

.multipage {
  margin-top: 3em;
  }

.linkst .pagelink {
    position: absolute;
    top: -40px;
    left: 1em;
    min-width: 10px;
    font-size: 0;
}

.pagelink {
    display: flex;
    gap: 5px;
    height: 20px;
    align-items: center;
    justify-content: center;
    background: var(--ctgrBG);
    border-radius: 3px;
    padding: 5px 5px 5px 0px;
    font-size: 0;
}

.pagelink strong {
    font-size: 12px;
    background: var(--brdr1);
    padding: 3px 6px;
    border-radius: 3px;
    display: flex;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.pagelink a {
    font-size: 12px;
    border: 1px dashed var(--brdr2);
    padding: 3px 6px;
    border-radius: 3px;
    display: flex;
    line-height: 1;
    align-items: center;
    justify-content: center;
    color: var(--mainText) !important;
}

.pagelink a:hover {
    border: 1px dashed transparent;
    color: #fff !important;
    background: var(--acc1) !important;
}

.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

.linksb .pagelink {
  float: left;
  text-align: left;
  }

.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }

.punbb .formal .container {}

.punbb .formsubmit {
  padding: 0;
  margin: 15px 0 10px 0;
  }

.button {
    cursor: pointer !important;
    text-transform: uppercase;
    font-size: 9px !important;
    border-radius: var(--rds3) !important;
    padding: 5px !important;
    border: 1px solid var(--brdr2) !important;
    background-color: var(--ctgrBG);
    box-shadow: inset 0px -10px 5px 0px rgb(0 0 0 / 10%);
transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.button:hover {
    box-shadow: inset 0px 10px 5px 0px rgb(0 0 0 / 10%);
}

.button:active{
    outline: none !important;
    transform: translateY(2px);
}

.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

.punbb fieldset {
    padding: 0px 18px 0 18px;
    margin: 0 0 1em 0;
    border: none;
    font-size: 10px;
    background: var(--ctgrBG);
    border-radius: 10px;
    box-shadow: 0px 2px 7px -2px #00000026;
}

.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  }

.punbb fieldset legend span {
    padding: 0 5px;
    margin: 0;
    background: var(--acc1);
    color: #fff;
    border-radius: var(--rds3);
}

.punbb fieldset fieldset {
  margin: 0;
  padding: 0 0 8px 0
  }

.punbb .fs-box {
    padding: 20px 0 20px 0;
}

.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 10px 0
  }

.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

.punbb .inline .infofield {
  clear:both
  }

.punbb .datafield br {
  display: none
  }

.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

.punbb .datafield span.input a {
  font-weight: normal;
  }

.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%;
  }

#main-reply {
    width: calc(100% - 30px) !important;
    padding: 15px !important;
}

textarea {
    border-radius: var(--rds3) !important;
    border: 1px solid var(--brdr2) !important;
    padding: 5px !important; 
}

.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

.punbb .hashelp {
  position: relative;
  }

.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

.punbb #profile .helplinks {
  top: 1.5em;
  }

.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }

.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
  }

#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

.punbb .main td {
  padding: 0.8em 1em;
  }

.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
  }

.punbb tbody.hasicon td.tcl {
  padding-left: 20px;
  }

.punbb .post .container {
  margin-top: -1px;
  padding-bottom: 1px;
  }

.punbb .post h3 {
  }

.punbb .post h3 span {
    padding: 5px 0px 8px 0px;
    display: flex;
    font-size: 11px;
    margin: 0 0 10px 0;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    height: 10px;
    border-bottom: 1px dashed var(--brdr2);
}

button.copy-post-btn {
    margin: 0 10px 0 0;
    border: none !important;
    background: none !important;
}

.punbb .post h3 strong {
    float: right;
    width: 5em;
    text-align: right;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 9px;
    background: var(--ctgrBG);
    line-height: 1;
    display: flex;
    padding: 4px 5px;
    border-radius: var(--rds3);
    color: var(--mainText);
    justify-content: center;
    font-weight: 700;
}

.punbb .post h3 a.permalink {
    text-transform: uppercase;
    font-size: 9px;
    background: var(--ctgrBG);
    line-height: 1;
    display: flex;
    padding: 4px 5px;
    border-radius: var(--rds3);
    color: var(--mainText);
    font-weight: 700;
}

.punbb .post .post-author {
    float: left;
    width: 240px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    /* background: var(--ctgrBG); */
    border-radius: var(--rds10);
    margin: 10px 0 0 0 !important;
    box-shadow: 0px 4px 7px -2px #00000026;
    align-items: center;
    min-height: 100px;
}

.post[data-user-id="1"] .post-author:not(:has(.pa-fld1)):before {
    mask: none;
}

.post[data-user-id="1"] .post-author .profileInfo {
    margin: 5px 0 -7px 0;
}


.post-author:not(:has(.pa-fld1)):before {
    content: '';
    position: absolute;
    background: url(https://forumstatic.ru/files/001c/8f/7f/41766.webp?v=1);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    mask: linear-gradient(to top, transparent 5%, black 60%);
}

.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }


.profileInfo {
    z-index: 16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px !important;
    background: #ffffff87;
    margin: 40px 0px 0px 0px;
    border-radius: var(--rds3);
    backdrop-filter: blur(21px);
    width: 200px !important;
    min-width: 200px !important;
}


.pa-author {
    font-size: 1.1em;
    font-weight: bold;
    color: #ededed;
    z-index: 1;
}

.pa-author a {
    text-decoration: none;
    width: 100%;
    display: block;
    text-align: center;
}

li.pa-title {
    padding-bottom: 4px;
    padding-top: 4px;
    font-weight: 400;
    text-align: center;
    font-size: 9px;
    line-height: 1.2;
    width: 100%;
    border-width: 1px 0 1px 0;
    border-style: dashed;
    margin: 7px 0 10px 0 !important;
    border-color: rgb(0 0 0 / 17%);
}

li.pa-avatar.item2 img {
    max-width: 180px;
    max-height: 180px;
    border-radius: 4px;
}

.profileStat {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-transform: uppercase;
    justify-content: space-around;
    gap: 7px;
    height: 25px;
    align-items: center;
    padding: 0 !important;
    border-radius: 0 0 6px 6px;
    font-size: 9px;
    margin: 10px 0;
}

.profileStat li {
    width: max-content !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0;
}

li.pa-respect {
    position: relative;
}

.pa-respect a[href*="&v=1&cod"] {
    width: 23px;
    height: 15px;
    display: flex;
    position: absolute;
    left: 19px;
    top: -7px;
    opacity: 0;
}

li.pa-posts span.fld-name:before, li.pa-fld5 span.fld-name:before, li.pa-respect span.fld-name a:before, li.pa-respect span.fld-name:before, li.pa-fld4 span.fld-name:before {
    font-family: Material Symbols Outlined;
    color: var(--Textmain);
    font-size: 16px;
    width: 100%;
    height: 100%;
    display: flex;
}

li.pa-posts span.fld-name, li.pa-fld5 span.fld-name, li.pa-respect span.fld-name a, li.pa-respect span.fld-name, li.pa-fld4 span.fld-name, li.pa-fld5 span.fld-name {font-size: 0 !important;}

li.pa-posts span.fld-name:before { content: '\ef42';} 
li.pa-fld4 span.fld-name:before { content: '\e666';} 
li.pa-respect span.fld-name a:before, li.pa-respect span.fld-name:before { content: '\e743';} 
li.pa-fld5 span.fld-name:before { content: '\e850';} 

li.pa-respect span.fld-name a {
    display: flex;
    width: 100%;
    height: 100%;
}







.punbb .post-body {
    margin-left: 246px;
    padding: 10px 10px 0 15px;
    margin-top: -10px;
    margin-bottom: 10px;
    width: 677px;
}

.punbb .post-box {
    padding: 12px 17px;
    position: relative;
    overflow: visible !important;
    background: var(--ctgrBG);
    border-radius: 10px;
    text-align: justify;
    line-height: 150%;
    box-shadow: 0px 2px 7px -2px #00000026;
}

.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

.punbb .post-links {
    border-top: 1px dashed var(--brdr2);
    padding-top: 5px;
}

div#pun-searchposts .post-links ul {
    display: flex;
    justify-content: flex-end;
}

.punbb .post[data-user-id="1"] .post-links ul {justify-content: flex-end;}

.punbb .post-links ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.punbb .post-links ul div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 50%;
}

.postLinksLeft {justify-content: flex-start !important;}

.postLinksRight {justify-content: flex-end !important;}

.punbb .post-links li a {
    text-transform: uppercase;
    font-size: 9px;
    background: var(--ctgrBG);
    line-height: 1;
    display: flex;
    padding: 4px 5px;
    border-radius: var(--rds3);
    color: var(--mainText);
}

.punbb .post-links li a:hover {
    background: var(--acc1);
    color: #fff;
}


.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }

.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

.punbb .modmenu .container strong {
  float: left;
  }

.punbb .modmenu input {
  margin-left: 1em;
  }

.punbb .info .container {
  padding: 0.8em 1em
  }

.punbb .info .container .backlink {padding-top: 0.8em;}


#profilenav {
    display: block;
    margin-bottom: 20px;
    background: var(--ctgrBG);
    border-radius: var(--rds10);
}

#profilenav li {}

#profilenav li.isactive a {
color: #fff !important;
background: var(--acc1);
}

#profilenav li.isactive a:hover {
color: inherit !important;
background: transparent;
}


#profilenav li a {
    display: flex;
    border: 1px solid var(--brdr1);
    padding: 2px 5px;
    text-transform: uppercase;
    font-size: 10px;
    border-radius: var(--rds3);
    font-weight: 500;
}

#profilenav li a:hover {
color: #fff !important;
background: var(--acc1);
}

#viewprofile ul {
    padding: 20px;
    margin: 0 0 1em 0;
    background: var(--ctgrBG);
    border-radius: var(--rds10);
}

#profilenav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0 10px;
    gap: 10px;
}

#viewprofile h2 {
  }

#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }

#pun-userlist .formal, #pun-userlist .formal .container {
  margin-bottom: 0;
  }

#pun-title {
    margin: 0;
    width: 1043px;
    height: 372px;
    background: url(https://forumstatic.ru/files/001c/8f/7f/55864.webp) bottom left no-repeat;
    position: absolute;
    top: -428px;
    left: -32px;
    z-index: 1;
    pointer-events: none;
}

#pun-title h1 {
  display : block;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

#pun-title h1 span  {
  font-size: 1.5em;
  }

#pun-title table {
	height: 40px;
	width: 100%;
}

#pun-title td.title-logo-tdl {
	width: 100%;
}

#pun-title td.title-logo-tdr {
	width: 468px;
}

#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  }

#pun-pagelinks .container {
  background: transparent;
  padding: 0}

#pun-pagelinks .container li {
  display: inline
  }

#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }

#pun-navlinks {
    position: absolute;
    top: -390px;
    height: 25px;
    right: 10px;
    transform: rotate(1deg);
    z-index: 1000;
}

#pun-navlinks, #pun-navlinks .container {
  margin: 0;
  }

#pun-navlinks .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 8px;
}

#pun-navlinks li {

  }

#pun-navlinks li#navuserlist a:before {content: 'Юзеры';}

#pun-navlinks li#navadmin a:before {content: 'Админка';}

#pun-navlinks li#navadmin a span, #pun-navlinks li#navuserlist a span {display:none;}

#pun-ulinks {
    margin: 0 !important;
    position: absolute;
    top: -350px;
    z-index: 999;
    transform: rotate(1deg);
    right: 10px;
}

#pun-ulinks .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: lowercase;
}

#pun-ulinks li a {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 0;
    height: 14px;
    padding: 0;
    border-radius: 0;
    font-size: 10px;
    color: #fff;
    border-bottom: 1px dashed #fff;
}

#pun-ulinks li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


#pun-status {
    background-color: var(--mainPun);
    position: absolute;
    top: -316px;
    height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 0 10px 10px;
    left: 0;
    width: 290px;
}

span.status_userava {
    position: absolute;
    left: 10px;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 9px;
}

#pun-status, #pun-status .container {
  margin-bottom: 0;
  }

#pun-status .container {
    font-size: 10px;
    padding: 0px 10px 13px 60px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
}

#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

#pun-crumbs1 p.container, #pun-crumbs2 .container {
  padding: 15px 10px;
  }

#pun-break1 {
  margin: 0 1em;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  position: relative;
  font-weight: bold;
  }

#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  }

div#pun-announcement {
    background-color: var(--mainPun);
    position: absolute;
    top: -316px;
    height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 0 10px 10px;
    right: 0;
    width: 690px;
}

#pun-announcement .container {
  padding: 10px;
  }


/* статистика
-------------------------------------------------------------*/
#pun-stats {
    background: var(--ctgrBG);
    padding: 20px;
    border-radius: var(--rds10);
}

#pun-stats h2 {
    background: var(--navlbg);
    padding: 5px 10px;
    color: #fff;
    border-radius: var(--rds3);
    opacity: .8;
    width: max-content;
    margin: 0 auto -13px auto !important;
    text-transform: uppercase;
    font-size: 10px !important;
    z-index: 1;
    position: relative;
}

#pun-stats .container {
    border: 1px solid var(--brdr1);
    border-radius: var(--rds10);
    padding: 30px 20px 30px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    justify-content: center;
    gap: 10px;
}

.statsinfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 9px;
    order: 9;
    background: var(--ctgrBG);
    padding: 5px 20px;
    border-radius: var(--rds3);
    opacity: .8;
    position: absolute;
    bottom: -11px;
    border: 1px solid var(--brdr1);
}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {

  }

li#onlinelist {
    width: 45%;
    line-height: 130%;
    border: 1px solid var(--brdr1);
    padding: 15px;
    border-radius: var(--rds3);
    text-align: center;
    text-transform: uppercase;
    font-size: 9px;
}

li#onlinelist div {
  padding: 0;
  }

span.e4 {
    display: block;
    text-align: center;
    text-transform: capitalize !important;
    font-size: 12px !important;
    margin-top: 5px;
    line-height: 1.4;
}

#pun-qjump {
  margin: 0;
  width: 50%;
  position: relative;
  float: left;
  }

#pun-qjump .container {
  background: transparent;
  padding: 0.8em 1em;
  }

#pun-about {
  margin-top: 0;
  }

#pun-about .container {
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

#pun-about p span {
  display:block;
  padding-left: 50%;
  }

#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  }


#pun-break4 {
  margin: -2px 1em;
  position: relative;
  height: 0;
  z-index: 1;
  }

div.punbb-admin #pun-about .container {
  }

#pun-help .formal .info-box h3.legend {
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  font-size: 1.1em;
  }

#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

#pun-help .formal li * {
  vertical-align: text-top
  }

#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }



.punbb .category {
    background: var(--ctgrBG);
    padding: 20px;
    border-radius: var(--rds10);
}

.punbb .category h2 {
    background-image: url(https://forumstatic.ru/files/001c/8f/7f/95439.webp);
    background-attachment: fixed;
    background-size: cover;
    border-radius: var(--rds3);
    text-transform: lowercase;
    position: relative;
    overflow: hidden;
}

.punbb .category h2 span {
    font-size: 10px;
    margin: auto;
    width: max-content;
    display: flex;
    line-height: 0;
    height: 16px;
    align-items: center;
}

span.catToggle {
    background: rgb(0 0 0 / 0%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    opacity: 0;
transition: opacity 0.3s;
}

span.catToggle:hover {opacity: 1;}

.punbb .category tr {
    margin: 10px 0 0 0 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid var(--brdr1);
    border-radius: var(--rds10);
}

.indexMessStat {
    order: 1;
    width: 15%;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    margin: 0 -30px 0 20px;
}

#pun-index td.tc2, #pun-index td.tc3 {
    position: relative;
    display: flex;
    gap: 4px;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 600;
}

#pun-index td.tc2:before {
content: 'тем: ';
}

#pun-index td.tc2:after {
    content: '\e185';
    font: normal 600 10px/100% 'Font Awesome 6 Pro';
    position: absolute;
    left: -10px;
    opacity: .8;
}

#pun-index td.tc3:before {
content: 'соо: ';
}

#pun-index td.tc3:after {
    content: '\f4a3';
    font: normal 600 10px/100% 'Font Awesome 6 Pro';
    position: absolute;
    left: -10px;
    opacity: .8;
}



#pun-index td.tcl {
    order: 2;
    width: 43%;
    border-right: 1px dashed var(--brdr1);
    border-left: 1px dashed var(--brdr1);
    padding: 20px 10px 20px 10px;
}

#pun-index .intd {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
}

#pun-index .icon.inew {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    padding: 0 !important;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
}

.icon[data-new-topics]:before, .subforums span[data-new-topics]:before {
    margin: 0 !important;
    border-radius: 3px !important;
    background: var(--acc1) !important;
    font-family: 'Geologica' !important;
}


#pun-index td.tcr {
    order: 3;
    width: 40%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.LinkLastpost {
    display: flex;
    flex-direction: column;
}

#pun-index a.lastpost-link {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 290px;
}

#pun-index .tcl h3 {}

#pun-index .tcl h3 a {
    color: var(--h3BG) !important;
    text-decoration: none !important;
    font-family: Conthrax;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    height: 19px;
    border-radius: var(--rds3);
    width: max-content;
    letter-spacing: -.1px;
}

#pun-index .tcl h3 a:hover {color: var(--acc1) !important;}

op {
    display: block;
    margin: 10px 0px 12px 0 !important;
    text-transform: lowercase;
}

lnks {
    display: flex;
    gap: 6px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    margin-top: 6px !important;
}

lnks a {
    background: var(--acc1);
    color: #fff !important;
    border-radius: var(--rds3);
    padding: 0px 4px;
    display: flex;
    line-height: 1;
    height: 15px;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 9px;
}

lnks a:hover {background: var(--acc2);}





/* Индикатор активности пользователя © Reysler, Alex_63 */
.post .post-author ul {
    display: flex;
    margin: 10px;
    padding: 0 10px 10px 10px !important;
    width: 200px;
    justify-content: center;
}

.post-author .pa-online {
    position: absolute;
    display: inline-block !important;
    top: 0;
    left: auto !important;
    line-height: unset;
    height: 2px !important;
    width: 90% !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    cursor: pointer;
    mask: linear-gradient(90deg,rgba(42, 123, 155, 0) 10%, rgba(0, 0, 0, 1) 50%, rgba(237, 221, 83, 0) 90%);
}

.post-author .pa-online {
    background: linear-gradient(270deg, transparent, #ffffff, transparent);
    background-size: 600% 600%;

    -webkit-animation: onlineGrad 8s ease infinite;
    -moz-animation: onlineGrad 8s ease infinite;
    -o-animation: onlineGrad 8s ease infinite;
    animation: onlineGrad 8s ease infinite;
}

@-webkit-keyframes onlineGrad {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes onlineGrad {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes onlineGrad {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes onlineGrad {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}



/* Значки уведомлений */

li#h-premod span.notify-bubble {
    position: relative !important;
    width: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px !important;
    line-height: 0 !important;
    height: 14px !important;
    margin: 0 -2px 0 0 !important;
}

/* разделение тем на важные и прост */
#pun-main .forum table{ table-layout: auto;}

#pun-main tr.tr-divider {
    background-color: var(--ctgrBG);
    font-weight: bold;
    margin: 0 0 10px 0 !important;
    border-radius: var(--rds10);
    text-transform: lowercase;
    display: flex;
    justify-content: flex-start;
    padding: 0 !important;
}

td.td-divider {
    padding: 2px 0 3px 10px !important;
    font-size: 10px;
}

/* Скрытие профиля в теме тегом */
.hideprofile .post-author {
display:none!important
}

.hideprofile .post-links,.hideprofile .post-links ul,.post.hideprofile h3>span{
margin-left:0!important
}

.hideprofile .post-body {
    margin: -10px -5px 10px -10px !important;
    width: -webkit-fill-available;
}

/* БыстроПлюсы */

div .post-rating p>a {
    position: relative;
    z-index: 10;
    width: 38px;
    text-align: center;
    font-size: 12px !important;
    display: flex;
    line-height: 34px;
    letter-spacing: -1px;
    align-items: center;
    font-weight: 700 !important;
    border-radius: 4px;
    height: 20px !important;
    padding: 0 4px !important;
    /* background: var(--acc4); */
    gap: 5px;
    justify-content: center;
}

.mypost div .post-rating p>a:before {display: none;}


div .post-rating p>a:before {
    content: '\f15d';
    font-family: Material Symbols Outlined;
    font-size: 16px;
}

.post.mylike .post-rating p>a:before {
    content: '\f60a';
    font-family: Material Symbols Outlined;
    color: var(--accDark);
    opacity: .6;
}

div .post-rating p>a:hover:before {

}

div.dark-style .post-rating p>a {

}

div.post-vote {
    margin-bottom: 65px;
}

div.post-vote p>a {
    font-size: 0 !important;
    position: absolute;
    cursor: pointer;
    z-index: 10;
    width: 23px;
    height: 18px;
    display: flex;
    margin-left: -4px;
    margin-top: 2px;
    align-items: center;
    justify-content: center;
}

div.post-vote p>a:before {
    content: '\ef58';
    font-family: Material Symbols Outlined;
    border-radius: 4px;
    height: 19px !important;
    padding: 0 4px !important;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
}

div.post-vote p>a:hover:before {color: var(--acc1);}

.post.mylike div.post-vote p>a {display:none;}

/*Кнопки формы ответа*/

div#pun-messages fieldset#post-new small#plng {
    display: none !important;
}

div#pun-messages fieldset#post-new #main-reply {
    width: -webkit-fill-available;
    padding: 15px;
    font-size: 13px !important;
    line-height: 150%;
}

div#form-buttons table {
    display: flex;
    margin-bottom: 10px;
}

#form-buttons tbody {
    flex: 1;
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
}

#form-buttons tr {
    display: flex;
    gap: 4px;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    height: 30px;
    padding: 0 4px;
    flex: 1;
}

#form-buttons td {
    background: none !important;
    position: relative;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
opacity: 1;
}

#form-buttons td:hover:after {
opacity: 1;
color: var(--acc1);
}

#form-buttons td:after {
    font-family: Material Symbols Outlined;
    font-size: 18px;
    position: absolute;
    pointer-events: none;
    color: var(--mainText);
    font-weight: 500;
    opacity: .8;
    transition: all 0.3s linear 0s;
}




td#button-image {position: relative;}
td#button-image b p {
    position: absolute !important;
    margin: inherit !IMPORTANT;
    background: var(--acc5);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0 !IMPORTANT;
    border-radius: 50px;
    font-size: 8px;
    top: 0;
    right: 0;
    color: var(--accDark);
}

td#floatbut:after {content: '\f45c';}

td#button-transL:after{content: '\e8e2';}
td#button-ChangeСase:after {content: '\e053';}
td#button-font:after{content: '\e264';}
td#button-size:after{content: '\e262';}
td#button-bold:after {content: '\e238';}
td#button-italic:after {content: '\e23f';}
td#button-underline:after {content: '\e249';}
td#button-strike:after {content: '\e257';}
td#button-indent:after {content: '\e23e';}
td#button-center:after {content: '\e234';}
td#button-right:after {content: '\e237';}
td#button-justify:after {content: '\e235';}
td#button-float:after {content: '\f45c';}
td#button-link:after {content: '\e178';}
td#button-spoiler:after {content: '\ea19';}
td#button-image:after {content: '\e3f4';}
td#button-image2:after {content: '\e43e';}
td#button-video:after {content: "\e1c4";}
td#button-hide:after {content: "\e897";}
td#button-quote:after {content: "\e244";}
td#button-code:after {content: "\e86f";}
td#button-color:after {content: "\e40a";}
td#button-table:after {content: "\e265";}
td#button-smile:after {content: "\e1d3";}
td#button-sticker:after {content: "\e7f2";}
td#button-keyboard:after {content: "\f028";}
td#button-addition:after {content: "\e146";}
td#button-mask:after {content: "\ea66";}
td#button-styles:after {content: "\e619";}

td#button-graffiti_rusff, td#button-files_rusff {display:none !important; overflow: hidden !important;}
#form-buttons td#button-left {display:none !important;}

p.spoilerAdmin {
    margin: 0 !important;
    top: 2px;
    right: -2px;
    background: var(--navlcolor);
    border-radius: var(--rds10);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0 !important;
    width: 11px;
    height: 11px;
    text-transform: uppercase;
    font-family: 'Geologica';
    font-size: 9px;
}

/* avatar options  (c) astaarus
-------------------------------------------------------------*/

.avatar-controls {
    position: FIXED;
    top: 90px;
    display: flex;
    gap: 10px;
    margin: 0 0 0 -60px;
    z-index: 999;
}
        .dropdown {
            position: relative;
            display: inline-block;
        }
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 5px;
            overflow: hidden; font-size: 10px;
    font-family: arial;
    letter-spacing: 0.6px;

        }

        a#makeRoundButton:active {background:red;}

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 12px;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
        .dropdown:hover .dropdown-content {
            display: block;
        }
        .control-button {
            padding: 10px;
            cursor: pointer;
            border: 1px solid #ccc;
            background-color: #f9f9f9;
            border-radius: 5px;
            text-align: center;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            transition: background-color 0.3s ease;
        }
        .control-button:hover {
            background-color: #e9e9e9;
        }
        .control-button i {
            color: #946767;
        }
        .control-button:hover i {
            color: #000000;
        }

.fa-solid, .fas {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 13px;
}


/* Скрипт быстрой смены аккаунтов ---------*/

#navprofiles {
  position: relative;
  z-index: 999;
}

#pun-navlinks.section .multiacc-profilemenu {
    position: absolute;
    top: 26px;
    width: 250px;
    max-width: 250px;
    height: auto;
    background: var(--mainPun);
    border-radius: 3px;
    left: -85px !important;
    transform: rotate(-1deg) !important;
    padding: 10px;
}

#pun-navlinks.section .multiacc-profilemenu li {
    position: relative;
    display: flex;
    justify-content: flex-start;
    font-size: 0.8rem;
    padding: 0;
    border-bottom: none;
    top: 0;
    text-transform: inherit !important;
    width: -webkit-fill-available;
    line-height: 1;
    background: none;
    align-items: center;
    margin-bottom: 6px;
}

.multiacc-profilemenu li:first-child {
  background-color: #e0e0e0;
  font-weight: 700;
}


#pun-navlinks.section .multiacc-profilemenu li a {
    color: var(--mainText) !important;
    text-transform: inherit !important;
    font-family: 'Geologica' !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    padding: 2px 4px 2px 4px !important;
    background: none !important;
    box-shadow: none !IMPORTANT;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px dashed var(--mainText);
    border-radius: 0 !important;
    width: 100%;
}

#pun-navlinks.section .multiacc-profilemenu li a:hover {
    color: #fff !important;
    background: var(--acc1) !important;
}

.multiacc-delete-btn {
    background: var(--acc1);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    font-family: Geologica;
    font-weight: 700;
    color: #fff !important;
    border-radius: 3px;
}

.multiacc-dialog {
  z-index: 9999;
  padding: 10px;
  font-size: 0.8rem;
  background: #e8e8e8 !important;
  border: 1px solid #999;
  color: #333;
}

.multiacc-dialog > form {
  border: 1px solid #ccc;
  padding: 10px 10px 2px;
}

.multiacc-dialog input {
  padding: 4px 10px;
  border: 1px solid #b9bfb0;
}

.multiacc-dialog div {
  display: flex;
  justify-content: center;
}

.multiacc-dialog div:not(.multiacc-dialog div:last-child) {
  flex-direction: column;
}

.multiacc-dialog button {
  margin: 6px;
  padding: 4px 8px;
  background: #f4f4f4;
  color: #555;
  border-inline: 1px solid #999;
  border-block: 0;
  border-radius: 4px;
  cursor: pointer;
}

.multiacc-dialog button:hover {
  color: #444;
}







/* копирование эпизода
-------------------------------------------------------------*/

.toast-root {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-width: 220px;
  max-width: 320px;
  padding: .75rem 1rem;
  border-radius: 6px;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  font-size: 14px;
  line-height: 1.4;
  pointer-events: auto;
  animation: toast-slide-in .3s ease-out;
}

.toast__content {
  flex: 1;
  padding-right: 1.5rem;
}

.toast__actions {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
}

.toast__btn {
  padding: .3rem .6rem;
  font-size: 13px;
  border-radius: 4px;
  border: none;
  background: #e0e0e0;
  cursor: pointer;
}
.toast__btn:hover { background: #d5d5d5; }
.toast__btn--primary {
  background: #0078d4;
  color: #fff;
}
.toast__btn--primary:hover { background: #006ac0; }

.toast__close {
  position: absolute;
  top: .4rem;
  right: .4rem;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.toast--success { border-left: 4px solid #4caf50; }
.toast--error   { border-left: 4px solid #f44336; }
.toast--warning { border-left: 4px solid #ff9800; }
.toast--info    { border-left: 4px solid #2196f3; }

.toast--action {
  flex-direction: column;
}

@keyframes toast-slide-in {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}









/* Трекер эпизодов
-------------------------------------------------------------*/


#episodesModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
}

#episodesModal .episodes-modal-content {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  margin: 5% auto;
  padding: 24px 28px 18px;
  background: #fff;
  border-radius: 8px;
}

#episodesModal .top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

#episodesModal .top-bar button {
  background: #808080;
  color: #fff;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

#episodesModal .top-bar button:hover {
  background: #6a6a6a;
}

#episodesModal .close-btn {
  margin-left: auto;
  font-size: 26px;
  line-height: 1;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

#episodesModal .close-btn:hover {
  color: #d22;
}

#episodesModal .episodes-list {
  max-height: 350px;
  overflow-y: auto;
  background: #f5f8ff;
  border: 1px solid #d7e4ff;
  border-radius: 6px;
  padding: 14px;
}

#episodesModal .episodes-list,
#episodesModal .add-episode-form {
  flex: 0 0 auto;
}

#episodesModal .episode {
  background: #fff;
  border: 1px solid #d7e4ff;
  border-radius: 5px;
  padding: 8px 10px 6px;
  margin-bottom: 10px;
}

#episodesModal .episode:last-child {
  margin-bottom: 0;
}

#episodesModal .episode a {
  color: #0066cc;
  text-decoration: underline;
  word-break: break-all;
}

#episodesModal .episode-alert {
  border: 2px solid #e53935 !important;
}

#episodesModal .episode-actions {
  display: flex;
  justify-content: end;
}

#episodesModal .episode-action {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 1px solid #c0c0c0;
  background: #f1f4ff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

#episodesModal .episode-action:hover {
  background: #dfe7ff;
  border-color: #8da7ff;
}

#episodesModal .episode-remove,
#episodesModal .episode-edit {
  position: static;
  padding: 0;
  color: #555;
  background: none;
  border: none;
}

#episodesModal .add-episode-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f0f5ff;
  border: 1px solid #d7e4ff;
  border-radius: 8px;
  padding: 18px 16px 12px;
  font-size: 15px;
}

#episodesModal .add-episode-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

#episodesModal .add-episode-form input[type='url'],
#episodesModal .add-episode-form input[type='text'] {
  padding: 7px 10px;
  font-size: 15px;
  border: 1px solid #b6c8ff;
  border-radius: 4px;
  background: #fff;
  color: #111;
}

#episodesModal button {
  cursor: pointer;
  border: none;
  border-radius: 5px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

#episodesModal .primary-row button {
  background: #0066cc;
  color: #fff;
}

#episodesModal .primary-row button:hover {
  background: #0052a3;
}

#episodesModal #refreshBtn {
  width: 40px;
  aspect-ratio: 1/1;
  padding: 0;
  font-size: 22px;
  display: grid;
  place-content: center;
}

#episodesModal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.autocomplete {
  position: relative;
}

.autocomplete input {
  padding-right: 28px;
}

.autocomplete-arrow {
  position: absolute;
  top: 70%;
  right: 8px;
  transform: translateY(-50%);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  color: #666;
}

.autocomplete-arrow:hover {
  color: #333;
}

.autocomplete-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  border: 1px solid #d7e4ff;
  border-radius: 4px;
  background: #fff;
  max-height: 180px;
  overflow-y: auto;
  z-index: 10000;
}

.autocomplete-items div {
  padding: 7px 10px;
  font-size: 15px;
  cursor: pointer;
}

.autocomplete-items div:hover,
.autocomplete-items .autocomplete-active {
  background: #dfe7ff;
}


/* Обтекание изображения  */

#float {
    display: none;
    position: absolute;
    --width: 120px;
    margin-top: 32px;
    left: calc(50% - var(--width));
    text-align: center;
    background: #e5e5e5 repeat center center;
    border: 1px solid #333;
    padding: 8px 16px;
    z-index: 1;
}

#float strong {
    display: block;
    margin-bottom: 7px;
}

#float i {
    font-size: 16px;
    padding: 0 8px;
}

#float i:hover {
    opacity: .6;
}


/* Additional menus © max, the murderer! */

/* чтобы выпадающие меню правильно выравнивались */
#pun-navlinks .container li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

#pun-navlinks li#navadmin con a:before {display: none;}


/* выпадающие меню первого уровня */
ul.profilemenu, ul.adminmenu {
    position: absolute;
    left: 0;
    top: 11px;
    min-width: 100%;
    width: max-content;
    z-index: 12;
    box-sizing: border-box;
    transform: scaleY(0) rotate(-1deg);
    display: flex;
    flex-direction: column;
    padding: 15px 0 0 0;
}

#pun-navlinks .container li ul con {
    background: var(--mainPun);
    border-radius: var(--rds3);
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    min-width: 100px;
}


/* появление при наведении */
#pun-navlinks .container li:hover ul {
  transform: scaleY(1) rotate(-1deg) !important;
}

#pun-navlinks.section.fixed .container li:hover ul {
  transform: scaleY(1) rotate(0deg) !important;
}

/* пункты в выпадающем меню */
#pun-navlinks .container li ul li {
  margin: 0;
  display: block;
}

/* ссылки в пунктах */
#pun-navlinks .container li ul li a {
    margin: 0;
    color: var(--mainText) !important;
    text-transform: inherit !important;
    font-family: 'Geologica' !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    padding: 2px 4px 2px 4px !important;
    background: none !important;
    box-shadow: none ! IMPORTANT;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px dashed var(--mainText) !important;
    border-radius: 0 !important;
}

#pun-navlinks .container li ul li a:hover {
    color: #fff !important;
    background: var(--acc1) !important;
}

/* выпадающее меню второго уровня */
#pun-navlinks .container li ul ul {
  position: absolute;
  width: max-content;
  left: 100%;
  top: -10px;
  transform: scaleX(0) !important;
box-shadow: 0px 3px 10px -5px #000;
}

/* появление при наведении */
#pun-navlinks .container li ul li.forms:hover ul {
  transform: scaleX(1) !important;
}


/*-- всплывающие подсказки */
#tooltip{
    position:absolute;
    background-color: rgb(0 0 0 / 71%) !important;
    color: #fff !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: none !important;
    border-radius: var(--rds3) !important;
    margin: 0.4em 1.8em 1.4em 1.8em;
    padding: 6px !important;
    font: normal 12px Geologica, roboto, verdana, arial, helvetica, sans-serif !important;
    display:none;
}


/* значки уведомлений */

span.bubble {
    background: #fff !important;
    color: #333 !important;
    border-radius: 50px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    height: 15px;
    width: 15px;
    right: -11px !important;
}

.bubble:after {
    left: -1px !important;
    bottom: -1px !important;
    transform: rotate(45deg);
    border-color: #fff transparent !important;
    border-width: 4px 3px 0 !important;
}

span.num_msg {
    position: absolute !important;
    margin: 0 !important;
    border-radius: 50px !important;
    background: var(--acc1) !important;
    height: 15px !important;
    width: 15px !important;
    line-height: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-family: 'Geologica' !important;
    color: var(--navlcolor) !important;
    padding: 0 !important;
    right: -6px !important;
    top: -6px !important;
}

/* Custom post content © max, the murderer! */

/* Selects */
div#pun-premoderation div#text-controls:nth-child(4) {
    display: none;
}


#text-controls .text-select {
    background: var(--BGsec);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    line-height: 0;
    padding: 0 6px;
}

#text-controls .text-select:hover {}

#text-controls .text-select:hover select {}

#text-controls .text-select::before {
    display: inline-block;
    font: 500 20px Material Symbols Outlined;
    margin: 0 2px;
    transform: translateY(2px);
    transition: all .2s ease;
}

#text-controls .text-select:hover::before, #text-controls .text-checkbox input:hover::before {
    color: var(--LinkMain);
}

#text-controls #text-width::before  {
    content: '\f8f6';
}
#text-controls #line-height::before  {
    content: '\e240';
}
#text-controls #text-font::before  {
    content: '\e264';
}

#text-controls #text-size::before  {
    content: '\e245';
}

#text-controls .text-select select {
    border: none;
    height: 100%;
    padding: 0 7px 0 0 !important;
    margin: 0 !important;
    max-width: max-content;
    text-overflow: ellipsis;
    text-transform: uppercase;
    background: var(--BGsec);
}

/* Checkboxes */
#text-controls .text-checkbox {
    display: inline-block;
    height: 100%;
}

#text-controls .text-checkbox input {
    border: none;
    height: 100%;
    width: 34px;
    padding: 2px 6px !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease;
    -webkit-appearance: none;
    border-radius: 10px !important;
}

#text-controls .text-checkbox input ~ label {
    display: none;
}
#text-controls .text-checkbox input:hover {
    cursor: pointer;
}

#text-controls .text-checkbox input::before {
    font: 500 20px 'Material Symbols Outlined';
}

#text-controls #hide-profile::before {
    content: '\f4ca';
}

#text-controls #clear-profile::before {
    content: '\e53c';
}

#text-controls #hide-profile.checked {
    background: var(--acc1) !important;
    color: #fff !important;
}

#text-controls #clear-profile.checked {
    background: var(--acc1) !important;
    color: #fff !important;
}

#text-controls #text-paragraph::before {
    content: '\f4b8';
}
#text-controls #text-paragraph.checked::before {
    content: '\f865';
}

#text-controls #text-left::before {
    content: '\e236';
}
#text-controls #text-left.checked::before {
    content: '\e235';
}

#text-controls #text-lowercase::before {
    content: '\f48a';
}
#text-controls #text-lowercase.checked::before {
    content: '\f488';
}

/* Custom post content © max, the murderer! */

#pun-messages #text-controls {
    margin: -70px 0 81px -10px;
    position: relative;
    width: 918px;
    border: none;
}

#text-controls {
    background: var(--ctgrBG);
    margin: 10px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0 10px 0;
    height: 24px;
    border-radius: var(--rds10);
}

/* Checkboxes */
#text-controls .text-checkbox {
    display: inline-block;
}

/* Hide Profile */

.post.hide-profile li.pa-avatar.item2 img {
    height: auto;
    width: 100px;
    border-radius: 0;
}

.post.hide-profile personalinfo {
    width: 210px;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 !important;
}

.post.hide-profile charicon {
    left: 4px;
    top: 4px;
    width: 25px;
    height: 25px;
}

.post.hide-profile img.fon {
    width: 300px;
    mask: linear-gradient(to left, transparent 30%, black 50%);
    height: auto;
}

.post.hide-profile li.pa-fld2, .post.hide-profile youtext {display: none;}

.post.hide-profile li.pa-avatar.item2 {
    width: 80px;
    min-width: 80px;
    height: 80px;
    min-height: 80px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    position: relative;
    background: rgb(0 0 0 / 13%);
}

.post.hide-profile .post-author {
    float: none;
    width: 100%;
    height: 110px;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    display: flex;
    justify-content: flex-start;
    box-shadow: 0px 0px 5px 0px #00000026;
}

.post.hide-profile .post-author ul {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0 !important;
    margin: 0 !important;
}

.post.hide-profile .post-author ul .profileInfo {
    display: flex;
    flex-direction: row;
    width: -webkit-fill-available !important;
    margin: 10px !important;
    gap: 15px;
}

.post.hide-profile .post-author ul .profileStat {
    display: flex;
    width: 100px;
    align-items: center;
    gap: 10px;
    height: -webkit-fill-available;
    flex-wrap: wrap;
}



.post .post-author {
    transition: all .2s ease;
    transform-origin: 0px 0;
}

.post .post-body {
    transition: margin ease .2s;
}

.post.hide-profile .post-body {
    width: 939px;
    margin: -20px 0px 10px -15px;
}

.post.hide-profile .post-box {

}

/* Text Left */
.post.text-left .post-content p {
    text-align: left;
}

/* Divide Paragraphs */
.post.text-paragraph .post-content p br {
    content: '';
    display: block;
    margin-bottom: 1em; !important;
}

/* Lowercase */
.post.text-lowercase .post-content p {
    text-transform: lowercase;
}


/* реакции */
.reactions-container {
    display: flex;
    flex-direction: row-reverse;
}

.reactions-root {
    float: right;
}

/* новостные плашки */

.newsbanners {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 670px;
    gap: 6px;
}

.newsbanners::-webkit-scrollbar {
    height: 2px;
}

.newsbanners a {
    background: var(--ctgrBG);
    font-size: 10px;
    width: max-content !important;
    min-width: auto;
    max-width: max-content  !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: var(--rds3);
    padding: 3px 7px 3px 0px;
    border: 1px solid var(--navlbg);
}

.newsbanners a:hover {}

n1 {
    font-size: 8px !important;
    background: var(--navlbg);
    border-radius: 0 var(--rds3) var(--rds3) 0;
    padding: 7px 3px;
    color: var(--mainPun) !important;
}

n2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content !important;
    min-width: max-content !important;
}


/* превью аватар
-------------------------------------------------------------*/

.multipage .user-avatar .avatar-image {
    width: 56px !important;
}

.multipage span.isonline {
    width: 60px !important;
}

.punbb .user-avatar {
    height: 50px !important;
    margin: 0 !important;
}

.user-avatar .avatar-image {
    mask: url(https://forumstatic.ru/files/001c/8f/7f/70376.svg);
    width: 60px !important;
    height: 60px !important;
    border-radius: 0 !important;
    mask-size: 98%;
    mask-repeat: no-repeat;
    z-index: 2;
    position: relative;
}

span.isonline {
    mask: url(https://forumstatic.ru/files/001c/8f/7f/70376.svg);
    width: 64px !important;
    height: 67px !important;
    border-radius: 0 !important;
    mask-size: 100%;
    mask-repeat: no-repeat;
    animation: none !important;
    left: -1px;
    top: -1px !important;
    z-index: 1 !important;
    background: var(--acc1) !important;
}

/* форумы мультипейдж
-------------------------------------------------------------*/

.multipage .forum .container {
    padding: 10px 0px 10px 0px;
}

.multipage .forum tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 10px;
    padding: 10px 0 10px 0;
    gap: 20px;
    background: var(--ctgrBG);
    border-radius: var(--rds10);
    align-items: center;
}

.multipage .intd {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.multipage .forum tr td.tcl {border-right: 1px dashed var(--brdr1);}
.multipage .forum tr td.tcr {border-left: 1px dashed var(--brdr1);}

.multipage .forum tr.isticky:first-child {}

#pun-viewforum .forum tr .tcl {width: 60% !important;}
#pun-viewforum .forum tr .tc2 {}
#pun-viewforum .forum tr .tc3 {}
#pun-viewforum .forum tr .tcr  {}


#pun-viewforum .forum tr .tc2::before {content: 'ответов:';}
#pun-viewforum .forum tr .tc3::before {content: 'просмотров:';}


#pun-searchtopics .forum tr .tcl {width: 50% !important;}

#pun-searchtopics .forum tr .tc2 {padding-right:10px; display: flex;flex-direction: column;    align-items: center;font-size: 10px;}

#pun-searchtopics .forum tr .tc3 {padding-right:10px; display: flex;flex-direction: column;    align-items: center;font-size: 10px;}

#pun-searchtopics .forum tr .tcr  {width: 20% !important;}

#pun-searchtopics .multiStat {
    width: 15% !important;
}

#pun-searchtopics .forum tr .tc2::before {content: '' !important;}
#pun-searchtopics .forum tr .tc3::before {content: 'ответов';}


.multipage .forum tr:last-child {border-bottom: none;}

.multipage .forum tr td.tcl {order:1;}

.multiStat {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    width: 10%;
}

.multipage .forum tr td.tc2 {padding: 0 !important;}
.multipage .forum tr td.tc3 {padding: 0 !important;}

.multipage .forum tr td.tc2, .multipage .forum tr td.tc3 {
    width: initial !important;
    display: flex;
    flex-direction: column;
    font-size: 10px;
}


.multipage .forum tr td.tcr {
    order: 3;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4px 0px 0px 70px;
    width: 20% !important;
    min-height: 50px;
}

.multipage .forum th.tcr {width: 20% !important;}

.multipage em.user-avatar {
    position: absolute;
    left: 10px;
}

.multipage table div.icon {
    width: 10px;
    height: 10px;
    position: inherit !important;
    font-weight: 700;
    background: transparent;
    opacity: 0.6;
}

.multipage table div.icon:before {
    content: '\e105';
    font-family: "Font Awesome 6 Pro";
    font-size: 14px;
    color: var(--mainText);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.multipage table tr.isticky div.icon, .multipage table tr.iclosed.isticky div.icon {
    background: transparent;
}


.multipage table tr.isticky div.icon::before, .multipage table tr.iclosed.isticky div.icon::before {
    content: '\f005' !important;
}

.multipage table tr.iclosed div.icon {

}

.multipage table tr.iclosed div.icon:before {content: '\f023' !important;}

.multipage table tr.inew div.icon {
    opacity: 1 !important;
}

.multipage table tr.inew div.icon:before {content: '\f06d' !important; color: var(--acc1);}


#pun-viewforum tbody>tr>td.tcl>div>div.tclcon>a, #pun-viewforum tbody>tr>td.tcl>div>div.tclcon>strong>a, .multipage.show_recent tbody>tr>td.tcl>div>div.tclcon>a, .multipage.show_recent tbody>tr>td.tcl>div>div.tclcon>strong>a, .multipage.show_new tbody>tr>td.tcl>div>div.tclcon>a, .multipage.show_new tbody>tr>td.tcl>div>div.tclcon>strong>a {
    display: block;
    border-bottom: 1px dashed var(--brdr2);
    margin: 0 0 4px 0;
    width: max-content;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 420px;
}

/* Юзерлист
-------------------------------------------------------------*/

.usertable {
    border-radius: 20px;
    margin: 20px 0;
    overflow: hidden;
    padding: 10px 0 20px 0px;
}

.usertable tbody {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--ctgrBG);
    padding: 10px;
    border-radius: var(--rds10);
}

#pun-userlist .usertable table {
    display: flex;
    flex-direction: column;
}

#pun-userlist .usertable tbody tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 10px;
    position: relative;
    border: 1px solid var(--brdr1);
    border-radius: 5px;
    width: 205px;
    background: var(--ctgrBG);
}

#pun-userlist .usertable tbody tr td {
    width: 100% !important;
}

#pun-userlist .usertable td.tcl.username {
    display: flex;
    padding: 0 0 0 0px !important;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

#pun-userlist span.usersname {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 100%;
    width: -webkit-fill-available;
    line-height: 1.2;
}

#pun-userlist .usertable span.usersname a {
    background: var(--mainPun);
    color: var(--Textmain) !important;
    border-radius: 5px;
    padding: 0 10px;
    display: flex;
    height: 50px;
    align-items: center;
    width: -webkit-fill-available;
    font-size: 13px;
    line-height: 1.2;
    justify-content: center;
    text-align: center;
    font-weight: 800;
}

#pun-userlist .usertable span.usersname a:hover {
    background: var(--acc1);
    color: #fff !important;
}

td.tc2.user_title {
    overflow: hidden;
    text-align: center !important;
    font-size: 10px;
    line-height: 1.2;
    padding: 3px 4px 9px 4px !important;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    text-transform: lowercase;
    border-bottom: 1px dashed var(--brdr1);
}

#pun-userlist td.tc3.num_posts, #pun-userlist td.tc3.registered, #pun-userlist td.tc3.last_visit {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 0 0 4px 10px;
    margin: 4px 0;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 10px;
    border-bottom: 1px dashed var(--brdr1);
}

#pun-userlist td.tc3.num_posts:before, #pun-userlist td.tc3.registered:before, #pun-userlist td.tc3.last_visit:before {
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 700;
}

#pun-userlist td.tc3.num_posts:before {
content: 'Сообщений:';
}

#pun-userlist td.tc3.registered:before {
content: 'Зарегистрирован:';
}

#pun-userlist td.tc3.last_visit:before {
content: 'Последний визит:';
}


#pun-userlist em.user-avatar {
    position: inherit !important;
    width: 50px;
}

#pun-userlist span.avatar-image {
    mask: none !important;
    border-radius: 3px !important;
    width: 50px !important;
    height: 50px !important;
}

#pun-userlist span.isonline {
    mask: none;
    border-radius: 50px !important;
    width: 8px !important;
    height: 8px !important;
    animation: blinkColor .9s linear infinite !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10 !important;
}


/* фиксы страницы личных сообщений
-------------------------------------------------------------*/
#pun-messages span.avatar-image {
    mask: none;
    width: 35px !important;
    height: 35px !important;
    border-radius: var(--rds3) !important;
}

#pun-messages .intd .icon {
    width: 10px;
    height: 10px;
    background: var(--mainText);
    border-radius: 50px;
    position: absolute;
    left: 0;
    top: 11px;
    opacity: .3;
}

#pun-messages .intd .icon.inew {
    background: var(--acc1);
    opacity: 1;
}

#pun-messages tr.group1.icon.inew {
    font-weight: bold;
}

#pun-messages tr {
    font-size: 12px;
    position: relative;
}

#pun-messages em.user-avatar {
    height: 35px !important;
}

#pun-messages td.tc2.pmtc22 {
    display: flex;
    width: -webkit-fill-available !important;
    padding: 0 !important;
    line-height: 1;
    align-items: center;
    gap: 10px;
}

#pun-messages td.tcl.pmtcl1 {
    padding-bottom: 40px;
}

#pun-messages td.tc3.pmtc33 {
    padding: 12px 0 0 0 !important;
    line-height: 1;
    vertical-align: top;
}

/* фиксед меню
-------------------------------------------------------------*/
#pun-navlinks.section.fixed {
    position: fixed;
    top: 0;
    left: inherit;
    transform: none;
    background: var(--ctgrBG);
    margin: 0 0 0 -20px !important;
    right: inherit;
    width: 1000px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}



#pun-navlinks.section.fixed a {
    box-shadow: none;
    background: none;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1;
    padding: 0 4px;
}

#pun-navlinks.section.fixed a:hover {color: var(--acc1);}

#pun-ulinks.section.fixed {
    position: fixed;
    top: 40px;
    left: inherit;
    transform: none;
    background: var(--ctgrBG);
    margin: 0 0 0 -20px !important;
    right: inherit;
    width: 1000px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 7px;
    padding-top: 7px;
}

#pun-ulinks.section.fixed li a {color: var(--mainText);border-bottom: 1px dashed var(--mainText);}

#pun-ulinks.section.fixed li a:hover {color: var(--acc1);}


/* фоны всплывающих меню
-------------------------------------------------------------*/

#tags .container {
    background: var(--ctgrBG);
    padding: 10px;
    box-shadow: 0px 3px 10px -5px #000;
    top: auto !important;
    border: 1px dashed var(--brdr2);
    border-radius: var(--rds3);
}

/* мелкие допы dop
-------------------------------------------------------------*/
span.newtext {
    font-size: 0;
}

span.newtext a {
    font-size: 9px;
    text-transform: uppercase;
    FONT-WEIGHT: 600;
    background: var(--acc1);
    border-radius: 3px;
    color: #fff !important;
    padding: 2px 5px;
    display: inline-flex;
    line-height: 1;
}

span.newtext a:hover {
    background: var(--brdr2);
    color: var(--mainText) !important;
}


span.pagestext {
    font-size: 0;
}

span.pagestext a {
    font-size: 12px;
    background: var(--brdr2);
    padding: 0px 5px;
    border-radius: 3px;
    margin: 0 2px;
    color: var(--mainText) !important;
    font-weight: 500;
}

span.pagestext a:hover {
    background: var(--acc1);
    color: #fff !important;
}

span.byuser {
    font-weight: 600 !important;
}

small#plng {
    min-width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brdr1);
    border-radius: 3px;
    padding: 0 4px;
    margin-left: -8px;
    /* border-right: 1px dashed var(--brdr2); */
}

#addition-area div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed var(--brdr2);
}

#addition-area div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed var(--brdr2);
    transition: color 0.3s, background-color 0.3s;
    padding-left: 8px;
}

#font-area div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed var(--brdr2);
    position: relative;
    transition: color 0.3s, background-color 0.3s;
    padding: 0 0 0 8px;
    margin-top: 10px;
    font-size: 12px;
}

#font-area div:hover, #addition-area div:hover {
    background-color: var(--acc1);
    color: #fff;
}

#font-area img {
    width: 100%;
    height: 100% !important;
    margin-top: 0 !important;
    position: absolute !important;
    top: 0  !important;
    left: 0  !important;
}

/* Маска профиля  ----*/

#mask_dialog .inner.container {
    border-radius: var(--rds10);
    box-shadow: none;
    background: var(--ctgrBG) !important;
    padding: 20px;
    width: 900px !important;
    max-width: 1000px !important;
    z-index: 1000001 !important;
}

#mask_dialog .hv-preview-block {
    flex: inherit !important;
    margin: 0 20px 0 0 !important;
    border-radius: 10px;
    padding: 10px 0;
    max-width: inherit !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0px 0px 7px -1px #00000026;
    width: 240px !important;
    position: relative;
}

#mask_dialog .hv-preview-block img {
    max-width: 180px !important;
    max-height: 180px !important;
}

.hv-form-block {
    flex: inherit !important;
    width: 550px;
    padding: 0 20px 0 0;
    line-height: 1.2;
    font-size: 10px;
    text-transform: uppercase;
}

.hv-mask-dialog-title {
    font-size: 11px !important;
    text-transform: uppercase;
    line-height: 1 !important;
    margin: -10px 0 10px 0;
    background: var(--BGsec);
    border-radius: 50px;
    padding: 6px 0;
}

.hv-preview-author {
    font-weight: bold;
    line-height: 1;
    font-size: 12px !important;
    order: 1;
}

.hv-preview-avatar {order: 2;}

.hv-preview-title {
    line-height: 1.1;
    font-size: 10px;
    text-transform: lowercase;
    order: 3;
}