/*  ===================== СОДЕРЖАНИЕ ===================== 

I. РАЗНЫЕ ВАЖНЫЕ ИМПОРТЫ
II. ПЕРЕМЕННЫЕ
    II.a ОБЩЕЕ НА ДЕНЬ И НОЧЬ
    II.b СВЕТЛАЯ ТЕМА (ДЕНЬ)
    II.c ТЕМНАЯ ТЕМА (НОЧЬ)
III. МОБИЛЬНАЯ ВЕРСИЯ
*/

/* I. РАЗНЫЕ ВАЖНЫЕ ИМПОРТЫ
-----------------------------------------*/

/* style_cs.1784466748.css - здесь у нас десктопный стиль*/
@import url(style_cs.1784466748.css);

/* шрифт с иконками - нужны всегда */

@font-face {
  font-display: block;
  font-family: "bootstrap-icons";
  src:
    url("/files/001b/ef/4a/38279.woff2") format("woff2"),
    url("/files/001b/ef/4a/37401.woff") format("woff");
}

/* шрифты для дизайна */

/* Montserrat тут только для админки */

@font-face {
  font-family: "Montserrat";
  src: url("/files/001b/ef/4a/59400.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Afjat";
  src: url("/files/001b/ef/4a/60716.ttf") format("truetype");
}

@font-face {
  font-family: "Thing It";
  src: url("https://forumstatic.ru/files/001b/ef/4a/95180.otf") format("opentype");
}

@font-face {
  font-family: "Thing Reg";
  src: url("/files/001b/ef/4a/80740.otf") format("opentype");
}

/* II. ПЕРЕМЕННЫЕ
-----------------------------------------*/

/* II.a ОБЩЕЕ НА ДЕНЬ И НОЧЬ */

:root {
  /* отступ от контента */
  --general-padding: 35px;
  --hover-transition: all 200ms cubic-bezier(0.2, 0.2, 0.2, 1) 200ms;
  --punbb-extra-bottom: 52px;/* для тела снизу */

  /* шрифты  */
  --icon-font: "bootstrap-icons";
  --regular-font: "Montserrat";
  --big-titles-font: 'Thing It';
  --small-titles-font: "Afjat";

  --mem-font-v7: "Raleway";

  /* картиночки */
  --foot: url(/files/001b/ef/4a/58445.png);
  --header-mobile: url(https://forumstatic.ru/files/001b/ef/4a/39483.jpg);
  --nav: url(https://upforme.ru/uploads/001b/ef/4a/3/976339.png) no-repeat center bottom;
  --guest: url(https://upforme.ru/uploads/001b/ef/4a/3/976339.png) no-repeat center bottom/cover;
}

/* II.b СВЕТЛАЯ ТЕМА (ДЕНЬ) */

:root {
  /* ФОН И ТЕЛО ФОРУМА */

  --header: url(/files/001b/ef/4a/10387.jpg);
  --body: #d7d8d8 url(/files/001b/ef/4a/81399.jpg);
  --body-mobile: linear-gradient(90deg, #eeeeed, #d6d8d8), #e2e2e1;

  --pun-bg: #c98691;
  --pun-border: none;
  --pun-outline: none;
  --pun-box-shadow:
    0 0 0 2px #c98691,
    inset 0 0 0 10px #c98691,
    inset 0 0 0 26px #b8d9e8,
    inset 0 0 0 28px #fbfaf8,
    inset 0 0 22px 4px #9b606466;

  --punbb-bg: #fbfaf8;
  --punbb-index-bg: #eae9e7;
  --punbb-border: none;
  --punbb-outline: 1px solid transparent;
  --punbb-box-shadow:
    inset 0 0 18px 1px #e8e4e1;
  --punbb-tr-border: 1px solid #d8d1cf66;

  /* мобильная версия */
  --mobile-pun-box-shadow:
  0 0 0 5px #ad1d32,
  inset 0 0 0 3px #b8d9e8,
  inset 0 0 0 5px #fbfaf8,
  inset 0 0 18px 2px rgb(255 255 255 / 30%);

 --mobile-category-bg: #fbfaf8;
--mobile-category-title-back: #c6c6c6;
--mobile-category-box-shadow:
  0 0 0 2px #d8d1cf,
  inset 0 0 10px 2px #ffffffb3;

  /* ТЕКСТ */
  /* основной */
  --text-color: #6e6260;
  --colored-text: #9b6064;
  --light-text: #ffffff;
  --contrast-text: inherit;

  /* ссылки */
  --links-color: #4d728c;
  --links-hover: #ad1d32;
  --ulinks-color: #b64d54;
  --ulinks-hover: #4d728c;

  /* надписи с фоном: ссылки в подфоре, стата, тайтлы */
  --text-badge-bg: #ce8383;
  --text-badge-color: #ffffff;
  /* фон ссылок при наведении */
  --text-badge-hover-bg: #afc6d8;

  /* КАТЕГОРИИ И ПОДФОРУМЫ */
  --category-title: #93c1d9;
  --category-title-shadow: #ffffff;
  --category-title-stroke: #d7e9f0;
  --category-bg: #fbfaf8;
  --category-box-shadow: 0 0 0 1px #d5d5d5, 0 0 0 2px #f9f9f9, 0 0 0 7px #ebeae8, 0 0 0 8px #d5d5d5, 0 0 0 9px #f9f9f9;

  --forum-bg: transparent;
  --forum-box-shadow: none;
  --forum-text: #9b6064;
  --forum-border: 1px solid #e2dedb;

  --topic-title: inherit;

  /* иконочное */
  --icon-bg: #adbbc4;
  --icon-new-bg: #ad1d32;
  --icon-box-shadow: 0 0 7px 0px #7a76763b, 0 0 10px 4px #aaa5a51a, inset 0 0 0px #70707073;

  /* ПРОФИЛЬ */
  --profile-bg: #f4f1ef;
  --profile-border: #ffffff;
  --profile-color: #8a7a78;
  --profile-login: #b64d54;
  --profile-box-shadow: none;
  --profile-av-border: #eef5f8;
  --profile-av-shadow: 0 0 5px 0 #9fa8aa;
  --profile-av-bg: #dcecf2;
  --profile-after-box-shadow:
    0 0 5px 1px #93c1d9, 0 0 0 6px #fbfaf8, 0 0 0 7px #cfe2ea;
  --profile-sub: #e8e4e1;
  --profile-sub-bord: 1px solid #eee9e6;

  /* иконка и анкета */
  --profile-anketa: #ad1d32;
  --profile-anketa-bg: #eee9e6;
  --profile-anketa-border: 1px solid #cfe2ea;
  --profile-anketa-box-shadow: 0 0 4px inset #ffffff;
  --profile-icon-bg: #dcecf2;
  --profile-links: #4d728c;

  /* ТЕМЫ, ШАБЛОНЫ, ЦИТАТЫ И ДР. КОНТЕЙНЕРЫ */

  /* всякие большие контейнеры текста, например цитаты, код, всякие модалки и тд */
  --container-bg: #fbfaf8;
  --container-border: 1px solid #ffffff;
  /* тут окантовка, сделанная на box-shadow - для тем */
  --container-stroke: 0 0 0 1px #d8d1cf, 0 0 3px #cfe2ea inset;
  /* а здесь просто тень для модальных окошек */
  --container-shadow: 0 0 8px 0px #99999980;
  --container-text: #6e6260;
  --container-headline: #9b6064;

  /* какие-нибудь мини-элементы внутри контейнера */
  --container-element-bg: #ffffff;
  --container-element-color: #5f5352;
  --container-element-box-shadow: 0 0 0px 1px #d8d1cf, inset 0 0 7px #e8e4e1;

  /* полупрозрачные */
  --container-transparent: #93c1d936;
  --container-transparent-text: #ffffff;
  --container-transparent-box-shadow: #ffffff;

  /* ЭЛЕМЕНТЫ УПРАВЛЕНИЯ */

  /* поля ввода, форма ответа */
  --input-bg: #eee9e6;
  --input-border: 1px solid #d8d1cf;
  --input-text: #6e6260;

  /* кнопки */

  --button-bg: #93c1d9;
  --button-hover: #ad1d32;
  --button-border: #ffffff;
  --button-text: #ffffff;

  /* кнопки, стрелки и т.п. */
  --controls-1: #93c1d9;
  --controls-2: #ffffff;
  --controls-3: #c6c6c6;
  --controls-contrast: #4d728c;
  --controls-colorful: #ad1d32;

  /* прокрутка */
  --scrollbar-bg: #d7d8d8;
  --scrollbar-color: #ad1d32;
  --scrollbar-border: 0.5px solid #bdbdbd;

  /* ОСОБОЕ */

  /* большая обводка для гостевой и принятия и т.п. */
  --big-box-shadow:
    inset 0 0 12px 2px #cfe2ea, 0 0 0px 2px #ffffff, 0 0 9px 3px #fbfaf8,
    0 0 0px 12px #ad1d32;

  /* табличное */
  --table-container: #92c0d8;
  --table-container-text: #8a202b;
  --table-container-highlight: #93c1d9;
  --table-container-border: #ffffff59;
  --table-container-box-shadow: #ffffffb3;

  --table-popup: #4d3f408c;
  --table-popup-text: #ffffff;

  --table-links-bg: linear-gradient(90deg, #ad1d32, #b64d54), #ad1d32;
  --table-links-hover: linear-gradient(90deg, #93c1d9, #cfe2ea), #93c1d9;
  --table-links-color: #ffffff;
  --table-links-border: #ffffff80;

  /* цвет ошибок вприложениях */
  --apps-error: #ad1d32;
}

/* II.c ТЕМНАЯ ТЕМА (НОЧЬ) */

:root .night {
  /* ФОН И ТЕЛО ФОРУМА */

  --header: url(/files/001b/ef/4a/10387.jpg);
  --body: #1d2328 url(/files/001b/ef/4a/80336.jpg);
  --body-mobile: linear-gradient(90deg, #1d2328, #11171b), #171d21;

  --pun-bg: #7b424b;
  --pun-border: none;
  --pun-outline: none;
  --pun-box-shadow:
    0 0 0 2px #9b6064b3,
    inset 0 0 0 10px #7b424b,
    inset 0 0 0 26px #4d728c,
    inset 0 0 0 28px #252b30,
    inset 0 0 24px 4px #06090bcc;

  --punbb-bg: #252b30;
  --punbb-index-bg: #252b30;
  --punbb-border: none;
  --punbb-outline: 1px solid #46525b;
  --punbb-box-shadow:
    inset 0 0 18px 1px #ffffff12;
  --punbb-tr-border: 1px solid #ffffff1f;

 /* мобильная версия */
  --mobile-pun-box-shadow:
  0 0 0 5px #7e2e37,
  inset 0 0 0 3px #4d728c,
  inset 0 0 0 5px #252b30,
  inset 0 0 18px 2px rgb(0 0 0 / 38%);

 --mobile-category-bg: #2b3034;
--mobile-category-title-back: #1d2328;
--mobile-category-box-shadow:
  0 0 0 2px #46525b,
  inset 0 0 10px 2px #ffffff16;
  /* ТЕКСТ */

  /* основной */
  --text-color: #e7e0dc;
  --colored-text: #ab787d;
  --light-text: #ffffff;
  --contrast-text: inherit;

  /* ссылки */
  --links-color: #93c1d9;
  --links-hover: #d0848b;
  --ulinks-color: #d0848b;
  --ulinks-hover: #cfe2ea;

  /* надписи с фоном: ссылки в подфоре, стата, тайтлы */
  --text-badge-bg: #ce8383;
  --text-badge-color: #ffffff;
  /* фон ссылок при наведении */
  --text-badge-hover-bg: #afc6d8;

  /* КАТЕГОРИИ И ПОДФОРУМЫ */

  --category-title: #93c1d9;
  --category-title-shadow: #000000b3;
  --category-title-stroke: #4d728c;
  --category-bg: #2b3034;
  --category-box-shadow: 0 0 0 1px #d5d5d5, 0 0 0 2px #f9f9f9, 0 0 0 7px #ebeae8, 0 0 0 8px #d5d5d5, 0 0 0 9px #f9f9f9;

  --forum-bg: transparent;
  --forum-box-shadow: none;
  --forum-text: #c59498;
  --forum-border: 1px solid #ffffff24;

  --topic-title: inherit;

  /* иконочное */
  --icon-bg: #4d728c;
  --icon-new-bg: #b64d54;
  --icon-box-shadow: 0 0 7px 0px #0000004a, 0 0 10px 4px #0000001f, inset 0 0 0px #ffffff22;

  /* ПРОФИЛЬ */

  --profile-bg: #2f363b;
  --profile-border: #53606a;
  --profile-color: #e0d7d4;
  --profile-box-shadow: none;
  --profile-av-border: #93c1d9;
  --profile-av-shadow: 0 0 5px #090b0dcc;
  --profile-av-bg: #46525b;
  --profile-after-box-shadow:
    0 0 5px 1px #93c1d9, 0 0 0 6px #2f363b, 0 0 0 7px #b64d54;
  --profile-sub: #20262b;
  --profile-sub-bord: 1px solid #53606a;

  /* иконка и анкета */
  --profile-anketa: #ffffff;
  --profile-anketa-bg: #49383b;
  --profile-anketa-border: 1px solid #4d728c;
  --profile-anketa-box-shadow: 0 0 4px inset #93c1d9;
  --profile-icon-bg: #4d728c;
  --profile-links: #93c1d9;
  --profile-login: #d0848b;

  /* ТЕМЫ, ШАБЛОНЫ, ЦИТАТЫ И ДР. КОНТЕЙНЕРЫ */

  /* всякие большие контейнеры текста, например цитаты, код, всякие модалки и тд */
  --container-bg: #2b3034;
  --container-border: 1px solid #53606a;
  /* тут окантовка, сделанная на box-shadow - для тем */
  --container-stroke: 0 0 0 1px #53606a, 0 0 3px #93c1d9 inset;
  /* а здесь просто тень для модальных окошек */
  --container-shadow: 0 0 10px 0px #000000cc;
  --container-text: #e7e0dc;
  --container-headline: #d0848b;

  /* какие-нибудь мини-элементы внутри контейнера */
  --container-element-bg: #343b40;
  --container-element-box-shadow: 0 0 0px 1px #53606a, inset 0 0 7px #1d2328;
  --container-element-color: #f2ece9;

  /* полупрозрачные */
  --container-transparent: #4d728c66;
  --container-transparent-text: #ffffff;
  --container-transparent-box-shadow: #93c1d9;

  /* ЭЛЕМЕНТЫ УПРАВЛЕНИЯ */

  /* поля ввода, форма ответа */
  --input-bg: #20262b;
  --input-border: 1px solid #53606a;
  --input-text: #e7e0dc;

  /* кнопки */

  --button-bg: #4d728c;
  --button-hover: #ad1d32;
  --button-border: #93c1d9;
  --button-text: #ffffff;

  /* кнопки, стрелки и т.п. */
  --controls-1: #93c1d9;
  --controls-2: #ffffff;
  --controls-3: #53606a;
  --controls-contrast: #cfe2ea;
  --controls-colorful: #b64d54;

  /* прокрутка */
  --scrollbar-bg: #171d21;
  --scrollbar-color: #ad1d32;
  --scrollbar-border: 1px solid #53606a;

  /* ОСОБОЕ */

  /* большая обводка для гостевой и принятия и т.п. */
  --big-box-shadow:
    inset 0 0 12px 2px #1d2328, 0 0 0px 2px #93c1d9, 0 0 9px 3px #252b30,
    0 0 0px 12px #ad1d32;

  /* табличное */
  --table-container: #92c0d8;
  --table-container-text: #ab787d;
  --table-container-highlight: #93c1d9;
  --table-container-border: #ffffff38;
  --table-container-box-shadow: #ffffff52;

  --table-popup: #15191db0;
  --table-popup-text: #ffffff;

  --table-links-bg: linear-gradient(90deg, #ad1d32, #b64d54), #ad1d32;
  --table-links-hover: linear-gradient(90deg, #4d728c, #93c1d9), #4d728c;
  --table-links-color: #ffffff;
  --table-links-border: #ffffff66;

  /* цвет ошибок вприложениях */
  --apps-error: #d0848b;
}
/* III. МОБИЛЬНАЯ ВЕРСИЯ
-----------------------------------------*/

@media screen and (max-width: 540px) {
  body {
background: var(--body-mobile);
  background-size: auto;
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: top center;
  }

  #pun {
  width: 100%;
  margin: 0 auto 80px;
  padding: 243px 8px 8px;
  box-sizing: border-box;
  border-radius: 0 0 32px 32px;
  box-shadow: var(--mobile-pun-box-shadow);
}


  #pun_wrap {
  padding: 0 8px;
  box-sizing: border-box;
}

  #pun-index #pun-main {
    padding: 0 18px;
  }

  #pun-main {
    padding: 0 18px;
  }

  /* шапка */

  #pun-title table {
  position: absolute;
  top: 40px;
  left: -8px;
  width: calc(100% + 16px) !important;
  height: 273px;
  margin: -40px 0 0;
  border-radius: 0;
  /*background: var(--header-mobile) no-repeat top center / cover;*/
  z-index: 0;
}

  .mem-title {
   top: 63px;
    left: -32px;
    transform: scale(0.8);
    width: 290px;
}

.mem-title:after {
    margin-left: -76%;
    position: relative;
}

  /* подфорумы на главной */

  .category:first-of-type {
  margin-top: 32px;
}



 #pun-index .category h2 span,
#pun-stats h2::after {
  font-size: 24px;
  position: absolute;
  top: auto;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: min(66%, 220px);
  height: 36px;
  padding: 0 5px;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, 5px);
  line-height: 1;
  text-align: center;
  border-radius: 23px 23px 0 0;
}

#pun-index .category h2,
#pun-stats h2 {
  position: relative;
  height: 42px;
  margin: 0;
  line-height: 1;
  isolation: isolate;
}

#pun-index .category h2::before {
   content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80%;
    height: 30px;
    margin: 0;
    transform: translateX(-50%);
    background: var(--mobile-category-title-back);
    border-radius: 18px 18px 0 0;
    z-index: 0;
    pointer-events: none;
}

 #pun-index .hasicon tr {
  margin: 10px 0;
    display: grid;
    grid-template-areas:
"tcl tcl tcl tcl" 
"tc2 tc3 tcr tcr";
    grid-template-columns: 10% 10% 40% 40%;
    align-items: start;
    padding: 0px 0 22px;
    justify-content: space-between;
}

  #pun-index .tcl {
    width: unset;
    grid-area: tcl;
  }

  .podf3 {
    max-height: 55px;
    overflow: auto;
  }

  .podf3::-webkit-scrollbar {
    width: 1px;
  }

  #pun-index .main .tcr {
    width: unset;
    grid-area: tcr;
    grid-template-areas:
      "topic icon"
      "author icon";
    grid-template-columns: auto 38px;
    justify-items: end;
  }

  #pun-index .tcr a.lastpost-link {
    width: calc(100% - 25px);
    font-size: 7px;
    margin: 0;
    text-align: right;
  }

  #pun-index .tcr .user-avatar .avatar-image,
  #pun-index .user-avatar {
    height: 25px;
    width: 25px;
  }

  #pun-index .main .tc2 {
    grid-area: tc2;
    width: unset;
    justify-self: start;
    transform: scale(0.8);
  }

  #pun-index .main .tc3 {
    grid-area: tc3;
    width: unset;
    justify-self: start;
    transform: scale(0.8);
  }

 #pun-index table Div.icon {
  left: -14px;
  top: -9px;
  height: 20px;
  width: 20px;
  transform: none;
}

#pun #pun-ulinks li,
#pun #pun-ulinks a {
  color: var(--ulinks-color);
}

  #pun-index table Div.icon::before,
  #pun-index TR.inew Div.icon::before {
    margin: 0;
  }

  #pun-index .tcr .lastpost {
    font-size: 0.8cqh;
    margin: 0;
    text-align: right;
  }

  #pun-index .hasicon tr#forum_f19 {
    margin-bottom: unset;
  }

  #pun-index .hasicon tr#forum_f19 .tcl {
    height: 105px;
  }

  .banermem {
    width: 100%;
    right: 0;
    bottom: -105px;
  }

  #pun-about {
    width: 100%;
    left: 0;
background: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 36% top;
  }


  #memors {
    display: none;
  }

  /* .js-random-block, */
  #randPost {
    left: 3%;
    right: 3%;
    bottom: -48px;
    width: auto;
  }

  .texpostm {
    width: auto;
height: 35px;
    padding-top: 0;
  }

  .tams {
    display: none;
  }

  .location,
  .lokk,
  .telegram,
  .table_mem,
  #pun #BookmCntToggle.default-style {
    display: none;
  }

  .tblplaski_wrapper {
    top: -50px;
    max-width: unset;
    width: 100%;
    height: 53px;
    left: 0;
    box-sizing: border-box;
    border-radius: 0;
    bottom: 0;
    padding: 5px 0 5px 4px;
  }

  .tblplaski {
    height: 100%;
    box-shadow: unset;
    width: auto;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: nowrap;
    padding-right: 3px;
    justify-content: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
  }

  .ob {
    box-shadow: unset;
    background: #00000030;
    font-size: 1.2cqh;
    line-height: 1.2cqh;
    padding: 0.4cqh 1cqh;
    width: unset;
    white-space: nowrap;
    margin: unset;
  }

  .table-news-link {
    font-size: 6px;
    background-clip: padding-box;
  }

 .table-news_wrapper {
	top: 142px;
	left: auto !important;
	right: -1px;
	width: 150px;
	box-sizing: border-box;
}

  .table-news {
    height: 106px;
    gap: 2px;
  }

  /* приветствие */

  #pun-status {
     top: 66px;
    left: 2%;
        right: 0;
        width: 30%;
  }

  #pun-status .status_userava {
    display: none;
  }

  #pun-status span.item2 {
    display: none;
  }

  /* навигация */

  #pun-navlinks .container {
    width: 95%;
    right: 0;
    left: 0;
    justify-content: space-evenly;
    gap: 0;
    top: 0;
    background: var(--table-container);
  }

  #navadmin {
    position: relative;
    top: unset;
    left: unset;
right: unset;
  }

#settingsDropdown {
	top: 30px;
}

#pun-ulinks {
  width: 90%;
  top: -10px;
  margin: 0 auto;
  background: var(--table-container);
  border-radius: 0 0 16px 16px;
}

  #pun-ulinks .container {
    width: 90%;
    margin: 0 auto 0;
    font-size: 0.55em;
  }

  #pun-ulinks li {
    white-space: nowrap;
    line-height: 2em;
    display: inline-flex;
    align-items: center;
  }

  #pun-navlinks li {
    margin: 0;
  }

  #pun-navlinks li a {
    font-size: 0;
    padding: 0;
color: var(--light-text);
  }

  #pun-navlinks li a:before {
    font-family: var(--icon-font);
    font-size: 19px;
    width: auto;
    padding-left: 0px;
    text-align: center;
        margin-top: 10px;
  }

#pun-navlinks li:after {display: none;}

  #pun-navlinks li#navindex a:before {
    content: "\F424";
  }

  #pun-navlinks li#navuserlist a:before {
    content: "\F4CF";
  }

  #pun-navlinks li#navsearch a:before {
    content: "\F52A";
  }

  #pun-navlinks li#navprofile a:before {
    content: "\F4DA";
  }

  #pun-navlinks li#navpm a:before {
    content: "\F32C";
  }

  #pun-navlinks li#navlogout a:before {
    content: "\F1C3";
  }

  #pun-navlinks li#navlogin a:before {
    content: "\F1BE";
  }

  #pun-navlinks li#navregister a:before {
    content: "\F4F9";
  }

  #pun-navlinks li#navpiar a:before {
    content: "\F189";
  }

  #pun-navlinks li#navsettings a:before {
    content: "\F789";
  }

  #navlogout {
    position: relative;
    right: 0;
    top: 0;
  }

  #nav-mobile-menu {
    display: block;
  }

  #pun-stats li.item1,
  #pun-stats li.item2,
  #pun-stats li.item3,
  #pun-stats li.item4 {
    width: 100%;
    max-width: 100%;
    margin: 5px;
  }

  #loginPopup {
    left: unset;
    right: 0;
top: 32px;
  }

  .tblnav1 {
    top: 31px;
    position: absolute;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30%;
    left: 17%;
    padding: 5px;
    display: none;
    z-index: 100;
    border-radius: 5px;
  }

  .tblnav1 a {
    display: block;
    width: 100%;
    text-align: left;
    z-index: 2;
    padding: 2px 6px;
    position: relative;
    border-radius: 10px;
    margin: 5px 0;
    box-sizing: border-box;
    opacity: 1;
  }

  .tblnav1 a:after {
    display: none;
  }

  .tblnav1:hover a {
    display: block;
  }

  #pun-navlinks li.nav-mobile-menu {
    margin-top: -1px;
    text-align: center;
  }

  #pun-navlinks li.nav-mobile-menu a {
    display: block;
    font-size: 20px;
    width: 28px;
  }

  #pun-navlinks li.nav-mobile-menu:hover .tblnav1,
  .tblnav1:hover {
    display: flex;
  }

  .nav-mobile-menu a i::before {
    font-family: var(--icon-font);
    content: "\F479";
    font-style: normal;
  }

  /* подфорум внутри */

  #pun-main .forum {
    width: calc(100% + 32px);
    margin-left: -16px;
  }

  #pun-main .forum thead {
    display: none;
  }

  #pun-main .forum .container tr {
    display: grid;
    grid-template-areas:
      "tcl tcl"
      "tcr tcr"
      "tc2 tc3";
    padding: 15px 20px;
  }

  #pun-main .forum td {
    padding: 0 !important;
  }

  #pun-main .forum td.tcl {
    grid-area: tcl;
    width: 100%;
  }

  #pun-main .forum td.tcr {
    grid-area: tcr;
    width: 100%;
    grid-template-columns: 22px 3fr 1fr;
    grid-template-rows: unset;
    gap: 0.5em;
    align-items: center;
    margin: 15px 0 10px;
  }

  #pun-main .forum td.tc2 {
    grid-area: tc2;
    text-align: left;
    width: auto;
  }

  #pun-main .forum td.tc3 {
    grid-area: tc3;
    width: 100%;
    text-align: right;
  }

  #pun-main .forum .tclcon {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "topic topic"
      "first second ";
  }

  #pun-main .forum .tclcon strong {
    display: grid;
  }

  #pun-main .forum .tclcon::before {
    width: 10px;
    height: 10px;
    margin-top: 3px;
  }

  #pun-main .forum .tclcon .byuser {
    bottom: -7px;
  }

  #pun-viewforum .tcr .user-avatar,
  #pun-searchtopics .tcr .user-avatar,
  #pun-viewforum .tcr .user-avatar .avatar-image,
  #pun-searchtopics .tcr .user-avatar .avatar-image {
    width: 20px;
    height: 20px;
  }

  #pun-userlist .usertable .isonline {
    margin: 0 -1px 0 30px;
  }

  #pun-messages .user-avatar .isonline {
    margin: 3px 0 0 -4px;
  }

  #pun-main .forum .byuser {
    width: unset;
    display: flex;
    align-items: center;
  }

  #pun-main .forum .tcr .user-avatar {
    grid-column: 1;
    margin: 0;
  }

  #pun-main .forum td.tcr > a {
    grid-column: 3;
    text-align: right;
    grid-row: 1;
  }

  #pun-main .forum .tcr .byuser {
    grid-column: 2;
  }

  #pun-crumbs1 {
    margin: 0px 10px 20px;
  }

  /*банк*/
  .tembank tem1 {
    margin-left: -4.5% !important;
  }

  bank1 pl,
  bank2 mn {
    width: 72%;
  }

  bank2 mn sm,
  bank1 pl sm {
    width: 49%;
    margin: -13px 0 0 78%;
    height: 30px;
    padding-right: 10px;
  }

  .bank-right {
    margin: 0 auto;
  }

  /* пост в теме */

  .post > .container {
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .post .container .post-links {
    grid-column: unset;
    grid-row: unset;
  }

  .post .post-box .bookmark {
    right: -16px;
  }


  /*профиль*/
  .post .post-author {
    width: 100%;
    margin: 30px auto 20px;
  }

  .post .post-author ul {
    display: grid;
    gap: 5px;
    padding: 15px 10px;
    grid-template-columns: 1fr 2fr 2fr 2fr 2fr 1fr;
    width: 100%;
    box-sizing: border-box;
  }

  .post .pa-author {
    grid-column: 1 / 7;
    grid-row: 1;
    padding-bottom: 0;
    margin-top: 0;
  }

  .pa-author #tuser,
  .blockButton:before,
.pp-ams-profile-edit-btn {
    font-size: 7px !important;
    width: 7px !important;
    height: 7px !important;
    line-height: 7px !important;
  }

  .pa-author #tuser {
    left: 0;
    top: -23px;
  }

  .blockButton {
    left: 26px;
    top: 8px !important;
  }

.pp-ams-profile-edit-btn {
	top: -23px;
	left: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#pp-ams-click-panel {
          right: 10px;
          left: 10px;
          bottom: 10px;
          width: auto;
          max-height: calc(100vh - 20px);
        }

        #pp-ams-click-panel.pp-ams-collapsed {
          width: auto;
          max-width: none;
        }

        #pp-ams-click-panel .pp-ams-actions {
          flex-direction: column;
        }

        #pp-ams-click-panel .pp-ams-actions button {
          width: 100%;
        }

  .post .post-author:not(:has(.pa-fld5)) {
    margin-top: 20px;
  }

  .post .toBlock:not(:has(.pa-fld5)) .blockButton {
    top: 3px !important;
  }

  .post .post-author ul:not(:has(.pa-fld5)) #tuser {
    top: -18px !important;
  }

  /* профиль гостя */
  .post[data-group-id="2"] .post-author.no-avatar ul {
    grid-template-columns: auto;
  }

  .post[data-group-id="2"] .post-author.no-avatar ul li {
    grid-column: unset !important;
  }

  .post .pa-title {
    background: unset;
    border: none;
    width: 90%;
    padding: 0;
    grid-column: 1 / 7;
    grid-row: 2;
    margin: 5px auto;
  }

  .post .pa-avatar {
    max-width: 90px;
    padding: 3px;
    grid-row: 3 / 5;
    grid-column: 1 / 3;
    width: auto;
    border-radius: 5px;
    margin: 0 auto;
  }

  .pa-respect,
  .pa-posts,
  .pa-fld2,
  .pa-fld3 {
    margin-top: 10px;
  }

  .post .pa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .post .pa-fld5 {
    margin-left: -17px;
    background-size: cover;
  }

  .post .pa-fld5:has(.fon_icon) a {
    margin: -18px 0 0 -15px;
  }

  .post .pa-fld4,
  .post .pa-fld4 .plashka {
    width: 100%;
  }

  .pa-fld5,
  .fon_icon img,
  .fon_test img {
    object-fit: cover;
  }

  /* заполненный профиль */

  .post .pa-fld1 {
    grid-row: 3 / 5;
    grid-column: 3 / 7;
    margin: 0 -10px 0 10px;
  }

  .post .pa-fld1 .lz {
    margin: 0;
  }

  .post .post-author li:nth-of-type(6).pa-posts {
    grid-column: 2;
    grid-row: 5;
  }

  .post .post-author li:nth-of-type(7).pa-respect {
    grid-column: 3;
    grid-row: 5;
  }

  .post .post-author li:nth-of-type(8).pa-fld3 {
    grid-column: 4;
    grid-row: 5;
  }

  .post .post-author li:nth-of-type(9).pa-fld2 {
    grid-column: 5;
    grid-row: 5;
  }

  /* смена - без лз, но с иконками */

  .post .post-author li:nth-of-type(5).pa-posts {
    grid-column: 4;
    grid-row: 3;
  }

  .post .post-author li:nth-of-type(6).pa-respect {
    grid-column: 5;
    grid-row: 3;
  }

  .post .post-author li:nth-of-type(7).pa-fld3 {
    grid-column: 4;
    grid-row: 4;
  }

  .post .post-author li:nth-of-type(8).pa-fld2 {
    grid-column: 5;
    grid-row: 4;
  }

  /* для профиля без лз но с постами и звездами - сменщики */
  .post .post-author:not(:has(.pa-fld1)):has(.pa-fld3) .pa-avatar {
    grid-column: 1 / 4;
  }

  /* вообще пустой профиль */

  .post .post-author:not(:has(.pa-fld1)):not(:has(.pa-fld3)) .pa-posts {
    grid-column: 4;
    grid-row: 3 / 5;
  }

  .post .post-author:not(:has(.pa-fld1)):not(:has(.pa-fld3)) .pa-respect {
    grid-column: 5;
    grid-row: 3 / 5;
  }

  .post .post-author:not(:has(.pa-fld1)):not(:has(.pa-fld3)) .pa-avatar {
    grid-column: 2 / 4;
  }

  .pa-ip {
    bottom: -18px;
    left: 40%;
  }

  /* в поиске */

  #pun-searchposts .post-body {
    margin: 0;
  }

  #pun-searchposts .post-author {
    margin-bottom: 0;
  }

  #pun-searchposts #pun-main .topic .post .post-author ul {
    margin-top: 6px;
    min-height: unset;
  }

  .indOnline,
  .indOffline {
    left: auto !important;
    right: 10px !important;
  }

  /*биржа*/
  .proff_tabs > label {
    width: 38%;
  }

  #proff1,
  #proff2,
  #proff3,
  #proff4,
  #proff5,
  #proff6,
  #proff7,
  #proff8 {
    margin: -394px 0 0 44%;
    width: 44%;
  }

  /*биржа*/

  /*гостевая*/
  .gost {
    max-height: none;
    aspect-ratio: auto;
    grid-template:
      "welcome" auto
      "title" auto
      "descr" auto
      "right" auto
      "prid" auto
      "face1" auto
      "cost" auto
      "face2" auto
      "gost_claim" auto
      "nav" auto;
    padding-bottom: 15px;
  }

  .gost_welcome {
    margin-top: -23px;
    white-space: nowrap;
    width: auto;
    overflow: hidden;
    font-size: 0.8em;
  }

  .gost_title {
    grid-area: title;
    margin: 0 auto;
    text-align: center;
  }

  .gost_type {
    margin: 5px auto;
    text-align: center;
  }

  .gost_descr {
    text-align: center;
    width: 100%;
  }

  .gost_prid,
  .gost_cost {
    margin: 0;
  }

  .gost face1,
  .gost face2 {
    margin: 0;
    width: 100%;
  }

  .gost_title #first {
    font-size: clamp(30px, 8vw, 50px);
  }

  .gost_title #second {
    font-size: clamp(25px, 7vw, 41px);
    margin-top: -20px;
  }

  .gost_claim {
    text-align: center;
  }

  #appearance-input {
    width: 100%;
    font-size: 16px;
    margin-top: 5px;
  }

.appearance-controls {
  flex-wrap: wrap;
  justify-content: center;
}

select#appearance-action {
  flex: 1 1 100%;
  width: 100%;
}

input#appearance-payment-weeks {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
}

.appearance-submit {
  flex: 0 0 auto;
}

  /*гостевая конец*/

  /*аллея звезд*/

  .stat {
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 20px;
  }

  .stat stat1 {
    grid-column: 1 / 3;
    font-size: 1.2rem;
    padding: 5px;
    width: calc(100% + 40px);
    box-sizing: border-box;
    margin: -10px 0 0 -20px;
  }

  .stat stat4,
  .stat stat5 {
    grid-column: 1 / 3;
    justify-content: center;
  }

  .stat stat4 {
    grid-row: 2;
  }

  .stat stat5 {
    grid-row: 3;
  }

  .stat stat4 a,
  .stat stat5 a {
    width: 40px;
    height: 40px;
  }

  .stat stat7 {
    grid-column: 1;
    grid-row: 4;
  }

  .stat stat6 {
    grid-column: 2;
    grid-row: 4;
    display: unset;
    margin-top: 24px;
  }

  .stat stat8 {
    grid-column: 1;
    grid-row: 5;
    align-items: end;
  }

  .stat stat8 a {
    text-align: right;
  }

  .stat stat10 {
    grid-column: 2;
    grid-row: 5;
    align-items: end;
  }

  .stat stat9 {
    grid-column: 1;
    grid-row: 6;
    height: 40px;
  }

  .stat stat11 {
    grid-column: 2;
    grid-row: 6;
    height: 40px;
  }

  .stat stat3 {
    grid-column: 1 / 3;
    grid-row: 7;
    padding: 0px;
    padding-bottom: 10px;
    margin: 5px 0 -9px -19px;
    border-radius: 0 0 28px 28px;
    width: calc(100% + 38px);
    height: unset;
  }

  .stat stat3:before {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 13px;
    line-height: 1;
  }

  .stat stat3:after {
    font-size: 32px;
    order: 1;
    line-height: 1;
    margin-top: -17px;
  }

  .stat stat6:before,
  .stat stat4:before,
  .stat stat5:before,
  .stat stat8:after,
  .stat stat7:before,
  .stat stat10:before,
  .stat stat6:after {
    font-size: 8px;
    padding: 2px 4px;
  }

  .stat stat6:before {
    height: 10px;
    margin-top: -28px;
  }

  .stat stat10 a::after,
  .stat stat8 a:before {
    line-height: 1;
    font-size: 8px;
  }

  .stat stat6,
  .stat stat7 a:after {
    height: 27px;
  }

  .stat stat6,
  .stat stat7:after,
  .stat stat9,
  .stat stat11 {
    font-size: clamp(8px, 3vw, 9px);
    padding: 4px 5px;
  }

  /*аллея звезд конец */

  #form-buttons tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .button.hotkeys_help {
    display: none;
    justify-content: center;
  }

  #symbol-counter {
    border-bottom: 1px solid #00000020 !important;
    width: 100% !important;
    height: unset !important;
    margin-bottom: 5px;
  }

  #pun-messages #form-buttons td:not(#symbol-counter) {
    margin-top: -5px !important;
  }

  #symbol-counter span {
    display: unset;
    font-size: unset;
  }

  #pun-messages #form-buttons table {
    width: 100%;
    padding: 0;
  }

  #tags .container {
    top: 30% !important;
  }

  #tags .container#spoiler-area {
    right: 0;
    left: 0;
    width: unset;
  }

  #tags .container#video-area,
  #tags .container#image-area {
    left: 0;
    right: 0;
    width: unset;
  }

  #keyboard-span br {
    display: none;
  }

  .hvStickerPackModalContainer {
    top: 110px;
  }

  p.formsubmit {
    text-align: center;
  }

  .memneed {
    grid-template-columns: 1fr 1fr;
  }

  .memneed memnd2 {
    z-index: 1;
    font-size: 12px;
  }

  .memneed memnd1 {
    width: 100%;
    text-align: right;
  }

  .memneed memnd4::before {
    content: "внешность";
    left: 0px;
  }

  .memneed memnd5::before {
    left: 0px;
  }

  .memneed memnd6::before {
    left: 0px;
  }

  .memneed memnd4 {
    width: 100%;
  }

  .memneed memnd5 {
    margin-bottom: 5px;
  }

  .memneed memnd6 {
    margin-bottom: 5px;
  }

.prin {
    padding: 14px;
    min-height: auto;
  }

  .prin::before {
    inset: 52px 14px 14px;
  }

  .prin::after {
    inset: 16% 5% 6%;
  }

  .prin__title {
    width: 88%;
    font-size: 13px;
margin-top: 4%;
  }

  .prin__text {
    padding: 22px 7% 12px;
    font-size: 8px;
    line-height: 1.65;
  }

  .prin__links {
    gap: 6px;
    padding: 20px 6% 20px;
  }

  .prin__links a {
    text-transform: lowercase;
    max-width: 100%;
  }

  a.memory_button {
    padding: 3px;
  }

  .shop_tabs > div {
    width: 90%;
  }

  .shop_tabs > label {
    transform: translateX(0%);
    min-width: max-content;
  }

  .memlane_shop .plashka {
    width: 60%;
  }

  .shop_stock td {
    width: 100%;
    display: block;
  }

  .shop_stock .plashka {
    width: 100%;
  }

  .shop_stock .plashka pltwo {
    font-size: 9px;
  }

.graf {
  padding: 0 12px;
}

.graf_stores {
  grid-template-columns: 1fr;
  gap: 14px;
}

.graf_store {
  padding: 12px;
  border-radius: 12px;
}

.graf_store:hover,
.graf_store:focus-within {
  transform: none;
}

.graf_store .store_head {
  cursor: pointer;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}

.graf_store .store_head::after {
  content: "свернуть";
  display: block;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.4;
  opacity: 0.65;
  background: rgba(128, 128, 128, 0.10);
}

.graf_store.store_podr_closed .store_head::after {
  content: "раскрыть";
}

.graf_store .store_podr {
  display: block !important;
  max-height: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;

  margin-top: 10px !important;
  padding: 10px 11px !important;
  transform: none !important;

  border-radius: 10px;
  line-height: 1.45;
  font-size: 12px;
  background: rgba(128, 128, 128, 0.08);
}

.graf_store.store_podr_closed .store_podr {
  display: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

  #pun-index .tclcon {
    grid-template-columns: auto minmax(min-content, 110px);
    margin-bottom: 15px;
    justify-content: space-between;
  }

  .shop-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .shop-actions .memory_button {
    font-size: 11px;
  }

  .shop-actions .memory_button:nth-child(5) {
    grid-column: 1 / -1;
  }

  /* внутри профиля */

  #viewprofile tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  #viewprofile td#profile-left {
    margin: 0 auto;
  }

  #profile-right {
    width: 100% !important;
  }

  #viewprofile #profile-right li:not(#pa-fld4) {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
  }

  #viewprofile #profile-right li span {
    width: 50%;
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    padding-right: 10px;
  }

  #viewprofile #profile-right li#pa-fld1 span,
  #viewprofile #profile-right li#pa-fld4 span {
    display: none;
  }

  #profile-right li strong {
    display: block;
    width: 50%;
    /*box-sizing: border-box;*/
    margin: 0;
    padding: 0 !important;
  }

  #profile-right li#pa-fld4 strong {
    width: 250px;
    margin: 0 auto;
  }

  #profile-right li#pa-fld1 strong .lz {
    margin-top: 6px;
  }

  #profile-right li#pa-fld5 strong {
    left: 47%;
    top: -12px;
    overflow: hidden;
  }

  #profilenav,
  #pun-adnav {
    float: none;
    margin-bottom: 10px;
    width: auto;
    margin-left: 0;
  }

  #profilenav ul,
  #pun-adnav ul {
    text-align: center;
    margin-bottom: 10px;
  }

  #profilenav li,
  #pun-adnav li {
    display: inline-block;
  }

  #profilenav li.isactive {
    margin: 0;
  }

  #profilenav li.isactive a::before {
    transform: rotate(90deg);
    transform-origin: center;
  }

  #profilenav li a:hover::before {
    transform: scaleX(0);
  }

  #profilenav li a:hover {
    padding-left: unset;
  }

  .punbb-admin #pun-adnav {
    float: none;
    width: 100%;
    margin-left: 0;
    display: block;
  }

  .punbb-admin .adminmain {
    padding: 0;
    margin: 0;
  }

  #pun-viewforum .modmenu a {
    font-size: 0.5rem;
  }

  /*для челленджа*/
  .tembank tbody {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .tembank tr {
    display: contents;
  }

  /*для челленджа*/

  /*кнопки внизу постов*/
  #pun-viewtopic .post-links {
    /*padding-bottom: 10px;*/
    top: 10px;
  }

  #pun-viewtopic .post-links a {
    font-size: 0;
    padding: 0 2px;
  }

  #pun-viewtopic .post-links a::before,
  .js-welcome::before {
    font-family: var(--icon-font);
    font-size: 13px;
    color: var(--controls-contrast);
    font-weight: normal;
    transition: var(--hover-transition);
  }

  #pun-viewtopic .post-links .pl-email.profile a::before {
    content: "\F4E1";
  }

  #pun-viewtopic .post-links .pl-email.pm a::before {
    content: "\F6C0";
  }

  #pun-viewtopic .post-links .pl-email a::before {
    content: "\F3E5";
  }

  #pun-viewtopic .post-links .pl-advlink a::before {
    content: "\F484";
  }

  #pun-viewtopic .post-links .pl-delete a::before {
    content: "\F78B";
  }

  #pun-viewtopic .post-links .pl-edit a::before {
    content: "\F4CA";
  }

  #pun-viewtopic .post-links .pl-quote a::before {
    content: "\F255";
  }

  #pun-viewtopic .post-links .pl-quote2 a::before {
    content: "\F25A";
  }

  .js-welcome::before {
	content: "\F407";
  }

  .linkst,
  .linksb {
    flex-wrap: wrap;
    justify-content: end;
    gap: 20px 5px;
    align-items: center;
  }

  /*анкета*/

  .anketa {
    grid-template-columns: 125px 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 10px;
  }

  .anketa anketa1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .anketa anketa8 {
    grid-column: 1;
    grid-row: 2 / 5;
    margin-top: 0 !important;
    justify-self: center;
    margin-left: 15px;
  }

  .anketa anketa4 {
    grid-column: 2;
    grid-row: 2;
  }

  .anketa anketa3 {
    grid-column: 2;
    grid-row: 3;
  }

  .anketa anketa5 {
    grid-column: 2;
    grid-row: 4;
  }

  .anketa anketa3,
  .anketa anketa4,
  .anketa anketa5 {
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    justify-self: stretch;
    max-height: none;
    box-sizing: border-box;
    text-align: center;
  }

  .anketa anketa2 {
    grid-column: 1 / -1;
    grid-row: 5;
    width: 100% !important;
  }

  .anketa anketa10 {
    grid-column: 1 / -1;
    grid-row: 6;
    width: 100% !important;
  }

  .anketa anketa9 {
    grid-column: 1 / -1;
    grid-row: 7;
    height: auto;
    max-height: 365px;
  }

  .anketa anketa2,
  .anketa anketa10 {
    height: auto !important;
    min-height: 15px;
    box-sizing: border-box;
  }

  .anketa::before {
    grid-column: 1 / -1;
    grid-row: 1 / 5;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
  }

  .anketa anketa3::before,
  .anketa anketa4::before,
  .anketa anketa5::before {
    font-size: 8px;
  }

.anketa-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.anketa-row.cols-3,
.anketa-row.cols-3-strong {
  grid-template-columns: 1fr !important;
}

  /*анкета*/

  /*хронология и отношения*/
  mrelat {
    grid-template-columns: auto;
  }

  /* инпуты и всякие поля */

  fieldset .fs-box.inline {
    display: grid;
  }

  /* #punbbsearch fieldset:nth-child(2) .fs-box.inline .selectfield,
  fieldset .fs-box.inline .infofield {
    grid-column: 1 / -1;
  } */

  .FNTslider {
    margin-right: 100px;
    margin-top: 6px;
  }

  Div.icon:before {
    display: block;
    margin-top: 15px;
  }

  .toBlock {
    position: relative;
  }

  .post-sig dd span[style*="display: block"] {
    display: block !important;
    text-align: center;
  }

  .sigimage {
    max-width: 45%;
    max-height: 120px;
    margin: 5px;
  }

  .sigimage + .sigimage {
    margin-left: 5px;
  }

  /* участники */

  #pun-userlist .usertable .container thead {
    display: none;
  }

  #pun-userlist #pun-main .usertable .container tr {
    display: grid !important;
    align-items: center;
    grid-template-areas:
      "username user_title"
      "relation num_posts"
      "registered last_visit";
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
  }

  #pun-userlist .usertable .container tr .tcl.username {
    grid-area: username;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse;
    width: unset;
  }

  #pun-userlist .usertable .tcl {
    text-align: right;
  }

  #pun-userlist .usertable .container tr .user_title {
    grid-area: user_title;
    text-align: left;
    font-size: 1.15cqh;
    line-height: 1;
    width: unset;
  }

  #pun-userlist .usertable .container tr .relation {
    grid-area: relation;
    text-align: right;
    width: unset;
  }

  #pun-userlist .usertable .container tr .relation::before {
    content: "уважение: ";
    text-align: left;
  }

  #pun-userlist .usertable .container tr .num_posts {
    grid-area: num_posts;
    text-align: left;
    width: unset;
  }

  #pun-userlist .usertable .container tr .relation,
  #pun-userlist .usertable .container tr .num_posts {
    padding: 5px 0;
  }

  #pun-userlist .usertable .container tr .num_posts::before {
    content: "сообщений: ";
  }

  #pun-userlist .usertable .container tr .registered {
    grid-area: registered;
    text-align: right;
    width: unset;
  }

  #pun-userlist .usertable .container tr .registered::before {
    content: "зарегистрирован: ";
    display: block;
  }

  #pun-userlist .usertable .container tr .last_visit {
    grid-area: last_visit;
    text-align: left;
    width: unset;
  }

  #pun-userlist .usertable .container tr .last_visit::before {
    content: "был: ";
  }

  /* убираем зум на айфонах, нужновое */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select,
  #main-reply,
  .punbb textarea,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus,
#main-reply:focus,
.punbb textarea:focus {
    font-size: 16px !important;
    width: 100%;
-webkit-text-size-adjust: 100%;
  }

  #pun-viewtopic .linksb {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  #pun-viewtopic .pagelink {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  /*найти на странице*/
  #s-block {
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
  }

  #sTheme {
    width: 100% !important;
    text-overflow: ellipsis;
  }

  #isk::before {
    margin-left: 3px !important;
  }

  .subscribelink {
    grid-column: 1;
    grid-row: 2;
    justify-self: unset;
  }

  #pun-admain .postlink {
    float: left;
    margin-left: 2px;
    margin-top: 10px;
  }

  /* для чс */

  #panel-sticker {
    display: none;
  }

  .panel-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
  }

  /* уведы */

  .bubble {
    position: relative !important;
    width: 14px;
    height: 14px;
    top: unset !important;
    right: unset !important;
    line-height: 14px !important;
    margin: 0 0 0 5px !important;
    border-radius: 50% !important;
    padding: 0 !important;
  }

  .bubble:after {
    display: none !important;
  }

  #pun-report .inner,
  #pun-reputation .inner,
  #pun-admin-award-form .inner {
    box-sizing: border-box;
  }

  .go-up:before,
  .go-down:before {
    /*display: none;*/
  }

  .go-up,
  .go-down {
    transform: scale(0.6);
    right: -7px;
    top: unset;
    z-index: 100;
  }

  .go-up {
    top: 50%;
  }

  .go-down {
    top: calc(50% + 30px);
  }

  #pun-index .hasicon tr .tclcon::before {
    width: 20px;
    height: 20px;
    left: -30px;
  }

  .menu,
  .memlane_shop,
  .tem,
  .epizod,
  .tembank,
  .guide,
  .vn,
  .proff,
  .stat,
  .memneed,
  #bank-app,
  .graf {
    width: 100%;
    box-sizing: border-box;
  }

  .vn-M-first,
  .vn-M-second,
  .vn-W-first,
  .vn-W-second {
    margin: 0;
  }

  .nickname-claim {
    grid-template-columns: unset;
  }

  .punbb .post-content p,
  .punbb .post-content .scrollbox {
    margin: 6px 0;
  }

  /* цвета */

  #pun-userlist #pun-main .usertable .container tr {
    background: var(--container-bg);
    border: var(--container-border);
  }

  #pun-userlist .usertable .container tr .relation,
  #pun-userlist .usertable .container tr .num_posts {
    border-block: var(--container-border);
  }

  .tblnav1 {
    background: var(--container-bg);
    border: var(--container-border);
    white-space: normal;
  }

  .tblnav1 span {
    background: unset;
    box-shadow: unset;
    border: unset;
    padding: unset;
    margin: unset;
  }

  .tblnav1 a {
    background: var(--text-badge-bg);
    color: var(--text-badge-color);
    white-space: normal;
  }

 
/*коллекции*/
#collection-request-app {
    padding: 10px;
    border-radius: 14px;
  }

  .cr-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cr-panel,
  .cr-preview {
    padding: 10px;
    border-radius: 12px;
  }

  .cr-proof-dual {
    grid-template-columns: 1fr;
  }

  .cr-buttons,
  .cr-preview-actions {
    flex-direction: column;
  }

  .cr-btn {
    width: 100%;
  }

  .cr-preview-card-title {
    flex-direction: column;
    align-items: stretch;
  }



 /* страница личных соо */

  #profile .container:not(.container[id$="-area"]) {
    padding-left: 0 !important;
  }

  #pun-messages #messages > fieldset > legend {
    margin: 10px auto;
  }

  #pun-messages #messages thead {
    display: none;
  }

  #pun-messages .hasicon tr {
    display: grid !important;
    align-items: start !important;
    grid-template-areas:
      "user . date check"
      "user topic topic topic";
    grid-template-columns: 40px 1fr 1fr auto;
    position: relative;
    padding: 10px;
    width: calc(100% + 10px);
    margin-left: -15px;
    gap: 5px;
  }

  #pun-messages #messages td.tc2.pmtc22 {
    grid-area: user;
    position: relative;
    width: 100% !important;
    overflow: visible !important;
  }

  #pun-messages .user-avatar .avatar-image {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
  }

  #pun-messages .user-avatar::before {
    border-radius: 50%;
  }

  #pun-messages #messages td.tc2.pmtc22 > a {
    position: absolute;
    top: 3px;
    left: 47px;
    font-weight: 600;
  }

  #pun-messages table tr div.icon.inew {
    left: 0;
    top: -15px;
  }

  #pun-messages #messages .inew td.tc2.pmtc22 > a {
    left: 60px;
  }

  #pun-messages #messages td {
    padding: 0;
  }

  #pun-messages #messages td.tc3.pmtc33 {
    grid-area: date;
    width: 100% !important;
    justify-content: flex-end;
  }

  #pun-messages #messages td.tcl.pmtcl1 {
    grid-area: topic;
    width: 100% !important;
    font-size: 0.8em;
    display: unset;
  }

  #pun-messages #messages td.tcl.pmtcl1 .tclcon > a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  #pun-messages #messages td.tcl.pmtcl1 .tclcon {
    margin-top: -8px;
  }

  #pun-messages #messages td.tcl.pmtcl1 .tclcon:before {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 19px;
    display: none;
  }

  #pun-messages #messages .inew td.tcl.pmtcl1 .tclcon:before {
    display: initial;
  }

  #pun-messages #messages td.tc2.pmtc24 {
    grid-area: check;
    width: 100% !important;
  }

  div#pun-navlinks li#navpm span.num_msg {
    transform: scale(0.7);
    margin-top: -22px !important;
    margin-left: -17px !important;
    font-size: 10px !important;
  }

  span.num_msg:before {
    margin-left: 3px !important;
  }

  p.formsubmit,
  p.selectfield,
  p.inputfield {
    margin: 2px 0;
  }

  #pun-messages .pmtc22 a,
  #pun-messages .pmtc33 {
    white-space: nowrap;
  }

  .permalink {
    margin-left: 0 !important;
  }

  .punbb img.avatardemo {
    margin: 10px auto;
    float: unset !important;
  }

  .collection_section {
    word-break: break-word;
  }

  .menu {
    border: 10px solid transparent;
    box-shadow: none;
    padding: 10px;
  }

  .sns_ochka {
    width: 287px !important;
    background-size: contain !important;
  }

  #addition-area span.hotkey {
    display: none;
  }

  #pun-online #pun-main thead {
    display: none;
  }

  #pun-online #pun-main .container tr {
    display: grid;
    gap: 5px 10px;
    justify-content: space-between;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    padding: 10px;
  }

  #pun-online #pun-main .container td.tcl.username {
    width: unset !important;
    grid-row: 1 / 3;
    grid-column: 1;
    padding: 0;
  }

  #pun-online #pun-main .container td.tcl.action {
    width: unset !important;
    grid-row: 1;
    grid-column: 2;
    padding: 0;
    text-align: right;
  }

  #pun-online #pun-main .container td.tc3 {
    width: unset !important;
    grid-row: 2;
    grid-column: 2;
    padding: 0;
    text-align: right;
  }

/*.tipsy-inner #showt{
display:none !important;
bottom:0 !important;
right:0 !important;
left: unset !important;
top: unset !important;
height: 0 !important;
width:  0 !important;
}*/

.rating_theme .modal-inner {width:100% !important; box-sizing: border-box;}

	/* ФОНД ФОРУМА */
#pun-status p span.item3 {
	display: block;
	width: 30%; 
	left: 65%;
	font-size: 8px;
	top: 0px;
}

}