/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1753537148.css);

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0;
  border-color: transparent;}

/* A2.2 */
.punbb * {
  margin: 0px;
  }
.punbb {
  position: relative;
  background: linear-gradient(to bottom, rgba(20, 28, 36, 0.4), rgba(10, 15, 20, 0.35));
  box-shadow:
    0 0 15px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(0, 0, 0, 0.5) inset;

  padding: 20px;
  z-index: 1;
}

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none;
  }

/* A2.5 */
.punbb .main table .viewprofile {
  table-layout: fixed;
 width: 752px;
border: solid;
border-color: #705459;
margin-left: 6px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  }

#pun-index .punbb table{
table-layout: fixed;
 width: 1000px;
border: solid;
border-color: #705459;
margin-left: 0px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

#pun-index .main table {
  table-layout: fixed;
 width: 952px;
margin-left: 0px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  }
/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle;
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {font: normal 68.75% verdana, arial, helvetica, sans-serif;}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
margin-left: 8px;
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table {
  font-size: 1,2em;
  font-weight: normal;
  }

/* A3.5 
.punbb h1 span, .punbb h2 span{
  font-size: 20px;
  }*/

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal;
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic;
  }

/* A3.9*/
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: none;
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#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;
  }

/* A4.2 */
.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;
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
 position: relative;
display: flex;
 margin: 420px auto auto auto; 
  background: url('https://forumstatic.ru/files/001c/82/cd/53888.png') top center repeat;  /* Повторяющийся фон */
     background-color: #111218; /* Цвет под фоном */
    width: 1200px; /* Максимальная ширина форума */
    min-height: 100vh; /* Минимальная высота форума на весь экран */
  }

/* A5.2 */
.punbb {
  position: relative;
  width: 1200px;
  height: auto;
  margin: -70px 50px 0px 0px;
  }

/* A5.3 */
.punbb #pun-redirect, #pun-maint {
    margin: 10px, auto;     
    float: none;
    background-color: #c3b185;
    text-align: center;     
    font-size: 13px !important;     
    color: #e0c482 !important;
  }


/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0,2em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 3px;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 0,5em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none none none;
  border-width: 0px 0px 0px 0px;
  }

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
 #pun-main h1, #pun-main h2, #pun-debug h2  {
  border-width: 0 0px 2px 0;
background: url(https://forumstatic.ru/files/001c/82/cd/11691.png) no-repeat center bottom;
width: 1200px;
max-width: 1200px; /* Максимальная ширина форума */
height: 50px;
    color: #92999a; /* Цвет текста */
    text-align: center; /* Выравнивание текста по центру */
    font-size: 25px; /* Размер шрифта */
    justify-content: center; /* Горизонтальное центрирование текста */
    align-items: center; /* Вертикальное центрирование текста */
margin-left: 0px; 
margin-right: 25px;
  Font-Family: Times New Roman, Arial Narrow, Arial;
  }

#pun-stats h2{
  padding: 0.5em 0.5em;
   border-style: solid;
   text-align: center;     
   height: 60px;
  border-width: 0 0px 2px 0;
  }

html{
    background: 
        url('https://forumstatic.ru/files/001c/84/99/78360.png') no-repeat center top, /* Верхняя картинка */
        url('https://forumstatic.ru/files/001c/82/cd/53888.png') repeat;   /* Повторяющийся фон */
 position: relative;
    background-color: #111218; /* Цвет под фоном */
}

.header-logo {
position: absolute;
top: -300px;
left: 10px;
    width: 400px; /* Ширина картинки */
    height: auto; /* Автоматическое масштабирование */
}
.header-logo1 {
position: absolute;
top: -220px;
left: 90px;
    width: 400px; /* Ширина картинки */
    height: auto; /* Автоматическое масштабирование */
}
/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  position: relative;
  background:transparent;
  margin: 10px 50px 0px -10px;
  padding: 1.5em;
  width: 1000px;
  overflow: hidden;

  /* Обводка с эффектом тиснения */
  border: transparent;
  border-radius: 10px;
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.1),  /* светлая внутренняя грань */
    inset -1px -1px 2px rgba(0, 0, 0, 0.3),      /* тёмная внутренняя грань */
    0 0 12px rgba(0, 0, 0, 0.4);                /* внешняя тень */

  color: #919b9e;
  font-family: 'Segoe UI', 'Verdana', sans-serif;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}



/* B1.2 */
.punbb .post-sig dt {
  border-top: 1px none;
display: block; /* Включаем flexbox */
   
  width: 601px;
  height: 55px;
  margin: 0px 0px 5px 80px;
  background: url(https://forumstatic.ru/files/0011/ed/1a/98606.png) no-repeat;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 1em 0.2em 1em 1em ;
  line-height: 150%;
 font-size: 18px;
  }


/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 95%;
  margin-left: 25px;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
overflow-x: hidden;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.4em 1.1em 1.2px 0em;
  font-size: 25px;
  overflow-x:hidden;
  }

/* B1.9 */
.punbb .quote-box, .punbb .post-content .code-box {
  background: linear-gradient(to right, rgba(30, 40, 50, 0.4), rgba(60, 80, 90, 0.4));
  color: #cfd8dc;
  font-style: italic;
  font-size: 1em;
  padding: 1em 1.5em;
  margin: 1em 0;
  border-left: 4px solid rgba(139, 187, 201, 0.6);
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* Убираем выделение у имени, оставляя текст */
.punbb .quote-box cite,
.punbb .quote-box .quote-name,
.punbb .quote-box strong {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  font-weight: bold;
  font-style: normal;
  color: #d1e3e6;
}



/* Кавычки (опционально, можно удалить) */
.punbb .quote-box::before {
  content: "“";
  font-size: 2.5em;
  position: absolute;
  top: -10px;
  left: 10px;
  color: rgba(139, 187, 201, 0.5);
  font-family: serif;
}


/* Внутренний блок основной цитаты */
.quote-main {
  border-left: 4px solid; 
  padding-left: 15px;
  margin: 0;
}


/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: none;
  border-width: 0px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 30px;
  }

/* B3.2 */
.multipage {
  margin-top: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -7em;
  left: 1em;
  width: 24em;
  color: #919b9e;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -5.1em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  color: #919b9e;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold;
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 17px 20px 15px 50px;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 20em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0;
  }

/* C1.4 */
.punbb fieldset {
  border-style: none;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 10px 1em 50px;
  font-size: 18px;
  width: 900px;
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  color: #9eaab7 !important;
  font-size: 18px;
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: -20px 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0;
  }

/* C1.8 */
.punbb .fs-box {
  padding: 10px 50px 15px 0px;
  margin-left: -40px;
width: 900px; 
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 -1em 0.8em 0;
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both;
  }

/* C1.12 */
.punbb .datafield br {
  display: none;
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold;
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  margin-left: 9px;
 margin-bottom: 9px;
background: url(https://forumstatic.ru/files/0011/ed/1a/78019.jpg);
  }
.longinput label
{
  margin-left: 9px;
  }
/* C1.17 */
#pun-edit #pun-main .formal #post fieldset, #pun-post #pun-main .formal #post fieldset, .punbb .hashelp {
  position: relative;
border-top: 1px none;
  padding: 0;
  margin: 0;
  width: 1000px;
color: #919b9e;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
overflow: hidden;
 text-align: left;
width: 45%; /* Ячейка занимает всю ширину */
}

#pun-index .main .tcl {
    overflow: hidden;
    text-align: center;
    width: 1200px; /* Ячейка занимает всю ширину */
    height: 50%;
    background: url('https://forumstatic.ru/files/001c/82/cd/43941.png') repeat-y center top; /* Повторяющаяся картинка */
    color: #919b9e;
    font-size: 18px;
    padding-bottom: 25px;
    border-top: 3px solid #580606;
    border-bottom: 3px solid #041520;
    box-shadow: 0 15px 10px rgba(0, 0, 0, 0.3); /* Добавляем тень */
}


/* C2.2 */
#pun-index  .main .tc2{
display: none; /* Полностью скрывает столбец */
text-align: center;
 width: 5%;
}

#pun-index .main .tc3, .punbb .main .tcmod {
display: none; /* Полностью скрывает столбец */
text-align: center;
 width: 5%;}

/* Включить столбцы tc2 и tc3 для всех остальных страниц */
.punbb .main .tc2,
.punbb .main .tc3 {
    display: table-cell; /* Восстановить отображение столбцов */
    font-size: 18px;
    width: 5%;
    text-align: center;
}

/* C2.3 */
#pun-index  .main .tcr {
    display: block !important; /* или initial, если подходит */
    align-items: unset !important;
    justify-content: unset !important;
    background: 
        url('https://forumstatic.ru/files/001c/82/cd/62723.png') no-repeat center bottom;
    border-right-style: none;
    overflow: hidden;
    text-align: center; 
    width: 1200px; /* Ячейка занимает всю ширину */
    height: 110px;
    padding-top: 0px;
    order: 2; /* Перемещает элемент на вторую позицию */
    background-color: #021520;
    color: #919b9e;
}

/* C2.3 */
.punbb .main .tcr {
    border-right-style: none;
    border-top: 3px;
    overflow: hidden;
    text-align: center; 
}

/* Контейнер для ячейки с аватаром и сообщением */
td.tcr {
  display: flex;
  align-items: center; /* вертикальное выравнивание по центру */
  gap: 10px; /* промежуток между аватаром и текстом */
  justify-content: flex-start; /* чтобы шли слева направо */
}

/* Аватар */
td.tcr .user-avatar {
  flex-shrink: 0;
}

/* Последний пост */
td.tcr .lastpost-link,
td.tcr .lastpost {
  display: block;
  line-height: 1.2;
}

#pun-index .main tr {
    width: 1200px; 
    display: flex;
    flex-direction: column; /* Размещает содержимое вертикально */
    align-items: flex-start; /* Выравнивает содержимое по левому краю */
}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%;
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: center;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl h3 {
  font-size: 1.3em;
  font-weight: bold;
  }

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em;
  }

/* C2.11 */
.punbb .main td {
  border-style: none;
  }

/* C2.12 */
.punbb .main th {
  padding: 6px 1em 7px 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
  }

* html .tclcon {height: 1px}

/* C2.14 */
.punbb td div.tclcon {
    margin-left: 13px;
}

/* Общий стиль иконки */
div.icon {
  display: block;
  float: left;
  width: 50px;
  height: 50px;
  margin-right: 5px;
  background: url(https://forumstatic.ru/files/001c/82/cd/73828.png) center center no-repeat;
  background-size: cover;
}

/* Увеличенная иконка на главной */
#pun-index div.icon {
  width: 100px;
  height: 100px;
  background-size: cover;
}

/* Новые сообщения */
tr.inew div.icon {
  background-image: url(https://forumstatic.ru/files/001c/82/cd/62718.png);
}

/* Закрытая тема */
tr.iclosed div.icon {
  background-image: url(https://forumstatic.ru/files/001c/82/cd/30197.png);
}

/* Прикреплённая тема */
tr.isticky div.icon {
  background-image: url(https://forumstatic.ru/files/001c/82/cd/42030.png);
}

/* Обновление для форумов — если вдруг используется другой класс */
.forum tr.inew div.icon {
  background-image: url(https://forumstatic.ru/files/001c/82/cd/62718.png);
}

.icon.inew::before {
  content: attr(data-new-topics); /* выводит число */
  position: relative;
  top: 500px;
  left: 40px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(145deg, #7e1e1e, #c74444); /* бордово-красный градиент */
  border: 2px solid #380d0d;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
  z-index: 10;
}


 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border-width: 3px;
  margin-top: -36px;
  padding-bottom: 1px;
  font-size: 20px !important;
box-shadow: 0 15px 10px rgba(0, 0, 0, 0.3); /* Добавляем тень */
  flex-direction: column; /* Вертикальное размещение элементов */
}

/* C3.2 */
.punbb .post h3 {
  border-style: double none double none;
  border-top-width: 3px;
  border-color: #190000;
}

.punbb .post h3 span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    padding: 6px 10px;
    margin: 0;
    background: linear-gradient(
  to right,
  rgba(4, 21, 32, 0.5),
  rgba(18, 60, 83, 0.5),
  rgba(4, 21, 32, 0.5)
);
    color: #dcdcdc;
    border-left: 4px solid #9b524b;
    border-radius: 4px;

    font-size: 14px;
    line-height: 1.4;
    gap: 10px;
}

.punbb .post h3 span a {
    color: #9babb6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.punbb .post h3 span a:hover {
    color: #9c7871;
    text-decoration: underline;
}

/* C3.5 */
.post-profile {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: url('https://forumstatic.ru/files/001c/82/cd/43941.png') top center repeat-y; /* Фон панели */
    border: 2px double #190000; /* Стиль рамки */
    box-sizing: border-box; /* Учитываем padding в ширине */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Добавляем тень */
    color: #ccc;
}

.user-avatar .username {
  font-family: 'Georgia', serif;
  font-size: 18px;
  font-weight: bold;
  color: #f0e6d2;
}

.user-avatar .status {
  font-size: 13px;
  color: #aaa;
}

.user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user-info .row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-info .label {
  color: #bbb;
  font-weight: bold;
}

.user-info .value {
  color: #ddd;
}

.user-info .reputation {
  margin-top: 10px;
  padding: 6px 12px;
  background: rgba(100, 80, 90, 0.4);
  border-radius: 4px;
  font-weight: bold;
  color: #e3cf88;
  text-align: center;
}


/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
position: relative; /* Родитель становится точкой отсчета */
  height: auto;
  width: auto;
  padding: 0 20px 20px 20px;
  background: url('https://forumstatic.ru/files/001c/82/cd/43941.png') top center repeat-y; /* Фон панели */
}

/* C3.7 */
.pa-author {
display: grid;
font-size: 25px !important; /* Размер шрифта */
  font-weight: bold; /* Жирный текст */
  height: 50px;
  width: 1200px;
  text-align: center;
align-items: center; /* Вертикальное выравнивание */
margin-left: -20px;
  background: linear-gradient(
  to right,
  rgba(4, 21, 32, 0.5),
  rgba(18, 60, 83, 0.5),
  rgba(4, 21, 32, 0.5)
);
  color: #5b2d1a;
  z-index: 99;
}
.pa-author {
  display: flex;
  align-items: center; /* выравнивание по вертикали */
  gap: 10px; /* расстояние между флагом и именем */
  flex-wrap: wrap; /* на всякий случай, если слишком узко */
}

.pa-author .flag-i {
  width: 24px;
  height: 18px;
  background-size: cover;
  flex-shrink: 0; /* флаг не будет сжиматься */
}

.pa-author a {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: bold;
  color: #e3cf88;
  text-shadow: 1px 1px 2px #000;
  letter-spacing: 0.5px;
  margin-left: 450px;
}

.pa-respect {
  background: linear-gradient(
    to right,
    rgba(4, 21, 32, 0.5), 
    rgba(18, 60, 83, 0.5), 
    rgba(4, 21, 32, 0.5)
    );

  color: #c3af7a;
  width: 100%;
  height: 30px;
  margin: 4px 0px 0px 190px !important;
  font-size: 20px !important; /* Увеличиваем шрифт */
  display: flex; /* Включаем Flexbox */
  align-items: center; /* Вертикальное центрирование */
  justify-content: center; /* Горизонтальное центрирование */
  text-align: center; /* Центровка текста */
}


.pa-fld1 {
  width: 180px;
  margin: 10px -29px auto auto !important;
}

.pa-online {
  display: none;
}

.pa-replies {
  font-size: 12px;
  font-weight: bold;
  margin: 5px 0px 17px 65px;
}

/* C3.8 */
.pa-author a {
  text-decoration: none;
  color: #1b2025!important;
  Font-Family: Times New Roman, Arial Narrow, Arial;
  transition: .6s ease-in-out;
}

.pa-respect a {
  text-decoration: none;
  color: #98a2a5!important;
  Font-Family: Times New Roman, Arial Narrow, Arial;
  transition: .6s ease-in-out;
}

.pa-author a:hover, .pa-respect a:hover {
  color: #d7d5d0 !important;
}

/* C3.9 */
li.pa-title {
    padding-bottom: 0.4em;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 20px; /* Увеличиваем шрифт */
    
}

li.pa-online {
  position: absolute;
    top: 20px;
    left: 30px;
  border-left-style: none;
  border-left-width: 0.7em;
  padding-left: 0.4em;
  text-align: center;
color: #1b2025;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 0; /* Убираем отступ слева */
  border-left: none; /* Убираем левую границу */
  padding: 10px; /* Внутренние отступы */
}

/* C3.12 */
.punbb .post-box {
  background: transparent;

  color: #98a4ad;
  padding: 20px;
  box-sizing: border-box;

    width: 1200px;
    margin-left: -10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* тень вокруг контейнера */
  
  border: 40px solid transparent;
  border-image: url("https://forumstatic.ru/files/001c/82/cd/48215.png") 200 stretch;
}


}

/* C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.2em;
}

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: none;
  border-left-width: 1px;
}

/* C3.15 */
.punbb .post-links ul {
 background: linear-gradient(
  to right,
  rgba(4, 21, 32, 0.5),
  rgba(18, 60, 83, 0.5),
  rgba(4, 21, 32, 0.5)
);
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19.1em;
  border-top-style: none;
  border-top-width: 1px;
  text-align: right;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}



/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em;
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 14.6em;
  color: #919b9e !important;
  }

/* C6.2 */
#profilenav {
float: left;
 width: 14em;
 margin-left: -15.3em; 
display: inline;}

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border-style: none;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }
#profilenav.fs-box{
    margin: 0 14px -0.6em 0px;
}
/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.5em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 16em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: none;
  border-width: 0px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  margin: 0;
  border-style: none;
  border-width: 0px 0px 0 0px;
  }

/* D1.2 */
#pun-title h1 {
  display: none;
  height: 20px; 
  padding: 0em 0em 0 0em;
  }

/* D1.3 */
#pun-title .container {
  border-style: none;
  }

/* D1.4 */
#pun-title h1 span  {
  font-size: 0em;
  }

#pun-title table {
  border: none;
  height: 0px;
  width: 890;
  margin-bottom: 0px; 
  margin-top: 0px;
}

#pun-title td.title-logo-tdl {
	border: none;
	width: 1200px;
}

#pun-title td.title-logo-tdr {
	border: none;
	width: 1200px;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline;
  }

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em;
  }

/* D3 Forum navigation
-------------------------------------------------------------*/

#pun-navlinks {
  position: relative;
  top: -410px;
  background: linear-gradient(to right, rgba(30, 20, 20, 0.4), rgba(20, 20, 30, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 4px solid #5f1f06; /* акцент */
  border-right: 4px solid #5f1f06;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.03);
  padding: 12px 24px;
  border-radius: 10px;
  margin: 1em auto;
  max-width: 1000px;
  z-index: 1000;
  text-align: center;
}

#pun-navlinks ul {
  display: flex;
  justify-content: center;
  gap: 1.8em;
  list-style: none;
  margin: 0;
  padding: 0;
}

#pun-navlinks li {
  display: inline-block;
}

#pun-navlinks li a {
  font-family: 'Garamond', 'Georgia', serif;
  font-size: 1.2em;
  color: #919b9e;
  text-decoration: none;
  padding: 0.4em 1em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  text-shadow: 0 0 4px rgba(214, 181, 144, 0.1);
}

#pun-navlinks li a:hover {
  background: rgba(92, 48, 30, 0.4);
  color: #fff;
  box-shadow: 0 0 8px rgba(150, 90, 60, 0.4);
  text-shadow: 0 0 6px rgba(255, 220, 200, 0.4);
}


/* D4 User links
-------------------------------------------------------------*/

#pun-ulinks {
  position: relative;
  top: -350px; /* регулируй по вертикали */
  right: -970px;
  width: 130px;
  height: 210px;
  
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 0.6em;
  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.3),
    inset 0 0 4px rgba(255, 255, 255, 0.05);
  z-index: 9999;
}

#pun-ulinks ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5em;
  text-align: right; /* добавлено */
}

#pun-ulinks li a {
  display: block;
  font-size: 1em;
  font-family: 'Garamond', 'Georgia', serif;
  color: #ddd;
  text-decoration: none;
  padding: 0.3em 0.6em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, color 0.3s ease;
  text-align: right; /* на всякий случай дублируем для a */
}

#pun-ulinks li a:hover {
  background: rgba(180, 0, 0, 0.2);
  color: #fff;
  text-shadow: 0 0 4px #900;
}



/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
   margin-top: auto;
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
  padding: 0.8em 1em 1em 1em;
  }

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  Font-Family: Times New Roman, Arial Narrow, Arial;  
  }

/* D5.5 */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.3em;
  }

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
    display: none;
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: solid;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: none;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
    position: relative;
  padding: 0.5em 1em 1em 1em;
 height: 100px;
 margin-top: -300px;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: none;
  border-top-width: 1px;
  float: left;
  width: 100%;
  line-height: 130%;
  }

/* D7.5 */
li#onlinelist div {
  border-top-style: none;
  border-top-width: 1px;
  padding: 0.7em 0 0 0;
  }

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 30px;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: none;
  border-top-width: 0px;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: none;
  border-bottom-width: 0px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: none;
  border-bottom-width: 0px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }



.punbb th{
  text-align: center;
  font-weight: normal;
}


html ::-webkit-scrollbar {width:5px; background: transparent; }
html ::-webkit-scrollbar-thumb {background: #290c00; border: 1px solid #410e00; overflow-x: hidden;}
#pun-announcement ::-webkit-scrollbar-track-piece {background: #261511; box-shadow: inset 0 0 3px rgba(0,0,0,0.5);}
html ::-webkit-scrollbar-corner {background: transparent;}

.pa-ip {
 text-align: left;
 font-weight: normal;
margin-left: 190px;
width: 100%;
}

.pa-sex, .pa-from, .pa-icq, .pa-invites, .pa-respect, .pa-positive, .pa-fld2, .pa-fld1 {
 text-align: left;
 font-weight: normal;
margin-left: 190px;
width: 82%;
}

.pa-last-visit
{ text-align: left;
 font-weight: normal;
margin-left: 190px;
margin-top: -50px;
width: 100%;}


.pa-reg
{
 text-align: left;
 font-weight: normal;
 font-size: 16px;
margin-left: 190px;
width: 82%;
}
 .pa-invites
 {
 text-align: left;
 font-weight: normal;
 font-size: 16px;
margin-left: 190px;
width: 82%;
}

.pa-posts
 {
 text-align: left;
 font-weight: normal;
 font-size: 18px;
margin-left: 190px;
width: 82%;
}

 .punbb legend span{
  color: transparent;
  background-color: transparent;
  font-size: 14px;
  Font-Family: Times New Roman, Arial Narrow, Arial;
   }

.pa-avatar {
    float: none;
    width: 130px;
    height: 130px;
    margin-left: 5px;
    margin-top: -25px;
    object-fit: cover;
    border: 2px solid #130200;
    z-index: 100;
position: absolute;
    display: flex; /* Включаем Flexbox */
    align-items: center; /* Центрируем по вертикали */
    justify-content: center; /* Центрируем по горизонтали */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Добавляем тень */
}

.pa-avatar img {
    max-width: 100%; /* Подгоняем изображение под ширину контейнера */
    max-height: 100%; /* Подгоняем изображение под высоту контейнера */
    object-fit: cover; /* Заполняем блок, сохраняя пропорции */
}

/*таблица1*/

.html-box table tbody tr td .container {
width: 410px; 
margin-bottom: 43px;
height: 306px; 
padding: 0 auto;}

ul.tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 40px;
    width: 100%;
}
ul.tabs li {
    float: right;
    margin-right: 35px;
    padding: 0;
    height: 38px;
    line-height: 40px;
    border: 0px;
    border-top: 0px dotted #000000;
    border-bottom: 0px dotted #000000;
        border-right: 0px dotted #000000;
        border-left: 0px dotted #000000;
     overflow: hidden;
    position: relative;  
}

ul.tabs li a {
    text-decoration: none;
    color: #c3b286 !important;
    display: block;
    width: 81px;
    text-align: center;
    font-size: 16px !important;
    Font-Family: Times New Roman, Arial Narrow, Arial;
    background: url() no-repeat;
    outline: none;
}

ul.tabs li a:hover {
       background: url() no-repeat;
       text-decoration: none;
       text-shadow: 1px 1px 2px black, 0 0 0.5em #d7d5d0; /* Параметры тени */
    color: #c3b286 !important;
    border-bottom: 1px none #e6e6e5;
        border-top: 1px none #e6e6e5;    
        border-left: 1px none #e6e6e5;    
        border-right: 1px none #e6e6e5;  
}    

html ul.tabs li.active  {
    background: url() no-repeat;   
    text-decoration: underline;
   color: #c3b286 !important;
    border-bottom: 1px none #e6e6e5;
        border-top: 1px none #e6e6e5;    
        border-left: 1px none #e6e6e5;    
        border-right: 1px none #e6e6e5;   
}  


.tab_container1 {
    margin-top: 5px;
    clear: both;
    overflow-y: auto;
    float: left; 
    width: 405px;
    height: 215px;
    background-image : url();   
    background-color: transparent;  
    border-bottom: 0px solid #000000;
        border-top: 0px solid #000000;    
        border-left: 0px solid #000000;    
        border-right: 0px solid #000000;  

    -moz-border-radius-bottomright: 5px;
    -khtml-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -khtml-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
}


.tab_content {
  padding: 5px;
}

.tab_content h2 {
    font-weight: normal;
    padding-bottom: 2px;
    border-bottom: 0px dashed #000000;
}

.tab-font { font: 11pt/11pt times new roman; }

#pun-announcement{
    border-bottom: 0px solid #160f0a;
}

#pun-announcement a{
  color: #24282c;
  font-size: 14px;
  Font-Family: Times New Roman, Arial Narrow, Arial;
  }

#pun-announcement a:hover{
  color: #3b4651;
  Font-Family: Times New Roman, Arial Narrow, Arial;
  }

.nav_tab{
width: 200px; 
height: 300px;
margin-top: 45px; 
margin-left: 15px; 
}

.nav_tab a:hover  {
    text-align: center;
     font-size: 16px !important;
    Font-Family: Times New Roman, Arial Narrow, Arial;
    text-shadow: 1px 1px 2px black, 0 0 0.5em #d7d5d0; /* Параметры тени */
    color: #c3b286 !important;
}

.nav_tab a  {
    text-align: center;
    font-size: 16px !important;
    Font-Family: Times New Roman, Arial Narrow, Arial;
    color: #c3b286 !important;
    text-decoration: none;
}

.adm_tab{
width: 200px; 
height: 300px;
margin-top: 45px; 
margin-left: -15px; 
color: #969fa5;
}

.adm_tab a:hover  {
    text-align: center;
     font-size: 16px !important;
    Font-Family: Times New Roman, Arial Narrow, Arial;
    text-shadow: 1px 1px 2px black, 0 0 0.5em #d7d5d0; /* Параметры тени */
    color: #c3b286 !important;
}
.adm_tab a  {
    text-align: center;
    font-size: 16px !important;
    Font-Family: Times New Roman, Arial Narrow, Arial;
    color: #c3b286 !important;
    text-decoration: none;
}

/* скроллбары */
#pun-announcement ::-webkit-scrollbar {width:5px; background: transparent; }
#pun-announcement ::-webkit-scrollbar-thumb {background: #2a0b00; border: 1px solid #461202;}
#pun-announcement ::-webkit-scrollbar-track-piece {background: #380e00; box-shadow: inset 0 0 3px rgba(0,0,0,0.5);}
#pun-announcement ::-webkit-scrollbar-corner {background: transparent;}

/* меню личных сообщений */
.fs-box h3 {
  background-color: transparent;
  /* color: #c9b294; */
margin-left: 13px;
margin-top: -5px;
width: 730px; 
  }

.fs-box .post-body .post-box, .fs-box .post-content
{
width: 500px; 
}

.fs-box .container table{
width: 700px; 
margin-left: 0px;
}

#profile .container fieldset #post #post-form .hashelp{
width: 690px !important; 
margin-left: 0px;
}

.topic .post h3 span {
    white-space: nowrap; /* Запрещаем перенос строк */
    overflow: hidden;
    padding: 6px; /* Поля вокруг текста */
    text-overflow: ellipsis; /* Добавляем многоточие */
    color: #9babb6 !important;
    height: 100px;
   }

#main-reply {
background: url(https://forumstatic.ru/files/001c/82/cd/69197.png);
border: 2px solid #180200;
margin-left: -10px;
font-size: 22px;
color: #919b9e;
  }

.pa-icq, .pa-posts{
margin-bottom: 3px;
margin-left: 190px;
}

.pa-last-visit{
margin-bottom: 20px;
}
/*панель инструментов панельки*/
#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {    
 right: 6px!important;
 top: 25px!important;
 background: url(https://forumstatic.ru/files/001c/82/cd/89366.png) repeat;
 background-color: #b19b72;
 border: 2px solid #180200;
}

/*предпросмотр*/
#post-preview .fs-box .post-box{
width: 1150px !important;
margin-left: 48px;
background: url(https://forumstatic.ru/files/001c/82/cd/69197.png) repeat center;
  padding: 5px !important;
  }
#post-preview .fs-box .post-box .post-content {
width: 1000px !important;
margin: 0 0 0 52px;
  }

#post fieldset {
  color: #141618;
  }

#pun-messages #pun-main #profile .container fieldset #post #post-form .hashelp .required .input #main-reply{
width: 670px !important;
}

.input #fld2, .input #fld1, .input #fld3, .input #fld4, .input #fld7, .input #ctl_regselect, .input #ctl_tzselect, .input #fld5, .input #fld6,  .input #fld8, .input #fld9, .input .longinput, #pun-messages #pun-main #profile .container fieldset #post #post-form .hashelp .required .input input {
background: url(https://forumstatic.ru/files/001c/82/cd/69197.png) repeat center;
color: #919b9e;
  }

#pun-messages .post .post-author{
 display: flex; /* Включаем Flexbox для размещения элементов */
  align-items: center; /* Выравниваем элементы по вертикали */
  width: 650px !important;
  width: 100%; /* Полная ширина */
  height: 150px; /* Фиксированная высота */
  margin: 30px auto 30px 60px; /* Отступы панели */
  padding: 10px; /* Внутренние отступы */
  background: url('https://forumstatic.ru/files/0011/ed/1a/78019.jpg?v=1') top center repeat-y; /* Фон панели */
  border: 2px double #190000; /* Стиль рамки */
  box-sizing: border-box; /* Учитываем padding в ширине */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Добавляем тень */
}

#pun-messages .pa-author{
 display: grid;
    background-color: #transparent;
    font-size: 18px;
    font-weight: bold;
    height: 50px;
    width: 82%;
    padding: 5px;
    text-align: center;
    align-items: center;
    margin-left: 120px;
    color: #1b2025;
}
#pun-messages .pa-avatar{
    float: none;
    width: 130px;
    height: 130px;
    margin-left: -25px;
    margin-top: -78px;
    object-fit: cover;
    border: 2px solid #130200;
    z-index: 100;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}
.required label strong, .input .longinput {
margin-left: 9px;
margin-bottom: 5px;
  }

span .button {
margin-top: 3px;
  }
.checkfield{
margin-right: 12px;
  }
#profile #profile5 fieldset .fs-box .hashelp{
width: 735px !important;
margin-top: 5px;
}
#profile5 fieldset .fs-box .hashelp .input textarea{
width: 710px !important;
}

/*кнопочки спойлера*/
.post-content .spoiler-box > div.visible {
    background-image: url(https://forumstatic.ru/files/001c/82/cd/26739.png) !important;
    width: 60px !important;
    height: 40px !important;
    padding-left:120px !important;
    padding-top: 20px!important;
    padding-bottom: 10px!important;
}

.post-content .spoiler-box > div {
    background: url(https://forumstatic.ru/files/001c/82/cd/98842.png) no-repeat left center !important;
    cursor: pointer;
    width: 40px !important;
    height: 60px !important;
    padding-left: 120px!important;
    padding-top: 10px!important;
    padding-bottom: 10px!important;
    }

#mod-options{
background: url(https://forumstatic.ru/files/001c/82/cd/89366.png) repeat center;
color: #919b9e;
  }

.category .container table thead tr .tcl, .category .container table thead tr .tc2, .category .container table thead tr .tc3, .category .container table thead tr .tcr {
display: none;
  font-size: 14px;
  text-align: center; /* Выравнивание текста по центру */
  background-color: #705459;
  color: #D7DAE1;
  }
.byuser{
  font-size: 20px;
}
#pun_wrap #pun #pun-searchposts #pun-main .topic .post h3 span{
 margin-left: 215px;
}

#pun-messages #pun-main #profile .container fieldset .fs-box h3 span{
 margin-left: 2px;
  width: 510px;
}

#profile .container fieldset .fs-box .container .post-body .post-box .post-content .post-sig dt{
  width: 500px;
/background: url(https://i.ibb.co/0DYptcn/image.png) no-repeat center;/
}

#pun #pun-messages #pun-main #profile .container fieldset #post #post-form .hashelp #My #stTs{
 margin-left: -175px;
}

#pun_wrap #pun #pun-post #pun-main .topic h3 span a{
margin-left: 15px;}

#pun #pun-delete #pun-main .formal .container fieldset .fs-box
{width: 876px !important;
}
 #pun #pun-delete #pun-main .formal .container fieldset .fs-box .post-box .post-content{
width: 860px !important;
margin-left: 3px;
}
.post-content hr {
border-color: #c6b487 !important;
}

#pun-online #pun-main .section .container table tbody tr .tcl{
  width: 30% !important;
}

#pun-edit #pun-main .formal #post fieldset .hashelp .required .input a {
margin-left: 15px;
}

#pun-viewtopic #pun-main #post-form #post{
padding: 17px 20px 15px 30px;
}
#pun-messages #pun-main #profile .container fieldset .fs-box .container .post-author {
padding-bottom: 30px;
}
.pa-online {
  font-size: 11px;
}

#pun-viewtopic #pun-main .topic h3 span .permalink{
margin-left: 23px;
}


#pun-reputation .post_reputation{
color: #e0c482 !important;
}

#pun-reputation .post_reputation .container #rep_form table tbody tr .tcl{
  width: 200px;
}

#pun-reputation .post_reputation .container #rep_form table tbody tr .tc2{
  width: 800px;
}

#pun_wrap #pun #pun-index #pun-main{
  font-size: 14px;
}

#pun_wrap #pun #pun-index #pun-main .category .container table .hasicon .tcr{
  font-size: 18px;
}

.post-content table tbody tr td{
border: 2px solid #130200 !important;}

/* Индикатор онлайн-статуса */
.isonline {
    width: 100px !important;
    height: 100px !important;
    background: url('https://forumstatic.ru/files/001c/82/cd/26833.gif') no-repeat center center !important;
    background-size: cover !important;
    position: absolute !important;
    top: -45px !important;
    right: -15px !important;
    z-index: 2 !important;
}

/* Внешний контейнер для рамки (ромб) */
#pun-index  .user-avatar {
    width: 80px !important;
    height: 80px !important;
    transform: rotate(45deg);
    border: 2px solid #4f2a1a;
    opacity: 0.85;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    margin-top: 15px !important;
    margin-left: 35px !important;
    margin-bottom: 45px !important;
    position: relative; /* нужно для позиционирования .isonline */
}

/* Внутренний контейнер с аватаркой */
#pun-index  .user-avatar .avatar-image {
    width: 130px !important;
    height: 130px !important;
    background-size: cover;
    background-position: center center !important;
    background-repeat: no-repeat;
    transform: rotate(-45deg); /* поворот назад */
    border-radius: 0 !important;
    margin-left: 10px !important;
    margin-bottom: -5px !important;
}

.punbb .user-avatar
{
    width: 50px !important;
    height: 50px !important;
    transform: rotate(45deg);
    border: 2px solid #4f2a1a;
    opacity: 0.85;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    margin-top: 15px !important;
    margin-left: 10px !important;
    margin-bottom: 45px !important;
    position: relative; /* нужно для позиционирования .isonline */
}

/* Внутренний контейнер с аватаркой */
.punbb .user-avatar .avatar-image {
    width: 80px !important;
    height: 80px !important;
    background-size: cover;
    background-position: center center !important;
    background-repeat: no-repeat;
    transform: rotate(-45deg); /* поворот назад */
    border-radius: 0 !important;
}

.form-buttons {
    background-color: #715359; /* Цвет фона кнопок */
}

/* Footer стили объединены и упрощены */
.character-gallery {
  background: rgba(0, 0, 0, 0.04);
  border: 50px solid transparent;
  border-image: url("https://forumstatic.ru/files/001c/82/cd/16951.png") 200 stretch;
  text-align: center;
  color: #fff;
  width: 600px !important;
  max-width: 100%;
  padding: 1em;
  box-sizing: border-box;
display: flex;
  flex-direction: column;
  justify-content: center; /* Центровка по вертикали */
  align-items: center;      /* Центровка по горизонтали */
  height: 100%;
}

.character-cards {
  display: flex;
  flex-direction: row;      /* В одну строку! */
  gap: 20px;                /* Расстояние между карточками */
  justify-content: center; /* Центровка карточек по горизонтали */
  flex-wrap: wrap;          /* Чтобы переносились на новую строку, если не влезают */
}

.character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

.character-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.character-card .name {
  margin-top: 6px;
  color: white;
  text-align: center;
}

.user-enhanced,
.character-gallery {
  flex: 1;
  height: 210px; /* или нужное тебе значение */
  box-sizing: border-box;
}

.user-enhanced {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left;
}

.byuser-username{
    font-size: 1em;
  font-family: 'Garamond', 'Georgia', serif;
}

.punbb .main th {
  background: linear-gradient(to right, #0f1c24, #1a2e3a, #0f1c24); /* Градиент */
  color: #b3d4ff; /* Цвет текста */
  font-weight: bold;
    font-family: 'Garamond', 'Georgia', serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #3a4b58;
  padding: 8px 12px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

#pun-index .main th.tcr {
    height: 30px;
    padding: 5px 10px;
    background-image: none !important; /* убрать картинку */
}
.punbb .flag-i{
    background-size: contain !important;
    background-position: 50% !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    display: inline-block !important;
    width: 3em !important;
    margin-left: 22px;
    line-height: 2em !important;
}

pa-avatar item2{
    margin-top: 22px !important;
}

.pa-author a {
  font-family: 'Georgia', serif;
  font-size: 22px !important;
  font-weight: bold;
  color: #e3cf88 !important;
  text-shadow: 1px 1px 2px #000;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.pa-author a:hover {
  color: #f0d58a !important;
  text-shadow: 0 0 5px #f9eebc;
}
div#pun-live-rusff{
    color: #919b9e;
}
.pa-time-visit {
margin-top: 30px;
    font-size: 16px !important;
}
.punbb .modmenu {
    font-family: 'Georgia', serif;
    font-size: 22px !important;
    font-weight: bold;
    color: #919b9e !important;
}

.post-rating{
    margin-top: 30px;
}


button.reaction-picker-button.reaction-chip {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 28px;  /* или размер картинки */
  height: 28px;
  border: none;
  padding: 0;
}

.icon[data-new-topics] {
  position: relative;
  width: 32px;
  height: 32px;
  background-color: transparent;
  background-size: contain;
  color: #f0e68c; /* Цвет цифры */
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  line-height: 32px;
}

#profile-right {
    width: 900px;
}

td.pmtcl1, td.pmtcl2, td.pmtcl3 {
  color: #e0e9ec;
  padding: 10px 15px;
  font-size: 14px;
  vertical-align: middle;
}

.punbb .formsubmit input[type="submit"] {
  font-family: 'Georgia', serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;

  padding: 12px 26px;
  margin: 10px 10px 0 0;

  color: #e0e0e0;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border: 1px solid #444;
  border-radius: 8px;

  box-shadow:
    inset 0 0 4px #000,
    inset 0 0 10px rgba(255, 255, 255, 0.05),
    0 0 0 1px #000,
    0 2px 6px rgba(0, 0, 0, 0.6);

  text-shadow: 1px 1px 0 #000;

  background-image: url('https://forumstatic.ru/files/001c/82/cd/engraved_texture_dark.png'); /* можешь заменить на свою текстуру металла */
  background-size: cover;
  background-blend-mode: overlay;

  transition: all 0.3s ease;
  cursor: pointer;
}

.punbb .formsubmit input[type="submit"]:hover {
  color: #fff;
  background: linear-gradient(145deg, #3a3a3a, #1f1f1f);
  border-color: #888;
  box-shadow:
    inset 0 0 6px #000,
    0 0 10px rgba(255, 255, 255, 0.15),
    0 0 12px rgba(150, 150, 150, 0.2);
}

.punbb .formsubmit input[type="submit"]:active {
  transform: scale(0.98);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1),
              0 0 5px rgba(0, 0, 0, 0.6);
}

#forum_f13 {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  transform: scale(0.95);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent !important;
    color: #cfd8dc;
}