@import url(style_cs.1757778782.css);

/* Иконический шрифт */
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/* шрифты бланш */
@import url(https://forumstatic.ru/files/001a/28/10/55678.css); 

/*остальные шрифты шрифтяночки*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

@font-face {
  font-family: 'Baron Neue';
  src:
    url('https://forumstatic.ru/files/001c/51/4b/97879.woff2') format('woff2'),
    url('https://forumstatic.ru/files/001c/51/4b/77972.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nyght Serif';
  src:
    url('https://forumstatic.ru/files/001c/51/4b/39947.woff2') format('woff2'),
    url('https://forumstatic.ru/files/001c/51/4b/54249.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Nyght Serif';
  src:
    url('https://forumstatic.ru/files/001c/51/4b/20371.woff2') format('woff2'),
    url('https://forumstatic.ru/files/001c/51/4b/81602.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}





/****************************************
Чистый стиль by Alex Kolmar (бродяга)
****************************************/

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0.0;
  font-size: 0;
}


/* Основные переменные
------------------------------------------*/

:root {
  --body-bg: #eae5d7;
  --txt-main: #222;
  --link: #798361;
  --link-hover: #bb8954;
  --pun-bg: #f4f0e5;
  --wht: #fff;
  --sec-bg: #eae5d7;
  --inew-bg: #efebe1;
  --pwidth: 228px;
  --pad1: 10px 25px;
  --pad2: 5px 25px;
  --pad3: 5px 10px;
  --font-family: "Baron Neue", sans-serif;
  --third-family: "Manrope", sans-serif;
  --font3: "Nyght Serif", sans-serif;
  --shd: 1px 1px 23px 0 rgba(0, 0, 0, 0.2);
  --trn: 0.2s ease-out;
  --iconsfont: 'Material Icons Outlined';
    --shdh: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
    --layer: #F4F0E5;
}

/* Global
------------------------------------------*/

/* Применяется ко всем элементам */

* {
  margin: 0;
  padding: 0;
  border: none;
  text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /*scrollbar-width: thin;
  scrollbar-color: var(--link-hover) var(--sec-bg);*/
}

/* прокрутка хром etc */

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius: 10px;
}

*::-webkit-scrollbar-track {
  background-color: var(--sec-bg);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--link);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:active {
  background: var(--link);
}

/* выделение текста */

::selection {
  background: var(--link);
  color: var(--pun-bg);
}

:focus {
  outline: none;
}

/* все ссылки */

a,
.punbb #pun-admain a {
  text-decoration: none;
  color: var(--link);
  transition: all .2s linear 0s;
}

a:hover,
.punbb #pun-admain a:hover {
  color: var(--link-hover);
}

/* зачеркивание красивешное */

del {
    opacity: 0.7;
    filter: blur(2px);
    text-decoration: none;
    transition: all .3s linear 0s;
}

del:hover {
    opacity: 1;
    filter: none;
    text-decoration: none;
}

/* hr в постах */
.post-content hr {
border: 1px dashed var(--link);
    opacity: 1 !important;
}

/* подсказки в постах */
.post-content abbr {
    cursor: help;
    text-decoration: underline dotted;
}

/* все заголовки */

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre {
  margin: 0;
}

h1,
h2 {
  padding: 10px 20px;
  font-weight: normal;
  text-align: center;
  font-size: 14px;
}

ul,
dl,
li,
dd,
dt {
  list-style: none;
}

address,
em {
  font-style: normal;
}

/* выключить список модераторов, отредактировано etc */

.modlist,
.lastedit,
.punbb div#pun-live-rusff,
.punbb .topic a.sharelink {
  display: none;
}

/* модальные окна, репутация, закладки etc */

#tags .container,
.post_report,
.post_reputation,
#MyBookmarks,
.inner.popup_graffiti,
.pun-modal .modal-inner,
.punbb-admin #pun-admin-award-form .inner {
  background: var(--sec-bg);
}

/* Формы
------------------------------------------- */

/* ОФОРМЛЕНИЕ КНОПОК */

input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"] {
  padding: 2px 10px;
  border: 1px solid currentColor;
  transition: all .2s linear 0s;
    cursor: pointer;
    transition: all .2s linear 0s;
    margin: 0 6px 0 0;
    border: 1px solid var(--link);
    border-radius: 5px;
    text-transform: lowercase;
background: var(--link);
    box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.25);
    font-family: var(--third-family);
    font-size: 13px;
   color: var(--pun-bg);
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    border: 1px solid var(--link-hover);
    background: var(--link-hover);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
input[type="date"],
textarea,
select {
    padding: 2px 5px;
    border: 1px solid #adaba5;
    border-radius: 5px;
    background: var(--body-bg);
    font-family: var(--third-family);
    color: var(--txt-main);
}

textarea,
input,
select,
optgroup {
  font-size: 12px;
}

optgroup {
  font-weight: bold;
}

/* флажки и чекбоксы */

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 3px;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 20px;
  vertical-align: middle;
}

.formal .container {
  padding: var(--pad1);
}

.formsubmit {
  padding: 0;
  margin: 10px 0 0 0;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
    margin: 0 6px 0 0;
    border-radius: 5px;
    text-transform: lowercase;
    box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.25);
    font-family: var(--third-family);
    font-size: 13px;
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: bold;
}

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: 10px;
}

.inline .infofield {
  clear: both
}

.datafield br {
  display: none
}

.required label,
.datafield span.input {
  font-size: 10px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

.hashelp {
  position: relative;
}


/* Админка
------------------------------------------*/

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}


/* Тело форума
------------------------------------------*/

/* фон */

html {
  background: url('https://forumstatic.ru/files/001c/58/60/14226.jpg') no-repeat top center;
}

/* заплатка для фиксированного фона */

body::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -10;
  background: var(--body-bg) url('https://forumstatic.ru/files/001c/58/60/14226.jpg') no-repeat top center/cover;
}

/* тело */

#pun {
  margin: 50px auto 30px;
  width: 950px;
  background: var(--pun-bg);
  border-radius: 20px;
  color: var(--txt-main);
  font-family: var(--third-family);
}

/* внутреннее тело */

.punbb {
  font: 12px var(--third-family), Arial, Verdana;
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
}

/* Навигационные ссылки */

#pun-navlinks {
   margin-top: 10px;
}

#pun-navlinks a {
    font-family: var(--font-family);
    font-size: 16px;
    color: var(--txt-main);
    text-transform: lowercase;
}

#pun-navlinks a:hover {
    color: var(--link-hover);
}

#pun-navlinks .container {
  text-align: center;
}

#pun-navlinks li {
  padding: 0 5px;
  display: inline;
}

/* Пользовательские ссылки */

#pun-ulinks {}

#pun-ulinks a {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    text-align: center;
    color: var(--txt-main);
}

#pun-ulinks a:hover {
    color: var(--link-hover);
}

#pun-ulinks .container {
  text-align: center;
    padding-top: 0;
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

/* Статус */

#pun-status {
    font-size: 11px;
    text-transform: lowercase;
    padding: var(--pad2);
    position: absolute;
    top: 5px;
}

#pun-status span {
  white-space: nowrap;
  margin-right: 5px;
}

#pun-status .status-right {
    display: none;
}

/* Хлебные крошки */

.crumbs.container {
    text-align: center;
    text-transform: lowercase;
    font-family: var(--font-family);
    font-size: 10px;
}

/* Копирайт */

#pun-about {}

#pun-about .container {
  text-align: center;
}


/* Главная форумная таблица
------------------------------------------*/

.main table {
  table-layout: fixed;
  width: 100%;
}

.main th {
  padding: 5px 10px;
}

.main td {
  padding: 10px;
}

.tcl {
  width: 65%;
}


.tc2,
.tc3,
.tcmod {
  text-align: center;
  width: 10%;
}

#pun-index .tc2,
#pun-index .tc3,
#pun-index .tcmod {
  visibility: visible;
}

.tcr {
  width: 30%;
}

#pun-searchtopics .tcl,
#pun-modviewforum .tcl {
  width: 40%
}

#pun-searchtopics .tc2 {
  text-align: left;
  width: 20%;
}

#pun-debug table .tcl {
  width: 15%;
}

#pun-debug .tcr {
  width: 90%;
}

#pun-viewforum tbody.hasicon td.tcl {
 padding-left: 40px;
}

/* аватар */

.punbb td .user-avatar, #pun-index td .user-avatar {

}

.punbb td .user-avatar .avatar-image {
outline: 1px solid var(--link);
    outline-offset: 2px;
}


/* Иконки */


div.icon {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-left: -30px;
    background: var(--body-bg);
    border: 1px solid var(--link);
}

tr.inew div.icon {
    background: var(--link);
}

tr.isticky div.icon {
   background: var(--link-hover);
    border: 1px solid var(--link-hover);
}

tr.iclosed div.icon {
background: #858585;
    border: 1px solid #858585;
}


/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
    padding: var(--pad1);
}

.linkst {
  position: relative;
  padding: var(--pad2);
  display: flex;
  justify-content: space-between;
text-transform: lowercase;
}

.linkst .pagelink {
  text-transform: lowercase;
}

.linkst .postlink {
  text-align: right;
}

.linksb {
  position: relative;
  padding: var(--pad2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-transform: lowercase;
}

.linksb .pagelink {
  order: -1;
}

.subscribelink {
  width: 100%;
  text-align: right;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}

#post-form h2 span {
  display: none;
}

span.new-topic a, span.new-poll a {
background: var(--link);
    color: var(--body-bg);
    padding: 5px 10px;
    border-radius: 10px;
}

span.new-topic a:hover, span.new-poll a:hover {
background: var(--link-hover);
}

/* Модераторское меню, RSS, Atom */

.modmenu .container {
  padding: var(--pad3);
  text-align: right;
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
}

/* Главная
------------------------------------------*/

#pun-index {

}

/* скрыть "форум, тем, сообщений" */

#pun-index thead {
  display: none;
}

/* категория */

#pun-index .category {
    background: url(https://forumstatic.ru/files/001c/8a/af/60814.jpg) no-repeat top center;
}

#pun-index #pun-category1 {
    background: url(https://forumstatic.ru/files/001c/8a/af/80106.jpg) no-repeat top center;
}

#pun-category2 {
    background: url(https://forumstatic.ru/files/001c/8a/af/60814.jpg) no-repeat top center;
}

/* заголовок категории */

#pun-index .category h2 {
margin-top: 10px;
}

#pun-index .category h2 span {
font-size: 0;
}

#pun-index .category .container{
    padding: 10px 40px;
}

/*форумы*/

#pun-index .category tr h3 a {
   font-family: var(--font-family);
   font-weight: 400;
   font-size: 16px;
   color: var(--txt-main);
   text-transform: lowercase;
}

#pun-index .category tr h3 a:hover {
   color: var(--link-hover);
}

#pun-index .category tr div.intd{
 padding: 12px 22px;
}

#pun-index .category tr td.tc2,
#pun-index .category tr td.tc3{
  background: transparent;
  color: transparent;
  user-select: none;
  display: block;
  width: 0px;
  padding: 0 !important;
}


#pun-index .category tr.inew div.intd {
    background: var(--inew-bg);
    border-radius: 17px;
    position: relative;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
}


#pun-index tbody.hasicon {
    display: block;
    padding: 20px 5px;
}

#pun-index div.icon {
    background: transparent;
    border: none;
}

#pun-category1 tbody.hasicon tr:first-child .icon {
    display: none;
    position: relative;
    /* background: url(https://forumstatic.ru/files/001c/58/60/95389.png) no-repeat center; */
    width: 126px;
    height: 103px;
    float: right;
    margin-right: -150px;
}

#pun-index .tclcon {
    width: 506px;
}

#pun-index td.tcr {
   text-transform: lowercase;
}

.f-description {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 11px;
    color: var(--txt-main);
    text-align: justify;
    margin-top: 5px;
}

.desk-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    /* line-height: 10px; */
    /* margin: 3px auto; */
}

.desk-links a {
    color: var(--pun-bg);
    background: var(--link);
    padding: 2px 10px;
    border-radius: 33px;
}

.desk-links a:hover {
    background: var(--link-hover);
}

/* Статистика */

#pun-stats {
   font-family: var(--third-family);
   text-transform: lowercase;
   font-size: 12px;
}

/* заголовок статистики */

#pun-stats h2 {
   display: none;
}

/* всего тем, всего сообщений */

#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 20px;
    max-width: 850px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px 0;
    border-top: 1px dashed var(--link);
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
   text-align: center;
}

#pun-stats li.item1 span,
#pun-stats li.item2 span,
#pun-stats li.item3 span,
#pun-stats li.item4 span {
    display: block;
    font-weight: 600;
}

#pun-stats li.item1 strong,
#pun-stats li.item2 strong,
#pun-stats li.item3 strong,
#pun-stats li.item4 strong {
    font-weight: 400;
}

/* активны, посетили за сутки */

li#onlinelist {
  width: 100%;
  padding: 10px 0;
  border-block: 1px dashed var(--link);
  text-align: justify;
}

li#onlinelist div > a {
  font-weight: 700;
}

/* Шапка
------------------------------------------*/

#pun-title {
    background: url(https://forumstatic.ru/files/001c/8a/af/96765.jpg);
    height: 347px;
    border-radius: 20px 20px 0 0;
}

/* скрыть заголовок в шаке */

#pun-title .title-logo {
  display: none;
}

/* содержимое шапки в html-верх */

.tablica {
   position: relative;
}

.fmvhead {
    position: absolute;
    display: flex;
    width: 950px;
    padding: 33px 33px 0 67px;
    box-sizing: border-box;
    height: 347px;
    justify-content: space-around;
    color: var(--wht);
    align-items: flex-start;
    overflow: hidden;
}

.fmv-left {
    width: 423px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-family: var(--font-family);
    gap: 147px;
}

.fmv-left-title {
position: relative;
}

.fmv-left-sub-title {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fmv-left-desk span {
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.32em;
}

.fmv-left-title-1, .fmv-left-title-2 {
   text-align: right;
   font-size: 20px;
}

.fmv-left-title-2 span {
    letter-spacing: 10px;
}

.fmv-left-title-3 {
background: url(https://forumstatic.ru/files/001c/8a/af/35992.svg);
    width: 460px;
    height: 230px;
    position: absolute;
    right: 2px;
    top: -10px;
   pointer-events: none;
}
.fmv-left-title-3 span {
  /*     font-family: var(--font3);
    font-style: italic;
    font-weight: 400;
    font-size: 161px;
    display:block;
    line-height:0.8;      
    position:absolute;
    left:0;
    bottom: -178px; */
}

.fmv-right-percent span {
    text-shadow: 1px 0 0 var(--link-hover), 0 1px 0 var(--link-hover), -1px 0 0 var(--link-hover), 0 -1px 0 var(--link-hover);
display: block;
    height: 120px;
line-height: 120px;
    margin-left: 10px;
}

.fmv-right {
   width: 236px;
    font-family: var(--third-family);
}

.fmv-right-desk {
    font-weight: 400;
    font-size: 10px;
    text-align: justify;
}

.fmv-right-percent {
    font-family: var(--font3);
    font-style: italic;
    font-weight: 400;
    font-size: 100px;
    color: var(--wht);
    text-align: center;
}

.fmv-right-links {
   border-radius: 32px;
    padding: 3px 21px;
    background: var(--link);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.fmv-right-links a {
    font-weight: 400;
    font-size: 10px;
    color: var(--pun-bg);
    transition: var(--trn);
}

.fmv-right-links a:hover {
    transform: translate(0, -2px);
}

/* Объявление
------------------------------------------*/

#pun-announcement {}

#pun-announcement .container {
   padding: 0 25px;
}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}

.html-box .testnews {
    padding: var(--pad1);
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.html-box .testnews a {
    background: var(--link);
    color: var(--wht);
    padding: 5px 10px;
    border-radius: 20px;
}

.html-box .testnews a:hover {
    background: var(--link-hover);
}

/* Футер
------------------------------------------*/

#html-footer::before {
content: '';
    background: url(https://forumstatic.ru/files/001c/8a/af/44533.png) no-repeat;
    height: 104px;
    width: 145px;
    position: absolute;
    bottom: 0;
    left: 40px;
}

#html-footer {
    background: url(https://forumstatic.ru/files/001c/8a/af/54590.png);
    height: 49px;
    position: relative;
}

#html-footer .container {padding: 0;}

/* баннеры */

.banners {
  padding: var(--pad1);
}

.banners a {
  opacity: .7;
}

.banners a:hover {
  opacity: 1;
}


/* Топик
------------------------------------------*/
#pun-viewtopic h1 {
   display: none;
}

.post {
  margin-top: 10px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

/* контейнер поста */

.post .container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
}

/* дата и номер поста */

.permalink {
    display: flex;
    align-items: center;
}

.permalink::before {
    content: '\e8b5';
    font-family: var(--iconsfont);
    padding: 0 5px 0 0;
}

.post h3 {
  padding: 5px 26px;
}

.post h3 span {
    padding: 5px 10px;
    display: block;
    background: var(--sec-bg);
    box-sizing: border-box;
    border-radius: 5px;
    color: var(--link);
    text-transform: lowercase;
    font-size: 11px;
}

/* номер поста */

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
}

.post h3 strong::before {
    content: '#';
    padding: 0 5px 0 0;
}

/* Автор */

.post-author {
    width: var(--pwidth);
    text-align: center;
    box-sizing: border-box;
    background: url(https://forumstatic.ru/files/001c/58/60/93294.png) top center;
    border-radius: 9px;
    padding: 7px;
    margin-bottom: 12px;
}

.post-author ul {
    border-radius: 7px;
    background: var(--sec-bg);
    padding: 10px 0px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2px;
}

.post-author .pa-author,
.post-author .pa-title,
.post-author .pa-avatar,
.post-author .pa-ip,
.post-author .pa-online{
  grid-column: 1 / -1;     /* на всю ширину */
  text-align: center;
}

.post-author .pa-posts  { 
  grid-column: 1; 
  justify-self: start; 
  padding-left: 19px;
}

.post-author .pa-respect{ 
  grid-column: 2; 
  justify-self: end;   
  padding-right: 14px;
}

.pa-author,
#profile-name {
    font-family: var(--font3);
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    color: var(--link);
    position: relative;
}

.pa-author a {}

.pa-title, #profile-title {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 10px;
    color: var(--txt-main);
    text-transform: lowercase;
    padding: 5px 0;
    margin: 0 auto;
    width: 180px;
}

.pa-avatar img {
   border-radius: 5px;
}

.pa-fld2 {
    border-radius: 17px;
    color: var(--wht);
    background: var(--link);
    font: 10px var(--third-family), Arial, Verdana;
    height: fit-content;
    grid-column: 1 / -1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    margin: 4px auto 6px !important;
    padding: 4px 12px;
}

.pa-fld3 {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--link);
  border-bottom: 1px dashed var(--link);
  padding: 5px 14px;
  font: 10px var(--third-family), Arial, Verdana;
  background: var(--inew-bg);
}

.lz {}

.pa-posts,
.pa-respect {
    display: inline-block;
    margin-top: 6px;
    font-family: var(--third-family);
    font-weight: 500;
    font-size: 11px;
    text-transform: lowercase;
    text-align: center;
    color: var(--txt-main);
}

.pa-ip {
    margin: 5px 0;
    font-size: 11px;
    text-transform: lowercase;
    filter: blur(4px);
    transition: var(--trn);
}

.pa-ip:hover {
    filter: blur(0px);
}

.pa-online,
.pa-last-visit {}


/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth));
}

.post-box {
   padding: 5px 7px 20px 20px;
   font-family: var(--third-family);
   font-weight: 500;
}

.post-box a {
  font-weight: 700;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
   text-transform: lowercase;
    font-family: var(--font-family);
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
}

.post-links li {
  display: inline;
}

.post-links li:not(:first-of-type) {
  padding-left: 10px;
}

.pl-email,
.pl-website {
  float: left;
}

.clearer {
  clear: both;
  height: 0;
  font-size: 0;
}


/* Контент поста - цитата, спойлер, таблицы и т.п. */

.punbb .post td {
  border: 0px transparent !important;
}

pre {
  font: 500 12px Manrope, sans-serif;
  margin:10px;
}

.post-content em {
  font-style: italic;
}

#pun-edit .post-content td, .post .post-content td {
  border-width: 0px !important;
   border-style: none !important;
}

.post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.post-content p {
  margin: 10px;
  padding: 0;
  line-height: 150%;
  text-align: justify;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  overflow: auto;
  max-height: 200px;
  height: inherit !important;
  min-height: inherit !important;
}

/* цитата и код */

.quote-box,
.code-box {
    margin: 4px 10px 25px;
    padding: 12px;
    background: var(--sec-bg);
    border-radius: 17px;
    position: relative;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
}

.quote-box cite, .code-box strong {
    font-style: normal;
    padding: 2px 15px;
    border-radius: 17px;
    position: absolute;
    top: 0;
    margin-left: 15px;
    transform: translateY(-50%);
    font-family: var(--third-family);
    font-weight: 800;
    font-size: 10px;
    text-transform: lowercase;
    color: var(--wht);
    background: var(--link);
    display: block;
    padding-bottom: 5px;
    font-weight: bold;
    font-style: normal;
}

/* для верхнего уровня оставляем «висящий» бейдж */
.quote-box > cite,
.code-box > strong {
  top: 0;
  transform: translateY(-50%);
}

/* ВЛОЖЕННЫЕ блоки: бейдж внутри, не поднимаем */
.quote-box .quote-box > cite,
.quote-box .code-box > strong,
.code-box .quote-box > cite,
.code-box .code-box > strong {
  top: -10px;
  transform: none;
  z-index: 1;         /* чтобы не прятался под соседями */
}

.quote-box .quote-box,
.quote-box .code-box,
.code-box .quote-box,
.code-box .code-box {
    padding: 12px;
    margin-top: 23px;
}

.quote-box .quote-box:has(> cite) {
  margin-top: 28px;
}

.code-box strong a {
    color: var(--wht);
}

.code-box{ position:relative }
.code-box .legend .code-copy{
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-transform: lowercase;
}

.post-content .spoiler-box>div::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--link);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s linear 0s;
}

.post-content .spoiler-box > div.visible::before {
    transform: translateY(-50%) scale(50%);
}

.post-content .spoiler-box>div {
    background: transparent !important;
    padding-left: 25px!important;
    position: relative;
}

.post-sig dt {
  border-bottom: 1px solid var(--link-hover);
  width: 300px;
  margin: 10px auto;
}

.quote-box .quote-box,
.quote-box .code-box {
    background: var(--layer);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
}

/* Форма ответа */

#main-reply {
  box-sizing: border-box;
}

#tags {
  position: relative;
}

#tags .container {
    padding: var(--pad3) !important;
    top: 5px !important;
    max-height: 200px;
    overflow: auto;
    background: var(--layer);
    border: 1px solid #adaba5;
    border-radius: 7px;
    left: 5px;
}

#font-area {display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 15px 1fr 15px 1fr 15px 1fr;
    grid-template-columns: repeat(4, 1fr);
    max-width: 550px;
    gap: 15px;
    max-height: 200px;
    overflow: auto;
}


/* Профиль + ЛС
------------------------------------------*/
#pun-profile {
    font-family: var(--third-family);
}

#pun-profile h1 {
   display: none;
}

#pun-profile #viewprofile table {
    background: var(--sec-bg);
    border-radius: 20px;
    padding: 20px;
}

#pun-profile #viewprofile tr {
    display: flex;
    justify-content: center;
    align-items: center;
}

#viewprofile td#profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: lowercase;
}

#viewprofile li#profile-name strong{
    font-family: var(--font3);
    font-size: 20px;
    color: var(--link);
}

#viewprofile li#profile-title {
   width: 190px;
   margin: auto;
   text-align: center;
}

li#pa-avatar img {
    border-radius: 10px;
    outline-offset: 5px;
}


#profile .container {
  padding-left: 200px;
  min-height: 100px;
}

#profile-name {
  padding: 0 !important;
}

#profilenav {
  float: left;
  width: 180px;
  margin-left: -180px;
}

#viewprofile h2,
#profilenav h2 {
   padding: 20px 0;
    margin: 0;
    text-align: left;
    font-family: var(--font-family);
    font-size: 13px;
    text-transform: lowercase;
}

#profilenav h2 span {
    background: var(--link);
    padding: 6px 30px 8px 6px;
    color: var(--pun-bg);
    border-radius: 0 10px 10px 0;
}

#profilenav li {
  padding: 0 0 5px;
}

#viewprofile li {
  padding: 7px 0;
}

#profile-right li {
  display: flex;
}

#profile-right li span {
  width: 150px;
  flex-shrink: 0;
}

#profile-left li strong {
  font-weight: 500 !important;
}


#profile-right li strong {
  font-weight: normal !important;
}

img.avatardemo {
  float: right;
  margin: 0 0 8px 18px;
}

#pun-messages .clearer {
  display: none;
}

#profile-left li#pa-edit {
    background: var(--link);
    padding: 5px 15px;
    border-radius: 15px;
    color: var(--wht);
   padding-left: 15px;
    margin-left: 5px;
}

#profile-left li#pa-edit a {
    color: var(--wht);
}

#profile-right li span {
    background: var(--link);
    color: var(--pun-bg);
    padding: 3px 10px;
    border-radius: 0 10px 10px 0;
}

#profile-right li span a {
    color: var(--pun-bg);
}

#pun-messages legend {
   display: none;
}

#pun-messages .post h3 {
    padding: unset;
    margin: 20px 0;
}

#pun-messages li.pa-reg, li.pa-online {
   display: none;
}

/* Прочие страницы
------------------------------------------*/

#pun-viewforum h1, #pun-respect  h1, #pun-positive h1, #pun-invitation h1 {
   display: none;
}

#pun-viewforum .multipage thead {
    display: none;
}

div#pun-viewforum tbody.hasicon tr {
    display: flex;
    align-items: center;
    justify-content: center;
}

div#pun-viewforum tbody.hasicon {
    background: var(--body-bg);
    border-radius: 5px;
    display: block;
}

div#pun-viewforum tbody.hasicon td.tcr {
    display: flex;
    align-items: center;
}

/* 1) строки не центрируем и растягиваем на всю ширину */
#pun-viewforum tbody.hasicon tr {
  display: flex;              /* как у тебя */
  align-items: center;
  justify-content: flex-start; /* было center */
  width: 100%;
}

/* 2) убираем левый padding у правой ячейки (tcr) */
#pun-viewforum tbody.hasicon td.tcr {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-align: left;
}

/* (если нужно вообще убрать отступы у обеих ячеек в списке тем) */
#pun-viewforum tbody.hasicon td {
  padding-left: 0 !important;
}

/* 3) сетка внутри tcr: аватар слева, справа дата/имя — всё к левому краю */
#pun-viewforum tbody.hasicon td.tcr {
  display: grid !important;
  grid-template-columns: 46px 1fr;  /* фиксированная колонка под круг */
  grid-template-rows: auto auto;    /* верх — дата, низ — имя */
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  justify-items: start;             /* прижать к левому краю внутри ячейки */
}

#pun-viewforum tbody.hasicon td.tcr .user-avatar { grid-column: 1; grid-row: 1 / span 2; margin-left: 10px;}
#pun-viewforum tbody.hasicon td.tcr > a[href*="viewtopic.php"] { grid-column: 2; grid-row: 1; display:block; white-space: nowrap; }
#pun-viewforum tbody.hasicon td.tcr .byuser { grid-column: 2; grid-row: 2; display:block; }

#pun-viewforum .main .tcl { width: 48%; margin-left: 30px;}
#pun-viewforum .main .tc2 { width: 8%;  }
#pun-viewforum .main .tc3 { width: 8%;  }
#pun-viewforum .main .tcr { width: 26%; }

#pun-userlist h1, #pun-search h1 {
    display: none;
}

#pun-searchposts li.pa-author strong {
   font-weight: 500;
}

/* Список пользователей */

#pun-userlist .formal,
#pun-userlist .formal .container {
  margin-bottom: 0;
}

#pun-userlist .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .tcl {
  width: 40%
}

.usertable .container {}

/* Собщения об ошибках */

.info .container {
  padding: var(--pad3);
}

.info .container .backlink {
  padding-top: 8px;
}

/* Регистрация */

.info-box {
  margin: 0 0 10px 0;
}

.info-box * {
  padding: 0 0 5px 0;
}

.info-box .legend {
  font-weight: bold;
}

.jGrowl-notification .jGrowl-close {
  position: relative;
  right: 6px;
}

.tipsy #respect figcaption {
  margin-top: 0;
}

/* Кнопки вверх-вниз
-------------------------------------------------------*/

.go-up,
.go-down {
  cursor: pointer;
  opacity: .8;
  z-index: 9999;
  display: none;
  position: fixed;
  margin-left: 970px !important;
  box-sizing: border-box;
  transition: all .3s linear 0s;
}

.go-up {
  top: 300px;
}

.go-down {
  top: 400px;
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}

/* БыстроПлюсы для Топика */
.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}
div .post-rating p>a {
    outline: 1px solid transparent;
    font-weight: 700;
    background: url(https://forumstatic.ru/files/001b/a6/d4/26514.svg) no-repeat center;
    background-size: 38px auto;
    position: relative;
    padding-left: 1px;
    z-index: 100;
    width: 38px;
    height: 38px;
    text-align: center;
    font-size: 12px !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 35px;
    color: var(--link);
}

div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}

div.post-vote {
    margin-bottom: 65px;
}

div.post-vote p>a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  z-index: 200;
    width: 20px;
    height: 20px;
    background: url(https://forumstatic.ru/files/0012/d8/04/75043.png?) no-repeat;
    display: block;
    background-size: 100%;
    margin-left: -10px;
    margin-top: 10px;
}
.post.dark-style div.post-vote p>a {
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}




/* поставить блок в правый край футера (компактная ширина) */
.fmv-radio-wrap{ width:210px; float:right; margin-top:10px; margin-right:40px; }
footer .fmv-radio-wrap{ margin-left:auto; }

/* базовый вид */
.fmv-radio-wrap{
  --fg:#fff; --acc:#d39a5c; --rail:#e6e6e6; --rail-dim:#c9c9c9;
  color:var(--fg); font:13px/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  display:flex; gap:8px; align-items:flex-start; position:relative;
}

/* обложка как фон: если URL не задан — виден бежевый квадрат */
.fmv-radio-cover{
  width:30px; height:30px; border-radius:6px; flex:0 0 30px;
  background: var(--pun-bg);          /* бежевый по умолчанию */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fmv-radio-main{ flex:1 1 auto; min-width:0; margin-top: 3px;}

/* верхняя строка */
.fmv-radio-top{
  display:grid; grid-template-columns:auto 1fr; align-items:center; gap:8px;
}
.fmv-radio-left{ display:flex; gap:6px; align-items:center; }
.fmv-radio-icon{ background:none; border:0; padding:0; cursor:pointer; line-height:0 }
.fmv-radio-icon img{ width:auto; height:10px; display:block }

/* play/pause swap */
.fmv-radio-play .icon-pause{ display:none }
.fmv-radio-play.is-playing .icon-play{ display:none }
.fmv-radio-play.is-playing .icon-pause{ display:block }

/* прогресс строго по центру */
.fmv-radio-progress{ display:flex; align-items:center; }
.fmv-radio-progress input[type="range"]{
  -webkit-appearance:none; appearance:none; width:100%; height:1px;
  border-radius:999px; outline:none; cursor:pointer; margin:0;
  background:linear-gradient(to right, var(--acc) 0% 0%, var(--rail) 0% 100%);
}
.fmv-radio-progress input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none; width:4px; height:4px; border-radius:50%; background:var(--acc); border:0; 
}

.fmv-radio-progress input[type="range"]::-moz-range-thumb{
  width:4px; height:4px; border-radius:50%; background:var(--acc); border:0;
}
.fmv-radio-progress input[type="range"]::-moz-range-track{
  height:1px; background:var(--rail); border-radius:999px;
}

/* ===== title // artist — бесшовная прокрутка, только при переполнении ===== */
.fmv-radio-titleline{
  font: 11px var(--third-family), Arial, Verdana;
  color: var(--pun-bg);
  text-transform:lowercase;
  white-space:nowrap; overflow:hidden; position:relative;
  --gap: 24px;   /* расстояние между копиями строки */
  --shift: 0px;  /* точный сдвиг на цикл — выставляется из JS */
}
.fmv-radio-titleline .track{
  display:inline-flex; align-items:center; will-change:transform;
}
.fmv-radio-titleline .copy{ margin-right:var(--gap); }
.fmv-radio-titleline.scroll .track{ animation: fmv-marquee 14s linear infinite; }

/* страховка: когда прокрутка не нужна — скрывать любые копии кроме первой */
.fmv-radio-titleline:not(.scroll) .track .copy:nth-child(n+2){ display:none; }

@keyframes fmv-marquee{
  from{ transform:translateX(0); }
  to  { transform:translateX(var(--shift)); } /* отрицательное значение */
}