@import url(style_cs.1780814772.css);

/* Иконический шрифт */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

/* Font Awesome */
@import url("https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css");

@font-face {
  font-family: 'Crevia';
  src: url('https://forumstatic.ru/files/001c/ba/0d/96306.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


/****************************************
Чистый стиль by Alex Kolmar (бродяга)
****************************************/

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.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: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 {
  --body-bg: #5E3831;
  --pun-bg: #C6A785;
  --sec-bg: #7E4E2D;
  --link: #B54E27;
  --link-hover: #937C30;
  --textcolor: #372010;
  --overlay: rgba(181, 78, 39, 0.5);
  --topic-overlay: rgba(126, 78, 45, 0.5);
  --accent1: #662424;
  --accent2: #232A3F;
  --accent3: #B54E27;
  --pwidth: 240px;
  --pad1: 10px 20px;
  --pad2: 5px 20px;
  --pad3: 5px 10px;
  --rad1: 5px;
  --pun-radius: 30px;
  --rad2: 20px;
  --rad3: 3px;
  --rad-profile: 10px;
  --msr: "Material Symbols Rounded";
  --fa: "Font Awesome 6 Pro", "Font Awesome 6 Brands";
  --zagolovok: "Crevia";
    --body-bg-image: url(https://forumstatic.ru/files/001c/ba/0d/58244.png);
    --shapka: url(https://forumstatic.ru/files/001c/ba/0d/26572.png);
    --new: url(https://forumstatic.ru/files/001c/ba/0d/12173.png?v=1);
    --old: url(https://forumstatic.ru/files/001c/ba/0d/12634.png);
    --profile-bg-img: url(https://forumstatic.ru/files/001c/ba/0d/47488.png);
    --plashka-img: url(https://forumstatic.ru/files/001c/ba/0d/42813.png);
    --up: url(https://forumstatic.ru/files/001c/ba/0d/53092.png);
    --down: url(https://forumstatic.ru/files/001c/ba/0d/18248.png);
    --b-post-bg: url(https://forumstatic.ru/files/001c/ba/0d/64130.png);
}

/* Global
------------------------------------------*/

/* Применяется ко всем элементам */

* {
  margin: 0;
  padding: 0;
  border: none;
  text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* прокрутка 
-------------------------------------------------- */

/* Хром etc */

@supports selector(::-webkit-scrollbar) {

  *::-webkit-scrollbar-thumb {
    background: var(--link);
  }

  *::-webkit-scrollbar-thumb:hover {
    background: var(--link-hover);
    cursor: default;
  }

  *::-webkit-scrollbar-track {
    background: var(--sec-bg);
  }

  *::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }
}

/* Мозилла */

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--link-hover) var(--sec-bg);
  }
}

/* выделение текста */

::selection {
  background: var(--link);
  color: var(--pun-bg);
}

:focus {
  outline: none;
}

/* все ссылки */

a,
.punbb #pun-admain a {
  text-decoration: none;
  color: var(--link);
  transition: all .2s linear 0s;
font-weight: bold;
}

a:hover,
.punbb #pun-admain a:hover {
  color: var(--link-hover);
}

/* все заголовки */

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre {
  margin: 0;
}

h1,
h2 {
  padding: 10px 20px;
  font-weight: normal;
  text-align: center;
}

ul,
dl,
li,
dd,
dt {
  list-style: none;
}

address,
em {
  font-style: normal;
}

.multipage h1, .multipage h2 {
   display: none;
}
.multipage thead {
   display: none;
}

/* выключить список модераторов, отредактировано etc */

.modlist,
.lastedit,
.punbb div#pun-live-rusff,
.punbb .topic a.sharelink {
  display: none;
}

/* модальные окна, репутация, закладки etc */

#tags .container,
.post_report,
.post_reputation,
#MyBookmarks,
.inner.popup_graffiti,
.pun-modal .modal-inner,
.punbb-admin #pun-admin-award-form .inner {
  background: var(--sec-bg);
}

/* Формы
------------------------------------------- */

/* ОФОРМЛЕНИЕ КНОПОК */

input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"] {
  padding: 2px 10px;
    border: 1px solid var(--accent1);
    cursor: pointer;
    transition: all .2s linear 0s;
    border-radius: var(--rad-profile);
    text-transform: lowercase;
    font-size: 11px;
    background: var(--sec-bg);
    color: var(--pun-bg);
    font-weight: bold;
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {    color: var(--pun-bg);
    background: var(--accent1);}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
  border: 1px solid var(--accent1);
}

textarea,
input,
select,
optgroup, .longinput input {
    font-size: 11px;
    border-radius: var(--rad-profile);
    background: var(--pun-bg);
color: var(--textcolor);
}

optgroup {
  font-weight: bold;
}

/* флажки и чекбоксы */

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 3px;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 20px;
  vertical-align: middle;
}

.formal .container {
  padding: var(--pad1);
}

.formsubmit {
  padding: 0;
  margin: 0px 0 10px 0;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

fieldset {
  border: none;
}

fieldset legend {
padding-bottom: 30px;
text-transform: lowercase;
margin-left: 20px;
}

fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
}

.fs-box {
  padding: 5px 0;
}

.fs-box p,
.fs-box fieldset {
  padding: 0 0 8px 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
  float: left;
  margin-right: 10px;
}

.inline .infofield {
  clear: both
}

.datafield br {
  display: none
}

.required label,
.datafield span.input {
  font-size: 10px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

.hashelp {
  position: relative;
}


/* Админка
------------------------------------------*/

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}


/* Тело форума
------------------------------------------*/

/* фон */

html {
  background: var(--body-bg) url() no-repeat top center;
}

/* заплатка для фиксированного фона */

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(--body-bg-image) no-repeat top center/cover;
}

/* тело */

#pun {
  margin: 30px auto;
  margin-top: 233px;!important;
  width: 1000px;
  background: var(--pun-bg);
  border-radius: var(--pun-radius);
}

/* внутреннее тело */

.punbb {
  font: 12px Arial, Verdana;
color: var(--textcolor);
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
}

/* Навигационные ссылки */

#pun-navlinks {}

#pun-navlinks .container {
  text-align: center;
}

#pun-navlinks .container:after {
  display: none;
}

#pun-navlinks li {
  padding: 0 5px;
  display: inline;
    padding: 0 5px;
    display: inline;
    font-family: var(--zagolovok);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#pun-navlinks li a {color: var(--accent1);}
#pun-navlinks li a:hover {color: var(--link-hover);}

/* Пользовательские ссылки */

#pun-ulinks {font-size: 7px;
    line-height: 8px;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: -15px;
    line-height: 18px;}

#pun-ulinks .container {
  text-align: center;
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

#pun-ulinks li a {color: var(--textcolor)}
#pun-ulinks li a:hover {color: var(--link)}

/* Статус */

#pun-status {}

#pun-status span {
  white-space: nowrap;
margin-right: 5px;
    font-weight: 400;
    font-size: 8px;
    line-height: 9px;
    align-items: center;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.punbb #pun-status .status-right {
/*  float: none; */
}

/* Хлебные крошки */

.crumbs.container {}

/* Копирайт */

#pun-about {}

#pun-about .container {
  text-align: center;
}

/* Основная форумная таблица
------------------------------------------*/

.main table {
  table-layout: fixed;
  width: 100%;
    border-radius: var(--rad2);
padding: 0px 9px;
    margin-top: -32px;
}

.main th {
  padding: 5px 10px;
}

.main td {
  padding: 10px;
}

.tcl {
  width: 70%;
}

.tc2,
.tc3,
.tcmod {
  text-align: center;
  width: 10%;
}

.tcr {
  width: 40%!important;
text-align: left;
}



#pun-index .tcr {padding-top: 0px!important;}
#pun-index .tclcon {width: 95%}
.tclcon {padding-top: 5px!important}

#pun-searchtopics .tcl,
#pun-modviewforum .tcl {
  width: 40%
}

#pun-searchtopics .tc2 {
  text-align: left;
  width: 20%;
}

#pun-debug table .tcl {
  width: 15%;
}

#pun-debug .tcr {
  width: 90%;
}

tbody.hasicon td.tcl {
  padding-left: 40px;
}
/* Главная страница
------------------------------------------*/

/* скрыть "форум, тем, сообщений" */

#pun-index thead, #pun-index .tc2, #pun-index .tc3 {
  display: none;
}

/* категория */

#pun-index .category {}

/* заголовок категории */

#pun-index .category h2 {font-family: var(--zagolovok);
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 44px;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    color: var(--link-hover);}

#pun-index h3 {color: var(--pun-bg);
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 9px;
width: 600px;}



#pun-index h3 a  {color: var(--pun-bg);}

#pun-index h3 a:hover  {color: var(--link-hover);}

/* левая колонка (форумы) */

#pun-index  .hasicon tr{     background: var(--sec-bg) !important;
    border-radius: 15px !important;
    display: block;
color: var(--pun-bg);
margin-bottom: 15px;
letter-spacing: 0.05em;

}

#pun-index .intd {
  display: flex;
  gap: 10px;
margin-left: -25px;
    margin-top: -10px;
width: 90%;
}

/* аватар в последнем сообщении */

#pun-index td .user-avatar a {
  display: inline-block;
  position: relative;
}

.punbb .user-avatar {margin: 1px 12px 2px 0px;}

#pun-index td .user-avatar {
vertical-align: baseline;}

#pun-index td .user-avatar .avatar-image {}

.lastpost-link {color: var(--pun-bg)!important;
text-transform: uppercase;
font-weight: bold;}
.lastpost-link:hover {color: var(--link-hover)!important;}
.lastpost {color: var(--pun-bg)}

#pun-online .tcl.action {width: 60%!important}


.post-content .spoiler-box > blockquote.visible {background: transparent!important}

.punbb .post-content .spoiler-box > div {
    position: relative;
    padding-left: 20px; 
    cursor: pointer; 
    color: var(--pun-bg); 
    background: transparent;
}

.post-content .spoiler-box {background: var(--sec-bg);
    border-radius: var(--rad-profile);
    padding: 5px;
    min-height: 22px;
border: 1px solid var(--accent1)}

/* Кружочек (добавляем через ::before) */
.punbb .post-content .spoiler-box > div::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    transform: translateY(-50%);
    width: 10px;
    height: 19px;
    background: var(--new);
    cursor: pointer;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
}

/* Для раскрытого состояния (класс visible) */
.punbb .post-content .spoiler-box > div.visible::before {
    background: var(--old)!important;
 width: 10px!important;
    height: 19px!important;
    background-size: contain!important;
}

.spoiler-box blockquote::after {
    content: none !important;
    display: none !important;
}

.post-content .spoiler-box > div.visible {
    content: none !important;
    background: none !important;

}




/* аватар */

.punbb td .user-avatar {

}

.punbb td .user-avatar .avatar-image {
filter: grayscale(1);
}

/* Иконки */

div.icon {
position: absolute;
    margin-left: -30px;
    margin-top: 6px;
    width: 15px;
    height: 15px;
    background: var(--topic-overlay) url() no-repeat top center;
    border-radius: 50%;
}

tr.inew div.icon {
  background: var(--link-hover) url() no-repeat top center;
}

tr.isticky div.icon {
  background: var(--accent1) url() no-repeat top center;
}

tr.iclosed div.icon {
  background: var(--accent2) url() no-repeat top center;
}


/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
}

.linkst {
  position: relative;
  padding: var(--pad2);
  display: flex;
  justify-content: space-between;
margin-bottom: 20px;
}

.linkst .pagelink {}

.linkst .postlink {
  text-align: right;
}

.linksb {
  position: relative;
  padding: var(--pad2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.linksb .pagelink {
  order: -1;
}

.subscribelink {
  width: 100%;
  text-align: right;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}

/* Модераторское меню, RSS, Atom */

.modmenu .container {
  padding: var(--pad3);
  text-align: right;
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
}

#topic-users-in a:not(:last-child)::after {
  content: ',';
}



/* иконки на главной */

#pun-index div.icon {
  position: relative;
  margin: 0;
  flex-shrink: 0;
background: var(--old) no-repeat top center;
width: 31px;
height: 65px;
background-size: contain;
border-radius: 0px !important;
}

#pun-index tr.inew div.icon {background: var(--new) no-repeat top center;
width: 31px;
height: 65px;
background-size: contain;}




/* Статистика */

#pun-stats {}

/* заголовок статистики */

#pun-stats h2 {display: none;}

#pun-stats  .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

/* всего тем, всего сообщений, зарегистрированных, последний зарегистрировавшийся */

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  clear: both;
    background: var(--accent2);
    padding: 5px 25px;
    border-radius: var(--rad3);
color: var(--pun-bg);
text-transform: lowercase;
}

#pun-stats li.item4 a {color: var(--pun-bg);}
#pun-stats li.item4 a:hover {color: var(--link-hover)}

/* активны, посетили за сутки */

li#onlinelist {
  margin-top: 10px;
  text-align: justify;
  width: 100%;
}

/* Шапка
------------------------------------------*/

#pun-title {}

/* скрыть заголовок в шаке */

#pun-title .title-logo {
  display: none;
}

/* содержимое шапки в html-верх */

.tablica {
width: 925px;
    height: 238px;
    position: absolute !important;
    margin-top: -232px;
margin-left: 38px;
}

.tablica::before{
content: "";
    position: absolute;
    inset: 0;
    background: var(--shapka);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}


.active {    position: absolute;
    display: flex;
    left: 223px;
gap: 5px;
}

.act1, .act2 {width: 47px;
height: 76px;
clip-path: polygon(
        0% 0%,
        100% 0%,
        100% 75%,
        50% 100%,
        0% 75%
    );}

.act1 img, .act2 img {
    width: 47px;
    height: 76px;
    object-fit: cover;
    clip-path: inherit;
filter: grayscale(1);
}

.act1::before, .act2::before {
    content: '';
    width: 47px;
    height: 76px;
    position: absolute;
    background: var(--overlay);
    clip-path: inherit;
    z-index: 2;
 pointer-events: none;
}

.episode {font-weight: bold;
    position: absolute;
    margin-left: 636px;
    width: 229px;
    margin-top: 209px;
    letter-spacing: 0.05em;
    text-align: center;
    background: var(--accent3);
    font-size: 10px;
    border-radius: var(--rad1);
line-hieght: 11px;}

.episode a {color: var(--textcolor);}
.episode a:hover {color: var(--pun-bg);}

.b-post {position: absolute;
    top: 131px;
    left: 262px;}

.b-post::after{
    content: '';
    display: block;
    width: 21px;
    height: 32px;
    background: url(https://forumstatic.ru/files/001c/ba/0d/27555.png) no-repeat top center;
    background-size: contain;
    position: absolute;
    top: -12px;
    left: 179px;
    transform: scaleX(-1);
}

.bestpost-txt {color: var(--pun-bg);
    font-size: 9px;
    line-height: 9px;}
.b-post-inner {    background: var(--accent1);
    width: 178px;
    padding: 5px;
    border-radius: 7px;}

/* Объявление
------------------------------------------*/

#pun-announcement {}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}


/* Футер
------------------------------------------*/

#html-footer {}

#html-footer .container {padding: 0;}

/* баннеры */

.banners {
     padding: var(--pad1);
    background: var(--accent2);
    border-radius: var(--rad2);
    width: 913px;
    margin-left: 28px;
    position: absolute;
    margin-top: -31px;
}

.banners a {
  opacity: .7;
}

.banners a:hover {
  opacity: 1;
}


/* Топик
------------------------------------------*/

.post {
  margin-top: 10px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

/* контейнер поста */

.post .container {
display: flex;
    flex-wrap: wrap;
    align-items: start;
gap: 4px;
}

/* дата и номер поста */

.post h3 {
  padding: var(--pad2);
font-size: 12px;
}

.post h3 a {font-weight: normal}

.post h3 span {
  display: block;
border-bottom: 1px solid var(--sec-bg);
font-weight: normal;
}

/* номер поста */

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
}

/* Автор */

.post-author {
  position: relative;
  margin: 0 0 15px;
  width: 200px;
  text-align: center;
  box-sizing: border-box;
  background: var(--sec-bg);
border-radius: var(--rad-profile);
margin-top: 25px;
}

.post-author::before  {width: 173px;
    height: 29px;
    border-top-left-radius: var(--rad2);
    border-top-right-radius: var(--rad2);
    background: var(--accent1);
    margin-left: -85px;
    margin-top: -29px;
    content: '';
    position: absolute;
    z-index: 1;}

.post-author ul {
  padding: 10px;
margin-bottom: -10px;
}

.pa-author {    font-family: var(--zagolovok);
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.05em;
    color: var(--pun-bg);
margin-top: 10px;}

.pa-author a {color: var(--pun-bg);
font-weight: normal}
.pa-author a:hover {color: var(--link-hover)}

.pa-title {letter-spacing: 0.05em;
    text-transform: lowercase;
    font-size: 11px;
    margin-bottom: 5px;}

.pa-avatar img {border-radius: var(--rad-profile);}

.lz {
  margin: 5px 0;
}

.lz-name {
  margin: 0 auto 5px;
  display: block;
font-size: 14px;
}

.lz-name a, .lz-about a {color: var(--accent1)}
.lz-name a:hover, .lz-about a:hover {color: var(--link-hover)}

.lz-about {text-align: justify;
font-size: 11px;
    width: 180px;
    margin-left: 3px;}

.pa-online {
  position: relative;
  margin: 10px auto 0;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
}

.pa-online:before {
  content: "online";
  font-weight: bold;
}

.pa-online strong {
  position: absolute;
  margin-right: -50%;
  transform: translate(-50%, 100%);
  padding: 5px 10px;
  left: 50%;
  opacity: 0;
  background: rgba(0,0,0,.7);
  box-sizing: border-box;
  white-space: nowrap;
  transition: opacity .2s linear 0s;
  pointer-events: none;
  color: var(--pun-bg);
}

 .pa-online strong::after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    position: absolute;
    z-index: 10;
    border: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    margin-left: -10px;
    left: 50%;
    border-bottom: 10px solid rgba(0,0,0,.7);
    top: -10px;
}

.pa-online:hover strong {
  opacity: 1;
}

.pa-fld2 {    width: 173px;
    height: 29px;
    border-top-left-radius: var(--rad2);
    border-top-right-radius: var(--rad2);
    background: var(--body-bg);
    margin-left: 4px;
    margin-top: -39px;
position: relative;
z-index: 2;}

.pa-fld2 img[src=""],
.pa-fld2 img:not([src]) {
    content: var(--profile-bg-img);
}

.pa-fld2 img {
    width: 100%;
    height: 100%;
border-top-left-radius: var(--rad2);
border-top-right-radius: var(--rad2);
    object-fit: cover;
}


.pa-fld1 {}

.pa-fld3 {}

.pa-fld4 {
    height: 40px;
    color: var(--sec-bg);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: lowercase;
}

.plashka img {
    position: absolute;
    z-index: 1;
    height: 40px;
    width: 200px;
    object-fit: contain;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.plashka img[src=""],
.plashka img:not([src]) {
    content: var(--plashka-img);
}

.plashka {
    width: 200px;
    height: 40px;
    margin-left: -10px;
    inset: 0;
    display: flex;
    align-items: center;    
    justify-content: center; 
    text-align: center;
    word-break: break-word;     
color: var(--dark-accent);
position: relative;
}

.plashka span {    position: relative;
    z-index: 2;
    color: var(--pun-bg);
    font-size: 9px;}

.plashka a {font-weight: normal}


.pa-posts,
.pa-respect, .pa-fld1 {
    display: inline-block;
    margin-left: 5px;
}

.pa-posts .fld-name,
.pa-respect .fld-name, .pa-fld1 .fld-name  {
    display: block;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    background: var(--link-hover);
    padding: 1px;
    border-radius: 2px;
margin-bottom: 5px;
}

.pa-posts,
.pa-respect, .pa-fld1 {    font-size: 10px!important;
    letter-spacing: 0.05em!important;
padding-bottom: 5px;
    padding-top: 5px;}

.pa-respect .fld-name a {color: var(--textcolor);
font-weight: normal;}

/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth));
margin: 0 10px;
}

.post-box {
  padding: 0 0 10px 10px;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
    padding-top: 5px;
}

.post-links ul a {font-weight: normal;
font-size: 12px;}

.post-links li {
  display: inline;
}

.post-links li:not(:first-of-type) {
  padding-left: 10px;
}

.pl-email,
.pl-website {
  float: left;
}

.clearer {
  clear: both;
  height: 0;
  font-size: 0;
}


/* Контент поста - цитата, спойлер, таблицы и т.п. */

.punbb .post td {
  border: 0px transparent !important;
}

pre {
  font: 12px/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
padding-left: 15px;
}

.post-content em {
  font-style: italic;
}

.post .post-content td {
  border-width: 0px !important;
}

.post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.post-content p {
  margin: 0;
  padding: 0 0 12px 10px;
  line-height: 150%;
  text-align: justify;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  height: fit-content!important;
padding-bottom: 5px;
}

/* цитата и код */

.quote-box
{  margin: 4px 10px 10px;
position: relative;
}

.code-box {
    border-radius: var(--rad-profile);
    padding: 5px;
    background: var(--topic-overlay);
    color: var(--pun-bg);
    margin: 4px 10px 10px;
}

.code-box a {color: var(--textcolor)}
.code-box a:hover {color: var(--link)}

.quote-box blockquote {    padding: 10px;
    background: var(--accent1);
    color: var(--pun-bg);
    border-radius: var(--rad-profile);
border: 1px solid var(--pun-bg);}

.spoiler-box blockquote {border: none!important;}

.quote-box cite {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  font-style: normal;
color: var(--accent1);
    margin-left: 25px;
}

.quote-box cite a {color: var(--accent1);}
.quote-box cite a:hover {color: var(--link-hover);}

.quote-box:has(cite) blockquote::after{
    content: '';
    display: block;
    width: 21px;
    height: 32px;
    background: url(https://forumstatic.ru/files/001c/ba/0d/27555.png) no-repeat top center;
    background-size: contain;
    position: absolute;
top: 8px;
    left: -9px;
}

.code-box strong.legend {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
margin-left: 15px;
  font-style: normal;
}



.post-sig dt {
  border-bottom: 1px solid var(--link-hover);
  width: 300px;
  margin: 10px auto;
}

.punbb .reactions-root {
  padding: 0 0 10px;
margin-top: -42px;

}

.punbb .reactions-container {
  position: relative;
justify-content: flex-end;
    padding-right: 10px;
}

.punbb .reaction-picker {
  order: 1;
}

.punbb .reaction-picker-panel {
  right: 0;
}

/* Форма ответа */

#main-reply {
  box-sizing: border-box;
background: var(--pun-bg);
    border-radius: var(--rad-profile);
    border: 1px solid var(--sec-bg);
padding: 10px;
text-transform: none;
font-size: 13px;
}

#tags {
  position: relative;
margin-bottom: 7px!important;
}

#tags .container {
  padding: var(--pad3) !important;
  top: 0 !important;
  max-height: 300px;
  overflow: auto;
}


/* Профиль + ЛС
------------------------------------------*/

#pun-profile h1 {
  display: none;
}

#profile .container {
  padding-left: 200px;
  min-height: 100px;
}

#viewprofile tr { 
    display: flex;
    gap: 40px;
margin-top: 20px;
}

#profilenav {
  float: left;
  width: 180px;
  margin-left: -180px;
}

#viewprofile h2, #profilenav h2 {padding: 0;
    margin: 0;
    background: var(--sec-bg);
    border-radius: var(--rad-profile);
    margin: 5px 15px!important;
    color: var(--pun-bg);
    text-transform: lowercase;
    font-size: 12px;
    font-weight: normal;}

#profilenav li {
  padding: 0 0 5px;
}

#viewprofile li {
  padding: 5px 0;
}

#viewprofile td#profile-left {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    background: var(--topic-overlay);
    padding: 10px 15px;
    border-radius: 10px;
}

#profile-name {
    font-size: 16px;
        letter-spacing: 0.1em;
font-weight: 700;
    text-align: center;
color: var(--link);
    text-transform: lowercase;
}

#viewprofile td#profile-right {
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
    box-sizing: border-box;
    gap: 10px;
    flex-direction: row;
padding-left: 20px;
}

#profile-right li {
  display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: center;
    gap: 10px;
    text-align: center;
    background: var(--topic-overlay);
    padding: 0 5px;
    border-radius: 10px;
}

#profile-right li span {
    flex-shrink: 1;
    text-align: center;
}

#profile-right li .lz-name a, #profile-right li .lz-about a {color: var(--accent1);!important}

#profile-right li a {color: var(--pun-bg);}
#profile-right li a:hover {color: var(--accent1);}

#profile-left li strong, #profile-right li strong {
  font-weight: normal !important;
  padding-left: 0 !important;
text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

#profile-left #profile-name {font-family: var(--zagolovok);
    margin-bottom: -5px;
color: var(--accent1);}

img.avatardemo {
  float: right;
  margin: 0 0 8px 18px;
}

#pun-messages .clearer {
  display: none;
}

/* Прочие страницы
------------------------------------------*/

/* Список пользователей */

#pun-userlist .formal,
#pun-userlist .formal .container {
  margin-bottom: 0;
}

#pun-userlist .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .tcl {
  width: 40%
}

.usertable .container {}

/* Собщения об ошибках */

.info .container {
  padding: var(--pad3);
}

.info .container .backlink {
  padding-top: 8px;
}

/* Регистрация */

.info-box {
  margin: 0 0 10px 0;
}

.info-box * {
  padding: 0 0 5px 0;
}

.info-box .legend {
  font-weight: bold;
}

.jGrowl-notification .jGrowl-close {
  position: relative;
  right: 6px;
}

.tipsy #respect figcaption {
  margin-top: 0;
}

/* Кнопки вверх-вниз
-------------------------------------------------------*/

.go-up,
.go-down {
  cursor: pointer;
  opacity: .5;
  z-index: 9999;
  display: none;
  position: fixed;
  margin-left: 1010px !important;
  box-sizing: border-box;
  transition: all .3s linear 0s;
width: 35px;
height: 35px;
}

.go-up {
  top: 220px;
background: var(--up) no-repeat;
background-size: contain;
}

.go-down {
  top: 260px;
background: var(--down) no-repeat;
background-size: contain;
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}

/* Form Buttons © max, the murderer!
----------------------------------------------------------------------- */

/* General */

#form-buttons table {
    width: 100% !important;
background: var(--pun-bg);
}

#form-buttons table tr {
    display: flex;
    justify-content: space-between; /* выравнивание кнопок в ряду */
    gap: 4px;
    margin-bottom: 4px;
margin-top: 20px;
}

#form-buttons td {
    position: relative;
    background: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* ширина кнопки */
    height: 24px; /* высота кнопки */
}

#form-buttons td::before {
    font-family: var(--fa);
    font-size: 16px; /* размер иконки */
    font-weight: 400; /* стиль иконки */
    position: absolute;
    color: var(--link);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

#form-buttons td:hover::before {
    color: var(--link-hover); /* цвет при наведении */
}


/* Icons */

#button-font::before {
    content: '\f031';
}

#button-size::before {
    content: '\f894';
}

#button-bold::before {
    content: '\f032';
}

#button-italic::before {
    content: '\f033';
}

#button-underline::before {
    content: '\f0cd';
}

#button-strike::before {
    content: '\f0cc';
}

#button-left::before {
    content: '\f036';
}

#button-right::before {
    content: '\f038';
}

#button-center::before {
    content: '\f037';
}

#button-link::before {
    content: '\f0c1';
}

#button-spoiler::before {
    content: '\f518';
}

#button-image::before {
    content: '\f302';
}

#button-video::before {
    content: '\f144';
}

#button-hide::before {
    content: '\f30d';
}

#button-quote::before {
    content: '\f27a';
}

#button-code::before {
    content: '\f121';
}

#button-color::before {
    content: '\f53f';
}

#button-table::before {
    content: '\f009';
}

#button-smile::before {
    content: '\f118';
}

#button-keyboard::before {
    content: '\f11c';
}

#button-addition::before {
    content: '\f0d7';
}

#form-buttons td#button-files_rusff::before {
    content: '\f07b';
}

#form-buttons td#button-graffiti_rusff::before {
    content: '\f5bd';
}

#button-transL::before {
    content: '\f891';
}

#button-indent::before {
    content: '\f878';
}

#button-justify::before {
    content: '\f039';
}

#floatbut::before {
    content: '\f03c';
}

#form-buttons #button-image ~ #button-image::before {
    content: '\f03e' !important;
}

#button-mask::before {
    content: '\f630';
}


/* Рейтинг поста */

body div.post-rating,
body div.post-vote {
  float: right;
  position: relative;
  line-height: initial;
margin-right: 10px;
}

body div.post-rating p,
body div.post-vote p {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

div .post-rating p > a {
  position: absolute;
  top: -1px;
  left: -2px;
  width: 100%;
  height: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 11px/100% verdana, arial, sans-serif !important;
  color: var(--link);
}

div.post-vote p > a {
  font-size: 0 !important;
}

div .post-rating p::before, div .post-vote p a::before {
  content: '\f004';
  font-family: var(--fa);
  font-weight: 700;
  font-size: 30px;
  line-height: 100%;
  color: var(--accent1);
  transition: all .2s linear 0s;
  text-stroke: 1px var(--link);
}

div .post-vote p a:before {
  content: '\f075';
}

div .post-rating p:hover:before,
div .post-vote p:hover a:before {
  color: var(--link);
}

div .post-rating p:hover > a,
div .mylike .post-rating p > a {
  color: var(--pun-bg);
}

div .mylike .post-rating p:before {
  color: var(--link);
}

.post[data-group-id="3"] .post-rating {
  display: none;
}

.isguest .post .post-rating {
  pointer-events: none;
}