@import url(style_cs.1784804182.css);

/* шрифты бланш */
@import url(https://forumstatic.ru/files/001a/28/10/55678.css); 

/* Иконический шрифт */
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

@font-face {
    font-family: 'Marlino Regular Personal Use';
    src: url('https://forumstatic.ru/files/001c/43/fc/54674.eot');
    src: local('Marlino Regular Personal U'), local('MarlinoRegularPersonalUse'),
        url('https://forumstatic.ru/files/001c/43/fc/54674.eot?#iefix') format('embedded-opentype'),
        url('https://forumstatic.ru/files/001c/43/fc/47695.woff2') format('woff2'),
        url('https://forumstatic.ru/files/001c/43/fc/56850.woff') format('woff'),
        url('https://forumstatic.ru/files/001c/43/fc/84814.ttf') format('truetype'),
        url('https://forumstatic.ru/files/001c/43/fc/60952.svg#MarlinoRegularPersonalUse') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/****************************************
Чистый стиль by Alex Kolmar (бродяга)
****************************************/

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0.0;
  font-size: 0;
}


/* Основные переменные
------------------------------------------*/

:root {
  --body-bg: #BCBCE2;
  --pun-bg: #FFFCF5;
  --sec-bg: #F9F5EC;
  --link: #89515A;
  --link-hover: #711624;
  --textcolor: #323244;
  --pwidth: 224px;
  --pad1: 10px 40px;
  --pad2: 5px 20px;
  --pad3: 5px 10px;
  --font-family: "Century Gothic", sans-serif;
  --second-family: "Marlino Regular Personal Use", sans-serif;
  --iconsfont:'Material Icons Outlined';
}

.rose{
  --body-bg: #BCBCE2;
  --pun-bg: #FFFCF5;
  --sec-bg: #F9F5EC;
  --link: #89515A;
  --link-hover: #711624;
}

.blue{
    --body-bg: #C3A6A6;
    --pun-bg: #D8D6D3;
    --sec-bg: #E8E8E8;
    --link: #506B76;
    --link-hover: #2E4752;
}

/* Global
------------------------------------------*/

/* Применяется ко всем элементам */

* {
  margin: 0;
  padding: 0;
  border: none;
  text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--link-hover) var(--sec-bg);
}

/* прокрутка хром etc */

*::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

*::-webkit-scrollbar-track {
  background-color: var(--sec-bg);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--link);
}

*::-webkit-scrollbar-thumb:active {
  background: var(--link-hover);
}

/* выделение текста */

::selection {
  background: var(--link);
  color: var(--pun-bg);
}

del {
    opacity: 0.7;
    filter: blur(2px);
    text-decoration: none;
    transition: all .3s linear 0s;
}

del:hover {
    opacity: 1;
    filter: none;
    text-decoration: none;
}

.post-content hr {
    border: 1px dashed var(--body-bg);
}

:focus {
  outline: none;
}

/* все ссылки */

a,
.punbb #pun-admain a {
  text-decoration: none;
  color: var(--link);
  transition: all .2s linear 0s;
}

a:hover,
.punbb #pun-admain a:hover {
  color: var(--link-hover);
}

/* все заголовки */

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre {
  margin: 0;
}

h1,
h2 {
  padding: 10px 20px;
  font-weight: normal;
  text-align: center;
}

.multipage h1, .multipage h2 {
   display: none;
}

.multipage thead {
   display: none;
}

ul,
dl,
li,
dd,
dt {
  list-style: none;
}

address,
em {
  font-style: normal;
}

/* выключить список модераторов, отредактировано etc */

.modlist,
.lastedit,
.punbb div#pun-live-rusff,
.punbb .topic a.sharelink {
  display: none;
}

/* модальные окна, репутация, закладки etc */

#tags .container,
.post_report,
.post_reputation,
#MyBookmarks,
.inner.popup_graffiti,
.pun-modal .modal-inner,
.punbb-admin #pun-admin-award-form .inner {
  background: var(--sec-bg);
}

/* Формы
------------------------------------------- */

#font-area {
    height: 220px;
    width: 680px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    padding: 15px !important;
    max-height: 144px;
    overflow: auto;
}

/* ОФОРМЛЕНИЕ КНОПОК */

input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"] {
  padding: 2px 10px;
  cursor: pointer;
  transition: all .2s linear 0s;
   background: var(--body-bg);
    font-family: var(--font-family);
    text-transform: lowercase;
    border: 1px solid var(--body-bg);
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 12px;
    color: var(--textcolor);
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {}

select#mod-options {
    font-family: var(--font-family);
    font-size: 10px;
    background: var(--body-bg);
}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
    border: 1px solid var(--body-bg);
    background: var(--pun-bg);
    border-radius: 9px;
}

textarea,
input,
select,
optgroup {
  font-size: 12px;
  font-family: 'arial';
}

optgroup {
  font-weight: bold;
}

/* флажки и чекбоксы */

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 3px;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 20px;
  vertical-align: middle;
}

.formal .container {
  padding: var(--pad1);
}

.formsubmit {
  padding: 0;
  margin: 10px 0 0 0;
  text-align: center;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
   background: var(--body-bg);
    font-family: var(--font-family);
    text-transform: lowercase;
    border: 1px solid var(--body-bg);
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 12px;
    color: var(--textcolor);
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: bold;
  margin-bottom: 10px;
}

fieldset legend span { 
    font-family: var(--font-family);
    font-style: italic;
    border: 1px solid var(--body-bg);
    padding: 1px 6px;
    border-radius: 10px;
    background: var(--body-bg);
}

fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
}

#plng {
    border: 1px solid var(--body-bg)!important;
    padding: 5px 5px 5px 8px !important;
    margin: 0 20px 0 5px!important;
    border-radius: 10px;
}

.fs-box {
  padding: 5px 0;
}

.fs-box p,
.fs-box fieldset {
  padding: 0 0 8px 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
  float: left;
  margin-right: 10px;
}

.inline .infofield {
  clear: both
}

.datafield br {
  display: none
}

.required label,
.datafield span.input {
  font-size: 10px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

.hashelp {
  position: relative;
}


/* Админка
------------------------------------------*/

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}


/* Тело форума
------------------------------------------*/

/* фон */

html {
       background: var(--body-bg) url() no-repeat top center;
}

/* заплатка для фиксированного фона */

body::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -10;
  background: var(--body-bg) url(https://upforme.ru/uploads/001c/c1/08/2/303304.png?v=1) no-repeat top center/cover;
}

.blue body::before {
  background: var(--body-bg) url(https://upforme.ru/uploads/001c/c1/08/2/925129.png) no-repeat top center/cover;
}

/* тело */

#pun {
  margin: 30px auto;
  width: 950px;
  background: var(--pun-bg);
  color: var(--textcolor);
  text-transform: lowercase;
}

/* внутреннее тело */

.punbb {
  font: 12px Arial, Verdana;
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
}

/* Навигационные ссылки */

#pun-navlinks {
    position: absolute;
    top: 35px;
    width: 950px;
    font-family: var(--font-family);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

#pun-navlinks a {
    color: #fff;
}

#pun-navlinks a:hover {
    font-style: italic;
}

#pun-navlinks .container {
  text-align: center;
}

#pun-navlinks li {
    display: inline;
    border-radius: 23px;
    padding: 4px 8px;
    text-transform: lowercase;
    font-size: 16px;
}

/* Пользовательские ссылки */

#pun-ulinks {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
}

#pun-ulinks a {
    color: #323244;
}

#pun-ulinks .container {
  text-align: center;
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

/* Статус */

#pun-status {
    font-family: var(--font-family);
    text-transform: lowercase;
    font-size: 10px;
}

#pun-status span {
  white-space: nowrap;
  margin-right: 5px;
}

.crumbs.container {
    font-family: var(--font-family);
    font-size: 10px;
    text-align: center;
    text-transform: lowercase;
}

/* Копирайт */

#pun-about {}

#pun-about .container {
  text-align: center;
}


/* Главная форумная таблица
------------------------------------------*/

.main table {
  table-layout: fixed;
  width: 100%;
}

.main th {
  padding: 5px 10px;
}

.main td {
  padding: 10px;
}

.tcl {
  width: 50%;
}

.tc2,
.tc3,
.tcmod {
  text-align: center;
  width: 10%;
}

#pun-index .tc2,
#pun-index .tc3,
#pun-index .tcmod {
  visibility: hidden;
}

.tcr {
  width: 30%;
}

#pun-index .tcr {
    text-align: right;
    padding-right: 20px;
}

#pun-index td .user-avatar {
    float: right;
    margin: 1px 0 2px 11px;
}

#pun-index td .avatar-image {
    outline: 1px solid var(--body-bg);
}

.lastpost-link, .lastpost {
    font-family: var(--font-family);
    text-transform: lowercase;
    text-align: center;
    color: #323244;
}

.lastpost-link {
   font-size: 12px;
}

.lastpost {
   font-size: 10px;
}

#pun-searchtopics .tcl,
#pun-modviewforum .tcl {
  width: 40%
}

#pun-searchtopics .tc2 {
  text-align: left;
  width: 20%;
}

#pun-debug table .tcl {
  width: 15%;
}

#pun-debug .tcr {
  width: 90%;
}

#pun-index tbody.hasicon {
    border-radius: 17px;
    background: var(--sec-bg);
    display: block;
    padding: 23px;
}

tbody.hasicon td.tcl {
  padding-left: 40px;
}

.desktext {
    font-family: var(--font-family);
    font-size: 10px;
    text-transform: lowercase;
    color: #323244;
}

.desklink {
   margin-top: 10px;
   display: flex;
   gap: 5px;
}

.desklink a {
    border: 1px solid var(--body-bg);
    padding: 3px 8px;
    border-radius: 5px;
    color: var(--textcolor);
}

.desklink a:hover {
    border: 1px solid var(--body-bg);
    background: var(--body-bg);
    padding: 3px 8px;
    border-radius: 5px;
    color: white;
}

/* список тем в форуме */

div#pun-viewforum tbody.hasicon {
}

tr.tr-divider.imp, tr.tr-divider.st {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

tr.tr-divider.st {
    background: var(--pun-bg);
    color: var(--link-hover);
}

tr.tr-divider.imp {
    border-radius: 9px 9px 0 0;
    background: var(--link);
    color: #fff;
}

div#pun-viewforum tbody.hasicon tr, div#pun-searchtopics tbody.hasicon tr {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-size: 11px;
}

#pun-viewforum table {
    background: var(--sec-bg);
    border-radius: 9px;
}

#pun-viewforum tc2::before {
     content: "ответов";
}


/* аватар */

.punbb td .user-avatar, #pun-index td .user-avatar {

}

.punbb td .user-avatar .avatar-image {

}

/* Иконки */


#pun-index div.icon {
    position: absolute;
    margin-left: -20px;
    width: 8px;
    height: 30px;
    background: var(--body-bg);
    border-radius: 0;
}

#pun-index tr.inew div.icon {
    position: absolute;
    margin-left: -20px;
    width: 8px;
    height: 30px;
    background: var(--link);
    border-radius: 0;
}

div.icon {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-left: -30px;
    background: var(--body-bg);
}

tr.inew div.icon {
  background: var(--link) url() no-repeat top center;
}

tr.isticky div.icon {
  background: #323244;
}

tr.iclosed div.icon {
  background: #3D2929;
}

#pun-index .tclcon {
  width: 362px;
}

/* Оформление всплывающей  подсказки © Домовой */
#tooltip {
    position:absolute;
    background-color:var(--link); /* фон подсказки */
    z-index: 999;
    max-width:200px; /* максимальная ширина подсказки */
    -moz-border-radius:4px;
    -khtml-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    font-family:var(--font-family);
    font-size:12px; /* размер текста */
    display:none;
    color:#fff; /* цвет текста */
    text-align:center;
    padding:4px;
    text-transform: lowercase;
}



/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
}

.linkst {
  position: relative;
  padding: var(--pad2);
  display: flex;
  justify-content: space-between;
  margin: 0 30px 10px;
  text-transform: lowercase;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 10px;
  color: var(--textcolor);
}

.linkst .pagelink, .linksb {
  text-transform: lowercase;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 10px;
  color: var(--textcolor);}

.linkst .postlink {
  text-align: right;
}

.linksb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#pun-viewtopic .linksb, #pun-main.main.multipage .linksb {
  position: relative;
  padding: var(--pad2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 30px 10px;
}

#pun-main.main.multipage .tcr a, #pun-main.main.multipage .tcr .byuser {

}

.linksb .pagelink {
  order: -1;
}

.subscribelink {
  width: 100%;
  text-align: right;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}

.postlink.long {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.postlink.long .new-topic {
    padding-right: 5px!important;
}

.postlink.long .new-topic, .postlink.long .new-poll {
    background: var(--link);
    padding: 2px 5px;
    border-radius: 10px;
}

.postlink.long .new-topic:hover, .postlink.long .new-poll:hover {
    background: var(--link-hover);
}

.postlink.long a {
    color: white;
}

.topic-users-in {
    font-family: var(--font-family);
    font-size: 11px;
}

/* Модераторское меню, RSS, Atom */

.modmenu .container {
  padding: var(--pad3);
  text-align: right;
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
}
.modmenu strong ::before {
    content: '\f591';
    font-family: 'Font Awesome 6 Pro';
    padding: 0 6px 0 0;
    font-weight: 600;
}

.modmenu strong {
    font-family: var(--font-family);
    font-size: 11px;
}

/* Главная
------------------------------------------*/

/* скрыть "форум, тем, сообщений" */

#pun-index thead {
  display: none;
}

/* категория */

#pun-index .category {}

/* заголовок категории */

#pun-index .category h2 {
   padding: 0 50px;
}

#pun-index .category h2 span:not(.categoryTool) {
font-family: var(--second-family);
    font-weight: 400;
    font-size: 28px;
    text-transform: lowercase;
    text-align: center;
    color: var(--textcolor);
    background: url(https://forumstatic.ru/files/001c/43/fc/91116.png) no-repeat top right;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    align-items: center;
}

.blue #pun-index .category h2 span:not(.categoryTool) {
    background: url(https://forumstatic.ru/files/001c/43/fc/45819.png) no-repeat top right;
}

.categoryTool {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 400;
    font-size: 9px;
    text-transform: lowercase;
    color: #323244;
    width: 200px;
    display: block;
    text-align: left;
}


/* форумы */

#pun-index .tcl h3 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    text-transform: uppercase;
}

#pun-index .tcl h3 a {
    color: #323244;
}

#pun-index .tcl h3 a:hover {
    letter-spacing: 0.1em;
}

/* Статистика */

#pun-stats {}

#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    text-transform: lowercase;
    font-family: var(--font-family);
    font-size: 10px;
}

.online-list {
    font-size: 11px;
    font-family: var(--font-family);
}

/* заголовок статистики */

#pun-stats h2 {
   display: none;
}

/* всего тем, всего сообщений */

#pun-stats li.item1,
#pun-stats li.item2 {
  clear: both;
    background: var(--sec-bg);
    padding: 5px 25px;
    border-radius: 23px;
}


/* зарегистрированных, последний зарегистрировавшийся */

#pun-stats li.item3,
#pun-stats li.item4 {
    background: var(--sec-bg);
    padding: 5px 25px;
    border-radius: 23px;
}

/* активны, посетили за сутки */

li#onlinelist {
  margin-top: 10px;
  text-align: justify;
    flex-grow: 1;
    width: 100%;
}

/* Шапка
------------------------------------------*/

#pun-title {
    background: url(https://upforme.ru/uploads/001c/c1/08/2/547497.png);
    height: 339px;
    width: 950px;
}

.blue #pun-title {
    background: url(https://upforme.ru/uploads/001c/c1/08/2/971275.png);
    height: 339px;
    width: 950px;
}

/* скрыть заголовок в шаке */

#pun-title .title-logo {
  display: none;
}

/* содержимое шапки в html-верх */

.tablica {
    position: absolute;
    width: 950px;
    height: 280px;
    top: 90px;
    display: flex;
    justify-content: space-between;
    padding: 0 50px 50px;
    box-sizing: border-box;
    align-items: flex-end;
    pointer-events: none;
}

.tableft {
    width: 322px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    pointer-events: all;
}

.tabright {
    pointer-events: all;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin: 0 20px 0 0;
}

.bestep, .actshead, .map {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    text-transform: lowercase;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 10px;
    position: relative;
    width: fit-content;
}

.actshead span, .map span {
    display: block;
    position: relative;
    z-index: 2;
}

.bestep span {
    font-style: italic;
}

.bestep a {
    color: #fff;
    width: fit-content;
    position: relative;
}

.bestep a span {
    z-index: 2;
    position: relative;
}

.bestpost {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    text-transform: lowercase;
    text-align: center;

    font-style: italic;
    position: relative;
}

.bestpostextra {
    z-index: 2;
    position: relative;
}

.bestpost a {

   font-weight: 700;
}

.bestquote {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    color: #fff;
    text-align: justify;
    width: 322px;
    height: 77px;
    padding: 10px 10px 10px 15px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
    background: rgba(217, 217, 217, 0.08);
    border-radius: 5px;
    -webkit-backdrop-filter: blur(4px);
}

.bestquote p {
    overflow: auto;
    height: 60px;
    scrollbar-color: var(--link) transparent;
    padding-right: 10px;
}

.underline {
    display: block;
    backdrop-filter: blur(2px);
    background: rgba(109, 21, 21, 0.31);
    height: 8px;
    width: 100%;
    position: absolute;
    bottom: -2px;
    z-index: 1;
    padding: 0 10px;
    left: 50%;
    transform: translateX(-50%);
}

.blue .underline {
    background: rgba(19, 41, 83, 0.31);
}

.acts {
   display: flex;
   gap: 15px;
   margin-bottom: 40px;
}

.acts a {
    width: 40px;
    height: 40px;
    display: block;
    outline: 1px dotted white;
    outline-offset: 2px;
    border-radius: 8px;
}

.acts a::before {
    content: '';
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 8px;
    background: #3D2929;
    position: absolute;
    opacity: 0.35;
}

.blue .acts a::before {
    background: #29293D;
}

.acts a:hover:before {
    opacity: 0;
}

.acts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 7px;
}

.map {
    margin: 0 50px 10px 0;
}

.headquote {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    text-align: left;
    color: #fff;
    margin-bottom: 5px;
}

.headquote span {
    border-bottom: 1px dotted white;
}

.headname {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 28px;
    text-transform: lowercase;
    text-align: right;
    color: #fff;
    margin-bottom: 5px;
}

.headinfo {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 400;
    font-size: 8px;
    text-transform: lowercase;
    text-align: right;
    color: #fff;
}

/* Объявление
------------------------------------------*/

#pun-announcement {}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}


/* Футер
------------------------------------------*/

#html-footer {}

#html-footer .container {padding: 0;}

/* баннеры */

.banners {
  padding: var(--pad1);
  background: var(--link);
  height: 80px;
}

.banners .container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    justify-content: center;
    overflow: auto;
    height: 75px;
    scrollbar-width: thin;
    scrollbar-color: var(--link) var(--link-hover);
}

.banners a {
  opacity: .7;
}

.banners a:hover {
  opacity: 1;
}


/* Топик
------------------------------------------*/

.post {
    background: var(--sec-bg);
    margin: 20px 30px  0;
    border-radius: 10px;
    padding: 5px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

/* контейнер поста */

.post > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
   padding: 10px 15px !important;
}

/* дата и номер поста */

.post h3 {}

.post h3 span {
  padding: var(--pad2);
  display: block;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 11px;
  text-transform: lowercase;
  color: var(--link);
  border-bottom: 1px dashed var(--body-bg);
}

.permalink::before {
 content: '\e8b5';
 font-family: var(--iconsfont);
 padding: 0 5px 0 0;
}

.permalink {
  color: var(--link);
}

/* номер поста */

.post h3 strong::before {
 content: '# ';
}

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
}

/* Автор */

.post-author {
  width: var(--pwidth);
  text-align: center;
  box-sizing: border-box;
  background: var(--sec-bg);
  border: 1px solid var(--body-bg);
  border-radius: 9px;
  margin-bottom: 15px;
  position: relative;
}

.post-author ul {
  padding: 10px;
}

.pa-author {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 15px;
    text-transform: lowercase;
    text-align: center;
    color: var(--textcolor);
}

.pa-author a {
    color: var(--textcolor);
}

.pa-title {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    margin-bottom: 10px;
}

.pa-avatar img {
    border-radius: 9px;
    outline: 1px solid var(--body-bg);
    outline-offset: 5px;
    margin-bottom: 15px;
}

.lz {
    border-bottom: 1px dashed var(--body-bg);
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-top: 1px dashed var(--body-bg);
    padding-top: 5px;
}

.lz .name {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    text-transform: lowercase;
    display: block;
    color: var(--textcolor);
}

.lz .name::before, .lz .name::after {
   content: '-';
   padding: 5px;
    font-family: var(--second-family);
}

.lz .info::before {
   content: "\f10d";
    font-family: 'FontAwesome';
}

.lz .info {
    font-family: var(--font-family);
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    color: var(--textcolor);
    border-radius: 30px;
    padding: 2px 3px;
    font-size: 10px;
    font-style: italic;
    color: #696969;
    margin: 3px 0 10px 0;
}



.lz quote {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    color: var(--textcolor);
}

.addflds {
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    width: fit-content;
    margin: 25px auto 1px;
    padding: 2px 13px;
    position: relative;
    z-index: 1;
}

.pa-posts,
.pa-respect,
.pa-fld2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    color: var(--textcolor);
    padding: 0 5px;
    display: inline-block;
}

.pa-fld3 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 222px;
    height: 52px;
}

.pa-fld3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0 0 8px 8px;
}



.pa-online,
.pa-last-visit {}

.pa-online, .pa-last-visit {
    display:none!important;
}


/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth));
}

.post-box {
  padding: 10px;
  text-transform: none;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
  text-transform: lowercase;
  font-family: var(--font-family);
  font-size: 10px;
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
}

.post-links li {
  display: inline-flex;
  align-items: center;
}

.post-links li:not(:first-of-type) {
  padding-left: 10px;
}

.pl-email,
.pl-website {
  float: left;
}

.clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

li.pl-email.profile::before {
 content: '\e7fd';
 font-family: var(--iconsfont);
 margin-right: 6px;
 color: var(--link);
}

li.pl-email.pm::before {
 content: '\e163';
 font-family: var(--iconsfont);
 margin-right: 6px;
 color: var(--link);
}

li.pl-email.email::before {
 content: '\e0e6';
 font-family: var(--iconsfont);
 margin-right: 6px;
 color: var(--link);
}

li.pl-delete::before {
 content: '\e872';
 margin-right: 6px;
 font-family: var(--iconsfont);
 color: var(--link);
}

li.pl-edit::before {
 content: '\e3c9';
 font-family: var(--iconsfont);
 margin-right: 6px;
 color: var(--link);
}

li.pl-quote::before {
 content: '\e244';
 margin-right: 6px;
 font-family: var(--iconsfont);
 color: var(--link);
}


/* Контент поста - цитата, спойлер, таблицы и т.п. */

.punbb .post td {
  border: 0px transparent !important;
}

pre {
  font: 12px/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

.post-content em {
  font-style: italic;
}

.post .post-content td {
  border-width: 0px !important;
}

.post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.post-content p {
  margin: 0;
  padding: 0 0 12px 12px;
  line-height: 150%;
  text-align: justify;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 200px;
}

/* цитата и код */

.quote-box,
.code-box {
    margin: 4px 10px 10px;
    padding: 9px;
    border: 1px solid var(--body-bg);
    background: var(--pun-bg);
    border-radius: 9px;
}

.quote-box cite {
    display: block;
    padding-bottom: 7px;
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 700;
    font-size: 13px;
    text-transform: lowercase;
    color: var(--textcolor);
    border-bottom: 1px dashed var(--body-bg);
}

.quote-box blockquote {
padding: 10px 0 0 0;
}

.code-box strong.legend {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  font-style: normal;
}

.post-sig dt {
  border-bottom: 1px solid var(--link-hover);
  width: 300px;
  margin: 10px auto;
}

.punbb .post-content .spoiler-box > div, .punbb .post-content .spoiler-box > div.visible {
    background: url(https://forumstatic.ru/files/001c/43/fc/91116.png?v=1) no-repeat left center / 14px;
}

/* Форма ответа */

#main-reply {
  box-sizing: border-box;
}

#tags {
  position: relative;
}

#tags .container {
  padding: var(--pad3) !important;
  top: 0 !important;
}


/* Профиль + ЛС
------------------------------------------*/
#profile {
   padding: var(--pad1);
}

#viewprofile tr { 
    display: flex;
    gap: 40px;
    font-family: var(--font-family);
}

#pun-profile h1 {
  display: none;
}

#profile .container {
  padding-left: 200px;
  min-height: 100px;
}

#profilenav {
  float: left;
  margin-left: -180px;
}

#viewprofile h2,
#profilenav h2 {
   text-align: center;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 10px;
    background: var(--body-bg);
    color: black;
    padding: 2px 3px;
    border-radius: 10px;
}

#profilenav li {
  padding: 0 0 5px;
}

#viewprofile li {
  padding: 5px 0;
}

#viewprofile td#profile-left {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    background: var(--sec-bg);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid var(--body-bg);
}

#profile-name {
    font-size: 15px;
    font-style: italic;
}

#viewprofile td#profile-right {
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
    box-sizing: border-box;
    gap: 10px;
    flex-direction: row;
}


#profile-right li {
   display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: center;
    gap: 10px;
    text-align: center;
    background: var(--sec-bg);
    padding: 0 5px;
    border-radius: 10px;
    border: 1px solid var(--body-bg);
}


#profile-right li span {
    flex-shrink: 0;
    text-align: center;
}

#profile-left li strong, #profile-right li strong {
  font-weight: normal !important;
  padding-left: 0 !important;
}

img.avatardemo {
  float: right;
  margin: 0 0 8px 18px;
}

#pun-messages .clearer {
  display: none;
}

/* Прочие страницы
------------------------------------------*/

/* Список пользователей */

#pun-userlist .formal,
#pun-userlist .formal .container {
  margin-bottom: 0;
}

#pun-userlist .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .tcl {
  width: 40%
}

.usertable .container {}

/* Собщения об ошибках */

.info .container {
  padding: var(--pad3);
}

.info .container .backlink {
  padding-top: 8px;
}

/* Регистрация */

.info-box {
  margin: 0 0 10px 0;
}

.info-box * {
  padding: 0 0 5px 0;
}

.info-box .legend {
  font-weight: bold;
}

.jGrowl-notification .jGrowl-close {
  position: relative;
  right: 6px;
}

/* Кнопки вверх-вниз
-------------------------------------------------------*/

.go-up,
.go-down {
  cursor: pointer;
  opacity: .8;
  z-index: 9999;
  display: none;
  position: fixed;
  box-sizing: border-box;
  transition: all .3s linear 0s;
}

.go-up {
   top: 260px;
   background: url(https://upforme.ru/uploads/001c/c1/08/2/52813.png); 
   height: 100px; 
   width: 107px; 
   margin-left: 1100px !important;
}

.blue .go-up {
   background: url(https://upforme.ru/uploads/001c/c1/08/2/44095.png); 
}

.go-down {
  top: 380px;
   background: url(https://upforme.ru/uploads/001c/c1/08/2/901000.png); 
   height: 120px; 
   width: 114px; 
   margin-left: 1060px !important;
}

.blue .go-down {
   background: url(https://upforme.ru/uploads/001c/c1/08/2/662912.png); 
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}

/* БыстроПлюсы для Топика */
.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}
div .post-rating p>a {
  text-align: center;
  outline: 1px solid transparent;
  font-weight: 700;
  background: url(https://forumstatic.ru/files/001b/a6/d4/26514.svg) no-repeat center;
  background-size: 38px auto;
  position: relative;
  padding-left: 1px;
  z-index: 100;
  width: 38px;
  height: 38px;
  text-align: center;
  font-size: 12px !important;
  display: inline-block;
  vertical-align: middle;
  line-height: 36px;
  letter-spacing: 2px;
   color: var(--link);
}
div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}
div.post-vote {

}

div.post-vote p>a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  z-index: 200;
  width: 23px;
  height: 23px;
  background: url(https://forumstatic.ru/files/0012/d8/04/75043.png?) no-repeat;
  display: block;
  background-size: 100%;

}
.post.dark-style div.post-vote p>a {
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}

.punbb div.post-vote p {
  padding: var(--pad1)!important;
  margin: 0!important;
}

/****************************************
AURELIA SYSTEM UI
Антиутопический визуальный слой

ВСТАВИТЬ В САМЫЙ КОНЕЦ STYLE.CSS
****************************************/

/* Основные цвета и переменные */

:root {
  --body-bg: #b7b4ac;
  --pun-bg: #e5e1d6;
  --sec-bg: #d4d0c6;

  --paper-light: #f0ece1;
  --paper-dark: #c6c2b9;

  --graphite: #24272a;
  --graphite-light: #3a3e42;

  --line: #85847f;
  --line-soft: rgba(36, 39, 42, 0.18);

  --signal: #713536;
  --signal-soft: rgba(113, 53, 54, 0.18);

  --link: #363b3f;
  --link-hover: #101214;
  --textcolor: #24272a;

  --font-family: "Arial Narrow", "Century Gothic", Arial, sans-serif;
  --second-family: "Courier New", Courier, monospace;

  --system-shadow: 5px 5px 0 rgba(36, 39, 42, 0.15);
}

/* Светлая тема */

.rose {
  --body-bg: #b7b4ac;
  --pun-bg: #e5e1d6;
  --sec-bg: #d4d0c6;

  --paper-light: #f0ece1;
  --paper-dark: #c6c2b9;

  --graphite: #24272a;
  --graphite-light: #3a3e42;

  --line: #85847f;

  --signal: #713536;
  --signal-soft: rgba(113, 53, 54, 0.18);

  --link: #363b3f;
  --link-hover: #101214;
  --textcolor: #24272a;
}

/* Тёмная тема */

.blue {
  --body-bg: #171a1d;
  --pun-bg: #d6d3ca;
  --sec-bg: #c4c2ba;

  --paper-light: #e7e3d9;
  --paper-dark: #b5b3ad;

  --graphite: #171a1d;
  --graphite-light: #30353a;

  --line: #777b7d;

  --signal: #3d5a64;
  --signal-soft: rgba(61, 90, 100, 0.2);

  --link: #303b40;
  --link-hover: #0e1113;
  --textcolor: #1d2022;
}


/****************************************
ФОН СТРАНИЦЫ
****************************************/

html {
  min-width: 1000px;

  background-color: var(--body-bg);

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 34px 34px;
}

body {
  position: relative;
  background: transparent;
}

/* Оставляем старое изображение фона,
но приглушаем его */

body::before {
  opacity: 0.16;
  filter: grayscale(1) contrast(0.8);
  background-color: var(--body-bg);
  background-blend-mode: luminosity;
}

.blue body::before {
  opacity: 0.1;
  filter: grayscale(1) contrast(0.7) brightness(0.6);
}

/* Газетная фактура и линии экрана */

body::after {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -9;
  pointer-events: none;

  background:
    repeating-linear-gradient(
      0deg,
      rgba(20, 22, 24, 0.025) 0,
      rgba(20, 22, 24, 0.025) 1px,
      transparent 1px,
      transparent 4px
    ),
    radial-gradient(
      circle at 15% 10%,
      rgba(255, 255, 255, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 85% 82%,
      rgba(0, 0, 0, 0.08),
      transparent 30%
    );
}


/****************************************
ОСНОВНОЙ КОРПУС ФОРУМА
****************************************/

#pun {
  position: relative;

  margin: 28px auto 54px;

  width: 950px;

  overflow: visible;

  color: var(--textcolor);

  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 27px,
      rgba(36, 39, 42, 0.025) 28px
    ),
    var(--pun-bg);

  border: 1px solid var(--graphite);

  box-shadow:
    10px 10px 0 rgba(0, 0, 0, 0.18),
    0 0 0 4px rgba(231, 227, 216, 0.3);

  text-transform: none;
}

/* Надпись над корпусом */

#pun::before {
  content: "SYSTEM // AURELIA // CIVIC NETWORK";

  position: absolute;

  z-index: 30;

  top: -19px;
  left: -1px;

  height: 17px;

  padding: 0 10px;

  color: var(--paper-light);
  background: var(--graphite);

  font-family: var(--second-family);
  font-size: 8px;
  font-weight: 700;
  line-height: 17px;

  letter-spacing: 0.18em;
}

/* Сканирующая линия */

#pun::after {
  content: "";

  position: absolute;

  z-index: 29;

  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  pointer-events: none;

  background: rgba(255, 255, 255, 0.55);

  box-shadow:
    0 1px 10px rgba(255, 255, 255, 0.2);

  animation: systemScan 8s linear infinite;
}

.punbb {
  font-size: 12px;
  line-height: 1.55;
}


/****************************************
ССЫЛКИ И ВЫДЕЛЕНИЕ
****************************************/

a,
.punbb #pun-admain a {
  color: var(--link);

  transition:
    color 0.18s linear,
    background 0.18s linear,
    letter-spacing 0.18s linear,
    border-color 0.18s linear;
}

a:hover,
.punbb #pun-admain a:hover {
  color: var(--link-hover);
}

::selection {
  color: var(--paper-light);
  background: var(--graphite);
}


/****************************************
ШАПКА
****************************************/

#pun-title {
  position: relative;
  isolation: isolate;

  width: 950px;
  height: 339px;

  overflow: hidden;

  background-position: center;
  background-size: cover;
  background-color: var(--graphite-light);
  background-blend-mode: luminosity;

  border-bottom: 1px solid var(--graphite);
}

/* Затемнение старой картинки шапки */

#pun-title::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(22, 24, 26, 0.92) 0%,
      rgba(22, 24, 26, 0.72) 38%,
      rgba(22, 24, 26, 0.4) 70%,
      rgba(22, 24, 26, 0.75) 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 94px,
      rgba(255, 255, 255, 0.045) 95px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 33px,
      rgba(255, 255, 255, 0.035) 34px
    );
}

/* Техническая строка в шапке */

#pun-title::after {
  content: "LIVE MUNICIPAL FEED / ACCESS LEVEL 00";

  position: absolute;

  left: 50px;
  right: 50px;
  top: 69px;

  z-index: 5;

  padding: 6px 0;

  color: rgba(36, 39, 42, 0.78);

  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);

  font-family: var(--second-family);
  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.2em;
}

.tablica {
  top: 90px;
  height: 280px;

  padding: 0 50px 42px;

  align-items: flex-end;
}

.tableft {
  width: 350px;
  gap: 12px;
}

.tabright {
  width: 375px;

  gap: 9px;

  margin: 0;
}

.bestep,
.bestpost,
.actshead,
.map,
.headquote,
.headinfo {


  font-family: var(--second-family);

  letter-spacing: 0.08em;
}

.bestep,
.actshead,
.map {
  font-size: 10px;
  text-transform: uppercase;
}

.bestep span,
.bestpostextra span,
.actshead span,
.map span {
  opacity: 0.72;
}

.bestep a,
.bestpost a {

}

.bestep a:hover,
.bestpost a:hover {

  letter-spacing: 0.08em;
}

/* Цитата в шапке */

.bestquote {
  width: 350px;
  height: 82px;

  padding: 10px 13px 10px 17px;

  box-sizing: border-box;

  color: rgba(244, 241, 233, 0.83);
  background: rgba(15, 17, 19, 0.62);

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 3px solid rgba(255, 255, 255, 0.74);
  border-radius: 0;

  backdrop-filter: blur(3px);
}

.bestquote::before {
  content: "REC_04";

  display: block;

  margin-bottom: 5px;

  font-family: var(--second-family);
  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.18em;

  opacity: 0.55;
}

.bestquote p {
  height: 48px;

  padding-right: 8px;

  font-family: var(--font-family);
  font-size: 9px;
  line-height: 1.5;
}

/* Линии под заголовками */

.underline {
  height: 1px;

  bottom: -4px;

  padding: 0;

  background: rgba(255, 255, 255, 0.48);

  box-shadow: none;
}

.underline::after {
  content: "";

  position: absolute;

  right: 0;
  top: -2px;

  width: 5px;
  height: 5px;

  background: #eeeae0;

  animation: statusBlink 2.4s steps(1, end) infinite;
}

/* Иконки активных эпизодов */

.acts {
  gap: 8px;

  margin-bottom: 20px;
}

.acts a {
  position: relative;

  width: 42px;
  height: 42px;

  overflow: hidden;

  background: #17191b;

  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;

  outline: none;
}

.acts a::before {
  width: 42px;
  height: 42px;

  border-radius: 0;

  background: var(--graphite);

  opacity: 0.36;

  transition: opacity 0.2s linear;
}

.acts a::after {
  content: attr(title);

  position: absolute;

  right: 2px;
  bottom: 1px;

  padding: 1px 3px;

  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);

  font-family: var(--second-family);
  font-size: 6px;
  font-weight: 700;

  letter-spacing: 0.08em;
}

.acts img {
  border-radius: 0;

  filter: grayscale(1) contrast(1.08);

  transition:
    filter 0.25s linear,
    transform 0.25s linear;
}

.acts a:hover img {
  filter: grayscale(0.25) contrast(1.08);
  transform: scale(1.05);
}

/* Название форума в шапке */

.headquote {
  font-size: 8px;
  text-transform: uppercase;

  opacity: 0.72;
}

.headquote span {
  border-bottom: none;
}

.headname {
  margin: 6px 0 5px;

  color: #24272a;

  font-family: var(--second-family);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: -0.05em;

  text-transform: uppercase;
}

.headname span::before {
  content: "01/ ";

  font-size: 10px;

  letter-spacing: 0.1em;

  opacity: 0.5;
}

.headinfo {
  font-size: 7px;
  font-style: normal;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  opacity: 0.75;
}


/****************************************
ГЛАВНАЯ НАВИГАЦИЯ
****************************************/

#pun-navlinks {
  top: 31px;

  z-index: 20;

  width: 950px;

  font-family: var(--second-family);
  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

#pun-navlinks .container {
  padding: 8px 24px !important;

  background: rgba(15, 17, 19, 0.76);

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#pun-navlinks li {
  display: inline-block;

  padding: 2px 8px;

  font-size: 9px;

  text-transform: uppercase;

  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
}

#pun-navlinks li:last-child {
  border-right: 0;
}

#pun-navlinks a {
  color: rgba(36, 39, 42, 0.88);
}

#pun-navlinks a:hover {
  color: #111315;

  font-style: normal;

  letter-spacing: 0.14em;
}


/****************************************
ПОЛЬЗОВАТЕЛЬСКИЕ ССЫЛКИ
****************************************/

#pun-ulinks,
#pun-status,
.crumbs.container {
  font-family: var(--second-family);
  font-size: 8px;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

#pun-ulinks {
  background: var(--paper-dark);

  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--line);
}

#pun-ulinks .container {
  padding: 7px 20px !important;
}

#pun-ulinks li {
  padding: 0 7px;
}

#pun-status .container,
.crumbs.container {
  padding-top: 8px !important;
  padding-bottom: 8px !important;

  border-bottom: 1px solid var(--line-soft);
}


/****************************************
ПЕРЕКЛЮЧАТЕЛЬ ТЕМ
****************************************/

#theme_switcher {
  position: absolute;

  z-index: 50;

  top: 186px;

  margin-left: 883px;

  display: flex;
  flex-direction: column;

  gap: 6px;

  padding: 7px 6px;

  background: rgba(15, 17, 19, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.25);
}

#theme_switcher::before {
  content: "MODE";

  color: rgba(255, 255, 255, 0.65);

  font-family: var(--second-family);
  font-size: 6px;
  font-weight: 700;

  letter-spacing: 0.12em;
}

#theme_switcher input {
  position: relative;

  width: 18px;
  height: 7px;

  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
}

#theme_switcher input#rose {
  background: #d8d4ca;
}

#theme_switcher input#blue {
  background: #343a3f;
}

#theme_switcher input:checked {
  outline: 1px solid #ffffff;
  outline-offset: 2px;
}


/****************************************
ВЫПАДАЮЩАЯ НАВИГАЦИЯ В ШАПКЕ
****************************************/

.spirit_nav-wrap {
  position: relative;
}

.nav_button {
  color: #f0ece3;
}

.nav_block {
  top: calc(100% + 7px);

  width: 190px;

  padding: 7px;

  background: rgba(20, 22, 24, 0.96);

  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;

  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);

  font-family: var(--second-family);
  font-size: 8px;
}

.blue .nav_block {
  background: rgba(20, 24, 27, 0.97);
}

.nav_block .link {
  gap: 4px;

  padding: 0;

  text-align: left;

  font-style: normal;
  text-transform: uppercase;
}

.nav_block .link a,
.blue .nav_block .link a {
  padding: 6px 8px;

  color: #eae7df !important;
  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;

  font-weight: 400;
}

.nav_block .link a::before {
  content: "›";

  margin-right: 6px;

  opacity: 0.45;
}

.nav_block .link a:hover,
.blue .nav_block .link a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.11);

  border-color: rgba(255, 255, 255, 0.55);

  letter-spacing: 0.08em;
}


/****************************************
ЗАГОЛОВКИ КАТЕГОРИЙ
****************************************/

#pun-index .category {
  position: relative;

  margin-top: 24px;
}

#pun-index .category h2 {
  padding: 0 30px;
}

#pun-index .category h2 span:not(.categoryTool) {
  position: relative;

  min-height: 36px;

  padding: 9px 14px;

  box-sizing: border-box;

  justify-content: flex-start;

  color: var(--paper-light);
  background: var(--graphite);

  font-family: var(--second-family);
  font-size: 17px;
  font-weight: 700;

  letter-spacing: 0.08em;

  text-align: left;
  text-transform: uppercase;
}

#pun-index .category h2 span:not(.categoryTool)::before {
  content: "SECTOR / ";

  color: rgba(255, 255, 255, 0.46);

  font-size: 8px;

  letter-spacing: 0.18em;
}


#pun-index

.categoryTool {
  width: auto;

  padding: 5px 14px;

  color: var(--graphite);

  font-family: var(--second-family);
  font-size: 8px;
  font-style: normal;

  letter-spacing: 0.04em;

  text-align: left;
  text-transform: uppercase;
}


/****************************************
ФОРУМЫ НА ГЛАВНОЙ
****************************************/

#pun-index tbody.hasicon {
  position: relative;

  display: block;

  margin: 0 30px 13px;

  padding: 0;

  overflow: hidden;

  background: rgba(240, 236, 225, 0.55);

  border: 1px solid var(--graphite);
  border-radius: 0;

  box-shadow: var(--system-shadow);
}

#pun-index tbody.hasicon tr {
  display: table;

  width: 100%;

  border-bottom: none;
}

#pun-index tbody.hasicon tr:last-child {
  border-bottom: none;
}

#pun-index tbody.hasicon td {
  box-sizing: border-box;
}

#pun-index tbody.hasicon td.tcl {
  padding: 18px 18px 18px 48px;
}

#pun-index .tcl h3 {
  font-family: var(--second-family);
  font-size: 17px;
  font-weight: 700;

  letter-spacing: -0.03em;

  text-transform: uppercase;
}

#pun-index .tcl h3 a {
  color: var(--graphite);
}

#pun-index .tcl h3 a:hover {
  letter-spacing: 0.06em;
}

.desktext {
  margin-top: 5px;

  color: #484b4d;

  font-family: var(--font-family);
  font-size: 9px;
  line-height: 1.55;

  text-transform: none;
}

.desklink {
  margin-top: 9px;

  gap: 4px;

  flex-wrap: wrap;
}

.desklink a {
  padding: 3px 7px;

  color: var(--graphite);
  background: transparent;

  border: 1px solid var(--line);
  border-radius: 0;

  font-family: var(--second-family);
  font-size: 7px;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.desklink a:hover {
  padding: 3px 7px;

  color: var(--paper-light);
  background: var(--graphite);

  border-color: var(--graphite);
  border-radius: 0;
}


/****************************************
ПОЛЬЗОВАТЕЛЬСКИЕ ИКОНКИ ФОРУМОВ
****************************************/

#pun-index div.icon,
#pun-index tr.inew div.icon {
  position: absolute;

  width: 24px;
  height: 32px;

  margin-left: -31px;

  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  border-radius: 0;

  box-shadow: none;
  animation: none;
}

/* обычный форум */

#pun-index div.icon {
  background-image: url(https://upforme.ru/uploads/001c/c1/08/2/523520.png);
}

/* новые сообщения */

#pun-index tr.inew div.icon {
  background-image: url(https://upforme.ru/uploads/001c/c1/08/2/651127.png);
}

/* убираем старые три квадратика внутри полосы */

#pun-index div.icon::after {
  content: none;
  display: none;
}

/****************************************
ПОСЛЕДНЕЕ СООБЩЕНИЕ
****************************************/

#pun-index .tcr {
  padding-right: 18px;

  text-align: right;

  border-left: none;
}

.lastpost-link,
.lastpost {
  color: var(--graphite);

  font-family: var(--second-family);

  text-align: right;
  text-transform: uppercase;
}

.lastpost-link {
  font-size: 9px;
  font-weight: 700;
}

.lastpost {
  margin-top: 4px;

  font-size: 7px;

  letter-spacing: 0.04em;

  opacity: 0.7;
}

#pun-index td .avatar-image {
  filter: grayscale(1) contrast(1.03);

  outline: 1px solid var(--graphite);
}


/****************************************
СПИСОК ТЕМ
****************************************/

#pun-viewforum table {
  overflow: hidden;

  background: rgba(240, 236, 225, 0.55);

  border: 1px solid var(--graphite);
  border-radius: 0;

  box-shadow: var(--system-shadow);
}

div#pun-viewforum tbody.hasicon tr,
div#pun-searchtopics tbody.hasicon tr {
  min-height: 48px;

  color: var(--graphite);

  font-family: var(--second-family);
  font-size: 9px;

  border-bottom: 1px solid var(--line-soft);
}

tr.tr-divider.imp,
tr.tr-divider.st {
  height: 27px;

  border-radius: 0;

  font-family: var(--second-family);
  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

tr.tr-divider.imp {
  color: var(--paper-light);
  background: var(--graphite);
}

tr.tr-divider.st {
  color: var(--graphite);
  background: var(--paper-dark);

  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--line);
}


/****************************************
ПАГИНАЦИЯ И КНОПКИ ТЕМ
****************************************/

.linkst,
.linksb,
#pun-viewtopic .linksb,
#pun-main.main.multipage .linksb {
  margin: 12px 30px;

  padding: 8px 10px;

  background: var(--paper-dark);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  font-family: var(--second-family);
  font-size: 8px;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.postlink.long .new-topic,
.postlink.long .new-poll {
  padding: 5px 8px;

  background: var(--graphite);

  border: 1px solid var(--graphite);
  border-radius: 0;
}

.postlink.long .new-topic:hover,
.postlink.long .new-poll:hover {
  background: var(--signal);

  border-color: var(--signal);
}

.postlink.long a {
  color: var(--paper-light);
}


/****************************************
ОБЫЧНЫЕ КНОПКИ
****************************************/

input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"],
.formsubmit input,
.formsubmit a,
.formsubmit span {
  padding: 6px 10px;

  color: var(--paper-light);
  background: var(--graphite);

  border: 1px solid var(--graphite);
  border-radius: 0;

  box-shadow: 3px 3px 0 rgba(36, 39, 42, 0.16);

  font-family: var(--second-family);
  font-size: 8px;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.formsubmit input:hover,
.formsubmit a:hover {
  color: #ffffff;
  background: var(--signal);

  border-color: var(--signal);

  transform: translate(1px, 1px);

  box-shadow: 1px 1px 0 rgba(36, 39, 42, 0.18);
}


/****************************************
ПОЛЯ ВВОДА
****************************************/

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 6px 8px;

  color: var(--graphite);
  background: rgba(240, 236, 225, 0.75);

  border: 1px solid var(--line);
  border-radius: 0;

  box-shadow: inset 3px 3px 0 rgba(36, 39, 42, 0.035);
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--graphite);

  box-shadow:
    inset 3px 3px 0 rgba(36, 39, 42, 0.05),
    0 0 0 2px var(--signal-soft);
}

textarea,
input,
select,
optgroup {
  font-family: var(--second-family);
  font-size: 10px;
}

fieldset legend span,
#plng {
  color: var(--graphite);
  background: var(--paper-dark);

  border: 1px solid var(--line) !important;
  border-radius: 0;

  font-family: var(--second-family);
  font-size: 8px;
  font-style: normal;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}


/****************************************
ПАНЕЛЬ РЕДАКТОРА
****************************************/

#form-buttons {
  padding: 6px;

  background: var(--paper-dark);

  border: 1px solid var(--line);
}

#form-buttons table tr {
  gap: 3px;

  margin-bottom: 3px;
}

#form-buttons td {
  width: 25px;
  height: 25px;

  margin-bottom: 0;

  color: var(--graphite);
  background: rgba(240, 236, 225, 0.55) !important;

  border: 1px solid transparent;
}

#form-buttons td:hover {
  color: var(--paper-light);
  background: var(--graphite) !important;

  border-color: var(--graphite);
}

#form-buttons td:hover::before,
.blue #form-buttons td:hover::before {
  color: var(--paper-light);
}


/****************************************
ПОСТЫ
****************************************/

.post {
  position: relative;

  margin: 20px 30px 0;

  padding: 0;

  background: rgba(240, 236, 225, 0.68);

  border: 1px solid var(--graphite);
  border-radius: 0;

  box-shadow: var(--system-shadow);
}

.post::before {
  content: "RECORD";

  position: absolute;

  top: -11px;
  left: 12px;

  z-index: 2;

  padding: 2px 7px;

  color: var(--paper-light);
  background: var(--graphite);

  font-family: var(--second-family);
  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.14em;
}

.post > .container {
  padding: 13px 14px !important;

  align-items: stretch;
}

.post h3 span {
  padding: 8px 12px;

  color: var(--graphite);
  background: var(--paper-dark);

  border-bottom: 1px solid var(--graphite);

  font-family: var(--second-family);
  font-size: 8px;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


/****************************************
МИНИ-ПРОФИЛЬ
****************************************/

.post-author {
  overflow: hidden;

  width: var(--pwidth);

  margin-bottom: 0;

  color: #e8e5dc;

background-color: transparent !important;
  background-image: url("https://upforme.ru/uploads/001c/c1/08/2/713780.png") !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: 225px 615px !important;

  border: none !important;
  border-radius: 0;
  box-shadow: none !important;

}

.post-author .fld-name {
  display: none !important;
}

.post-author::before {
  content: "CITIZEN FILE";

  display: block;

  padding: 6px 8px;

  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.05);

  border-bottom: 1px solid rgba(255, 255, 255, 0.18);

  font-family: var(--second-family);
  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.15em;

  text-align: left;
}

.post-author ul {
  padding: 8px 10px 8px;
}

.pa-author,
.pa-title,
.lz .name,
.lz .info,
.lz quote,
.pa-posts,
.pa-respect
 {
  color: #ece9e0;

  font-family: var(--second-family);
}

.pa-author {
  font-size: 13px;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.pa-author a {
  color: #ffffff;
}

.pa-title {
  margin: 2px 0 12px;

  font-size: 7px;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  opacity: 0.65;
}

.pa-avatar img {
  margin-bottom: 4px;

  border-radius: 0;

  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

/* копирайт под аватаром */

.post-author .pa-fld2 {
  display: block;

  width: 100%;
  box-sizing: border-box;

  margin: 0 auto 3px;
  padding: 0 3px;

  color: rgba(236, 233, 224, 0.62);

  font-family: var(--second-family);
  font-size: 7px;
  line-height: 1.4;

  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.lz {
  margin-bottom: 9px;

  padding: 7px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lz .name {
  font-size: 11px;

  text-transform: uppercase;
}

.lz .name::before,
.lz .name::after {
  content: "/";

  opacity: 0.45;
}

.lz .info {
  margin: 4px 0 8px;

  color: rgba(236, 233, 224, 0.62);

  font-size: 7px;
  font-style: normal;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.lz quote {
  font-size: 8px;
  line-height: 1.45;

  text-transform: none;
}

.addflds {
  margin: 1px auto 3px;

  padding: 4px 9px;

  color: #4d4333;
  background: rgba(255, 255, 255, 0.07);

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;

  backdrop-filter: none;
}

.pa-posts,
.pa-respect {
  padding: 0 2px;

  font-size: 8px;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.pa-fld3 img {
  border-radius: 0;

  filter: grayscale(1) contrast(0.8) brightness(0.8);

  opacity: 0.35;
}

.indOnline,
.indOffline {
  position: absolute !important;

  top: 7px !important;
  right: 10px !important;
  left: auto !important;

  width: auto !important;
  height: auto !important;

  transform: none !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  animation: none !important;

  font-family: var(--second-family);
  font-size: 7px !important;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;

  z-index: 5;
}

.indOnline {
  color: #aeb78f !important;
  font-size: 0 !important;
}

.indOnline::before {
  content: "ПОД НАБЛЮДЕНИЕМ";
  font-size: 7px;
}

.indOffline {
  color: #777b7d !important;
  font-size: 0 !important;
}

.indOffline::before {
  content: "ВНЕ ЗОНЫ";
  font-size: 7px;

}

/****************************************
ТЕКСТ ПОСТА
****************************************/

.post-body {
  width: calc(100% - var(--pwidth));

  background: rgba(240, 236, 225, 0.42);
}

.post-box {
  padding: 16px 18px;
}

.post-content {
  color: var(--graphite);
}

.post-content p {
  padding: 0 0 12px 16px;

  line-height: 1.65;

  text-align: justify;
}

.post-links {
  margin-left: var(--pwidth);

  border-top: 1px solid var(--line-soft);

  font-family: var(--second-family);
  font-size: 7px;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.post-links ul {
  padding: 6px 10px;
}


/****************************************
ЦИТАТЫ И КОД
****************************************/

.quote-box,
.code-box {
  margin: 8px 10px 12px;

  padding: 11px 13px;

  background: rgba(212, 208, 198, 0.5);

  border: 1px solid var(--line);
  border-left: 3px solid var(--graphite);
  border-radius: 0;
}

.quote-box cite {
  padding-bottom: 7px;

  color: var(--graphite);

  border-bottom: 1px solid var(--line);

  font-family: var(--second-family);
  font-size: 9px;
  font-style: normal;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.code-box strong.legend {
  font-family: var(--second-family);

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.post-sig dt {
  width: 42%;

  border-bottom: 1px solid var(--graphite);
}


/****************************************
СТАТИСТИКА
****************************************/

#pun-stats .container {
  margin: 0 30px 20px;

  padding: 14px !important;

  gap: 7px;

  justify-content: flex-start;

  background: var(--paper-dark);

  border: 1px solid var(--graphite);

  box-shadow: var(--system-shadow);

  font-family: var(--second-family);
  font-size: 7px;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  padding: 5px 9px;

  background: rgba(240, 236, 225, 0.48);

  border: 1px solid var(--line);
  border-radius: 0;
}

li#onlinelist {
  margin-top: 7px;

  padding-top: 10px;

  border-top: 1px solid var(--line);

  text-align: left;
}

.online-list {
  font-family: var(--second-family);
  font-size: 8px;
  line-height: 1.6;
}


/****************************************
ПРОФИЛЬ
****************************************/

#viewprofile h2,
#profilenav h2 {
  padding: 5px 7px;

  color: var(--paper-light);
  background: var(--graphite);

  border-radius: 0;

  font-family: var(--second-family);
  font-size: 8px;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

#viewprofile td#profile-left,
#profile-right li {
  background: rgba(240, 236, 225, 0.48);

  border: 1px solid var(--line);
  border-radius: 0;

  box-shadow: 3px 3px 0 rgba(36, 39, 42, 0.08);
}

#profile-right li {
  padding: 8px;
}


/****************************************
БАННЕРЫ И НИЖНЯЯ ЧАСТЬ
****************************************/

.banners {
  height: 83px;

  padding: 14px 30px;

  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 46px,
      rgba(255, 255, 255, 0.025) 47px
    ),
    var(--graphite);

  border-top: 1px solid #000000;
}

.banners::before {
  content: "EXTERNAL NETWORK / VERIFIED NODES";

  display: block;

  margin-bottom: 7px;

  color: rgba(255, 255, 255, 0.55);

  font-family: var(--second-family);
  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.banners .container {
  height: 57px;

  gap: 5px 8px;

  justify-content: flex-start;

  scrollbar-color: #777777 var(--graphite);
}

.banners a {
  opacity: 0.52;

  filter: grayscale(1) contrast(0.9);
}

.banners a:hover {
  opacity: 1;

  filter: grayscale(0.3) contrast(1);
}

#pun-about .container {
  padding: 12px 20px !important;

  border-top: 1px solid var(--line);

  font-family: var(--second-family);
  font-size: 7px;
  line-height: 1.5;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}


/****************************************
АККУРАТНЫЙ СКРОЛЛБАР
****************************************/

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 39, 42, 0.65) transparent;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(36, 39, 42, 0.62);
  border: none;
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(36, 39, 42, 0.85);
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}


/****************************************
ВСПЛЫВАЮЩИЕ ПОДСКАЗКИ
****************************************/

#tooltip {
  max-width: 230px;

  padding: 6px 8px;

  color: var(--paper-light);
  background: var(--graphite);

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;

  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);

  font-family: var(--second-family);
  font-size: 8px;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}


/****************************************
КНОПКИ ВВЕРХ И ВНИЗ
****************************************/

.go-up,
.go-down {
  opacity: 0.42;

  filter: grayscale(1) contrast(1.2);
}

.go-up:hover,
.go-down:hover {
  opacity: 0.85;
}


/****************************************
РЕГУЛЯТОР ШРИФТА
****************************************/

.FNTslider {
  background: var(--paper-dark) !important;

  border-color: var(--line) !important;
  border-radius: 0 !important;
}

.FNTslider .before {
  background: var(--graphite) !important;

  border-radius: 0 !important;
}

.FNTslider .thumb {
  background: var(--signal) !important;

  border-radius: 0 !important;
}


/****************************************
АНИМАЦИИ
****************************************/

@keyframes systemScan {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  8% {
    opacity: 0.7;
  }

  52% {
    opacity: 0.18;
  }

  100% {
    transform: translateY(339px);
    opacity: 0;
  }
}

@keyframes statusBlink {
  0%,
  72% {
    opacity: 1;
  }

  73%,
  82% {
    opacity: 0.25;
  }

  83%,
  100% {
    opacity: 1;
  }
}

@keyframes signalPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--signal-soft);
  }

  50% {
    box-shadow: 0 0 0 4px var(--signal-soft);
  }
}

/* Отключение анимаций,
если они отключены в настройках устройства */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/****************************************
AURELIA SYSTEM UI
ЕДИНЫЙ ПАТЧ ШАПКИ И ОТСТУПОВ
****************************************/


/* =====================================
   КОМПАКТНЫЕ СЛУЖЕБНЫЕ ПОЛОСЫ
===================================== */

#pun-ulinks .container {
  padding: 5px 20px !important;
}

#pun-status .container,
.crumbs.container {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

#pun-index .category {
  margin-top: 10px !important;
}

#pun-index tbody.hasicon {
  margin-bottom: 9px !important;
}

#pun-stats .container {
  margin-bottom: 14px !important;
  padding: 10px !important;
}

.linkst,
.linksb,
#pun-viewtopic .linksb,
#pun-main.main.multipage .linksb {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}


/* =====================================
   ОБЩАЯ СЕТКА ШАПКИ
===================================== */

.tablica {
  position: absolute !important;

  top: 90px !important;
  left: 0 !important;

  width: 950px !important;
  height: 249px !important;

  padding: 52px 50px 18px !important;
  box-sizing: border-box !important;

  display: grid !important;
  grid-template-columns: 370px 1fr !important;
  column-gap: 80px !important;

  align-items: end !important;

  pointer-events: none !important;
}


/* Сбрасываем конфликтующие координаты */

.tableft,
.tabright {
  position: relative !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;

  pointer-events: all !important;
}


/* =====================================
   ЛЕВАЯ ЧАСТЬ ШАПКИ
===================================== */

.tableft {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;

  gap: 10px !important;

  justify-self: start !important;
}


/* Сбрасываем абсолютное позиционирование */

.bestep,
.bestpost,
.bestquote {
  position: relative !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  margin: 0 !important;
}


/* Название эпизода */

.bestep {
  width: 275px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;

  text-align: left !important;
}

.bestep > span {
  margin-bottom: 2px !important;
}

.bestep a {
  text-align: left !important;
}


/* Автор письма */

.bestpost {
  width: 350px !important;

  text-align: left !important;
}


/* Цитата */

.bestquote {
  width: 350px !important;
  height: 82px !important;

  box-sizing: border-box !important;
}


/* =====================================
   ПРАВАЯ ЧАСТЬ ШАПКИ
===================================== */

.tabright {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;

  gap: 9px !important;

  padding-right: 42px !important;
  box-sizing: border-box !important;

  justify-self: end !important;
}


/* Сбрасываем старые координаты */

.actshead,
.acts,
.headfull {
  position: relative !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  margin: 0 !important;
}


/* Заголовок THE LOVERS */

.actshead {
  width: 192px !important;

  align-items: flex-end !important;

  text-align: right !important;
}


/* Четыре изображения в одну строку */

.acts {
  width: 192px !important;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  justify-content: flex-end !important;

  gap: 8px !important;

  margin-bottom: 7px !important;
}

.acts a {
  flex: 0 0 42px !important;

  width: 42px !important;
  height: 42px !important;
}

.acts a::before {
  width: 42px !important;
  height: 42px !important;
}

.acts img {
  width: 42px !important;
  height: 42px !important;

  object-fit: cover !important;
}


/* Название форума */

.headfull {
  width: 330px !important;

  text-align: right !important;
}

.headquote {
  margin-bottom: 5px !important;

  text-align: right !important;
}

.headname {
  margin: 0 0 5px !important;

  font-size: 26px !important;
  line-height: 0.95 !important;

  text-align: right !important;
}

.headinfo {
  text-align: right !important;
}


/* =====================================
   УБИРАЕМ THE MAP И ЕГО СПИСОК
===================================== */

.spirit_nav-wrap,
.nav_block,
.nav_button.map {
  display: none !important;
}


/* =====================================
   ПЕРЕКЛЮЧАТЕЛЬ РЕЖИМА
   ОТДЕЛЯЕМ ЕГО ОТ ИЗОБРАЖЕНИЙ
===================================== */

#theme_switcher {
  top: 188px !important;

  margin-left: 900px !important;

  z-index: 60 !important;
}


/* =====================================
   ТЕКСТ МИНИ-ПРОФИЛЯ
===================================== */

.post-author,
.post-author li,
.post-author div,
.post-author span {
  color: rgba(236, 233, 224, 0.9);
}

.post-author a {
  color: #ffffff;
}

.pa-title,
.lz .info {
  color: rgba(236, 233, 224, 0.76) !important;
}

.pa-posts,
.pa-respect,
.pa-fld2 {
  color: rgba(236, 233, 224, 0.92) !important;
}

/****************************************
AURELIA SYSTEM UI
ФИКСИРОВАННАЯ КОМПОНОВКА ШАПКИ
****************************************/

/* Убираем конфликтующую сетку */

.tablica {
  position: absolute !important;

  top: 90px !important;
  left: 0 !important;

  width: 950px !important;
  height: 249px !important;

  padding: 0 !important;
  margin: 0 !important;

  display: block !important;

  overflow: visible !important;

  pointer-events: none !important;
}


/* Оба старых столбца растягиваем
на всю область шапки */

.tableft,
.tabright {
  position: absolute !important;

  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;

  width: 950px !important;
  height: 249px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  pointer-events: none !important;
}


/* Возвращаем кликабельность содержимому */

.tableft > *,
.tabright > * {
  pointer-events: auto !important;
}


/* =====================================
   ЛЕВАЯ СТОРОНА
===================================== */

/* Эпизод */

.bestep {
  position: absolute !important;

  top: 80px !important;
  left: 50px !important;
  right: auto !important;
  bottom: auto !important;

  width: 285px !important;

  margin: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 20 !important;
}

.bestep > span,
.bestep a {
  text-align: left !important;
}


/* Письмо */

.bestpost {
  position: absolute !important;

  top: 116px !important;
  left: 50px !important;
  right: auto !important;
  bottom: auto !important;

  width: 350px !important;

  margin: 0 !important;

  display: block !important;

  text-align: left !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 20 !important;
}


/* Цитата */

.bestquote {
  position: absolute !important;

  top: 151px !important;
  left: 50px !important;
  right: auto !important;
  bottom: auto !important;

  width: 350px !important;
  height: 78px !important;

  margin: 0 !important;

  display: block !important;

  box-sizing: border-box !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 20 !important;
}

.bestquote p {
  height: 50px !important;
}


/* =====================================
   ПРАВАЯ СТОРОНА
===================================== */

/* THE LOVERS */

.actshead {
  position: absolute !important;

  top: 48px !important;
  right: 50px !important;
  left: auto !important;
  bottom: auto !important;

  width: 210px !important;

  margin: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 20 !important;
}


/* Четыре изображения */

.acts {
  position: absolute !important;

  top: 78px !important;
  right: 50px !important;
  left: auto !important;
  bottom: auto !important;

  width: 210px !important;
  height: 46px !important;

  margin: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  justify-content: flex-end !important;
  align-items: center !important;

  gap: 8px !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 20 !important;
}

.acts a {
  position: relative !important;

  flex: 0 0 42px !important;

  width: 42px !important;
  height: 42px !important;

  display: block !important;

  visibility: visible !important;
  opacity: 1 !important;
}

.acts a::before {
  width: 42px !important;
  height: 42px !important;
}

.acts img {
  width: 42px !important;
  height: 42px !important;

  display: block !important;

  object-fit: cover !important;

  visibility: visible !important;
  opacity: 1 !important;
}


/* Название и подпись форума */

.headfull {
  position: absolute !important;

  top: 144px !important;
  right: 50px !important;
  left: auto !important;
  bottom: auto !important;

  width: 335px !important;

  margin: 0 !important;

  display: block !important;

  text-align: right !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 20 !important;
}

.headquote,
.headname,
.headinfo {
  display: block !important;

  visibility: visible !important;
  opacity: 1 !important;

  text-align: right !important;
}

.headquote {
  margin-bottom: 5px !important;
}

.headname {
  margin: 0 0 5px !important;

  font-size: 26px !important;
  line-height: 0.95 !important;
}


/* =====================================
   НАВИГАЦИЯ THE MAP ОСТАЁТСЯ СКРЫТОЙ
===================================== */

.spirit_nav-wrap,
.nav_button.map,
.nav_block {
  display: none !important;
}


/* =====================================
   ПЕРЕКЛЮЧАТЕЛЬ ТЕМ
===================================== */

#theme_switcher {
  top: 184px !important;

  margin-left: 900px !important;

  z-index: 50 !important;
}

/****************************************
ПЕРЕМЕЩЕНИЕ ПЕРЕКЛЮЧАТЕЛЯ ТЕМ
****************************************/

#theme_switcher {
  top: 92px !important;
  margin-left: 825px !important;

  width: auto !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  gap: 7px !important;

  padding: 6px 8px !important;

  box-sizing: border-box !important;

  z-index: 70 !important;
}

#theme_switcher::before {
  margin-right: 2px;
}

#theme_switcher li {
  display: block !important;
}

#theme_switcher input {
  width: 18px !important;
  height: 7px !important;
}

/****************************************
ФИКС РАЗМЕРА ФОНА ШАПКИ
****************************************/

#pun-title {
  background-size: 950px 339px !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
}

/****************************************
ЧИТАЕМЫЕ ЗАГОЛОВКИ КАТЕГОРИЙ
****************************************/

/* Заголовок категории и весь текст внутри него */

#pun-index .category h2 span:not(.categoryTool),
#pun-index .category h2 span:not(.categoryTool) *,
#pun-index .category h2 span:not(.categoryTool) a,
#pun-index .category h2 a {
  color: #f1eee6 !important;
  opacity: 1 !important;
  visibility: visible !important;

  text-shadow:
    1px 1px 0 rgba(0, 0, 0, 0.75),
    0 0 5px rgba(255, 255, 255, 0.08);
}

/* Служебная надпись SECTOR */

#pun-index .category h2 span:not(.categoryTool)::before {
  color: rgba(241, 238, 230, 0.55) !important;
}

/* Описание категории под тёмной полосой */

#pun-index .category .categoryTool {
  color: var(--graphite) !important;
  text-shadow: none !important;
  opacity: 0.82 !important;
}

/****************************************
УБИРАЕМ ТЁМНУЮ ПОЛОСУ ПОД ВЕРХНИМ МЕНЮ
****************************************/

#pun-navlinks .container {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#pun-navlinks {
  background: transparent !important;
}

#pun-navlinks li {
  background: transparent !important;
}

/****************************************
ТЁМНАЯ ПОЛОСА У ВСЕХ КАТЕГОРИЙ
****************************************/

#pun-index .category h2 {
  padding: 0 30px !important;
  background: transparent !important;
}

#pun-index .category h2 > span,
#pun-index .category h2 span:not(.categoryTool) {
  position: relative !important;

  min-height: 36px !important;

  padding: 9px 14px !important;

  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  color: #f1eee6 !important;
  background: var(--graphite) !important;
  background-image: none !important;

  font-family: var(--second-family) !important;
  font-size: 17px !important;
  font-weight: 700 !important;

  letter-spacing: 0.08em !important;

  text-align: left !important;
  text-transform: uppercase !important;
}

/* Весь текст и ссылки внутри полосы */

#pun-index .category h2 > span *,
#pun-index .category h2 span:not(.categoryTool) *,
#pun-index .category h2 a {
  color: #f1eee6 !important;
}

/* Описание категории остаётся на светлом фоне */

#pun-index .category h2 .categoryTool {
  position: static !important;

  width: auto !important;

  padding: 5px 14px !important;

  color: var(--graphite) !important;
  background: transparent !important;

  font-size: 8px !important;
  font-weight: 400 !important;

  text-shadow: none !important;
}

/****************************************
УБИРАЕМ ЗАТЕМНЕНИЕ С ФОНА ШАПКИ
****************************************/

#pun-title {
  background-color: transparent !important;
  background-blend-mode: normal !important;
}

#pun-title::before {
  content: none !important;
  background: none !important;
}

/****************************************
БЕЛЫЕ ЛИНИИ В БЛОКЕ EPISODE / LETTER
****************************************/

.bestep .underline,
.bestpost .underline {
  background: rgba(255, 255, 255, 0.95) !important;
}

.bestep .underline::after,
.bestpost .underline::after {
  background: #ffffff !important;
}

/****************************************
УБИРАЕМ ТЕНИ У РАМОК
для обеих тем
****************************************/

#pun,
#pun-index tbody.hasicon,
#pun-viewforum table,
.post,
#pun-stats .container,
#viewprofile td#profile-left,
#profile-right li,
.banners,
.nav_block,
#tooltip {
  box-shadow: none !important;
}

/* убираем дополнительные псевдотени справа и снизу */

#pun-index tbody.hasicon::before,
#pun-index tbody.hasicon::after,
#pun-viewforum table::before,
#pun-viewforum table::after,
.post::before,
.post::after {
  box-shadow: none !important;
}

/* если тень создаётся отдельной полосой рядом с блоком */

#pun-index tbody.hasicon,
#pun-viewforum table,
.post {
  filter: none !important;
}

/* светлая тема: молочно-кремовый */

.rose .bestep,
.rose .bestpost,
.rose .actshead,
.rose .headquote,
.rose .headname,
.rose .headinfo,
.rose #pun-navlinks a,
.rose #pun-title::after {
  color: #f1ede3;
}

/* тёмная тема: графитовый */

.blue .bestep,
.blue .bestpost,
.blue .actshead,
.blue .headquote,
.blue .headname,
.blue .headinfo,
.blue #pun-navlinks a,
.blue #pun-title::after {
  color: #24272a;
}

.rose .bestep .underline,
.rose .bestpost .underline,
.rose .bestep .underline::after,
.rose .bestpost .underline::after {
  background: #f1ede3 !important;
}

.blue .bestep .underline,
.blue .bestpost .underline,
.blue .bestep .underline::after,
.blue .bestpost .underline::after {
  background: #24272a !important;
}

/* Линия и мигающий маркер THE LOVERS */

.rose .actshead .underline,
.rose .actshead .underline::after {
  background: #f1ede3 !important;
}

.blue .actshead .underline,
.blue .actshead .underline::after {
  background: #24272a !important;
}

/****************************************
ВЕРТИКАЛЬНАЯ ПОЛОСА СЛЕВА ОТ БЛОКА ФОРУМОВ
****************************************/

#pun-index tbody.hasicon {
  position: relative;
  overflow: visible;
}

#pun-index tbody.hasicon::before {
  content: "";

  position: absolute;
  left: -18px;
  top: -1px;
  bottom: -1px;

  width: 6px;

  background: var(--graphite);
}

/****************************************
ТОНКИЙ БЕГУНОК В ЦИТАТЕ ШАПКИ
****************************************/

.bestquote,
.bestquote p {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(220, 216, 205, 0.55) transparent !important;
}

.bestquote::-webkit-scrollbar,
.bestquote p::-webkit-scrollbar {
  width: 4px !important;
}

.bestquote::-webkit-scrollbar-track,
.bestquote p::-webkit-scrollbar-track {
  background: transparent !important;
  border: none !important;
}

.bestquote::-webkit-scrollbar-thumb,
.bestquote p::-webkit-scrollbar-thumb {
  min-height: 18px;
  background: rgba(220, 216, 205, 0.55) !important;
  border: none !important;
  border-radius: 0 !important;
}

.bestquote::-webkit-scrollbar-thumb:hover,
.bestquote p::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 216, 205, 0.85) !important;
}

/* Убираем треугольные стрелки сверху и снизу */

.bestquote::-webkit-scrollbar-button,
.bestquote p::-webkit-scrollbar-button,
.bestquote::-webkit-scrollbar-button:single-button,
.bestquote p::-webkit-scrollbar-button:single-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
