@import url(style_cs.1775509113.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");

/*шрифты*/
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap'); /*Nunito Sans*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Awesome Shorten Serif'; src: local('Awesome Shorten Serif'),  url('https://forumstatic.ru/files/001c/af/1c/44412.ttf') format('truetype');}


/* Основные переменные
------------------------------------------*/

:root {
  --body-bg: #818393; /* цвет фона*/
  --pun-bg: #f0f0f0; /*цвет внутреннего тела*/
--colorcategor: #f0f0f0; /*цвет внутри категории*/
  --sec-bg: #e3e3e3;
--color1: #626262;
--color2: #909496;
  --link: #64687c;
  --link-hover: #3b3d4a;
--link2: #6a604c;
--colorprof: #f6f6f6;
--profile: #eaeaea;
--obvprofile: #d9d9d9;
--colortext: #0b0a0a;
--coloruved: #717373;
--coiorcicat: #e1dede;
--text-color: #8a8ea0;
  --pwidth: 240px;
  --pad1: 10px 20px;
  --pad2: 5px 20px;
  --pad3: 5px 10px;
  --msr: "Arimo"; /*шрифт*/
--msr1: "Nunito Sans", sans-serif;
 --msr2: "Roboto";
--msr3: 'Awesome Shorten Serif', sans-serif;
  --fa: "Font Awesome 6 Pro", "Font Awesome 6 Brands";
--shapka: url(https://forumstatic.ru/files/001c/af/1c/19954.png); /*картинка шапки*/
--color-navig: #ffffff; /*цвет навигации в спокойном состоянии*/
--color-soo: #353535; /*цвет верхних сообщений в спокойном состоянии*/
--categoria: url(https://forumstatic.ru/files/001c/ab/7c/49694.png); /* картинка в категорию */
--newsoo: url(https://forumstatic.ru/files/001c/af/1c/52010.png); /*новое сообещние*/
--oldsoo: url(https://forumstatic.ru/files/001c/af/1c/52841.png); /*старое*/
--up: url(https://forumstatic.ru/files/001c/af/1c/29393.png); /*кнопка вверх*/
--down: url(https://forumstatic.ru/files/001c/af/1c/29393.png); /*кнопка вниз*/
--gostevaya: url(https://forumstatic.ru/files/001c/ab/7c/65904.jpg); /*шапка гостевой*/
--texturgost: url(https://forumstatic.ru/files/001c/ab/7c/93264.png); /*текстура на гостевую*/
--footer: url(https://forumstatic.ru/files/001c/af/1c/18149.png); /*картинка футера*/
--kop: url(https://forumstatic.ru/files/001c/af/1c/88224.png) no-repeat center / cover;
--menunav:url(https://forumstatic.ru/files/001c/af/1c/71701.jpg) repeat center / cover;

} 

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.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;
}


/* 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: color .2s linear;
}

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;
}

/* выключить список модераторов, отредактировано etc */

.modlist,
.lastedit,
.punbb .topic a.sharelink {
  display: none;
}
.punbb div#pun-live-rusff{
 display: block !important;
}
/* модальные окна, репутация, закладки 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);
}

/* Формы
------------------------------------------- */

/* ОФОРМЛЕНИЕ КНОПОК */

/* 1. Оформление самих кнопок */
input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"] {
  padding: 1px 7px !important;       /* Твой размер */
  border: 1px solid var(--link-hover);
  border-radius: 7px;
  background-color: var(--profile);
  color: var(--colortext);
  cursor: pointer;
  font-size: 12px;                   /* Чтобы текст помещался в маленькую кнопку */
  transition: all .2s linear 0s;
  
  /* Важно для правильного центрирования */
  display: inline-block !important;
  float: none !important;
  margin: 0 3px !important;
}

/* Эффект при наведении */
input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: var(--link-hover);
  color: var(--colortext);
}

/* 2. Центрирование кнопок в формах (Ответ, Профиль, Регистрация) */
.formsubmit, 
.submitfield {
  text-align: center !important;
  float: none !important;
  clear: both;
}

/* 3. Исправление меню модерирования (чтобы НЕ уезжало) */
.modmenu .container {
  text-align: left !important;      /* Кнопка "ОК" будет справа */
  display: block !important;
}

.modmenu .container strong {
  float: left !important;            /* Надпись "Модерирование" вернется налево */
}



input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
  border: 1px solid var(--link-hover);
}

textarea,
input,
select,
optgroup {
  font: normal 400 12px var(--msr);
  color: var(--colortext);
}

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: 10px 0 0 0;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: bold;
}

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 #pun-navlinks {
    position: relative;
    top: -102px;
    width: 1018px;
    margin: 0 auto;
    z-index: 10;
}

.punbb-admin #pun-navlinks .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    max-width: 751px;
    margin: 0 auto;
    text-transform: uppercase;
    font: italic 800 12px var(--msr);
}

.punbb-admin #pun-navlinks ul {
    display: flex;
    align-items: center;
    width: 100%;
}

.punbb-admin #pun-navlinks li {
    list-style: none;
}

.punbb-admin #pun-navlinks li a {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--color-navig);
}

/* правый блок */
.punbb-admin #navprofile,
.punbb-admin #navregister {
    margin-left: auto;
}

.punbb-admin #navlogin {
    margin-left: 10px;
}

/* ===== НИЖНЕЕ МЕНЮ ===== */

.punbb-admin #pun-ulinks {
    position: relative;
    top: -66px;
    width: 1018px;
    margin: 0 auto;
    text-align: center;
}

.punbb-admin #pun-ulinks .container {
    text-transform: lowercase;
    font: normal 400 10px var(--msr);
}

.punbb-admin #pun-ulinks li {
    display: inline;
    padding: 0 5px;
}

/* Тело форума
------------------------------------------*/

/* фон */

html {
  background: var(--body-bg);
}


/* тело */

#pun {
  margin: 40px auto;
  width: 1018px;
  background: var(--pun-bg);
padding-top: 5px;
border: 1px solid;
}

/* внутреннее тело */

.punbb {
  font: 11px Arial, Verdana;
text-transform: lowercase;
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
color: var(--colortext);

}

/* Навигационные ссылки */

/* ===== КОНТЕЙНЕР ===== */
#pun-navlinks {
  position: relative;
  top: -102px; /* ТВОЙ СДВИГ */
}

/* ===== МЕНЮ ===== */
#pun-navlinks .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  max-width: 751px;
  margin: 0 auto;
  text-transform: uppercase;
  font: italic 800 12px var(--msr);
}

/* УБИРАЕМ ХВОСТ */
#pun-navlinks .container:after {
  display: none;
}

/* СПИСОК */
#pun-navlinks ul {
  display: flex;
  align-items: center;
  width: 100%;
}

/* ПУНКТЫ */
#pun-navlinks li {
  list-style: none;
}

/* ССЫЛКИ */
#pun-navlinks li a {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--color-navig);
  transition: background .2s ease, color .2s ease;
}

/* ===== ЯКОРЬ ДЛЯ ВСЕХ ГРУПП ===== */
#navprofile,
#navregister {
  margin-left: auto;
}

/* ЧТОБ НЕ ПРИЛИПАЛО */
#navlogin {
  margin-left: 10px;
}

/* ЛЕВАЯ ПОДГОНКА */
#navindex {
  margin-left: -31px;
}

/* ===== АДМИН ВПРАВО (К КРАЮ) ===== */
#navadmin {
  position: absolute;
  top: 7px;           /* регулируешь вверх/вниз */
  right: 20px;     /* &#8592; двигаешь к краю, как на скрине */
  z-index: 10;
}



/* hover */

#pun-navlinks li a:hover {
    color:var(--color1);
}


/* Пользовательские ссылки */

#pun-ulinks {
position: relative;
    top: -66px;
margin: 0px 41px 0 0;
}

#pun-ulinks a{
color: var(--color-soo);
}

#pun-ulinks a:hover{
    color: #592e2e;
}

#pun-ulinks .container {
text-transform: lowercase;
text-align: center;
font: normal 400 10px var(--msr);
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

/* Статус */

#pun-status {
    margin-top: -45px;
}

#pun-status span {
  white-space: nowrap;
  margin-right: 5px;
}

.punbb #pun-status .status-right {
/*  float: none; */
}

/* Хлебные крошки */

.crumbs.container {}

/* Копирайт */

#pun-about {}

#pun-about .container {
  text-align: center;
    font-size: 9px;
}


/* Основная форумная таблица
------------------------------------------*/

.main table {
  table-layout: fixed;
  width: 100%;
}

.main th {
  padding: 5px 10px;
}

.main td {
  padding: 10px;
}

.tcl {
  width: 50%;
}

.tc2,
.tc3,
.tcmod {
  text-align: center;
  width: 10%;
}

.tcr {
  width: 30%;
}

#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: 56px;
}

/* аватар */

.punbb td .user-avatar {

}

.punbb td .user-avatar .avatar-image {

}

/* Иконки */

div.icon {
  position: absolute;
  width: 43px;
  height: 43px;
  background: var(--oldsoo) no-repeat top center;
}

tr.inew div.icon {
  background: var(--newsoo) no-repeat top center;
}

tr.isticky div.icon {
  background: var(--oldsoo) no-repeat top center;
}

tr.iclosed div.icon {
  background: var(--newsoo) no-repeat top center;
}


/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
}

.linkst {
  position: relative;
  padding: var(--pad2);
  display: flex;
  justify-content: space-between;
}

.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;
    margin-top: 25px;
}

.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;
}

/* Главная страница
------------------------------------------*/

/* скрыть "форум, тем, сообщений" */

#pun-index thead {
  display: none;
}


/* категории */
#pun-index .category {
  width: 962px;
  background: var(--colorcategor);
  border: rgb(0 0 0 / 49%) 1px solid;
  margin: 10px auto 40px auto;
  position: relative;
}

/* база */
#pun-index .category::before {
  content: "";
  position: absolute;
  width: 973px;
  height: 56px;

  background-repeat: no-repeat;
  background-size: cover;

  pointer-events: none;
}

/* --- ПЕРВАЯ КАТЕГОРИЯ --- */
#pun-index .category:first-of-type::before {
  background-image: url(https://forumstatic.ru/files/001c/af/1c/58131.png);
top: -34px;
    left: -8px;
}

/* --- ВСЕ ОСТАЛЬНЫЕ --- */
#pun-index .category:not(:first-of-type)::before {
  top: -32px;   /* общая настройка */
  left: -9px;
}

/* картинки для остальных */
#pun-index .category:nth-of-type(2)::before {
  background-image: url(https://forumstatic.ru/files/001c/af/1c/51863.png);
}

#pun-index .category:nth-of-type(3)::before {
  background-image: url(https://forumstatic.ru/files/001c/af/1c/63982.png);
}

#pun-index .category:nth-of-type(4)::before {
  background-image: url(https://forumstatic.ru/files/001c/af/1c/19060.png);
}

#pun-index .category:nth-of-type(5)::before {
  background-image: url(https://forumstatic.ru/files/001c/af/1c/83004.png);
}

#pun-index .category:nth-of-type(6)::before {
  background-image: url(https://forumstatic.ru/files/001c/af/1c/31847.png);
}

#pun-index .category .container {
  margin-top: 37px;
}


/* --- СТАТИСТИКА --- */
#pun-stats {
  width: 962px;
  margin: 10px auto 40px auto;
  position: relative;
}

#pun-stats::before {
  content: "";
  position: absolute;

  top: -32px;
  left: -9px;

  width: 973px;
  height: 56px;

  background: url(https://forumstatic.ru/files/001c/af/1c/68580.png) no-repeat;
  background-size: cover;

  pointer-events: none;
}

/* заголовок категории */

#pun-index .category h2 {
display:none;
}

/* левая колонка (форумы) */

#pun-index tbody.hasicon td.tcl {
  padding: 10px;
}

#pun-index .intd {
  display: flex;
  gap: 10px;
    align-items: center;
}

/* иконки на главной */

#pun-index div.icon {
  position: relative;
  flex-shrink: 0;
margin-left: 15px !important;
    margin-right: 15px;
}

#pun-index .inew div.icon {}


/* аватар в последнем сообщении */

#pun-index td .user-avatar a {
  display: inline-block;
  position: relative;
}

#pun-index td .user-avatar {}

#pun-index td .user-avatar .avatar-image {}

/* Статистика */

#pun-stats {}

/* заголовок статистики */

#pun-stats h2 {}

#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 {

}

/* активны, посетили за сутки */

li#onlinelist {
  margin-top: 10px;
  text-align: justify;
  width: 100%;
}

/* Шапка
------------------------------------------*/

#pun-title {
width: 1024px;
    height: 473px;
    background: var(--shapka);
    margin: -21px 0 0 -3px;
}

/* скрыть заголовок в шаке */

#pun-title .title-logo {
  display: none;
}

/* содержимое шапки в html-верх */
.tablica {

}


/* ===== РАСПОЛОЖЕНИЕ ===== */


/* ===== ТЕКСТ ===== */

.post-title,
.admin-title,
.couple-title,
.flood-title,
.episode-title {
  font-size: 10px;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  margin-bottom: 5px;
}

.post-list,
.admin-list,
.couple-text,
.flood-text,
.episode-text {
  font-size: 9px;
  line-height: 1.4;
}

.like-icon {
  color: #2a2a2a;
}

/* Объявление
------------------------------------------*/

#pun-announcement {}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}


/* Футер
------------------------------------------*/

#html-footer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

#html-footer .container {
  width: 1018px;
  height: 95px;
  padding: 0;
  background: url("https://forumstatic.ru/files/001c/af/1c/47689.png") no-repeat center bottom;
background-position: center -8px
}

/* баннеры */

.banners {
  padding: var(--pad1);
}

.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;
}

/* дата и номер поста */

.post h3 {
  padding: var(--pad2);
}

.post h3 span {
  display: block;
}

/* номер поста */

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
}

/* Автор */

.post-author {
position: relative;
    margin: 0 0 40px 0;
    width: var(--pwidth);
    text-align: center;
    box-sizing: border-box;
    padding: 10px;
    z-index: 0;
}

.post-author ul {
padding: 10px 10px 9px 10px;
    background: var(--colorcategor);
    margin: 10px -10px -10px 10px;
}

.pa-author a {
    font: italic 700 14px var(--msr);
}

.pa-title {
    font: italic 700 9px/1.25 var(--msr);
    letter-spacing: 0.015em;
    margin: 7px;
    color: var(--color2);
}




.lz {
    margin: 10px 0;
}

.lz .name {
    margin: 0 auto 5px;
    display: block;
}

.pa-posts,
.pa-respect {
    display: inline-block;
    margin: 0 10px 5px;
}

.pa-posts .fld-name,
.pa-respect .fld-name {
    display: block;
    margin: 8px -7px;
    font: italic 400 9px var(--msr);
}

.pa-posts .fld-name:before,
.pa-respect .fld-name:before,
.pa-respect .fld-name a:before {
    content: none !important;
    display: none !important;
}

.pa-posts,
.pa-respect {
    color: var(--color2);
font-style: italic;
}

/* ссылка "репутация" как обычный текст */
.pa-respect a {
    color: inherit;
    text-decoration: none;
    font: italic 400 9px var(--msr);
}

.pa-respect a:hover {
    color: inherit;
    text-decoration: none;
}


.pa-awards {
    display: none;
}

/* Выносим стандартный статус онлайн за пределы рамки */
.post-author .pa-online {
    display: block !important;
    position: absolute;
    bottom: 6px; /* Регулируй этот отступ от рамки */
    left: 0;
    right: 0;
    text-align: center;
    font: italic 600 10px var(--msr);
    color: #bca99d;
    text-transform: lowercase;
}


/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth));
}

.post-box {
  padding: 0 0 10px 10px;
text-transform: none !important;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
text-transform: lowercase;
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
}

.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;
}

.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 0;
  line-height: 150%;
  text-align: justify;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 200px;
}

/* цитата и код */

.quote-box,
.code-box {
   margin: 4px 10px 10px;
   padding: 5px;
   border: 1px solid #3b3d4a4d;
   box-shadow: inset 0 0 9px 0px rgb(129 131 147 / 47%);
   background: var(--pun-bg);

   position: relative;
   margin-top: 20px;
}

.quote-box cite,
.code-box .legend {
  position: absolute;
  top: -19px;
  left: 12px;
  background: var(--body-bg); /* или pun-bg если хочешь аккуратно */
  padding: 3px 10px;
  border: 1px solid #3b3d4a4d;
  border-bottom: none;
  font-size: 10px;
  font-weight: bold;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.quote-box cite .qc-post-link,
.code-box .legend a {
  color: var(--coiorcicat) !important;
}

.post-sig dt {
  border-bottom: 1px solid var(--link-hover);
  width: 300px;
  margin: 10px auto;
}

.punbb .reactions-root {
  padding: 0 0 10px;
}

.punbb .reactions-container {
  position: relative;
  justify-content: flex-end;
}

.punbb .reaction-picker {
  order: 1;
display: none;
}

.punbb .reaction-picker-panel {
  right: 0;
}

/* Форма ответа */

#main-reply {
  box-sizing: border-box;
}

#tags {
  position: relative;
}

#tags .container {
  padding: var(--pad3) !important;
  top: 0 !important;
  max-height: 300px;
  overflow: auto;
}


/* Профиль + ЛС
------------------------------------------*/

#profile .container {
  padding-left: 200px;
  min-height: 100px;
}

#profilenav {
  float: left;
  width: 180px;
  margin-left: -180px;
}

#viewprofile h2,
#profilenav h2 {
  padding: 0;
  margin: 0;
}

#profilenav li {
  padding: 0 0 5px;
}

#viewprofile li {
  padding: 5px 0;
}

#profile-right li {
  display: flex;
  justify-content: center;
}

#profile-right li span {
  /*width: 150px;*/
  flex-shrink: 0;
}

#profile-left li strong, #profile-right li strong {
  font-weight: normal !important;
}

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 {
  display: none;
  position: fixed;
  z-index: 9999;
  cursor: pointer;
  width: 56px;  /* чуть увеличил под твои картинки-звезды */
  height: 56px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  
  /* Привязка к боку тела форума */
  left: 50%;
  margin-left: 515px; /* Регулируй этот параметр, чтобы кнопки не налезали на рамку */
  
  /* Центровка по вертикали экрана */
  top: 50%;
}

.go-up {
  /* Поднимаем от центра на 30px вверх */
  margin-top: -60px; 
  background-image: var(--up) !important;
}

.go-down {
  /* Опускаем от центра на 5px вниз — так они будут близко */
  margin-top: 5px; 
  background-image: var(--down) !important;
}

/* Ховер-эффект, чтобы кнопка "оживала" */
.go-up:hover, .go-down:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
  transition: 0.2s;
}

/* Если экран узкий — прижимаем к самому краю */
@media screen and (max-width: 1150px) {
  .go-up, .go-down {
    left: auto;
    right: 10px;
    margin-left: 0;
  }
}
/* Form Buttons © max, the murderer!
----------------------------------------------------------------------- */

/* General */

#form-buttons table {
    width: 100% !important;
}

#form-buttons table tr {
    display: flex;
    justify-content: space-between; /* выравнивание кнопок в ряду */
    gap: 4px;
    margin-bottom: 4px;
}

#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-sticker::before {
    content: '\f1b0';
}


#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-float::before {
    content: '\f03b';
}





/* БыстроПлюсы для Топика */
.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}
div .post-rating p>a {
  text-align: center;
  outline: 1px solid transparent;
  font-weight: 700;
  background: url(https://forumstatic.ru/files/001b/a6/d4/26514.svg) no-repeat center;
  background-size: 38px auto;
  position: relative;
  padding-left: 1px;
  z-index: 100;
  width: 38px;
  height: 38px;
  text-align: center;
  font-size: 12px !important;
  display: inline-block;
  vertical-align: middle;
  line-height: 34px;
  letter-spacing: -1px;
}
div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}
div.post-vote {
    margin-bottom: 65px;
}
div.post-vote p>a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  z-index: 200;
  width: 23px;
  height: 23px;
  background: url(https://forumstatic.ru/files/0012/d8/04/75043.png?) no-repeat;
  display: block;
  background-size: 100%;
  margin-left: 29px;
  margin-top: 42px;
}
.post.dark-style div.post-vote p>a {
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}

.tipsy-inner{
background-color: var(--color2)  !important;
}

.tipsy-se .tipsy-arrow {
    left: auto !important;
    right: 7px !important;
    border-color: var(--color2) transparent transparent transparent !important;
}

