/********************  (c) astaarus ***********************/

@import url(style_cs.1768134157.css);

@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100..900&display=swap');
@font-face {
    font-family: Rastology;
    src: url("https://forumstatic.ru/files/001c/91/d0/79954.ttf") format("truetype");
}

@font-face { font-family: "Material Icons";
  font-style: normal; font-weight: normal;
  src: local("Material Icons"), url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format("woff2"); }
@font-face { font-family: 'beron'; 
src: local("beron"), url(https://forumstatic.ru/files/001c/47/24/25363.ttf); }
@font-face { font-family: 'inter';
src: local("inter"), url(https://forumstatic.ru/files/001c/3f/af/56893.ttf);}
@font-face { font-family: 'Radiotechnika';
src: local("Radiotechnika"), url(https://forumstatic.ru/files/001c/91/d0/91720.otf);}
@font-face { font-family: 'Caravan';
src: local("Caravan"), url(https://forumstatic.ru/files/001c/91/d0/23568.otf);}
@font-face { font-family: 'Blackcraft';
src: local("Blackcraft"), url(https://forumstatic.ru/files/001c/91/d0/16582.ttf);}
@font-face { font-family: 'Skandal';
src: local("Skandal"), url(https://forumstatic.ru/files/001c/91/d0/16066.ttf);}
@font-face { font-family: 'FasolSPDemo';
src: local("FasolSPDemo"), url(https://forumstatic.ru/files/001c/91/d0/83560.otf);}

@import url('https://forumstatic.ru/files/001a/28/10/55678.css'); /*--------  fonts from blanche - thank you --------*/

#pun-admain h1, #pun-admain h2, #pun-admain h3, #pun-admain h4, #pun-admain table, #pun-admain table * { font-size: 1em;  font-weight: normal; border: none !important;}

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.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 .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .divider hr,
.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: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;
}

/* Основные переменные
------------------------------------------*/

:root {

--bodybg: #353535 url(https://forumstatic.ru/files/001c/8f/db/51780.jpg) no-repeat top center/cover; /* фон форума */
--linkmain: #874d4d; /* основные ссылки */
--navlink: #dedede; /* верхняя навиг ссылки */
--hlink: #000; /* при наведении общ */
--hlinkl: #eee; /* при наведении светлые */
--hlinkd: #c0bfbf; /* при наведении нав темные */
--bbackl: #744B4B; /* фон кнопок при наведении и ссылки в нав */
--punbg: #EAEAEA; /* фон тела */
--back1: #e3e3e3; /* фон в статистике */
--fa: 'Font Awesome 6 Pro', 'Font Awesome 6 Brands'; /* шрифт иконок */
--p-width:220px; /* ширина профиля */
--black: #000; /* черный фон */
--jst: 'Jost'; /* осн шрифт */
--punul: #e3e3e3; /* фон подложек */
--grayc: #424242; /* серый текст светлее */
--catfont: 'Rastology';
--blackl: #000;
--catbord: #000;
--catzag: #c0c0c0;
--tablink: #cdcdcd;
--oldicon: #f0f0f0;
--newicon: #A77474;
--closeicon: #000;
--stickicon: #492a2a;
--inputback: #f5f5f5;
--topictext: #000;
--anshover: #000;

}

/* Дополнительные переменные
------------------------------------------*/

/*  для темной темы */

.dark {

--punbg: #262626; /* фон тела */
--punul: #353535;
--back1: #353535;
--grayc: #BCBCBC;
--blackl: #A7A7A7;
--catzag: #606060;
--catbord: #4F4F4F;
--tablink: #4F4F4F;
--linkmain: #ab7272; /* основные ссылки */
--hlink: #eee;
--oldicon: #575757;
--newicon: #6A3F3F;
--inputback: #353535;
--topictext: #bcbcbc;
--anshover: #EFEFEF;


}

.punbb .post-sig dt { display: block; border-top: 1px solid var(--grayc);width: 400px; margin: 9px auto;opacity: 0.3;}


/* Основные настройки
------------------------------------------*/

* {
margin: 0;
padding: 0;
border:0;
text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
scrollbar-color: #fff #000;
scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

*::-webkit-scrollbar-track {
  background-color: #000;
}

*::-webkit-scrollbar-thumb {
  background-color: #fff;
}

a, .punbb #pun-admain a {
color: var(--linkmain);
text-decoration:none;
}

a:hover, .punbb #pun-admain a:hover {
color: var(--grayc);
text-decoration:none;
}


input[type=button], input[type=submit] {
    color: var(--navlink);
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 2px 10px;
    background: var(--black);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    font-family: var(--jst);
    cursor: pointer;
    margin: 10px 0px;
}

input[type=button]:hover, input[type=submit]:hover {
color: var(--hlinkl); 
background: var(--bbackl);
}


input[type=text], select, input[type=password] {
padding: 5px;
}

textarea {
padding:5px 10px;
}

ul li {
list-style:none;
}

h1, h2 {
padding: 5px 20px;
text-align: center;
}

em.bbuline {
  font-style: normal;     
  text-decoration: underline;  
}

:focus {
outline:none;
}

table, table tbody {
width: 100%;
display: flex;
flex-direction: column;
border-radius: 11px;
}

.category table {
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 9px;
padding: 15px 10px;
}

.category .container {
    border-radius: 11px;
    width: 914px;
    margin: 0 auto;
    box-sizing: border-box;
    background: var(--catbord);
    padding: 12px 0 0 !important;
    position: relative;
}

.category h2 {
    padding: 5px 20px 0px;
    margin-bottom: -10px;
    background: url(https://forumstatic.ru/files/001c/8f/db/81156.png) no-repeat right 60px bottom 3px;
    position: relative;
    z-index: 2;
    height: 41px;
    display: flex;
    align-items: flex-end;
}

.category h2 span {
    font-family: var(--catfont);
    font-weight: 400;
    font-size: 41px;
    text-transform: uppercase;
    text-align: center;
    color: var(--catzag);
    line-height: 30px;
    position: relative;
    height: 32px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    top:-1px;
}

.category h2 span:after {
    content: '';
    position: absolute;
    bottom: -3px;
    height: 12px;
    width: 410px;
    left: 0;
    background: var(--catbord);
    display: block;
}

.main tr {
    width: 100%;
    justify-content: space-between;
    display: flex;
    text-align: left;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.tcl {
width: 50%;
}

.intd {
    display: flex;
    gap: 20px;
    align-content: center;
    align-items: flex-start;
    color: var(--grayc);
    justify-content: flex-start;
}

tr .icon {
    display: block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border-radius: 100%;
    background: var(--oldicon);
}


tr .icon.inew {
background: var(--newicon);
}

tr.iclosed div.icon {
    background: var(--closeicon);
}

tr.isticky div.icon {
    background: var(--stickicon);
}


#pun-index tr .icon {
    margin-top: 0px;
}

.tc3, .tc2 {  
width: 10%;
text-align: center;
}

.tcr { 
width: 30%;
}

.modmenu .container {
display: flex;
justify-content: space-between;
}

.modmenu .container:after {
display:none;
}


/* форумная таблица
------------------------------------------*/

/* фон */

html {
  background: var(--bodybg);
}

/* заплатка для фиксированного фона */

body::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -10;
  background: var(--bodybg);
}

/* тело форума */

#pun {
background: var(--punbg);
width: 968px;
margin: 353px auto 50px;
}

.punbb >div .container {
padding: 10px 27px;
}

.punbb {
font: normal 12px/16px Jost, Arial, sans-serif;
font-style: normal;
}

h1.title-logo {
display: none;
}

#pun-navlinks ul.container, #pun-ulinks ul.container{
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
justify-content: center;
}

#pun-ulinks ul.container {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    width: 916px;
    margin: 0px auto;
    position: relative;
    font-size: 9px;
    padding: 3px 0px !important;
    color: var(--black);
    top: -10px;
}

#pun-ulinks ul.container a {color: var(--blackl);}

#pun-ulinks ul.container a:hover {color: var(--bbackl);}

#pun-navlinks {
position: absolute;
top: 40px;
width: 968px;
}

#pun-navlinks ul.container a {
    color: var(--navlink); 
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 2px 10px;
    background: var(--black);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    font-family: var(--jst), sans-serif;
}

#pun-navlinks ul.container a:hover {
color: var(--hlinkl); 
background: var(--bbackl);
}

#pun-title {
    height: 284px;
    width: 968px;
    background: url(https://forumstatic.ru/files/001c/8f/db/81688.png) no-repeat top center/cover;
    position: absolute;
    top: 70px;

}

#html-header {
    position: absolute;
    height: 274px;
    width: 968px;
    top: 70px;
    z-index: 2;

}

#html-footer {
    content: '';
    width: 916px;
    height: 25px;
    background: #000;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
    z-index: -1;
    top: 16px;
}

div#pun-about .container {
    text-align: center;
}

.linkst, .linksb {
padding: 5px 27px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


#pun-viewforum .linksb {
    display: flex;
    flex-direction: row-reverse;
}

.punbb .postlink.long {
width: fit-content;

}

.punbb .main .linksb:after {
display:none;
}

.punbb .user-avatar .avatar-image {
    border-radius: 50%;
    height: 15px !important;
    width: 15px !important;
    opacity: 0.85;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;
    border: 2px solid #A77474;
}

.pa-avatar img {
    border-radius: 3%;
margin-top: -10px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
}

#pun-index .user-avatar .avatar-image {  
    height: 25px !important;
    width: 25px !important;
   
}

.punbb .user-avatar .isonline {
width: 8px;
height: 8px;
border-radius: 50%;
display: block;
position: absolute;
top: 0px !important;
right: 10px !important;
animation: blinkColor .9s 
linear infinite;
-moz-animation: blinkColor .9s linear infinite;
-webkit-animation: blinkColor .9s 
linear infinite;
background: #f1f1f1 !important;
z-index: 100;
}





/* главная страница
------------------------------------------*/

#pun-index thead, #pun-index .tc3, #pun-index .tc2 {
display: none;
}

#pun-index .tcl {
width: 60%;
}

#pun-index .tcr {
width: 40%;
}

#pun-index .user-avatar {
height: 40px;
vertical-align: middle;
display: flex;
align-items: flex-start;
}

#pun-index .user-avatar .isonline {
    top: 0px !important;
    right: 8px !important;
}

#pun-index .tcl h3 a {
    font-family: var(--jst);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--blackl); }

#pun-index .tcl h3 a:hover {
    color: var(--bbackl);
}

.tab_links {
    display: flex;
    width: 496px;
    justify-content: space-between;
    top: 211px;
    position: relative;
    margin: 0 auto;
}

.tab_links a {
    border-radius: 10px;
    width: 150px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background: var(--tablink);
    display: block;
    cursor: pointer;
    font-family: var(--jst);
    font-weight: 400;
    font-size: 9px;
    text-transform: uppercase;
    text-align: center;
    color: var(--grayc);
    line-height: 20px;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.25,1.5,.5,1);
}

.tab_links a:hover {
    transform: scale(1.12);
}

.fordescr {
    font-family: var(--jst);
    font-weight: 400;
    font-size: 9px;
    line-height: 144%;
    text-transform: uppercase;
    color: var(--grayc);
    padding: 10px 0px;
    width: 390px;
}

.forlinks a {
    color: var(--navlink);
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 3px 15px;
    background: var(--black);
    font-weight: 700;
    font-size: 9px;
    text-transform: uppercase;
    text-align: center;
    font-family: var(--jst), sans-serif;
}

.forlinks a:hover {
color: var(--hlinkl); 
background: var(--bbackl); }

p.container.crumbs, #pun-index .tcr a, #pun-index .tcr {
color: var(--grayc);
}

#pun-index .tcr a {font-weight: bold;}
#pun-index .tcr a:hover {color: var(--bbackl);}


/* прочие страницы
------------------------------------------*/
#pun-searchtopics .tc2 {
width: 30%;
}

#pun-ulinks, #pun-status, #pun-crumbs1, #pun-index .tcr {
text-transform: uppercase;
font-size: 11px;}

p.container.crumbs {
    text-align: center;
    font-size: 9px;
    padding: 20px 0px;
text-transform: uppercase; 
}

#pun-status {
    position: absolute;
    top: 7px;
    text-align: center;
    width: 968px;
    color: var(--navlink);
    font-size: 9px;
}

#pun-status .status-right {
    float: right;
    display: none;
}

#pun-navlinks {
text-transform: uppercase; }

.fs-box.inline  {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px 20px;

}

#pun-viewforum thead, .section.online-list thead, .forum thead, .fs-box thead {
    font-size: 10px;
    text-transform: lowercase;
    text-align:center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    margin-bottom: 15px;
}

#pun-online h1, #pun-viewtopic h1, #pun-main h1, .topic h2 span {
    padding: 2px 11px 5px 11px;
    text-align: center;
    font-size: 12px;
    text-transform: lowercase;
    background: #000;
    width: max-content;
    text-align: center;
    color: var(--navlink);
    border-radius: 15px;
    margin: 10px auto;
}

#pun-main {
    color: var(--grayc);
}


#pun-online .tcl {
    width: 35% !important;
}


#pun-online .tcl.action {
    width: 40%;
}

#pun-online .tc2, #pun-online .tc3 {
    width: 20%;
    text-align: center;
}

#pun-online tr {
    text-align: center;
} 

#tags {
position: relative;

}

.punbb #tags .container {
    position: absolute;
    right: 6px;
    top: 5px;
    z-index: 2;
    background: var(--punbg);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    max-height: 160px;
    overflow: auto;
}

input[type=text], select, input[type=password], .punbb .formal textarea {
    background: var(--inputback);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    font-size: 11px;
    margin: 5px 0px;
    color: var(--grayc);
    border: 1px solid var(--inputback);
    font-family: var(--jst);
}

.forum .user-avatar .isonline {
    right: 15px !important;
}

.info, #profile, .formal fieldset, #topic-users-in .container, .section.online-list, .forum {
    color: var(--grayc);
}

#profile form#messages legend {
    display: none;
}

#profilenav h2 {
    font-size: 10px;
    text-transform: lowercase;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    margin: 10px 0px;
    width: 90px;
    padding: 3px 10px;
}

#profile-left {
    width: 40% !important;
    padding-top: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 7px;
    box-sizing: border-box;
    padding: 10px !important;
    border-radius: 11px;
    justify-content: center;
    align-content: flex-start;
    align-items: stretch;
}

#pun-post h3 {
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    box-sizing: border-box;
    margin: 10px 27px;
}

#pun-post h3 strong {color: var(--grayc);}

#pun-post .post-author {padding: 15px 0px; font-weight: bold; }

.post-author.online .pa-author a:before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--linkmain);
    position: relative;
    z-index: 3;
    display: block;
    border-radius: 50%;
    left: 8px;
top: 10px;
    animation: blinkColor .9s linear infinite;
    -moz-animation: blinkColor .9s linear infinite;
    -webkit-animation: blinkColor .9s linear infinite;
}

.pa-author a:before {    content: ''; background: #000;
    display: block;
    width: 5px;
    height: 5px;
    position: relative;
    left: 8px;
top:10px;
    z-index: 2; border-radius: 50%; }


.usertable {
    color: var(--grayc);
}

#viewprofile {
    color: var(--grayc);
}

li#pa-ua, li.pa-reg {
    display: none;
}

li.pa-title {
height: fit-content;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    text-transform: lowercase;
    margin: -10px auto 11px;
}

li.pa-awards {
    display: none;
}

li#navawards {
    display: none;
}

#pun-searchposts h3 {

    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    box-sizing: border-box;
    margin: 10px 27px;
    color: var(--grayc);

}

#pun-searchposts h3 span {
    justify-content: flex-start;
    gap: 10px;
}


#pun-messages h3 {  
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    box-sizing: border-box;  

}


#pun-searchposts .post-author {padding: 0px 0px 15px 0px;}

#profile-right li {
    margin: 15px 0px;
    font-weight: normal;
    font-size: 10px;
    text-transform: lowercase;
}

#profile-right span {
    font-size: 10px;
    text-transform: lowercase;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    margin: 10px 0px;
    padding: 3px 10px;
}

#profile-right li strong {
    padding-left: 1em !important;
}

/* топик
------------------------------------------*/

.topic a.sharelink {
   display: none;
}

h3 span {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    box-sizing: border-box;
    margin: 10px 27px;
}

a.permalink {
    order: -1;
}

.post-author {
    width: var(--p-width);
    text-align: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    height: min-content;
    padding-bottom: 15px;
    border-top: 20px solid #000;
    border-radius: 11px;
}

li.pa-author, li.pa-author a {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--linkmain);
font-family: Skandal;
}

li.pa-author:hover, li.pa-author a:hover {
    color: var(--grayc);
}



li.pa-author {
background: var(--punul);
    padding: 5px 0px;
    width: 180px;
    margin: 0px auto;
    top: -10px;
    position: relative;
    border-radius: 11px;
}

.plicon {
    margin: 0px auto;
}

.plicon img {
    max-width: 18px;
    max-height: 18px;
    padding: 3px;
    background: var(--punul);
    border-radius: 100%;
    min-height: 18px;
    min-width: 18px;
    align-items: center;
}

.lz {
    width: 160px;
    padding: 10px 10px 20px 10px;
    background: var(--punbg);
    margin: 8px auto 8px;
    border-radius: 7px;
    line-height: 13px;
    text-align: center;
}


.lz a.name {
    font-weight: bold;
    font-size: 10px;
    padding-top: 3px;
}

.lz p {
    padding-top: 5px;
    font-size: 11px;
     
}


li.pa-fld5 {
    width: 180px;
    margin: 0px auto;
    margin-top: -18px;

}

.pa-posts, .pa-respect, .pa-fld3, .pa-fld2 {
    display: inline-block;
    margin: 10px 0px -30px 0px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
font-size:9px;
color: #a2a2a2;
}

 .pa-respect a {
color: #a2a2a2;
}

.pa-respect a:hover {
color: var(--linkmain);
}

.pa-posts .fld-name, .pa-respect .fld-name {
    width: 100%;
}



/* соо и репутация */
.pa-posts .fld-name, .pa-respect .fld-name, .pa-fld4 .fld-name, .pa-fld2 .fld-name, .pa-fld3 .fld-name, .pa-fld5 .fld-name {
    font-size:9px;
color: #a2a2a2;
}

.pa-respect a[href*="&v=1&cod"] img,
.pa-respect a[href*="&v=0&cod"] img { visibility:hidden; height:10px; width:10px; }
.pa-respect a[href*="&v=1&cod"]{ background:url() center 100% no-repeat; margin-left: -10px; }
.pa-respect a[href*="&v=0&cod"] { background:url() center  100% no-repeat; }

.pa-respect a[href*="&v=1&cod"]:after { content: '\f0fe';  font-family: 'Font Awesome 6 Pro'; font-size: 8px;  font-weight: bold; margin-right: 3px; color: var(--topictext) !important; opacity: 0.3;}

#post-form h2 {
    display: none;
}

p.lastedit, .punbb li.pa-ua {
    display: none;
}

li.pa-online {
    text-transform: lowercase;
    font-size: 9px;
    color: var(--linkmain);
}

#pun-viewtopic .pagelink,
#topic-users-in .container,
.subscribelink,
#topic-modmenu,
.pagelink {
text-transform: lowercase;
}

.postlink span a {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
}

.postlink span {
    color: var(--grayc);
    text-transform: lowercase;
}

.post.toppost.endpost .container .post-author {
    padding: 10px 0px;
}

#post-preview legend {  
    padding: 2px 11px 5px 11px;
    font-size: 12px;
    text-transform: lowercase;
    background: #000;
    width: max-content;
    text-align: left;
    color: var(--navlink);
    border-radius: 15px;
    margin: 25px 0px;
}

fieldset#post-preview .fs-box p {
    margin: 10px 0px;
}

#post-preview .post-content {
    padding: 20px;
    box-sizing: border-box;
    background: var(--inputback);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    color: var(--topictext);
    font-family: var(--jst);
    margin: 0px;
    font-size: 13px;
    line-height: 18px;
}

blockquote:before {
    content: '\f10e';
    font-family: var(--fa);
    position: relative;
    top: -9px;
    font-weight: bold;
    font-size: 18px;
    color: var(--linkmain);
    justify-content: flex-end;
    display: flex;
}

blockquote {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    padding: 20px 15px;
    margin: 10px;
    box-sizing: border-box;
}

.quote-box.answer-box blockquote {
    box-shadow: none;
    padding: 5px;
    height: fit-content;
    line-height: 10px;
    padding: 0px 15px;
    background: var(--punbg);
}

.quote-box.answer-box {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    padding: 10px 5px 3px 5px;
    margin: 10px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: max-content;
    line-height: normal;
}

.quote-box.answer-box cite {
    background: var(--black);
    width: max-content;
    color: var(--navlink);
    border-radius: 15px;
    padding: 3px 15px;
    font-style: normal;
    text-transform: lowercase;
    font-weight: bold;
    margin-left: 12px;
    width: max-content; }

.quote-box.answer-box cite:before { content: '\f007';
    font-family: var(--fa); color: var(--linkmain); padding-right: 5px;     font-size: 10px;
    font-weight: bold;}

.quote-box.answer-box blockquote:before {
    content: '\f10e';
    font-family: var(--fa);
    position: relative;
    top: -4px;
    font-weight: bold;
    font-size: 18px;
    color: var(--linkmain);
    justify-content: flex-end;
    display: flex;
    left: 1px;
}

.code-box {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    padding: 20px 15px;
    margin: 10px;
    box-sizing: border-box;
}

.code-box strong.legend a {
    color: #d7d7d7 !important;
}

.code-box .legend {
    background: var(--black);
    width: max-content;
    color: var(--navlink);
    border-radius: 15px;
    padding: 1px 15px 3px 15px;
    font-style: normal;
    text-transform: lowercase;
    font-weight: bold;
    margin: 10px 3px;
    width: max-content;
}

.code-box .legend:before {
    content: '\f121';
    font-family: var(--fa);
    color: var(--linkmain);
    padding-right: 5px;
    font-size: 10px;
    font-weight: bold;
}


.punbb .scrollbox {
    height: max-content !important;
    margin: 10px 0px;
}

.blockcode {
    box-sizing: border-box;
    flex-wrap: wrap;
    display: block;
    overflow: auto;
}

/* спойлер
------------------------------------------*/

.quote-box.spoiler-box {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    padding: 10px 5px 3px 5px;
    margin: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;  /* важно! */
    align-items: stretch;
}

/* ИКОНКА (закрыта) */
.punbb .post-content .spoiler-box > div:before {
    content: '\e500';
    font-size: 13px;
    font-family: 'Font Awesome 6 Pro';
    color: var(--grayc);
    margin-right: 6px;
    display: inline-block;         
    transition: transform .35s ease; 
}

/* ИКОНКА (открыта) */
.punbb .post-content .spoiler-box > div.visible:before {
    content: '\e4ff';
    transform: rotate(90deg);
    color: var(--linkmain);
}

.punbb .post-content .spoiler-box > div.visible {background: none;}


.punbb .post-content .spoiler-box > div {
    background: none;
    cursor: pointer;
    padding: 0px 15px 7px 15px;
}

/* Закрытый */
.punbb .post-content .spoiler-box > blockquote {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    max-height: 0;
}

/* Открытый */
.punbb .post-content .spoiler-box > blockquote.visible {
    animation: spoilerSlide .45s ease forwards;
}

/* Анимация “выезда” */
@keyframes spoilerSlide {
    0% {
        opacity: 0;
        transform: translateY(-8px);
        max-height: 0;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        max-height: 2000px; /* можно больше, неважно */
    }
}


/* рейтинг поста
------------------------------------------*/

.punbb .post-rating a {
    background: var(--punul);
    padding: 1px 20px;
    font-size: 12px !important;
    border-radius: 10px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.punbb .post-vote a  {
    background: var(--punul);
    padding: 2px 7px;
    font-size: 10px !important;
    border-radius: 100%;
    font-weight: bold;
    position: relative;
    display: inline-block
}

.punbb .post-rating a:before {
    content: '\f004';
    font-family: var(--fa);
    padding-right: 5px;
    color: var(--grayc);
}

.punbb div.post-rating a {
    margin-top: 10px !important;
}

.punbb a.positive,
.punbb a.negative {
    position: relative;
    display: inline-block;
    margin-top: 9px !important;
}

/* Контейнер для сердечек */
.heart-burst-container {
    position: absolute;
    pointer-events: none;
    overflow: visible;
}

/* Сердечки */

.heart-burst {
    position: absolute;
    font-family: var(--fa);
    color: #ff5f8f;
    opacity: 0;
    font-size: 14px;
    animation: heartFloat 1.5s ease-out forwards; /* увеличили длительность */
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) scale(0.7);
        opacity: 1;
    }
    30% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(-80px) scale(0.8); /* выше поднимается */
        opacity: 0;
    }
}



/* иконки псевдоэл
------------------------------------------*/

a.permalink:before, .post h3 strong:before, li.pl-delete:before, li.pl-edit.edit-ajax:before, li.pl-quote:before, li.pl-edit:before, li.pl-email.profile:before, li.pl-email.email:before, li.pl-email.pm:before, li.pl-email:before {
font-family: var(--fa);
padding-right: 5px;
color: var(--linkmain);
}

a.permalink:before {
    content: '\f073';
}

.post h3 strong::before {
    content: '\23';
}


li.pl-delete, li.pl-edit.edit-ajax, li.pl-quote, li.pl-edit, li.pl-email.profile, li.pl-email.email, li.pl-email.pm, li.pl-email {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;    
    transition: transform .25s cubic-bezier(.25,1.5,.5,1);
} 

li.pl-delete:hover, li.pl-edit.edit-ajax:hover, li.pl-quote:hover, li.pl-edit:hover {
transform: scale(1.12); }

li.pl-delete:before {content:'\f1f8';}
li.pl-edit.edit-ajax:before {content:'\f044';}
li.pl-edit:before {content:'\f044';}
li.pl-quote:before {content:'\f10e';}
li.pl-email.profile:before {content:'\f007';}
li.pl-email.pm:before {content:'\f0e0';}
li.pl-email.email:before {content:'\40';}
li.pl-email:before {content:'\40';}

/* плашка
------------------------------------------*/

.plsh {
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 12px 0px 7px 0px;
    justify-content: center;
    margin: -10px;
}

.pl {
    width: 160px;
    margin: 8px auto 10px;
}

.pltxt {
    line-height: 10px;
}

.pltxt span {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 9px;
    color: var(--navlink);
}

.pltxt p {
    font-size: 10px;
    color: var(--navlink); 
}

.post >.container {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    gap: 10px 20px;
    color: var(--topictext);

}

.post-body {
    width: calc(100% - var(--p-width) - 20px); 
    font-size: 13px;
    line-height: 18px;
    text-align: justify;
}

.post-body p {
    padding-bottom: 10px;
}

.post-links ul { 
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
    flex-wrap: wrap;
    flex-direction: row;
}

.post-links {
flex-grow:1;
margin-top: 10px;
}

.post-links ul li {
    padding: 3px 10px;
    text-transform: lowercase;
}

li.pl-delete {
    margin-left: auto;
}

.punbb .post .post-links ul:after, .punbb .post .container:after {display:none;}

#topic-users-in .container {
    display: block;
}

#pun-viewtopic .pagelink {
    margin-right: auto;
    order: -1;
}

#pun-viewtopic .subscribelink {
    flex-grow: 1;
    text-align: right;
    width: 100%;
}
#pun-viewtopic h3 {
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    box-sizing: border-box;
    margin: 10px 27px;
}

#pun-viewtopic h3 a, #pun-viewtopic h3 strong, .pagelink  {
  color: var(--grayc);
}

#pun-viewtopic h3 strong, #pun-searchposts h3 strong {
    order: 1;
    margin-left: auto;
}

.pagelink strong {
    padding: 2px 4px;
    border-radius: 3px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    font-size: 9px;
    text-align: center;
}

/* профиль и лс
------------------------------------------*/

#viewprofile-next #profilenav {
    display: none;
}

#profilenav {
    float: left;
    width: 150px;
    margin-left: -150px;
    line-height: 18px;
}

#profile .container {
    padding-left: 170px;
}

#profile .clearer {
    display: none;
}

#profile form#messages {
    margin-top: 10px;
}

li.pa-fld4 { margin-top: -20px; }

li.pa-fld4 img {
    max-height: 40px;
    max-width: 220px;
    min-width: 220px;
    border-radius: 11px 11px 0px 0px;
}



/* форма ответа
------------------------------------------*/

textarea#main-reply {
    box-sizing: border-box;
    background: var(--inputback);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    color: var(--topictext);
    font-family: var(--jst);
    font-size: 13px;
    line-height: 18px;
}

.punbb #form-buttons table {
    width: 100%;
}

p.formsubmit {
    margin-top: 10px;
}




.formal fieldset legend {
    top: 12px;
    position: relative;
    background: red;
    font-size: 10px;
    text-transform: lowercase;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    margin: 15px 0px 15px;
    padding: 3px 10px;

}

small#plng:before {
    font-family: var(--fa);
    padding-right: 5px;
    color: var(--linkmain);
    content: '\f303';
    font-weight: bold;
}

small#plng:after {
    font-family: var(--fa);
    padding-left: 10px;
    color: var(--linkmain);
    content: '\f7a5';
    font-weight: bold;
}

.punbb legend small#plng {
    position: relative !important;
    top: 1px;
    font-size: 8px;  
    margin-right: 0px;
    display: inline-flex;
    padding: 2px 10px;
    border-radius: 10px;    
    font-size: 11px;
    text-align: center;
}

#pun-viewtopic .formal fieldset legend {
    top: 35px;
    position: relative;
    font-size: 11px;
    text-transform: lowercase;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    padding: 4px 10px;
    color: var(--topictext);
    margin-bottom: 20px;
}

fieldset#post-preview legend {
    display: none;
}

fieldset#post-preview {
    margin-top: 20px;
}


/* статистикаpositive
------------------------------------------*/
#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 20px;
    text-transform: lowercase;
    margin: 10px 27px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    background: var(--punul);
    border-radius: 11px;
    padding: 20px;
    color: var(--grayc);
}

li#onlinelist {
width: 100%;
text-align: justify;
}

#pun-stats .container .item4, #pun-stats .container .item3, #pun-stats .container .item2, #pun-stats .container .item1 {
    background: var(--punbg);
    padding: 3px 15px;
    border-radius: 10px;
}

#pun-stats h2 {
    font-size: 0px;
    height: 0px;
}

#tooltip {
position:absolute;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
background: var(--punul);
z-index: 999;
max-width:200px; /* максимальная ширина подсказки */
border:1px dotted var(--grayc); /* толщина. стиль и цвет рамки */
-moz-border-radius:4px;
-khtml-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
font-family: var(--jst); /* шрифт подсказки */
font-size:13px; /* размер текста */
display:none !important;
color: var(--topictext); /* цвет текста */
text-align:center;
padding:4px 10px;
text-transform:lowercase;
} 

/************************* 
Стиль для Быстрой смены аккаунтов 
Deff 
*************************/ 
/*Cкрытие формы входа без клика*/ 
#pun-navlinks a:not(.NextShow)+span.odd{ 
display:none!important; 
}
/*Стиль доп-иконки Выход!*/ 
#pun-navlinks a#New-exit {
  background: transparent!important; 
  position:absolute;
  z-index:100000!important;
  margin-top: -4px !important;
  margin-left: 32px !important;
  display:inline-block!important; 
}
#pun-navlinks #New-exit img{ 
position: absolute;
width: 19px;
height: auto;
transition: .63s;
}
#pun-navlinks #New-exit:hover img{
transition: .63s;
 opacity: .42;
}
.punbb #pun-navlinks a#New-exit:before {
    content:none;
}
.punbb #pun-navlinks #form-login input{
text-align: center;
border: 1px solid #5D6755;
text-rendering: auto; 
color: #000000!important;  
margin-top: 4px!important;
margin-bottom: 3px!important;
border-radius: 5px; 
letter-spacing: 0.2; 
word-spacing: normal; 
text-transform: none; 
text-indent: 0px; 
text-shadow: none; 
display: inline-block!important; 
text-align: center;
box-sizing: border-box;
height:20px;
width:67px;
width: 110px;
padding: 4px;
font: normal normal 400 11px/normal Verdana!important; rgb(250, 255, 189)
background-color: rgba(250,255,189,.88);
}
.punbb #form-login #fld1:placeholder-shown,
.punbb #form-login #fld2:placeholder-shown{
background-color: #7C7C7C;
}
.punbb #form-login #fld1,#form-login #fld2{ 
background-color: #7C7C7C!important;
} 
.punbb #pun-navlinks #form-login input[type="submit"]{ 
margin: 13px 0 2px!important;
box-sizing: border-box;
height:26px;
width:67px;
font-size: 11px!important;
color: #ffffff !important;
background: #814742;
border: 1px outset rgba(206, 87, 87, 0.8)!important;
text-align: center;
padding: 0 4px 2px!important;
border-radius: 13px;
font-family: Verdana!important;
font-weight: 700!important;
transition: all 0.5s ease-in-out 0s;
letter-spacing: 0.8;
cursor:pointer;

/*border: 2px outset #83693E!important; 
color:#565462!important;
font-weight:700!important; */
} 
.punbb #pun-navlinks #form-login input[type="submit"]:hover{
  opacity:0.6;
}

/*Стиль формы входа*/ 
.punbb #pun-navlinks #form-login { 
background: #1c1e20;
min-height:183px;
border: 1px solid #3b3b3b;
border-radius: 0px 0px 6px 6px;
color: #6b6b6b;/*BCBCBC;*/
display: block;
font: 11px "Verdana";
left: 0px;
padding: 8px 12px;
margin: 1px 0;
position: absolute !important;
text-align: center;
word-spacing: normal;
white-space: normal;
/*text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.235);*/
text-transform: none;
letter-spacing: 0.2px!important; 
top: 7px;
width: 122px;
z-index: 100000!important;
}
#pun-navlinks #navlogin #form-login {
  margin-left: -32px;/*Подвижки формы влево от вход*/ 
} 
#pun-navlinks #navlogout #form-login { 
  margin-left: -32px;/*Подвижки формы влево от выход*/
} 
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -32px!important;/*Подвижки формы влево от выход для АМС*/
} 
/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */ 
#pun-navlinks #form-login input[value="Войти"]+p{ 
 margin: 11px auto;
} 
.punbb #pun-navlinks #form-login a.Rega, 
.punbb #pun-navlinks #form-login a.Forgot{ 
position:relative; 
text-transform: none!important; 
z-index:20; 
cursor:pointer; 
font: normal normal 200 10px/normal Verdana!important; 
letter-spacing: 0.4px!important; 
display:inline;
background: none!important;
padding: 0 0 0 3px!important;
color: #c2818a;
font-size: 9px!important;
/*text-shadow: 1px 1px 1px rgba(40, 52, 61, 0.39);*/
}
.punbb #pun-navlinks #form-login a.Rega:before, 
.punbb #pun-navlinks #form-login a.Forgot:before{
  content:none;
}
/* Помечаем красным незаполненные поля!*/ 
#form-login input.none{ 
outline:red dashed 2px!important; 
} 
/*Форма слева(с Никами) */ 
#List-UserNames { 
position:absolute; 
margin-top:-9px; 
min-height:90px; 
width:220px; 
right:100%; 
padding: 12px 19px 12px 17px; 
background: #1C1E20;
border-color: #3b3b3b; /* Цвет границы */
border-style: solid; /* Стиль границы */
border-width: 1px 1px 1px 1px; /* Толщина границы */ 
border-radius:0 0 0px 6px;
text-align:center; 
/*box-shadow:inset 0.23em 0 3.4em rgba(20,20,11,.99);*/ 
} 
/*Стиль контейнера под список Ников*/ 
.punbb #List-UserNames ul{
padding: 0;
overflow:hidden; 
overflow-y:auto; 
min-height:36px; 
max-height:72px;/*Видимое число Ников без прокрутки! сейчас - 4*/ 
} 
.punbb #List-UserNames li {
display: block!important;
position: relative;
background: #434c53;
text-align: left;
box-shadow: 2px 2px 1px rgb(19, 20, 15);
padding-left: 5px!important;
font: normal normal 700 12x/normal Verdana!important;
letter-spacing: 0.4;
margin: 1px auto!important;
padding: 2px 0;
transition: .33s;
}
.punbb #List-UserNames li:hover{ 
opacity:.84; 
/*background:#83693E!important;*/
} 
/*Стиль Ников*/ 
.punbb #List-UserNames li>b{ 
cursor: pointer;
opacity: .9;
color: #fffefe;;
text-shadow: 1px 1px 1px rgb(0, 0, 0);
letter-spacing: 0.3;
} 
.punbb #List-UserNames li>b:hover{ 
opacity:.93; 
text-shadow:1px 1px 1px rgba(0,0,0,.6); 
} 
/*Скролл контейнера с никами*/ 
#List-UserNames ul::-webkit-scrollbar { 
width: 3px; 
height: 5px; 
} 
#List-UserNames ul::-webkit-scrollbar-track { 
background-color: #393A38; 
border: 0px solid #d7d8d9; 
box-shadow: none; 
} 
#List-UserNames ul::-webkit-scrollbar-thumb {
background-color: #C0BFBD;
border: 0px solid #d7d8d9; 
box-shadow: none; 
} 

/*Кнопки Удалить (правее ников)*/ 
#List-UserNames ul li>span { 
display:inline-block; 
padding:0 3px; 
position:absolute; 

opacity:.88; 
cursor:pointer; 
top:0;bottom:0; 
right:2px; 
color:#fff; 
font: normal normal
 
700 10.56px/normal Verdana; 
text-shadow:1px 1px 1px rgba(0,0,0,.6); 
} 
/*Текст при отсутствии запомненных Ников!*/ 
#List-UserNames ul:empty:before{ 
display:inline-block; 
content: "У Вас нет запомненных ников, введенных через форму справа, или через перенос ниже!"; 
} 
/*Кнопка выход-2*/ 
#navlogin #exit-2 { 
display:none; 
} 
#pun:not(.isguest) #navlogout .Rega, 
#pun:not(.isguest) #navlogout .Forgot { 
display:none!important; 
} 
/*Стиль блока с инпутом для переноса и вставки запомненных Аккаунтов*/ 
#List-UserNames ul+span{ 
display:inline-block; 
padding:6px 0 8px 0; 
text-align:left; 
font: normal normal 400 10.56px/normal Verdana;
} 
/*Сам инпут*/ 
.punbb #List-UserNames input { 
border: 1px solid #5D6755!important; 
text-shadow: none!important; 
color:#333!important;
background-color: #7C7C7C!important;
font: normal normal 400 11px/normal Verdana!important; 
/* box-shadow: inset 0px 0px 3px rgba(100,102,80,.97); */ 
margin-top: 9px; 
padding: 2px !important; 
vertical-align: middle; 
} 
/*Стрелочки к инпуту*/ 
#List-UserNames ul+span b{ 
font: normal normal 400 13px/normal Verdana; 
padding:0 3px; 
color: #6b6b6b;
} 
/*Кликалка слева, чуть выше инпута*/ 
#List-UserNames .a1-copy{ 
display:inline-block!important; 
cursor:pointer; 
float:left; 
} 
/*Кликалка справа*/ 
#List-UserNames .a1-paste{ 
cursor:pointer; 
display:inline-block!important; 
float:right; 
} 
/*Подсказки на кликалках*/ 
.tipsy.a11 { 
font: normal normal 400 11px/normal Verdana!important; 
margin-top:-22px!important; 
margin-left: 148px!important; 
max-width:170px; 
display: none !important;
} 
/************************* 
//Конец Стиля для Быстрой смены аккаунтов 
*************************/

/* для уменьшения больших аватаров на масках*/
.pa-avatar img {
    max-height: 180px;
    max-width: 180px;
  }


/********************************
Стиль к постописцам в Шапке
*********************************/
.activists {
    position: absolute;
    margin-top: 35px; /*Отступ от Верха*/
    margin-left: 270px; /*Отступ слево*/
}
.activists > a{
display: inline-block;
margin: 0 3px;
color: rgb(222, 222, 222);
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 2px 10px;
    background: #000;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    font-family: Jost, sans-serif;
}