/*************************************************************
A — БАЗОВАЯ НАСТРОЙКА
**************************************************************/

/* A1 Подключение цветовой схемы
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1788327549.css);
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Manrope:wght@400;500;600;700&display=swap');

/* A2 Сброс стандартных настроек браузера
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Базовая типографика
-------------------------------------------------------------*/

/* A3.1 */
body {
 font-size: 100.01%;
  }

/* A3.2 */
.punbb {
 font: normal 68.75% verdana, arial, helvetica, sans-serif;
  }

/* A3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
  }

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace; 
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: none
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Очистка обтекания и скрытые элементы
-------------------------------------------------------------*/

/* A4.1 */
#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;
  }

/* A4.2 */
.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
  }

/* A5 Базовая геометрия страницы и границы
-------------------------------------------------------------*/
/* A5.1 */
#pun {
margin: 50px auto;
width : 920px;
position: relative;
  }

/* A5.2 */
.punbb {
  float: center;
  height: auto;
  width: 860px;
  margin-left: 30px;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none solid none;
  border-width: 0px 0px 2px 0px
  }

/* A5.9 */
.punbb .container {
  border-style: solid;
  border-width: 1px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 0.5em 1em;
  border-style: none solid solid none;
  border-width: 0 1px 1px 0;
  }


/*************************************************************
B — ОСНОВНОЙ КОНТЕНТ: ОБЩИЕ ПРАВИЛА
**************************************************************/

/* B1 Текст сообщений, подписи и прокручиваемые блоки
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 полоска в подписи*/
.punbb .post-sig dt {
  display: block;
  border-top: 1px dotted #aca797;
  width: 350px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    padding: 10px;
    margin: 20px;
 }

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0em;
  font-size: 1.1em;
  font-style: normal;
  margin: 0px;
  }

/* B2 Информационные блоки
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Пагинация и ссылки создания сообщений
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

/* B3.2 */
.multipage {
  margin-top: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C — ОСНОВНОЙ КОНТЕНТ: ЧАСТНЫЕ ЭЛЕМЕНТЫ
**************************************************************/

/* C1 Формы
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold;
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* Совместимость со старыми браузерами */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }


/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* C1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* C2 Табличная разметка
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: visible;
  text-align: left;
  width: 50%;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  background-color: transparent;
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
  background-color: transparent;
  overflow: hidden;
  text-align: left;
  width: 30%;
  }

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
background-color: transparent;
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: left;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* C2.8 Названия подфорумов */
#pun-index .tcl h3 {
    font-size: 30px;
    font-family: 'Cormorant Garamond';
    margin-top: -40px;
    margin-left: 30px;
    text-transform: lowercase;
    }


/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
border-left-style: none;
border-left-width: 0
      }

 /* C3 Темы и сообщения

-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border-style: none solid solid solid;
  border-width: 1px;
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
  }

/* C3.3 */
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  margin-left: 20em;
  border-left-style: solid;
  border-left-width: 1px
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 210px;
  margin-top: -13px;
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }

/* C3.7 */
.pa-author {
padding-top: 5px;
  }

/* C3.8 */
.pa-author a {
  text-decoration: none
  }

/* C3.9 */
li.pa-title {
    margin-bottom: 5px;
    line-height: 100%;
    text-transform: lowercase;
    font-family: arial;
    margin-top: 10px;
   color: #888888;
  }

/* C3.11 */
.punbb .post-body {
  margin-left: 20em;
margin-right: 10px;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 1em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border-top-style: dashed;
  border-top-width: 1px;
  background: transparent;
  text-align: right;
  }

/* C3.16 */


.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Меню модератора
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Служебные сообщения
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Профиль
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;

  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 Список пользователей
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }
/*************************************************************
D — СЛУЖЕБНЫЕ РАЗДЕЛЫ PUNBB ВНЕ ОСНОВНОГО КОНТЕНТА
**************************************************************/

/* D1 Логотип и описание
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  border-style: none none none none;
  border-width: 1px 1px 0 1px;
  }

/* D1.2 */
#pun-title h1 {
  display : block;
  height : -200px;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border-style: none none none none;
  }

/* D1.4 */
#pun-title h1 span  {
  font-size: 1.5em;
  }

/* D1.4 */
#pun-title h1 span  {
  display: none;
  }


/* D2 Навигация страницы
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }




/* D3 Основная навигация форума
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks, #pun-navlinks .container {
  border-style: none;
  border-width: 0;
  margin: 0;
  }

/* D3.2 */
#pun-navlinks .container {
  padding: 0.7em 1em;
  }

/* D.3 */
#pun-navlinks li {
  display: inline;
  }

/* D3.4 */
#pun-navlinks li a {
  font-size: 1.0em;
  }

/* D4 Пользовательские ссылки
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  margin-top: 0;
  }

/* D4.2 */
#pun-ulinks .container {
  border-top: none;
  padding: 0.7em 1em;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  border-left-style: solid;
  border-left-width: 1px;
  white-space: nowrap;
  }

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.2em 0 0.6em
  }

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0
  }

/* D5 Приветствие и верхние хлебные крошки
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
  padding: 0.8em 1em 1em 1em;

  }

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
  }

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Объявление
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* D7 Статистика
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 100%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 100%;
  }

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: solid;
  border-top-width: 1px;
  float: left;
  width: 100%;
  line-height: 100%;
  }

/* D7.5 */
li#onlinelist div {
  border-top-style: solid;
  border-top-width: 1px;
  padding: 0.7em 0 0 0;
  }

/* D8 Быстрый переход, информация и нижние хлебные крошки
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;
  padding: 0em 1em;
padding-bottom: 5px;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: solid none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
  }


/* D9 Справка
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }
/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }

#pun td .modlist {display: none;}

.punbb div.icon {
  float: left;
  display: block;
  height: 34px;
  width: 46px;
  }

/*************************************************************
V2 — АДАПТИВНЫЕ ПЕРЕОПРЕДЕЛЕНИЯ
Этот раздел должен оставаться В КОНЦЕ style.css.
Большинство будущих изменений геометрии вносить здесь.
Цвета и изображения менять в style_cs.1788327549.css.
**************************************************************/

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.punbb *,
.punbb *::before,
.punbb *::after { box-sizing: border-box; }

body { min-width: 0; }

#pun {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 40px;
}

.punbb {
  float: none;
  width: 100%;
  margin-left: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

#pun-title table {
  width: 100%;
  max-width: 100%;
  height: clamp(190px, 27vw, 300px);
  margin-left: 0;
  background-position: center;
  background-size: cover;
}

#pun-title h1 {
  height: auto;
  min-height: 0;
  padding: 0;
}

#pun-navlinks .container,
#pun-ulinks .container {
  margin-top: 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

#pun-navlinks li,
#pun-ulinks li { display: inline-flex; }

#pun-ulinks li,
#pun-ulinks li a { border-left: 0; }

#pun-index td div.tclcon {
  margin-left: 0;
  padding: 20px 22px 22px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.65;
  text-transform: none;
}

#pun-index .tcl h3 {
  margin: 0 0 5px 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
}

#pun-index .tcl h3 a { display: inline-block; }
.punbb .main td { vertical-align: middle; }

.punbb .post { position: relative; }
.punbb .post h3 span { margin-left: 220px; }

.punbb .post .post-author {
  width: 220px;
  margin-top: 0;
  padding: 18px 12px 14px;
}

.punbb .post .post-author ul,
.punbb .post .post-author p {
  padding: 0 12px 12px;
}

.punbb .post-body {
  min-height: 190px;
  margin-left: 220px;
  margin-right: 0;
}

.punbb .post-box { padding: 24px 28px 28px; }
.punbb .post-content { overflow-wrap: anywhere; }
.punbb .post-content p { line-height: 1.75; }

.punbb .post-content img,
.punbb .post-content img.postimg {
  max-width: 100%;
  height: auto;
}

.punbb .post-links { margin-left: 220px; }

.punbb .post-links ul {
  min-height: 36px;
  height: auto;
  margin-left: -220px;
  padding: 7px 14px;
  line-height: 22px;
}

.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.punbb .post-content pre,
.punbb .post-content code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.punbb textarea,
.punbb .longinput input {
  width: min(100%, 760px);
  max-width: 100%;
}

.punbb textarea {
  min-height: 180px;
  resize: vertical;
}

.punbb input,
.punbb select,
.punbb textarea,
#pun-main .formsubmit input {
  border-radius: var(--radius-xs);
}

.punbb input[type="text"],
.punbb input[type="password"],
.punbb input[type="email"],
.punbb select,
.punbb textarea {
  padding: 8px 10px;
}

#profile .container { padding-left: 0; }

#profilenav {
  float: none;
  width: 100%;
  margin-left: 0;
  display: block;
  margin-bottom: 18px;
}

#profilenav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

#profilenav li { padding: 0; }

.punbb a:focus-visible,
.punbb button:focus-visible,
.punbb input:focus-visible,
.punbb select:focus-visible,
.punbb textarea:focus-visible {
  outline: 2px solid var(--accent-cool);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  #pun {
    width: min(100% - 18px, 1120px);
    margin: 10px auto 24px;
  }

  .punbb { font-size: 13px; }

  #pun-title table {
    height: clamp(145px, 42vw, 220px);
  }

  #pun-navlinks .container { font-size: 16px; }

  #pun .tcl,
  .punbb .main .tcl { width: auto; }

  #pun-index .tc2,
  #pun-index .tc3,
  #pun-index .tcr,
  #pun-viewforum .tc2,
  #pun-viewforum .tc3 {
    display: none;
  }

  #pun-index td div.tclcon {
    padding: 16px 14px 18px;
  }

  .punbb .post h3 span { margin-left: 0; }

  .punbb .post .post-author {
    float: none;
    width: 100%;
    padding: 14px 14px 6px;
    border-bottom: 1px solid var(--border);
  }

  .punbb .post .post-author ul,
  .punbb .post .post-author p {
    padding: 0 0 8px;
  }

  #pun-main .post-author ul { text-align: left; }
  .post-author ul li.pa-author { padding-top: 0; }

  .punbb .post-body {
    min-height: 0;
    margin: 0;
    border-left: 0;
  }

  .punbb .post-box { padding: 20px 16px 24px; }

  .punbb .post-links {
    margin-left: 0;
    border-left: 0;
  }

  .punbb .post-links ul {
    margin-left: 0;
    text-align: left;
  }

  .punbb .linkst {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }

  .linkst .pagelink,
  .linkst .postlink {
    position: static;
    width: auto;
    text-align: left;
  }

  .punbb .linksb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    text-align: left;
  }

  .linksb .pagelink,
  .linksb .postlink {
    float: none;
    width: auto;
    text-align: left;
  }

  .punbb .formal .container { padding: 16px; }

  .punbb .areafield span.input,
  .punbb p.longinput span.input { padding-right: 0; }

  .punbb .helplinks {
    position: static;
    width: auto;
    margin-top: 8px;
  }
}

@media (max-width: 460px) {
  #pun { width: calc(100% - 10px); }

  #pun-navlinks .container,
  #pun-ulinks .container { gap: 5px 10px; }

  #pun-index .tcl h3 { font-size: 21px; }
  .punbb .post-box { padding: 18px 12px 22px; }

  .punbb .post-content .quote-box,
  .punbb .post-content .code-box { padding: 13px; }
}

/*************************************************************
V2.2 — СОВМЕСТИМОСТЬ С RPG-ФУНКЦИЯМИ И СТАРЫМИ ПОСТАМИ
Этот раздел заменяет CSS, который раньше находился в HTML-верх.
Не переносить его обратно в HTML-верх.
**************************************************************/

/* U1. Скрытие отметки о редактировании */
.lastedit {
  display: none !important;
}

/* U2. Кнопки прокрутки вверх и вниз */
.go-up,
.go-down {
  display: none;
  position: fixed;
  right: max(18px, calc((100vw - min(1120px, calc(100vw - 32px))) / 2 - 48px));
  z-index: 9999;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--control-bg);
  color: var(--accent-warm);
  box-shadow: var(--shadow-card);
  font: 600 18px/36px "Manrope", Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  opacity: .82;
  transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.go-up:hover,
.go-down:hover,
.go-up:focus-visible,
.go-down:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  background: var(--control-hover);
}

.go-up { bottom: calc(50% + 24px); }
.go-down { bottom: calc(50% - 24px); }

/* U3. Совместимость со старым тегом [float=left/right] */
.rpg-float {
  display: inline-block;
  max-width: min(48%, 420px);
  margin-top: 4px;
  margin-bottom: 12px;
}

.rpg-float img {
  max-width: 100%;
  height: auto;
}

.rpg-float-left {
  float: left;
  margin-right: 18px;
}

.rpg-float-right {
  float: right;
  margin-left: 18px;
}

.punbb .post-sig {
  clear: both;
}

/* U4. Дополнительные кнопки редактора */
#button-image-plain,
#button-float-rpg,
#button-rpidentity {
  vertical-align: middle;
}

.rpg-toolbar-button {
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--accent-cool);
  font: 600 10px/26px "Manrope", Arial, sans-serif;
  letter-spacing: .03em;
  cursor: pointer;
}

.rpg-toolbar-button:hover,
.rpg-toolbar-button:focus-visible {
  background: var(--surface-soft);
  color: var(--accent-warm);
}

.rpg-editor-menu {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10050;
  width: min(320px, calc(100vw - 28px));
  transform: translate(-50%, -50%);
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.rpg-editor-menu.is-open {
  display: block;
}

.rpg-editor-menu strong {
  display: block;
  margin: 2px 4px 10px;
  font: 600 15px/1.3 "Cormorant Garamond", Georgia, serif;
  color: var(--text);
}

.rpg-editor-menu button {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface-soft);
  color: var(--text);
  font: 500 12px/1.3 "Manrope", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.rpg-editor-menu button:hover,
.rpg-editor-menu button:focus-visible {
  border-color: var(--accent-warm);
  background: var(--surface-warm);
}

.rpg-editor-menu .rpg-menu-close {
  margin-top: 10px;
  text-align: center;
  color: var(--text-soft);
}

#rpg-charcount {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-cool);
  background: var(--surface-soft);
  font: 500 10px/1.3 "Manrope", Arial, sans-serif;
}

/* U5. Кнопка выделения кода */
.rpg-select-code {
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: var(--accent-warm);
  font: 500 10px/1.2 "Manrope", Arial, sans-serif;
  cursor: pointer;
}

.rpg-select-code:hover,
.rpg-select-code:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

/* U6. Смена данных автора внутри отдельного поста */
.post.has-rpg-identity .pa-author a {
  color: var(--accent-warm);
}

.punbb .pa-avatar img {
  max-width: 180px;
  height: auto;
  border-radius: var(--radius-sm);
}

/* U7. Старые RPG-карточки из прежнего HTML-верх
   Сохранено для совместимости со старыми сообщениями. */
.anketa1,
.anketa2,
.anketa {
  width: 610px;
  max-width: 100%;
  height: 570px;
  margin-left: auto;
  margin-right: auto;
  overflow: auto;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.anketa1 { background-image: url("https://i.imgur.com/o3ducIn.png"); }
.anketa2 { background-image: url("https://i.imgur.com/QxAEVLC.png"); }
.anketa  {
  margin-bottom: 70px;
  background-image: url("https://i.imgur.com/FfyVZkq.gif");
}

.madnesstop,
.witchtop,
.startop {
  padding: 10px 8px 7px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  text-shadow: 1px 1px 0 rgba(255,255,255,.75);
}

.madnesstop {
  font-size: 20px;
  color: var(--card-madness);
  letter-spacing: 4px;
}

.witchtop {
  font-size: 28px;
  color: var(--card-witch);
  letter-spacing: 4px;
}

.startop {
  font-size: 28px;
  color: var(--card-star);
  letter-spacing: 1px;
}

.madnessimage,
.witchimage,
.starimage {
  width: 180px;
  height: 150px;
}

.madness,
.witch,
.star {
  width: 180px;
  height: 365px;
}

.madness1,
.witch1,
.star1 {
  width: 170px;
  margin: auto;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  text-align: center;
  text-transform: uppercase;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
}

.madness1 { padding: 5px; background: var(--card-madness); }
.witch1   { padding: 5px; background: var(--card-witch); }
.star1    { padding: 4px; background: var(--card-star); }

.madness2,
.witch2,
.star2 {
  width: 170px;
  margin: auto;
  color: #000;
  text-transform: uppercase;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
}

.madness2 { padding: 5px; background: var(--card-light); }
.witch2   { padding: 5px; background: var(--card-cream); }
.star2    { padding: 4px; background: var(--card-light); }

.madnessback,
.witchback,
.starback {
  height: 493px;
  margin-top: -16px;
  padding-top: 5px;
}

.madnessback,
.starback { background: var(--card-light); }

.witchback { background: var(--card-cream); }

.madness3,
.witch3,
.star3 {
  width: 320px;
  max-width: calc(100% - 20px);
  min-height: 18px;
  margin-left: 50px;
  padding-top: 6px;
  text-align: center;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
}

.madness3 {
  color: var(--card-madness);
  background: url("https://i.imgur.com/o3ducIn.png");
}

.witch3 {
  color: #fff;
  background: var(--card-witch);
}

.star3 {
  color: #fff;
  background: url("https://i.imgur.com/FfyVZkq.gif");
}

#madnesstext,
#witchtext,
#startext {
  height: 445px;
  overflow: auto;
  padding: 5px;
  color: #000;
  font: 11px/1.5 "Manrope", Arial, sans-serif;
  text-align: justify;
}

#madnesstext,
#startext { background: var(--card-light); }

#witchtext { background: var(--card-cream); }

.fon,
.fon2 {
  width: 610px;
  max-width: 100%;
  height: 570px;
  background-repeat: no-repeat;
}

.fon  { border: 5px solid #333; }
.fon2 { border: 5px solid #dbc7a7; }

.sol {
  width: 610px;
  max-width: 100%;
  height: 570px;
  opacity: 0;
  transition: opacity .5s linear;
}

.anketa1 .sol,
.anketa .sol { background: var(--card-light); }

.anketa2 .sol { background: var(--card-cream); }

.sol:hover,
.sol:focus-within {
  opacity: .95;
}

@media (max-width: 760px) {
  .go-up,
  .go-down {
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 16px;
    line-height: 32px;
  }

  .rpg-float {
    float: none !important;
    display: block;
    max-width: 100%;
    margin: 10px auto 16px !important;
    text-align: center;
  }

  .anketa1,
  .anketa2,
  .anketa,
  .fon,
  .fon2,
  .sol {
    max-width: 100%;
  }
}
/**********************************************************************
V3.1 — СОВРЕМЕННЫЙ ВИЗУАЛ ПО РЕФЕРЕНСУ №3
-----------------------------------------------------------------------
Главная идея:
- тёплый фактурный фон вокруг форума;
- светлая "бумажная" центральная область;
- пыльно-коралловый основной акцент;
- округлые карточки без тяжёлых рамок;
- крупная коллажная шапка;
- Manrope для интерфейса и длинных текстов;
- Cormorant Garamond только для отдельных редакционных акцентов.

ВАЖНО:
цвета и ссылки на картинки менять в style_cs.1788327549.css;
геометрию и расположение элементов менять в этом разделе.
**********************************************************************/

/* V3.1.1 Общая оболочка страницы */
html,
body {
  min-width: 0;
  background-color: var(--page-bg);
  background-image:
    linear-gradient(var(--page-overlay), var(--page-overlay)),
    var(--page-bg-image);
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

body {
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
}

#pun {
  width: min(1080px, calc(100% - 34px));
  margin: 34px auto 48px;
  padding: 0 0 26px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-shell);
  background: var(--forum-shell);
  box-shadow: var(--shadow-shell);
  overflow: visible;
}

.punbb {
  width: 100%;
  margin: 0;
  float: none;
  font: 13px/1.6 "Manrope", Arial, sans-serif;
  color: var(--text);
}

/* V3.1.2 Шапка.
   Ссылку на новое коллажное изображение менять в style_cs.1788327549.css:
   --header-image: url("ССЫЛКА_НА_ШАПКУ"); */
#pun-title {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-shell) var(--radius-shell) 0 0;
}

#pun-title .container {
  border: 0;
  background: transparent;
}

#pun-title table {
  width: 100%;
  max-width: 100%;
  height: clamp(245px, 31vw, 355px);
  margin: 0;
  border: 0;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.02), var(--header-overlay)),
    var(--header-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* V3.1.3 Основная навигация.
   Тонкая коралловая полоса повторяет принцип референса №3. */
#pun-navlinks {
  position: relative;
  z-index: 5;
  margin: 0 22px;
  transform: translateY(-14px);
}

#pun-navlinks .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin: 0 !important;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 7px 18px rgba(83, 58, 56, .12);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .035em;
  text-transform: lowercase;
}

#pun-navlinks li {
  display: inline-flex;
}

#pun-navlinks li a,
#pun-navlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--on-accent) !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

#pun-navlinks a:hover,
#pun-navlinks a:focus-visible,
#pun-navlinks a:active {
  color: var(--on-accent) !important;
  background: rgba(255,255,255,.16);
  transform: translateY(-1px);
}

/* V3.1.4 Пользовательские ссылки под основной навигацией */
#pun-ulinks {
  margin: -5px 24px 8px;
}

#pun-ulinks .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 12px;
  margin: 0 !important;
  padding: 0 0 9px;
  border: 0;
  background: transparent;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: lowercase;
}

#pun-ulinks li,
#pun-ulinks li a {
  border: 0;
}

#pun-ulinks a {
  color: var(--text-soft);
}

#pun-ulinks a:hover,
#pun-ulinks a:focus-visible {
  color: var(--accent);
}

/* V3.1.5 Служебная строка, хлебные крошки и основной контент */
#pun-status,
#pun-crumbs1,
#pun-crumbs2,
#pun-main,
#pun-stats,
#pun-qjump,
#pun-about,
#pun-announcement {
  margin-left: 24px;
  margin-right: 24px;
}

#pun-status .container,
#pun-crumbs1 .container,
#pun-crumbs2 .container {
  padding-left: 4px;
  padding-right: 4px;
  border: 0;
  background: transparent;
  color: var(--text-faint);
  font-size: 10px;
}

#pun-crumbs1 a,
#pun-crumbs2 a {
  color: var(--accent);
}

/* V3.1.6 Категории.
   В старом стиле заголовок категории был картинкой.
   Теперь текст снова видим и редактируется прямо в панели RusFF. */
#pun-category1.category h2,
.punbb .category h2,
#pun-stats.section h2 {
  min-height: 0 !important;
  height: auto !important;
  padding: 9px 16px !important;
  border: 0 !important;
  border-radius: 13px 13px 0 0;
  background: linear-gradient(90deg, var(--accent-soft), var(--sand-soft)) !important;
  box-shadow: none;
}

#pun-stats h2 span,
.category h2 span {
  display: block !important;
  visibility: visible !important;
  color: var(--accent-dark);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.punbb .category,
#pun-stats.section,
.punbb .forum,
.punbb .formal,
.punbb .info {
  margin-top: 18px;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* V3.1.7 Главная страница: форумные строки */
#pun-index .category table,
#pun-index .category .container {
  width: 100%;
  border: 0;
  background: var(--surface);
}

#pun-index .main td,
#pun-index .main th {
  border-left: 0 !important;
  border-right: 0 !important;
}

#pun-index .main tbody tr + tr td {
  border-top: 1px solid var(--border) !important;
}

#pun-index .main td {
  padding: 18px 16px;
  background: transparent;
  vertical-align: middle;
}

#pun-index .main tbody tr {
  transition: background-color .18s ease;
}

#pun-index .main tbody tr:hover {
  background: var(--surface-hover);
}

#pun-index td div.tclcon {
  margin: 0;
  padding: 0 4px 0 10px;
  color: var(--text-soft);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.65;
  text-align: left;
  text-transform: none;
}

#pun-index .tcl h3 {
  margin: 0 0 6px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: lowercase;
}

#pun-index .tcl h3 a,
#pun-index td div.tclcon a {
  color: var(--accent);
}

#pun-index .tcl h3 a:hover,
#pun-index td div.tclcon a:hover {
  color: var(--accent-dark);
}

/* V3.1.8 Иконки новых сообщений без внешних картинок */
.punbb div.icon {
  width: 10px;
  height: 10px;
  margin: 7px 8px 0 0;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: none;
}

.punbb tr.inew div.icon {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* V3.1.9 Второстепенные колонки главной страницы */
#pun-index .tc2,
#pun-index .tc3 {
  color: var(--text-faint);
  font-size: 10px;
  text-align: center;
}

#pun-index .tcr {
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.45;
}

#pun-index .tcr a {
  color: var(--accent);
  font-weight: 600;
}

/* V3.1.10 Список тем */
#pun-viewforum .forum,
#pun-viewforum .main {
  border-radius: var(--radius-card);
}

#pun-viewforum .main td {
  padding-top: 14px;
  padding-bottom: 14px;
}

#pun-viewforum .tcl a {
  font-weight: 600;
}

/* V3.1.11 Сообщения.
   Desktop сохраняет привычную RPG-схему: профиль слева, пост справа. */
.punbb .post {
  margin-top: 18px;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.punbb .post h3 {
  min-height: 34px;
  border: 0 !important;
  background: var(--surface-muted);
  color: var(--text-faint);
}

.punbb .post h3 span {
  margin-left: 220px;
  padding: 9px 18px;
  border: 0;
  color: var(--text-faint);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .035em;
}

.punbb .post .post-author {
  width: 220px;
  margin-top: 0;
  padding: 18px 15px 15px;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-warm), var(--surface));
  box-sizing: border-box;
}

#pun-main .post-author ul {
  text-align: center;
}

.post-author ul li.pa-author {
  padding-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.05;
}

.post-author ul li.pa-author a {
  color: var(--accent);
}

.pa-title,
.pa-respect,
.pa-posts {
  color: var(--text-faint);
  font-family: "Manrope", Arial, sans-serif;
}

.pa-online {
  color: var(--accent);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
}

.punbb .pa-avatar img {
  max-width: 180px;
  height: auto;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(70, 54, 49, .08);
}

.punbb .post-body {
  min-height: 220px;
  margin-left: 220px;
  margin-right: 0;
  border: 0;
  background: var(--surface);
}

.punbb .post-box {
  padding: 27px 30px 30px;
}

.punbb .post-content {
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.78;
}

.punbb .post-content p {
  line-height: 1.78;
}

.punbb .post-links {
  margin-left: 220px;
  border: 0;
}

.punbb .post-links ul {
  min-height: 36px;
  height: auto;
  margin-left: -220px;
  padding: 8px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
  line-height: 20px;
}

.punbb .post-links a {
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: lowercase;
}

.punbb .post-links a:hover {
  color: var(--accent);
}

/* V3.1.12 Цитаты, код и подписи */
.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--accent-softest);
  color: var(--text);
}

.punbb .post-content .code-box {
  background: var(--surface-muted);
}

.punbb .quote-box cite,
.punbb .code-box strong.legend {
  margin-bottom: 7px;
  color: var(--accent-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
}

.punbb .post-sig dt {
  width: min(360px, 100%);
  margin: 15px 0 8px;
  border-top: 1px solid var(--border);
}

/* V3.1.13 Поля ввода и кнопки */
.punbb select,
.punbb input,
.punbb textarea {
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--input-bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
}

.punbb input[type="text"],
.punbb input[type="password"],
.punbb input[type="email"],
.punbb select,
.punbb textarea {
  padding: 9px 11px;
}

.punbb textarea {
  min-height: 190px;
  line-height: 1.65;
}

#pun-main .formsubmit input,
.punbb input[type="submit"],
.punbb input[type="button"],
.punbb button {
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

#pun-main .formsubmit input:hover,
.punbb input[type="submit"]:hover,
.punbb input[type="button"]:hover,
.punbb button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* V3.1.14 Пагинация как небольшие карточки */
.pagelink a,
.pagelink strong {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin: 0 3px 3px 0;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.pagelink strong {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* V3.1.15 Статистика в виде светлых капсул */
#pun-stats .container {
  padding: 14px;
  background: transparent;
}

#pun-stats ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  float: none;
  clear: none;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  text-align: center;
  line-height: 1.35;
}

#pun-stats li#onlinelist {
  grid-column: 1 / -1;
  float: none;
  width: auto;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text-soft);
}

#pun-stats li#onlinelist div {
  padding-top: 0;
  border: 0;
}

/* V3.1.16 Кнопки прокрутки */
.go-up,
.go-down {
  border-color: var(--border);
  background: rgba(248, 246, 244, .93);
  color: var(--accent);
  box-shadow: var(--shadow-card);
}

.go-up:hover,
.go-down:hover {
  background: var(--surface);
  color: var(--accent-dark);
}

/* V3.1.17 Небольшие RPG-кнопки редактора */
.rpg-toolbar-button {
  color: var(--accent);
}

.rpg-toolbar-button:hover,
.rpg-toolbar-button:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.rpg-editor-menu {
  border-color: var(--border);
  background: var(--surface);
}

.rpg-editor-menu strong {
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
}

.rpg-editor-menu button {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--text);
}

.rpg-editor-menu button:hover,
.rpg-editor-menu button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-softest);
}

#rpg-charcount {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--accent-dark);
}

/* V3.1.18 Подвал */
#pun-about .container {
  padding-top: 14px;
  color: var(--text-faint);
  font-size: 9px;
}

/* V3.1.19 Мобильная версия */
@media (max-width: 760px) {
  html,
  body {
    background-attachment: scroll;
  }

  #pun {
    width: calc(100% - 12px);
    margin: 6px auto 18px;
    border-radius: 16px;
  }

  #pun-title {
    border-radius: 16px 16px 0 0;
  }

  #pun-title table {
    height: clamp(170px, 52vw, 245px);
  }

  #pun-navlinks {
    margin: 0 10px;
    transform: translateY(-10px);
  }

  #pun-navlinks .container {
    gap: 3px 4px;
    padding: 7px 8px;
    font-size: 10px;
  }

  #pun-navlinks li a,
  #pun-navlinks a {
    min-height: 25px;
    padding: 2px 7px;
  }

  #pun-ulinks {
    margin-left: 12px;
    margin-right: 12px;
  }

  #pun-status,
  #pun-crumbs1,
  #pun-crumbs2,
  #pun-main,
  #pun-stats,
  #pun-qjump,
  #pun-about,
  #pun-announcement {
    margin-left: 10px;
    margin-right: 10px;
  }

  #pun-index .tc2,
  #pun-index .tc3,
  #pun-index .tcr,
  #pun-viewforum .tc2,
  #pun-viewforum .tc3 {
    display: none;
  }

  #pun-index .main td {
    padding: 15px 11px;
  }

  #pun-index td div.tclcon {
    padding-left: 6px;
  }

  #pun-index .tcl h3 {
    font-size: 16px;
  }

  .punbb .post h3 span {
    margin-left: 0;
    padding: 8px 12px;
  }

  .punbb .post .post-author {
    float: none;
    width: 100%;
    padding: 13px 14px 9px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  #pun-main .post-author ul {
    text-align: left;
  }

  .post-author ul li.pa-author {
    font-size: 22px;
  }

  .punbb .pa-avatar img {
    max-width: 110px;
  }

  .punbb .post-body {
    min-height: 0;
    margin: 0;
  }

  .punbb .post-box {
    padding: 20px 15px 23px;
  }

  .punbb .post-content {
    font-size: 13px;
    line-height: 1.72;
  }

  .punbb .post-links {
    margin-left: 0;
  }

  .punbb .post-links ul {
    margin-left: 0;
    padding: 8px 12px;
  }

  #pun-stats ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* V3.1.20 Очень узкие экраны */
@media (max-width: 430px) {
  #pun-navlinks .container {
    border-radius: 13px;
  }

  #pun-stats ul {
    grid-template-columns: 1fr;
  }

  #pun-stats li#onlinelist {
    grid-column: 1;
  }

  .punbb .post-content {
    font-size: 12.5px;
  }
}

/*
======================================================================
RUSFF V3.3 — ВИЗУАЛЬНЫЕ ПЕРЕОПРЕДЕЛЕНИЯ
======================================================================

КУДА ВСТАВЛЯТЬ:
в САМЫЙ КОНЕЦ поля "Структура style.css".

Все комментарии здесь относятся только к текущей голубой версии дизайна.
*/

/* ==================================================================
   1. ОСНОВНАЯ НАВИГАЦИЯ
   Коралл заменяем на пыльный голубой, чтобы навигация продолжала шапку,
   а не конкурировала с ней.
   ================================================================== */
#pun-navlinks .container {
  background:
    linear-gradient(
      90deg,
      #638fa2 0%,
      var(--accent) 50%,
      #78a9bb 100%
    );
  box-shadow: 0 7px 18px rgba(48, 78, 90, .14);
}

#pun-navlinks a:hover,
#pun-navlinks a:focus-visible,
#pun-navlinks a:active {
  background: rgba(255, 255, 255, .17);
}

/* ==================================================================
   2. ВТОРАЯ СТРОКА НАВИГАЦИИ
   Её делаем нейтрально-серой; коралл оставляем только при наведении.
   ================================================================== */
#pun-ulinks a {
  color: var(--text-soft);
}

#pun-ulinks a:hover,
#pun-ulinks a:focus-visible {
  color: var(--accent-secondary-dark);
}

/* ==================================================================
   3. ЗАГОЛОВКИ КАТЕГОРИЙ
   Вместо розово-песочного градиента используем очень светлый голубой
   с небольшим тёплым переходом справа.
   ================================================================== */
#pun-category1.category h2,
.punbb .category h2,
#pun-stats.section h2 {
  background:
    linear-gradient(
      90deg,
      var(--accent-soft) 0%,
      #e5eef0 58%,
      var(--sand-soft) 100%
    ) !important;
}

#pun-stats h2 span,
.category h2 span {
  color: var(--accent-dark);
}

/* ==================================================================
   4. НАЗВАНИЯ ФОРУМОВ
   Голубой остаётся основным цветом ссылок.
   Коралл появляется только при наведении.
   ================================================================== */
#pun-index .tcl h3 a,
#pun-index td div.tclcon a {
  color: var(--accent-dark);
}

#pun-index .tcl h3 a:hover,
#pun-index td div.tclcon a:hover {
  color: var(--accent-secondary-dark);
}

/* ==================================================================
   5. ИНДИКАТОР НОВЫХ СООБЩЕНИЙ
   Здесь как раз оставляем коралл: это небольшой сигнал состояния.
   ================================================================== */
.punbb tr.inew div.icon {
  border-color: var(--accent-secondary);
  background: var(--accent-secondary);
  box-shadow: 0 0 0 4px var(--accent-secondary-soft);
}

/* Обычный прочитанный раздел — холодный голубовато-серый кружок */
.punbb div.icon {
  border-color: var(--border-strong);
  background: var(--surface);
}

/* ==================================================================
   6. ПОСЛЕДНЕЕ СООБЩЕНИЕ
   Делаем дату и служебную информацию менее контрастными.
   ================================================================== */
#pun-index .tcr {
  color: var(--text-soft);
}

#pun-index .tcr a {
  color: var(--accent-dark);
}

#pun-index .tcr a:hover {
  color: var(--accent-secondary-dark);
}

/* ==================================================================
   7. СТАТИСТИКА
   Капсулы остаются почти белыми, при наведении получают голубой оттенок.
   ================================================================== */
#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4,
#pun-stats li#onlinelist {
  background: rgba(250, 249, 247, .86);
  border-color: var(--border);
}

#pun-stats li.item1:hover,
#pun-stats li.item2:hover,
#pun-stats li.item3:hover,
#pun-stats li.item4:hover {
  background: var(--accent-softest);
}

/* ==================================================================
   8. ПОСТЫ И ПРОФИЛЬ АВТОРА
   Холодный голубой используем в служебных деталях,
   но сам литературный текст остаётся нейтральным.
   ================================================================== */
.punbb .post .post-author {
  background:
    linear-gradient(
      180deg,
      #f2f6f7 0%,
      var(--surface) 100%
    );
}

.post-author ul li.pa-author a,
.pa-online {
  color: var(--accent-dark);
}

.punbb .post-content {
  color: var(--text);
}

.punbb .post-content .quote-box {
  background: var(--accent-softest);
}

.punbb .quote-box cite,
.punbb .code-box strong.legend {
  color: var(--accent-dark);
}

/* ==================================================================
   9. КНОПКИ ФОРМ
   Основные действия — голубые.
   Коралл оставляем для hover, чтобы интерфейс не был монотонным.
   ================================================================== */
#pun-main .formsubmit input,
.punbb input[type="submit"],
.punbb input[type="button"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

#pun-main .formsubmit input:hover,
.punbb input[type="submit"]:hover,
.punbb input[type="button"]:hover {
  border-color: var(--accent-secondary);
  background: var(--accent-secondary);
}

/* ==================================================================
   10. КАСТОМНЫЕ КНОПКИ "ВВЕРХ / ВНИЗ"

   Ссылки на изображения находятся НЕ здесь, а в style_cs.1788327549.css:
   --scroll-up-image
   --scroll-down-image

   Исходные изображения рекомендуется делать 88x88 или 96x96 px.
   На странице они отображаются размером около 44x44 px.
   ================================================================== */
.go-up,
.go-down {
  width: var(--scroll-button-size);
  height: var(--scroll-button-size);

  padding: 0;

  border: 1px solid rgba(106, 159, 179, .28);
  border-radius: 50%;

  background-color: var(--scroll-button-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--scroll-image-size) var(--scroll-image-size);

  color: rgb(78 120 138 / var(--scroll-text-opacity));

  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: var(--scroll-button-size);

  box-shadow: 0 6px 20px rgba(48, 65, 71, .12);

  opacity: .92;

  transition:
    opacity .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

/* Картинка кнопки "вверх" */
.go-up {
  background-image: var(--scroll-up-image);
}

/* Картинка кнопки "вниз" */
.go-down {
  background-image: var(--scroll-down-image);
}

.go-up:hover,
.go-down:hover,
.go-up:focus-visible,
.go-down:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 23px rgba(48, 65, 71, .17);
}

/* Положение кнопок справа от форума */
.go-up {
  bottom: calc(50% + 25px);
}

.go-down {
  bottom: calc(50% - 25px);
}

/* На телефоне кнопки делаем чуть меньше */
@media (max-width: 760px) {
  .go-up,
  .go-down {
    --scroll-button-size: 38px;
    --scroll-image-size: 34px;

    right: 9px;
    font-size: 15px;
  }
}
