@import url(style_cs.1762631444.css);

/* Иконический шрифт */
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');

/* 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=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/****************************************
Чистый стиль 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 {
--pun-bg: #ede8e0; /*main neutral background (warm beige tone)*/
--sec-bg: #f9f7f0; /*secondary light background*/
--link: #827F7F; /*link color (muted gray)*/
--link-hover: #443232; /*link hover (dark warm brown)*/
--main-acc: #130501; /*main accent (very dark brown, almost black)*/
--add-acc: #dfd3c8; /*additional accent (pale beige)*/
--adm-c: #3E3333; /*admin color (deep neutral brown)*/

--pwidth: 244px; /*panel width*/
--fwidth: 950px; /*forum width*/
--bradius: 8px; /*border radius*/

--bg-cat: url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762099411/%D0%BA%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F2_2_hfc4r7.png) no-repeat; /*category section background*/

--pad1: 10px 30px; /*large padding*/
--pad2: 10px 20px; /*medium padding*/
--pad3: 5px 10px; /*small padding*/

--font-family: "Manrope", sans-serif; /*main sans-serif font*/
--second-family: "PT Serif", serif; /*secondary serif font*/
--fa: "Font Awesome 6 Pro", "Font Awesome 6 Brands"; /*icon font set*/

--overlay: rgba(245,243,238,.86); /*translucent overlay (warm light tone)*/
--accent: #7c5c2c; /*golden-brown accent*/
}

/* 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%;
  /*scrollbar-width: thin;
  scrollbar-color: var(--link-hover) var(--sec-bg);*/
}

/* Прокрутка хром etc */

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius: var(--bradius);
}

*::-webkit-scrollbar-track {
  background-color: var(--sec-bg);
  border-radius: var(--bradius);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--link-hover);
  border-radius: var(--bradius);
}

*::-webkit-scrollbar-thumb:active {
  background: var(--link-hover);
  border-radius: var(--bradius);
}

/* Выделение текста */

::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;
}

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: 0px 20px;
  font-weight: normal;
  text-align: center;
  font-size:11px;
}

ul,
dl,
li,
dd,
dt {
  list-style: none;
}

address,
em {
  font-style: normal;
}

.subforums {
  display: none !important;
}


/* выключить список модераторов, отредактировано 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: 10px;
    cursor: pointer;
    transition: all .2s linear 0s;
    background: var(--main-acc);
    border-radius: var(--bradius);
    color: var(--pun-bg);
    text-transform: lowercase;
    font-weight: 600;
    font-family: var(--font-family);
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: var(--link-hover);
}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
    padding: 2px 5px;
    border-radius: var(--bradius);
    background: var(--sec-bg);
    color: var(--main-acc);
    font-family: var(--font-family);
    font-weight: 500;
}

select#mod-options {
    text-transform:lowercase;
}

textarea,
input,
select,
optgroup {
  font-size: 12px;
}

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;
  text-align: left;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: regular;
}

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: 11px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

.hashelp {
  position: relative;
}

/* Админка
------------------------------------------*/

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}

.punbb-admin sup.new {
display: none;
}

/* Тело форума
------------------------------------------*/

/* фон */

html {
  background: var(--link) 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: url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762457296/%D1%84%D0%BE%D0%BD4_r7r3ui.jpg)
  no-repeat top center/cover;
   filter: sepia(100%) hue-rotate(-20deg) saturate(80%);
}

/* тело */

#pun {
  margin: 30px auto;
  width: var(--fwidth);
  background: var(--pun-bg);
}

/* внутреннее тело */

.punbb {
  font: 12px Arial, Verdana;
    display: flex;
    flex-direction: column;
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
}

/* Навигационные ссылки */

#pun-navlinks {
    order: -1;
    background-image: url("https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762014940/CFVGBHNJMK_L_kjghtc.png");
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
}

#pun-navlinks a {
  color: white;
}

#pun-navlinks a:hover {
    color: var(--link);
    font-weight: 900;
}

#pun-navlinks .container {
  text-align: center;
}

#pun-navlinks li {
  padding: 0 5px;
  display: inline;
}

/* Пользовательские ссылки */

#pun-ulinks {
    font-family: var(--font-family);
    font-size: 11px;
    text-transform: lowercase;
    margin-bottom: 5px;
    transform: translateY(-30px);
}

#pun-ulinks li::before {
    content: '';
    margin-right: 5px;
color:var(--link);

}

#pun-ulinks .container {
  text-align: center;
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

/* Статус */

/* Форум-контейнер */
#pun-wrap {
  position: relative; 
  max-width:var(--fwidth);
  margin: 0 auto;    
  padding-top: 20px;  
}

/* Статус */
#pun-status {
  position: absolute;
  top: 0;             /* отступ сверху */
  left: 0;
  right: 0;           /* растягиваем на всю ширину родителя */
  text-align: center; /* центрируем содержимое */
  z-index: 15;
  font-family: var(--font-family);
  text-transform: lowercase;
  font-size: 11px;
  color: var(--add-acc);
}

/* Внутренний контейнер для элементов статуса */
#pun-status .container {
  display: inline-flex;       /* inline-flex, чтобы центрировать содержимое */
  justify-content: center;    /* по центру */
  gap: 5px;                   /* расстояние между элементами */
  line-height: 11px;
  font-family: var(--font-family);
  font-size: 9px;
}

#pun-status span {
  white-space: nowrap;
}

#pun-status .status-right {
  display: none;
}

/* Хлебные крошки */

#pun-crumbs1 {
    height: auto;     
    padding: 0;        
    margin: 0;         
    line-height: 0;
    font-size: 0;
}

#pun-crumbs1 p.container.crumbs {
    transform: none;    
    margin: 0;        
    padding: 0;        
    line-height: 1;
    font-size: 11px;
}

#pun-crumbs2 .container { border-bottom: none; padding: 0px; color: var(--main-acc); font-size: 11px; font-family: var(--font-family); }

.crumbs.container {
    text-align: center;
    font-family: var(--font-family);
    font-size: 11px;
    text-transform: lowercase;
}

/* статы */

#pun-about {
    height: 40px;
    background: transparent !important;
    background-blend-mode: exclusion;
}

#pun-about .container {
  text-align: center;
  color: var(--main-acc);
  font-size: 10px;
  font-family: var(--font-family);
  text-transform:lowercase
}


/* Главная форумная таблица
------------------------------------------*/

.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: 40px;
}

#pun-index .hasicon td.tcl {
  padding-left: 24px;
  width: 60%;
}

/* аватар */

.punbb td .user-avatar, #pun-index td .user-avatar {
}

#pun-index td .user-avatar {
    float: right;
    margin: 0 0 0 12px;
}

.punbb td .user-avatar .avatar-image {
    outline: 1px solid color-mix(in srgb, var(--main-acc) 20%, transparent);
    transition: all .2s linear 0s;
}

/* Иконки */

div.icon {
  position: absolute;
  margin-left: -30px;
  width: 20px;
  height: 20px;
  background: var(--link) url() no-repeat top center;
}

#pun-index div.icon {
    margin-left: -44px;
    width: 8px;
    height: 29px;
    background: var(--add-acc) url() no-repeat top center;
}

#pun-index tr.inew div.icon {
  background: var(--main-acc) url() no-repeat top center;
}

tr.inew div.icon {
  background: var() url() no-repeat top center;
}

tr.isticky div.icon {
  background: var() url() no-repeat top center;
}

tr.iclosed div.icon {
  background: var() url() no-repeat top center;
}


/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
}

.multipage#pun-main h1, .multipage#pun-main h2 {
  display:none;
}

#pun-post h1 {
  display:none;
}

.linkst {
    position: relative;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    text-transform: lowercase;
    font-family: var(--font-family);
    font-size: 11px;
}

.linkst .pagelink {}

.linkst .postlink {
  text-align: right;
}

.linksb {
  position: relative;
   padding: 15px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
    text-transform: lowercase;
    font-family: var(--font-family);
    font-size: 11px;
}

.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 p.container {
    font-family: var(--font-family);
    text-transform: lowercase;
}


#topic-users-in a + a::before {
  content: ", ";
  margin-left: -0.20em;
}



/* Главная
------------------------------------------*/

/* скрыть "форум, тем, сообщений" */

#pun-index thead, #pun-index .tc2, #pun-index .tc3 {
  display: none;
}

/* категория */

#pun-index .category {}

#pun-index .category .container {
    background: var(--sec-bg);
    max-width: 850px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* заголовок категории */


#pun-index .category h2 span,
#pun-stats.section h2 span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--second-family) !important;
  text-transform: uppercase;
  color: white;
  font-size: 20px;
  width: 850px;
  margin: 15px auto -16px;
  background: none; 
  overflow: hidden;
  z-index: 0; 
}

#pun-index .category h2 span::before,
#pun-stats.section h2 span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-cat);
  filter: sepia(100%) hue-rotate(-20deg) saturate(80%);
  z-index: -1; 
}

#pun-index .category h2 span *,
#pun-stats.section h2 span * {
  position: relative;
  z-index: 1; 
}



#pun-index .intd {
    display: flex;
    align-items: center;
}

#pun-index .tclcon {
   max-width: 464px;
}

#pun-index .tclcon h3 a {
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;

    /* Исходный цвет текста */
    color: var(--main-acc);

    /* Плавный переход */
    transition: all 0.5s ease;
}

#pun-index .tclcon h3 a:hover {
    /* Градиент текста */
    background: linear-gradient(90deg, #000000, var(--accent), #000000);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Анимация движения градиента */
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

#pun-index .tclcon .desktext {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 10px;
    text-transform: lowercase;
    color: #323244;
    margin-top: 5px;
    margin-bottom: 5px;
}

#pun-index .tclcon .desklink {
    background: var(--main-acc);
    width: fit-content;
    padding: 2px 8px;
    color: var(--add-acc);
    border-radius:var(--bradius);
    margin-top: 5px;

}

#pun-index .tclcon .desklink a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 10px;
    text-transform: lowercase;
    color: #fff;
}

#pun-index .tclcon .desklink a:hover {
    color: var(--link);
    font-weight: 900;
}

#pun-index .category .tcr {
  border-left: none;
  text-align: right;
}

#pun-index .lastpost-link {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 11px;
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    margin-left: auto;
    width: 200px;
    margin-top: 5px;
}

#pun-index .lastpost {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 11px;
    text-transform: lowercase;
    margin-bottom: 5px;
}

/* Статистика */

#pun-stats {
   font-family: var(--font-family);
   text-transform: lowercase;
   font-size: 12px;
}

/* заголовок статистики */

#pun-stats h2 {
   display: none;
}

/* всего тем, всего сообщений */

#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 20px;
    max-width: 850px;
    margin: 25px auto 0;
    box-sizing: border-box;
    padding: 10px 0;
    border-top: none;
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
   text-align: right;
}

#pun-stats li.item1 span,
#pun-stats li.item2 span,
#pun-stats li.item3 span,
#pun-stats li.item4 span {
    display: inline;
    font-weight: 600;
}

#pun-stats li.item1 strong,
#pun-stats li.item2 strong,
#pun-stats li.item3 strong,
#pun-stats li.item4 strong {
    font-weight: 400;
}

/* активны, посетили за сутки */

li#onlinelist {
  width: 100%;
  padding: 10px 0;
  border-block: 1px solid color-mix(in srgb, var(--main-acc) 20%, transparent);
  text-align: justify;
}

li#onlinelist div > a {
  font-weight: 700;
}

/* Шапка
------------------------------------------*/
#pun-title {
    background: 
        url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762026722/%D0%BC%D0%BF%D0%B8%D1%80%D0%BE%D0%BB%D0%B4_m7rzrm.svg) no-repeat center bottom,
url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762020580/%D1%88%D0%B0%D0%BF%D0%BA%D0%B0-%D1%81%D0%B2%D0%B5%D1%82%D0%BB%D0%BE%D0%B5_zs9fiz.png) no-repeat center center;
   background-size: var(--fwidth) auto, contain; /
    width: var(--fwidth);
    height: 316px;
}

/* скрыть заголовок в шапке */

#pun-title .title-logo {
  display: none;
}

/* содержимое шапки в html-верх */

.tablica {
    position: absolute;
    width: var(--fwidth);
    height: 316px;
    display: flex;
    justify-content: space-between;
    padding: 56px;
    box-sizing: border-box;
    font-family: var(--font-family);
    color: var(--sec-bg);
    align-items: flex-start;
}

.tablica a {
    color: var(--sec-bg);
}

.tablica a:hover {
    color: var(--link);
}

.tablica-left {
     width: 260px;
}

.tablica-links {
    font-weight: 700;
    font-size: 10px;
    text-transform: lowercase;
    text-align: left;
    width: 200px;
    padding: 7px 7px 7px 2px;
    box-sizing: border-box;
    border-block: 1px solid var(--pun-bg);
    margin-bottom: 40px;
    margin-top: -35px;
}

.tablica-quote::before {
    content: '';
    -webkit-mask: url(https://forumstatic.ru/files/001c/43/fc/70553.svg) no-repeat center;
    mask: url(https://forumstatic.ru/files/001c/43/fc/70553.svg) no-repeat center;
    background-color: var(--accent);
    display: block;
    width: 48px;
    height: 40px;
    position: absolute;
    left: 25px;
    margin-top: -30px;
}

.tablica-quote {
   font-style: italic;
    font-weight: 500;
    font-size: 9px;
    text-transform: lowercase;
    text-align: justify;
    margin-top: 150px;
}

.tablica-quote p {
    position: relative;
    z-index: 1;
}

.tablica-right {
    width: 453px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.tablica-about {
    width: 200px;
    height: 75px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 9px;
    text-transform: lowercase;
    text-align: justify;
    overflow: auto;
    padding-right: 15px;
    margin-bottom: 20px;
    color: #292929;
    position: absolute;
    transform: rotate(6deg);
    right: 4px;
    top: 30px;
}

.tablica-perc{
     width: 200px;
}


.testinfo {
    font-family: var(--second-family);
    font-style: normal !important;
    font-weight: 400;
    font-size: 45px;
    text-transform: lowercase;
    margin-top: 60px;
    margin-left: 100px;
    color: #613326;
    transform: rotate(5deg);
}


/* Объявление
------------------------------------------*/

#pun-announcement {
height:40px;

}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}


/* Футер
------------------------------------------*/

#html-footer {}

#html-footer .container {padding: 0;}

#banners {
    margin: 26px 8px 8px 26px !important;
    overflow-y: auto;
    padding-right: 5px;
    height: 62px;
    width: 900px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* border: red 1px solid; */
    position: absolute;
}

#banners img {
    opacity: .6;
    transition: 2s;
}

#banners img:hover {
    opacity: 1;
    transition: 2s;
}

/* footer */

#pun-about p.container {
    background: 
url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762026358/%D1%8B%D0%B2%D1%83%D0%B0%D0%BA%D0%BF%D0%B5%D1%80%D0%BD%D0%BE%D0%B3%D0%BB%D1%88%D0%B4%D0%B6%D1%8D_jiafmi.svg) no-repeat center center,
url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762025332/sdfgthyjk_xwdqtb.png) no-repeat center center;
    background-size: var(--fwidth) auto, contain; /
    width: var(--fwidth);
    height: 158px;
    margin-left: 0px;
    margin-top: -1px;
}


/* Топик
------------------------------------------*/

.post {
    margin: 10px auto 0;
    border-radius: var(--bradius);
    background: var(--sec-bg);
    padding: 18px 0 0;
    text-transform: none;
}

#pun-viewtopic .post {
    width: 898px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

#pun .post-content hr {
  border-top: 1px solid var(--link-hover);
  margin: 10px auto;
}

/* контейнер поста */

.punbb .post .container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  padding: var(--pad2);
}

/* дата и номер поста */

.post h3 {
   background: var(--pun-bg);
}

.post h3 span {
  padding: var(--pad3);
  display: block;
  font-family: var(--font-family);
  font-size: 10px;
}

/* номер поста */

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
}

.post h3 strong::before {
   content:'#';
}

/* ЛИЧНЫЙ ПРОФИЛЬ ЧУВАКА В ПОСТЕ */

.post-author {
  width: var(--pwidth);
  font: 300 12px / 150% var(--font-family);
  box-sizing: border-box;
  margin-top: 0px !important;
  margin-bottom: 20px !important;
  border-radius: var(--bradius);
  position: relative;
  padding: 0;
  overflow: hidden;
  z-index: 2; 
}

.post-author::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762446001/4eacacc480425652a2ae7778d07c30a6_1_a36dsj.jpg") center/cover no-repeat;
  opacity: 0.1; 
  z-index: 0;
}

/* Контент всегда поверх */
.post-author > * {
  position: relative;
  z-index: 1;
}

/* Внутренний контейнер с информацией */
.post-author > ul {
  box-sizing: border-box;
  text-align: center !important;
  margin: 0px;
  padding: 16px !important;
  flex-direction: column;
  gap: 12px;
  color: var(--link-hover);
  border: none;
  border-radius: 0 0 var(--bradius) var(--bradius);
  text-shadow: none;
  position: relative;
  z-index: 1;
}

/* Имя автора */
.pa-author {
  font: normal 18px var(--second-family), var(--font-family) !important;
  text-align: center !important;
  margin-bottom: 8px;
  padding: 0 !important;
  position: relative;
}

.pa-author a {
  color: var(--main-acc);
  font-style: normal;
}

.pa-author a:hover {
  color: var(--link-hover);
}

/* Статус */
.pa-title {
  font-size: 10px;
  text-align: center;
  font-weight: 300 !important;
  position: relative;
  padding: 0px !important;
  font-family: var(--font-family);
  color: var(--link);
  margin-bottom: 12px;
}

/* Аватар */
.pa-avatar {
  line-height: 0;
  overflow: hidden;
  display: block;
  position: relative;
  margin-bottom: 12px;
  z-index: 1;
}

.pa-avatar img {
  border-radius: var(--bradius);
}

/* Личное звание */
.pa-fld1 {
  margin-bottom: 12px;
  position: relative;
  font-size: 10px;
  font-family: var(--font-family);
  padding: 12px 16px;
  border-top: 1px solid var(--add-acc);
  border-bottom: 1px solid var(--add-acc);
  background: var(--sec-bg);
  border-radius: var(--bradius);
  text-align: left;
  line-height: 1.5;
}

.pa-fld1 .lzname {
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--add-acc);
}

.pa-fld1 .lzname a {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  color: var(--main-acc);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pa-fld1 .lzname a:hover {
  color: var(--link-hover);
}

.pa-fld1 .lz {
  font-size: 10px;
  line-height: 1.5;
  color: var(--link-hover);
  text-align: justify;
}

.pa-fld1 .lz a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.pa-fld1 .lz a:hover {
  color: var(--main-acc);
}

/* Элементы статистики */
.pa-posts,
.pa-respect,
.pa-fld4,
.pa-fld5 {
  text-align: center;
  display: inline-block;
  font-size: 10px;
  line-height: 100%;
  align-items: center;
  gap: 4px;
  justify-content: center;
  height: auto;
  margin: 4px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  font-weight: 400;
  background: transparent;
  font-family: var(--font-family);
  color: var(--main-acc);
}

/* Плашка-картинка (fld2) под статистикой на всю ширину */
.pa-fld2 {
  padding: 0 !important;
  line-height: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: var(--bradius);
  margin-bottom: 12px;
}

.pa-fld2 img {
  width: 100%;
  height: auto;
  max-width: 220px;
  max-height: 40px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* Названия полей */
.fld-name {
  font-weight: 500;
  font-size: 9px;
  text-transform: lowercase;
  color: var(--link);
}


/* Тело поста */

.post-body {
 width: calc(100% - var(--pwidth));
  position: relative;
}

.post-body .hideprofile {
 width: 100%;
  position: relative;
}

.post-box {
  padding: 10px 10px 10px 20px;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
  text-transform: lowercase;
  font-family: var(--font-family);
  font-size: 12px;
}

.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;
  text-transform: none;
  word-break: break-word;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 200px;
}

/* цитата и код */

.quote-box,
.code-box {
    margin: 4px 10px 10px;
    padding: 12px;
    border: 1px solid var(--link-hover);
    background: var(--pun-bg);
    border-radius: var(--bradius);
    font-family: var(--font-family);
    position: relative;
}

.code-box strong a {
   color: var(--sec-bg);
}

.quote-box cite, .code-box strong {
    font-weight: bold;
    font-style: normal;
    background: var(--main-acc);
    padding: 2px 15px;
    border-radius: var(--bradius);
    position: absolute;
    top: 0;
    color: var(--sec-bg);
    margin-left: 15px;
    font-family: var(--font-family);
    font-size: 11px;
    text-transform: lowercase;
    transform: translateY(-50%);
}

.code-box strong.legend {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  font-style: normal;
}

.post-content .spoiler-box>div::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--main-acc);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s linear 0s;
}

.post-content .spoiler-box > div.visible::before {
    transform: translateY(-50%) scale(50%);
}

.post-content .spoiler-box>div {
    background: transparent !important;
    padding-left: 25px!important;
    position: relative;
}

.post-sig dt {
  border-bottom: 1px solid var(--link-hover);
  width: 300px;
  margin: 10px auto;
}

/* Форма ответа */

#main-reply {
  box-sizing: border-box;
  border-radius: 0 0 var(--bradius) var(--bradius);
}

#post-form legend {
  display:flex;
}

#tags {
  position: relative;
}

#tags .container {
  padding: var(--pad3) !important;
  top: 0 !important;
}

/* C1.5 */
.punbb fieldset legend {
  padding: 10px 0px 0 0;
  margin: 0 0 0 11px;
  font-size: 1.1em;
  }

/* C1.6 */
.punbb fieldset legend span {
    margin: 0 0 0 15px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 500;
    font-family: var(--font-family);
    text-transform: uppercase;
}

#plng {
    font-size: 10px;
    font-weight: 500;
    font-family: var(--font-family);
    text-transform: uppercase;
}


/* Профиль + ЛС (Современная версия)
------------------------------------------*/

#pun-profile {
  font-family: var(--font-family);
  text-transform: lowercase;
}

/*заголовок*/
#pun-profile h1 span {
  font-size: 11px;
  padding: 4px 8px;
  display: inline-block;
  background: transparent;
  border-radius: var(--bradius);
}

/* отступы */
#viewprofile-next {
  margin-left: 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

#viewprofile tr {
  display: flex;
  gap: 24px;
  align-items: center;
}

/*левый блок профиля*/
#viewprofile-next #profile-left {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: var(--bradius);
  padding: 16px;
  box-sizing: border-box;
  background: var(--pun-bg);
}

#viewprofile-next #profile-left li#profile-name {
  font: normal 18px var(--second-family), var(--font-family) !important;
  font-style: italic;
  font-weight: 400 !important;
  text-transform: none;
  text-align: center;
  color: var(--main-acc);
}

#profile-left li#profile-title strong {
  width: 100%;
  display: block;
  text-align: center;
  font-weight: 300 !important;
  font-size: 10px;
}

#profile .container {
  padding-left: 180px;
  min-height: 100px;
  box-sizing: border-box;
}

/* навигация профиля */
#profilenav {
  float: left;
  width: 150px;
  margin-left: -180px;
  background: var(--sec-bg);
  border-radius: var(--bradius);
  padding: 16px 0 16px 8px;
  box-sizing: border-box;
}

#profilenav h2 {
  background: transparent;
  padding: 0 0 8px 0;
  margin: 0 8px 8px 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
}

#viewprofile h2,
#profilenav h2 {
  padding: 0;
  margin: 0;
}

/*навигации внутри профиля */
#profilenav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none; 
  box-shadow: none;
  border: none;
}

#profilenav li {
  list-style: none;
  padding: 0;
  font-weight: 500;
  text-transform: lowercase;
  font-size: 11px;
}

#profilenav li a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

#profilenav li a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--main-acc);
  transform: translateX(2px);
}

#profilenav li.isactive a {
  background: var(--main-acc);
  color: var(--pun-bg);
  font-weight: 600;
}

/* Основной контейнер профиля на странице (viewprofile) */
#viewprofile {
  box-sizing: border-box;          /* важно для padding */
  width: 100%;                     /* займет ширину родителя */
  max-width: var(--forum-width);   /* но не больше тела форума */
  margin: 0 auto;                  /* центрирование внутри родителя */
  padding: 12px 16px;
  border-radius: var(--bradius);
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: none;
}

/* Псевдоэлемент подложки — всегда растягивается по контейнеру */
#viewprofile::before {
  content: "";
  position: absolute;
  width:900px;
  inset: 0;                         /* растянуть на весь контейнер */
  background: url("https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762446001/4eacacc480425652a2ae7778d07c30a6_1_a36dsj.jpg") center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;             /* чтобы фон не перехватывал клики */
}

/* Если #viewprofile находится внутри узкого контейнера (например sidebar),
   и тебе нужно, чтобы он оставался компактным — сузим его в таком контексте */
.sidebar #viewprofile,
.post .post-author + #viewprofile,
.post .post-author { /* мини-профиль в постах */
  max-width: var(--pwidth, 244px);
}

/* Альтернатива: если профиль на странице всегда должен быть ровно телу форума */
#viewprofile.full-width {
  width: var(--forum-width);
  max-width: var(--forum-width);
  margin: 0 auto;
}


/* Контент поверх */
#viewprofile > * {
  position: relative;
  z-index: 1;
}

/* Левый и правый блоки */
#profile-left,
#profile-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Общие списки */
#viewprofile ul,
#profilenav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Элементы списка */
#viewprofile li,
#profile-right li {
  display: flex;
  align-items: center;
  padding: 2px 0;
  transition: border-color 0.2s ease;
}

/* Подписи полей */
#profile-right li span {
  flex-shrink: 0;
  min-width: 110px;
  background: var(--sec-bg);
  text-align: center;
  padding: 2px 6px;
  border-radius: var(--bradius);
  color: var(--main-acc);
  font-size: 9px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Значения */
#profile-left li strong,
#profile-right li strong {
  font-weight: 400;
  color: var(--link-hover);
}

/* Ссылки внутри значений */
#profile-right li span a {
  color: inherit;
  text-decoration: none;
}

#profile-right li span a:hover {
  opacity: 0.8;
}

/* Аватар */
img.avatardemo {
  float: right;
  margin: 0 0 6px 12px;
  border-radius: var(--bradius);
  max-width: 120px;
  height: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
}

img.avatardemo:hover {
  transform: scale(1.03);
}

/* Скрыт clearer */
#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;
}

/* Новости
-------------------------------------------------------*/

#news {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  transform: translateY(-100%);
}

.news-item {
  background: rgb(75 56 51);
  border-radius: var(--bradius);
  padding: 6px 18px 8px;
  text-align: center;
  font-family: var(--font-family);
  font-size: 10px;
  line-height: 1.3;
  color: white;
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 130px;
  display: inline-block;
}

.news-item b {
  display: block;
  font-weight: 800;
  font-size: 11px;
  color: #e5d1a3;
  letter-spacing: 0.5px;
}

.news-item:hover {
  background: var(--main-acc);
  color: var(--add-acc);
}

.news-icon {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  margin-right: 6px;
}

.punbb .user-avatar .isonline {
    background-color: #c2987a !important;
}

/* Rating of Posts */

div .post-rating p>a {
    text-align: center;
    font-weight: 700;
    background: url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762189804/owl-bird-shape_j2umu1.png) no-repeat center;
    background-size: 38px auto;
    position: relative;
    padding-left: 1px;
    z-index: 100;
    font-family: var(--font-family);
    width: 38px;
    height: 39px;
    text-align: center;
    font-size: 12px !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 39px;
    color: var(--pun-bg);
}
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;
    background: url(https://res.cloudinary.com/dyg1jrdzu/image/upload/v1762189419/scroll_glauj3.png) no-repeat;
    background-size: 38px auto;
    width: 25px;
    height: 26px;
    display: block;
    background-size: 100%;
    margin-top: 10px;
    margin-left: -10px;
}


