/*  ===================== ÑÎÄÅÐÆÀÍÈÅ ===================== 

I. ÐÀÇÍÛÅ ÂÀÆÍÛÅ ÈÌÏÎÐÒÛ
II. ÏÅÐÅÌÅÍÍÛÅ
III. ÌÎÁÈËÜÍÀß ÂÅÐÑÈß
*/

/* I. ÐÀÇÍÛÅ ÂÀÆÍÛÅ ÈÌÏÎÐÒÛ
-----------------------------------------*/

/* style_cs.1780316833.css - çäåñü ó íàñ äåñêòîïíûé ñòèëü*/
@import url(style_cs.1780316833.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;

  /* øðèôòû */
  --icon-font: "bootstrap-icons";
  --regular-font: "Montserrat";
  --big-titles-font: "Croisan";
  --small-titles-font: "TYPEFIRE";

  --mem-font-v7: "Raleway";

  /* êàðòèíî÷êè — îñòàâëåíû êàê åñòü */
  --foot: url(https://forumstatic.ru/files/001b/98/3e/99487.png);

  /* ÔÎÍ È ÒÅËÎ ÔÎÐÓÌÀ */

  --header: url(https://forumstatic.ru/files/001b/98/3e/96239.png);
  --header-height: 242px;
  --header-top: -151px;

  /* îáùèé ôîí ñòðàíèöû — ò¸ïëûé ñåðî-áåæåâûé ñ ë¸ãêèì îëèâêîâûì */
  --body: linear-gradient(90deg, #a9a28f, #b9b3a4, #c8c1af);

  /* âíåøíåå òåëî */
  --pun-bg: #eae7e0;
  --pun-border: none;
  --pun-outline: #9f977c 2px solid;
  --pun-box-shadow:
    0 0 0 1px #a9a088,
    0 0 0 2px #e8e4dc,
    0 0 0 3px #9f977c,
    0 0 18px 10px #c9c3b5,
    0 0 0 29px #6e6c52;

  /* âíóòðåííåå òåëî */
  --punbb-bg: #f7f5ef;
  --punbb-index-bg: #eae7e0;
  --punbb-border: none;
  --punbb-outline: 1px solid #aaa18a;
  --punbb-box-shadow:
    0 0 0 1px #d6cfbf, 0 0 0 2px #f4f1eb, inset 0 0 25px 5px #e1dcd4;
  --punbb-tr-border: 1px solid #2b2a2712;

  /* ÒÅÊÑÒ */

  --text-color: #2b2a27;
  --colored-text: #7f755f;
  --light-text: #faf8f1;
  --contrast-text: #7b765e;

  /* ññûëêè */
  --links-color: #7d8460;
  --links-hover: #9f8f42;
  --ulinks-color: #686d50;
  --ulinks-hover: #9f8f42;

  /* íàäïèñè ñ ôîíîì: ññûëêè â ïîäôîðå, ñòàòà, òàéòëû */
  --text-badge-bg: #a69a78;
  --text-badge-color: #fffaf0;

  /* ôîí ññûëîê ïðè íàâåäåíèè */
  --text-badge-hover-bg: #c9b37c;

  /* ÊÀÒÅÃÎÐÈÈ È ÏÎÄÔÎÐÓÌÛ */

  --category-title: #b0aa99;
  --category-title-shadow: #8d8468;
  --category-title-stroke: #b9aa69;

  --category-bg: #ded8cd;
  --category-box-shadow:
    0 0 0 1px #f2efe8,
    0 0 0 2px #bbb199,
    inset 0 0 25px 5px #cec6b7,
    inset 0 0 30px 0 #d8d0c2;

  --forum-bg: transparent;
  --forum-box-shadow: none;
  --forum-text: #766d58;
  --forum-border: 1px solid #b8ad95;

  --topic-title: inherit;

  /* èêîíî÷íîå */
  --icon-bg: #c9c1ad;
  --icon-new-bg: #c8b85c;
  --icon-box-shadow: #96906f;

  /* ÏÐÎÔÈËÜ */

  --profile-bg: #ede9e1;
  --profile-border: #c5bda9;
  --profile-color: #746d5b;
  --profile-login: #858b61;
  --profile-box-shadow: none;
  --profile-av-border: #bdb4a0;
  --profile-av-shadow: 0 0 5px 0 #bdb497;
  --profile-av-bg: #d2cbbd;
  --profile-after-box-shadow:
    0 0 0 1px #ede9e1,
    0 0 0 4px #d8d2c6,
    0 0 0 5px #bbb199,
    0 0 0 6px #ede9e1;
  --profile-sub: #d8d2c6;
  --profile-sub-bord: 1px solid #bbb199;

  /* èêîíêà è àíêåòà */
  --profile-anketa: #fffaf0;
  --profile-anketa-bg: #aaa078;
  --profile-anketa-border: 1px solid #f2efe8;
  --profile-anketa-box-shadow: 0 0 4px inset #f2efe8;
  --profile-icon-bg: #ded8cd;
  --profile-links: #7d8460;

  /* ÒÅÌÛ, ØÀÁËÎÍÛ, ÖÈÒÀÒÛ È ÄÐ. ÊÎÍÒÅÉÍÅÐÛ */

  --container-bg: #eeeae2;
  --container-border: 1px solid #b9ad8f;

  --container-stroke:
    0 0 0 1px #c7beaa,
    0 0 2px #b9ad8f inset;

  --container-shadow: 0 0 8px 0px #b9ad8f;
  --container-text: #766d58;
  --container-headline: #858b61;

  --container-element-bg: #ded8cd;
  --container-element-color: #746d5b;
  --container-element-box-shadow:
    0 0 0px 1px #c7beaa,
    inset 0 0 7px #d8d2c6;

  /* ïîëóïðîçðà÷íûå */
  --container-transparent: #3c3a2f94;
  --container-transparent-text: #faf8f1;
  --container-transparent-box-shadow: #faf8f15c;

  /* ÝËÅÌÅÍÒÛ ÓÏÐÀÂËÅÍÈß */

  --input-bg: #f1eee8;
  --input-border: 1px solid #b9ad8f;
  --input-text: #746d5b;

  --button-bg: #c9c1ad;
  --button-hover: #c9b65d;
  --button-border: #eeeae2;
  --button-text: #686d50;

  /* êíîïêè, ñòðåëêè è ò.ï. */
  --controls-1: #aaa078;
  --controls-2: #fffaf0;
  --controls-3: #e9e5dc;
  --controls-contrast: #746d5b;
  --controls-colorful: #c8b85c;

  /* ïðîêðóòêà */
  --scrollbar-bg: #ded8cd;
  --scrollbar-color: #aaa078;
  --scrollbar-border: 1px solid #7b765e;

  /* ÎÑÎÁÎÅ */

  --big-box-shadow:
    inset 0 0 12px 2px #b9ad8f,
    0 0 0px 2px #f2efe8,
    0 0 9px 3px #ded8cd,
    0 0 0px 12px #777357;

  /* òàáëè÷íîå */
  --table-container: #f7f3e85c;
  --table-container-text: #6f6d57;
  --table-container-highlight: #c9c1ad;
  --table-container-border: #d8d2c699;
  --table-container-box-shadow: #fffaf066;

  --table-popup: #3c3a2f94;
  --table-popup-text: #fffaf0;

  --table-links-bg: #d0c6ad;
  --table-links-hover: #f7f3e85c;
  --table-links-color: #fffaf0;
  --table-links-border: #a69a78;

  /* öâåò îøèáîê â ïðèëîæåíèÿõ */
  --apps-error: #a84a4a;
}

:root .valerie{
  --header: url(/files/001b/a3/41/16038.png);
  --header-height: 255px;
  --header-top: -163px;
}

:root .katrin{
  --header: url(/files/001b/a3/41/22129.png);
  --header-height: 262px;
  --header-top: -171px;
}

/* III. ÌÎÁÈËÜÍÀß ÂÅÐÑÈß
-----------------------------------------*/

@media screen and (max-width: 540px) {
  body {
    background: var(--body);
    background-size: auto;
  }

  #pun {
    width: 100%;
    padding: 0;
    margin-bottom: 226px;
border-radius: 34px;
  }

  #pun_wrap {
    padding: 0 8px;
  }

  #pun-index #pun-main {
    padding: 0 5px;
  }

  #pun-main {
    padding: 0 15px;
  }

  /* øàïêà */

  #pun-title table {
    width: calc(100% + 156px) !important;
    margin: -50px 0 0 -138px;
    border-radius: 0;
    background-size: cover;
    z-index: -1;
  }


  .mem-title {
    top: -97px;
    left: 175px;
    transform: scale(0.5);
    width: 290px;
}

.mem-title:after {
    margin-left: -30%;
    top: 57px;
    position: relative;
    left: 0;
}

  /* ïîäôîðóìû íà ãëàâíîé */

  .category:first-of-type {
    margin-top: 0;
  }

  #pun-index .category h2 span,
  #pun-stats h2::after {
    top: 0px;
  }

  #pun-index .hasicon tr {
    margin: 20px 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: 0;
    justify-content: space-between;
  }

  #pun-index .tcl {
    width: unset;
    grid-area: tcl;
  }

  .tclcon span a {
    max-height: 55px;
    overflow: auto;
  }

  .tclcon span a::-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 {
    margin-left: -43px;
  }

  #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;
  }


  #pun-about {
    width: 100%;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 36% top;
background: none;
  }

  /* ïðèâåòñòâèå */

  #pun-status {
display: none;
  }


  /* íàâèãàöèÿ */

  #pun-navlinks .container {
    width: 95%;
top: -173px;
    right: 0;
    left: 0;
    justify-content: space-evenly;
    gap: 0;
  }

  #navadmin {
    position: relative;
    top: unset;
    left: unset;
  }

#pun-ulinks {
    width: 90%;
    top: -41px;
}

  #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;
  }

  #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#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;
  }

  .tblnav1 {
    top: -225px;
    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;
  }

 
  /* ïîñò â òåìå */

  .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 {
    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;
  }

  .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;
  }

  #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;
  }

  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_stores {
    grid-template-columns: 1fr;
  }

  #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;
  }

  /*êíîïêè âíèçó ïîñòîâ*/
  #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;
  }

  /*àíêåòà*/
  /* èíïóòû è âñÿêèå ïîëÿ */

  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: -13px;
    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;
  }


 /* ñòðàíèöà ëè÷íûõ ñîî */

  #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;}
}
