@import url(style_cs.1794876491.css);

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/* Main Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bellota+Text:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Geist:ital,wght@0,100..900;1,100..900&family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Unbounded:wght@200..900&display=swap');


/* ================== */

:root {
  --main-color: #2563eb;
  --acc-color: #a43716;
  --light-text: #a1a9af;
  --pun-main: #b5a295;
  --pun-dark: #20292D;
  --pun-light: #cdbcb3;
  --light-bg: #e3d9d3;
  --bg-dark: #0a0f12;
  --h3-font: "Unbounded", sans-serif;
  --descr-font: "IBM Plex Serif", serif;
  --post-font: "Geist", sans-serif;
  --nav-main: #54595f;
  --nav-hover: #20292e;
  --link-main: #20292D;
  --link-hover: #a43716;
  --link-imp: #a33715;
}

/* Скрываем элементы форума */

.acchide,
#pun-index #pun-main h1,
#pun-navlinks 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,
#pun-title h1,
#pun-announcement h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
}

#pun:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after,
.punbb .container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden; overflow:hidden; line-height: 0.0; font-size: 0;}

.punbb .modmenu .container span {display: none;}
.topic a.sharelink, .topic a.translatelink {display: none;}

.pa-online{display:none!important;}
.pa-online,.pa-last-visit{display:none!important;}

.pa-respect a[href*="relation"] {
    display: none;
}

.reactions-container {
    display: none!important;
}

/* ================== */

/* Общие стили */
* {margin: 0; padding: 0;}
body {margin: 0;}
ul, dl, li, dd, dt {list-style: none;}

body {font: 12px Verdana;}
h1, h2 {
font-size: 16px; 
font-weight: normal;
padding: 5px 10px;
margin: 0;
}

address, em {font-style: normal}

a {text-decoration: none;}

/* Скроллбары */
* {
scrollbar-width: thin; 
scrollbar-color: #cfba6a #523329;
}
*::-webkit-scrollbar {width: 9px; height: 9px;}
*::-webkit-scrollbar-track {background-color: #523329;}
*::-webkit-scrollbar-thumb {background-color: #cfba6a;}

/* ================== */

/***   ЗАДНИЙ ФОН   ***/
html,
body {
    background: var(--bg-dark)
        url("https://forumstatic.ru/files/001c/d6/c9/56639.jpg")
        center top / cover no-repeat fixed !important;
}


/***   ТЕЛО ФОРУМА   ***/
#pun {
    width: 1100px;
    margin: 84px auto 85px auto;
    padding: 1px 15px 0 15px;
    box-sizing: border-box;
    background: var(--pun-main);
}

/***   ФОНОВАЯ КАРТИНКА ШАПКИ   ***/
#pun-title table {
    width: 1100px;
    height: 229px;
    margin: -30px auto auto -15px;
    border: 0px none transparent;
    background: url(https://forumstatic.ru/files/001c/d6/c9/22050.png);
}


#pun-title td.title-logo-tdl {
	width: 100%;
	border: none;
}

/* ================== */

/* Меню навигации */
#pun-navlinks .container {
font: 500 12px / 1 var(--h3-font);
    text-align: right;
    margin: 0;
    transform: translate(34px, -240px);
}
#pun-navlinks li {
display: inline;
padding-right: 10px;
}

/* Юзер меню */
#pun-ulinks .container {
    padding: 11px 0;
    font: 500 12px / 1 var(--post-font);
    text-transform: lowercase;
    text-align: center;
    background: var(--pun-dark);
    width: 1100px;
    margin: -14px 0 0 -15px;}

#pun-ulinks li {
display: inline;
padding-right: 10px;
}

/* ================== */

/* Объявление */
#pun-announcement .container {padding: 10px;}

/* Статус (Добро пожаловать) */
#pun-status .container {
margin: 18px 0 7px 0;
    padding: 8px 10px 10px;
}
#pun-status span {
white-space: nowrap;
margin-right: 5px;
}

#pun-crumbs1 {font-weight: bold;}
#pun-crumbs1 p.container {
padding: 10px 10px 8px 10px;
margin-top: 0;
}

/*хлебные крошки */
.container.crumbs {
font-weight: bold;
padding: 10px 10px 8px 10px;
text-align: center;
}
#pun-crumbs1 .container.crumbs {margin-top: 0;}
#pun-crumbs2 .container.crumbs {margin-bottom: 0;}

/* Копирайт майбб */
#pun-about .container {text-align: center;}

/* ================== */

/* Форумные таблицы */
table {table-layout: fixed; width: 100%;}
#respect {width: auto;}
.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%;white-space:normal;}
#pun-debug .tcr {width: 90%; white-space: normal;}

td {padding: 8px 10px;}
th {padding: 4px 10px;}

tbody.hasicon td.tcl {padding-left: 40px}
div.icon {
position: absolute; 
margin-left: -30px;
width: 20px;
height: 20px;
background: red;
}

#pun-index .tcl h3 {
    margin: auto;
    padding: 0 0 7px 0px;
}

#pun-index .tcl h3 a {
    font: 600 18px / 1 var(--h3-font);
    color: var(--bg-dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    padding-bottom: 4px;
    justify-content: flex-start;
}


#pun-index .tcl h3 a:hover {
    color: var(--link-hover);
}
#pun-main .category td div.tclcon {
    margin-left: 5px;
    padding: 2px 3px 10px 7px;
    text-align: justify;
    font: 400 11px / 1.3 var(--post-font);
}

/* ================== */

/* Категории */
.category {margin-top: 10px;}
#pun-category1 {margin-top: 0;}
.category td .modlist {
display: block;
padding-top: 5px;
}

/* Статистика */
#pun-stats .container {padding: 8px 10px}
#pun-stats li.item1, #pun-stats li.item2 {
float: left;
clear: both;
line-height: 150%;
}
#pun-stats li.item3, #pun-stats li.item4 {
text-align: right;
line-height: 150%;
}
li#onlinelist {
margin-top: 10px;
float: left;
line-height: 130%;
}
li#onlinelist div {padding: 8px 0 0 0;}

/* ================== */

/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка) */
.multipage {margin-top: 30px;}
.linkst {
position: relative;
height: 0;
}
.linkst .pagelink,
.linkst .postlink {
position: absolute;
top: -50px;
}
.linkst .pagelink {left: 10px;}
.linkst .postlink {right: 10px; text-align: right;}

.linksb {
text-align: right;
padding: 4px 10px;
}
.linksb .pagelink {float: left; text-align: left;}
.linksb .postlink {float: right;}
.subscribelink {
clear:both;
padding: 5px 0;
}

/* Модераторское меню, RSS, Atom */
.modmenu .container {padding: 5px 10px;text-align: right;}
.modmenu .container strong {float: left;}
.modmenu input {margin-left: 10px;}

/* ================== */

/* Страница топика */
.post {margin-top: 10px;}
.toppost, .topicpost {margin-top: 0;}

.post .container {}

.post h3 {
border-width: 0px;
    -webkit-text-size-adjust: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font: 300 12px var(--post-font);
    z-index: 1;
    margin: 0px -15px -22px !important;
    padding: 11px 18px !important;
    box-sizing: border-box;
    text-transform: uppercase;
    color: var(--text2);
    border-top: 1px dashed var(--nav-main);
}


.post h3 span {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 3px;
    position: relative;
    padding: 5px 15px;
    background: #fff;
    transform: rotate( 358deg);
    box-shadow: 1px 1px 2px var(--nav-main);
}

.post h3 span a,
.post h3 strong {
	font-weight: 500;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 5px;
}

.post h3 span a {
	font-weight: 600
}

.post h3 strong {
	order: 2;
	font-weight: normal;
	gap: 0;
	font-weight: 300;
}

.post h3 strong:before {
	content: ", #"
}

.post .post-author {
    margin: 60px 0 0px 13px;
    float: left;
    width: 215px;
    text-align: center;
    background: var(--pun-dark);
    color: var(--light-text);
    font-family: var(--post-font);
}
.post-body {padding: 10px 0px 10px 244px;
    background: var(--pun-light);}
.post-box {
padding: 16px 10px 10px 9px;}

.pa-author {
font: 500 13px / 1 var(--h3-font);
    transform: translate(3px, -43px);
    text-align: left;
    color: var(--bg-dark);
}

li.pa-title {
    font: 500 11px / 1 var(--post-font);
    color: var(--nav-hover);
    letter-spacing: 0.3px;
    text-transform: lowercase;
    text-align: left;
    transform: translate(3px, -34px);
}

li.pa-avatar img {
	max-width: 180px;
	max-height: 180px;
    padding-bottom: 5px;
}

li.pa-online {
transform: translate(0, 17px);
    background: var(--link-hover);
    color: var(--bg-dark);
    width: max-content;
    padding: 3px 15px;
    font: 300 11px / 1 var(--post-font);
    text-transform: lowercase;
}

.pa-fld1 {
color: var(--light-text);
    width: 215px;
    background: var(--bg-dark);
    padding: 6px 0;
    font: 400 12px / 1 var(--post-font);
}

.post-links {margin-left: 300px;}
.post-links ul {
padding: 22px 10px 0 0;
    margin-left: -300px;
    text-align: right;
    text-transform: lowercase;
}
.post-links li {
display: inline-flex;
    gap: 9px;
    background: var(--pun-light);
    font: 400 12px / 1 var(--post-font);
    align-items: center;
    padding: 2px 8px;
}

.pl-email, .pl-website {float: left;}
.clearer {clear: both; height: 0; font-size: 0;}

/* ================== */

/* Подпись в топике */
.post-sig dt, .post-sig dd, .post-sig dl {margin: 0} 
.post-sig dt {
display: block;
margin: 5px 0;
}

/* Контент поста */
pre {font: 11px monaco;}
.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;
line-height: 165%;
padding: 0 0 12px 0;
}
.post-content img {vertical-align: middle;}
.scrollbox {
width: 100%;
overflow: auto;
max-height: 200px;
}
.quote-box {
position: relative;
    margin: 4px 10px 10px;
    padding: 10px;
    background: var(--light-bg);
    box-shadow: 1px 1px 2px var(--pun-main);
}
.quote-box cite {
display: block;
    padding: 7px;
    margin-left: -6px;
    font: 500 10px / 1 var(--h3-font);
}

/* Кнопка/скрепка в углу */
.quote-box::after {
content: "\f276";
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    position: absolute;
    top: -11px;
    right: 14px;
    color: var(--link-main);
    transform: rotate(20deg);
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, .35));
    pointer-events: none;
}


.code-box strong.legend {
display: block;
padding-bottom: 5px;
font-weight: bold;
font-style: normal;
}

/* ================== */

/* Формы */
.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;}

textarea, input, select, optgroup {font-size: 14px;}
optgroup {font-weight: bold;}

.formal .container {padding: 10px 20px;}

.formsubmit {
padding: 0 0 0 15px;
margin: 10px 0 0 0;
}
.formsubmit input, .formsubmit a, .formsubmit span {margin: 0 6px 0 0;}

fieldset {border: none;}
fieldset legend {
font-style: italic;
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: 1em;}
.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;}


textarea#main-reply {
    text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
.punbb textarea {
    background: var(--light-bg);
    padding: 10px;
    width: 100%;
    font: 1em verdana, arial, helvetica, sans-serif;
    border: none;
}



button,
.button,
input[type="button"],
input[type="submit"] {
    background: var(--pun-dark);
    color: var(--pun-light);
    margin: 4px !important;
    padding: 5px 10px;
    font: 400 13px / 1 var(--sec-font);
    text-transform: lowercase;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    border: none;
    border-radius: 5px;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: var(--acc-color);
    color: var(--pun-dark);
}

/* ================== */

/* Предпросмотр сообщения */
#pun-post .topic {margin-top: 10px;}

/* ================== */

/* Профиль + ЛС */
#profile .container {padding-left: 300px;}
#profilenav {
  float: left;
  width: 300px;
  margin-left: -300px;
}

#profilenav li {padding-bottom: 10px;}
#viewprofile ul, #profilenav ul {
padding: 10px;
margin: 0 0 10px 0;
}
#viewprofile h2, #profilenav h2 {
padding: 0;
margin: 0;
}
#viewprofile li {margin-bottom:2px;}
#viewprofile li span {
float: left;
width: 180px;
padding: 5px 10px;
font-weight: bold;
}
#viewprofile li strong, #viewprofile li div {
display: block;
padding: 5px 10px;
font-weight: normal;
}
img.avatardemo {float: right;margin: 0 0 8px 18px;}

/* ================== */

/* Список пользователей */
#pun-userlist .formal, #pun-userlist .formal .container {margin-bottom: 0;}
#pun-userlist .tc2 {
text-align: left;
width: 20%;
}
#pun-userlist .tcl {width: 40%}

/* ================== */

/* Собщения об ошибках */
.info .container {padding: 5px 10px;}
.info .container .backlink {padding-top: 8px;}

/* ================== */

/* Регистрация */
.info-box {
padding: 10px 15px;
margin: 0 0 10px 0;
}
.info-box * {padding: 0 0 5px 0;}
.info-box .legend {font-weight: bold;}



/* разделение ников пользователей запятой */
#topic-users-in a:not(:last-of-type):after {
content: ",";
}


/* Темы и сообщения справа от названия подфорума */
#pun-index .category .tc2,
#pun-index .category .tc3,
#f-subforums .tc2,
#f-subforums .tc3 {
  display: none !important;
}

.category .tcl h3,
#f-subforums .tcl h3 {
  position: relative;
}

.forum-stats {
  position: absolute;
  top: 0;
  right: 0;
  font: 400 13px / 18px var(--post-font);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.forum-stats span {
  margin-left: 12px;
}

.forum-stats i {
  margin-right: 5px;
}

/* поля в профиле в ряд */
.post-author .pa-row1 {
display: flex;
    gap: 1px;
    text-transform: lowercase;
    justify-content: space-evenly;
    padding-top: 7px;
    padding-bottom: 13px;
}

/* ===== Иконки вместо названий полей в профиле ===== */

.pa-row1 .pa-posts .fld-name,
.pa-row1 .pa-respect .fld-name,
.pa-row1 .pa-fld2 .fld-name {
  font-size: 0;
  line-height: 1;
}

/* Общие свойства иконок */
.pa-row1 .pa-posts .fld-name::before,
.pa-row1 .pa-respect .fld-name a::before,
.pa-row1 .pa-fld2 .fld-name::before {
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 900; 
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  color: var(--light-text);
  -webkit-font-smoothing: antialiased;
}

.pa-row1 .pa-posts .fld-name::before { content: "\f0e0"; }  
.pa-row1 .pa-respect .fld-name a::before { content: "\f004"; } 
.pa-row1 .pa-fld2 .fld-name::before { content: "\f155"; } 

.pa-row1 .pa-respect .fld-name a {
  font-size: 0;
  text-decoration: none;
}

.pa-row1 .pa-posts,
.pa-row1 .pa-respect,
.pa-row1 .pa-fld2 {
  display: flex;
  align-items: center;
}


/* БыстроПлюсы для Топика */
.post-box {
  --like-icon-size: 12px;
  --like-num-size: 12px;
  --like-gap: 4px; 
  --like-align: flex-end;
}

/* ===== Ряд: комментарий слева, лайк справа ===== */
.post-box:has(> .post-rating) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: var(--like-align);
  gap: 0 var(--like-gap);
}
.post-box:has(> .post-rating) > .post-content { flex: 0 0 100%; order: -1; }
.post-box:has(> .post-rating) > .post-vote    { order: 1; }
.post-box:has(> .post-rating) > .post-rating  { order: 2; }

/* ===== Сброс экстра-CSS ===== */
div.post-vote,
div.post-rating,
div.post-vote > p.container,
div.post-rating > p.container {
  position: static !important;
  float: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ===== Общая пилюля ===== */
div .post-rating p>a,
div .post-vote p>a {
  position: relative;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 20px;
  margin: 0;
  padding: 0 10px;
  background: var(--light-bg);
  color: var(--link-main);
  font-family: var(--post-font);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}
div .post-rating p>a { font-size: var(--like-num-size) !important; }
div .post-vote p>a   { font-size: 0 !important; }

div.dark-style .post-rating p>a,
div.dark-style .post-vote p>a {
  background: rgba(255, 255, 255, .14);
  color: #6BC8AF !important;
}

/* ===== Иконки ===== */
div .post-rating p>a::before,
div .post-vote p>a::before {
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: var(--like-icon-size);
  line-height: 1;
  display: inline-block;
  position: static;
  margin: 0;
  opacity: .4;
  transition: opacity .2s, transform .4s cubic-bezier(.34, 1.9, .64, 1);
}
div .post-rating p>a::before { content: "\f004"; } /* heart */
div .post-vote p>a::before   { content: "\f075"; } /* comment */

div .post-rating p>a:hover::before,
div .post-vote p>a:hover::before {
  opacity: .75;
}

/* ===== Пульсация при наведении (сердечко) ===== */
div .post-rating p>a:hover::before {
  animation: heart-pulse .55s ease-in-out infinite;
}
@keyframes heart-pulse {
  0%, 100% { scale: 1; }
  50%      { scale: 1.3; }
}

/* ===== Нажатие (сердечко) ===== */
div .post-rating p>a:active::before {
  transform: scale(.6);
  transition: transform .08s;
}

/* ===== Лайк поставлен: красное сердечко ===== */
.mylike .post-rating p>a::before,
.post-rating p>a[title="Моя оценка"]::before,
.post-rating p>a[original-title="Моя оценка"]::before {
  font-weight: 900;
  color: var(--acc-color) !important;
  opacity: 1 !important;
}




/* Индикатор активности пользователя © Reysler, Alex_63 */
.post .post-author ul {
  position: relative;
}
.post-author .pa-online,
.post-author:not(.online) .pa-author .acchide {
  position: absolute;
  display: inline-block !important;
  top: .25rem;
  right: .6rem;
  left: auto !important;
  line-height: unset;
  background: #8ac176 !important;
  height: .6rem !important;
  width: .6rem !important;
  margin: 0 0 0 -5px !important;
  padding: 0 !important;
  border: 0 !important;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  cursor: pointer;
}
.post-author .pa-online:hover {
  background: #aad79a !important;
}
.post-author .pa-online:before,
.post-author.online .pa-author:after {
  content: unset !important;
}
.post-author:not(.online) .pa-author .acchide {
  background: #bbb !important;
}
.post-author:not(.online) .pa-author .acchide:hover {
  background: #ccc !important;
}
.post-author .pa-online:hover strong,
.post-author:has(.acchide:hover) .pa-last-visit,
.post-author .pa-last-visit:hover {
  opacity: .7;
  visibility: visible;
}
.post-author .pa-online strong,
.post-author .pa-last-visit {
  position: absolute;
  display: inline-block !important;
  top: 16px;
  right: -6px;
  padding: 0 8px !important;
  min-height: 24px;
  line-height: 24px;
  background: #000;
  font-weight: 400;
  white-space: nowrap;
  color: #fff;
  font-size: 90%;
  text-shadow: rgba(0,0,0,0.2) 0 -1px 0;
  text-align: center;
  z-index: 10;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  transition: all .2s ease;
  opacity: 0;
  visibility: hidden;
  cursor: text;
}
.post-author .pa-last-visit {
  top: 20px;
  right: 3px;
}
.post-author .pa-online strong:before,
.post-author .pa-last-visit:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  right: 5px;
  top: -10px;
  border-width: 6px 6px;
  border-style: solid;
  border-color: transparent transparent #000 transparent;
}