/* ============================================================
   НОВЫЙ ДИЗАЙН. Палитра: ЧЁРНО-СЕРАЯ АКАДЕМИЯ: серо-чёрный + костяной + красный
   Одна тема. Ширина 1000px.
   ПАЛИТРА (для быстрой замены):
   серый фон ........ #1b1b1a   | бумага светлая ..... #d6d5cd (панели-листы)
   чернильно-серый ..... #262624   | бумага светлее ..... #e2e1da
   тёмно-серый текст ...... #232322   | бумага тёмная ...... #c8c7c0
   серо-оливковые ссылки ..... #4f4e4a   | красный акцент ..... #a33120
   ============================================================
   КАРТИНКИ: в CSS их больше нет — все текстуры и «карандашные» линии
   сделаны чистым CSS, поэтому стиль работает сразу и ничего не ломается.
   Все места под свои картинки помечены словом ЗАМЕНИТЬ. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Jura:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Special+Elite&display=swap');

html, body {margin: 0; padding: 0;}

body {
  /* Сейчас фон — плоский тёмный (ничего не ломается). Никаких картинок в CSS больше нет.
     ЧТОБЫ ПОСТАВИТЬ СВОЮ КАРТИНКУ НА ФОН (старая бумага и т.п.):
     1) загрузите её в файлы форума (админка -> Файлы);
     2) замените background ниже на:
        background: url(https://forumstatic.ru/files/.../ваша-картинка.jpg) top center no-repeat fixed;
     3) приписка background-size: cover; — растянет картинку по экрану;
     4) background-color оставьте — цвет-подложка на случай незагрузки. */
  /* «стол» под бумагой: тёмная поверхность с лёгкими волокнами и красноватым
     дымом — текстура нарисована чистым CSS (градиенты, ничего не сломается) */
  background-color: #141413;
  background-image:
    radial-gradient(ellipse 900px 600px at 50% -10%, rgb(255 255 255 / 3%), transparent 60%),
    radial-gradient(ellipse 800px 500px at 85% 105%, rgb(163 49 32 / 7%), transparent 55%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 2%) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgb(0 0 0 / 22%) 0 1px, transparent 1px 4px);
}

#pun {
  width: 1000px;
  margin: 0 auto 20px;
  /* костяная бумага с волокнами и лёгкими пятнами — чистый CSS.
     ЗАМЕНИТЬ: можно подложить свою светлую бумажную текстуру-плитку в url(...) */
  background-color: #dad9d1;
  background-image:
    radial-gradient(ellipse 700px 400px at 12% -4%, rgb(163 49 32 / 4.5%), transparent 55%),
    radial-gradient(ellipse 600px 380px at 88% 102%, rgb(66 65 60 / 6%), transparent 55%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 5%) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(0 0 0 / 2.5%) 0 1px, transparent 1px 5px);
  /* жёсткая чёрная окантовка + серый «подрез» листа */
  box-shadow: 0 0 0 2px #000, 0 0 0 8px #2b2b2a, 0 0 0 10px #000, 0 26px 80px rgb(0 0 0 / 85%);
  border-radius: 0 0 14px 14px;
}

.punbb {
  font: normal 80% Verdana;
  height: auto;
  padding: 15px 20px 0;
  color: #232322;
}

.main table {width: 99%; table-layout: fixed; margin: 0;}
.main table tr {color: #232322;}

/* ссылки */
.punbb a {color: #4f4e4a; text-decoration: none; font-weight: normal; transition: color 0.4s ease;}
.punbb a:hover {color: #a33120;}

/* НАВИГАЦИЯ ФОРУМА */
#pun-navlinks .container {
  background: #262624;
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px 0 8px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 14px rgb(35 35 34 / 60%);
}
#pun-navlinks li {display: inline;}
#pun-navlinks li a {
  padding: 0 14px;
  transition: 0.4s ease;
  color: #d6d5cd;
  font-weight: 600;
  letter-spacing: 1px;
}
#pun-navlinks li a:hover {color: #c0503c;}

#pun-ulinks .container {
  font-size: 11px;
  text-transform: lowercase;
  text-align: center;
  padding: 8px 0;
  letter-spacing: 0.5px;
}
#pun-ulinks li {display: inline;}
#pun-ulinks li a {
  text-decoration: none;
  padding: 0 9px;
  color: #5d5c57;
  font-weight: 600;
  transition: 0.4s ease;
}
#pun-navlinks li a:hover, #pun-ulinks li a:hover {color: #a33120;}

/* статус-панель */
#pun-status .container {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #504f4a;
  padding: 4px 6px 10px;
}
#pun-status .container a {font-weight: 500; color: #a33120; transition: color 0.4s ease;}
#pun-status .container a:hover {color: #232322;}
#pun-status .item4.status-right a {padding-right: 5px;}

/* крошки */
#pun-crumbs1 .container, #pun-crumbs2 .container {position: relative; font-size: 11px !important; text-align: center; width: 100% !important;}
#pun-crumbs1 .container a, #pun-crumbs2 .container a {font-weight: normal; color: #a33120; transition: 0.4s ease;}
#pun-crumbs1 .container a:hover, #pun-crumbs2 .container a:hover {color: #262624;}

/* таблицы */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {padding: 0; list-style: none;}

table thead .tcl, table thead .tc2, table thead .tc3, table thead .tcr {
  text-transform: uppercase;
  font-size: 10px;
  line-height: 300%;
  color: #4f4e4a;
}

#pun-index .tcl {overflow: hidden; width: 50%;}
#pun-index .tcr {overflow: hidden; width: 25%; vertical-align: top;}

#pun-index .intd {
  position: relative;
  height: auto;
  padding: 5px 5px 15px 5px;
  margin: 5px 0 10px 5px;
  border-top: 1px solid #a9a8a1;
  border-bottom: 1px solid #a9a8a1;
}

#pun-viewforum .tcl, #pun-searchtopics .tcl, #pun-modviewforum .tcl {width: 45%;}
#pun-viewforum .tcr, #pun-searchtopics .tcr, #pun-modviewforum .tcr {width: 22%; text-align: left;}
#pun-viewforum th.tcr, #pun-searchtopics th.tcr, #pun-modviewforum th.tcr {text-align: center;}
#pun-viewforum .tcr a, #pun-searchtopics .tcr a, #pun-modviewforum .tcr a {display: block;}
#pun-viewforum .tcr .byuser, #pun-searchtopics .tcr .byuser, #pun-modviewforum .tcr .byuser {padding-right: 10px;}

#pun-viewforum .tc2, #pun-viewforum .tc3, #pun-searchtopics .tc2, #pun-searchtopics .tc3, #pun-modviewforum .tc2, #pun-modviewforum .tc3 {text-align: center; width: 10%;}
#pun-modviewforum .tcmod {text-align: center; width: 5%;}

#pun-online .tcl {width: 40% !important; text-align: center;}
#pun-online .tc3 {width: 20%; text-align: center;}
#pun-online tr {line-height: 25px;}
#pun-online tbody, #pun-searchtopics tbody, #pun-userlist tbody {font-size: 13px;}

#pun-userlist .tcl.username {width: 25% !important;}
#pun-userlist .tc3.relation, #pun-userlist .tc3.last_visit, #pun-userlist .tc3.registered, #pun-userlist .tc3.num_posts {text-align: center;}

#pun-index .tcr {padding: 28px 0 0 10px !important;}

#pun-index .tcr a {
  font-size: 12px;
  display: block;
  letter-spacing: 0.5px;
  text-align: right;
  font-weight: 500;
  padding: 4px 5px 4px 0;
  color: #a33120;
  border-bottom: 1px solid #a9a8a1;
  margin-right: 45px;
  transition: 0.4s ease;
}
#pun-index .tcr a:hover {color: #4f4e4a;}

#pun-index .tcr .lastpost {
  display: block;
  font-size: 10px;
  text-align: right;
  letter-spacing: 0.3px;
  margin-top: -13px;
  margin-right: 45px;
  padding: 0 5px 4px 0;
  color: #5d5c57;
}

.punbb .user-avatar .avatar-image {border-radius: 6px !important; filter: grayscale(75%); transition: 0.4s ease; border: 1px solid #92918a;}
.punbb .user-avatar {float: right !important;}
.punbb .user-avatar .avatar-image:hover {filter: grayscale(0%);}

/* весь блок описания (заголовок + текст + модераторы) отступает вправо
   от круглой иконки — ничего не наезжает */
#pun-index .tclcon {padding-left: 44px;}
#pun-index .tcl h3 {text-align: left; padding-left: 0; letter-spacing: 1px; margin: 0 5px 4px;}
#pun-index .tcl h3 a {
  font-weight: 700;
  font-size: 14px;
  color: #232322;
  text-transform: uppercase;
  transition: 0.4s ease;
}
#pun-index .tcl h3 a:hover {color: #a33120;}

#pun-index .main td {border: none; padding: 5px 11px 5px 5px;}
#pun-index .main th {padding: 4px 10px;}

#pun-viewforum .hasicon .tcl {
  position: relative;
  font-size: 13px;
  text-align: justify;
  padding: 3px 17px 15px 0;
}
#pun-viewforum .intd, #pun-messages .intd, #pun-searchtopics .intd {position: relative; margin-left: 20px;}
#pun-viewforum .tclcon, #pun-searchtopics .tclcon {font-size: 13px;}
#pun-viewforum .tclcon a, #pun-searchtopics .tclcon a {font-weight: 500;}
#pun-viewforum tr.inew.tclcon a, #pun-searchtopics tr.inew .tclcon a {font-weight: bold;}

.adfs-box #filetable .tcr.header {width: 15% !important;}
.adfs-box #filetable .tc3.checker {width: 8% !important; text-align: center;}
.modal-inner.section .Select_Topics table .tc2 {width: 20%; text-align: center;}

#pun-respect.punbb table {padding: 0 30px 30px; line-height: 150%; font-size: 13px;}
#pun-respect.punbb table .tcr {text-align: center; width: 20% !important;}
#pun-respect.punbb table .tc2 {text-align: center; width: 10% !important;}

/* ============ ИКОНКИ РАЗДЕЛОВ: кружок-«печать» слева от названия ============
   Сейчас нарисованы чистым CSS — работают сразу, без картинок:
     прочитано      — серый контур с серой точкой внутри
     НЕ прочитано   — красный контур с красной точкой и лёгким свечением
   ЧТОБЫ ПОСТАВИТЬ СВОИ КАРТИНКИ (прочитано/непрочитано — разные):
     1) загрузите в админке -> Файлы две картинки (например 34x34, лучше png на прозрачном);
     2) в правиле  #pun-index div.icon  (НИЖЕ, состояние «прочитано») вместо
          border: 2px solid #9a9992;  ... background: transparent;
        напишите только:
          background: url(https://forumstatic.ru/files/.../прочитано.jpg) center / contain no-repeat;
        и добавьте  border: none;
     3) в правиле  #pun-index tr.inew div.icon  (состояние «НЕ прочитано»):
          background: url(https://forumstatic.ru/files/.../непрочитано.jpg) center / contain no-repeat;
        и добавьте  border: none;
     4) внутреннюю точку ::after в обоих правилах уберите (удалите строки с ::after):
        иначе точка будет просвечивать поверх вашей картинки.
     Размер слота: 34x34 (width/height) — поменяйте под свою картинку. */
#pun-index div.icon {
  position: absolute;
  display: block;
  width: 34px;
  height: 34px;
  margin: 0;
  left: 8px;
  top: 12px;
  border: 2px solid #9a9992;
  border-radius: 50%;
  background: transparent;
  transition: all 0.4s ease;
}
#pun-index div.icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #9a9992;
}
#pun-index tr.inew div.icon {border-color: #a33120; box-shadow: 0 0 0 3px rgb(163 49 32 / 18%);}
#pun-index tr.inew div.icon::after {background: #a33120;}

/* мелкие кружки в списках тем — в тон большим иконкам разделов */
#pun-viewforum div.icon, #pun-messages div.icon, #pun-searchtopics div.icon {
  position: absolute;
  display: block;
  height: 12px;
  width: 12px;
  border: 2px solid #9a9992;
  border-radius: 50%;
  background: transparent;
  margin: 3px 0 0 -18px;
}
#pun-viewforum tr.inew div.icon, #pun-messages tr.inew div.icon, #pun-searchtopics tr.inew div.icon {border-color: #a33120;}
#pun-viewforum tr.iclosed div.icon, #pun-messages tr.iclosed div.icon, #pun-searchtopics tr.iclosed div.icon {border-color: #5d5c57; background: #5d5c57;}
#pun-viewforum tr.isticky div.icon, #pun-messages tr.isticky div.icon, #pun-searchtopics tr.isticky div.icon {border-color: #232322; background: #232322;}

/* поля ввода */
textarea#main-reply {
  height: 200px;
  width: 97% !important;
  font-family: Verdana;
  background: #dcdcd5;
  box-shadow: inset 0 0 6px rgb(66 65 60 / 25%);
  border: 1px solid #b0afa8;
  border-radius: 6px;
  color: #232322;
}

input:active, textarea:active {outline: none;}
:focus {outline: none;}
.formal .container {padding: 0 20px 0 30px;}

.modal-inner.section, input, textarea, select, optgroup, .punbb .resizable-textarea textarea, #form-buttons {
  background: #dcdcd5;
  box-shadow: inset 0 0 6px rgb(66 65 60 / 22%);
  border-radius: 6px;
  color: #232322;
}

#form-buttons {border-radius: 6px;}

input {outline: none; padding: 3px 6px; border: 1px solid #b0afa8; transition: 0.4s ease;}
textarea, select, optgroup {letter-spacing: 0.5px;}
.punbb .resizable-textarea textarea {padding: 7px 12px; border: 1px solid #b0afa8; width: 97% !important;}

#tooltip {
  position: absolute;
  background: #262624;
  z-index: 999;
  max-width: 180px;
  border-radius: 4px;
  font-family: Montserrat;
  font-size: 9px;
  display: none;
  color: #d6d5cd;
  text-align: center;
  padding: 5px;
  letter-spacing: 1px;
  font-weight: 500;
}

/* кнопки */
.formsubmit input, .formsubmit a, .formsubmit span {margin: 0 10px 0 0;}
.formsubmit {text-align: center;}
#form-buttons {margin-right: 3px;}

input.button, button.button, button.sticker, button.size {
  color: #ece6d8;
  font-size: 10px;
  font-weight: 600 !important;
  background: #a33120;
  padding: 5px 16px;
  margin-bottom: 10px;
  border: none;
  border-radius: 3px;
  transition: all 0.4s ease;
  font-family: Montserrat !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
}
input.button:hover, button.button:hover, button.sticker:hover, button.size:hover {
  background: #262624;
  color: #c0503c;
  border-radius: 3px;
}

/* заголовки */
h1 {font-size: 1.5em;}
h3 span {text-align: left; color: #3b3b3a;}
.topic h2 span {color: #3b3b3a; font-weight: normal;}

#pun-main h1 span, #post-form h2 span {
  color: #d6d5cd;
  font-size: 12px;
  letter-spacing: 3px;
  padding-right: 18px;
  text-transform: uppercase;
  font-weight: 400;
}

legend span {font-size: 12px; text-transform: uppercase; font-weight: 500;}
.main.multipage.show_user_posts h3 {margin: 0; line-height: 180%; width: auto; font-size: 12px;}
#pun-reputation .inner.post_reputation h1 {width: 750px !important; margin-left: 8px !important;}

/* категории */
.punbb .category h2, #pun-stats.section h2, #pun-main h1, #post-form h2 {
  background-color: #262624;
  background-image:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgb(0 0 0 / 18%) 0 1px, transparent 1px 3px);
  background-size: auto, auto;
  width: 100%;
  height: 26px;
  line-height: 0.9 !important;
  text-align: center;
  border-radius: 6px;
  text-transform: uppercase;
  margin-right: 0;
  box-shadow: inset 0 -3px 0 #a33120;
}

.punbb .category h2 span, #pun-stats.section h2 span {
  color: #d6d5cd;
  font-size: 13px;
  letter-spacing: 5px;
  font-weight: 300;
  display: inline-block;
  padding-top: 8px;
}

/* посты */
.post-body {margin-left: 220px; border: none;}
.post-box {padding: 0 0 10px; width: 97%; margin-bottom: 10px;}

#pun-viewtopic .post h3 {
  font-size: 12px;
  margin-top: 0;
  padding: 3px 0 3px 20px;
  text-transform: uppercase;
  border-top: 1px solid #b0afa8;
  border-bottom: 1px solid #b0afa8;
}
#pun-viewtopic .post h3 span {text-align: center; width: auto; padding: 0 !important; display: inline-block !important;}
.post h3 a {color: #a33120; font-weight: 600;}
.post h3 a:hover {color: #4f4e4a;}
.post h3 strong {font-weight: 600; float: right; width: 50px; color: #4f4e4a;}
#pun-viewtopic .post h3 strong:before {content: ", #";}

.post-content {overflow: hidden; text-align: justify; width: 100% !important;}
.post-content p {line-height: 150%; margin: 5px 0;}
.post-content .blockcode, .post-content blockquote {overflow: hidden; margin: 0;}
.post-content .blockcode {font-size: 12px; height: auto;}
.post-content img {vertical-align: text-bottom;}
.post-content img.postimg {vertical-align: middle;}
.post-content .scrollbox {overflow: auto; margin: 0 15px 6px;}
.post-content .scrollbox pre {padding: 0 !important; margin: 0 !important;}
.post-sig {width: 98% !important;}

.quote-box, .code-box {
  position: relative;
  height: auto;
  margin: 15px 0 15px 4px !important;
  background: #c8c7c0;
  border-left: 4px solid #a33120;
  border-radius: 0 8px 8px 0;
}
.quote-box p, .code-box p {padding: 5px 13px;}

.code-box strong.legend, .quote-box cite {
  padding: 5px 15px 3px;
  margin: 0 3px;
  line-height: 150%;
  font-size: 13px;
  border-bottom: 1px dashed #a33120;
  display: block;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-style: normal;
  color: #262624;
  text-align: center;
}

.spoiler-box {margin: 5px 0; padding: 5px 0;}
.post-content .spoiler-box > div {padding: 5px 0; margin-left: 15px;}
.post-content .spoiler-box > blockquote {padding-top: 0 !important;}

.tab-a .post-content::first-letter {color: #232322; font-size: 13px; font-weight: 500;}
.tab-a .post-content {background-color: rgb(59 58 54 / 6%); padding: 10px !important; text-align: justify !important;}

#post-form.formal legend {padding: 20px 0; color: #232322 !important;}
#post-form.formal legend #plng {color: #232322; font-weight: 600;}

/* ссылки поста */
#topic-users-in {font-size: 12px; margin: 0;}
.post-links {margin: 5px 0 5px 14px; padding: 0;}
.post-links li {padding-right: 3px; display: inline-block;}
.pl-email, .pl-website {float: left; margin-right: 3px;}
.post-rating {text-align: right;}
.post-rating p {margin-right: 7px;}
.post-rating p a {font-weight: 600;}
.post-links ul {line-height: 20px; text-align: right; margin-right: 20px; padding-left: 0;}

.post-links a {
  padding: 2px 10px;
  font-weight: 300;
  background: rgb(59 58 54 / 10%);
  font-size: 10px;
  transition: 0.4s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #3b3b3a;
  border-radius: 3px;
}
.post-links a:hover {background: #a33120; color: #ece6d8;}

/* профиль в теме — тёмная колонка */
.post-author ul {margin: 0; padding: 0;}

.post-author {
  position: relative;
  float: left;
  width: 204px !important;
  min-height: 80px;
  margin-left: 5px;
  margin-top: 5px;
  text-align: center;
  transition: 0.4s ease;
  background: #262624;
  border-left: 4px solid #a33120;
  border-radius: 0 10px 10px 0;
  padding-bottom: 8px;
  color: #d6d5cd;
}

.pa-author {font-size: 13px; text-align: center; letter-spacing: 1px; margin: 10px 10px 0; padding: 3px 0 !important;}
.pa-author a {color: #c0503c; font-weight: 500; transition: 0.4s ease;}
.pa-author a:hover {color: #e2e1da;}

.pa-title {font-size: 10px; text-align: center; color: #97968f; margin: 5px; text-transform: lowercase; font-weight: 500;}

.pa-avatar img {max-width: 180px !important; border: 3px solid #3b3b3a; margin: 0; border-radius: 4px;}

.post-author .pa-fld1 {margin: 3px 9px; padding: 3px 3px 6px 3px !important;}
.post-author .lzvn a {display: block; font-size: 11px; text-transform: uppercase; padding: 1px 0; font-weight: 700; color: #d6d5cd; transition: 0.4s ease;}
.post-author span.lzvn-txt {font-size: 10px; line-height: 110%; font-weight: 500; color: #97968f;}
.post-author span.lzvn-txt a {color: #c0503c; font-weight: 700;}
.post-author .lzvn a:hover, .post-author span.lzvn-txt a:hover {color: #a33120;}

/* ВАЖНО: все правила полей — ТОЛЬКО внутри .post-author (профиль в теме),
   иначе ломается страница профиля и форма редактирования «Дополнительно» */
.post-author .pa-fld2, .post-author .pa-posts, .post-author .pa-respect, .post-author .pa-fld4 {
  text-align: center;
  display: inline-block;
  margin: 3px 10px 0;
  width: 44px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #97968f;
  padding: 5px 0 0 !important;
  text-transform: uppercase;
}
.post-author .pa-fld5 {margin: 10px 1px 10px 0;}
.post-author .pa-fld4 .fld-name {font-size: 8px !important; color: #97968f; font-weight: 700; display: block; margin-bottom: 2px;}
.post-author .pa-fld2 .fld-name {font-size: 0 !important; display: block;}
.post-author .pa-fld2 .fld-name:after {content: "cash:"; font-size: 8px !important; color: #97968f; font-weight: 700;}
.post-author .pa-posts .fld-name {font-size: 0 !important; display: block;}
.post-author .pa-posts .fld-name:after {content: "mess:"; font-size: 8px !important; color: #97968f; font-weight: 700;}
.post-author .pa-respect .fld-name {font-size: 0 !important; display: block;}
.post-author .pa-respect .fld-name a:after {content: "resp:"; font-size: 8px !important; color: #97968f; font-weight: 700;}
.post-author .pa-online {color: #c0503c; margin: 8px 0 0; text-transform: uppercase; font-size: 9px; letter-spacing: 1px;}
.post-author .pa-last-visit {color: #8b8a84; margin: 5px 0; font-size: 10px; text-transform: lowercase; font-weight: 500;}
.punbb .post-sig dt span {display: none;}

/* postlink */
.info-box {padding: 11px 17px; border: none; margin: 0 0 11px;}
#pun-main .info-box .legend {font-size: 11px; font-weight: bold;}
.linksb .postlink {float: right; width: 160px;}
#topic_t1.topic {margin: 15px 0;}
.postlink.long {width: 98% !important;}

.linkst {position: relative; width: 100%; font-size: 12px; padding-bottom: 5px;}
.linkst .pagelink {width: 38%; float: left; text-align: left; padding: 5px 32px; text-transform: uppercase;}
.linkst .postlink {float: right; text-align: right; margin: -20px 20px 0 0; text-transform: uppercase;}
.linksb {text-align: right; padding: 15px 23px 15px 2px; font-size: 11px; text-transform: uppercase;}
.linksb .pagelink {float: left; width: 240px; text-align: left; margin-left: 18px; margin-top: -14px;}
.subscribelink {clear: both; padding-top: 3px; padding-bottom: 5px;}
.linksb a, .subscribelink a, .linkst a {font-weight: bold;}

/* шапка — НЕ монолит: общая подложка убрана, элементы парят прямо на фоне форума.
   Шапка лежит ВНУТРИ #pun (светлая бумага), поэтому: width:auto (не 1000px —
   иначе вылезает за колонку и уезжает вправо), а отрицательные поля компенсируют
   внутренние отступы .punbb (padding 15px 20px), чтобы карточки встали к краям. */
.sp-header {
  width: auto;
  margin: 10px -20px 14px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.sp-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 6px 4px 10px;
  border-bottom: none;
}

.sp-tags {
  /* печатная машинка */
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a33120;
  white-space: nowrap;
}

.sp-quotes {
  flex: 1;
  max-width: 520px;
  height: 36px;
  overflow: hidden;
  /* печатная машинка — как выдержка из протокола */
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 12px;
  color: #575650;
  text-align: right;
  line-height: 150%;
}
.sp-quotes p {margin: 0; padding: 2px 0;}

/* защита от «наездов» текста во всей шапке: флекс-колонки могут сжиматься,
   длинные слова переносятся, единая модель рамок */
.sp-header, .sp-header * {box-sizing: border-box;}
.sp-mid > *, .sp-strip > * {min-width: 0;}
.sp-header {overflow-wrap: break-word;}
.sp-mid {display: flex; align-items: stretch; gap: 16px; padding: 18px 18px 14px;}

.sp-nav {
  flex: 0 0 170px;
  padding: 12px 0;
  /* чистая светлая бумага — единообразно с карточками */
  background-color: #e9e8e0;
  background-image: radial-gradient(ellipse 200px 55px at 50% 0%, rgb(255 253 246 / 80%), transparent 75%);
  border: 1px solid #b3b2ab;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 30%), inset 0 0 0 1px rgb(255 255 255 / 50%);
  text-align: center;
}
/* заголовки модулей шапки — печатная машинка, читаемая */
/* ЕДИНЫЙ ФОРМАТ ПЛАШЕК ШАПКИ: все заголовки — машинкой, с пунктирной
   чертой-отбивкой (как строка реестра), одного размера и цвета */
.sp-nav-t, .sp-info-t, .sp-card-t {
  display: inline-block;
  border-bottom: 1px dotted #a9a8a1;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.sp-nav-t {font-family: 'Special Elite', 'Courier New', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #55544e; margin-bottom: 10px; border-bottom-color: #a9a8a1;}
.sp-nav a {
  display: block;
  padding: 6px 10px;
  margin: 2px 10px;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #232322;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}
.sp-nav a:hover {color: #a33120; background: rgb(163 49 32 / 8%); border-radius: 6px; border-bottom-color: #a33120;}

.sp-logo {flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;}
/* Сейчас стоит сгенерированный SVG-лого (img/logo.svg). ЗАМЕНИТЬ: на свою картинку ~380x120 */
.sp-logo img {max-width: 380px; width: 100%; height: auto; opacity: 0.95; transition: 0.6s ease;}
.sp-logo img:hover {opacity: 1;}

.sp-info {
  flex: 0 0 200px;
  padding: 14px 16px;
  /* чистая светлая бумага — в тон навигации и карточек */
  background-color: #e9e8e0;
  background-image: radial-gradient(ellipse 200px 55px at 50% 0%, rgb(255 253 246 / 80%), transparent 75%);
  border: 1px solid #b3b2ab;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 30%), inset 0 0 0 1px rgb(255 255 255 / 50%);
}
.sp-info-t {font-family: 'Special Elite', 'Courier New', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #55544e; margin-bottom: 8px; text-align: center; border-bottom-color: #a9a8a1;}
.sp-info p {margin: 0 0 6px; font-family: 'Special Elite', 'Courier New', monospace; font-size: 11px; color: #4f4e4a; line-height: 150%; text-align: justify;}
.sp-info p:last-child {margin-bottom: 0;}
.sp-info b, .sp-info .sp-date {color: #232322; font-family: 'Special Elite', 'Courier New', monospace; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.5;}

.sp-strip {display: flex; gap: 14px; padding: 0 18px 16px;}
.sp-card {
  flex: 1;
  padding: 10px 12px 12px;
  background: rgb(35 35 34 / 60%);
  border: 1px solid #333332;
  border-radius: 10px;
  text-align: center;
}
.sp-card-t {font-family: 'Special Elite', 'Courier New', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #c9c8c1; margin-bottom: 8px;}
/* Сейчас стоят заглушки img/avatar-small-*.svg. ЗАМЕНИТЬ: на реальные аватары персонажей 48x48 */
.sp-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.55;
  transition: 0.4s ease;
  border: 1px solid #333332;
}
.sp-card img:hover {opacity: 1; border-radius: 14px; border-color: #a33120;}

.sp-useful a {
  display: block;
  margin: 3px 0;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e2e1da;
  border-bottom: 1px dotted #55554f;
  padding: 2px 0;
  transition: 0.3s ease;
  text-align: left;
}
.sp-useful a:hover {color: #a33120; border-color: #a33120;}

/*над формой ответа */
#form-buttons tr {display: block; width: 100%; text-align: center;}
#form-buttons td img {position: absolute; z-index: 100; left: 0; top: 0;}
#form-buttons td {background-image: none !important; display: inline-block; position: relative; width: 24px; height: 24px; margin: 0 4px 3px;}
#form-buttons td .material-icons {position: absolute; z-index: 1; left: 0; font-size: 20px; padding: 3px; color: #232322; transition: all 0.4s ease;}
#form-buttons td:hover .material-icons {color: #a33120;}

/* стрелки вверх/вниз */
.upme, .downme {
  cursor: pointer;
  display: none;
  opacity: 0.85;
  position: fixed;
  z-index: 9999;
  right: 24px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  color: #d6d5cd;
  background: #262624;
  border: 1px solid #333332;
  border-radius: 50%;
  transition: 0.4s ease;
}
.upme {bottom: 90px;}
.downme {bottom: 46px;}
.upme:hover, .downme:hover {opacity: 1; background: #a33120; color: #ece6d8;}

/* счётчик тем/сообщений */
/* Темы/сообщения под описанием: прижаты к правому нижнему краю описания,
   а не к фиксированным 385px (из-за них колонки «уезжали») */
.main table .Add {position: absolute; right: 14px; bottom: 4px; display: inline-block; padding: 3px 5px; font-family: 'Special Elite', 'Courier New', monospace; text-transform: uppercase; font-size: 9.5px; color: #77766f;}
.Tems_And_messages .right {margin-left: 14px; float: none;}

/* новостные кнопки */
.news {
  background: #262624;
  margin: 1px 3px;
  width: 155px;
  height: 28px !important;
  display: inline-block;
  transition: all 0.4s ease;
  line-height: 80%;
  padding-top: 7px;
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 #a33120;
}
.news a {position: relative; font-family: Montserrat; font-size: 10px; color: #d6d5cd; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;}
.news:hover {background: #a33120; box-shadow: inset 0 -3px 0 #262624;}
.news a:hover {color: #ece6d8;}

/* слайдер размера шрифта */
.FNTslider {border-radius: 4px; position: relative; z-index: 1000; background: #b0afa8; width: 110px; height: 5px; margin: 6px 15px 0 0; float: left;}
.FNTslider .before {height: 6px; border-radius: 4px 0 0 4px; position: absolute; background: #8b8a84; margin-top: -1px;}
.FNTslider .thumb {width: 8px; height: 13px; border-radius: 3px; position: relative; top: -4px; background: #262624; cursor: pointer;}

.post-author .pa-fld3 {margin-top: -12px;} /* только в мини-профиле! */

/* закладки */
#BookmCntToggle.default-style {background: #262624 !important; color: #c0503c !important;}
#MyBookmarks h2 {
  background: #d6d5cd !important;
  font-family: Montserrat;
  text-transform: uppercase;
  font-size: 12px;
  color: #232322;
  margin: 0;
  padding: 5px 5px 5px 52px !important;
  border-radius: 6px;
  border: 1px solid #b0afa8;
}
.editBookmark h1 {margin-left: 15px;}
#MyBookmarks .container, .editBookmark {border: 1px solid #b0afa8; background: #e2e1da; border-radius: 6px;}
#MyBookmarks .container {padding: 10px !important; margin-top: 5px;}
#MyBookmarks {max-height: 300px; margin-top: 4%; z-index: 9999 !important;}
#MyBookmarks li.BookmarkL > span > a {color: #232322; font-weight: 500; font-family: Montserrat; transition: 0.4s ease;}
#MyBookmarks li.BookmarkL > span > a:hover {color: #a33120;}
.bubble {z-index: 9999 !important;}

/* ГОСТЕВАЯ */
.gostevaya {margin: 0 150px; border: 3px solid rgb(59 58 54 / 55%); border-radius: 10px; padding: 10px; background: #262624;}
.gostevaya .navig {background: #d6d5cd; padding: 2px; text-align: center; color: #232322; font-size: 10px; border-radius: 5px; margin-bottom: 5px; border-bottom: 3px solid #a33120;}
.gostevaya .navig a {font-family: Montserrat; font-size: 10px; font-weight: bold;}
.gostevaya .title {color: #d6d5cd; font-family: Montserrat; padding: 0 5px; text-transform: uppercase; font-size: 42px; text-align: center; letter-spacing: 8px; font-weight: 100;}
.gostevaya .title2 {color: #c0503c; font-family: Montserrat; padding: 0 5px; text-transform: uppercase; font-size: 10px; text-align: center; letter-spacing: 8px; font-weight: 400;}
.gostevaya .title p, .gostevaya .title2 p {margin: 0 !important;}
.gostevaya .privet {font-family: Montserrat; background: #d6d5cd; padding: 3px; text-align: center; color: #262624; font-size: 12px; border-radius: 5px; margin: 20px 0;}
.gostevaya .privet a {font-weight: bold;}
.gostevaya .admins {text-align: center;}
.gostevaya .admins a {margin: 0 10px;}
.gostevaya .admins img {border-radius: 5px; transition: all 0.4s ease; opacity: 0.6; margin: 0 10px; border: 2px solid #d6d5cd;}
.gostevaya .admins img:hover {border-radius: 30px; opacity: 1; border-color: #a33120;}
.gostevaya .reserv td {background: #d6d5cd; border-radius: 5px; font-family: Montserrat; border: 0 !important; text-align: center; color: #232322;}
.gostevaya .reserv td a {font-weight: 600;}
.gostevaya .reserv-tt {font-weight: 600; letter-spacing: 2px; color: #c0503c;}
.gostevaya .reserv-tt p {margin: 0;}
.gostevaya .reserv table {margin: 0; border-collapse: separate;}

/* СЮЖЕТ */
.story {background: rgb(59 58 54 / 12%); border-radius: 10px; padding: 1px 0 6px;}
.story-tit1 {
  background: #262624;
  text-align: center;
  padding: 8px 0 5px;
  margin: 4px 5px 0;
  border-radius: 8px 8px 0 0;
  color: #d6d5cd;
  font-family: Montserrat;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 200;
}
.story-tit2 {
  background: #a33120;
  text-align: center;
  padding: 2px 0;
  margin: 0 5px;
  color: #ece6d8;
  font-family: Montserrat;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 10px;
  font-weight: 700;
}
.story-text {height: 450px; overflow-y: auto; margin: 0 5px; background: #d6d5cd; padding: 5px 15px; color: #232322; border-radius: 0 0 8px 8px;}

/* АНКЕТЫ И АКЦИИ */
.anketa-and-needs {margin: 10px; border: 1px solid #92918a; border-top: 8px solid #262624; border-bottom: 8px solid #a33120; border-radius: 6px; overflow: hidden; background: #d6d5cd;}
.top {background: #262624; text-align: center; color: #d6d5cd; font-family: Montserrat; font-size: 17px; height: 62px; padding-top: 16px; box-shadow: inset 0 -4px 0 #a33120;}
.top span {font-size: 15px !important;}
.info {background: #e2e1da; text-align: center; font-family: Montserrat; padding: 10px;}
.info-tbl {background: #d6d5cd; text-align: center; font-family: Montserrat;}
.info-tbl table {margin: 0 !important;}
.info-tbl td {background: #e2e1da;}
.del {background: #a33120; color: #ece6d8; text-align: center; font-family: Montserrat; font-size: 13px; padding: 5px; letter-spacing: 5px;}
.text {background: #d6d5cd; padding: 5px 15px;}



/* ===== (бывший блок 2) ===== */

/* шрифты */
#pun-navlinks .container, #topic-users-in, #pun-ulinks .container, #pun-status .container, #pun-crumbs1 .container, #pun-crumbs2 .container, #viewprofile .lzvn, #viewprofile .lzvn-txt, .post-author, .statscon .container, .punbb .category h2 span, #pun-stats.section h2 span, #pun-about .container a, table thead .tcl, table thead .tc2, table thead .tc3, table thead .tcr, .quote-box cite, .code-box strong.legend, .tab-a .post-content::first-letter, .post-links ul, .post-rating p a, .subscribelink, .linksb, .linkst, select, optgroup, button.button, button.sticker, button.size, fieldset legend span, .modmenu .container, #pun-messages .fs-box h3 span, #profilenav h2 span, #pun-online tbody, #pun-searchtopics tbody, #pun-userlist tbody, #pun-index .tcr a, #pun-index .tcr .lastpost, #pun-viewforum .hasicon .tcl, #pun-main thead tr, input.button, #pun-viewforum .modmenu strong, .podfortext, .podforlink {font-family: Montserrat;}
#pun-index .tcl h3, #post-form h2, #pun-main h1, .post h3, .pa-author {font-family: Montserrat;}

/* всплывающие окна */
#pun-popup_awards div, #pun-reputation div {background-color: #d6d5cd;}
#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area, #spoiler-area, .modal-inner.section {padding: 20px; background-color: #e2e1da; border: 1px solid #262624; border-radius: 8px;}
#mask_form {width: 96%;}
#mask_dialog .inner {background-color: #e2e1da; border: 1px solid #262624; border-radius: 8px;}
#font-area {width: 60%;}
#font-area div {display: inline-block; margin: 0 5px !important;}

/* скролл и выделение */
::-webkit-scrollbar {width: 5px; height: 5px; background-color: #d6d5cd;}
::-webkit-scrollbar-thumb:vertical, ::-webkit-scrollbar-thumb:horizontal {background-color: #262624; border-radius: 3px;}
::selection {background: #a33120 !important; color: #ece6d8;}

/* админ-панель */
#fld-o_pm_subject {width: 96% !important;}
#pun-adnav a {color: #7c2115 !important;}
#pun-adnav a:hover, #pun-adnav a:active, #pun-adnav a:focus {color: #262624 !important;}
#pun-admain .adformal, #pun-admain .adcontainer {border: none;}
.adinput textarea {width: 99% !important;}
.admin-advert-block {margin: 10px 0 0 400px;}
#pun-admain h2, #pun-admain1.adformal h2, #pun-admain #pun-adnav h2 {background-color: #262624; color: #d6d5cd; border: none; text-align: center; margin: 0; text-transform: uppercase; font-weight: 600;}

/* скрытие стандартных элементов движка */
#title-logo-table {display: none;}
.punbb .modmenu .container span {display: none;}
.modlist {display: none !important;}
.category .container thead {display: none;}
li {list-style: none;}
#pun-main div.catleft, #pun-main div.catright {display: none;}
.lastedit {display: none;}
#pun-announcement h2 {display: none;}
#pun-navlinks #navawards {display: none;}
.topic .sharelink {display: none;}
.stickytext, .closedatafield {display: none;}
.post-content td {border-color: transparent !important;}
.post-author .pa-fld1 .fld-name {display: none;} /* только в мини-профиле! */
#pun-index .category .tc2, #pun-index .category .tc3, #f-subforums .tc2, #f-subforums .tc3 {display: none !important;}
div.tclcon br {display: none;}
.forum-name {display: none;}

/* ТАБЛИЦЫ-АККОРДЕОНЫ (инфо-шаблоны в постах) */
.punbb .post-content table[style="width:111px"] {display: none;}
.punbb .post-content table[style="width:111px"]+.quote-box {
  width: 800px;
  border: 1px solid #262624;
  outline: 1px solid #262624;
  outline-offset: 8px;
  border-radius: 6px !important;
  padding: 6px !important;
  margin: 18px 15px 18px 58px !important;
  background: #d6d5cd !important;
}
.punbb .post-content table[style="width:111px"]+.quote-box > blockquote > p > span[style*="text-align: center"] {
  font-size: 23px;
  /* ЗАМЕНИТЬ: фон заголовка инфо-таблицы — подставьте url(картинка 800x60) */
  background: #262624;
  text-shadow: 1px 1px 1px #000;
  font-weight: bold;
  margin: -7px;
  margin-bottom: 2px !important;
  letter-spacing: 3px;
  color: #d6d5cd;
  padding: 5px;
}
.punbb .post-content table[style="width:111px"]+.quote-box > blockquote > p > span[style*="text-align: center"]+br {display: none;}

.punbb .post-content table[style="width:112px"] {display: none;}
.punbb .post-content table[style="width:112px"]+.quote-box {
  width: 800px;
  border: 1px solid #a33120;
  outline: 1px solid #a33120;
  outline-offset: 8px;
  border-radius: 6px !important;
  padding: 6px !important;
  margin: 18px 15px 18px 58px !important;
  background: #d6d5cd !important;
}
.punbb .post-content table[style="width:112px"]+.quote-box > blockquote > p > span[style*="text-align: center"] {
  font-size: 23px;
  /* ЗАМЕНИТЬ: фон заголовка инфо-таблицы (викторины) — url(картинка) */
  background: #a33120;
  text-shadow: 1px 1px 1px #000;
  font-weight: bold;
  margin: -7px;
  margin-bottom: 2px !important;
  letter-spacing: 3px;
  color: #ece6d8;
  padding: 5px;
}
.punbb .post-content table[style="width:112px"]+.quote-box > blockquote > p > span[style*="text-align: center"]+br {display: none;}

.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box,
.punbb .post-content table[style="width:112px"]+.quote-box .quote-box.spoiler-box {
  color: #232322;
  background: #c8c7c0 !important;
  border: 0 none !important;
  border-radius: 4px !important;
  margin: 2px auto !important;
  padding: 0 0 3px 0 !important;
}
.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box > blockquote,
.punbb .post-content table[style="width:112px"]+.quote-box .quote-box.spoiler-box > blockquote {
  height: auto;
  background: none !important;
  overflow-y: auto;
  margin: 7px -5px 3px -5px !important;
}
.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box > div,
.punbb .post-content table[style="width:112px"]+.quote-box .quote-box.spoiler-box > div {
  border: 1px solid rgb(163 49 32 / 30%);
  margin: 0 0 -4px 0;
  text-align: center;
  font: normal normal 400 15px/normal Montserrat;
  background: #262624;
  padding: .6em;
  color: #d6d5cd;
  border-radius: 3px;
}
.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box > div:hover,
.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box > div.active,
.punbb .post-content table[style="width:112px"]+.quote-box .quote-box.spoiler-box > div:hover,
.punbb .post-content table[style="width:112px"]+.quote-box .quote-box.spoiler-box > div.active {background-color: #a33120; color: #ece6d8;}

.akkordion span[style*="text-align: center"]+br {display: none;}
.punbb .post-content .akkordion tr {vertical-align: top;}
.punbb .post-content .akkordion p {padding: 2px 9px; font: normal normal 400 13px/normal Verdana; line-height: 124%;}
.punbb blockquote.akkordion a {color: #7c2115; font-weight: bold; transition: .34s;}
.punbb blockquote.akkordion a:hover {opacity: .6; color: #a33120;}
.punbb .akkordion::-webkit-scrollbar {width: 3px; height: 5px;}
.punbb .akkordion::-webkit-scrollbar-track {background-color: #c8c7c0;}
.punbb .akkordion::-webkit-scrollbar-thumb {background-color: #a33120;}

.punbb #pun-main .post-content table[style="width:111px"]+.quote-box+.code-box,
.punbb #pun-main .post-content table[style="width:112px"]+.quote-box+.code-box {
  background: #c8c7c0 !important;
  padding: 4px;
  border: solid #262624;
  border-width: 2px 1px !important;
  border-radius: 0 !important;
  margin-top: 10px;
}

/* пагинация */
div.pagelink strong {background: #262624 !important; padding: 1px 5px; color: #d6d5cd; border-radius: 3px; margin: 0 2px;}

/* скрытие профиля тегом */
.hideprofile .post-author, .hideprofile .pl-email, .hideprofile .pl-website {display: none !important;}
.hideprofile .post-body, .hideprofile .post-links, .hideprofile .post-links ul, .post.hideprofile h3 > span {margin-left: 0 !important;}

/* redirect */
#pun-redirect {
  background: radial-gradient(ellipse at 50% 0%, #262624, #1b1b1a);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 900;
  top: 0 !important;
  left: 0 !important;
}
#pun-redirect #pun-main {display: none;}

/* подвал */
#pun-about .container {text-align: center; background: #262624; border-radius: 8px; padding: 10px 0 8px; margin: 0 0 15px;}
#pun-about .container a, #pun-about .container span {color: #97968f; font-weight: 200; font-size: 10px; transition: 0.4s ease;}
#pun-about .container a:hover {color: #c0503c;}

/* ================================================================================
   ПРАВКИ: хтоническая академия / не-монолитная шапка
   — линии чуть темнее фона, красный только линиями (без свечений)
   ================================================================================ */

/* карточки шапки — ЧИСТАЯ СВЕТЛАЯ БУМАГА: чуть светлее тела форума,
   без текстуры-«клеточки»: только мягкий светлый верх листа */
.sp-card {
  background-color: #e9e8e0;
  background-image:
    radial-gradient(ellipse 260px 70px at 50% 0%, rgb(255 253 246 / 80%), transparent 75%);
  border: 1px solid #b3b2ab;
  box-shadow: 0 2px 6px rgb(0 0 0 / 35%), inset 0 0 0 1px rgb(255 255 255 / 50%);
  position: relative;
}
/* терракотовая «скоба», пришпилившая листок */
.sp-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 26px;
  height: 8px;
  margin-left: -13px;
  background: #a33120;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 55%);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}
/* ЕДИНЫЙ ЦВЕТ ЗАГОЛОВКОВ ПЛАШЕК (розыск = активисты = акции = инфо = навигация) */
.sp-card-t {color: #55544e;}
.sp-wanted {color: #55544e;}
.sp-useful a {color: #424140; border-bottom-color: #a9a8a1;}
.sp-useful a:hover {color: #a33120; border-color: #a33120;}
.sp-card img {border-color: #a9a8a1;}

/* центр шапки: лого-картинка (img/logo.svg), место под «вырезанное» центральное
   изображение остаётся в запасе — класс .sp-artwork берите из истории, если понадобится */
.sp-logo {gap: 10px;}

/* антиква: название и подзаголовок */
.sp-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  letter-spacing: 9px;
  font-weight: 500;
  color: #e2e1da;
}
.sp-sub {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: #55544e;
}
/* заголовки модулей — единая печатная машинка (не антиква) */

/* цитаты шапки — антиква курсивом, как выписка из архивной книги */
.sp-quotes {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
}

/* заголовки категорий — антиква */
.punbb .category h2 span, #pun-stats.section h2 span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  letter-spacing: 6px;
  font-weight: 500;
}
#pun-main h1 span, #post-form h2 span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 4px;
}
#pun-index .tcl h3 a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* линии описания форумов: чуть темнее + терракотовый свес слева */
#pun-index .intd {
  border-top: 1px solid #a9a8a1;
  border-bottom: 1px solid #a9a8a1;
  box-shadow: inset 3px 0 0 #a33120;
  padding-left: 12px;
}

/* описания подфорумов — бумажные вкладки */
.podfortext {
  background: #d8d7d0;
  border-left: 3px solid #a33120;
  border-top: 1px solid #a9a8a1;
  border-right: 1px solid #a9a8a1;
  border-bottom: 1px solid #a9a8a1;
  color: #424140;
}
.podforlink a {font-family: Montserrat !important;}

/* заголовок поста: тонкая линия + терракотовая точка */
#pun-viewtopic .post h3 {
  border-top: 1px solid #b0afa8;
  border-bottom: 1px solid #b0afa8;
  box-shadow: inset 3px 0 0 #a33120;
  padding-left: 14px;
}

/* гостевая/сюжет/анкеты: тёмные полосы получают терракотовую кромку сверху */
.story-tit1, .top, .gostevaya .navig {box-shadow: inset 0 3px 0 #a33120;}
.gostevaya .navig {box-shadow: inset 0 -3px 0 #a33120;}

/* ссылки поста — «приписанные» линки */
.post-links a {letter-spacing: 1px;}

/* скролл под старину */
::-webkit-scrollbar {width: 5px; height: 5px; background-color: #d6d5cd;}
::-webkit-scrollbar-thumb:vertical, ::-webkit-scrollbar-thumb:horizontal {background-color: #3b3b3a; border-radius: 3px;}
::-webkit-scrollbar-thumb:hover {background-color: #a33120;}

/* ================================================================================
   СКРАПБУКИНГ: рваные страницы, WANTED-штамп, карандашная штриховка между темами
   концепция: дело-папка с обрывками (костяная бумага + чернила + красный штамп)
   ================================================================================ */

/* карандашная линия между форумами внутри категории (вместо ровных бордеров) */
#pun-index .intd {
  border-top: none;
  border-bottom: none;
  box-shadow: inset 3px 0 0 #a33120;
  padding-top: 14px;
}
#pun-index .intd::before {
  content: "";
  position: absolute;
  left: 30px; right: 22%;
  top: 5px;
  height: 3px;
  /* точечный пунктир — как перфорация/наборная строка машинки */
  background: radial-gradient(circle, #a33120 34%, transparent 42%) 0 0 / 10px 3px repeat-x;
  opacity: 0.85;
}
/* пунктир под полосой категории */
.punbb .category h2, #pun-stats.section h2, #pun-main h1, #post-form h2 {position: relative;}
.punbb .category h2::after, #pun-stats.section h2::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: -6px;
  height: 3px;
  background: radial-gradient(circle, #a33120 34%, transparent 42%) 0 0 / 10px 3px repeat-x;
  opacity: 0.85;
}
/* и над полосой — светлый пунктир на тёмном */
.punbb .category h2::before, #pun-stats.section h2::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  top: -6px;
  height: 3px;
  background: radial-gradient(circle, #c9c8c1 34%, transparent 42%) 0 0 / 10px 3px repeat-x;
  opacity: 0.5;
}

/* рваные карточки шапки: каждая примята под своим углом */
.sp-card {
  clip-path: polygon(0 3%, 4% 0, 18% 2%, 33% 0, 50% 3%, 66% 0, 82% 2%, 96% 0, 100% 4%, 100% 97%, 94% 100%, 78% 98%, 60% 100%, 44% 98%, 26% 100%, 12% 98%, 0 100%);
  box-shadow: none;
}
.sp-card:nth-child(1) {transform: rotate(-1.2deg);}
.sp-card:nth-child(2) {transform: rotate(0.8deg);}
.sp-card:nth-child(3) {transform: rotate(-0.5deg);}
/* скоба-шпилька внутри рваной кромки (иначе срезается clip-path) */
.sp-card::before {top: 3px;}

/* РОЗЫСК — заголовок плашки в том же едином формате, что и остальные
   (без рамки-штампа: машинописный текст + пунктирная отбивка) */
.sp-wanted {
  display: inline-block;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #55544e;
  padding-bottom: 5px;
  border-bottom: 1px dotted #a9a8a1;
  margin-bottom: 10px;
}

/* обрывки с комикс-картинками: halftone-точки как у растровых печатей */
.sp-scrap {
  display: inline-block;
  padding: 5px 5px 3px;
  margin: 2px 3px;
  background:
    radial-gradient(circle, rgb(0 0 0 / 20%) 1px, transparent 1.6px) 0 0 / 5px 5px,
    #dbd9d1;
  clip-path: polygon(0 6%, 7% 0, 20% 4%, 36% 0, 52% 5%, 68% 0, 84% 4%, 100% 1%, 100% 95%, 90% 100%, 74% 96%, 58% 100%, 40% 96%, 24% 100%, 10% 96%, 0 100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.sp-scrap:nth-child(odd) {transform: rotate(-2deg);}
.sp-scrap:nth-child(even) {transform: rotate(1.6deg);}
.sp-scrap img {
  width: 52px; height: 52px;
  object-fit: cover;
  display: block;
  border: none;
  opacity: 0.92;
  filter: grayscale(55%) contrast(1.1) sepia(0.12);
}
.sp-scrap:hover {transform: rotate(0) scale(1.07); filter: none;}
.sp-scrap:hover img {filter: none; opacity: 1;}

/* ссылки под акциями на обрывках */
.sp-scrap-links {margin-top: 9px; text-align: left;}
.sp-scrap-links a {
  display: block;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #3d3c37;
  border-bottom: 1px dotted #b0afa8;
  padding: 2px 0;
  transition: 0.3s ease;
}
.sp-scrap-links a:hover {color: #a33120; border-color: #a33120;}

/* последняя тема в сообщении: карандашная линия и под постом */
.post-box {position: relative;}
#pun-viewtopic .post h3 {box-shadow: inset 3px 0 0 #a33120;}

/* ================== ТЕКСТОВЫЕ ЗАГЛУШКИ (пока без картинок вообще) ================== */

/* заглушка названия форума на месте логотипа.
   ЗАМЕНИТЬ: для настоящей картинки удалите <div class="sp-logo-fake"> в html-verh
   и вставьте <img src="ссылка на ваш логотип"> — стили .sp-logo img подхватят.
   Тёмный градиент: шапка лежит на светлой «бумаге» #pun, поэтому костяной
   цвет здесь бы сливался — берём чернильно-серый, уходящий в красный. */
.sp-logo-fake {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  letter-spacing: 5px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  background: linear-gradient(180deg, #2e2e2c 35%, #a33120 135%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 4px 8px 6px;
}

/* слот под картинку персонажа в обрывке (пока буквы-заглушки).
   ЗАМЕНИТЬ: вместо <span class="sp-ava">АВА</span> вставьте <img src="..."> —
   стили .sp-scrap img подхватят (обрезка, фильтр «под принт»). */
.sp-scrap .sp-ava {
  display: block;
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
  font-family: Montserrat;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #424140;
  background: rgb(0 0 0 / 6%);
}

/* ================================================================================
   КОМПАКТНЫЙ ПРОФИЛЬ В ПОСТАХ (вместо громоздкой тёмной плиты):
   светлый листок, тонкая красная кромка сверху, мелкая машинка,
   все поля — короткими строками. Секция стоит последней — перекрывает
   старые правила профиля выше по файлу.
   ================================================================================ */
#pun-viewtopic .post-author,
.post-author {
  width: 186px !important;
  min-height: 0;
  margin: 8px 16px 8px 2px;
  padding: 10px 8px 10px;
  text-align: center;
  background-color: #ecebe3;
  background-image: radial-gradient(ellipse 170px 45px at 50% 0%, rgb(255 253 246 / 70%), transparent 75%);
  border: 1px solid #c2c1ba;
  border-left: 1px solid #c2c1ba;
  border-top: 2px solid #a33120;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 15%);
  color: #232322;
}

/* Ник: антиква с пунктирной отбивкой */
.post-author .pa-author {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0 4px 4px;
  padding: 0 2px 5px;
  border-bottom: 1px dotted #b0afa8;
}
.post-author .pa-author a {color: #232322; font-weight: 600; font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: 15px !important; letter-spacing: 1px;}
.post-author .pa-author a:hover {color: #a33120;}

/* Статус */
.post-author .pa-title {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 9px;
  color: #77766f;
  margin: 4px 2px 6px;
  text-transform: lowercase;
}

/* Аватар */
.post-author .pa-avatar img {
  max-width: 158px;
  border: 2px solid #b3b2ab;
  border-radius: 4px;
  margin: 0;
}

/* Все поля профиля — компактные строки машинкой */
.post-author li {
  margin: 0;
  padding: 1px 0;
  display: block;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 9.5px;
  line-height: 1.45;
  color: #55544e;
}
.post-author li span.fld-name {
  display: inline;
  font-size: 9px !important;
  color: #8b8a84;
  margin-right: 4px;
  font-family: 'Special Elite', 'Courier New', monospace;
}
/* гасим старые «плашки-значки» 44px и подписи cash:/mess:/resp: */
.post-author .pa-fld2, .post-author .pa-posts, .post-author .pa-respect, .post-author .pa-fld4 {
  display: block;
  width: auto;
  margin: 0;
  padding: 1px 0 !important;
  white-space: normal;
  text-transform: none;
  font-weight: 400;
  box-shadow: none;
}
.post-author .pa-fld2 .fld-name:after,
.post-author .pa-posts .fld-name:after,
.post-author .pa-respect .fld-name a:after {content: "" !important; font-size: 0 !important;}
.post-author .pa-fld1 {
  display: block;
  margin: 4px 4px 2px;
  padding: 4px 0 5px !important;
  border-bottom: 1px dotted #b0afa8;
  text-align: center;
}
.post-author .lzvn a {display: block; font-size: 10px; letter-spacing: 0.5px; text-transform: none; font-weight: 600; color: #232322; padding: 0;}
.post-author .lzvn a:hover {color: #a33120;}
.post-author span.lzvn-txt {display: block; font-size: 9px; color: #77766f; line-height: 1.4;}
.post-author span.lzvn-txt a {color: #a33120; font-weight: 600;}

/* онлайн / последний визит */
.post-author .pa-online {color: #a33120; font-size: 9px; letter-spacing: 1px; margin-top: 4px; text-transform: uppercase;}
.post-author .pa-last-visit {color: #8b8a84; font-size: 9px; margin: 0; font-weight: 400;}
/* поле-иконка (fld3) и прочие Donbas майские: в компактной вертикали */
.post-author .pa-fld3 {margin: 3px 0; padding: 0;}
.post-author .pa-fld3 img, .post-author .pa-fld5 img {max-width: 160px; height: auto;}
.post-author .pa-fld5 {margin: 3px 0; padding: 0; display: block;}

/* воздух между профилем и текстом поста — жёстко, чтобы ничто не уползало под профиль */
#pun-viewtopic .post-body, .post-body {margin-left: 208px !important; width: auto !important; min-height: 1px; overflow: hidden;}
/* ссылки поста: там же, под текстом (не слева под профилем) */
.post-links {margin: 6px 0 4px 208px !important; padding: 0;}
.post-links ul {text-align: left; margin-right: 0; padding-left: 14px; line-height: 1.8;}
/* прячем ссылки мыла/сайта, чтобы строка не ломалась влево */
.pl-email, .pl-website {float: none;}
/* [hideprofile]: пост без профиля — отступы снять (перебиваем !important специфичностью) */
#pun-viewtopic .hideprofile .post-body, .post.hideprofile .post-body {margin-left: 0 !important; width: auto !important;}
#pun-viewtopic .hideprofile .post-links, .post.hideprofile .post-links {margin-left: 14px !important;}

/* ===== ПЛАШКИ ЛЗ (вставляются HTML-ом в доп.поле) ===== */
/* работают везде: мини-профиль в теме, страница профиля, форма «Дополнительно» */
/* шаблон для игроков:                                             */
/* <div class="pl-name">Имя Фамилия</div>                           */
/* <div class="pl-tag">фандом / роль</div>                          */
/* <div class="pl-lz">текст лэвай <a href="#">ссылка</a></div>      */
.pl-name, .lzvnname {
  margin: 6px 6px 2px;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 1.2px;
  color: #232322;
  text-align: center;
  line-height: 1.25;
}
.pl-name:first-letter, .lzvnname:first-letter {color: #a33120;}
.pl-tag, .lzvnspsh {
  display: block;
  margin: 3px 10px;
  padding: 2px 4px;
  background: #232322;
  color: #e9e8e0;
  border-radius: 3px;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}
.pl-lz, .lzvntxt {
  margin: 4px 8px 2px;
  font-size: 9.5px;
  color: #55544e;
  line-height: 1.45;
  text-align: center;
}
.pl-lz a, .lzvntxt a {color: #a33120; font-weight: 700; border-bottom: 1px dotted #a33120;}
.pl-lz a:hover, .lzvntxt a:hover {color: #232322; border-bottom-color: #232322;}

/* ===== СТРАНИЦА ПРОФИЛЯ И СТРАНИЦЫ РЕДАКТИРОВАНИЯ ===== */
/* Навигация разделов профиля — ГОРИЗОНТАЛЬНАЯ полоса вкладок СВЕРХУ.
   Никакой колонки слева: контенту не нужен отступ и ничего не съезжает. */
#pun-profile #profilenav {
  float: none; width: 100%; margin: 6px 0 12px; padding: 0;
}
#pun-profile #profilenav ul {margin: 0; padding: 0; list-style: none;}
#pun-profile #profilenav ul li {
  display: inline-block; margin: 0 3px 4px 0; padding: 5px 12px !important;
  background: #e9e8e0; border-radius: 6px; list-style: none;
  border: 1px solid #c2c1ba;
}
#pun-profile #profilenav ul li a, #pun-profile #profilenav ul li strong {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: #55544e; text-decoration: none; font-weight: 400;
}
#pun-profile #profilenav ul li:hover {background: #d6d5cd;}
#pun-profile #profilenav ul li:hover a, #pun-profile #profilenav ul li:hover strong {color: #a33120;}
#pun-profile #profilenav li.isactive {background: #232322; border-color: #232322;}
#pun-profile #profilenav li.isactive a, #pun-profile #profilenav li.isactive strong {color: #e9e8e0;}
/* страницы редактирования: формы на всю ширину, отступов НЕ добавляем —
   контейнер/fs-box/fieldset вложены друг в друга, отступ бы утроился */
#pun-profile #profile .fs-box,
#pun-profile #profile .container,
#pun-profile #profile .post-box,
#pun-profile #profile fieldset {margin-left: 0; margin-right: 0;}
#pun-profile #profile .fs-box .inputfield, #pun-profile #profile .fs-box textarea, #pun-profile #profile .fs-box input {
  background: #e9e8e0; border: 1px solid #b0afa8; border-radius: 4px;
}
#pun-profile #profile legend span, #pun-profile #profile .post-box, #pun-profile #profile .fs-box p {
  font-size: 12px; color: #55544e;
}

/* ===== ПРОСМОТР ПРОФИЛЯ: rusff делает profile-left/right ЯЧЕЙКАМИ <td> —
   никаких float, только стиль ячеек ===== */
#viewprofile .container {background: transparent; margin: 0; padding: 0;}
#viewprofile table {width: 100%; border-collapse: separate; border-spacing: 14px 0; margin: 0 -14px;}
#viewprofile td#profile-left, #viewprofile td#profile-right {vertical-align: top; border: none; padding: 0;}
#viewprofile td#profile-left {
  width: 220px; text-align: center;
  background: #e9e8e0; border-radius: 8px; padding: 12px 8px;
  border-top: 2px solid #a33120;
}
#viewprofile td#profile-left li {list-style: none; display: block; margin: 4px 0; text-align: center;}
#viewprofile #profile-name strong {
  display: block; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 600; color: #232322; margin: 4px 0 6px;
}
#viewprofile #profile-title strong {font-size: 10px; color: #8b8a84; font-weight: 400;}
#viewprofile #pa-avatar img, #viewprofile td#profile-left img {
  max-width: 180px; border: 2px solid #b3b2ab; border-radius: 4px;
}
#viewprofile li#pa-online strong, #viewprofile li#pa-last-visit {
  font-size: 9px; color: #8b8a84; font-weight: 400; text-transform: none;
}
#viewprofile li#pa-edit strong a, #viewprofile li#pa-admin strong a {
  display: inline-block; font-family: 'Special Elite', monospace;
  font-size: 9px; letter-spacing: 1px; color: #e9e8e0;
  background: #232322; padding: 4px 12px; border-radius: 3px; text-decoration: none;
}
#viewprofile li#pa-edit strong a:hover, #viewprofile li#pa-admin strong a:hover {background: #a33120; color: #ece6d8;}
/* правая колонка — карточки полей; подпись в viewprofile — просто span */
#viewprofile td#profile-right li {
  display: block; width: auto; margin: 4px 0; padding: 6px 12px !important;
  background: #e9e8e0; border-radius: 6px; text-align: left; float: none; list-style: none;
}
#viewprofile td#profile-right li > span {
  display: block; float: none !important; text-align: left !important; width: auto !important;
  font-family: 'Special Elite', monospace; font-size: 9px !important;
  color: #8b8a84; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 2px; padding: 0;
}
#viewprofile td#profile-right li strong {
  display: block; padding: 0; font-weight: 600; color: #232322; font-size: 12px;
}
#viewprofile td#profile-right li strong img {max-width: 170px; height: auto;}

/* ===== ИКОНКИ ПОЛЕЙ (техника alter paradox: картинка вместо подписи .fld-name) ===== */
/* по умолчанию — красный штрих-маркер; ЧТОБЫ ВСТАВИТЬ СВОИ ИКОНКИ:     */
/* замени background на свой, напр. background: url(URL_картинки) no-repeat center; */
.post-author .pa-fld2 .fld-name,
.post-author .pa-posts .fld-name,
.post-author .pa-respect .fld-name, .post-author .pa-respect .fld-name a,
.post-author .pa-fld4 .fld-name {
  font-size: 0 !important;
  display: block;
  width: 16px;
  height: 4px;
  margin: 5px auto 2px;
  background: #a33120; /* &#8592; сюда url() своей иконки; тогда width/height = размеры картинки */
  border-radius: 2px;
}
/* вариант «иконка слева, число справа» — раскомментируй если нужно:     */
/*
.post-author .pa-posts, .post-author .pa-respect, .post-author .pa-fld4 {text-align: left; padding-left: 10px !important;}
.post-author .pa-posts .fld-name, .post-author .pa-respect .fld-name, .post-author .pa-fld4 .fld-name {
  display: inline-block; vertical-align: middle; width: 16px; height: 16px; margin: 0 4px 0 0;
}
*/

/* ================================================================================
   ВСПЛЫВАЮЩАЯ АНКЕТА ПЕРСОНАЖА (.a-info / .my-tabs) — в стилистике дела-папки:
   бумажный лист с вкладками-«ушами», затемнение фона, машинописные ушки
   ================================================================================ */
/* затемнение фона под табличкой */
#pre-wrap {
  margin: 0; top: 0; bottom: 0; left: 0; right: 0;
  width: 100%; height: 100%;
  position: fixed; z-index: 20000;
  background: rgb(20 20 19 / 72%);
}
/* иконка анкеты в мини-профиле */
.post-author img.a-info {
  padding: 2px;
  display: block !important;
  cursor: pointer;
  position: absolute;
  margin: -4px 0 0 150px !important;
  width: 26px;
  border: 1px solid #b3b2ab;
  border-radius: 4px;
  background: #ecebe3;
}
/* корневая табличка */
.my-tabs {
  display: block;
  z-index: 30000;
  position: absolute;
  background: #e9e8e0;
  background-image: radial-gradient(ellipse 400px 90px at 50% 0%, rgb(255 253 246 / 75%), transparent 75%);
  border: 1px solid #262624;
  outline: 1px solid #262624;
  outline-offset: 5px;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 60%);
  padding: 46px 10px 16px;
  max-height: 700px;
  overflow-y: auto;
  width: 700px !important;
}
/* крестик закрытия */
.my-tabs > img.close {
  margin: 0 -35px 0 0 !important;
  width: 27px;
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  background: #a33120;
  border-radius: 4px;
  padding: 2px;
}
/* «ушки»-вкладки (span с текстом) */
.my-tabs > span {
  display: inline-block;
  cursor: pointer;
  z-index: 12;
  padding: 5px 14px;
  margin: 0 2px 0 8px;
  background: #d6d5cd;
  border: 1px solid #a9a8a1;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #55544e;
  position: relative;
  top: -46px;
}
.my-tabs > span:first-child {margin-left: 8px;}
.my-tabs > span.selected {
  background: #232322;
  color: #e9e8e0;
  border-color: #232322;
}
/* скрытая вкладка с контентом */
.my-tabs > .tab-a {display: none;}
.my-tabs .tab-a .post-content {
  background: #e9e8e0 !important;
  padding: 4px 8px;
  text-align: justify;
}
/* содержимое вкладок: бумажная эстетика */
.my-tabs .post-content blockquote {
  background: #e2e1da !important;
  border: 1px solid #a9a8a1 !important;
  border-radius: 6px;
}
/* инструмент-подсказка при наведении на иконку */
.tipsy.a-info {
  margin-top: -2px !important;
  margin-left: -6px !important;
  font: normal normal 400 11px/16.5px Verdana;
}

/* ================================================================================
   ПОДЛОЖКА МИНИ-ПРОФИЛЯ КАРТИНКАМИ (как у alter paradox: шапка + низ колодки).
   По умолчанию выключено (профиль — чистый CSS-листок). ЧТОБЫ ВКЛЮЧИТЬ:
   1) загрузи в админке -> Файлы две картинки:
      верх профиля ~186x50 и низ профиля ~186x50 (на светлом фоне);
   2) раскомментируй блок ниже и подставь свои URL в url(...);
   3) убери padding: 10px 8px 10px у .post-author (строка выше в секции
      КОМПАКТНЫЙ ПРОФИЛЬ), иначе будут двойные отступы.
 ================================================================================ */
/*
.post-author {
  background: url(ВЕРХ.jpg) top center no-repeat,
              url(НИЗ.jpg) bottom center no-repeat #ecebe3 !important;
  background-size: 100% auto, 100% auto;
  border: none;
  border-radius: 0;
  padding: 50px 8px 50px;
}
*/

/* текстовая заглушка баннеров, пока нет партнёров */
.banners-fake {
  margin: 10px auto 0;
  width: auto;
  text-align: center;
  font-family: Montserrat;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #97968f;
  padding: 14px 0;
  border-top: 1px solid #131313;
}
