@import url(style_cs.1784969496.css);

@import url(https://forumstatic.ru/files/001c/43/fc/27566.css);

/* Иконический шрифт */
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

/****************************************
Чистый стиль by Alex Kolmar (бродяга)
****************************************/

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0.0;
  font-size: 0;
}



/* Основные переменные
------------------------------------------*/

:root {
  --pun-bg: #e7e7e7;
  --sec-bg: #f4f4f4;
  --bord-bg: #D3D3D3;
  --link: #323244;
  --link-hover: #438381;
  --main-acc: #818aea;
  --add-acc: #C8DFDF;
  --pwidth: 244px;
  --pad1: 10px 30px;
  --pad2: 10px 20px;
  --pad3: 5px 10px;
  --font-family: "Trebuchet", sans-serif;
  --second-family: "Inter", sans-serif;
  --fa: "Font Awesome 6 Pro", "Font Awesome 6 Brands";
}

/* Global
------------------------------------------*/

/* Применяется ко всем элементам */

* {
  margin: 0;
  padding: 0;
  border: none;
  text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /*scrollbar-width: thin;
  scrollbar-color: var(--link-hover) var(--sec-bg);*/
}

/* прокрутка хром etc */

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius: 10px;
}

*::-webkit-scrollbar-track {
  background-color: var(--sec-bg);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--link-hover);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:active {
  background: var(--link-hover);
  border-radius: 10px;
}

/* выделение текста */

::selection {
  background: var(--link);
  color: var(--pun-bg);
}

:focus {
  outline: none;
}

/* все ссылки */

a,
.punbb #pun-admain a {
  text-decoration: none;
  color: var(--link);
  transition: all .2s linear 0s;
}

a:hover,
.punbb #pun-admain a:hover {
  color: var(--link-hover);
}

/* все заголовки */

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre {
  margin: 0;
}

h1,
h2 {
  padding: 10px 20px;
  font-weight: normal;
  text-align: center;
}

ul,
dl,
li,
dd,
dt {
  list-style: none;
}

address,
em {
  font-style: normal;
}

/* выключить список модераторов, отредактировано etc */

.modlist,
.lastedit,
.punbb div#pun-live-rusff,
.punbb .topic a.sharelink {
  display: none
}

/* скрывает ссылку Поделиться (Share) внутри поста */
.post-links .pl-share {
    display: none !important;
}






/* модальные окна, репутация, закладки etc */

#tags .container,
.post_report,
.post_reputation,
#MyBookmarks,
.inner.popup_graffiti,
.pun-modal .modal-inner,
.punbb-admin #pun-admin-award-form .inner {
  background: var(--sec-bg);
}

/* Формы
------------------------------------------- */

/* ОФОРМЛЕНИЕ КНОПОК */

input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"] {
    padding: 8px;
    cursor: pointer;
    transition: all .2s linear 0s;
    background: var(--main-acc);
    border-radius: 12px;
    color: var(--pun-bg);
    text-transform: lowercase;
    font-weight: 600;
    font-family: var(--font-family);
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: var(--link-hover);
}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
    padding: 2px 5px;
    border-radius: 12px;
    background: var(--sec-bg);
    color: #141414;
    font-family: var(--font-family);
    font-weight: 500;
}

select#mod-options {
    text-transform:lowercase;
}

textarea,
input,
select,
optgroup {
  font-size: 12px;
}

optgroup {
  font-weight: bold;
}

/* флажки и чекбоксы */

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 3px;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 20px;
  vertical-align: middle;
}

.formal .container {
  padding: var(--pad1);
}

.formsubmit {
  padding: 0;
  margin: 10px 0 0 0;
  text-align: center;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: bold;
}

fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
}

.fs-box {
  padding: 5px 0;
}

.fs-box p,
.fs-box fieldset {
  padding: 0 0 8px 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
  float: left;
  margin-right: 10px;
}

.inline .infofield {
  clear: both
}

.datafield br {
  display: none
}

.required label,
.datafield span.input {
  font-size: 11px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

.hashelp {
  position: relative;
}

/* Админка
------------------------------------------*/

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}

.punbb-admin sup.new {
display: none;
}

/* Тело форума
------------------------------------------*/

/* фон */

html {
  background: var(--link) url() no-repeat top center;
}

/* заплатка для фиксированного фона */

body::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -10;
  background: #a2c3c2 url(https://upforme.ru/uploads/0019/ed/82/2/665838.jpg) no-repeat top center/cover;
}

/* тело */

#pun {
  margin: 30px auto;
  width: 1010px;
  background: var(--pun-bg);
}

/* внутреннее тело */

.punbb {
  font: 11px Arial, Verdana;
    display: flex;
    flex-direction: column;
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
}

/* Навигационные ссылки */

#pun-navlinks {
    order: -1;
    background: var(--main-acc);
    font-family: var(--second-family);
    font-style: ;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
}

#pun-navlinks a {
  color: white;
}

#pun-navlinks a:hover {
    color: var(--link);
    font-weight: 900;
}

#pun-navlinks .container {
  text-align: center;
}

#pun-navlinks li {
  padding: 0 5px;
  display: inline;
}

/* Пользовательские ссылки */

#pun-ulinks {
    font-family: var(--font-family);
    font-size: 11px;
    text-transform: lowercase;
    margin-bottom: 5px;
}

#pun-ulinks li::before {
    content: '';
    margin-right: 5px;
}

#pun-ulinks .container {
  text-align: center;
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

/* Статус приветствие участника*/

#pun-status {
    font-family: var(--font-family);
    text-transform: lowercase;
    font-size: 11px;
    text-align: center;
}

#pun-status .container {
    border-top: 0px dashed var(--main-acc);
    border-bottom: 0px dashed var(--main-acc);
}

#pun-status .container strong {
    font-weight: normal;
}

#pun-status span {
  white-space: nowrap;
  margin-right: 5px;
}

#pun-status .status-right {
  display: none;
}

/* Хлебные крошки */

.crumbs.container {
    text-align: center;
    font-family: var(--font-family);
    font-size: 9px;
    text-transform: uppercase;
}

/* Копирайт */

#pun-about {
    height: 40px;
    background: url(https://forumstatic.ru/files/001c/43/fc/11112.png) center var(--main-acc);
    background-blend-mode: exclusion;
}

#pun-about .container {
  text-align: center;
}


/* Страница просмотра тем
------------------------------------------*/
/* 0. Переводим абсолютно весь текст на странице в нижний регистр */
#pun-viewforum {
    text-transform: lowercase !important;
}



/* Главная форумная таблица
------------------------------------------*/

.main table {
  table-layout: fixed;
  width: 100%;
}

.main th {
  padding: 5px 10px;
}

.main td {
  padding: 5px;
}

.tcl {
  width: 50%;
}

.tc2,
.tc3,
.tcmod {
  text-align: center;
  width: 10%;
}

.tcr {
  width: 30%;
}

#pun-searchtopics .tcl,
#pun-modviewforum .tcl {
  width: 40%
}

#pun-searchtopics .tc2 {
  text-align: left;
  width: 20%;
}

#pun-debug table .tcl {
  width: 15%;
}

#pun-debug .tcr {
  width: 90%;
}

tbody.hasicon td.tcl {
  padding-left: 40px;
}

#pun-index .hasicon td.tcl {
  padding-left: 24px;
  width: 60%;
}





/* аватар на главной странице возле последних тем*/

.punbb td .user-avatar, #pun-index td .user-avatar {
}

#pun-index td .user-avatar {
    float: left;
    margin: 0 0 0 12px;
}

.punbb td .user-avatar .avatar-image {
    outline: 2px solid var(--main-acc);
    transition: all .2s linear 0s;
}

/* Иконки */

div.icon {
  position: absolute;
  margin-left: -30px;
  width: 20px;
  height: 20px;
  background: var(--link) url() no-repeat top center;
}

#pun-index div.icon {
    margin-left: -44px;
    width: 8px;
    height: 29px;
    background: var(--add-acc) url() no-repeat top center;
}

#pun-index tr.inew div.icon {
  background: var(--main-acc) url() no-repeat top center;
}

tr.inew div.icon {
  background: var() url() no-repeat top center;
}

tr.isticky div.icon {
  background: var() url() no-repeat top center;
}

tr.iclosed div.icon {
  background: var() url() no-repeat top center;
}







/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
}

.multipage#pun-main h1, .multipage#pun-main h2 {
display: none;
}

#pun-post h1 {
display: none;
}

 /* шрифт заголовка при редактировании сообщения */
h1 {
    font-size: 12px !important;
    text-transform: lowercase;
}


.linkst {
    position: relative;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-family: var(--font-family);
    font-size: 8px;
}

.linkst .pagelink {
    box-sizing: border-box;
    padding: 5px;
border-radius: 6px;
 border: 1px solid #D3D3D3;
    background: var(--sec-bg);
}

.linkst .postlink {
box-sizing: border-box;
text-align: center;
max-width: 180px!important;
    padding: 5px;
border-radius: 6px;
 border: 1px solid #D3D3D3;
    background: var(--sec-bg);
}


.linksb {
   padding: 15px 30px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
    text-transform: uppercase;
    font-family: var(--font-family);
    font-size: 8px;
}

.linksb .postlink {
    display: none !important;
}


.linksb .pagelink {
  order: -1;
font-size: 8px;
text-transform: uppercase;
box-sizing: border-box;
text-align: center;
max-width: 210px;
    padding: 5px;
border-radius: 6px;
 border: 1px solid #D3D3D3;
    background: var(--sec-bg);
 box-shadow: #ffffff 1px 1px 0px;
}

.subscribelink {
width: 100%;
font-size: 8px;
text-transform: uppercase;
box-sizing: border-box;
text-align: center;
margin: 0 auto;
  display: inline-flex !important; 
 align-items: center !important;  
max-width: 168px;
    padding: 3px;
border-radius: 6px;
 border: 1px solid #D3D3D3;
    background: var(--sec-bg);
 box-shadow: #ffffff 1px 1px 0px;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}





/* Модераторское меню, RSS, Atom */

.modmenu .container {
  padding: var(--pad3);
  text-align: right;
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
}

#topic-users-in p.container {
    font-family: var(--font-family);
    text-transform: lowercase;
font-size: 10px;
}

/* Главная
------------------------------------------*/

/* скрыть "форум, тем, сообщений" */

#pun-index thead, #pun-index .tc2, #pun-index .tc3 {
  display: none;
}

/* категория */

#pun-index .category {
}


#pun-index .category .container {
    background: var(--sec-bg);
    max-width: 965px;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #D3D3D3;
    padding: 25px;
}

/* Находим ячейки таблиц только внутри контейнеров категорий */
#pun-index .category .container table th,
#pun-index .category .container table td {
  border-bottom: 1px solid #D3D3D3;
}

/* Убираем разделительную линию у ячеек в самой последней строке таблицы */
#pun-index .category .container table tr:last-child td {
  border-bottom: none;
}


/* заголовок категории */

#pun-index .category h2 {
background: url('https://forumstatic.ru/files/001c/92/ae/77591.png');
    text-align: left;
    margin: 0px 131px 20px 35px;
    padding: 0;
   transform: translateY(32px);
}

#pun-index .category h2 span {
  font-size: 8px;
  font-family: var(--second-family);
  text-transform: uppercase;
  color: #ffffff;
    margin: 0px 0px 0px 50px;
  line-height: 0px;
}

#pun-index .category h2 span::after {
  content: '***';
  font-family: var(--second-family);
  font-style: italic;
  font-weight: 800;
  font-size: 0px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 20px;
}

#pun-index .intd {
    display: flex;
    align-items: center;
}

#pun-index .tclcon {
   max-width: 250px;
}

#pun-index .tclcon h3 a {
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--main-acc);
}

#pun-index .tclcon h3 a:hover {
    letter-spacing: 1px;
    color: var(--link-hover);
}

#pun-index .tclcon .desktext {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 10px;
    text-transform: lowercase;
    color: #323244;
    margin-bottom: 5px;
}

#pun-index .tclcon .desklink {
    display: inline-block !important; /* Принудительно выстраивает блоки в одну строку */
    vertical-align: middle !important; /* Выравнивает плашки ровно по высоте */
    background: var(--main-acc);
    border: 1px solid var(--bord-bg);
    width: fit-content;
    padding: 2px 10px;
    color: var(--add-acc);
    
    /* Добавляем отступы между плашками, чтобы они не слипались */
    margin-right: 6px !important;     /* Промежуток между кнопками */
    margin-bottom: 4px !important;    /* На случай, если они займут всю ширину и перенесутся на новую строку на мобильных */
}

/* Убираем отступ у самой последней плашки в ряду */
#pun-index .tclcon .desklink:last-child {
    margin-right: 0 !important;
}

#pun-index .tclcon .desklink a {
    display: inline-block !important;  /* Делает всю область плашки кликабельной */
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 10px;
    text-transform: lowercase;
    color: #fff;
    text-decoration: none !important; /* Убираем стандартное подчеркивание ссылки */
}

#pun-index .tclcon .desklink a:hover {
    color: var(--link);
    font-weight: 900;
}

/* выравнивание текста с ссылкой на тему на главной странице */
#pun-index .category .tcr {
  border-left: 0px solid var(--bord-bg);
  text-align: left;
}




#pun-index .lastpost-link {
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 900;
    text-transform: lowercase;
    white-space: normal;
    display: inline-block;
    margin-left: 20px;
    width: 220px;
}

#pun-index .lastpost {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 10px;
    margin-left: 20px;
    text-transform: lowercase;
}

/* Статистика */


#pun-stats {
   font-family: var(--font-family);
   text-transform: lowercase;
   font-size: 12px;
}

/* заголовок статистики */

#pun-stats h2 {
display: none;
}

/* всего тем, всего сообщений */

#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 10px;
    max-width: 965px;
    margin: 25px auto 0;
    box-sizing: border-box;
    padding: 20px 50px;
    border-radius: 12px;
    border: 1px solid #D3D3D3;
    background: var(--sec-bg);
    font-size: 10px;
}

/* оформление элементов */
#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
   text-align: center;
   border: 1px solid var(--bord-bg);
   border-radius: 0px;
   box-shadow: #ffffff 1px 1px 0px;
   padding: 8px;
}

#pun-stats li.item1 span,
#pun-stats li.item2 span,
#pun-stats li.item3 span,
#pun-stats li.item4 span {
    display: inline-block;
    font-weight: 600;
    margin-right: 5px;
}

#pun-stats li.item1 strong,
#pun-stats li.item2 strong,
#pun-stats li.item3 strong,
#pun-stats li.item4 strong {
    font-weight: 400;
}

/* активны, посетили за сутки */

li#onlinelist {
  width: 100%;
  padding: 5px 0;
  border-block: 0px dashed var(--main-acc);
  text-align: justify;
  font-size: 10px;
  text-tranform: lowercase;
}

li#onlinelist div > a {
  font-weight: 700;
}



/* Страница активных пользователей
------------------------------------------*/
#pun-online {
    text-transform: lowercase !important;
    font-size: 11px !important;
}

/* 0. Настройка всей таблицы: создаем зазор МЕЖДУ строками */
#pun-online .main-table {
    border-collapse: separate !important; /* Разрешает строкам иметь отступы друг от друга */
    border-spacing: 0px 10px !important;  /* Создает зазор в 10px под шапкой и между строками */
}

/* 1. Общие настройки для ВСЕХ ячеек шапки */
#pun-online th {
    background: var(--sec-bg) !important;
    margin: 0px;
    box-sizing: border-box;
    padding: 5px 10px !important; 
    
    /* Границы строго сверху и снизу */
    border-top: 1px solid #D3D3D3 !important;
    border-bottom: 1px solid #D3D3D3 !important;
    
    /* Полностью удаляем внутренние вертикальные перегородки */
    border-left: none !important;
    border-right: none !important;
    border-radius: 0px !important;
    
    vertical-align: middle !important;
}

/* 2. Настройки РАЗМЕРА И РЕГИСТРА для ВСЕХ ячеек шапки без исключения */
#pun-online th,
#pun-online th * {
    font-size: 8px !important;         /* Уменьшаем размер шрифта до 8px */
    text-transform: uppercase !important; /* Принудительный перевод ВСЕХ заголовков в заглавные буквы */
    letter-spacing: 0.5px;             
}

/* 3. ВЫРАВНИВАНИЕ ПО ЛЕВОМУ КРАЮ: Для первых двух ячеек (первая и вторая колонки) */
#pun-online th:first-child,
#pun-online th:first-child *,
#pun-online th:nth-child(2),
#pun-online th:nth-child(2) * {
    text-align: left !important;
}

/* 4. ВЫРАВНИВАНИЕ ПО ЦЕНТРУ: Только для самой правой (последней) ячейки */
#pun-online th:last-child,
#pun-online th:last-child * {
    text-align: center !important;
    margin: 0 auto !important;
}

/* 5. Дополнительные настройки для САМОЙ ЛЕВОЙ ячейки (рамка и скругление) */
#pun-online th:first-child {
    border-left: 1px solid #D3D3D3 !important;
    border-radius: 6px 0px 0px 6px !important; 
    padding-left: 15px !important; /* Отступ от скругленного края */
}

/* 6. Дополнительные настройки для САМОЙ ПРАВОЙ ячейки (рамка и скругление) */
#pun-online th:last-child {
    border-right: 1px solid #D3D3D3 !important;
    border-radius: 0px 6px 6px 0px !important; 
}







/* Шапка
------------------------------------------*/

#pun-title {
    background: url(https://upforme.ru/uploads/0019/ed/82/2/912104.jpg);
    width: 1010px;
    height: 350px;
}

/* скрыть заголовок в шаке */

#pun-title .title-logo {
  display: none;
}

/* содержимое шапки в html-верх */

.tablica {
    position: absolute;
    width: 950px;
    height: 260px;
    display: flex;
    justify-content: space-between;
    padding: 40px;
    box-sizing: border-box;
    font-family: var(--font-family);
    color: var(--sec-bg);
    align-items: flex-start;
}

.tablica a {
    color: var(--sec-bg);
}

.tablica a:hover {
    color: var(--link);
}

.tablica-left {
     width: 260px;
}

.tablica-links {
    font-weight: 700;
    font-size: 10px;
    text-transform: lowercase;
    text-align: left;
    width: 300px;
    padding: 7px 30px 7px 2px;
    box-sizing: border-box;
    border-block: 1px dashed var(--pun-bg);
    margin-bottom: 40px;
}

.tablica-title {
   font-family: var(--second-family);
    font-style: italic;
    font-weight: 900;
    font-size: 40px;
    text-transform: uppercase;
    margin-left: 380px;
}

.tablica-title-description {
   font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    margin-bottom: 20px;
}

.tablica-quote::before {
    content: '';
    background: url() no-repeat top left;
    display: block;
    width: 48px;
    height: 40px;
    position: absolute;
    left: 10px;
    margin-top: -15px;
}

.tablica-quote {
   font-style: italic;
    font-weight: 500;
    font-size: 9px;
    text-transform: lowercase;
    text-align: justify;
    transform: rotate(-5deg);
    margin-left: 100px;
    margin-top: 50px;
}

.tablica-quote p {
    position: relative;
    z-index: 1;
}

.tablica-right {
    width: 453px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.tablica-about {
width: 200px;
    height: 66px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 9px;
    text-transform: lowercase;
    text-align: justify;
    overflow: auto;
    padding-right: 15px;
    margin-bottom: 20px;
    color: #292929;
    position: absolute;
    transform: rotate(0deg);
    right: 320px;
    top: 30px;
}

/* Объявление
------------------------------------------*/

#pun-announcement {}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}


/* Футер
------------------------------------------*/

#html-footer {}

#html-footer .container {padding: 0;}

/* баннеры */

.banners {
  padding: var(--pad1);
}

.banners .container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    height: 73px;
    justify-content: center;
    overflow: auto;
}

.banners a {
  opacity: .7;
}

.banners a:hover {
  opacity: 1;
}


/* Топик
------------------------------------------*/

.post {
    margin: 10px auto 0;
    border-radius: 12px;
    border: 1px solid #D3D3D3;
    background: var(--sec-bg);
    padding: 12px 0 0;
    text-transform: none;
}

#pun-viewtopic .post {
    width: 965px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

/* контейнер поста */

.punbb .post .container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  padding: var(--pad2);
}

/* дата и номер поста */

.post h3 {
   background: var(--pun-bg);
}

.post h3 span {
  padding: var(--pad3);
  display: block;
  font-family: var(--font-family);
  font-size: 10px;
  text-transform: lowercase;
}

/* номер поста */

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
  font-size: 10px;
}

.post h3 strong::before {
   content:'';
}

/* Автор */

.post-author {
    width: 235px;
    text-align: center;
    box-sizing: border-box;
    background: url("https://i.pinimg.com/736x/a8/ee/87/a8ee877897c047a79f0f6ae9fb08df7f.jpg");
    border-radius: 12px;
    margin-bottom: 18px;
    margin-top: 5px;
    padding: 5px;
    padding-top: 20px;
    padding-bottom: 20px;
    border: 1px solid #D3D3D3;
    position: relative;
    box-shadow: 0 0px 0px #000000;
}

.post-author ul {
  padding: 5px;
  background: #ededed;
  border-radius: 12px;
  border: 1px solid #D3D3D3;
}

.pa-author {
    font-family: "Trebuchet MS", sans-serif; 
    font-style: ;
    font-weight: 700;
    font-size: 15px;
    text-shadow: #ffffff 1px 1px 1px;
    text-transform: lowercase;
}

.pa-author a {}

.pa-title {
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 400;
    font-size: 9px;
    text-transform: lowercase;
    padding: 5px 0;
    text-align: center;
    width: 180px;
    margin: 0 auto 5px;
}

.pa-avatar img {
    border-radius: 0px;
    border: 1px solid #D3D3D3;
}

.pa-fld1 {
    background-size: cover;
    width: 200px; 
    height: 30px;
    display: flex;
    align-items: center;
    margin-left: 0px;
    margin-top: -12px;
}


/* поле личное звание */
.pa-fld2 {
    font-family: var(--second-family);
    font-style: ;
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #D3D3D3;
    padding: 2px 0px 5px 0px;
    text-align: center;
    width: 195px;
    margin: 10px auto 5px;
   box-shadow: #ffffff 1px 1px 0px;
}


/* поле профессия */
.pa-fld6 {
    font-family: var(--second-family);
    font-style: ;
    font-weight: 0;
    font-size: 10px;
    text-transform: lowercase;
    border-radius: 0px 0px 0px 0px;
    border: 0px solid #D3D3D3;
    padding: 2px 0px 2px 0px;
    text-align: center;
    width: 200px;
    margin-top: 0px;
}

.lz {
    box-sizing: border-box;
    border-radius: 0px;
    border: 0px solid #D3D3D3;
    background: #0;
    padding: 5px;
    text-align: center;
    font-size: 11px;
    text-transform: lowercase;
    font-family: var(--second-family);
text-shadow: #ffffff 1px 1px 0px;
}

.lz2 {
    box-sizing: border-box;
    padding: 5px;
}

.prof {
    box-sizing: border-box;
    border-radius: 0px;
    border: 0px solid #D3D3D3;
    background: #;
    padding: 2px;
    text-align: center;
    font-size: 10px;
    text-transform: lowercase;
    font-style: italic;
    font-family: var(--second-family);
}


/* репутация и сообщения на одной строчке*/
.pa-posts,
.pa-respect {
    display: inline-block;
    width: 45px;
    margin-top: 6px;
    text-transform: lowercase;
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 8px;
    border-radius: 8px;
    border: 1px solid #D3D3D3;
    padding: 2px;
    text-align: center; 
   box-shadow: #ffffff 1px 1px 0px;
}



/* деньги и посты */
.pa-fld3, 
.pa-fld5 {
    display: inline-block;
    width: 40px;
    margin-top: 6px;
    text-transform: lowercase;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 8px;
    border-radius: 8px;
    border: 1px solid #D3D3D3;
    padding: 2px;
    text-align: center; 
   box-shadow: #ffffff 1px 1px 0px;
}


.pa-online,
.pa-last-visit {}


/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth));
  position: relative;
}

.post-box {
  padding: 10px 10px 10px 35px;
  font-size: 12px;
  width: 660px;
}

/* 1. Ссылки внизу тела поста */
.post-links {
  margin-left: var(--pwidth);
  width: 100%;
  text-transform: uppercase;
  font-family: var(--font-family);
  font-size: 8px;
}


/* 2. Делаем отдельную рамку для каждой кнопки */
.post-links li {
    border: 1px solid #D3D3D3 !important; /* Цвет и толщина рамки */
    border-radius: 4px !important;       /* Скругление углов (можно убрать) */
    background: #ffffff !important;      /* Цвет фона внутри рамки */
    padding: 4px 10px !important;        /* Внутренние отступы, чтобы рамка не липла к тексту */
    margin-left: 8px !important;         /* Расстояние между рамками-кнопками */
    display: inline-block !important;    /* Выстраиваем их в одну строку */
}

.post-links li:hover {
    border-color: #D3D3D3 !important;   /* Изменит цвет рамки при наведении */
    background: #f5f5f5 !important;      /* Изменит фон при наведении */
}



.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
}

.post-links li {
  display: inline;
}

.post-links li:not(:first-of-type) {
  padding-left: 10px;
}

.pl-email,
.pl-website {
  float: left;
}

.sharelink a {
    display: none!important;
}


.clearer {
  clear: both;
  height: 0;
  font-size: 0;
}


/* Контент поста - цитата, спойлер, таблицы и т.п. */

.punbb .post td {
  border: 0px transparent !important;
}

pre {
  font: 12px/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

.post-content em {
  font-style: italic;
}

.post .post-content td {
  border-width: 0px !important;
}

.post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.post-content p {
  margin: 0;
  padding: 0 0 12px 0;
  line-height: 150%;
  text-align: justify;
  text-transform: none;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 200px;
}

/* цитата и код */

.quote-box,
.code-box {
    margin: 4px 10px 10px;
    padding: 16px;
    border-bottom: 1px solid var(--link-hover);
    border-top: 1px solid var(--link-hover);
    background: var(--pun-bg);
    border-radius: 12px;
    font-family: arial;
    font-size: 12px;
    position: relative;
}

.code-box strong a {
   color: var(--sec-bg);
}

.quote-box cite, .code-box strong {
    font-weight: bold;
    font-style: normal;
    background: var(--main-acc);
    padding: 2px 15px;
    border-radius: 12px;
    position: absolute;
    top: 0;
    color: var(--sec-bg);
    margin-left: 15px;
    font-family: arial;
    font-size: 12px;
    text-transform: lowercase;
    transform: translateY(-50%);
}

.code-box strong.legend {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  font-style: normal;
    font-family: arial;
}

.post-content .spoiler-box>div::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--main-acc);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s linear 0s;
}

.post-content .spoiler-box > div.visible::before {
    transform: translateY(-50%) scale(50%);
}

.post-content .spoiler-box>div {
    background: transparent !important;
    padding-left: 25px!important;
    position: relative;
}

.post-sig dt {
  border-bottom: 1px solid var(--link-hover);
  width: 300px;
  margin: 10px auto;
}

/* Форма ответа */

#main-reply {
box-sizing: border-box;
  border-radius: 0 0 10px 10px;
    border: 1px solid #D3D3D3;
}


#post-form legend {
display: none;
}

#tags {
  position: relative;
}

#tags .container {
  padding: var(--pad3) !important;
  top: 0 !important;
}


/* Профиль + ЛС
------------------------------------------*/

#pun-profile {
    font-family: var(--font-family);
    text-transform: lowercase;
}

#pun-profile h1 span {
    font-size: 12px;
    padding: 5px;
    border-top: 1px dashed var(--main-acc);
    border-bottom: 1px dashed var(--main-acc);
}

#viewprofile-next {
   margin-left: 20px;
width: 965px;
  border: 0px solid var(--bord-bg);
border-radius: 6px;
}

#viewprofile tr {
    display: flex;
    gap: 60px;
    align-items: center;
}

#viewprofile-next #profile-left {
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 6px;
 background: var(--sec-bg);
  border: 1px solid var(--bord-bg);
    padding-bottom: 6px;
}

#viewprofile-next #profile-left li#profile-name strong {
    font-family: var(--second-family);
    font-weight: 800 !important;
    font-size: 14px;
    text-transform: lowercase;
}

#profile-left li#profile-title strong {
    width: 200px;
    display: block;
    text-align: center;
}

#profile .container {
  padding-left: 200px;
  min-height: 100px;
}

#profilenav {
  float: left;
  width: 180px;
  margin-left: -180px;
}

#profilenav h2 {
   display: none;
}

#viewprofile h2,
#profilenav h2 {
  padding: 0;
  margin: 0;
}

#profilenav li {
  padding: 0 0 13px;
}

#profilenav li a {
    background: var(--main-acc);
    text-align: center;
    border-radius: 10px;
    color: var(--pun-bg);
    padding: 2px 5px;
}

#viewprofile li {
  padding: 5px 0;
}

/* ================= КОНТЕЙНЕР ДЛЯ ВЕРТИКАЛЬНОГО СПИСКА ================= */
#profile-right {
    display: flex !important;
    flex-direction: column !important; /* Строго выстраивает блоки ДРУГ ПОД ДРУГОМ */
    gap: 0px !important;              /* Расстояние между строками списка */
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ================= ОДИНАКОВАЯ ВЫСОТА СТРОК-ПЛИТОК ================= */
#profile-right li {
    display: flex !important;
    align-items: center !important;     /* Центрирует текст внутри строки по высоте */
    justify-content: flex-start !important; /* Текст и плашки прижимаются к левому краю строки */
    
    /* Фиксированная одинаковая высота для ВСЕХ строк списка */
    height: 40px !important;            
    max-height: 60px !important;        
    box-sizing: border-box !important;  /* Защищает высоту от искажений */
    margin: 0 !important;
    padding: 0 !important;
}

#profile-right li span {
    width: 200px;
    flex-shrink: 0;
    background: var(--main-acc);
    text-align: center;
    padding: 1px 0;
    border-radius: 6px;
    color: var(--pun-bg);
    
    /* Идеально ровный текст внутри овальной плашки */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 26px !important;            /* Компактная высота самой цветной плашки */
    box-sizing: border-box !important;
}

#profile-right li span a {
    color: var(--pun-bg);
}

#profile-left li strong, #profile-right li strong {
  font-weight: normal !important;
}

img.avatardemo {
  float: right;
  margin: 0 0 8px 18px;
}

#pun-messages .clearer {
  display: none;
}







/* Прочие страницы
------------------------------------------*/

/* Список пользователей */

#pun-userlist .formal,
#pun-userlist .formal .container {
  margin-bottom: 0;
}

#pun-userlist .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .tcl {
  width: 40%
}

.usertable .container {background: var(--sec-bg);
    max-width: 930px;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #D3D3D3;
    padding: 25px;}

/* Собщения об ошибках */

.info .container {
  padding: var(--pad3);
}

.info .container .backlink {
  padding-top: 8px;
}

/* Регистрация */

.info-box {
  margin: 0 0 10px 0;
}

.info-box * {
  padding: 0 0 5px 0;
}

.info-box .legend {
  font-weight: bold;
}

.jGrowl-notification .jGrowl-close {
  position: relative;
  right: 6px;
}

.tipsy #respect figcaption {
  margin-top: 0;
}

/* Кнопки вверх-вниз
-------------------------------------------------------*/

.go-up,
.go-down {
  cursor: pointer;
  z-index: 9999;
  display: none;
  position: fixed;
  margin-left: 1010px !important;
  box-sizing: border-box;
  transition: all .3s linear 0s;
}

.go-up {
   top: 40%;
}

.go-down {
   top: calc(40% + 85px);
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}


/* Скрываем блок наград в профиле */
.pa-awards,
.user-awards-block {
    display: none !important;
}

/* Скрываем блок подарков в профиле */
.pa-gifts,
.user-gifts-block {
    display: none !important;
}





/* главный контейнер строго заданных размеров с фоновой картинкой */
.faces-theme-wrapper {
  max-width: 900px !important;
  width: 900px !important;
  height: 500px !important;
  margin: 20px auto;
  padding: 25px;
  box-sizing: border-box;
  background: linear-gradient(rgba(15, 15, 15, 0.75), rgba(15, 15, 15, 0.75)), url('https://picsum.photos') no-repeat center center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: #ffffff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
  text-transform: lowercase; /* лапслок */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* === исправление для hideprofile === */
/* гарантирует, что при скрытом профиле контент сообщения не будет резать широкие шаблоны */
.post .profile-is-hidden {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-left: none !important;
  box-sizing: border-box;
  overflow: visible !important; /* отменяет обрезание широких HTML-шаблонов по бокам */
}

/* центрирует шаблон внутри растянувшегося сообщения */
.profile-is-hidden .faces-theme-wrapper {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* полупрозрачная подложка для правил */
.faces-rules-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.faces-rules-box h4 { margin: 0 0 8px 0; font-size: 13px; font-weight: bold; color: #ffb347; }
.faces-rules-box p { margin: 0; font-size: 11px; line-height: 1.5; color: #dddddd; text-align: justify; }

/* контейнер трех колонок */
.faces-columns-container { display: flex; justify-content: space-between; gap: 15px; flex: 1; min-height: 0; }

/* стили отдельных полупрозрачных колонок */
.faces-column {
  flex: 1;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.faces-column h5 { margin: 0 0 10px 0; font-size: 12px; font-weight: bold; color: #ffb347; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 6px; }
.faces-scroll-area { flex: 1; overflow-y: auto; padding-right: 5px; }

/* кастомизация скроллбара */
.faces-scroll-area::-webkit-scrollbar { width: 4px; }
.faces-scroll-area::-webkit-scrollbar-track { background: transparent; }
.faces-scroll-area::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 2px; }
.faces-scroll-area::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }

/* списки */
.faces-list { list-style: none; padding: 0; margin: 0; font-size: 11px; }
.faces-list li { padding: 6px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: #cccccc; transition: all 0.2s ease; }
.faces-list li:last-child { border-bottom: none; }
.faces-list a { color: #64b5f6; text-decoration: none; transition: color 0.2s ease; }
.faces-list li:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.faces-list li:hover a { color: #ff8a80; text-decoration: underline; }


/* ПЛАШКА
-------------------------------------------------------*/
/* Обёртка плашки */
.plashka {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(https://i.pinimg.com/originals/cf/3c/a5/cf3ca54cdca4d6f562b193573d70784d.gif);
  height: 35px;
  border-radius: 5px 5px 5px 5px;
  border: 1px solid var(--bord-bg);
}

/* Отступ поля с плашкой */
.pa-fld4 {
  padding-top: 5px;
}


/* Колонка с текстом */
.plashka div {
  padding-left: 0px;
}


/* Текст плашки */
.plashka span {
    color: #ffffff;
    letter-spacing: 0.2;
    text-transform: lowercase;
    font-family: var(--second-family);
    font-size: 8px;
    text-shadow: 1px 1px 1px #000000;
}

/* Индивидуальные плашки профилей
-------------------------------------------------------*/
.post[data-user-id="5"] .post-author .plashka {
  background: url(https://i.pinimg.com/originals/ab/60/24/ab6024bb52c599e89bef586347e98652.gif);
}


/* Иконка в профиле
-------------------------------------------------------*/
/* Обёртка иконки (осталась без изменений) */
.proficon {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50px 50px 50px 50px;
    border: 1px solid #D3D3D3;
    background: var(--sec-bg);
    margin-left: 90px;
    margin-top: -10px;
    width: 35px;
    height: 35px;
}

/* Тег span — теперь работает как адаптивный контейнер */
.proficon span {
    display: flex; /* Позволяет вложенной картинке правильно масштабироваться */
    width: 60%;    /* Задает размер зоны для иконки (20px от родительских 40px) */
    height: 60%;
}

/* Сама картинка внутри тега span — теперь уменьшается автоматически */
.proficon span img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Автоматически уменьшает картинку без искажения пропорций */
}






/* гостевая */
/* главный контейнер всей гостевой */
.guest-room-wrapper {
  max-width: 870px;
  width: 100%;
  margin: 20px auto;
  padding: 50px;
  box-sizing: border-box;
  background: url('https://upforme.ru/uploads/0019/ed/82/2/51837.jpg');
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 0px 0px;
  border-bottom: 1px dashed var(--main-acc);
  border-top: 0px solid var(--link-hover);
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: #ffffff;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.6);
  text-transform: lowercase;
}

/* приветственное сообщение */
.guest-welcome-text {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #717171;
  text-align: justify;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: lowercase;
}

/* блок списков в два окошка */
.guest-lists-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.guest-scroll-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px;
  box-sizing: border-box;
}

.guest-scroll-box h4 {
  margin: 0 0 10px 0;
  font-size: 12px;
  font-weight: bold;
  color: #ffb347;
  text-align: center;
  text-transform: lowercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 5px;
}

/* контейнер прокрутки */
.scroll-box-inner {
  max-height: 120px;
  overflow-y: auto;
  padding-right: 5px;
}

/* стилизация полосы прокрутки */
.scroll-box-inner::-webkit-scrollbar {
  width: 4px;
}
.scroll-box-inner::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.scroll-box-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/* списки элементов */
.guest-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.guest-items-list li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #bbbbbb;
}

.guest-items-list li:last-child {
  border-bottom: none;
}

.guest-items-list a {
  color: #64b5f6;
  text-decoration: none;
}

.guest-items-list a:hover {
  text-decoration: underline;
}

/* блок генератора */
.reservation-generator {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.reservation-generator h3 {
  margin: 0 0 5px 0;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: #ffb347;
  text-transform: lowercase;
}

.gen-subtitle {
  font-size: 12px;
  text-align: center;
  color: #aaa;
  margin-bottom: 15px;
  text-transform: lowercase;
}

/* горизонтальное расположение полей в ряд */
.gen-inline-fields {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.reservation-generator input[type="text"] {
  flex: 1;
  width: 100%; /* переопределение для флекс-контейнера */
  box-sizing: border-box;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  transition: all 0.2s ease;
  text-transform: lowercase; 
}

.reservation-generator input[type="text"]::placeholder {
  text-transform: lowercase;
}

.reservation-generator input[type="text"]:focus {
  border-color: #64b5f6;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

.btn-container {
  position: relative;
  width: 100%;
}

.gen-btn {
  width: 100%;
  padding: 11px;
  background: #ffb347;
  border: none;
  border-radius: 5px;
  color: #111;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-transform: lowercase;
}

.gen-btn:hover {
  background: #ffa126;
}

#gen-result-block {
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

#gen-result-block label {
  display: block;
  font-size: 11px;
  margin-bottom: 6px;
  color: #ff8a80;
  text-transform: lowercase;
}

.textarea-container {
  position: relative;
  width: 100%;
}

.reservation-generator textarea {
  width: 100%;
  box-sizing: border-box;
  height: 50px;
  background: #141414;
  border: 1px solid #383838;
  border-radius: 5px;
  color: #2bda73;
  padding: 8px;
  font-family: monospace;
  font-size: 11px;
  resize: none;
  cursor: pointer;
  text-transform: lowercase;
}

.gen-tooltip {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #2bda73;
  color: #141414;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, top 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  text-transform: lowercase;
  z-index: 10;
}

.gen-tooltip.show-tooltip {
  opacity: 1;
  visibility: visible;
  top: -30px;
}

.gen-tip {
  display: block;
  font-size: 10px;
  color: #888;
  margin-top: 5px;
  text-align: right;
  text-transform: lowercase;
}

/* адаптивность для совсем маленьких мобильных экранов */
@media (max-width: 500px) {
  .guest-lists-container, .gen-inline-fields {
    flex-direction: column;
    gap: 12px;
  }
}




/* Стили для ссылки с подсказкой в личном звании */
.nav-tooltip {
    position: relative;
    display: inline-block;
    color: #4a90e2; /* Цвет ссылки */
    text-decoration: none;
    border-bottom: 0px dotted #4a90e2; /* Пунктир под ссылкой */
    cursor: help;
}

/* Стили самого блока подсказки */
.nav-tooltip .tooltip-text {
    visibility: hidden;
    width: 185px; /* Ширина всплывающего окна */
    background-color: var(--main-acc); /* Цвет фона подсказки */
    color: #ffffff; /* Цвет текста в подсказке */
    text-align: center;
    font-size: 9px;
    border-radius: 15px;
    border: 1px solid var(--bord-bg);
    padding: 6px;
    position: absolute;
    z-index: 100;
    bottom: 160%; /* Появление над ссылкой */
    left: 50%;
    margin-left: -99px; /* Центрирование (половина ширины) */
    opacity: 0;
    transition: opacity 0.8s ease; /* Плавное появление */
}

/* Треугольник под подсказкой */
.nav-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--main-acc) transparent transparent transparent;
}

/* Активация подсказки при наведении */
.nav-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}





