@import url(style_cs.1754518576.css);

/* uicons */
@import url(https://forumstatic.ru/files/0010/ed/c4/24932.css?v=2);

/* Calibri font */
@import url(https://alexkolmar.github.io/fonts/Calibri/stylesheet.css);

/* Segoe UI */
@import url(https://alexkolmar.github.io/fonts/SegoeUI/stylesheet.css);

/* Porter */
@import url(https://alexkolmar.github.io/fonts/Porter/stylesheet.css);

@font-face { font-family: 'CALSTAVIER'; src: local("CALSTAVIER"), url('https://forumstatic.ru/files/001b/f3/21/90356.ttf') format('truetype');}

@font-face { font-family: 'Majestic'; src: local("Majestic"), url('https://forumstatic.ru/files/001a/e6/ed/85369.ttf') format('truetype');}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


/* Полезные сервисные настройки
-------------------------------------------------------------*/

.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;
}

.pa-ua, .flag-i, #pun-status .item4.status-right, #pun-live-rusff, #pun-about .item1 {
    display: none !important;
}

/* From obscura */
/*.flag-i, .pa-reg, .pa-invites, .pa-positive, .pa-awards, .pa-gifts, .pa-time-visit, .pa-online, .pa-ua, #pun-live-rusff, #pun-about .item1, #pun-announcement h2, #pun-status .item4.status-right, .category table .tc2, .category table .tc3, #pun-stats h2 span, #pa-fld3, .pa-respect a img, .forum .altstyle.isticky .stickytext {*/
/*display: none !important;*/
/*}*/


/* Основные переменные
------------------------------------------*/

:root {
  --body-bg: #FFFFFF;
  --pun-bg: #FFFFFF;
  --sec-bg: #e6dbdb;
  --link2: #7d1500;
  --link-hover: #a9a8b3;
  --link2-hover: #a9a8b3;
  --link3: #48457d;
  --quote-bg: #cbc9df;
  --quote-top: #66637c;
  --quote-bor: #aaa;
  --pwidth: 220px;
  --pwidth: 245px;
  --padding: 10px 30px;
  --tpad: 5px 30px;
  --mpad: 5px 10px;
  --cal: "Calibri";
  --seu: "Segoe UI";
  --por: "Porter";
  --uicons: "uicons-regular-rounded";
  
      --logo-image: url(https://forumstatic.ru/files/001c/7a/01/47953.png);
    --header-image: url(https://forumstatic.ru/files/001c/7a/01/82384.png);
    --header-image2x: -webkit-image-set(url("https://forumstatic.ru/files/001c/7a/01/42070.png") 1x, url("https://forumstatic.ru/files/001c/7a/01/82384.png") 2x );
     --bg-image: url("https://forumstatic.ru/files/001c/7a/01/44922.png");
    --main-card-image: url('https://forumstatic.ru/files/001c/7a/01/46908.png');
    --font-color-primary: #202020;
    --background-primary: #e2e2e2;
    --background-secondary: #d3d3d3;
    --highlight: #343d47;
    --link-color: #70868b;
    --link-hover: #70868b;
    --border-color: #c0c0c0;
    --content-width: 1000px;
    --we-need-them-color: #AAC1BB;
    --we-need-them-bg: linear-gradient(180deg, #A3B7B6 0%, #555B64 100%);
    --best-episode-title-color: rgba(255, 255, 255, 0.88);
    --best-episode-text-color: #343D47;
    --dropdown-button-bg: rgba(170, 215, 226, 0.09);
    --dropdown-button-border: rgba(97, 115, 125, 1);
}

.dark {
    --logo-image: url(https://forumstatic.ru/files/001c/7a/01/99569.png);
    --header-image: url(https://forumstatic.ru/files/001c/7a/01/49248.png);
    --header-image: url(https://forumstatic.ru/files/001c/7a/01/65463.png);
    --bg-image: url("https://forumstatic.ru/files/001c/7a/01/76156.png");
    --main-card-image: url(https://forumstatic.ru/files/001c/7a/01/26272.png);
    --font-color-primary: #E4E4E4;
    --background-primary: #2C2C2C;
    --background-secondary: #323232;
    --highlight: #414141;
    --link-color: #E39595;
    --link-hover: #E39595;
    --we-need-them-color: #C3C3C3;
     --we-need-them-bg: linear-gradient(180deg, #898989 0%, #53524D 100%);
        --best-episode-title-color: #FFFFFF;
        --best-episode-text-color: #E39595;
        --dropdown-button-bg: rgba(0, 0, 0, 0.7);
        --dropdown-button-border: rgba(51, 51, 51, 1);
}


/* 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-color) transparent;
}

*::-webkit-scrollbar {
  width: 2px;
  height: 7px;
}

*::-webkit-scrollbar-track {
    border: none; 
    box-shadow: none; 
}

*::-webkit-scrollbar-thumb {
    border: none; 
    box-shadow: none; 
}

*::-webkit-scrollbar-thumb:active {
  background: var(--link-color);
}

:focus {
  outline: none;
}

html {
    color: var(--font-color-primary);
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 145%;
    letter-spacing: 0;
}

a,
.punbb #pun-admain a {
  text-decoration: none;
  color: var(--link-color);
  transition: all .23s linear;
}

a:hover.
.punbb #pun-admain a {
    color: var(--link-hover);
}

.forum-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: flex-start;
}

#pun-main {
    /*padding-top: 16px;*/
    padding: 16px 20px 0;
}

#pun-main .tclcon .forum-links .link-in-forum {
  padding: 2px 20px;
  background: rgba(52, 61, 71, 0.1);
  border-radius: 4px;
  font-family: Inter;
  font-weight: 600;
  font-size: 12px;
  line-height: 145%;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: middle;
  text-transform: initial;
}

.dark #pun-main .tclcon .forum-links a {
      background: rgba(65, 65, 65, 0.6);
}

#pun-index #pun-main .tc2,
#pun-index #pun-main .tc3 {
  display: none;
}

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;
  text-align: center;
  font-size: 12px;
  font-family: var(--cal);
  font-weight: 40;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 1px;
}

ul,
dl,
li,
dd,
dt {
  list-style: none;
}

address,
em {
  font-style: normal;
}

.modlist,
.lastedit,
.punbb .topic a.sharelink {
  display: none;
}

#tags .container,
.post_report,
.post_reputation,
#MyBookmarks,
.inner.popup_graffiti,
.pun-modal .modal-inner {
  background: var(--background-primary);
}

#MyBookmarks h2 {
    font-size: 15px;
    line-height: 145%;
    font-weight: 700;
    font-family: Playfair Display;
     text-transform: capitalize; 
    color: var(--font-color-primary);
}

#tags .container {
  padding: var(--mpad) !important;
  top: 0 !important;
}

/* ОФОРМЛЕНИЕ КНОПОК
------------------------------------------*/

input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"] {
  padding: 2px 10px;
  border: 1px solid var(--quote-bor);
  cursor: pointer;
  transition: all .2s linear 0s;
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: Inter;
  border-radius: 10px;
  color: var(--font-color-primary);
background: var(--background-primary);
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА
------------------------------------------*/

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
  border: 1px solid var(--quote-bor);
  border-radius: 10px;
  color: var(--quote-top);
}

select {
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}


/* Админка
------------------------------------------*/

#pun-adnav {
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}


/* Тело форума
------------------------------------------*/

body {
  background-image: var(--bg-image);
   background-image: -webkit-image-set(
    url("https://forumstatic.ru/files/001c/7a/01/40707.png?v=1") 1x,
    var(--bg-image) 2x);
  background-image: image-set(
    url("https://forumstatic.ru/files/001c/7a/01/40707.png?v=1") 1x,
    var(--bg-image) 2x);
 background-attachment: fixed;
 background-size: cover;
}


#pun {
  width: var(--content-width);
  margin: 0 auto 106px;
  padding: 0 60px;
}

.punbb {
  /*font: 12px arial*/
  /*color: #171719;*/
  position: relative;
}

.category {
  /*margin: 0 20px;*/
}

.category h2 { 
  padding-bottom: 8px;
}

#pun-index .category .intd {
  display: grid;
  grid-template-areas: "for icon";
  grid-template-columns: 480px auto;
  align-items: center;
  gap: 10px;
}

#pun-index .tclcon {
    grid-area: for;
    text-align: justify;
    /*display: flex;*/
    /*gap: 10px 20px;*/
    /*flex-direction: column;*/
    /*width: 520px;*/
}

.category .icon {
  width: 48px;
  height: 55px;
  grid-area: icon; 
  mask: url(https://forumstatic.ru/files/001c/7a/01/60855.svg);
  background-color: rgba(53, 53, 53, 0.1);
}

.dark .category .icon {
    background-color: rgba(228, 228, 228, 0.1);
}

.category .icon.inew {
  /*background-color: rgba(110, 133, 139, 0.9);*/
  background-color: var(--link-color);
}


/*.dark .category .icon.inew {*/
/*    background-color: rgba(227, 149, 149, 0.4);*/
/*}*/


.punbb > div .container {
  /*padding: 22px 32px;*/
  /*padding: 10px 20px;*/
}

.punbb > div ul.container {
  padding: 0;
}

#pun-index #pun-main .container {
  background-color: var(--background-secondary);
  box-shadow: 0px 0px 80px 0px rgba(254, 250, 246, 0.4) inset;
  border: 1px solid #CCCCCC;
  border-radius: 10px;
  position: relative;
}

#MyBookmarks .container {
  background-color: var(--background-secondary);
  box-shadow: 0px 0px 80px 0px rgba(254, 250, 246, 0.4) inset;
  border: 1px solid #CCCCCC;
  border-radius: 10px;
  position: relative;  
}

.dark #MyBookmarks .container,
.dark #pun-index #pun-main .container {
    box-shadow: 0px 0px 80px 0px rgba(127, 127, 127, 0.2) inset;
    border-color: #444444;
}

#pun-main .category {
  position: relative;
}

#pun-main .category::before {
  content: '';
  background-size: contain;
  width: 318px;
  height: 41px;
  position: absolute;
  top: 5px;
}

#pun-main .category:nth-child(odd)::before {
  background-image: url('https://forumstatic.ru/files/001c/7a/01/95213.png');
  right: 0;
}


#pun-main .category:nth-child(even)::before {
  background-image: url('https://forumstatic.ru/files/001c/7a/01/30539.png');
  left: 0;
}


#pun-main .container thead {
  /*display: none;*/
}

#pun-main .container thead tr {
 display: grid;
  grid-template-columns: 5fr 1fr 1fr 3fr;
}

.dark #pun-main .container thead tr {
    color: #E4E4E4;
}

#pun-main h1 {
  display: none;
}

#pun-main .tclcon h3 {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 19px;
  line-height: 145%;
  letter-spacing: 0;
  margin-bottom: 8px;
}

#pun-main .tclcon {
  font-family: Inter;
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: 0;
  text-align: justify;
  color: rgba(32, 32, 32, 0.7);
  padding-right: 12px;
}

#pun-main .tclcon a {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 19px;
  line-height: 145%;
  letter-spacing: 0.4px;
  vertical-align: middle;
  text-transform: capitalize;
}

#pun-viewforum #pun-main .tclcon a {
    font-family: Inter;
font-weight: 700;
font-size: 12px;
line-height: 144%;
letter-spacing: 0;
text-transform: capitalize;
}

.section {
  background: var(--background-primary);
}

#pun-about {
  border-bottom-right-radius: 40px;
}


/* Навигационные ссылки */

#pun-navlinks {
  position: absolute;
  top: 375px;
  width: var(--content-width);
  background: transparent;
  z-index: 10;
}

#pun-navlinks .container {
  padding: 0;
  border: none;
  text-align: center;
  background-color: transparent;
  display: flex;
  gap: 6px;
  justify-content: center;
}

#pun-navlinks li a {
  padding: 4px 16px;
  background-color: #343D47;
  color: #E6E6E6;
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 10px;
  line-height: 145%;
  letter-spacing: 4%;
  text-transform: uppercase; 
  border-radius: 4px;
}

.dark #pun-navlinks li a {
    background-color: #414141;
}


#pun-navlinks li a:hover {
      background-color: var(--link-color);
  }

/* Пользовательские ссылки */

#pun-ulinks {
  font-family: Inter;
  font-weight: 500;
  font-size: 11px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  padding: 10px 20px 70px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
  z-index: 10;
}

#pun-ulinks .container {
    padding: 2px 0;
    background: linear-gradient(90deg, #E2E2E2 0%, #D3D3D3 50%, #E2E2E2 100%);
    border: 1px solid rgba(52, 61, 71, 0.05);
    border-right-width: 0;
    border-left-width: 0;
}

.dark {
    #pun-ulinks .container {
        background: linear-gradient(90deg, #2C2C2C 0.45%, #414141 51.42%, #2C2C2C 100.45%);
    }
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

#pun-ulinks li a {
  color: rgba(32, 32, 32, 0.7);
  font-size: 11px;
}

/*#pun-ulinks li a:hover {*/
/*    color: var(--link-color);*/
/*}*/

.dark #pun-ulinks li a {
   color: rgba(228, 228, 228, 0.7);
}

#pun-ulinks li a:hover {
  color: var(--link-color);
}

/* Статус */


/* соошки */
/*.pa-posts, .pa-respect, .pa-fld1 {*/
/*    width: min-content;*/
/*    vertical-align: top;*/
/*    display: inline-block;*/
/*    width: 53px !important;*/
/*    color: rgb(var(--grey3));*/
/*    text-align: center;*/
/*    text-transform: lowercase;*/
/*    font: var(--h4);*/
/*    letter-spacing: 0.4px;*/
/*    margin: 1rem 0.1rem 0.6rem 0.1rem;*/
/*    line-height: 205%;*/
/*    font-variant: small-caps;*/
/*    font-size: 9px;*/
/*}*/

.pa-positive {
    display: none;
}


#pun-status, #pun-crumbs1 {
  padding: 0 20px;
  font-family: Inter;
  font-weight: 400;
  font-size: 10px;
  line-height: 144%;
  letter-spacing: 0;
  text-align: justify;
}

#pun-crumbs1 .container {
    padding: 10px 0;
}

.dark #pun-status, .dark #pun-crumbs1 {
    color: #E4E4E4;
}

#pun-status .container {
    padding: 0;
}


#pun-status a {
  color: var(--link2-hover);
}

/* Хлебные крошки */

.crumbs.container {
  text-transform: lowercase;
}

/* Копирайт */
#pun-about .container {
  text-align: center;
  text-transform: lowercase;
  font-size: 9px;
  letter-spacing: 0px;
  font-weight: normal;
  font-family: var(--cal);
  height: 30px;
color: #cebf88;

}


/* Главная форумная таблица
------------------------------------------*/

.main {
  background-color: var(--background-primary);
}


.main table {
  table-layout: fixed;
  width: 100%;
}

.main th {
  padding: 5px 10px;
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: bold;
  font-family: Inter;
}

#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%;
}

/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  padding-top: 10px;
}

.linkst, .linksb {
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}

.linkst {
  position: relative;
  padding: var(--tpad);
  display: flex;
  justify-content: space-between;
}

.linkst .postlink {
  text-align: right;
}

.linksb {
  position: relative;
  padding: var(--tpad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.linksb .pagelink {
  order: -1;
}

.dark .pagelink {
    color: #E4E4E4;
}

.subscribelink {
  width: 100%;
  text-align: right;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}

/* Модераторское меню, RSS, Atom */

.modmenu .container {
  /*padding: var(--mpad);*/
  padding: 5px 30px;
  text-align: right;
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
}

.modmenu input, .modmenu select {
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: Inter;
      color: var(--font-color-primary);
    background: var(--background-primary);
}

/* Главная
------------------------------------------*/

/* Категории */

.category h2, {
  padding: 0;
  width: 100%;
  height: 0px;
  background: url() no-repeat top center;
}

.category h2 span {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 18px;
  line-height: 145%;
  letter-spacing: 0;
  text-align: center;
  text-transform: lowercase;
  color: rgba(32, 32, 32, 0.3);
  letter-spacing: 0.7px;
}

.dark .category h2 span {
    color: rgba(228, 228, 228, 0.3);
}

.category h2 p {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 26px;
  font-family: Playfair Display;
  font-weight: 700;
  color: rgba(32, 32, 32, 0.3);
  letter-spacing: 0;
  text-transform: lowercase;
  padding: 8px 0;
}

#pun-index thead {
  display: none;
}

#pun-index .tc2, #pun-index .tc3 {
  display: none;
}

#pun-index #pun-main .hasicon tr {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  padding: 22px 0px 22px 12px;
  margin: 0 20px;
  border-bottom: 1px dashed rgba(32, 32, 32, 0.6);
}

.dark #pun-index #pun-main .hasicon tr {
    border-bottom-color: rgba(228, 228, 228, 0.6);
}

#pun-index #pun-main .hasicon tr:last-child {
  border-bottom: none;
}

#pun-index .hasicon td.tcl {
  padding-left: 2px;
  position: relative;
}

#pun-index .tcl h3 {
  font-size: 19px;
  line-height: 145%;
  font-weight: 700;
  font-family: Playfair Display;
  text-transform: capitalize;
  letter-spacing: 0;
}

#pun-index .tclcon {
  font-family: Inter;
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: 0;
  text-align: justify;
  color: rgba(32, 32, 32, 0.7);
}

.dark #pun-index .tclcon {
    color: rgba(228, 228, 228, 0.7);
}

#pun-index .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 11px;
  gap: 5px;
}

#pun-index .links a {
  border-radius: 7px;
  background: no-repeat top 50px left 20px, #cebf88;
  min-width: 80px;
  height: 16px;
  color: #78682e;
  padding: 0 7px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#pun-viewforum #pun-main .hasicon tr {
  display: grid;
  grid-template-columns: 5fr 1fr 1fr 3fr;
  gap: 10px;
  align-items: center;
  padding: 0px 20px;
}

.dark #pun-viewforum #pun-main .hasicon tr {
    color: #E4E4E4;
}

#pun-viewforum #pun-main .hasicon td {
    padding: 5px 10px;
    /*display: flex;*/
    /*align-items: center;*/
    font-family: Inter;
font-weight: 400;
font-size: 12px;
line-height: 144%;
letter-spacing: 0;
}

#pun-viewforum #pun-main .hasicon .tc2,
#pun-viewforum #pun-main .hasicon .tc3 {
    text-align: center;
}

/*#pun-index div.icon {*/
/*  display: none;*/
/*}*/

/*#pun-index .inew div.icon {*/
/*  display: block;*/
/*  background: url(https://forumupload.ru/uploads/001a/e6/ed/2/22507.png) no-repeat top center;*/
/*  width: 50px;*/
/*  height: 50px;*/
/*  margin: 0;*/
/*  right: -30px;*/
/*  top: 10;*/
/*}*/

#pun-index .lastpost-link {
  font-size: 12px;
  font-family: var(--cal);
  color: var(--link3);
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: .75px;
}

#pun-index .tcr {
    display: grid;
    grid-template-areas:
        "avatar lastpost-link"
        "avatar lastpost";
    /*gap: 4px 10px;*/
        gap: 0 10px;
grid-template-columns: 34px auto;
    grid-template-rows: auto auto;
    align-items: center;
}

#pun-index .tcr br,
.tcr br {
  display: none;
}

#pun-index .tcr .user-avatar,
#pun-view-forum .punbb .tcr .user-avatar,
.tcr .user-avatar {
    float: left;
    grid-area: avatar;
    height: 34px !important;
    width: 34px !important;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #b1b1b1 0%, #aeaeae 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pun-viewforum .punbb .user-avatar {
      height: 34px !important;
    width: 34px !important;  
        display: flex;
    align-items: center;
    justify-content: center;
}

#pun-viewforum .tcr a {
font-family: Inter;
font-weight: 400;
font-size: 12px;
line-height: 144%;
letter-spacing: 0;
}

#pun-viewforum .tcr .byuser {
    font-family: Inter;
font-weight: 400;
font-size: 12px;
line-height: 144%;
letter-spacing: 0;
}

.dark #pun-viewforum .tcl .byuser {
    color: #E4E4E4;
}

#pun-index .tcr .lastpost-link {
font-family: Inter;
font-weight: 700;
font-size: 12px;
line-height: 144%;
letter-spacing: 0;
text-transform: capitalize;
color: var(--font-color-primary);
grid-area: lastpost-link;
}

#pun-index .tcr .lastpost {
grid-area: lastpost;
font-family: Inter;
font-weight: 400;
font-size: 12px;
line-height: 144%;
letter-spacing: 0;
color: rgba(32, 32, 32, 0.7);
}

.dark #pun-index .tcr .lastpost {
    color: rgba(228, 228, 228, 0.7);
}

#pun-index .tcr .user-avatar a,
.tcr .user-avatar a {
    /*width: 34px;*/
    /*height: 34px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*border-radius: 50%;*/
    /*background: linear-gradient(180deg, #b1b1b1 0%, #aeaeae 100%) !important;*/
    cursor: pointer;
}

#pun-index .tcr .user-avatar .avatar-image,
#pun-viewforum .tcr .user-avatar .avatar-image,
.tcr .user-avatar .avatar-image {
    display: block;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
}


/* Статистика */

#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    padding-bottom: 20px;
}

#pun-stats .container::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 28px;
    background: linear-gradient(90deg, #E2E2E2 0%, #D3D3D3 50%, #E2E2E2 100%);
    z-index: 0;
    border: 1px solid rgba(52, 61, 71, 0.05);
    border-right-width: 0;
    border-left-width: 0;
}

.dark #pun-stats .container::before {
    background: linear-gradient(90deg, #2C2C2C 0.45%, #414141 51.42%, #2C2C2C 100.45%);
    border-color: #414141;

}

#pun-stats li {
font-family: Inter;
font-weight: 400;
font-size: 11px;
line-height: 16px;
letter-spacing: 0;
color: #202020;
}

.dark #pun-stats li {
    color: #E4E4E4;
}

#pun-stats li.item1, 
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
    text-align: center;
    margin: 7px 12px;
    z-index: 1;
}

#pun-stats li#onlinelist {
    width: 100%;
}

#pun-stats li.onlinelist,
#pun-stats li.users_24h {
    margin-top: 12px;
}

#pun-stats h2 span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
font-family: Playfair Display;
font-weight: 700;
font-size: 18px;
line-height: 145%;
letter-spacing: 0;
text-transform: lowercase;
color: rgba(32, 32, 32, 0.3);
}

.dark #pun-stats h2 span {
    color: rgba(228, 228, 228, 0.3);
}

#pun-stats li.item1,
#pun-stats li.item2 {
  float: left;
  clear: both;
}

#pun-stats li.item3,
#pun-stats li.item4 {
  text-align: right;
}

li#onlinelist {
  margin-top: 4px;
  text-align: justify;
}

/* Шапка
------------------------------------------*/

#pun-title {
  background: var(--header-image) center -16px no-repeat;
    background: var(--header-image2x) center -16px no-repeat;
  background-size: cover;
  position: relative;
  /*width: 1038px;*/
  width: 1000px;
  height: 402px;
  transform: translateY(10px);
  margin-top: -10px;
}

.dark #pun-title {
  background: var(--header-image) center -1px no-repeat;
  background-size: cover;
}

#pun-title .title-logo {
  display: none;
}

.custom-header {
   position: relative;
}

.star {
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 10;
    transition: all 0.23s ease-in;
    transform: scale(1);
}

.star:hover {
    transform: scale(1.3);
}

.star1 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/21096.png);
    top: 122px;
    left: 27px;
    width: 42px;
    height: 38px
}

.star2 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/69561.png);
    top: 188px;
    left: -21px;
    width: 44px;
    height: 37px;
}

.star3 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/49067.png);
    top: 246px;
    left: 8px;
    width: 49px;
    height: 56px;
}

.star4 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/92150.png);
top: 125px;
    right: 60px;
    width: 35px;
    height: 39px;
}

.star5 {
     background-image: url(https://forumstatic.ru/files/001c/7a/01/87515.png);
top: 107px;
    right: -12px;
    width: 35px;
    height: 36px;
}

.star6 {
     background-image: url(https://forumstatic.ru/files/001c/7a/01/24784.png);
top: 188px;
    right: -16px;
    width: 32px;
    height: 37px;
}

.dark .star {
    display: none;
}

.logo {
    background: var(--logo-image);
    width: 159px;
    height: 74px;
    position: absolute;
    top: 34px;
    left: 39px;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
}

.logo-bottom {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/56332.png);
    width: 158px;
    height: 58px;
    position: absolute;
    top: 21px;
    right: 21px;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
}

.dark .logo-bottom {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/13467.png);
}

.main-card {
    background-image: var(--main-card-image);
    background-size: contain;
    width: 246px;
    height: 348px;
    position: absolute;
    top: 47px;
    left: 362px;
    z-index: 1;
}

.best-post {
  position: absolute;
     top: 140px;
   left: 130px;
    z-index: 1;
    width: 135px;
  text-align: right;
}

.dark .best-post {
    top: 266px;
    right: 152px;
    left: initial;
    width: 296px;
}

.best-post-user {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 19px;
  line-height: 145%;
  letter-spacing: 0;
  text-transform: capitalize;
  color: #fff;
      display: block;
    margin-bottom: 4px;
}

.dark .best-post-user {
   color: var(--link-color); 
}

.best-post-text {
  font-family: Inter;
  font-weight: 400;
  font-size: 9px;
  line-height: 120%;
  letter-spacing: 0;
  text-align: justify;
  color: #fff;
   display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .best-post-text {
    color: #B8B8B8;
    -webkit-line-clamp: 3;
}

.best-episode {
  position: absolute;
  top: 252px;
  right: 145px;
  z-index: 1;
  width: 158px;
  height: 17px;
  text-align: center;
}

.dark .best-episode {
    top: 242px;
    left: 156px;
    right: initial;
}

.best-episode-title {
  font-family: Playfair Display;
  font-weight: 800;
  font-size: 12px;
  line-height: 145%;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--best-episode-title-color);
  margin-bottom: 2px;
}

.dark .best-episode-title {
    margin-bottom: 4px;
}

.best-episode-text {
  font-family: Playfair Display;
  font-weight: 800;
  font-size: 14px;
  line-height: 145%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: var(--best-episode-text-color);
  text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.7);
}

.dark .best-episode-text {
    text-shadow: none;
}

.we-need-them {
    position: absolute;
    top: 39px;
    right: 41px;
    display: grid;
    gap: 6px;
    z-index: 1;
}

.we-need-them-title {
  font-family: Playfair display;
  font-weight: 700;
  font-size: 12px;
  line-height: 145%;
  text-align: center;
  text-transform: uppercase;
  color: var(--we-need-them-color);
  letter-spacing: 0.4px;
}

.we-need-them-links {
  display: flex;
  gap: 6px;
}

.we-need-them a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
    transition: all .2s linear 0s;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #A3B7B6 0%, #555B64 100%);
  cursor: pointer;

  img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
  }
}

.dark .we-need-them a {
    background: linear-gradient(180deg, #898989 0%, #53524D 100%);
}

.we-need-them a:hover {
  transform: scale(1.1);
}

.navigation-dropdown {
  position: absolute;
  top: 174px;
  left: 790px;
  z-index: 10;
}

.navigation-dropdown.open .navigation-dropdown-menu {
     /*display: flex;*/
     /*background: #D3D3D3;*/
     /*box-shadow: 0px 0px 90px 0px rgba(0, 0, 0, 0.4);*/
     /*border-radius: 4px;*/
     /*padding: 8px;*/
     /*flex-direction: column;*/
     /*gap: 1px;*/
     /*width: 176px;*/
     /*position: absolute;*/
     /*bottom: 36px;*/
     /*left: 50%;*/
     /*transform: translateX(-50%);*/
     visibility: visible;
     opacity: 1;
      transform: translate(-50%, 0px);
}

.dark .navigation-dropdown.open .navigation-dropdown-menu {
    background: #323232
}

.navigation-dropdown-button {
  cursor: pointer;
  padding: 6px 8px;
  background: var(--dropdown-button-bg);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  border: 1px solid  var(--dropdown-button-border);
  width: 148px;
  height: 29px;
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 12px;
  line-height: 145%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  color: #ffffff;
}

.navigation-dropdown-menu {
  /*display: none;*/
  display: flex;
     background: #D3D3D3;
     box-shadow: 0px 0px 90px 0px rgba(0, 0, 0, 0.4);
     border-radius: 4px;
     padding: 8px;
     flex-direction: column;
     gap: 1px;
     width: 176px;
     position: absolute;
     bottom: 36px;
     left: 50%;
     transform: translate(-50%, 10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.23s ease-in-out;
 /* display: flex;*/
 /*background: #D3D3D3;*/
 /*box-shadow: 0px 0px 90px 0px rgba(0, 0, 0, 0.4);*/
 /*border-radius: 4px;*/
 /*padding: 8px;*/
 /*flex-direction: column;*/
 /*gap: 1px;*/
 /*width: 237px;*/
 /*position: absolute;*/
 /*bottom: 36px;*/
 /*   left: 0;*/
 /*   transition: all 0.23 ease-in;*/
 /*   transform: translatey(20px);*/
 /*   opacity: 0;*/
 /*   visibility: hidden;*/
}

.navigation-dropdown-item {
  border-radius: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
    font-family: Inter;
    font-weight: 400;
    font-size: 10px;
    line-height: 140%;
    letter-spacing: 0;
}

.dark .navigation-dropdown-item {
    background: rgba(0, 0, 0, 0.4);
}

.quests-dropdown {
  position: absolute;
    top: 332px;
    left: 46px;
  z-index: 10;
}

.quests-dropdown.open .quests-dropdown-menu {
        transform: translateY(0px);
    opacity: 1;
    visibility: visible;
     /*display: flex;*/
     /*background: #D3D3D3;*/
     /*box-shadow: 0px 0px 90px 0px rgba(0, 0, 0, 0.4);*/
     /*border-radius: 4px;*/
     /*padding: 8px;*/
     /*flex-direction: column;*/
     /*gap: 1px;*/
     /*width: 237px;*/
     /*position: absolute;*/
     /*bottom: 36px;*/
     /*left: 0;*/
}

.dark .quests-dropdown.open .quests-dropdown-menu {
    background: #323232;
    
}

.quests-dropdown-button {
  cursor: pointer;
  padding: 6px 8px;
  background: var(--dropdown-button-bg);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  border: 1px solid var(--dropdown-button-border);
  width: 154px;
  height: 29px;
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 12px;
  line-height: 145%;
  display: flex;
  justify-content: center;
    align-items: center;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
}

.quests-dropdown-button:hover {
    color:  #ffffff;
}

.quests-dropdown-button::after {
    content: '';
}

.quests-dropdown-menu {
  /*display: none;*/
   display: flex;
     background: #D3D3D3;
     box-shadow: 0px 0px 90px 0px rgba(0, 0, 0, 0.4);
     border-radius: 4px;
     padding: 8px;
     flex-direction: column;
     gap: 1px;
     width: 237px;
     position: absolute;
     bottom: 36px;
     left: 0;
     visibility: hidden;
     opacity: 0;
     transform: translateY(10px);
     transition: all 0.23s ease-in-out;
}

.quests-dropdown-item {
  border-radius: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
      font-family: Inter;
    font-weight: 400;
    font-size: 10px;
    line-height: 140%;
    letter-spacing: 0;
}

.dark .quests-dropdown-item {
    background: rgba(0, 0, 0, 0.4);
}

#theme_switcher {
    position: absolute;
    top: 174px;
    left: 942px;
    z-index: 1;
}

#theme_switcher li span label {
    display: none;
}

#theme_switcher span {
    width: 30px;
    height: 30px;
    background: linear-gradient(90deg, #687D7E 0.45%, #61737D 51.42%, #687D7E 100.45%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#theme_switcher input {
    cursor: pointer;
     width: 28px;
    height: 28px;
    border-radius: 50%;
    -webkit-appearance: none;
}

html.dark #theme_switcher span {
    background: linear-gradient(92.34deg, #333333 13.76%, #000000 58.36%, #666666 86.24%);
}

/*#theme-toggle {*/
/*    width: 28px;*/
/*    height: 28px;*/
/*    border-radius: 50%;*/
/*    background-size: auto;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*}*/

html.light #theme_switcher li:first-child {
    displaY: none;
}

html.dark #theme_switcher li:nth-child(2) {
    displaY: none;
}

html.light #theme_switcher input {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/82300.svg);
    background-color: rgba(52, 61, 71, 0.2);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    backdrop-filter: blur(5px);
}

html.dark #theme_switcher input {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/88275.svg);
    background-color: rgba(65, 65, 65, 0.7);
    backdrop-filter: blur(5px);
     background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
}

.news {
  position: absolute;
  top: 446px;
  display: flex;
  gap: 9px;
  justify-content: center;
  width: var(--content-width);
  z-index: 20;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(52, 61, 71, 0.05);
  transition: all .2s linear 0s;
}

.dark .news-item {
    background: rgba(65, 65, 65, 0.8);
}

.news-item:hover {
    transform: translateY(-4px);
}

.news-header {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.news-date {
  color: var(--link-color);
  font-family: Playfair Display;
  font-weight: 800;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: 0;
  text-align: center;
}

.news-title {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 12px;
  line-height: 145%;
  text-transform: uppercase;
  color: #202020;
}

.dark .news-title {
    color: #E3E3E3;
}

.news-text {
  font-family: Inter;
  font-weight: 500;
  font-size: 10px;
  line-height: 133%;
  letter-spacing: 0;
  color: rgba(32, 32, 32, 0.5);
}

.dark .news-text {
    color: rgba(227, 227, 227, 0.5);
}

.tablica {
  position: absolute;
  width: 1000px;
  height: 360px;
  z-index: 1;
  color: #f9e5de;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab_top {
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.tab_left {
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}

.wanted, .actives {
  width: 224px;
  display: flex;
  justify-content: space-between;
}

.wanted a, .actives a {
  display: block;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border: 2px solid #401111;
  border-radius: 50%;
  background: #712929;
}

.wanted a img, .actives a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.wanted a:hover img, .actives a:hover img {
  mix-blend-mode: normal;
}

.bestep {
  width: 224px;
  font-family: var(--cal);
  font-size: 9px;
  letter-spacing: 4px;
  text-align: center;
}

.bestep a {
  color: #e8cfc6;
}

.bestquote span {
  font-size: 10px;
  font-family: var(--cal);
  text-transform: uppercase;
  letter-spacing: 5.5px;
  transform: translatey(5px);
  display: block;
  padding-left: 20px;
}

.bestquote p {
  font-size: 8px;
  font-family: var(--seu);
  line-height: 1.2;
  letter-spacing: 4.5px;
  text-align: justify;
  background: rgba(82, 35, 23, .3);
  padding: 5px 10px 10px;
}

.bestquote a {
  font-size: 7px;
  font-family: var(--cal);
  color: #f9e5de;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 5.5px;
  transform: translatey(-3px);
  display: block;
  margin: 0 10px 0 auto;
  width: fit-content;
}

.tab_right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 30px;
}

.admins, .tab_links {
  font-size: 9px;
  font-family: var(--cal);
  line-height: 16px;
  text-align: center;
  letter-spacing: 4px;
}

.admins a, .tab_links a {
  color: #e8cfc6;
}

.tab_bottom {
  display: flex;
  gap: 30px;
  padding: 0 30px;
  scrollbar-color: var(--link3) transparent;
  align-items: center;
  justify-content: center;
}

.tab_bottom a {
  display: flex;
  background: url(https://forumstatic.ru/files/0010/ed/c4/21551.png) no-repeat top center;
  width: 150px;
  height: 29px;
  flex-shrink: 0;
  color: #f9e5de;
  box-sizing: border-box;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
}

.tab_bottom a img {
  flex-shrink: 0;
  max-height: 29px;
}

.tab_bottom a p {
  max-width: 100px;
  white-space: normal;
  text-align: center;
  font-size: 8px;
  font-family: var(--cal);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 2px;
}

/* Футер
------------------------------------------*/

#html-footer {
  position: absolute;
  width: 1000px;
  height: 80px;
  margin-top: 1px;
  background: transparent;
}

#html-footer .container {
  padding: 10;
}


#html-footer::before {
    content: '';
    position: absolute;
    bottom: -46px;
    left: -60px;
    background-image: url(https://forumstatic.ru/files/001c/7a/01/12965.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 205px;
    height: 290px;
    z-index: -1;
}

.dark #html-footer::before {
        background-image: url(https://forumstatic.ru/files/001c/7a/01/36085.png);
        width: 252px;
    height: 201px;
    top: -146px;
    left: -56px;
}


#html-footer::after {
    content: '';
    position: absolute;
    top: -112px;
    right: -66px;
    background-image: url(https://forumstatic.ru/files/001c/7a/01/55445.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 350px;
    height: 170px;
    z-index: -1;
}

.dark #html-footer::after {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/99029.png);
        width: 271px;
    height: 249px;
    top: -158px;
    right: -64px;
}

.banners {
    width: 690px;
    margin: 0 auto;
    height: 78px;
    overflow-y: auto;
    padding: 10px 10px;
}

.banners-inside {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.banners a {
  opacity: .7;
}

.banners a:hover {
  opacity: 1;
}


/* Список тем
------------------------------------------*/



/* Топик
------------------------------------------*/

.post {
  margin-top: 10px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

.post .container {
    display: flex;
    gap: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
     align-items: flex-start; 
    /*padding-bottom: 20px;*/
}

.post h3 {
    width: calc(100% - var(--pwidth) - 16px);
    margin-left: auto;
    font-family: Inter;
font-weight: 500;
font-size: 11px;
line-height: 144%;
letter-spacing: 0;
/*text-align: justify;*/
color: rgba(32, 32, 32, 0.6);
margin-bottom: 2px;

}

.post h3 span {
  padding: 4px 12px;
  display: block;
  text-transform: lowercase;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: normal;
  /*font-family: var(--cal);*/
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
}

.dark .post h3 strong {
   color: #E4E4E4;
}

/* Автор */

.post-author {
  position: relative;
  /*margin-bottom: 5px;*/
  width: var(--pwidth);
  text-align: center;
  background: var(--background-primary);
  background-size: cover;
  background-repeat: no-repeat;
  /*box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);*/
  border-radius: 10px;
}

.post-author::before {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 50%;
   content: '';
   background: linear-gradient(360deg, #E2E2E2 9.94%, rgba(226, 226, 226, 0) 100%);
}

.dark .post-author::before {
    background: linear-gradient(360deg, #2C2C2C 10%, rgba(44, 44, 44, 0) 100%);
}

/*#pun-viewtopic .post[data-user-id="2"] .post-author {*/
  /*background: var(--pun-bg) url() no-repeat bottom center;*/
/*}*/

/*#pun-viewtopic .post[data-user-id="7"] .post-author {*/
  /*background: var(--pun-bg) url(https://forumupload.ru/uploads/001c/3b/8d/3/220683.png) no-repeat bottom center;*/
/*}*/

.post-author ul {
    /*margin: 33px 0 0 32px;*/
     margin: 33px 16px 0 16px;
    background: var(--background-secondary);
    border-radius: 5px;
    position: relative;
    padding: 10px 15px 30px 15px;
}

.post-author ul li {
  position: relative;
  z-index: 2;
}

.pa-author {
    margin: 0;
    font-size: 14px;
    font-family: Playfair Display;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    transform: translateY(-10px);
    background: #E2E2E2;
    padding: 4px 8px;
    border-radius: 5px;
    position: absolute !important;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    max-width: 185px;
    overflow: hidden;
}

.dark .pa-author {
    background-color: #414141;
}

.pa-author,
.pa-author a {
    color: #202020;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dark .pa-author,
.dark .pa-author a {
    color: #E4E4E4;
}

.pa-title {
    font-family: Inter;
font-weight: 400;
font-size: 10px;
line-height: 100%;
letter-spacing: 0;
text-align: center;
color: #202020;

padding: 4px 0;
}

.dark .pa-title {
    color: #E4E4E4;
}

.pa-avatar img {
  border-radius: 4px;
}

.post-author ul li.pa-reg {
    display: none !important;
}

.post-author ul li.pa-fld1,
.post-author ul li.pa-fld4,
.post-author ul li.pa-fld5,
.post-author ul li.pa-respect,
.post-author ul li.pa-posts,
.post-author ul li.pa-fld6,
.post-author ul li.pa-fld7 {
    color: transparent;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(32, 32, 32, 0.7);
    
    .fld-name {
        display: block;
        height: 0;
    }
}

.dark {
    .post-author ul li.pa-fld1,
    .post-author ul li.pa-fld4,
    .post-author ul li.pa-fld5,
    .post-author ul li.pa-respect,
    .post-author ul li.pa-posts,
    .post-author ul li.pa-fld6,
    .post-author ul li.pa-fld7 {
        background-color: rgba(228, 228, 228, 0.7);
    }
}

.post-author ul li.pa-fld4 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/71214.svg);
     z-index: 11;
}

.post-author ul li.pa-fld5 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/70088.svg);
      z-index: 12;
}

.post-author ul li.pa-respect {
        background-image: url(https://forumstatic.ru/files/001c/7a/01/31800.svg);
          z-index: 13;
}

.post-author ul li.pa-posts {
        background-image: url(https://forumstatic.ru/files/001c/7a/01/97689.svg);
         z-index: 14;
}

.post-author ul li.pa-fld6 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/16161.svg);
     z-index: 15;
}

.post-author ul li.pa-fld7 {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/57515.svg);
     z-index: 16;
}

.post-author ul li.pa-fld1::after,
.post-author ul li.pa-fld4::after,
.post-author ul li.pa-fld5::after,
.post-author ul li.pa-respect::after,
.post-author ul li.pa-posts::after,
.post-author ul li.pa-fld6::after,
.post-author ul li.pa-fld7::after {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: -30px;
    background: #d9d9d9;
    color: #000;
    padding: 4px 6px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translatey(5px);
    z-index: 10;
    font-size: 12px;
    margin-left: 8px;
    background-color: var(--background-secondary);
    color: rgba(32, 32, 32, 0.7);
    font-family: Inter;
    font-weight: 400;
    font-size: 10px;
    line-height: 120%;
    letter-spacing: 0;
}

.dark .post-author ul li.pa-fld1::after,
.dark .post-author ul li.pa-fld4::after,
.dark .post-author ul li.pa-fld5::after,
.dark .post-author ul li.pa-respect::after,
.dark .post-author ul li.pa-posts::after,
.dark .post-author ul li.pa-fld6::after,
.dark .post-author ul li.pa-fld7::after {
    color: rgba(228, 228, 228, 0.7);
    color: #E4E4E4;
}

.post-author ul li.pa-fld1::after {
    z-index: 11;
}
.post-author ul li.pa-fld4::after {
    z-index: 12;
}
.post-author ul li.pa-fld5::after {
    z-index: 13;
}
.post-author ul li.pa-respect::after {
    z-index: 14;
}
.post-author ul li.pa-posts::after {
    z-index: 15;
}
.post-author ul li.pa-fld6::after {
    z-index: 16;
}
.post-author ul li.pa-fld7::after {
    z-index: 17;
}

.post-author ul li.pa-fld1:hover::after,
.post-author ul li.pa-fld4:hover::after,
.post-author ul li.pa-fld5:hover::after,
.post-author ul li.pa-respect:hover::after,
.post-author ul li.pa-posts:hover::after,
.post-author ul li.pa-fld6:hover::after,
.post-author ul li.pa-fld7:hover::after {
  opacity: 1;
  transform: translatey(0);
}


.post-author ul li.pa-fld2 {
    text-align: left;
}

.post-author ul li.pa-fld2 .anketa-link {
    position: relative;
    z-index: 10;
    font-family: Playfair Display;
font-weight: 700;
font-size: 12px;
line-height: 100%;
letter-spacing: 0;
color: #202020;
text-align: left;
}

.dark .post-author ul li.pa-fld2 .anketa-link {
    color: #E4E4E4;
}

.lz-text {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(32, 32, 32, 0.7);
    font-family: Inter;
font-weight: 400;
font-size: 10px;
line-height: 120%;
letter-spacing: 0;
text-align: justify;
position: relative;
border-radius: 5px;
padding: 5px 8px;
margin-top: 4px;
position: relative;
}

.lz-text::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    background-image: url(https://forumstatic.ru/files/001c/7a/01/51360.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 18px;
}

.dark .lz-text {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(228, 228, 228, 0.7);
}

.post-author ul li.pa-fld3 {
     margin-top: 25px;
}

.post-author ul .pa-stats {
    display: block;
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center
}

.post-author ul li.pa-fld3 .plash {
    cursor: pointer;
    display: block;
    position: relative;
    /*height: 34px;*/
    height: 36px;
    margin: 0 -15px 0 -15px;
    /*border-radius: 10px 10px 5px 5px;*/
    /*border-radius: 0px 0px 5px 5px;*/
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 10px;
    line-height: 133%;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    padding: 7px 4px 4px;
}

.post-author ul li.pa-fld3 .plash img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -18px;
    width: 20px;
    height: 20px;
     background-color: var(--background-secondary);
    border-radius: 50%;
    padding: 3px;

}

.post-author ul li.pa-fld3 .plash div {
    font-family: Playfair Display;
font-weight: 400;
font-size: 10px;
line-height: 13px;
letter-spacing: 0;
}

.post-author ul li.pa-fld3 .plash div p {
    font-family: Playfair Display;
font-weight: 700;
font-size: 10px;
line-height: 13px;
letter-spacing: 0;
}

.post-author ul li.pa-fld3 .fld-name {
    display: none;
}


.lz {
  width: 180px;
  margin: 5px auto 10px;
}

.lz .name {
  margin-bottom: 5px;
  display: block;
  font-size: 14px;
  font-family: var(--cal);
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.lz p {
  font-size: 9px;
  font-family: "arial";
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: justify;
  color: #14141a;
}

.post-author ul li.pa-fld2 {
  padding: 0;
}

.addflds {
  margin: 10px auto;
  width: 100px;
  padding: 2px 0;
  border-radius: 8px;
}

.post-author ul .addflds li {
  padding: 0 2px;
  width: 35px;
  font-size: 9px;
  letter-spacing: 1px;
  font-family: var(--cal);
  display: inline-block;
}

.post-author ul .addflds li .fld-name {
  font-size: 11px;
  letter-spacing: 0;
}

.pa-respect .fld-name a {
  font-size: 0;
}

/*.pa-respect .fld-name a:before, .gid3 .pa-respect .fld-name a:before {*/
/*  content: "\e83c";*/
/*  font-size: 12px;*/
/*  font-family: var(--uicons);*/
/*}*/

.pa-online, .pa-last-visit {
  font-size: 10px;
  font-family: "Calibri";
  line-height: 11px;
  letter-spacing: 3px;
  font-weight: normal;
  text-transform: lowercase;
  background: var(--pun-bg);
  width: fit-content;
  margin: 0 auto;
  border-radius: 4px;
}

.pa-online strong {
  font-weight: normal;
}


/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth) - 16px);
  background-color: rgba(211, 211, 211, 0.4);
  border-radius: 10px;
  font-family: Inter;
font-weight: 400;
font-size: 12px;
line-height: 145%;
letter-spacing: 0;
align-self: stretch;
text-align: justify;
}

.dark .post-body {
      background-color: rgba(65, 65, 65, 0.6);
      color: #E4E4E4;
}

.post-box {
  /*padding: 10px 10px 10px 30px;*/
  padding: 20px;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}

.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;
  padding: 0 0 12px 0;
  line-height: 150%;
  text-align: justify;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 200px;
  min-height: 30px;
  height: auto !important;
}

.quote-box, .code-box {
    padding: 0;
    margin-bottom: 20px;
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    background: rgba(226, 226, 226, 0.3);
    overflow: hidden;
}

.dark .quote-box, 
.dark .code-box {
    border-color: #5E5E5E;
    background: rgba(44, 44, 44, 0.3);
}

.quote-box cite,
.code-box strong.legend,
.punbb .post-content .spoiler-box > div {
    position: relative;
    display: block;
    padding: 6px 35px;
    font-style: normal;
    letter-spacing: 1px;
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0;
    background: linear-gradient(90deg, #C0C0C0 0.45%, #CCCCCC 51.42%, #C0C0C0 100.45%) !important;
     box-shadow: 0px 0px 80px 0px rgba(254, 250, 246, 0.4) inset; 
     
     a {
         color: var(--font-color-primary);
     }
}

.dark {
    .quote-box cite,
.code-box strong.legend,
.punbb .post-content .spoiler-box > div {
    background: linear-gradient(90deg, #4C4C4C 0.45%, #5E5E5E 51.42%, #4C4C4C 100.45%) !important;
    box-shadow: 0px 0px 80px 0px rgba(127, 127, 127, 0.2) inset;
}
}

.code-box strong.legend::after,
.quote-box cite::after,
.punbb .post-content .spoiler-box > div.visible::after {
    content: '';
         position: absolute;
         top: 29px;
         right: 0;
       background-image: url(https://forumstatic.ru/files/001c/7a/01/36721.png);  
         background-size: cover;
         background-repeat: no-repeat;
         width: 318px;
         height: 41px;
}

.code-box strong.legend::after {
    top: 28px;
}

.quote-box.answer-box cite::after {
     top: 28px;
}

.code-box strong.legend::before,
.quote-box.hide-box cite::before,
.quote-box.answer-box cite::before,
.punbb .post-content .spoiler-box > div::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--font-color-primary);
}

.code-box strong.legend::before {
    mask: url(https://forumstatic.ru/files/001c/7a/01/63298.svg);
}

.quote-box.hide-box cite::before {
   mask: url(https://forumstatic.ru/files/001c/7a/01/23442.svg);
}

.quote-box.answer-box cite::before {
    mask: url(https://forumstatic.ru/files/001c/7a/01/37931.svg);
}

.punbb .post-content .spoiler-box > div::before {
    mask: url('https://forumstatic.ru/files/001c/7a/01/84275.svg');
}

.punbb .post-content .spoiler-box > div.visible::before {
    mask: url(https://forumstatic.ru/files/001c/7a/01/85272.svg);
}

.quote-box blockquote, .code-box .blockcode {
  padding: 18px 20px;
  z-index: 10;
  position: relative;
}

/*.punbb .post-content .spoiler-box > div {*/
/*      background-image: url('https://forumstatic.ru/files/001c/7a/01/84275.svg');*/

  /*background: var(--quote-top) url('/img/plus.png') no-repeat left 30px center;*/
  /*cursor: pointer;*/
  /*padding: 10px 30px 10px 50px;*/
  /*font-style: normal;*/
  /*font-size: 10px;*/
  /*font-family: var(--cal);*/
  /*color: #fff;*/
  /*line-height: 1.2;*/
  /*text-transform: uppercase;*/
  /*letter-spacing: 2px;*/
  /*border-radius: 13px;*/
/*}*/

.punbb .post-content .spoiler-box > div.visible {
    background: none;
}

.post-sig dt {
  border-bottom: 1px solid #ccc;
  width: 300px;
  margin: 10px auto;
}

/* Форма ответа */

#tags {
  position: relative;
}

/* Формы
------------------------------------------- */

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 3px;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 20px;
  vertical-align: middle;
}

textarea,
input,
select,
optgroup {
  font-size: 12px;
}

optgroup {
  font-weight: bold;
}

.formal .container {
  padding: var(--padding);
}

.formsubmit {
  padding: 0;
  margin: 10px 0 0 0;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

fieldset {
  border: none;
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}

fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
}

.fs-box {
  padding: 5px 0;
}

.fs-box p,
.fs-box fieldset {
  padding: 0 0 8px 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
  float: left;
  margin-right: 1em;
}

.inline .infofield {
  clear: both
}

.datafield br {
  display: none
}

.required label,
.datafield span.input {
  font-size: 10px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

#main-reply {
     box-sizing: border-box;
    background: var(--background-secondary);
    color: var(--font-color-primary);
    padding: 8px 12px;

}

.hashelp {
  position: relative;
}


/* Профиль + ЛС
------------------------------------------*/

#viewprofile, #profilenav {
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}

#profile .container {
  padding-left: 200px;
  min-height: 100px;
}

#profilenav {
  float: left;
  width: 180px;
  margin-left: -180px;
}

#viewprofile h2,
#profilenav h2 {
  padding: 0;
  margin: 0;
}

#profilenav li {
  padding: 0 0 5px;
}

#viewprofile li {
  padding: 5px 0;
}

#profile-right li {
  display: flex;
}

#profile-right li span {
  width: 150px;
  flex-shrink: 0;
}

#profile-right li strong {font-weight: normal;}

img.avatardemo {
  float: right;
  margin: 0 0 8px 18px;
}

#pun-messages .clearer {
  display: none;
}

/* Прочие страницы
------------------------------------------*/

/* Список пользователей */

#pun-userlist .formal,
#pun-userlist .formal .container {
  margin-bottom: 0;
}

.usertable {
  padding: 5px 10px;
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--cal);
}

#pun-userlist .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .tcl {
  width: 40%
}


/* Собщения об ошибках */

.info .container {
  padding: var(--mpad);
}

.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;
}


/* Кнопки вверх-вниз
-------------------------------------------------------*/

.go-up,
.go-down {
  cursor: pointer;
  opacity: .5;
  z-index: 9999;
  display: none;
  position: fixed;
  margin-left: 1000px !important;
  box-sizing: border-box;
  transition: all .3s linear 0s;
}

.go-up {
 top: 260px;

  img {
    width: 45px;
    height: auto;
  }
}

.go-down {
  top: 370px;

  img {
    width: 61px;
    height: auto;
  }
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}

/* Спойлер
-------------------------------------------------------*/

  .inq-table {
    width: 80%;
    max-width: 700px;
    margin-right: 50;
    margin: 10px 20px; padding: 10px; background: #1e1e1e; font-family: 'Helvetica Neue', Arial, sans-serif; color: #ddd; border: 1px solid #555; box-shadow: 0 0 7px rgba(0,0,0,0.6);
  }

  .inq-table td {
    vertical-align: top;
    padding: 20px;
    border-left: 1px solid #333;
  }

  .inq-table td:first-child {
    border-left: none;
    width: 50%;
  }

  .inq-spoiler summary {
    background-color: #2c2c2c;
    color:  #9593bf;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #444;
    border-radius: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .inq-spoiler[open] summary {
    background-color: #3a3a3a;
  }

  .inq-spoiler-content {
    padding: 10px;
    background-color: #252525;
    border: 1px solid #444;
    margin-top: 5px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
  }

  .inq-spoiler-content em {
    color: #c1b086;
  }

  .inq-spoiler-content strong {
    color: #a78c64;
  }

.statscon {
  padding: 0 20px;
}

/* my custom stuff */

#pun-crumbs2 {
  padding: 0 20px;
}

.dark #pun-crumbs2 {
    color: #E4E4E4;
}

#pun-admain {
    background-color: var(--background-primary);
    
}


.punbb .user-avatar .isonline {
    top: 0px !important;
    right: -2px !important;
}


/* Мини-профиль с информацией */
.reveal-modal-bg {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: none;
  top: 0;
  left: 0;
}

.reveal-modal * {
  scrollbar-color: #b6b5b5 #dddbdb;
}

.reveal-modal {
  visibility: hidden;
  top: 50% !important;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 964px;
  height: 489px;
  position: fixed;
  z-index: 101;
  background-image: url(https://forumstatic.ru/files/001c/7a/01/11660.png);
  background-color: transparent !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.reveal-modal .close-reveal-modal {
  font-size: 22px;
  line-height: 0.5;
  position: absolute;
  top: 8px;
  right: 11px;
  color: #aaa;
  text-shadow: 0 -1px 1px rbga(0, 0, 0, 0.6);
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.pp-label input {
  display: none;
}

.pp-label1 {
  position: absolute;
  top: 67px;
  left: 138px;
}

.pp-label2 {
  position: absolute;
  top: 67px;
  right: 101px;
}

.pp-section {
  display: none;
}

.pp-section-title {
  cursor: pointer;
  display: inline-block;
  padding: 3px 10px;
  background: #e3e6e6;
  font-family: Playfair Display;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #667e84;
  border-radius: 100px;
}

#option1:checked ~ .pp-section-title,
#option2:checked ~ .pp-section-title {
  background-color: #fff;
  box-shadow: 22.57px 20.52px 22.87px 0px rgba(0, 0, 0, 0.18);
}

#option1:checked ~ .pp-section1 {
  position: absolute;
  top: 70px;
  left: -73px;
  width: 866px;
  height: 306px;
  margin: 0;
  display: grid;
  grid-template-areas:
    "icons plates episodes"
    "backgrounds plates episodes";
  grid-template-columns: 207px 236px 391px;
  grid-template-rows: 88px 202px;
  gap: 16px;
}

#option2:checked ~ .pp-section2 {
  position: absolute;
  top: 70px;
  left: -555px;
  width: 866px;
  height: 306px;
  margin: 0;
  display: grid;
  grid-template-areas: "gifts achievements";
  grid-template-columns: 256px 594px;
  gap: 16px;
}

.pp-name {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
  position: absolute;
  top: 22px;
  left: 64px;
  color: #ffffff;
}

.pp-avatar {
  position: absolute;
  top: 0px;
  left: 448px;
  width: 100px;
  box-sizing: border-box;
  height: 100px;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 22.57px 20.52px 22.87px 0px rgba(0, 0, 0, 0.18);
}

.pp-icons,
.pp-plates,
.pp-episodes,
.pp-backgrounds,
.pp-gifts,
.pp-achievements {
  background-color: #fafafa;
  padding: 8px 8px 8px 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow-y: scroll;
}

.pp-icons {
  grid-area: icons;
  display: flex;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;

  .pp-icon {
    width: 34px;
    height: 34px;
    background-color: rgba(35, 37, 40, 0.05);
    border-radius: 50%;

    img {
      width: 34px;
      height: 34px;
    }
  }
}

.pp-plates {
  grid-area: plates;
  display: flex;
  flex-direction: column;
  gap: 4px;

  .pp-plate {
    position: relative;
    width: 100%;
    height: 34px;
    border-radius: 5px;
    font-family: Playfair Display;
    font-weight: 400;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 0;
    color: #fff;
    text-align: center;

    div {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    p {
      font-family: Playfair Display;
      font-weight: 700;
      font-size: 10px;
      line-height: 13px;
      letter-spacing: 0;
    }

    --pp-plates-image-height: 34px;

    img {
      width: 100%;
      height: auto;
      max-height: var(--pp-plates-image-height);
      object-fit: contain;
      border-radius: 5px;
    }
  }
}

.pp-backgrounds {
  grid-area: backgrounds;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;

  .pp-background {
    width: 90px;
    height: 90px;
    border-radius: 5px;

    img {
      width: 90px;
      height: 90px;
    }
  }
}

.pp-episodes {
  grid-area: episodes;
  display: flex;
  flex-direction: column;
  gap: 10px;

  .pp-episode {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 16px 24px 16px 66px;
    margin: 2px 0;
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #42403f;
  }
  .pp-episode-image {
    position: absolute;
    top: -4px;
    left: -2px;
    width: 57px;
    height: 57px;
    justify-content: center;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 8px 0px rgba(100, 100, 100, 0.065);
    background: rgba(255, 255, 255, 1);
    border-radius: 10px;

    --pp-episodes-image-width: 34px;
    --pp-episodes-image-height: 40px;

    img {
      width: var(--pp-episodes-image-width);
      height: auto;
      max-height: var(--pp-episodes-image-height);
      object-fit: contain;
    }
  }

  .pp-episode-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}

.pp-gifts {
  grid-area: gifts;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px;

  .pp-gift {
    width: 56px;
    height: 56px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(35, 37, 40, 0.05);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;

    --pp-gifts-image-width: 45px;

    img {
      width: var(--pp-gifts-image-width);
      height: auto;
      max-height: var(--pp-gifts-image-width);
      object-fit: contain;
    }
  }
}

.pp-achievements {
  grid-area: achievements;
  display: flex;
  flex-direction: column;
  gap: 4px;

  .pp-achievement {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background-color: #eeeeee;

    .pp-achievement-image {
      background-color: #d2d2d2;
    }
  }

  .pp-achievement-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .pp-achievement-achieved {
    .pp-achievement-image {
      background: radial-gradient(
        159.43% 159.43% at 50% 50%,
        #ffffff 0%,
        #667e84 100%
      );
      box-shadow: 0px 0px 8px 0px #64646411;
    }
  }

  .pp-achievement-image {
    width: 58px;
    height: 53px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

    --pp-achievement-image-width: 45px;

    img {
      width: var(--pp-achievement-image-width);
      height: auto;
      max-height: var(--pp-achievement-image-width);
      object-fit: contain;
    }
  }

  .pp-achievement-title {
    font-family: Playfair Display;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }

  .pa-achievement-description {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 9px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }
}

/* новости */

.newsroom {
    position: relative;
    /*padding: 12px 20px 42px 20px;*/
    padding: 0px 20px 42px 20px;
    margin-top: 21px;
    background: linear-gradient(180deg, rgba(220, 221, 221, 0.29) 0%, #CDCDCD 100%), url(https://forumstatic.ru/files/001c/7a/01/47080.jpg);
    border-radius: 10px;
    background-position: top left;
    background-size: cover;
    background-repeat: no-repeat;
}

.dark .newsroom {
    background: linear-gradient(360deg, #2C2C2C 10%, rgba(44, 44, 44, 0) 100%), url(https://forumstatic.ru/files/001c/7a/01/47080.jpg);
}

.newsroom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8px;
    background-image: url(https://forumstatic.ru/files/001c/7a/01/78122.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 269px;
    height: 34px;
}

.newsroom_header,
.newsroom_content {
    position: relative;
    z-index: 10;
}

.newsroom_header {
    padding: 4px 0;
    /*display: grid;*/
    /*grid-template-columns: 1fr 100px 1fr;*/
    /*gap: 20px;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsroom_date {
    font-family: Playfair Display;
font-weight: 700;
font-size: 40px;
line-height: 145%;
letter-spacing: 0;
color: #fff;
width: 35%;

p {
    padding-bottom: 0 !important;
}
}

.newsroom_avatar {
position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    
    p {
       padding: 0 !important; 
        position: relative;
        width: 100px;
        height: 100px;
        box-shadow: 0px 13px 44px 0px rgba(0, 0, 0, 0.6);
         border: 5px solid var(--link-color); 
        border-radius: 50%;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
    
    img.postimg {
        overflow: hidden;
        border-radius: 50%;
        max-width: initial !important;
        margin: 0 !important;
            width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    }
}

.newsroom_avatar::before {
position: absolute;
    top: -28px;
    left: -136px;
    content: '';
    background-image: url(https://forumstatic.ru/files/001c/7a/01/84051.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 220px;
    height: 145px;
}

.newsroom_title {
    width: 35%;
    font-family: Playfair Display;
font-weight: 700;
font-size: 16px;
line-height: 145%;
letter-spacing: 0;
color: #fff;
}

.newsroom_title p {
     text-align: right !important;
     padding-bottom: 0 !important;
}

.newsroom_content {
   background-color: var(--background-primary);
    padding: 22px;
    border-radius: 10px;
    position: relative;
    
    p {
        position: relative;
        z-index: 10;
    }
}

.newsroom_content::before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    background-image: url(https://forumstatic.ru/files/001c/7a/01/89547.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 270px;
    height: 35px;
}

.newsroom_best-episode {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 8px;
    border-radius: 10px;
}

.newsroom_best-episode-header {
    display: flex;
    gap: 4px;
}

.newsroom_best-episode-title {
    font-family: Playfair Display;
font-weight: 700;
font-style: Bold;
font-size: 16px;
leading-trim: NONE;
line-height: 140%;
letter-spacing: 0%;

}

.newsroom_best-episode-author {
    font-family: Playfair Display;
font-weight: 400;
font-style: Regular;
font-size: 16px;
leading-trim: NONE;
line-height: 140%;
letter-spacing: 0%;

}

.hideprofile .post-author,.hideprofile .pl-email,.hideprofile .pl-website{display:none!important}
.hideprofile .post-body,.hideprofile .post-links,.hideprofile .post-links ul,.post.hideprofile h3>span {
    margin-left: 0 !important;
}

.hideprofile .post-body {
    width: 100%;
}

#tooltip {
    position: absolute;
    display: block;
    border-radius: 5px;
    padding: 4px 10px;
    z-index: 20;
    white-space: nowrap;
    background-color: var(--background-primary);
    color: var(--font-color-primary);
    animation-name: fadein;
    animation-fill-mode: both;
    animation-duration: 0.7s;
    opacity: 0
}

@keyframes fadein {
   0% {opacity: 0;}
   100% {opacity: 1;} 
} 

.punbb .reactions-root {
  position: absolute;
  bottom: 60px;
  padding-left: 20px;
}

.reactions-container {
  justify-content: flex-start;
}

.reactions-root button {
    background: rgba(32, 32, 32, 0.05);
    border: none;
    border-radius: 4px;
    transition: color 0.23s ease-in;
    
    svg {
        transition: color 0.23s ease-in;
        color: rgba(32, 32, 32, 0.6) !important;
    }
}

.dark .reactions-root button {
     background: #414141;
     
     svg {
         color: rgba(228, 228, 228, 0.6) !important;
    }
}

.reaction-chip:not(.reaction-chip--disabled):hover {
     background-color: rgba(32, 32, 32, 0.05) !important;
     
     svg {
          color:var(--link-color) !important;
     }
}

.dark .reaction-chip:not(.reaction-chip--disabled):hover {
     background: #414141 !important;
}
