@import url(style_cs.1780335458.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');

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');

@font-face {
  font-family: 'Murderer';
  src: url('https://forumstatic.ru/files/0014/d2/5e/85154.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cormorant';
  src: url('https://forumstatic.ru/files/0014/d2/5e/77122.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/****************************************
Чистый стиль 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-img: url(https://forumstatic.ru/files/0014/d2/5e/96307.jpg);
  --shapka-img: url(https://forumstatic.ru/files/0014/d2/5e/99770.png);
  --need-fon-img: url(https://forumstatic.ru/files/0014/d2/5e/77186.png);
--body-bg: #D3A6A9;
  --pun-bg: #CCCCCC;
  --footer: #7E7E7E;
  --podforum: #D4CFB2;
  --sec-bg: #E0E0E0;
--sec-bg-op: rgba(244, 244, 244, 0.5);
  --light-accent: #EBD6D3;
  --dark-accent: #FF818A;
  --link: #B16C71;
  --link-hover: #2C2D2A;
  --white: #F4F4F4;
    --profile-overlay: rgba(204, 204, 204, 0.5);
--topic-overlay: rgba(235, 214, 211, 0.5);
--need-overlay: rgba(255, 129, 138, 0.2);
--guest-overlay: rgba(126, 126, 126, 0.3);
--post-bg: #d6d6d6;
--news-bg: rgba(188, 188, 188, 0.5);
  --textcolor: #3F3E3E;
     --profile-light: #D6D6D6;
--profilebg: #3F3E3E;
  --profile-light-accent: rgba(0, 0, 0, 0);
 --profilelinkhover: #FF818A;
 --profilelink: #7E7E7E;
  --profiletext: #CCCCCC;
--profileplashka: #AAAAAA;
--plashka-img: url(https://forumstatic.ru/files/0014/d2/5e/21523.png);
--profile-bg-img: url(https://forumstatic.ru/files/0014/d2/5e/52159.png);
--posts: url("https://forumstatic.ru/files/0014/d2/5e/60541.png?v=1");
--messages: url("https://forumstatic.ru/files/0014/d2/5e/35835.png?v=1");
--likes: url("https://forumstatic.ru/files/0014/d2/5e/29570.png?v=1");
--money: url("https://forumstatic.ru/files/0014/d2/5e/90559.png?v=1");
--emoji: url("https://forumstatic.ru/files/0014/d2/5e/17628.png");
  --pwidth: 220px;
  --pad1: 10px 20px;
  --pad2: 5px 20px;
  --pad3: 5px 10px;
  --main-font: "Arial", sans-serif;
  --extra-font: "Cormorant", sans-serif;
--add-font: "Bodoni Moda", sans-serif;
--news-font: "Murderer", sans-serif;
--dres-img: url(https://forumstatic.ru/files/0014/d2/5e/79312.png);
--spell-img: url(https://forumstatic.ru/files/0014/d2/5e/54109.png);
    --cat-admins-img: url('https://forumstatic.ru/files/0014/d2/5e/70283.png');
    --cat-sun-img: url('https://forumstatic.ru/files/0014/d2/5e/93033.png');
    --cat-sins-img: url('https://forumstatic.ru/files/0014/d2/5e/26745.png');
    --cat-darkness-img: url('https://forumstatic.ru/files/0014/d2/5e/11332.png');
    --cat-washed-img: url('https://forumstatic.ru/files/0014/d2/5e/24744.png');
    --cat-blood-img: url('https://forumstatic.ru/files/0014/d2/5e/74482.png');
    --cat-reasons-img: url('https://forumstatic.ru/files/0014/d2/5e/25525.png');
}
 

/* Темная тема */

.dark {
--posts: url("https://forumstatic.ru/files/0014/d2/5e/56606.png");
--messages: url("https://forumstatic.ru/files/0014/d2/5e/25100.png");
--likes: url("https://forumstatic.ru/files/0014/d2/5e/54974.png");
--money: url("https://forumstatic.ru/files/0014/d2/5e/53068.png");
--emoji: url("https://forumstatic.ru/files/0014/d2/5e/87603.png");
  --body-bg-img: url(https://forumstatic.ru/files/0014/d2/5e/59900.jpg);
  --shapka-img: url(https://forumstatic.ru/files/001c/3b/dd/91195.png);
  --need-fon-img: url(https://forumstatic.ru/files/0014/d2/5e/55443.png);
--dres-img: url(https://forumstatic.ru/files/0014/d2/5e/32845.png);
--spell-img: url(https://forumstatic.ru/files/0014/d2/5e/20393.png);
--body-bg: #FFEF93;
--link-hover: #FFEF93;
--link: #2C2D2A;
  --pun-bg: #7E7E7E;
  --light-accent: #CCCCCC;
  --dark-accent: #FFD900;
--topic-overlay: rgba(255, 239, 147, 0.5);
--need-overlay: rgba(255, 239, 147, 0.5);
 --profilelinkhover: #FFD900;
--profileplashka: #9D9D9D;
--post-bg: #afafaf;
    --cat-admins-img: url('https://forumstatic.ru/files/0014/d2/5e/94840.png');
    --cat-sun-img: url('https://forumstatic.ru/files/0014/d2/5e/64711.png');
    --cat-sins-img: url('https://forumstatic.ru/files/0014/d2/5e/87629.png');
    --cat-darkness-img: url('https://forumstatic.ru/files/0014/d2/5e/96439.png');
    --cat-washed-img: url('https://forumstatic.ru/files/0014/d2/5e/61181.png');
    --cat-blood-img: url('https://forumstatic.ru/files/0014/d2/5e/86562.png');
    --cat-reasons-img: url('https://forumstatic.ru/files/0014/d2/5e/95432.png');
}

.dark .b-post-title {color: var(--light-accent);
    top: -46px;
    left: 21px;}
.dark .about {background: var(--light-accent);}
.dark .nav_button_quests, .dark .nav_button {background: var(--link-hover);
color: var(--textcolor)}
.dark .nav_button:hover, dark .nav_button_quests: hover {color: var(--link-hover);}
.dark .b-episode-link {background: var(--light-accent)}
.dark .b-episode-link:hover {color: var(--link);}
.dark #pun-navlinks a {color: var(--link);}
.dark #pun-navlinks a:hover  {color: var(--link-hover);}
.dark .news-block {background: var(--textcolor);}
.dark .podforum {color: var(--textcolor)!important;}
.dark .podforum a {color: var(--textcolor)!important;}
.dark #theme_switcher li input#light::before {color: var(--textcolor)}
.dark #theme_switcher li input#dark::before {color: var(--link-hover)}
.dark .lastpost-link, .dark .lastpost {color: var(--textcolor)}
.dark #pun-index div.icon {background: var(--light-accent);}
.dark #pun-stats li.item1, .dark #pun-stats li.item2, .dark #pun-stats li.item3, .dark #pun-stats li.item4, .dark #pun-stats li.item4 a {background: var(--textcolor);
    color: var(--light-accent);}
.dark #pun-stats li.item4 a:hover {color: var(--link)}
.dark #html-footer {background: var(--textcolor);}
.dark .tcl h3 a {color: var(--textcolor)}
.dark .tcl h3 a:hover {color: var(--link);}
.dark .tcl a, .dark .tcr a {color: var(--textcolor)!important}
.dark .tcl a:hover, .dark .tcr a:hover {color: var(--link-hover)!important}
.dark #pun-viewforum div.icon, .dark #pun-viewtopic div.icon {background: var(--news-bg)}
.dark .lz-about a {color: var(--topic-overlay);}
.dark .lz-about a:hover {color: var(--link);}
.dark .quote-box cite {color: var(--textcolor);
background: var(--link-hover);}
.dark .punbb div.post-vote p, .dark post-rating {background: transparent!important}
.dark #plng, .dark input[type="text"], .dark input[type="password"], .dark textarea, .dark select {border: 1px solid var(--link)!important;
background: var(--news-bg);}
.dark .cat-admins::after {    top: 18% !important; }
.dark .cat-sun::after {top: 14% !important;}
.dark .cat-washed::after {top: 24% !important;}
.dark .cat-blood::after {top: 25% !important;}
.dark .cat-reasons::after {top: 25% !important;}
.dark #viewprofile td#profile-left, .dark #profile-right li{background: var(--post-bg);}
.dark .news-podlozhka p  a {color: var(--link)!important}
.dark .news-podlozhka p  a:hover {color: var(--link-hover)!important} 
.dark .news-date {background: var(--link-hover)}
.dark .news-episode, .dark .news-quote {background: var(--topic-overlay);
color: var(--textcolor);}
.dark .news-episode a {color: var(--link)}
.dark .news-episode a:hover {color: var(--link-hover)}
.dark input.button,
.dark #pun-admain input.button,
.dark #sub4,
.dark input[type="button"],
.dark input[type="submit"] {
    background: var(--footer);
        color: var(--link-hover);
    border: 1px solid var(--textcolor);}
.dark .news-title a:hover, .dark .b-episode-link a:hover {color: var(--link-hover)!important}
.dark #character {background: var(--link)}
.dark .general {color: var(--post-bg)}
.dark .gallery-title, .dark .twink-text {color: var(--textcolor)}
.dark #pun-ulinks a:hover {color: var(--profile-light)}
.dark .plashka a {color: var(--link-hover);}
.dark .podforum a:hover {color: var(--footer)!important;} 
.dark .quote-box cite a {color: var(--textcolor)!important}
.dark tr.inew div.icon {background: var(--link-hover)!important;}

/* 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(--footer) 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);
}

:focus {
  outline: none;
}


del {
    opacity: 0.7;
    filter: blur(2px);
    text-decoration: none;
    transition: all .3s linear 0s;
}

del:hover {
    opacity: 1;
    filter: none;
    text-decoration: none;
}

/* все ссылки */

a,
.punbb #pun-admain a {
  text-decoration: none;
  color: var(--link);
font-weight: bold;
  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;
}


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);
    border-radius: 5px;
    border: 1px solid var(--link);
}

/* Формы
------------------------------------------- */

/* ОФОРМЛЕНИЕ КНОПОК */

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(--sec-bg);
border-radius: 5px;
font-size: 10px;
text-transform: lowercase;
color: var(--textcolor);
border: 1px solid var(--footer);
font-weight: bold;
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {background: var(--pun-bg);
color: var(--textcolor);
border: 1px solid var(--body-bg);
}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
  border: 1px solid var(--body-bg);
background: var(--sec-bg);
border-radius: 5px;
font-family: var(--main-font);
}

textarea,
input,
select,
optgroup {
  font-size: 11px;
}

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;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
    z-index: 10;
    position: relative;
}

fieldset {
  border: none;
}

fieldset legend {
text-transform: lowercase;
padding: 10px 10px 0px;
}

fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
}

.fs-box {
  padding: 15px 0;
}

.fs-box p,
.fs-box fieldset {
  padding: 0 0 8px 0;
}

.fs-box .post .container {    margin: -10px 20px !important;}
.fs-box .post-links {padding: 5px 10px;}

.fs-box .post h3 {margin-bottom: 10px}

.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-img)  no-repeat top center/cover;
}

/* тело */

#pun {
  margin: 40px auto;
  width: 1000px;
  background: var(--pun-bg);
border-radius: 30px;
margin-top: 441px;!important;
overflow: visible;
}

/* внутреннее тело */

.punbb {
  font: 11px Arial;
color: var(--textcolor);
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
}

/* Навигационные ссылки */

#pun-navlinks {}

#pun-navlinks a {color: var(--footer);
font-weight: 400;}
#pun-navlinks a:hover {color: var(--link);
font-weight: 400;}

#pun-navlinks .container {
font-family: var(--extra-font);
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 16px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 5;
    height: 28px;
}

#pun-navlinks li {
  padding: 0 5px;
  display: inline;
}

/* Пользовательские ссылки */

#pun-ulinks a {color: var(--textcolor);
font-weight: 400;}
#pun-ulinks a:hover {color: var(--link);
font-weight: 400;}

#pun-ulinks .container {
  text-align: center;
font-family: var(--main-font);
font-style: normal;
font-weight: 400;
font-size: 10px;
line-height: 11px;
text-align: center;
letter-spacing: 0.1em;
text-transform: lowercase;
margin-top: -25px;
position: relative;
z-index: 5;
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

/* Статус */

#pun-status {}

#pun-status span {
  white-space: nowrap;
  margin-right: 5px;
}

/* Хлебные крошки */

.crumbs.container {}
#pun-crumbs2 p.container {font-weight: 700;
    font-size: 11px;}

/* Копирайт */

#pun-about {}

#pun-about .container {
  text-align: center;
}


/* Главная форумная таблица
------------------------------------------*/

.main table {
table-layout: fixed;
    width: 100%;
    letter-spacing: 0.01em;
    z-index: 2;
    position: relative;
}

#pun-index .main table {    color: var(--pun-bg);}

.main th {
  padding: 5px 10px;
display: none;
}

.main td {
  padding: 10px;
}


td.tc2, td.tc3 {
    font-weight: normal !important;
    font-size: 1em !important;
text-align: center;
    padding-right: 100px !important;
}

#pun-index td.tc2, #pun-index td.tc3 {    color: transparent;}

.tcl {
  width: 66%;
}



.tcl h3 a {
font-family: var(--extra-font);
    font-style: normal;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: var(--link);
text-transform: uppercase;
}

.tcl h3 a:hover {color: var(--link-hover);}

.tc2,
.tc3,
.tcmod {
  text-align: right;
  width: 6%;
}

#pun-index .tc2,
#pun-index .tc3,
#pun-index .tcmod {
  text-align: right;
  width: 0%;
}

.tcr {
width: 35%;
    text-align: right;
}

#pun-searchtopics .tcl,
#pun-modviewforum .tcl {
  width: 40%
}

#pun-searchtopics .tc2 {
  text-align: left;
  width: 10%;
}

#pun-debug table .tcl {
  width: 15%;
}

#pun-debug .tcr {
  width: 90%;
}


#pun-index  .hasicon tr{     background: var(--sec-bg-op) !important;
    border-radius: 15px !important;
    display: block;
color: var(--footer);
margin-bottom: 15px;
}

.hasicon tr:last-child {margin-bottom: 0px!important}

#pun-index .tcmod {
  visibility: hidden;
}

/* аватар */

.punbb td .user-avatar, #pun-index td .user-avatar {

}

.punbb td .user-avatar .avatar-image {
   filter: grayscale(100%);
}

.lastpost-link, .lastpost {
          text-align: right;
    color: var(--footer);
text-transform: lowercase;
}

.lastpost-link {
   font-size: 12px;
   font-weight: 700;
         text-align: right;
    color: var(--footer);
}

.lastpost-link a:hover {color: var(--link-hover);}

/* Иконки */

.intd {
    display: flex; /* включаем flex */
    align-items: center; /* вертикальное центрирование */
}


#pun-index div.icon {
    margin-left: 570px;
   }

div.icon {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--guest-overlay) url() no-repeat top center;
margin-left: 465px;
}

tr.inew div.icon {
  background: var(--body-bg) url() no-repeat top center;
}

tr.isticky div.icon {
  background: var(--body-bg) url() no-repeat top center;
}

tr.iclosed div.icon {
  background: var(--footer) url() no-repeat top center;
}


/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
}

.linkst {
  position: relative;
  padding: var(--pad2);
  display: flex;
  justify-content: space-between;
}

.linkst .pagelink {}


.linkst .postlink {
  text-align: right;
}

.linksb {
  position: relative;
  padding: var(--pad2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.linksb .pagelink {
  order: -1;
}

.subscribelink {
  width: 100%;
  text-align: right;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}

/* Модераторское меню, RSS, Atom */

.modmenu .container {
  padding: var(--pad3);
  text-align: right;
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
text-transform: lowercase
}


select#mod-options
{font-size: 10px}
/* Главная
------------------------------------------*/

/* скрыть "форум, тем, сообщений" */

#pun-index thead {
  display: none;
}

/* категория */

/* Общий стиль для картинок категорий */
#pun-index .category {
    position: relative;
    overflow: hidden; /* Чтобы картинка не вылезала */
}

#pun-index .category::after {
    content: '';
    position: absolute;
    left: 50%;
top: 50%;
    transform: translate(-50%, -50%);
    right: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    pointer-events: none;
    z-index: 10;
    max-width: 285px;
    max-height: 22px;
}

/* Картинка для каждой категории */
.cat-admins::after {
    background-image: var(--cat-admins-img);
 width: 134px !important;
    height: 23px !important;
top: 16% !important;
}

.cat-sun::after {
    background-image: var(--cat-sun-img);
width: 285px !important;
    height: 20px !important;
    top: 13% !important;
}

.cat-sins::after {
    background-image: var(--cat-sins-img);
width: 137px !important;
    height: 21px !important;
    top: 15% !important;
}

.cat-darkness::after {
    background-image: var(--cat-darkness-img);
width: 210px !important;
    height: 22px !important;
    top: 15% !important;
}

.cat-washed::after {
    background-image: var(--cat-washed-img);
width: 116px !important;
    height: 22px !important;
    top: 23% !important;
}

.cat-blood::after {
    background-image: var(--cat-blood-img);
width: 274px !important;
    height: 22px !important;
    top: 23% !important;
}

.cat-reasons::after {
    background-image: var(--cat-reasons-img);
    width: 214px !important;
    height: 22px !important;
    top: 24% !important
}

.category h2 span
 {
    visibility: hidden !important;}

/* Статистика */

#pun-stats {}

#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: 10px;
color: var(--dark-accent);
text-transform: lowercase;
letter-spacing: 0.1em;
}

.online-list {
    font-size: 10px;
    color: var(--textcolor);
text-transform: lowercase;
}

#pun-stats .container a {    color: var(--textcolor);
font-weight: 400;}

/* заголовок статистики */

#pun-stats h2 {
   display: none;
}

/* всего тем, всего сообщений */

#pun-stats li.item1,
#pun-stats li.item2 {
  clear: both;
    background: var(--footer);
    padding: 5px 25px;
    border-radius: 3px;
color: var(--pun-bg);
text-transform: lowercase;
}


/* зарегистрированных, последний зарегистрировавшийся */

#pun-stats li.item3,
#pun-stats li.item4 {
    background: var(--footer);
    padding: 5px 25px;
    border-radius: 3px;
color: var(--pun-bg);
text-transform: lowercase;
}

#pun-stats li.item4 a {color: var(--pun-bg);
font-weight: 400;}
#pun-stats li.item4 a:hover {color: var(--footer)}

/* активны, посетили за сутки */

li#onlinelist {
  margin-top: 10px;
  text-align: justify;
    flex-grow: 1;
    width: 100%;
    color: var(--textcolor);
}

/* Шапка
------------------------------------------*/

#pun-title {}

/* скрыть заголовок в шапке */

#pun-title .title-logo {
  display: none;
}

/* содержимое шапки в html-верх */

.tablica {
width: 1000px;
    height: 441px;
    position: absolute !important;
    margin-top: -441px;
}

.tablica::before{
content: "";
    position: absolute;
    inset: 0;
    background: var(--shapka-img);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}


.about {width: 345px;
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 400;
    text-align: justify;
    text-transform: lowercase;
    color: var(--textcolor);
    margin-left: 315px;
    margin-top: 360px;
    position: absolute;
    background: var(--pun-bg);
    border-radius: 10px;
    padding: 8px;
}

.b-episode {font-family: var(--main-font);
    position: absolute;
    z-index: 2;
    top: 139px;
    right: 722px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
}


.b-episode-link { text-transform: lowercase;
    font-size: 9px;
    text-align: right;
    background: var(--body-bg);
    padding: 2px 20px 5px 20px;
    height: fit-content;
    border-radius: 7px;
    display: inline-block;
margin-right: 10px;
}

.b-episode-link a {font-weight: bold;
color: var(--textcolor)}

.b-episode-link a:hover {font-weight: bold;
color: var(--white)}

.b-episode-title {font-family: var(--extra-font);
    font-size: 16px;
    letter-spacing: 0.05em;
    color: var(--white);
    top: -29px;
    position: absolute;
    width: 81px;
    text-transform: uppercase;
    line-height: 15px;
}

.b-post { position: absolute;
    width: 345px;
    height: 60px;
    top: 63px;
    left: 602px;
    display: flex;
    flex-direction: column-reverse;
    z-index: 5;
}

.bestpost-txt {
font-family: var(--main-font);
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 11px;
    text-align: justify;
    text-transform: lowercase;
    color: var(--white);
    height: 60px;
    padding: 10px;
}

.bestpost-txt a {color: var(--white)}
.bestpost-txt a:hover {color: var(--link-hover)}

.b-post-inner { 
    background: var(--footer);
    border-radius: 10px;
    width: 300px;
    padding: 5px;}

.b-post-title {      position: absolute;
    font-family: var(--extra-font);
    font-style: normal;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 3px;
    padding-top: 4px;
    color: var(--textcolor);
    border-radius: 3px;
    letter-spacing: 0.05em;
    top: -44px;
    left: 267px;
    line-height: 15px;
    width: 45px;
}

.gen-info {
    font-family: var(--main-font);
    font-style: normal;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    text-transform: lowercase;
    color: var(--link);
    margin-top: 377px;
    margin-left: 544px;
    position: absolute;
}

.forum-name {     font-family: var(--extra-font);
    font-style: normal;
    font-size: 30px;
    line-height: 29px;
    text-align: left;
    text-transform: uppercase;
    color: var(--dark-accent);
    margin-left: 544px;
    padding-top: 322px;
    position: absolute;
}

.dres {position: absolute;
    z-index: 9;
    content: '';
    background: var(--dres-img) no-repeat;
    background-size: contain;
    width: 105px;
    height: 135px;
    top: 5px;
    left: 24px;
transform: rotate(-30.42deg);}

.res {    position: absolute;
    background: url() no-repeat center center;
    background-size: contain;
    width: 38px;
    height: 70px;
    z-index: 10;
    display: flex;
    justify-content: center;
    top: 128px;
    left: 105px;
}

.res-points {    color: var(--textcolor);
    font-size: 10px;
    height: fit-content;
    width: 52px;
    padding: 3px 10px;
    z-index: 12;
    background: var(--white);
    border-radius: 5px;
    margin-top: -93px;
    margin-left: 55px;
    font-weight: bold !important;
    position: relative;
    left: -19px;}

.res a {color: var(--textcolor);
font-weight: bold;
z-index: 12;}
.res a:hover {color: var(--pun-bg);}

.de {position: absolute;
    background: url("")no-repeat center center;
    background-size: contain;
    width: 41px;
    height: 70px;
    z-index: 10;
    display: flex;
    justify-content: center;
top: 170px;
    left: 50px;
}

.de-points {    color: var(--textcolor);
    font-size: 10px;
    height: fit-content;
    width: 52px;
    padding: 3px 10px;
    z-index: 12;
    background: var(--white);
    border-radius: 5px;
    margin-top: -72px;
    margin-right: 84px;
    font-weight: bold !important;}

.de a {color: var(--textcolor);
font-weight: bold;
z-index: 12;}
.de a:hover {color: var(--pun-bg);}

.acts  {
    display: flex;
    position: absolute;
    gap: 10px;
top: 190px;
    left: 947px;
    flex-direction: column;
}

.acts a {
width: 44px;
    height: 44px;
    display: block;
    outline-offset: 2px;
    border-radius: 50%;
    transition: all .5s ease-in-out 0s;
position: relative;
}

.acts a:hover {
opacity: 1} 


.acts a::before {
    content: '';
    width: 44px;
    height: 44px;
    position: absolute;
    border-radius: 50%;
    background: var(--topic-overlay);
    z-index: 2;
}

.acts a:hover:before {
    opacity: 0;
        border-radius: 50%;
  background: var(--textcolor);
opacity: 0
}

.acts img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    object-position: top center;
        border-radius: 50%;
filter: grayscale(1);
        }

.need-wrap {
position: relative;
    display: inline-block;
    width: 241px;
    height: 234px;
    left: 420px;
    top: -26px;
}


.need-fon {
position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 234px;
    background-image: var(--need-fon-img);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
    pointer-events: none;
}

.need-wrap .need-img {
    display: block;
    position: relative;
    z-index: 1;
    left: 93px;
    top: 73px;
    object-fit: contain;
    transform: rotate(18.17deg);
filter: grayscale(1);
    width: 90px;
    height: 90px;
}

.need-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background-color: var(--need-overlay);
  z-index: 2;
  pointer-events: none;
    transform: rotate(18.17deg);
    left: 93px;
    top: 73px;
}


#controtator {
  position: relative;
  width: 241px;
  height: 234px;
  margin: 0;
  padding: 0;
}

#controtator p {
  display: none;  /* скрываем все параграфы изначально */
  margin: 0;
  padding: 0;
}


/* Гарантируем, что ссылки внутри p ведут себя правильно */
#controtator p a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}



/* Объявление
------------------------------------------*/

#pun-announcement {}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}


/* Футер
------------------------------------------*/

#html-footer {background: var(--footer);
height: 90px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;}

#html-footer .container {padding-bottom: 10px;
    width: 98%;
margin-left: -10px;}

/* баннеры */

.banners {
    padding: var(--pad1);
    height: 31px;
    overflow-y: auto;
    overflow-x: hidden;
}

.banners a {
  opacity: .7;
}

.banners a:hover {
  opacity: 1;
}

.banners img {
border-radius: 7px;
opacity: 0.5
}

.banners img:hover {opacity: 1}

/* Топик
------------------------------------------*/

.post {
  margin-top: 10px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

/* контейнер поста */

.post .container {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    background: var(--post-bg);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin: 0px 20px;
}
}

.punbb .post td {
  border: 0px transparent !important;
}
.post-content td {border: 0px transparent !important;}

/* дата и номер поста */

.post h3 {
    color: var(--textcolor);
    font-size: 11px;
    margin: 0 20px;
border-top-right-radius: 10px;
    border-top-left-radius: 10px;
background: var(--post-bg);}

.post h3 a {      color: var(--textcolor);;
font-weight: normal;
}

.post h3 span {
  padding: var(--pad2);
  display: block;
}

/* номер поста */

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
    font-size: 11px;
}

/* Автор */

.post-author {
width: 220px;
height: fit-content;
    padding-bottom: 20px;
    text-align: center;
    box-sizing: border-box;
background-size: contain;
    margin-bottom: 20px;
    position: relative;
    border-radius: 5px;
filter: drop-shadow(0px 4px 4px rgba(63, 61, 62, 0.2));
background: var(--profileplashka);
}


.post-author ul {
    background-color: var(--profilebg);
    border-radius: 5px;
    width: 200px;
    height: fit-content;
    margin-left: 10px;
    margin-top: 30px;
min-height: 150px;
}

.pa-author {font-family: var(--extra-font);
    color: var(--profilelink);
    font-size: 20px;
    text-align: center;
    margin-top: 40px;
     width: 200px;
        text-transform: lowercase;
}

.pa-author a {color: var(--profilelinkhover);
font-weight: normal;
        text-transform: lowercase;}
.pa-author a:hover {color: var(--profilelink)}

.pa-title {    font-size: 8px;
    font-family: var(--main-font);
    text-transform: lowercase;
padding-bottom: 3px;
    letter-spacing: 0.1em;
    width: 200px;
    text-align: center;
color: var(--profiletext);
}

.pa-avatar img {border: 1px solid var(--profilelink);
max-width: 180px;
max-height: 180px;}

.pa-online,
.pa-last-visit {}

.pa-respect .fld-name {
  font-size:0!important;
}

.pa-respect img {
    opacity: 0 !important;
    width: 0px !important;
    height: 0px !important;
    display: block !important;
}


.pa-online, .pa-last-visit {
    display:none!important;
}

.post-author .pa-respect a:before {
content: "";
    height: 10px;
    width: 11px;
    background-image: var(--likes);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    display: block;
    margin-top: -10px;
}

.pa-posts .fld-name {content: var(--messages); 
width: 100%;
  height: auto;
}

.pa-fld3 .fld-name {content: var(--money);
width: 10px;
height: 10px;
}

.pa-fld6 .fld-name {content: var(--posts);
width: 10px;
height: 10px;
}

.pa-fld2 {font-family: var(--main-font);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-align: justify;
padding-left: 5px;
    padding-right: 4px;
color: var(--profiletext);}

.lz {display: flex;
flex-direction: column;
    gap: 4px;}

.lz-caste {    background: var(--profileplashka);
    height: 10px;
    width: 105px;
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 8px;
    border-radius: 2px;
    letter-spacing: 0.1em;
    color: var(--profilebg);
    font-weight: bold;
    margin-top: 4px;
    margin-bottom: 0px;}

.lz-name {color: var(--dark-accent);
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 700;
margin-top: 4px;
text-transform: lowercase;
text-align: center;
}

.lz-name a {color: var(--profilelink)}
.lz-name a:hover {color: var(--profile-light)}

.lz-about {
    align-self: center;
}


.pa-fld4 {
    height: 26px;
    color: var(--sec-bg);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: lowercase;
}



.plashka {
    position: relative;
    width: 220px;
    height: 26px;
    margin-left: -10px;
}

.plashka img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.plashka img[src=""],
.plashka img:not([src]) {
    content: var(--plashka-img);
}

.pa-fld5 img[src=""],
.pa-fld5 img:not([src]) {
    content: var(--emoji);
}

.pa-fld1 {
    width: 100%;
    height: 100%;
    /* padding-bottom: 20px; */
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 20px;
    position: absolute;
    border-radius: 5px;
    filter: drop-shadow(0px 4px 4px rgba(63, 61, 62, 0.2));
    z-index: -1;
    inset: 0;
}

.pa-fld1 img[src=""],
.pa-fld1 img:not([src]) {
    content: var(--profile-bg-img);
}

.pa-fld1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.plashka a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;    
    justify-content: center; 
    text-align: center;
    padding: 0 10px;    
    word-break: break-word;     
color: var(--dark-accent);
}

.pa-fld4 img {width: 200px;
height: 26px;
object-fit: cover}

.pa-fld4 a:hover {color: var(--profilehover)}

.pa-fld5 {
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px; 
    z-index: 3;
}

.pa-fld5 img {width: 34px;
height: 34px;
object-fit: contain}

.pa-posts, .pa-respect, .pa-fld3, .pa-fld6 {
display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--profilelink);
    font-size: 8px;
    margin: 13px 13px;
width: 10px;
height: 10px;
}

.pa-posts span:last-child,
.pa-respect span:last-child,
.pa-fld3 span:last-child,
.pa-fld6 span:last-child {
    color: var(--profilelink);
width: 10px;
height: 10px;
display: flex;
    justify-content: center;
}

/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth));
}

.post-box {
  padding: 10px;
    padding-left: 25px;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
margin-top: 5px;
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
}

.post-links li {
  display: inline;
}

.post-links li:not(:first-of-type) {
  padding-left: 10px;
}

.pl-email,
.pl-website {
  float: left;
}

.clearer {
  clear: both;
  height: 0;
  font-size: 0;
}


/* Контент поста - цитата, спойлер, таблицы и т.п. */

.punbb .post td {
  border: 0px transparent !important;
}

pre {
  font: 12px/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

.post-content em {
  font-style: italic;
}

.post .post-content td {
  border-width: 0px !important;
}

.post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.post-content p {
    margin: 0.8em 0;
  padding: 2px;
  line-height: 150%;
  text-align: justify;
overflow: auto;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 200px;
}

/* Контейнер спойлера */
.punbb .post-content .spoiler-box > div {
    position: relative;
    display: inline-block; 
    padding-left: 20px; 
    cursor: pointer; 
    color: var(--textcolor); 
    font-size: 12px;
    font-weight: 400;
    background: transparent;
}

/* Кружочек (добавляем через ::before) */
.punbb .post-content .spoiler-box > div::before {
    content: ''; 
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--body-bg);
    border-radius: 50%;
    cursor: pointer;
}

/* Для раскрытого состояния (класс visible) */
.punbb .post-content .spoiler-box > div.visible::before {
    background: var(--guest-overlay) url();

}
.post-content .spoiler-box > div.visible {
    content: none !important;
    background: none !important;

}

/* цитата и код */

.quote-box,
.code-box {
  margin: 14px 0px 15px;
  padding: 5px;
  border-left: 4px solid var(--body-bg);
  background: var(--profileplashka);
border-radius: 5px;
}

.quote-box cite {
display: block;
    padding: 5px;
    font-weight: bold;
    font-style: normal;
    text-transform: lowercase;
background: var(--link);
    width: fit-content;
    border-radius: 3px;
    color: var(--sec-bg);
    margin-top: -15px;
}

.quote-box cite a {color: var(--sec-bg);}

.code-box strong.legend {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  font-style: normal;
}

.post-sig dt {    display: block;
    background: linear-gradient(90deg, rgba(135, 122, 98, 0) 0%, var(--link) 15%, var(--link) 85%, rgba(135, 122, 98, 0) 100%);
    height: 1px;
    width: 550px;
    margin: 5px auto;
    position: relative;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Форма ответа */

#main-reply {
  box-sizing: border-box;
padding: 5px;
}

#tags {
  position: relative;
    margin-bottom: 15px;
}

#tags .container {
  padding: var(--pad3) !important;
  top: 0 !important;
  max-height: 300px;
  overflow: auto;
}


/* Профиль + ЛС
------------------------------------------*/

#profile {
   padding: var(--pad1);
}

#viewprofile tr { 
    display: flex;
    gap: 40px;
}

#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-weight: 400;
    font-size: 12px;
    margin-bottom: 10px;
    background: var(--topic-overlay);
    color: var(--paletext);
    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(--topic-overlay);
    padding: 10px 15px;
    border-radius: 10px;
}

#profile-name {
    font-size: 16px;
        letter-spacing: 0.1em;
font-weight: 700;
    text-align: center;
color: var(--link);
    text-transform: lowercase;
}

#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(--topic-overlay);
    padding: 0 5px;
    border-radius: 10px;
}


#profile-right li span {
    flex-shrink: 1;
    text-align: center;
}



#profile-left li strong, #profile-right li strong {
  font-weight: normal !important;
  padding-left: 0 !important;
text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

#profile-left #profile-name {font-family: var(--extra-font);
    margin-bottom: -5px;}

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;
}

.tipsy #respect figcaption {
  margin-top: 0;
}


/* Кнопки вверх-вниз
-------------------------------------------------------*/

.go-up,
.go-down {
  cursor: pointer;
  z-index: 999;
  position: fixed;
width: 14px;
height: 48px;
border-radius: 7px;
  margin-left: 1010px !important;
  box-sizing: border-box;
  transition: all .3s linear 0s;
}

.go-up {
  top: 260px;
background: var(--body-bg);
}


.go-down {
  top: 320px;
background: var(--footer);
}

#plng {
    border: 1px solid var(--body-bg) !important;
    padding: 5px 5px 5px 8px !important;
    margin: 0 20px 0 5px!important;
    border-radius: 10px;
}

