@import url(style_cs.1762065233.css);

/* Иконический шрифт */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/* Dimkin */
@import url('https://alexkolmar.github.io/fonts/Dimkin/stylesheet.css');

/* DINPro */
@import url('https://alexkolmar.github.io/fonts/DINPro/stylesheet.css');

/* Manrope */
@import url('https://fonts.googleapis.com/css2?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 {
  --body-bg: #0a1516;
  --dark-bg: #070f10;
  --border: #998962;
  --border2: #aaafb0;
  --pun-bg: #bcc3c4;
  --sec-bg: #b7bdbe;
  --link: cadetblue;
  --link-hover: mediumseagreen;
  --link2: #848f8a;
  --acc1: 169, 145, 87;
  --acc2: #a99157;
  --text-dark: var(--body-bg);
  --input: #07081c;
  --pwidth: 250px;
  --pad1: 10px 20px;
  --pad2: 5px 20px;
  --pad3: 5px 10px;
  --font1: "Manrope", sans-serif;
  --font2: "Dimkin";
  --font3: "DINPro", sans-serif;
  --fa: "Font Awesome 6 Pro", "Font Awesome 6 Brands";
  --msr: "Material Symbols Rounded";
  --color: #9ca4a4;
  --color1: #c5bdaa;
  --color2: #7f9695;
  --color3: #7e8b94;
  --color4: #1a3334;
  --color5: #0a1516;
  --color6: #a0a8a9;
  --color7: #2b433e;
  --color8: #64695c;
  --color9: #435254;
  --color10: #2b2d29;
  --ff-decorative: 'Mirra Auriolic', serif;
  --ff-headings: 'Cormorant', 'Helvetica Neue', Arial, sans-serif;
  --ff-body: 'Inter', 'Verdana', sans-serif;
  --rail-width-desktop: 44px;
  --rail-width-mobile: 32px;
  --rail-icon-size-desktop: 28px;
  --rail-icon-size-mobile: 22px;
  --chrono-page-bg: transparent;
  --chrono-surface: #ffffff;
  --chrono-surface-2: #f5f7fb;
  --chrono-border: #e3e7ef;
  --chrono-text: #1e2430;
  --chrono-muted: #6a7891;
  --chrono-accent: #2f6df6;
  --chrono-success-bg: #e9f7ef;
  --chrono-success-fg: #0f6a40;
  --chrono-done-bg: #eef2f7;
  --chrono-done-fg: #3d475a;
  --chrono-radius-sm: 8px;
  --chrono-radius-md: 12px;
  --chrono-shadow: 0 2px 10px rgba(0,0,0,.05);
  --chrono-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --chrono-font-size: 16px;
  --chrono-line: 1.45;
  --chrono-gutter-x: 20px;
  --chrono-gap: 16px;
  --chrono-gap-lg: 24px;
  --chrono-pad: 14px;
  --chrono-pad-lg: 18px;
  --chrono-date-col: 9.5ch;
}

/* 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%;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--acc1)) rgba(var(--acc1), .4);;
  }
}

/* прокрутка хром etc */

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  border-radius: 3px;
}

*::-webkit-scrollbar-track {
  background-color: rgba(var(--acc1), .4);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb {
  background-color: rgb(var(--acc1));
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:active {
  background: var(--acc2);
}

/* выделение текста */

::selection {
  background: var(--body-bg);
  color: var(--pun-bg);
}

:focus {
  outline: none;
}

/* все ссылки */

a, .punbb #pun-admain a {
  text-decoration: none;
  color: var(--body-bg);
  transition: all .2s linear 0s;
}

a:hover, .punbb #pun-admain a:hover {
  color: var(--body-bg);
}

/* все заголовки */

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;
}

/* модальные окна, репутация, закладки etc */

#tags .container,
.post_reputation,
#MyBookmarks,
.inner.popup_graffiti,
.pun-modal .modal-inner,
.punbb-admin #pun-admin-award-form .inner {
  background: var(--sec-bg);
  box-shadow: inset 0 0 0 1px var(--border2);
}

#float {
  z-index: 2;
  top: -50%;
}

/* Формы
------------------------------------------- */

/* ОФОРМЛЕНИЕ КНОПОК */

button, input.button, #pun-admain input.button, #sub4, input[type="button"], input[type="submit"] {
  padding: 2px 10px;
  border: none;
  cursor: pointer;
  transition: all .2s linear 0s;
  background: var(--acc2);
  border-radius: 5px;
  font-family: var(--font1);
  font-weight: bold;
  font-size: 14px;
  text-transform: lowercase;
}

button:hover, input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
  box-sizing: border-box;
}

textarea,
input,
select,
optgroup {
  font-size: 14px;
}

select {
  background: var(--acc2);
  border-radius: 5px;
  font-family: var(--font1);
  font-weight: bold;
  font-size: 14px;
  text-transform: lowercase;
}

optgroup {
  font-weight: bold;
}

textarea {
  background: var(--pun-bg);
  border-radius: 8px;
  border: 1px solid var(--border2);
}

/* флажки и чекбоксы */

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  width: 15px;
  height: 15px;
  background: var(--input);
  border-radius: 2px;
  cursor: pointer;
}

input[type="checkbox"]:checked::before {
  content: "\2713";
  color: var(--acc2);
  width: 15px;
  height: 15px;
  line-height: 15px;
  align-items: center;
  justify-content: center;
  display: flex;
}

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 3px;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 20px;
  vertical-align: middle;
}

.formal .container {
  padding: var(--pad1);
}

.formsubmit {
  padding: 0;
  margin: 10px 0 0 0;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

.punbb .main .formal fieldset {
  min-width: fit-content;
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: normal;
  text-transform: lowercase;
}

fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
}

.fs-box {
  padding: 5px 0;
}

.fs-box p,
.fs-box fieldset {
  padding: 0 0 8px 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
  float: left;
  margin-right: 10px;
}

.inline .infofield {
  clear: both
}

.datafield br {
  display: none
}

.required label,
.datafield span.input {
  font-size: 10px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

.hashelp {
  position: relative;
}


/*****************************
---------- МОБИЛЬНЫЙ СТИЛЬ ----------
------- by Alex Kolmar (бродяга) -------
*****************************/

@media screen and (max-width: 540px) {


  /* Основа и тело форума
  -------------------------------------------------------------*/

  * {
    box-sizing: border-box;
  }

  #pun {
    width: 100%;
    margin: 215px auto 100px;
  }

  .punbb {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    color: var(--body-bg);
  }

  /* Порядок основных блоков */

  #html-header {
    order: initial;
  }

  #pun-title {
    order: initial;
  }

  #pun-navlinks {
    order: initial;
  }

  #pun-ulinks {
    order: initial;
  }

  #pun-status {
    order: initial;
  }

  #pun-crumbs1 {
    order: initial;
  }

  #pun-main {
    order: initial;
  }

  #pun-stats {
    order: initial;
  }

  #pun-crumbs2 {
    order: initial;
  }

  #pun-about {
    order: initial;
  }

  #html-footer {
    order: initial;
  }

  /* Основные настройки содержимого*/

  .punbb>div>.container {
    padding: 5px 10px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
  }

  /* Поля ввода*/

  input,
  input[type="text"],
  input[type="password"],
  textarea,
  select {
    max-width: 100%;
  }

input:is(:focus, :focus-visible, :active), textarea:is(:focus, :focus-visible, :active), select:is(:focus, :focus-visible, :active) {
  outline: 0;
  box-shadow: inset 0 0 8px 1px #3d5a54cf;
}

  /* Шапка
  -------------------------------------------------------------*/

  #pun-title {
    width: 100%;
    background: url(https://forumstatic.ru/files/001c/89/0d/15275.png) no-repeat top center;
    top: 62px;
    height: 137px;
  }

  .night #pun-title {
    box-shadow: inset 0 0 0 1px var(--acc2);
  }

#html-header {
    width: 100%;
    top: 62px;
    height: 137px;
}

.tablica {
  justify-content: center;
}

.tab_logo {
  font-size: 72px;
}

.tab_about, .tab_wanted {
  display: none;
}


  /* Меню навигации
  -------------------------------------------------------------*/


  #pun-navlinks {
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: var(--body-bg);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
  }

  #pun-navlinks .container {
    height: auto;
    position: relative;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    box-sizing: border-box;
    padding: 0 60px 0 20px !important;
    gap: 5px;
  }

  #pun-navlinks > ul > li {
    display: block;
    padding: 0 5px;
  }

  #pun-navlinks > ul > li a {
    font-size: 0;
    padding: 0;
    display: flex;
    display: -webkit-flex;
    position: relative;
  }

  #pun-navlinks > ul > li span:not[data-last-unread] {
    display: none;
  }

#pun-navlinks li a:after,
#pun-ulinks:after {
    content: "";
    font-family: var(--fa);
    font-size: 22px;
    line-height: 40px;
    color: #ffcf70;
    font-weight: 700;
}

.night #pun-navlinks li a:after,
.night #pun-ulinks:after {
  color: var(--acc2);
}

  #pun-navlinks li#navindex a:after {
    content: "\f015";
  }

  #pun-navlinks li#navuserlist a:after {
    content: "\f0c0";
  }

  #pun-navlinks li#navsearch a:after {
    content: "\f002";
  }

  #pun-navlinks li#navprofile a:after {
    content: "\f007";
  }

  #pun-navlinks li#navpm a:after {
    content: "\f0e0";
  }

  #pun-navlinks li#navprofiles a:after {
    content: "\f630";
  }

  #pun-navlinks li#navadmin a:after {
    content: "\f013";
  }

  #pun-navlinks li#navlogout a:after {
    content: "\f2f5";
  }

  #pun-navlinks li#navlogin a:after {
    content: "\f2f6";
  }

  #pun-navlinks li#navregister a:after {
    content: "\f234";
  }

  #pun-navlinks li#navpr_1 a:after {
    content: "\f675";
  }

  #pun-navlinks li#navawards a:after {
    content: "\ea23";
  }

  #pun-navlinks li#navrules a:after {
    content: "\e85f";
  }

  #pun-navlinks li#navpm a span[data-last-unread]:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    display: block;
    animation: blinkColor 2s linear infinite;
    -moz-animation: blinkColor 2s linear infinite;
    -webkit-animation: blinkColor 2s linear infinite;
    background: var(--body-bg);
  }

  #pun-navlinks li#navpm span.num_msg {
    margin-top: 0;
    height: 20px !important;
  }

  span.num_msg::before {
    top: -3px !important;
    z-index: 100;
  }


  /* Меню пользовательских ссылок
  -------------------------------------------------------------*/

  #pun-ulinks {
    position: fixed;
    top: 0;
    right: 20px;
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 0 0 auto;
    border: none;
    z-index: 110;
    transform: none;
    border-radius: 0 0 12px 0;
  }

  #pun-ulinks.fixed {
    position: fixed !important;
    transform: none !important;
    top: 0 !important;
    width: 40px;
    border: none;
  }

  #pun-ulinks:after {
    content: "\f0c9";
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    cursor: pointer;
    font-size: 30px;
  }

  #pun-ulinks ul.container {
    padding: 5px 10px 10px !important;
    margin: 0 -8px 0 0;
    display: none;
    box-shadow: inset 0 0 0 1px var(--acc2), 0px 4px 10px rgba(0, 0, 0, 0.7);
    height: auto;
    border: none;
    text-align: left;
    background: var(--body-bg);
    z-index: 100;
    position: absolute;
    top: 40px;
    right: 0;
    border-radius: 0 0 0 12px;
    text-align: right;
  }

  #pun-ulinks:hover ul,
  #pun-ulinks:focus ul {
    display: block;
  }

  #pun-ulinks li {
    padding: 0 !important;
    display: block !important;
    white-space: nowrap;
  }

  #pun-ulinks li a {
    display: block;
    border: none;
    font: 700 14px/200% var(--font1) !important;
    padding: 5px 15px !important;
    color: #ffcf70;
    text-decoration: none !important;
    text-transform: uppercase;
  }

  .night #pun-ulinks li a {
      color: var(--acc2);
  }

  #pun-ulinks li a:hover {
    background: var(--acc2);
    color: var(--body-bg);
  }

  #pun-ulinks>span.notify-bubble {
    display: block !important;
  }

#stylelist {
    top: 20px;
    left: 20px;
  }


  /* Статус и путь
  -------------------------------------------------------------*/

  #pun-status .container {
    text-align: left;
    display: block;
    font-size: 12px;
  }

  #pun-status span {
    display: block;
    white-space: normal;
  }

  .punbb #pun-status .status-right {
    float: none;
  }

  .punbb .container.crumbs {
    display: block;
    padding: 10px 20px !important;
  }


  /* Футер
  -------------------------------------------------------------*/

  /* Копирайт */
  #pun-about .container {
    justify-content: center;
  }

.banners {
  margin-top: 20px;
}


  /* Главная форумная таблица
  -------------------------------------------------------------*/

.main {
  border-radius: 0;
}

.main .forum a {
  font-weight: bold;
}

.main .forum .tcl a {
  font-size: 14px;
}

.main .forum .tc2 a, .main .forum .tc3 a {
  font-weight: normal;
}

.forum .byuser {
  font-weight: normal;
  opacity: .5;
}

#pun-searchtopics .tc3 {
  opacity: .5;
}

  /* Заголовки */
  .punbb .main h1,
  .punbb .main h2 {
    width: initial !important;
    margin: 0;
    border-radius: 0;
    height: auto;
    min-height: 30px;
  }

  .punbb h1 span,
  .punbb h2 span {
    font-size: 20px;
  }

  .punbb thead {
    display: none;
  }

  .punbb .main .hasicon,
  .punbb .main tr {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
  }

  .punbb .main tr {
    padding: 5px 0;
  }

  .punbb .main td {
    padding: 5px 10px;
  }

  .punbb .main .tcl,
  .punbb .main .tcr,
  #pun-searchtopics .main .tcl,
  #pun-modviewforum .main .tcl {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 5px 0 !important;
  }

  .punbb .main .intd {
    display: flex;
    display: -webkit-flex;
    width: 100%;
  }

  .punbb .tclcon {
    padding-right: 50px;
    flex-grow: 1;
  }

  .punbb div.icon {
    position: relative;
    order: 2;
    flex-shrink: 0;
  }

  #pun-index div.icon {
    position: absolute;
    margin: 0;
    order: unset;
  }

  .punbb .main .tc2,
  .punbb .main .tc3,
  #pun-searchtopics .main .tc2,
  #pun-searchtopics .main .tc3 {
    text-align: left;
    width: auto;
    padding-left: 0;
    display: block;
  }

  .punbb .main .tc2:before,
  .punbb .main .tc3:before {
    content: "";
  }

  #pun-index .main .tc2:before {
    content: "Тем: ";
  }

  #pun-index .main .tc3:before {
    content: "Сообщений: ";
  }

  #pun-viewforum .main .tc2:before,
  #pun-searchtopics .main .tc3:before {
    content: "Ответов: ";
  }

  #pun-viewforum .main .tc3:before {
    content: "Просмотров: ";
  }

  #pun-searchtopics .main .tc2:before {
    content: "Форум: ";
  }

  .punbb .main .tcr {
    position: relative;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }

  .punbb .tcr .user-avatar {
    margin: 0 10px;
    height: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
  }

  .punbb .tcr>a,
  .punbb .tcr .lastpost,
  .punbb .tcr>.byuser {
    width: fit-content;
    text-align: right;
    margin-right: 46px;
  }

.tcr br {
  display: none;
}

  .punbb .user-avatar .avatar-image {
    display: flex;
    display: -webkit-flex;
  }

  /* Главная страница
  -------------------------------------------------------------*/

#pun-index .main {
  padding: 0;
}

#pun-announcement, #pun-announcement .html-box, #pun-index .category .container, .stats_wrap, .banners {
  width: 100%;
  box-sizing: border-box;
}

.punbb #pun-announcement .container {
  padding: 0 20px 10px;
}

#pun-index .category h2 {
  margin: 0;
  border-radius: 0;
}

#pun-index .category .container {
  margin: 20px 0;
  border-radius: 0;
}

#pun-index .tclcon {
  padding-right: 0;
}

#pun-index .tcl h3 {
  margin: 0 0 10px 35px;
}

.for_links {
  justify-content: center;
}

#pun-index .tcr {
  white-space: normal;
}

#pun-index .tcr a {
  font-size: 14px;
}

#pun-status, #pun-crumbs1, .main {
  margin: 0;
}

  /* Статистика
  -------------------------------------------------------------*/

  .punbb #pun-stats .container {
    justify-content: right;
    padding: 0;
  }

  .stats_wrap {
    margin: 0;
    position: relative;
    flex-wrap: wrap;
    justify-content: flex-start;
    transform: none;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    gap: 10px;
    border-top: none;
  }

#pun-stats .item4 {
  order: -1;
  width: 100%;
}

li#onlinelist {
  padding: 0 20px;
  margin: 30px 0;
}


  /* Темы и страницы
  -------------------------------------------------------------*/


.forum .tcl, .forum .tcr {
  width: 100% !important;
}

.forum tr {
  border-bottom: 1px solid var(--border2);
}

.night .forum tr {
  border-bottom: 1px solid var(--acc2);
}

.punbb:not(#pun-index) .tcr > a, .punbb:not(#pun-index) .tcr .lastpost:not(#pun-index), .punbb .tcr > .byuser {
  margin-right: 0;
}

  #pun-searchposts .post h3 span {
    justify-content: flex-start;
    gap: 0 10px;
  }

  /* Верхние ссылки в топике и списках тем */
  .punbb .linkst {
    padding: 10px 20px;
  }

  /* Меню модератора */

  .punbb .modmenus {
    flex-wrap: wrap;
  }

  .punbb .modmenu .container {
    gap: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #topic-users-in .container {
    justify-content: flex-start;
  }

  .punbb .modmenu .container:after {
    display: none;
  }

  .punbb .modmenu strong,
  .punbb .modmenu a {
    height: initial;
  }

  #pun-viewforum .modmenu .container strong a {
    font-size: 0;
  }

  #pun-viewforum .modmenu .container strong a:after {
    content: "Действия с темами";
    font-size: initial;
  }

  /* Нижние ссылки в топике и списках тем */
  .punbb .linksb {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .linksb .pagelink {
    order: 1;
    flex-grow: 1;
    width: auto;
  }

  .punbb .postlink,
  .punbb .linksb noindex {
    order: 2;
    flex-grow: 1;
    width: auto;
  }

  .subscribelink {
    order: 3;
    width: 100%;
  }

  .punbb .postlink.long {
    width: auto;
  }

  #pun-admain #tag-filter-container {
    margin-bottom: 10px;
  }

  .punbb .per-page-select,
  #profile10 .submitend .pagelink {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .punbb .per-page-select .page-container,
  .files-pagelink {
    flex-grow: 1;
  }

  /* Список пользователей
  -------------------------------------------------------------*/

  #pun-userlist tr:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, .5);
  }

  #pun-userlist tr td,
  #pun-userlist .tcl,
  #pun-userlist .tc2 {
    width: 100%;
  }

  #pun-userlist .tc3 {
    display: none;
  }


  /* Топик
  -------------------------------------------------------------*/

  /* Пост */
  .punbb .post {
    margin: 0;
    scroll-margin-top: 40px;
  }

  /* Дата поста */
  .punbb .post h3 {
    border-radius: 0;
    width: 100%;
  }

  .punbb .post h3 span {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px 20px;
  }

  .punbb .post h3 span .permalink {
    flex-grow: 1;
  }

  .punbb .post h3 span strong {
    order: 2;
  }

  .punbb .post h3 .sharelink {
    order: 3;
    margin-left: 5px;
    display: none;
  }

  /* Содержимое поста */
  .punbb .post > .container {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    padding: 20px !important;
  }

  /* Автор */
  .punbb .post .post-author {
    margin: 0;
    width: 100%;
    min-height: 124px;
    box-sizing: border-box;
    background: none;
    display: flex;
    align-items: center;
    gap: 20px;
    border: none;
  }

  #pun-searchposts .post .post-author {
    min-height: unset;
  }

  .punbb .post .post-author ul {
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--body-bg);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .night .punbb .post .post-author ul {
    box-shadow: inset 0 0 0 1px var(--acc2);
  }

  /* Скрыть поля профиля */
  .pa-reg,
  .pa-from,
  .pa-invites,
  .pa-positive,
  .pa-icq,
  .pa-sex,
  .pa-age,
  .pa-ip,
  .pa-time-visit,
  .pa-last-visit,
  .pa-online,
  .pa-awards,
  .pa-fld3 {
    display: none !important;
  }

  /* Аватар */
  .punbb .post-author .pa-avatar {
    width: 80px;
    height: 100px;
    display: block;
    position: absolute;
    margin: 0;
    order: -2;
  }

  .punbb .post-author .pa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 100px;
    max-width: 80px;
  }

  /* Ник и статус */
  .punbb .post-author .pa-author {
    margin: 0 auto 12px 95px;
    padding: 0 20px;
    width: fit-content;
    text-align: left;
}

  .punbb .post-author .pa-title {
    margin-left: 95px;
    padding: 0;
    width: 100%;
    text-align: left;
  }

  /* Сообщения */
  .punbb .post-author .author_wrap {
    margin: 0 auto 0 95px;
    gap: 20px;
  }

.pa-fld4 .fld-name, .pa-respect .fld-name, .pa-posts .fld-name, .pa-fld1 .fld-name {
  margin-bottom: 5px;
}

  /* Доп. поле 1 (лз) */
  .punbb .post-author .pa-fld2 {
    width: 100%;
    order: 1;
    display: none;
  }

  .mobile-email-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-email-links .pl-email a {
    font-size: 0;
  }

  .mobile-email-links .pl-email a:before {
    content: "";
    font-size: 20px;
    font-family: var(--msr);
    font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 48;
    color: var(--border2);
  }

  .night .mobile-email-links .pl-email a:before {
     color: var(--acc2);
  }

  .mobile-email-links .pl-email.profile a:before {
    content: "\e7fd";
  }

  .mobile-email-links .pl-email.pm a:before {
    content: "\e158";
  }

  .mobile-email-links .pl-email.email a:before, .messages-container .mobile-email-links .pl-email a:before {
    content: "\e873";
  }

  /* Тело поста */
  .punbb .post-body {
    margin: 0;
    width: 100%;
  }

  /* Содержимое тела поста */
  .punbb .post-box {
    padding: 10px 0;
  }

  /* Строки поста */
  .punbb .post-content p {
    padding: 0 0 5px 0;
  }

  /* Таблицы поста */
.post-content tr {
    display: flex;
    flex-wrap: wrap;
}

.post-content td {
  width: 100% !important;
}

  /* Цитата, спойлер и код */
  .punbb .post-content .quote-box,
  .punbb .post-content .code-box {
    margin: 5px 0 10px;
    padding: 0;
  }

  /* хтмл-содержимое в постах */
  .punbb .post-content iframe {
    box-sizing: border-box;
    max-width: 100%;
  }

  /* Подпись */
  .punbb .post-box .post-sig {
    display: none;
  }

  /* Ссылки профиль, удалить, цитировать и т.п. */
  .punbb .post-links {
    margin: 0;
  }

  .punbb .post-links ul {
    padding: 0;
    margin: 5px 0 0;
    text-align: justify;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .punbb .post-links ul::after {display: none;}

  .punbb .post-links li a {

  }

  .punbb .post-links ul li {
    padding: 0;
    line-height: initial !important;
  }



  /* Форма ответа */
  .punbb #form-buttons {
    width: 100%;
    display: block;
  }

  .punbb #form-buttons tr {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 10px 20px;
  }

  #form-buttons td {
    display: block;
    width: 26px;
    height: 26px;
  }

.punbb #form-buttons td#button-options {
  display: none;
}

  #post-form #tags .container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-bottom: 10px;
  }

  #post-form #tags #font-area {
    padding-bottom: 15px !important;
  }

  #post-form #table-area tr {
    flex-wrap: nowrap;
    padding: 0;
  }

  #post-form .formsubmit {
    text-align: center;
  }

  /* Поиск сообщений
  -------------------------------------------------------------*/

  #pun-searchposts .post-author ul {
    justify-content: space-between;
    width: 100%;
  }

  #pun-searchposts .post li.pa-author,
  #pun-searchposts .post li.pa-replies {
    text-align: left;
    width: auto;
    margin: 0;
  }

  #pun-searchposts .post-links ul {
    margin: 0;
    height: 150%;
  }

  #pun-searchposts .post-links li a {
    font-size: initial;
  }


  /* Просмотр профиля
  -------------------------------------------------------------*/

  #viewprofile-next #profilenav {
    display: none;
  }

  #viewprofile ul,
  #profilenav ul {
    padding: 0;
    margin: 0 0 10px;
  }

  #viewprofile tr {
    flex-direction: column;
  }

  #viewprofile td {
    width: 100%;
  }

  #viewprofile li,
  #viewprofile li strong,
  #viewprofile li span,
  #viewprofile li div,
  #setmods dd,
  #setmods dl {
    /*! margin: 0; */
    /*! padding: 0; */
  }

  #viewprofile #profile-left {
    text-align: center;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, .3);
  }

  #viewprofile #profile-left li#pa-avatar {
    padding: 5px;
  }

  #viewprofile #profile-right {
    padding: 10px 0 0;
  }

  #profile-right li {
    display: flex;
    flex-wrap: wrap;
  }

  #profile-right li span {
    width: auto;
    padding-right: 5px;
  }

  #viewprofile #profile-right li strong {
    width: auto;
    padding: 0;
  }

  #viewprofile #profile-signature {
    padding: 5px 0;
  }

  #viewprofile #profile-signature ul {
    padding: 10px 0 0;
  }


  /* Редактирование профиля и ЛС
  -------------------------------------------------------------*/

  #profile>.container {
    padding: 5px 10px !important;
  }

  .punbb #profilenav {
    width: 100%;
    margin: 0;
    display: block;
  }

  #viewprofile h2,
  #profilenav h2 {
    margin: 0;
  }

  #profilenav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 10px;
  }

  #profilenav li {
    padding: 0;
    box-sizing: border-box;
  }

  #pun-messages #notify-settings {
    width: 100%;
  }

  #pun-messages #notify-settings .inp2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  #OnOff_Notify {
    margin: 0 !important;
    order: 1;
  }

  #OnOff_Notify+label {
    display: none;
  }

  #volume-set {
    align-items: center;
    display: flex;
  }

#messages {
border-top: 1px solid var(--border2);
}

  #profile #messages fieldset,
  #profile #messages fieldset .fs-box {
    padding: 0;
    margin: 0;
  }

  .punbb .main #profile #messages .hasicon tr {
    justify-content: space-between;
    border-bottom: 1px solid var(--border2);
  }

  .punbb .main #profile #messages .hasicon .tcl {
    width: 100% !important;
    padding: 10px !important;
  }

  #profile #messages .hasicon .pmtc22 {
    display: flex;
    width: 100% !important;
    justify-content: flex-end;
  }

  #profile #messages .hasicon .tc3:before {
    content: "Дата: "
  }

  #profile #messages .hasicon .tc3,
  #profile #messages .hasicon .pmtc24 {
    display: block;
    width: auto !important;
    padding: 5px 10px !important;
  }

  #profile #messages .hasicon .pmtc24:before {
    content: "Выбрать: "
  }

.messages-container .post h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin: 5px 0;
}

.messages-container .post h3 span {
  padding: 5px 0;
}

.messages-container .post .container {
  padding: 10px 20px !important;
}

  #pun-messages .post-author {
    min-height: unset;
    margin: 0 0 20px 0;
  }

  #pun-messages .post-author ul {
    min-height: 124px;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: flex-start;
  }

#pun-messages .post .post-body {
  margin: 0;
}

#pun-messages .post .post-box {
  padding: 0 0 10px;
}

#pun-messages .tcl a {
  font-weight: bold;
  font-size: 14px;
}

  /* Активные пользователи
  -------------------------------------------------------------*/

  #pun-online .online-list tr:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
  }

  #pun-online .username {
    gap: 5px;
  }

  #pun-online .registered-user,
  #pun-online .tcl.action,
  #pun-online .tc3 {
    width: 100% !important;
    display: block;
  }

  /* Уважение и позитив
  -------------------------------------------------------------*/

  #pun-respect .main .container,
  #pun-positive .main .container {
    padding: 10px;
  }

  #pun-respect tr,
  #pun-positive tr {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
  }

  #pun-respect td,
  #pun-positive td {
    width: 100% !important;
    font-size: 12px !important;
    line-height: 1.2;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
  }

  #pun-respect td::before,
  #pun-positive td::before {
    content: "";
    width: 100px;
    display: inline-block;
    font-weight: bold;
    flex-shrink: 0;
  }

  #pun-respect td.tcl::before,
  #pun-positive td.tcl::before {
    content: "Когда: ";
  }

  #pun-respect td.tc2::before,
  #pun-positive td.tc2::before {
    content: "Что: ";
  }

  #pun-respect td.tc3::before {
    content: "Кто: ";
  }

  #pun-positive td.tc3::before {
    content: "Кому: ";
  }

  #pun-respect td.tc4::before,
  #pun-positive td.tc4::before {
    content: "За что: ";
  }

  #pun-respect td.tcr::before,
  #pun-positive td.tcr::before {
    content: "Где: ";
  }

  #pun-respect .tcr a,
  #pun-positive .tcr a {
    width: auto;
    text-align: left;
    margin: 0;
  }


  /* Загрузка файлов
  -------------------------------------------------------------*/

  #filetable {
    margin-bottom: 10px;
  }

  #filetable tr {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
  }

  .punbb #filetable td {
    width: 100% !important;
  }

  .punbb #filetable .tc2,
  .punbb #filetable .tc3:not(.checker) {
    display: none;
  }

  .punbb #filetable .tc3.checker {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .punbb #filetable .tc3.checker:before {
    content: "Выбрать:"
  }

  /* Админка
  -------------------------------------------------------------*/

  .punbb-admin .adminmain * {
    box-sizing: border-box;
    max-width: 100%;
  }

  .punbb-admin #pun-adnav {
    margin: 0;
    float: none;
  }

  .punbb-admin #pun-admain {
    padding: 0;
  }

  .punbb-admin #pun-adnav ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }

  .punbb-admin #pun-adnav li {
    padding: 2px 5px;
  }

  .punbb-admin #pun-admain fieldset .handle,
  .punbb-admin #pun-admain fieldset p {
    border: none;
  }

  .punbb-admin #pun-admain .adlabel {
    padding: 0 5px !important;
    margin: 0;
    position: relative;
    width: auto;
    display: block;
    text-align: center;
  }

  .punbb-admin .adcontainer {
    padding: 5px 10px !important;
  }

  .punbb-admin #pun-admain .adformal div ul,
  .punbb-admin #pun-admain div p {
    padding: 5px !important;
  }

  .punbb-admin #pun-admain .adcontainer td {
    border: none;
    padding: 5px;
  }

  .punbb-admin .adcontainer .adsubmitfield {
    display: flex;
    flex-direction: column;
  }

  .punbb-admin #pun-admain span.adsubmit {
    position: relative;
    width: auto;
    top: 0 !important;
    margin: 0 auto;
    display: block;
    padding: 5px;
    left: 0;
  }

  .punbb-admin #pun-admain1 .sortable p input[name^="cat_name"] {
    margin: 0;
    position: relative;
    width: calc(100% - 20px);
  }

  .punbb-admin #pun-admain input[type="submit"] {
    margin: 0 auto;
    display: block;
  }

  #pun-admain .adformal p.submittop,
  #pun-admain .adformal p.submitend {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px;
  }

  #pun-admain .adformal p.submittop input[type="submit"],
  #pun-admain .adformal p.submitend input[type="submit"] {
    margin: 0 5px;
  }

  .punbb-admin #pun-admain fieldset .subforums {
    margin-left: 0;
  }

  .punbb-admin .admin-advert-block {
    width: auto;
  }

  .punbb-admin input[type="text"] {
    width: 100%;
  }

  .page-list tr,
  #pun-admin_logs #pun-admain .adcontainer tr {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
  }

  .punbb-admin #pun-admain .page-list td {
    width: 100% !important;
  }

  #metatags input#fld0content {
    margin: 0 !important;
  }

  #pun-admin_paid_services #pun-admain .linksb {
    height: auto !important;
    flex-direction: column;
  }

  #pun-admin_logs #pun-admain .adcontainer tbody {
    width: 100%;
    display: block;
  }

  #pun-admin_logs #pun-admain .adcontainer td {
    width: 100% !important;
    text-align: left !important;
  }

  /* Награды
  -------------------------------------------------------------*/

  .mod-awards .category h2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mod-awards .category h2 .fr {
    position: relative;
    right: unset;
    font-size: 12px;
  }

  #awards-content {
    padding: 0;
  }

  #awards-content td {
    width: 100%;
    font-size: 12px;
    display: inline-block;
  }

  .mod-awards-user #awards-content td:nth-child(3),
  .mod-awards-user #awards-content td:nth-child(4) {
    display: flex;
    gap: 5px;
  }

  #awards-content td:before {
    content: "";
    width: 100px;
    font-weight: bold;
    display: inline-block;
    flex-shrink: 0;
  }

  .mod-awards-list #awards-content td:nth-child(1)::before,
  .mod-awards-user #awards-content td:nth-child(1)::before {
    content: "Название:";
  }

  .mod-awards-list #awards-content td:nth-child(2)::before,
  .mod-awards-user #awards-content td:nth-child(2)::before {
    content: "Иконка:";
  }

  .mod-awards-list #awards-content td:nth-child(3)::before {
    content: "Описание:";
  }

  .mod-awards-list #awards-content td:nth-child(4)::before {
    content: "Лауреаты:";
  }

  .mod-awards-user #awards-content td:nth-child(3)::before {
    content: "За заслуги:";
  }

  .mod-awards-user #awards-content td:nth-child(4)::before {
    content: "Вручена:";
  }

  .mod-awards-users #awards-content td:nth-child(1)::before {
    content: "Пользователь:";
  }

  .mod-awards-users #awards-content td:nth-child(2)::before {
    content: "Кол-во наград:";
  }

  .mod-awards-users #awards-content td:nth-child(3)::before {
    content: "Награды:";
  }

  .mod-awards-users #awards-content td:nth-child(4)::before {
    content: "Детали:";
  }

  /* Личная страница
  -------------------------------------------------------------*/

.reveal-modal, .char_tabs {
  width: 100%;
}

  /* Кастомные блоки
  -------------------------------------------------------------*/

  .punbb .quenta .post-content p {
    padding: 0;
  }

.quenta .q-grid {
  display: flex;
  flex-wrap: wrap;
}

.punbb .q-gallery p {
  text-align: center;
}

.punbb .q-gallery img {
  max-width: 100px !important;
}

.q-title > div {
  flex: unset !important;
}

.quenta .q-cell, .quenta .q-section {
  width: 100%;
}

.quenta .q-grid .q-section {
  margin: 0;
}

.episode-info {
  flex-wrap: wrap;
}

.episode-info .episode-info-item {
  text-align: center;
}

  .punbb .pp-card {
    padding: 20px;
    box-shadow: none;
    margin: 0 auto;
    height: 900px;
  }

.pp-header {
  flex-wrap: wrap;
}

.pp-card .pp-name {
  margin: 0;
  padding: 0;
  width: fit-content;
  text-align: left;
}

.pp-card .pp-nav {
  flex-wrap: wrap;
  gap: 10px;
}

.pp-card .pp-panel-content {
  flex-direction: column;
}

.pp-card .pp-facts {
  display: flex;
  flex-direction: column;
}

.pp-card .pp-section-box {
  border: none;
}

  /* Дополнительно
  -------------------------------------------------------------*/

  /* Отключение закругления текстовых полей в Safari */

  button,
  input.button,
  input[type="text"],
  input[type="password"],
  select {
    appearance: auto;
    -webkit-appearance: none;
    -moz-appearance: auto;
  }

.scroll-rail {
  display: none;
}

  #pun-navlinks ul.multiacc-profilemenu {
    top: 40px;
  }

  #pun-navlinks ul.multiacc-profilemenu > li a {
    font-size: 14px;
  }

 #pun-navlinks li#navprofiles ul.multiacc-profilemenu a::after {
    display: none;
  }

 #pun-navlinks li#navprofiles ul.multiacc-profilemenu a {
   display: inline-block;
 }

}

@media screen and (max-width: 343px) {

  #pun:not(.gid3) #html-header, #pun:not(.gid3) #pun-title {
    top: 100px;
  }

  #pun:not(.gid3) {
    margin: 255px auto 100px;
  }

  #pun:not(.gid3) .punbb .post {
    scroll-margin-top: 80px;
  }

}