@import url(style_cs.1756514976.css);

/* Fonts for bbcode
------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Russo+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Prata&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ponomar&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Shafarik&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Monomakh&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Viaoda+Libre&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Marck+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bad+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=WDXL+Lubrifont+TC&display=swap");
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800,900&subset=cyrillic");

/* Main fonts - DO NOT REMOVE
------------------------------------------*/

@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;
  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;
  font-size: 0;
}

/* Основные переменные
------------------------------------------*/

:root {
  --quote-border-color: #aaa;
  --post-width: 245px;
  --inter: "Inter";
  --playfair: "Playfair Display";
  --logo-image: url(https://forumstatic.ru/files/001c/7a/01/47953.png);
  --header-image: image-set(
    url("https://forumstatic.ru/files/001c/7a/01/74869.png") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/72593.png") 2x
  );
  --header-image: -webkit-image-set(
    url("https://forumstatic.ru/files/001c/7a/01/74869.png") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/72593.png") 2x
  );

  --bg-average-color: #373b3c;
  --bg-image: image-set(
    url("https://forumstatic.ru/files/001c/7a/01/79493.jpg") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/36765.jpg") 2x,
    url("https://forumstatic.ru/files/001c/7a/01/55196.jpg") 4x
  );
  --bg-image: -webkit-image-set(
    url("https://forumstatic.ru/files/001c/7a/01/79493.jpg") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/36765.jpg") 2x,
    url("https://forumstatic.ru/files/001c/7a/01/55196.jpg") 4x
  );

  --font-color-primary: #202020;
  --background-primary: #e2e2e2;
  --background-secondary: #d3d3d3;
  --highlight: #343d47;
  --link-color: #70868b;
  --link-hover: #9bb5bb;
  --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: image-set(
    url("https://forumstatic.ru/files/001c/7a/01/52274.png") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/54587.png") 2x
  );
  --header-image: -webkit-image-set(
    url("https://forumstatic.ru/files/001c/7a/01/52274.png") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/54587.png") 2x
  );

  --bg-average-color: #1f201e;
  --bg-image: url("https://forumstatic.ru/files/001c/7a/01/76156.png");
  --bg-image: image-set(
    url("https://forumstatic.ru/files/001c/7a/01/90578.jpg") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/52545.jpg") 2x,
    url("https://forumstatic.ru/files/001c/7a/01/12564.jpg") 4x
  );
  --bg-image: -webkit-image-set(
    url("https://forumstatic.ru/files/001c/7a/01/90578.jpg") 1x,
    url("https://forumstatic.ru/files/001c/7a/01/52545.jpg") 2x,
    url("https://forumstatic.ru/files/001c/7a/01/12564.jpg") 4x
  );

  --main-card-image: url(https://forumstatic.ru/files/001c/7a/01/26272.png);
  --font-color-primary: #c7c0c0;
  --background-primary: #2c2c2c;
  --background-secondary: #323232;
  --highlight: #414141;
  --link-color: #e39595;
  --link-hover: #f3b3b3;
  --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);
}

.flag-i,
.pa-gifts,
.pa-ua,
#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;*/
/*}*/

.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
}

.punbb .main .tc2,
.punbb .main .tc3,
.punbb .main .tcmod {
  text-align: center;
  width: 10%;
}

.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
}

#pun-debug table .tcl {
  width: 15%;
  white-space: normal;
}

#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}

#pun-index .tcl h3 {
  font-size: 12px;
  font-weight: bold;
}

.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}

.punbb td .modlist {
  display: block;
  padding-top: 0.3em;
}

.punbb .main td {
  padding: 0.8em 1em;
}

.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
}

.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
}

.punbb tbody.hasicon td.tcl {
  padding-left: 15px;
}

.punbb div.icon {
  height: 0;
  line-height: 0;
  margin-top: 0.1em;
  width: 0;
}

.punbb table div.icon {
  font-size: 12px;
  position: absolute;
  margin-left: -2.2em;
}

.category .container table thead {
  display: none;
}

/* 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: var(--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 0.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: 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: var(--inter);
  font-weight: 400;
  font-size: 12px;
  line-height: 145%;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: middle;
  text-transform: initial;
    font-weight: 500;
}

.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(--inter);
  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);
  border-radius: 10px;
}

#tags .container {
  max-height: 200px;
  overflow-y: scroll;
  background-color: var(--background-primary);
  border: 1px solid var(--background-secondary);
  box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 20%);
}

#MyBookmarks h2 {
  font-size: 15px;
  line-height: 145%;
  font-weight: 700;
  font-family: var(--inter);
  text-transform: inherit;
  color: var(--font-color-primary);
}

#tags .container {
  padding: 5px 10px !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-border-color);
  cursor: pointer;
  transition: all 0.2s linear 0s;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
  border-radius: 10px;
  color: var(--font-color-primary);
  background: var(--background-primary);
}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА
------------------------------------------*/

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
  border: 1px solid var(--quote-border-color);
  border-radius: 10px;
  color: var(--font-color-primary);
  background-color: var(--background-secondary);
}

select {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

/* Админка
------------------------------------------*/

#pun-adnav {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}

/* Тело форума
------------------------------------------*/

body {
  background-color: var(--bg-average-color);
  background-image: var(--bg-image);
  background-attachment: fixed;
  background-size: cover;
}

#pun {
  width: var(--content-width);
  margin: 0 auto 106px;
  padding: 0 60px;
}

.punbb {
  position: relative;
}

.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;
}

#pun-index .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);
  position: relative;
  margin: 0;
}

.dark #pun-index .category .icon {
  background-color: rgba(228, 228, 228, 0.1);
}

#pun-index .category .icon.inew {
  background-color: var(--link-color);
}

.punbb#pun-index .main .tcl {
  width: auto;
  overflow: visible;
}

.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 {
    border-radius: 0;
    z-index: 20 !important;
}

#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;
}

.dark #pun-main .container thead tr {
  color: var(--font-color-primary);
}

#pun-main h1 {
  display: none;
}

#pun-main .tclcon h3 {
  font-family: var(--playfair);
  font-weight: 700;
  font-size: 19px;
  line-height: 145%;
  letter-spacing: 0;
  margin-bottom: 8px;
}

#pun-main .tclcon {
  font-family: var(--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: var(--playfair);
  font-weight: 700;
  font-size: 19px;
  line-height: 145%;
  letter-spacing: 0.4px;
  vertical-align: middle;
}

#pun-searchtopics #pun-main .tclcon a,
#pun-viewforum #pun-main .tclcon a {
  font-family: var(--inter);
  font-weight: 400;
  font-size: 12px;
  line-height: 144%;
  letter-spacing: 0;
  text-transform: none;
}

.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: var(--playfair);
  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: var(--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;
}

.dark #pun-ulinks li a {
  color: rgba(228, 228, 228, 0.7);
}

#pun-ulinks li a:hover {
  color: var(--link-color);
}

/* соошки */

.pa-positive {
  display: none;
}

#pun-status,
#pun-crumbs1 {
  padding: 0 20px;
  font-family: var(--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: var(--font-color-primary);
}

#pun-status .container {
  padding: 0;
}

#pun-status a {
  color: var(--link-hover);
}

/* Копирайт */
#pun-about .container {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0px;
  font-weight: normal;
  font-family: var(--inter);
  height: 30px;
  color: #cebf88;
}

/* Главная форумная таблица
------------------------------------------*/

.main {
  background-color: var(--background-primary);
}

.main table {
  table-layout: fixed;
  width: 100%;
}

.main th {
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: bold;
  font-family: var(--inter);
}

#pun-modviewforum .tcl {
  width: 40%;
}

#pun-debug table .tcl {
  width: 15%;
}

#pun-debug .tcr {
  width: 90%;
}

/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  padding-top: 10px;
}

.linkst,
.linksb {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

.linkst {
  position: relative;
  padding: 5px 30px;
  display: flex;
  justify-content: space-between;
}

.linkst .postlink {
  text-align: right;
}

.linksb {
  position: relative;
  padding: 5px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.linksb .pagelink {
  order: -1;
}

.dark .pagelink {
  color: var(--font-color-primary);
}

.subscribelink {
  width: 100%;
  text-align: right;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}

/* Модераторское меню, RSS, Atom */

.modmenu .container {
  padding: 5px 30px;
  text-align: right;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
}

.modmenu input,
.modmenu select {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
  color: var(--font-color-primary);
  background: var(--background-primary);
}

/* Главная
------------------------------------------*/

/* Категории */

.category h2 span {
  font-family: var(--playfair);
  font-weight: 700;
  font-size: 18px;
  line-height: 145%;
  letter-spacing: 0;
  text-align: center;
  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: var(--playfair);
  font-weight: 700;
  color: rgba(32, 32, 32, 0.3);
  letter-spacing: 0;
  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: var(--playfair);
  /*text-transform: capitalize;*/
  letter-spacing: 0;
}

#pun-index .tclcon {
  font-family: var(--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;
}

.dark #pun-searchtopics .hasicon tr,
.dark #pun-viewforum #pun-main .hasicon tr {
  color: var(--font-color-primary);
}

#pun-searchtopics #pun-main .hasicon td,
#pun-viewforum #pun-main .hasicon td {
  padding: 5px 10px;
  font-family: var(--inter);
  font-weight: 400;
  font-size: 12px;
  line-height: 144%;
  letter-spacing: 0;
}

#pun-searchtopics .hasicon .tc2,
#pun-searchtopics .hasicon .tc3,
#pun-viewforum #pun-main .hasicon .tc2,
#pun-viewforum #pun-main .hasicon .tc3 {
  text-align: center;
}

#pun-index .tcr {
  display: grid;
  grid-template-areas:
    "avatar lastpost-link"
    "avatar lastpost";
  gap: 0 10px;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  align-items: center;
  width: auto;
}

#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-searchtopics .punbb .user-avatar,
#pun-viewforum .punbb .user-avatar {
  height: 34px !important;
  width: 34px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pun-searchtopics .tcr a,
#pun-viewforum .tcr a {
  font-family: var(--inter);
  font-weight: 400;
  font-size: 12px;
  line-height: 144%;
  letter-spacing: 0;
}

#pun-searchtopics .tcr .byuser,
#pun-viewforum .tcr .byuser {
  font-family: var(--inter);
  font-weight: 400;
  font-size: 12px;
  line-height: 144%;
  letter-spacing: 0;
}

.dark #pun-searchtopics .tcl .byuser,
.dark #pun-viewforum .tcl .byuser {
  color: var(--font-color-primary);
}

#pun-index .tcr .lastpost-link {
  font-family: var(--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: var(--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 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  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: var(--inter);
  font-weight: 400;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0;
  color: var(--font-color-primary);
}

.dark #pun-stats li {
  color: var(--font-color-primary);
}

#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: var(--playfair);
  font-weight: 700;
  font-size: 18px;
  line-height: 145%;
  letter-spacing: 0;
  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-size: cover;
  position: relative;
  width: var(--content-width);
  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/55572.png);
  top: 122px;
  left: 27px;
  width: 42px;
  height: 38px;
}

.star2 {
  background-image: url(https://forumstatic.ru/files/001c/7a/01/51878.png);
  top: 188px;
  left: -21px;
  width: 44px;
  height: 37px;
}

.star3 {
  background-image: url(https://forumstatic.ru/files/001c/7a/01/25768.png);
  top: 246px;
  left: 8px;
  width: 49px;
  height: 56px;
}

.star4 {
  background-image: url(https://forumstatic.ru/files/001c/7a/01/24831.png);
  top: 125px;
  right: 60px;
  width: 35px;
  height: 39px;
}

.star5 {
  background-image: url(https://forumstatic.ru/files/001c/7a/01/71616.png);
  top: 107px;
  right: -12px;
  width: 35px;
  height: 36px;
}

.star6 {
  background-image: url(https://forumstatic.ru/files/001c/7a/01/84756.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,
.left-card,
.right-card {
  /*background-image: var(--main-card-image);*/
  /*background-size: contain;*/
  background-repeat: no-repeat;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background-size: cover;
  width: 138px;
  height: 207px;
  position: absolute;
  top: 85px;
  left: 430px;
  /*filter: brightness(0.9);*/
}

.main-card {
  z-index: 10;
}

.main-card.played-animation {
  transform: translate3d(0, 0, 0) scale(1) rotate(0);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.main-card.play-animation {
  transform: translate3d(0, 0, 0) scale(0.865);
  animation: mainCard 500ms cubic-bezier(0.66, 0, 0.379, 2) forwards;
}

@keyframes mainCard {
  from {
    transform: translate3d(0, 0, 0) scale(0.865);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.14));
  }
  to {
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
  }
}

.left-card,
.right-card {
  z-index: 1;
}

.left-card {
  /*background-image: var(--left-card-image);*/
}

.right-card {
  /*background-image: var(--right-card-image);*/
}

.left-card.played-animation {
  transform: translate(-93px, 43px) scale(1) rotate(-14deg);
}

.right-card.played-animation {
  transform: translate(97px, -10px) scale(1) rotate(12deg);
}

.left-card.play-animation {
  transform: translate(0, 0) scale(0.865) rotate(-1.5deg);
  animation: leftCard 600ms cubic-bezier(0.25, 1.5, 0.5, 1) 0.2s forwards;
}

.right-card.play-animation {
  transform: translate(0, 0) scale(0.865) rotate(1.5deg);
  animation: rightCard 600ms cubic-bezier(0.25, 1.5, 0.5, 1) 0.2s forwards;
}

@keyframes leftCard {
  from {
    transform: translate(0, 0) scale(0.865) rotate(-1.5deg);
  }
  to {
    transform: translate(-93px, 43px) scale(1) rotate(-14deg);
  }
}

@keyframes rightCard {
  from {
    transform: translate(0, 0) scale(0.865) rotate(1.5deg);
  }

  to {
    transform: translate(97px, -10px) scale(1) rotate(12deg);
  }
}

.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: var(--playfair);
  font-weight: 700;
  font-size: 19px;
  line-height: 145%;
  letter-spacing: 0;
  text-transform: capitalize;
  color: #fff;
  display: block;
  margin-bottom: 4px;
  
  &:hover {
      color: #fff;
  }
}

.dark .best-post-user {
  color: var(--link-color);
  
  &:hover {
      var(--link-hover);
  }
}

.best-post-text {
  font-family: var(--inter);
  font-weight: 400;
  font-size: 9px;
  line-height: 120%;
  letter-spacing: 0;
  text-align: justify;
  color: #fff;
  overflow-y: scroll;
  height: 96px;
}

.dark .best-post-text {
  color: #b8b8b8;
  height: 32px;
}

.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: var(--playfair);
  font-weight: 800;
  font-size: 12px;
  line-height: 145%;
  letter-spacing: 0;
  color: var(--best-episode-title-color);
  margin-bottom: 2px;
}

.dark .best-episode-title {
  margin-bottom: 4px;
}

.best-episode-text {
  font-family: var(--playfair);
  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);
  
  &:hover {
     color: var(--best-episode-text-color); 
  }
}

.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 0.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%;
    filter: grayscale(1);
  }
}

.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 {
  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: var(--playfair);
  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: 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: transform 0.23s ease-in-out;
}

.navigation-dropdown-item {
  border-radius: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  font-family: var(--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;
}

.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: var(--playfair);
  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: 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: transform 0.23s ease-in-out;
}

.quests-dropdown-item {
  border-radius: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  font-family: var(--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%
  );
}

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;
  justify-content: center;
  padding: 4px 20px;
  gap: 9px;
  /*justify-content: center;*/
  /*width: var(--content-width);*/
  width: calc(var(--content-width) - 40px);
  z-index: 20;
  overflow-x: auto;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 200px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(52, 61, 71, 0.05);
  transition: all 0.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: var(--playfair);
  font-weight: 800;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: 0;
  text-align: center;
}

.news-title {
  font-family: var(--playfair);
  font-weight: 700;
  font-size: 12px;
  line-height: 145%;
  text-transform: uppercase;
  color: var(--font-color-primary);
}

.dark .news-title {
  color: #e3e3e3;
}

.news-text {
  font-family: var(--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);
}

/* Футер
------------------------------------------*/

#html-footer {
  position: absolute;
  width: var(--content-width);
  height: 80px;
  margin-top: 1px;
  background: transparent;
}

#html-footer .container {
  padding: 10px;
}

#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: 0.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;
}

.post h3 {
  width: calc(100% - var(--post-width) - 16px);
  margin-left: auto;
  font-family: var(--inter);
  font-weight: 500;
  font-size: 11px;
  line-height: 144%;
  letter-spacing: 0;
  color: rgba(32, 32, 32, 0.6);
  margin-bottom: 2px;
}

.post h3 span {
  position: relative;
  padding: 4px 12px;
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: normal;
  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: var(--font-color-primary);
}

/* Автор */

.post-author {
  position: relative;
  width: var(--post-width);
  text-align: center;
  background: var(--background-primary);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}

.post-author.default-bg {
    background-image: url(https://forumstatic.ru/files/001c/7a/01/25927.png);
}

.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%);
}

.post-author ul {
  margin: 33px 16px 0 16px;
  background: var(--background-secondary);
  border-radius: 5px;
  position: relative;
  padding: 10px 15px 30px 15px;
}

.pa-author {
  margin: 0;
  font-size: 14px;
  font-family: var(--playfair);
  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: var(--background-secondary);
  padding: 4px 8px;
  border-radius: 5px;
  position: absolute !important;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  max-width: 185px;
  overflow: hidden;
}

.pa-author,
.pa-author a {
  color: var(--font-color-primary);
  text-overflow: ellipsis;
  max-width: 100%;
}

.dark .pa-author,
.dark .pa-author a {
  color: var(--font-color-primary);
}

.pa-title {
  font-family: var(--inter);
  font-weight: 400;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: var(--font-color-primary);

  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-posts,
.post-author ul li.pa-fld6,
.post-author ul li.pa-fld7 {
  position: absolute;
  bottom: 6px;
  color: transparent;
  width: 20px;
  height: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  cursor: pointer;

  .fld-name {
    display: block;
    height: 0;
  }
}

.post-author ul li.pa-respect {
  position: absolute;
  bottom: 6px;
  width: 20px;
  height: 20px;
  color: transparent;

  a {
    color: transparent;
    width: 20px;
    height: 20px;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    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 a,
  .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);
  }
}

.dark .post-author ul li.pa-respect a {
   background-color: #afafaf;
}

.post-author ul li.pa-fld4 {
  mask-image: url(https://forumstatic.ru/files/001c/7a/01/23962.svg);
  background-color: rgba(32, 32, 32, 0.7);
  z-index: 11;
  background-color: rgba(32, 32, 32, 0.7);
}

.post-author ul li.pa-fld5 {
  mask-image: url(https://forumstatic.ru/files/001c/7a/01/88483.svg);
  background-color: rgba(32, 32, 32, 0.7);
  z-index: 12;
  left: 47px;
}

.post-author ul li.pa-respect {
  left: 80px;
  z-index: 13;
}

.post-author ul li.pa-respect a {
  mask-image: url(https://forumstatic.ru/files/001c/7a/01/86115.svg);
  background-color: #555;

  img {
    display: none;
  }
}

.post-author ul li.pa-posts {
  mask-image: url(https://forumstatic.ru/files/001c/7a/01/33122.svg);
  background-color: rgba(32, 32, 32, 0.7);
  z-index: 14;
  left: 113px;
}

.post-author ul li.pa-fld6 {
  mask-image: url(https://forumstatic.ru/files/001c/7a/01/73683.svg);
  background-color: rgba(32, 32, 32, 0.7);
  z-index: 15;
  left: 145px;
}

.post-author ul li.pa-fld7 {
  mask-image: url(https://forumstatic.ru/files/001c/7a/01/80878.svg);
  background-color: rgba(32, 32, 32, 0.7);
  z-index: 16;
  left: 178px;
}

.post-author ul li.pa-fld2 {
  text-align: left;
}

.post-author ul li.pa-fld2 .anketa-link {
  position: relative;
  z-index: 10;
  font-family: var(--playfair);
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--font-color-primary);
  text-align: left;
}

.dark .post-author ul li.pa-fld2 .anketa-link {
  color: var(--font-color-primary);
}

.lz-text {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(32, 32, 32, 0.7);
  font-family: var(--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: 20px;
}

.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: 36px;
  margin: 0 -15px 0 -15px;
  font-family: var(--playfair);
  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;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.post-author ul li.pa-fld3 .plash .plash-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -18px;
  width: 26px;
  height: 26px;
  background-color: var(--background-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  
  img {
    width: 18px;
    height: 18px;
    object-fit: cover;
  }
}

.post-author ul li.pa-fld3 .plash .plash-text {
  font-family: var(--playfair);
  font-weight: 400;
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0;
}

.post-author ul li.pa-fld3 .plash div p {
  font-family: var(--playfair);
  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(--inter);
  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(--inter);
  display: inline-block;
}

.post-author ul .addflds li .fld-name {
  font-size: 11px;
  letter-spacing: 0;
}

.pa-online {
  strong {
    display: none;
  }
}

.indOnline,
.indOffline {
  width: 8px;
  height: 8px;
  position: absolute !important;
  background: var(--link-color);
  top: -22px;
  left: -12px;
  font-size: 0;
  border-radius: 50%;
}

.indOffline {
  background: var(--background-primary);
}

/* Тело поста */

.post-body {
  width: calc(100% - var(--post-width) - 16px);
  background-color: rgba(211, 211, 211, 0.4);
  border-radius: 10px;
  font-family: var(--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: var(--font-color-primary);
}

.post-box {
  padding: 20px 20px 40px 20px;
  height: 100%;
  box-sizing: border-box;
}

.post-links {
  margin-left: var(--post-width);
  width: 100%;
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--post-width) * -1);
  text-align: right;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

.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: var(--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.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: 10px 30px;
}

.formsubmit {
  padding: 0;
  margin: 0 0 20px 0;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

fieldset {
  border: none;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

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;
  width: 100% !important;
}

.hashelp {
  position: relative;
}

/* Профиль + ЛС
------------------------------------------*/

#viewprofile,
#profilenav {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

#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;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: normal;
  font-family: var(--inter);
}

#pun-userlist .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .tcl {
  width: 40%;
}

/* Собщения об ошибках */

.info .container {
  padding: 5px 10px;
}

.info .container .backlink {
  padding-top: 8px;
}

/* Регистрация */

.info-box {
  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: 0.5;
  z-index: 9999;
  display: none;
  position: fixed;
  margin-left: var(--content-width) !important;
  box-sizing: border-box;
  transition: all 0.3s linear 0s;
}

.go-up {
  top: 290px;

  img {
    width: 61px;
    height: auto;
  }
}

.go-down {
  top: 380px;

  img {
    width: 45px;
    height: auto;
  }
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}

/* Custom stuff
------------------------------------------*/

.statscon {
  padding: 0 20px;
}

#pun-crumbs2 {
  padding: 0 20px;
}

.dark #pun-crumbs2 {
  color: var(--font-color-primary);
}

#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: var(--playfair);
  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: var(--playfair);
  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: 2px;
  flex-wrap: wrap;

  .pp-icon {
    width: 34px;
    height: 34px;
    background-color: rgba(35, 37, 40, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      width: 20px;
      height: 20px;
    }
  }
}

.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: var(--playfair);
    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%);
      width: 100%;
    }

    p {
      font-family: var(--playfair);
      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: cover;
      border-radius: 5px;
    }
  }
}

.pp-backgrounds {
  grid-area: backgrounds;
  /*display: flex;*/
  /*justify-content: center;*/
  /*flex-wrap: wrap;*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px;
    gap: 6px;

  .pp-background {
    /*width: 86px;*/
    /*height: 86px;*/
    /*border-radius: 5px;*/

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 5px;
    }
  }
}

.pp-episodes {
  grid-area: episodes;
  display: flex;
  flex-direction: column;
  gap: 2px;

  .pp-episode {
    position: relative;
    display: flex;
    gap: 8px;
    align-items: baseline;
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 13px 20px 14px;
    margin: 2px 0;
    font-family: var(--playfair);
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #42403f;
    transition: all 0.2s linear 0s;
  }
  
  a.pp-episode {
      &:hover {
          background: rgba(0, 0, 0, 0.1)
      }
  }

  .pp-episode-date {
    font-size: 25px;
    line-height: 100%;
    font-weight: 700;
  }

  .pp-episode-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 500;
    line-height: 120%;
  }
}

.pp-gifts {
  grid-area: gifts;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px;

  .pp-gift {
    width: 54px;
    height: 54px;
    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;
    color: #42403f;
    transition: all 0.2s linear 0s;

    .pp-achievement-image {
      background-color: #d2d2d2;
    }
  }
  
  a.pp-achievement {
      &:hover {
          background: rgba(0, 0, 0, 0.1)
      }
  }

  .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: var(--playfair);
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }

  .pa-achievement-description {
    font-family: var(--inter);
    font-weight: 400;
    font-style: Regular;
    font-size: 9px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }
}

/* новости */

.newsroom {
  position: relative;
  padding: 0px 20px 42px 20px;
  margin-top: 21px;
  background-image: 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;
  margin-bottom: 10px;
}

.dark .newsroom {
  background-image: 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: flex;
  justify-content: space-between;
  align-items: center;
}

.newsroom_date {
  font-family: var(--playfair);
  font-weight: 700;
  font-size: 40px !important;
  line-height: 145% !important;
  letter-spacing: 0;
  color: #fff;
  width: 35%;

  p {
    padding-bottom: 0 !important;
    font-size: 40px !important;
    line-height: 145% !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;
  }
}

.dark .newsroom_avatar {
    p {
       border: 5px solid #8b5856; 
    }
}

.newsroom_avatar::before {
    position: absolute;
    top: 4px;
    left: -94px;
    content: "";
    background-image: url(https://forumstatic.ru/files/001c/7a/01/12965.png);
    transform: rotate(65deg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 220px;
    height: 145px;
}

.dark .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;
  transform: none;
}

.newsroom_title {
  width: 35%;
  font-family: var(--playfair);
  font-weight: 700;
  font-size: 16px !important;
  line-height: 145% !important;
  letter-spacing: 0;
  color: #fff;
}

.newsroom_title p {
  text-align: right !important;
  padding-bottom: 0 !important;
  font-size: 16px !important;
  line-height: 145% !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;
  
  &:not(:first-of-type) {
      margin-top: 12px;
  }
}

.newsroom_best-episode-header {
  display: flex;
  gap: 4px;
}

.newsroom_best-episode-title {
  font-family: var(--playfair);
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  
  p {
      padding: 0;
  }
}

.newsroom_best-episode-author {
  font-family: var(--playfair);
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  
   p {
      padding: 0;
  }
}

.newsroom_best-episode-text {
    padding-top: 12px;
}

.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: 2000;
  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: 68px;
  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;
}

/*БыстроПлюсы для Топика!*/

.noNull:before {
  content: "+";
  font-size: 12px;
  left: 6px;
  position: absolute;
}

div.post-rating,
div.post-vote {
  position: absolute;
  bottom: 20px;
  right: 20px;

  .container {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }
}

div.post-rating {
  right: 50px;
}

div.post-vote .container a {
  position: relative;
  display: block;
  padding: 4px 8px;
  color: transparent;
  background-color: rgba(32, 32, 32, 0.05);
  border-radius: 4px;
  font-family: var(--inter) !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 110% !important;
  letter-spacing: 0;

  &::after {
    transition: background-color 0.23s ease-in;
    position: absolute;
    content: "";
    mask-image: url(https://forumstatic.ru/files/001c/7a/01/59644.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: rgba(32, 32, 32, 0.6);
  }
}

.dark div.post-vote .container a {
  background-color: #414141;

  &::after {
    background-color: rgba(228, 228, 228, 0.6);
  }
}

div.post-vote .container a {
  &:hover {
    &::after {
      background-color: var(--link-color);
    }
  }
}

div.post-rating .container a {
  --post-rating-color: rgba(32, 32, 32, 0.6);
  position: relative;
  display: block;
  padding: 4px 26px 4px 8px;
  color: var(--post-rating-color);
  background-color: rgba(32, 32, 32, 0.05);
  border-radius: 4px;
  font-family: var(--inter) !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 110% !important;
  letter-spacing: 0;

  &.noNull {
    padding-left: 13px;
  }

  &::after {
    transition: background-color 0.23s ease-in;
    position: absolute;
    content: "";
    mask-image: url(https://forumstatic.ru/files/001c/7a/01/31491.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    right: 6px;
    transform: translatey(calc(-50% - 1px));
    width: 14px;
    height: 14px;
    background-color: var(--post-rating-color);
  }
}

.dark div.post-rating .container a {
  background-color: #414141;
  --post-rating-color: rgba(228, 228, 228, 0.6);
}

div.post-rating .container a {
  &:hover {
    --post-rating-color: var(--link-color);
  }
}

.post-box:has(.post-vote[style*="display: none"]) .post-rating {
  right: 20px !important;
}

.post-box:not(:has(.post-vote:not([style*="display: none"]))) .post-rating {
  right: 20px !important;
}

.reaction-picker-button {
  width: 21px !important;
}

.reaction-chip {
  height: 21px !important;
}

#plng {
  border-radius: 10px !important;
  margin-right: 12px !important;
  font-family: var(--inter) !important;
  font-size: 8px !important;
  line-height: 110% !important;
  padding: 4px 14px 4px 16px !important;
  display: inline-block;
  vertical-align: middle;
  min-width: 30px;
  text-align: center;
}

.prev, .next {
    color: var(--link-color) !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    
    &:hover {
        color: var(--link-hover) !important;
    }
}

#BookmCntToggle.default-style {
    background: none !important;
    mask-image: url(https://forumstatic.ru/files/001c/7a/01/80865.png);
    mask-size: cover;
    mask-repeat: no-repeat;
    height: 26px !important;
    width: 26px !important;
    background-color: #e2e2e2 !important;
    border: none !important;
    box-shadow: none !important;
    
    &:before,
    &:after {
        content: none !important;
    }
}

#post-preview .post-content {
    font-family:  var(--inter);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: normal;
}

#post-form > h2 {
    display: none;
}

del {
    padding: 0 2px;
    text-decoration: none;
    filter: blur(2px);
    transition: 0.3s ease-in-out;
}

del:hover {
    padding: 0px !important;
    text-decoration: none;
    filter: none !important;
    transition: 0.3s ease-in-out;
}

::-webkit-scrollbar {
  width: 4px;  
  height: 4px;
}