@import url(style_cs.1783546274.css);
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Passion+One:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Spline+Sans+Mono:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&display=swap');

:root {
  --def-font: "Noto Sans Mono", monospace;
}

@media screen and (max-width: 720px) {
	.post-box .post-content {
		font-size: 1.4em !important;
	}

	.punbb textarea#main-reply {
		font-size: 1.7em !important;
	}
}

@font-face {
    font-family: 'Druzhok';
    src: url('https://forumstatic.ru/files/001c/be/8c/15463.woff2?v=1') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/***   ФОН ФОРУМА   ***/
html,
body {
	background: top center fixed no-repeat url(https://upforme.ru/uploads/001c/bd/d1/7/371102.jpg), #000;
background-size: cover;
}


/* Скрываем элементы форума */

.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,
.punbb .modmenu .container span,
#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 th,
.punbb thead {
display: none;
}

#pun-index .tc2,
#pun-index .tc3,
#pun-index .tcmod {
	display: none
}
.topic a.sharelink, .topic a.translatelink {display: none;}

.lastedit, li#navawards, .pa-invites, .pa-gifts, #pun-live-rusff, #button-files_rusff, #button-graffiti_rusff, 
.pl-share, .sharelink, .pl-reports, li.pl-share, .post-links li.pl-reports {display: none !important;}

#pun-status .status-right {display: none;}
fieldset legend span {
display:none;
}

/* скрыть плюсик в профиле */
.pa-respect a[href*="relation"] {
    display: none;}

td#button-smile {
display: none;}

/* ================== */

/* Общие стили */
* {margin: 0; padding: 0;}
body {margin: 0;}
ul, dl, li, dd, dt {list-style: none;}

body {font: 12px Verdana;}
h1, h2 {
padding: 5px 10px;
    margin: 0;
    font: 500 18px "Advent Pro";
    color: #6e6e6e;
    text-transform: lowercase;
    text-align: center;
}

address, em {font-style: normal}

a {text-decoration: none;}

/* Скроллбары */
* {
scrollbar-width: thin;
    scrollbar-color: #6462b5 transparent;
}
*::-webkit-scrollbar {width: 5px; height: 9px;}
*::-webkit-scrollbar-track {background-color: #6462b5 ;}
*::-webkit-scrollbar-thumb {background-color: transparent;}
/* ================== */

/* Тело форума */
.punbb {
font: normal 100% verdana, arial, helvetica, sans-serif;
	float: left;
	width: 100%;
	height: auto;
}
/***   ШАПКА   ***/
#pun-title table {
width: 1000px;
    height: 566px;
    margin: -20px auto auto -15px;
    background: url(https://forumstatic.ru/files/001c/bd/d1/29056.png);
}


#pun {
width: 970px;
    padding: 0px 15px 0px 15px;
    margin: 40px auto 90px auto;
    background: #D9D9D9;}

/* ================== */

/* Меню навигации */
#pun-navlinks .container {
    transform: translateY(-558px);
    position: relative;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 4px;
    font-family: var(--def-font);
    font-weight: 700;
    font-size: 15px;
}
#pun-navlinks li {
display: inline;
}

/* Юзер меню */
#pun-ulinks .container {
width: 100%;
    transform: translateY(-557px);
    margin-left: 0px;
    justify-content: center;
    text-transform: lowercase;
    display: flex;
    gap: 4px;
    font-family: var(--def-font);
    font-weight: 400;
    font-size: 11px;}

#pun-ulinks li {
display: inline;
}

/* ================== */

/* Объявление */
#pun-announcement .container {    padding: 0 10px 42px 10px;
    text-align: center;}

/* Статус (Добро пожаловать) */
#pun-status .container {
margin: -19px 10px 0px 0px;
    text-align: center;
    padding: 8px 3px 6px;
    font-size: 11px;
    color: #2c2c2c;
font: 10px / 1 var(--def-font);
}
#pun-status span {
    white-space: nowrap;
    margin-right: 5px;
    font: 11px / 1 var(--def-font);
    text-transform: lowercase;
}

#pun-crumbs1 {font-weight: bold;}

/*хлебные крошки */

#pun-crumbs1, #pun-crumbs2 {
    margin-top: 0;
    overflow: hidden;
    text-align: center;
    font: 600 11px / 1 var(--def-font);
    text-transform: lowercase;
}

#pun-crumbs1 p.container {
	padding: 1em 1em 0.8em 1em;
	border-top: none;
}

#pun-crumbs1 .crumbs a:last-of-type,
#pun-crumbs2 .crumbs a:last-of-type {
    color: #5959a1;
}

#pun-crumbs1 .crumbs em,
#pun-crumbs2 .crumbs em {
    font-style: normal;
    font-size: 0;
}

#pun-crumbs1 .crumbs em::before,
#pun-crumbs2 .crumbs em::before {
    content: "/ ";
    font-size: 12px;
    color: #888;
}

#pun-crumbs1 .crumbs em:first-of-type,
#pun-crumbs2 .crumbs em:first-of-type {
    display: none;
}

/* Копирайт майбб */
#pun-about .container {text-align: center;
    padding: 10px;
    font: var(--def-font);
    font-size: 10px;
    text-transform: lowercase;}

/* ================== */

/* Форумные таблицы */
table {table-layout: fixed; width: 100%;}
#respect {width: auto;}
.tcl {width: 65%;}
.tc2, .tc3, .tcmod {
text-align: center;
width: 10%;
}
.tcr {width: 40%;}

/* колонка последнего сообщения на главной */
#pun-index td.tcr {
align-items: center;
    padding: 0 !important;
    font: 14px 'Jost';
    text-transform: lowercase;
    text-align: left;
    padding-left: 20px !important;}
.punbb .main .tcr a {
    font-weight: 700;
    text-transform: uppercase;
}
#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;}

#pun-index tbody.hasicon td.tcl {padding-left: 0px;
    color: #737373; position: relative;}


tbody.hasicon td.tcl {padding-left: 40px}

#pun-index .tclcon {
width: 690px;
    position: relative;
    font: 500 11px Advent Pro;
    color: #000;
}

#pun-index .tcl h3 {
font: 700 22px "Advent Pro";
    text-transform: uppercase;
    position: relative;
}

#pun-index .tcl h3 a {
    color: #000!important;
}

#pun-index .inew .tcl h3 a {
    color: #5959A1!important;
}

#pun-index .category tr {
margin: 0px 10px 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
         "tcl"
        "tcr";
    height: auto;
    padding: 2px 20px;
}

#pun-index .category tr .tcl {
    grid-area: tcl;
}

#pun-index .category .tcl,
#pun-index .category .tcr {
    width: 100% !important;
    position: static;
    left: auto;
}

#pun-index .category tr .tcr { grid-area: tcr;
    display: flex;
    align-items: center;
    padding: 0 !important;
    font: 13px 'Advent Pro';
    text-transform: uppercase;
    text-align: left;
    gap: 3px; }

#pun-index .category tr .tcr a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px; /* подберите значение под макет */
}

/*** ПРОСМОТР ПРОФИЛЯ ***/
#viewprofile table {
    width: 100%;
    border-collapse: collapse;
}

#viewprofile tbody {
    display: block;
    width: 100%;
}

#viewprofile tr {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

#viewprofile td {
    display: block;
    padding: 0;
    vertical-align: top;
}

#viewprofile #profile-left {
    flex: 0 0 255px;
}

#profile-left strong {
    font-weight: inherit!important;
}

#viewprofile #profile-right {
display: flex !important;
    flex-wrap: wrap;
    flex: 1;
    gap: 12px;
    width: auto !important;
    padding: 20px !important;
    box-sizing: border-box;
    justify-content: center;
    text-transform: lowercase;
    font: 11px var(--def-font);
}

/* Левая колонка */
#viewprofile #profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    padding: 12px !important;
    background: #E4E4E4;
    border-radius: 5px;
    text-align: center;
    text-transform: lowercase;
    font-family: var(--def-font);
    color: #2c2c2c !important;
    box-shadow: 3px 3px 4px #0000000d;
}

/* Имя */
#viewprofile #profile-name {
    width: 100%;
}

#viewprofile #profile-name strong {
    font: 700 16px / 18px var(--def-font);
    color: #000000;
}

/* Личное звание */
#viewprofile #pa-fld1 {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    font: 400 12px "Jost";
    color: #818181;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#viewprofile #pa-fld1 strong {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#viewprofile #pa-fld1 > span {
    display: none;
}

#viewprofile #pa-fld1 .char-name,
#viewprofile #pa-fld1 .char-race,
#viewprofile #pa-fld1 .char-desc {
    width: 100%;
    text-align: center;
}

#viewprofile #pa-fld1 .char-divider {
    margin: 0 auto 8px auto;
    background-repeat: no-repeat;
}

#viewprofile #profile-title {
font: 500 10px / 1 Jost;
color: #6c6c6c;
    letter-spacing: 0.3px;
text-transform: lowercase;}

/* Аватар */
#viewprofile #pa-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

#viewprofile #pa-avatar img {
    display: block;
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    border-radius: 5px;
}

/* Онлайн */
#viewprofile #pa-online {
    width: 100%;
}

#viewprofile #pa-online strong {
    font: 700 10px / 18px var(--def-font);
    color: #424242;
}

/* Все остальные блоки слева */
#viewprofile #profile-left > div,
#viewprofile #profile-left > dl,
#viewprofile #profile-left > ul,
#viewprofile #profile-left > p {
    width: 100%;
    text-align: center;
}

/* Правая колонка (оставляем как есть) */
#viewprofile #profile-right > li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 180px;
    min-width: 180px;
    min-height: 50px;
    position: relative;
    padding: 10px !important;
    gap: 4px;
    background: #E4E4E4;
    border-radius: 5px;
    text-align: center;
    box-shadow: 3px 3px 4px #0000000d;
}

#viewprofile #profile-right li>span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 171px;
    height: 23px;
    padding: 0 20px;
    margin: 0;
    border-radius: 0 0 7px 7px;
    background: #ffffff6e;
    font: 600 11px var(--def-font);
    text-transform: lowercase;
}

#profile-right li strong {
padding: 5px 0 0 0;
    font-weight: inherit;
}

/* ================== */

/* Категории */
.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, #pun-stats li.item3, #pun-stats li.item4 {
float: left;
clear: both;
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;
padding-bottom: 10px;
    font-family: var(--def-font);
    text-transform: lowercase;
}
.linkst .pagelink,
.linkst .postlink {
position: absolute;
top: -50px;
}
.linkst .pagelink {left: 10px;}
.linkst .postlink {right: 10px; text-align: right;}

.linkst .pagelink strong {
    background: #ffffff;
    padding: 1px 3px 1px 3px;
    border-radius: 5px;
}


.linksb {
text-align: right;
padding: 4px 10px;
    font-family: var(--def-font);
    text-transform: lowercase;
}
.linksb .pagelink {float: left; text-align: left;}
.linksb .postlink {float: right;}
.subscribelink {
clear:both;
padding: 5px 0;
}

.linksb .pagelink strong {
    background: #ffffff;
    padding: 1px 3px 1px 3px;
    border-radius: 5px;
}

/* Модераторское меню, RSS, Atom */
.modmenu .container {padding: 5px 10px;text-align: right;}
.modmenu .container strong {float: left;}
.modmenu input {margin-left: 10px;}

.punbb input, .punbb select {
    background-color: #E4E4E4;
    padding: 3px 10px 3px 10px;
    border: none;
    border-radius: 5px;
    display: inline-block;
}

/* ================== */

/* Страница топика */
.post {margin-top: 10px;}

.post {
    position: relative;
    z-index: 0;
}

.toppost, .topicpost {margin-top: 0;}

.post .container {}
.post h3 {}
.post h3 span {
padding: 5px 10px;
    display: block;
    margin-left: 253px;
    background-color: #E4E4E4;
    font: 500 14px 'Jost';
    text-transform: uppercase;
    border-radius: 5px;
}
.post h3 strong {
    float: right;
    text-align: right;
    font: 700 25px 'Noto Sans Mono';
    color: #000;
    margin: -8px 0 0px 0;
}

/***  ПРОФИЛЬ  ***/
.post-author {
    float: left;
    width: 200px;
    font-size: 10px;
    margin: 0 0 10px 33px;
    font-family: verdana;
    position: relative; 
    background-color: #E4E4E4;
    border-radius: 10px;
    text-align: center;
}


/***   НИК АВТОРА ***/
.pa-author {
    position: absolute;
    top: -38px;
    left: 44px;
    width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    text-transform: lowercase;
    justify-content: flex-start;
    text-align: left;
    font: 700 17px / 18px var(--def-font);}

.pa-title {
    text-transform: lowercase;
    margin-top: 7px;
    padding-bottom: 7px;
    color: #6c6c6c;
    letter-spacing: 0.3px;
    font: 500 11px / 1 Jost;}

/***   ПОЛЯ ПРОФИЛЯ В РЯД ***/
.pstats {
display: flex;
    gap: 5px;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    font: 400 9px "Jost";
    text-transform: lowercase;
    color: #000;
    flex-wrap: nowrap;
    white-space: nowrap;
    word-spacing: -2px;
}


/***   ЛИЧНОЕ ЗВАНИЕ ***/

.pa-fld1 {
    line-height: 110%;
    margin-top: 7px;
text-transform: lowercase;
}

.pa-fld1 .char-name a {
    color: #000000 !important;
}
.pa-fld1 .char-name a:hover {
    color: #6666a7 !important;
}

.char-name {
    font: italic 700 13px / 1 var(--def-font);
    color: #363636;
    text-transform: lowercase;
    margin-bottom: 2px;
}

.char-race {
    text-transform: lowercase;
    color: #383838;
margin: 5px 0 7px 0;
    font: 500 10px / 1 var(--def-font);
}

.char-divider {
    width: 180px;
    height: 1px;
    background: url(https://upforme.ru/uploads/001c/be/8c/2/684010.png);
    margin: 0 auto 8px auto;
}

.char-desc {
   color: #000;
    padding: 0px 10px 15px 10px;
    font: 400 11px / 1 Jost;
    text-align: justify;
    text-transform: lowercase;
}

.pa-fld1 a {    color: #262626 !important;
    font-weight: 600;}
.pa-fld1 a:hover {color: #525252!important;}
/***   ЛОКАЦИЯ   ***/

.pa-fld3 {
    background: #D9D9D9;
    border: 1px solid #B4C6D9;
    width: max-content;
    border-radius: 10px;
    padding: 5px 7px 5px 7px;
    font: 500 11px / 1 Jost;
    margin: 0 auto;}

.pa-fld3::before {
content: "\f3c5";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    margin-right: 4px;
    color: #a0b0c1;
}

/***   ФОН ПРОФИЛЯ***/

.pa-fld4 {
    position: absolute;
    left: -28px;
    top: -37px;
    width: 65px;
    height: calc(100% + 50px);
    z-index: -1;
    border-radius: 8px;
    background-image: url('https://upforme.ru/uploads/001c/bd/d1/7/646114.png');
    background-size: cover;
    background-position: center;
}

.pa-fld4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.post-author::before {
    content: '';
    position: absolute;
    left: -28px;
    top: -37px;
    width: 65px;
    height: calc(100% + 50px);
    z-index: -1;
    border-radius: 8px;
    background-image: url('https://upforme.ru/uploads/001c/bd/d1/7/646114.png');
    background-size: cover;
    background-position: center;
}

.pa-fld4 .perspage1 {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.pa-fld4 .perspage1 a.modal-link {
    display: block;
    width: 100%;
    height: 100%;
}


.post-body {margin-left: 245px;}
.post-box {padding: 10px; text-align: justify;}


li.pa-avatar img {
    max-width: 180px;
    max-height: 180px;
    border-radius: 5px;}

.post-links {margin-left: 300px;}
.post-links ul {
padding: 0 10px 50px 0;
    margin-left: -300px;
    text-align: right;
    text-transform: lowercase;
    font: 500 11px var(--def-font);
}
.post-links li {
display: inline;
padding-left: 10px;
}

.pl-email, .pl-website {float: left;}
.clearer {clear: both; height: 0; font-size: 0;}

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: #E4E4E4;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    font: 1em verdana, arial, helvetica, sans-serif;
}


/***   КНОПКИ   ***/
button,
.button,
input[type="button"],
input[type="submit"] {
    background: #151515;
    color: rgb(245 245 245);
    margin: 4px !important;
    padding: 4px 10px 6px 10px;
    font: 600 11px / 1 var(--def-font);
    text-transform: lowercase;
    cursor: pointer;
    transition: all .2s ease;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #5959a1;
  color: #fff;
}

button:disabled,
.button:disabled,
input:disabled {
  background: rgb(20 20 20 / .12);
  color: rgb(20 20 20 / .388);
  cursor: not-allowed;
}

button:disabled:hover,
.button:disabled:hover,
input:disabled:hover {
  background: rgb(20 20 20 / .12) !important;
  color: rgb(20 20 20 / .388) !important;
}

/* ================== */

/* Подпись в топике */
.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: 150%;
padding: 8px 0 12px 0;
}

.post-content p a {
font-weight: bold;
}

.post-content img {vertical-align: middle;}
.scrollbox {
width: 100%;
overflow: auto;
max-height: 200px;
}
.quote-box, .code-box {
    margin: 10px 0px 10px;
    padding: 13px;
    background: #E4E4E4;
    border-radius: 20px;
    box-shadow: 3px 3px 4px #00000026;
}
.quote-box cite {
    display: block;
    text-transform: lowercase;
    padding-bottom: 6px;
    font-family: var(--def-font);
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
}

.code-box strong.legend {
   display: block;
    padding-bottom: 10px;
    text-transform: lowercase;
    font-family: var(--def-font);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

.code-box pre {
    font: 400 12px / 160% 'courier new';
    white-space: break-spaces;}

blockcode,
blockquote {
  overflow: hidden;
}

.code-box .scrollbox {
  width: 100%;
  overflow: hidden auto;
  height: auto !important;
  max-height: 20vh;
}

/* ================== */

/* Формы */
.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;}

#pun-admain textarea, #pun-admain input, #pun-admain select, #pun-admain optgroup {
    font: 1em verdana, arial, helvetica, sans-serif;
}

.formal .container {padding: 10px 20px;}

.formsubmit {
padding: 0 0 0 15px;
margin: 0px 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;}

/* ================== */

/* Предпросмотр сообщения */
#pun-post .topic {margin-top: 10px;}

/* ================== */

/* Профиль + ЛС */
#profile .container {padding-left: 0px;}

/* ================== */
/* навигация в профиле */

#profilenav {
display:block;
width:auto;
padding-top: 0px; 
text-align: center; 
}

/***   КНОПКИ-ВКЛАДКИ В ЛС И ПРОФИЛЕ   ***/
#profilenav li {
margin: auto 2px 6px 2px;
    padding: 2px 5px;
    border-radius: 4px;
    font: 500 10px var(--def-font);
    background: #161616;
    display: inline-flex;
    text-transform: lowercase;
    transition: all .2s ease;
}

/***   КНОПКИ-ВКЛАДКИ ПРИ НАВЕДЕНИИ   ***/
#profilenav li:hover, #profilenav li:focus, #pun-main li.isactive {
background: #6462b5;}

#profilenav li a {
color: #fff;
}

#profilenav li.item9, li.item10 {
display:none;}

#viewprofile-next #profilenav {display: none;}

div#profilenav {
    display: block !important;
}

#viewprofile ul, #profilenav ul {
    margin: 0 0 1em 0;
    padding: 0.3em 1em 0.5em 1em;
    border-style: none;
    border-width: 0px;
    border-color: transparent;
}

#viewprofile ul:last-child, #profilenav ul:last-child {margin-bottom: 0em;}

#viewprofile h2 span, #profilenav h2 span {
position: relative;
padding: 0 5px;
display: none;
}

#viewprofile li, #setmods dl {margin-bottom: 0.2em; padding: 0 0 0 16em;}

label {
    cursor: default;
    font: 500 14px 'Jost';
    text-transform: lowercase;
}



#viewprofile h2, #profilenav h2 {
padding: 0;
margin: 0;
}
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;}


/* аватар юзера */
#pun-index .user-avatar, .punbb .user-avatar {
    display: none!important;
}

del {
    filter: blur(2px);
    text-decoration: none;
    transition:.10s;
}
del:hover {
    filter: initial;
    transition:.10s;
}


/***   ФОН ДЛЯ ВЫСКАКИВАЮЩИХ ОКОН   ***/
#pun_wrap #post .container[id$="-area"] {
	max-height: 195px;
	overflow: auto;
}

#pun_wrap #post .container[id$="-area"],
#video-area-tinp,
#image-area-tinp,
.pun-modal .modal-inner,
.inner,
#post-sig .container[id$="-area"] {
    background: #f1f1f1;
    border: none;
    border-radius: 8px;
}

/***   ФИКС ДЛЯ СПОЙЛЕРА - ОТСТУП СТРОК   ***/
.spoiler-box>div[onclick]>p {
	display: inline-block;
	margin: 0 !important;
	padding: 0 !important;
}

.post-content .spoiler-box>div {
background: none !important;
    cursor: pointer;
    padding-left: 32px !important;
    position: relative;
    border-radius: 5px;
    font: 600 13px / 1 var(--def-font);
    color: #6462b5;
}

.post-content .spoiler-box>div::before {
	content: "\f717";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
	font-size: 16px;
	font-style: normal;
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	transition: transform .25s ease;
	color: #000;
}

.post-content .spoiler-box>div.visible::before {
	transform: translateY(-50%) rotate(180deg);
}

/* выделение текста */
::selection {
    background: #0000001f;
    color: #000000;
}

/***   ИНДИКАТОР ОНЛАЙНА deff, vandra  ***/
.pa-online, .pa-last-visit {
    display: none;
}

.status-offline::after,
.status-online::after {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-size: 11px;
}

.status-offline::after {
    content: '\f111';
    color: #b9b9b9;
}

.status-online::after {
    content: '\f111';
    color: #5959a1;
    animation: blinkColor 1.1s infinite;
}

/* Контейнеры */
.status-container,
.status-online,
.status-offline {
    position: absolute !important;
    top: -2px;
    left: 192px;
    width: 10px;
    height: 10px;
    z-index: 100;
    cursor: pointer;
}

/* БыстроПлюсы для Топика */
.post-rating p a {
display: inline-flex;
    align-items: center;
    gap: 5px;
    font: 600 13px 'Jost';
    background: #e4e4e4;
    border-radius: 5px;
    padding: 2px 7px;
    color: #3e3e3e;
    text-decoration: none;
}

.post-rating p a::before {
    content: "";
    width: 12px;
    height: 12px;
    display: inline-block;
    background-color: #6666a7;
    -webkit-mask: url(https://forumstatic.ru/files/001b/bd/50/40188.svg) center / contain no-repeat;
    mask: url(https://forumstatic.ru/files/001b/bd/50/40188.svg) center / contain no-repeat;
}

.post-rating p:hover a::before {
    background-color: #4c4c7d;
}

/* Комментарии */
div.post-vote {
    margin-bottom: 65px;
}
div.post-vote p>a {
font-size: 0 !important;
    position: absolute;
    cursor: pointer;
    z-index: 200;
    width: 15px;
    height: 15px;
    background-color: #828282;
    -webkit-mask: url(https://forumstatic.ru/files/001b/bd/50/86006.svg) center / contain no-repeat;
    mask: url(https://forumstatic.ru/files/001b/bd/50/86006.svg) center / contain no-repeat;
    display: block;
    background-size: 100%;
    margin-left: -4px;
    margin-top: 7px;
}


.reveal-modal-bg { 
	position: fixed; 
	height: 100%;
	width: 100%;
	background: #000;
	background: rgba(0,0,0,.8);
	z-index: 100;
	display: none;
	top: 0;
	left: 0; 
	}
.reveal-modal {
	visibility: hidden;
	top: 100px; 
	left: 50%;
	margin-left: -300px;
	width: 520px;
	position: absolute;
	z-index: 101;
	padding: 30px 40px 34px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
	-box-shadow: 0 0 10px rgba(0,0,0,.4);
	}
.reveal-modal.small     { width: 200px; margin-left: -140px;}
.reveal-modal.medium     { width: 400px; margin-left: -240px;}
.reveal-modal.large     { width: 600px; margin-left: -340px;}
.reveal-modal.xlarge     { width: 800px; margin-left: -440px;}
	
.reveal-modal .close-reveal-modal {
	font-size: 22px;
	line-height: .5;
	position: absolute;
	top: 8px;
	right: 11px;
	color: #aaa;
	text-shadow: 0 -1px 1px rbga(0,0,0,.6);
	font-weight: bold;
	cursor: pointer;
        text-decoration: none;
}
.menu span {
    cursor: pointer;
    display: block;
    margin: 7px 0;
    padding: 11px;
    text-align: left;
    width: 150px;
}
.menu-links {
    float: left;
    margin-right: 15px;
}
#submenu {
    display: inline-block;
}
#submenu, .menu span {
        border-radius: 5px;
	background: #efeff0;
}
.menu .tabactive {
	color: #000000;
        background: #777777;
}
#submenu {
	padding: 7px;
	height: 180px;
	font-size: 12px;
	width: 595px;
}    
.submenutext {
	display: none; 
	height: 40px;
}

/* для банка приколов */

.coin-bank,
.coin-bank * {
  box-sizing: border-box;
}

.coin-bank {
  --cb-bg: var(--beg100, transparent);
  --cb-panel: var(--beg900, rgba(255, 255, 255, .72));
  --cb-soft: var(--beg800, rgba(0, 0, 0, .05));
  --cb-border: var(--borders, rgba(0, 0, 0, .18));
  --cb-text: var(--text1, inherit);
  --cb-muted: var(--text2, currentColor);
  --cb-accent: var(--links, currentColor);
  --cb-button: var(--dark600-const, var(--links, currentColor));
  --cb-button-text: var(--text3, #fff);

  width: 100%;
  max-width: 980px;
  margin: 18px auto;
  padding: 16px;
  border-radius: 8px;
  background: var(--cb-bg);
  color: var(--cb-text);
  font: 12px/1.5 var(--font, Arial, sans-serif);
}

.coin-bank__head {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--cb-border);
  border-radius: 8px;
  background: var(--cb-panel);
  text-align: center;
}

.coin-bank__title {
font: 500 26px Advent Pro;
color: #6666a7;
}

.coin-bank__intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--cb-muted);
  font-size: 11px;
}

.coin-bank__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.coin-bank__column,
.coin-bank__tools {
  border: 1px solid var(--cb-border);
  border-radius: 8px;
  background: var(--cb-panel);
}

.coin-bank__column {
  padding: 12px;
}

.coin-bank__subtitle {
margin: 0 0 10px;
    color: #545454;
    text-align: center;
    font: 700 13px / 1.2 var(--def-font);
}

.coin-bank__item {
  display: block;
  padding: 7px 0;
  border-bottom: 1px dotted var(--cb-border);
  border-radius: 8px;
}

.coin-bank__item.is-active {
  margin: 4px 0;
  padding: 8px;
  background: var(--cb-soft);
}

.coin-bank__line {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.coin-bank__check {
  width: 13px;
  height: 13px;
  margin: 2px 0 0;
}

.coin-bank__name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.coin-bank__price {
  min-width: 34px;
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--cb-soft);
  text-align: center;
  font-weight: 700;
}

.coin-bank__hint {
  display: block;
  margin-top: 3px;
  color: var(--cb-muted);
  font-size: 10px;
}

.coin-bank__controls {
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  margin: 7px 0 0 24px;
}

.coin-bank__item.is-active .coin-bank__controls {
  display: grid;
}

.coin-bank__field,
.coin-bank__select,
.coin-bank__qty,
.coin-bank__code {
  min-height: 26px;
  border: 1px solid var(--cb-border);
  border-radius: 8px;
  background: var(--cb-bg);
  color: var(--cb-text);
  font: 11px/1.3 var(--font, Arial, sans-serif);
}

.coin-bank__field {
  width: 100%;
  padding: 5px 8px;
}

.coin-bank__select,
.coin-bank__qty {
  width: 78px;
  padding: 4px 6px;
}

.coin-bank__tools {
  margin-top: 14px;
  padding: 12px;
}

.coin-bank__cart {
  min-height: 38px;
  margin: 7px 0 10px;
  padding: 8px;
  border: 1px solid var(--cb-border);
  border-radius: 8px;
  background: var(--cb-bg);
}

.coin-bank__cart-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px dotted var(--cb-border);
}

.coin-bank__cart-price {
  min-width: 40px;
  max-width: 76px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--cb-soft);
  text-align: center;
  font: 700 10px/1.2 var(--font, Arial, sans-serif);
  overflow-wrap: anywhere;
}

.coin-bank__cart-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.coin-bank__cart-note {
  display: block;
  margin-top: 2px;
  color: var(--cb-muted);
  font-size: 10px;
}

.coin-bank__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 10px;
}

.coin-bank__balance {
  width: 82px;
  padding: 4px 8px;
}

.coin-bank__total {
display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    font: 600 11px / 1 var(--def-font);
}

.coin-bank__button {
min-height: 28px;
    padding: 0 14px;
    border: 1px solid var(--cb-button);
    border-radius: 8px;
    background: #484876;
    color: #fff;
    font: 600 11px / 1 var(--def-font);
    cursor: pointer;
}

.coin-bank__code {
  width: 100%;
  min-height: 116px;
  padding: 10px;
  resize: vertical;
}

.coin-bank__status {
  min-height: 18px;
  color: var(--cb-accent);
  font-weight: 700;
}

@media (max-width: 760px) {
  .coin-bank {
    padding: 10px;
  }

  .coin-bank__columns {
    grid-template-columns: 1fr;
  }

  .coin-bank__controls {
    grid-template-columns: 1fr;
  }
}

.fonchiki {
    height: 433px;
    overflow: hidden;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(8, 74px);
    gap: 10px;
}

.fonchiki img {
height: 200px;
    width: 70px;
    object-fit: cover;
    border-radius: 8px;
    object-position: top;
    box-shadow: 2px 2px 4px #0000003b;}

.fonchiki img:hover {
filter:none;
    box-shadow: 2px 2px 4px #0000008c;
    transition: all 0.2s ease-out;
}