@import url(style_cs.1773526160.css);
@import url(https://forumstatic.ru/files/0016/f1/95/90664.css);
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* дополнительные шрифты */
/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/* шрифты бланш */
@import url(https://forumstatic.ru/files/001a/28/10/55678.css); 

/* Иконический шрифт */
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Viaoda+Libre&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Alice&family=Forum&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Marck+Script&family=Pacifico&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Poiret+One&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&family=Unbounded:wght@200;300;400;500;600;700;800;900&family=Vollkorn:ital,wght@0,400;0,500;0,600;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Yeseva+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Prata&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100;8..144,200;8..144,300;8..144,400;8..144,500;8..144,600;8..144,700;8..144,800;8..144,900;8..144,1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v74/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1n-q_4MrImHCIJIZrDCvHOej.woff2) format("woff2");
}
@font-face {
  font-family: "Curator";
  src: local("Curator-Regular"), url('https://forumstatic.ru/files/001b/c1/d6/49549.eot') format('eot'), url("https://forumstatic.ru/files/001b/c1/d6/45523.woff2") format("woff2"), url("https://forumstatic.ru/files/001b/c1/d6/98408.woff") format("woff"), url("https://forumstatic.ru/files/001b/c1/d6/75622.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Curator";
  src: local("Curator-Bold"), url('https://forumstatic.ru/files/001b/c1/d6/13916.eot') format('eot'), url("https://forumstatic.ru/files/001b/c1/d6/58184.woff2") format("woff2"), url("https://forumstatic.ru/files/001b/c1/d6/51872.woff") format("woff"), url("https://forumstatic.ru/files/001b/c1/d6/12740.ttf") format("truetype");
  font-weight: normal;
  font-style: bold;
  font-display: swap;
}
@font-face {
  font-family: "Curator";
  src: local("Curator-Italic"), url('https://forumstatic.ru/files/001b/c1/d6/89960.eot') format('eot'), url("https://forumstatic.ru/files/001b/c1/d6/11482.woff2") format("woff2"), url("https://forumstatic.ru/files/001b/c1/d6/16423.woff") format("woff"), url("https://forumstatic.ru/files/001b/c1/d6/37956.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Constantia";
  src: local("Constantia-Regular"), url("https://forumstatic.ru/files/001b/c1/d6/98710.woff") format("woff"), url("https://forumstatic.ru/files/001b/c1/d6/96900.ttf") format("truetype"), url("https://forumstatic.ru/files/001b/c1/d6/51918.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Constantia";
  src: local("Constantia-Bold"), url("https://forumstatic.ru/files/001b/c1/d6/32857.woff") format("woff"), url("https://forumstatic.ru/files/001b/c1/d6/49678.ttf") format("truetype"), url("https://forumstatic.ru/files/001b/c1/d6/46173.otf") format("opentype");
  font-weight: normal;
  font-style: bold;
  font-display: swap;
}
@font-face {
  font-family: "Constantia";
  src: local("Constantia-Italic"), url("https://forumstatic.ru/files/001b/c1/d6/98710.woff") format("woff"), url("https://forumstatic.ru/files/001b/c1/d6/25709.ttf") format("truetype"), url("https://forumstatic.ru/files/001b/c1/d6/41787.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

* {
  text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --accent: #846B27;
  --black: #000000;
  --body: #E6E6E6;
  --body_box: #DDD9D8;
  --prof_box: #2E2E2E;
  --h1: #2D2725;
  --h3: #0D110C;
  --hr: #dcd2d1;
  --line: #d3cdcc;
  --sub_line: #262626;
  --text: #131313;
  --sub_text: #C0C0C0;
  --tabl_text: #B3AAA4;
  --prof_text: #D3D3D3;
  --input: #dad5d4;
  --quote_box: #ccc7c6;
  --sub_link: #fff;
  --select: rgb(132 107 39 / 20%);
  --bg: linear-gradient(to bottom, #796761 0%, #3C3837 100%);
  --font_accent: Constantia;
  --font_sub: Verdana;
}

:root .night {
  --accent: #6f70a7;
  --black: #000000;
  --body: #1F1A24;
  --body_box: #2E2735;
  --prof_box: #211920;
  --h1: #251f2b;
  --h3: #0D110C;
  --hr: #dcd2d1;
  --line: #4a3f56;
  --sub_line: #262626;
  --text: #B6B4CC;
  --sub_text: #CDCDDB;
  --prof_text: #D3D3D3;
  --input: #3a3143;
  --quote_box: #2e2735;
  --sub_link: #c0bfbf;
  --select: rgb(152 154 235 / 20%);
  --bg: linear-gradient(to bottom, #5F6076 0%, #36363B 100%);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: var(--black);
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent);
}

.punbb .modmenu .container span, .stickytext, .closedatafield, #pun-announcement h2, div#pun-live-rusff, .topic a.sharelink, td#button-smile, #pun-navlinks .container li#navawards, span.mini_awards_label, #pun-status .status-right, li.pa-gifts, #pun-viewtopic li.pa-gifts, #pun .modlist {
  display: none !important;
}

::-moz-selection {
  background: var(--select);
}

::selection {
  background: var(--select);
}

::-moz-selection {
  background: var(--select);
}

::-webkit-selection {
  background: var(--select);
}

.lastedit {
  display: none;
}

#topic-users-in a:after {
  content: ",";
}

#topic-users-in a:last-child:after {
  display: none;
}

del {
  text-decoration: none !important;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
  -webkit-filter: blur(1px);
  filter: blur(1px);
}

del:hover {
  text-decoration: none !important;
  -webkit-filter: none;
  filter: none;
}

.pa-respect img {
  -webkit-filter: hue-rotate(332deg);
  filter: hue-rotate(332deg);
}

.night .pa-respect img {
  -webkit-filter: hue-rotate(190deg) brightness(0.7);
  filter: hue-rotate(190deg) brightness(0.7);
}

.post-content hr, .menu_rub hr {
  border: none;
  background: var(--hr);
  width: 100%;
  height: 1px;
  opacity: 1 !important;
}

#pun-main div.tclcon > a {
  text-transform: lowercase;
}

#pun-main div.tclcon > strong a {
  text-transform: lowercase;
}

html, body {
  margin: 0;
  padding: 0;
}

.punbb * {
  margin: 0;
}

.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}

.punbb img {
  border: none;
}

.punbb .main table {
  table-layout: fixed;
  width: 100%;
}

.checkfield input[type=checkbox], .radiofield input[type=radio] {
  margin: 0 0.3em;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  input[type=checkbox], input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
  }
}
input[type=checkbox] {
  box-shadow: 0 0 0 1px var(--line) inset;
  padding: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

input[type=radio] {
  box-shadow: 0 0 0 1px var(--line) inset;
  border-radius: 100%;
  padding: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

input[type=checkbox]:checked, input[type=radio]:checked {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--line) inset;
}

p[class=checkfield] *,
div[class=checkfield] *,
fieldset[class=radiofield] * {
  height: auto;
  vertical-align: middle;
}

#pun-index thead, #pun-viewforum thead, #pun-online thead, #pun-userlist thead, #pun-searchtopics thead, #pun-respect thead {
  display: none;
}

#pun-userlist .formal .container, #pun-search .formal .container {
    border: solid 1px var(--line);
    background: var(--body_box);
    border-radius: 5px;
}

#pun-online .section.online-list .container {
  padding-top: 30px;
}

#pun-index .main .tc2, #pun-index .main .tc3, #pun-index .main .tcmod {
  display: none;
}

#pun-index .subforums {
  display: none;
}

#pun-viewforum #subforums {
padding: 10px 0 !important;
    text-transform: lowercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

#pun-viewforum #subforums a {
  padding: 2px 15px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 11px;
  background: var(--input);
  color: var(--text) !important;
  border-radius: 20px;
}

#pun-viewforum #subforums em {
  display: none;
}

#pun-viewforum #subforums a:hover {
   background: var(--accent);
  color: var(--sub_link) !important; 
}

input[type=submit], input[type=button] {
padding: 5px 15px;
    text-transform: lowercase;
    cursor: pointer;
    background: var(--input) !important;
    color: var(--text);
    -webkit-transition: 0.25s;
    transition: 0.25s;
    outline: none;
    border-radius: 5px;
    border: solid 1px var(--line);
}

input[type=submit]:hover, input[type=button]:hover {
  background: var(--accent) !important;
  color: var(--sub_link);
}

input[type=number], input[type=text], input[type=password], input[type=search], .resizable-textarea textarea, .punbb select, textarea#reputationText {
  background: var(--input);
  color: var(--text);
  outline: none;
  border: none;
  border-radius: 5px;
}

body {
  font-size: 100.01%;
}

.punbb {
  font: normal 68.75% inter, arial, helvetica, sans-serif;
}

.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em inter, verdana, arial, helvetica, sans-serif;
}

.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
}

.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
}

.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

.punbb address, .punbb em {
  font-style: normal;
}

.punbb .post-content em {
  font-style: italic;
}

.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.punbb a {
  text-decoration: none;
}

.punbb optgroup {
  font-weight: bold;
}

#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;
  font-size: 0;
}

.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;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

body {
  background: var(--bg) var(--h1);
  background-size: cover;
}

#pun {
  width: 1100px;
  margin: auto;
  margin-top: 25px;
  margin-bottom: 30px;
  box-sizing: border-box;
  position: relative;
  border-radius: 10px;
  background: var(--body);
}

#pun:before {
  content: "";
  width: 1100px;
  height: 450px;
  margin: auto;
  display: block;
  box-sizing: border-box;
  background: url(https://forumstatic.ru/files/001b/c1/d6/94276.jpg) no-repeat top center;
  border-radius: 9px 9px 0 0;
}

.night #pun:before {
  background: url(https://forumstatic.ru/files/001b/c1/d6/26339.jpg) no-repeat top center;
  background-size: cover;
}

.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 0 0 75px;
  padding: 0 20px !important;
  box-sizing: border-box;
}

#pun-viewtopic {
  padding: 0;
}

#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
}

#pun-post .topic {
  margin-top: 1em;
}

.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align: justify;
}

.punbb .post-sig {
  padding: 20px 0;
}

.punbb .post-sig dt {
  display: block;
  border-top: solid 1px;
  width: 250px;
  margin: 5px auto 15px;
  opacity: 10%;
}

.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
}

.quote-box p:last-of-type, blockquote p:last-of-type, .post-content p:last-of-type {
  padding-bottom: 0 !important;
}

.punbb .post-content img {
  vertical-align: text-bottom;
}

.punbb .post-content img.postimg {
  vertical-align: middle;
}

.night .punbb .post-content img.postimg {
  -webkit-filter: brightness(0.8);
  filter: brightness(0.8);
}

.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  text-align: justify;
}

.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.5em 0 0.7em 0;
  border-radius: 5px;
  background: var(--quote_box);
      border: solid 1px var(--line);
}

.punbb .quote-box cite, .punbb .code-box strong.legend {
  text-transform: lowercase;
    font: 600 12px Inter;
    padding: 5px 10px;
    color: var(--text);
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 3px;
    background: var(--body);
    border-radius: 4px 4px 0 0;
}

.post-content .spoiler-box > div {
  background: url(https://forumstatic.ru/files/0015/1b/9c/60771.svg) no-repeat left center !important;
  background-size: 11px !important;
  margin: 3px 10px;
  padding: 7px 0 7px 18px;
}

.turquoise .post-content .spoiler-box > div {
  background: url(https://forumstatic.ru/files/001b/7a/c4/21690.svg) no-repeat left center !important;
  background-size: 11px !important;
}

.post-content .spoiler-box > div.visible {
  background-image: url("https://forumstatic.ru/files/0015/1b/9c/35872.svg") !important;
  background-size: 11px !important;
  margin-bottom: 0;
}

.turquoise .post-content .spoiler-box > div.visible {
  background-image: url("https://forumstatic.ru/files/001b/7a/c4/64817.svg") !important;
}

.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  color: #bd6059;
  margin: 0 0 1.1em 0;
}

.punbb .info-box * {
  padding: 0 0 0.7em 0;
}

.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  color: #bd6059;
}

#pun-viewforum .main.multipage .linkst, #pun-viewforum .main.multipage .linksb, #pun-modviewforum .main.multipage .linkst, #pun-modviewforum .main.multipage .linksb {
  padding: 20px 0;
}

.linkst, .linksb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  line-height: 2;
  box-sizing: border-box;
}

.linksb {
  display: block;
  width: 100%;
  clear: both;
  line-height: 2;
  box-sizing: border-box;
}

.multipage {
  margin-bottom: 3em;
}

.linkst .pagelink {
  padding: 0 10px;
    font: 400 11px Inter;
    cursor: pointer;
    border: solid 1px var(--line);
    color: var(--text);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-height: 18px;
    border-radius: 5px;
}

.pagelink a:first-child, .pagelink a:last-child {
  background: transparent;
  color: var(--text) !important;
}

.linkst .postlink {
  float: right;
  font-size: 12px;
}

.punbb .linksb {
  text-align: right;
  font-size: 1.1em;
}

.linksb .pagelink {
float: left;
    text-align: left;
    padding: 0 10px;
    font: 400 11px Inter;
    cursor: pointer;
    border: solid 1px var(--line);
    color: var(--text);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 5px;
}

.linksb .postlink {
  float: right;
  width: 16em;
}

.subscribelink {
  clear: both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}

.postlink.long {
  width: auto !important;
}

.linksb .postlink, .linkst .postlink, .subscribelink, .linksb .pagelink, .linkst .pagelink {
  text-transform: lowercase;
}

.linksb .postlink a, .linkst .postlink a, .subscribelink a {
padding: 5px 15px;
    text-transform: lowercase;
    font-family: "Inter";
    font-size: 11px;
    cursor: pointer;
    background: var(--input);
    color: var(--text) !important;
    border: none;
    outline: none;
    border-radius: 5px;
}

.linksb .postlink a:hover, .linkst .postlink a:hover, .subscribelink a:hover {
  background: var(--accent);
    color: var(--sub_link)!important;
}

.pagelink a {
  font-weight: 600;
  background: var(--line);
  color: var(--text) !important;
  padding: 2px 6px;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.pagelink strong {
  color: var(--link);
  margin-left: 2px;
  border-radius: 5px;
  padding: 2px 5px;
}

.punbb .formal .container {
  padding: 15px 0;
}

.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
}

.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0;
}

.punbb fieldset {
  border: none;
  margin: 0 0 1em 0;
}

.punbb fieldset legend {
  display: none;
}

#pun-messages fieldset legend {
  padding: 5px 0;
}

#pun-messages fieldset legend:last-of-type {
  display: none;
}

#pun-profile fieldset legend {
  display: block;
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em;
}

.punbb fieldset legend span {
padding: 0 10px;
    margin: 0 0 0 -12px;
    text-transform: lowercase;
    border: solid 1px var(--line);
    font-size: 10px;
    color: var(--text);
    border-radius: 5px;
}

.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0;
}

.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
}

.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
}

.punbb .inline .infofield {
  clear: both;
}

.punbb .datafield br {
  display: none;
}

.punbb .datafield span.input a {
  font-weight: normal;
}

.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%;
}

.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  background: var(--input);
  border: solid 1px var(--line);
  padding-left: 5px;
  color: var(--text);
  outline: none;
}

.punbb .hashelp {
  position: relative;
}

.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
}

.punbb #profile .helplinks {
  top: 1.5em;
}

.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
}

#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
}

#pun-index tbody.hasicon tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 15px;
}

.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 55%;
}

#pun-index .main .tcl {
  overflow: visible;
  width: 60%;
  padding: 0.8em 0;
  position: relative;
}

#pun-index .main .tclcon {
    width: 80%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.tclcon_link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    padding-top: 10px;
    flex-wrap: wrap;
}

.tclcon_link a {
    padding: 3px 10px;
    text-transform: lowercase;
    background: var(--accent);
    color: var(--sub_link) !important;
    -webkit-transition: 0.25s;
    transition: 0.25s;
    border-radius: 20px;
}

.tclcon_link a:hover {
    opacity: 0.5;
}

.intd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  overflow-wrap: anywhere;
}

.punbb .main .tcr {
  overflow: hidden;
    text-align: left;
    line-height: 35px;
    text-transform: lowercase;
    width: 30%;
}

#pun-index .main .tcr, #pun-respect .main .tcr {
      text-align: left;
    padding: 20px;
    line-height: 15px;
}

a.lastpost-link {
  text-transform: lowercase;
  font: 700 11px var(--font_sub);
  color: var(--text) !important;
}

a.lastpost-link:hover {
   color: var(--accent) !important; 
}

.lastpost {
  text-transform: lowercase;
}

#pun-index .user-avatar {
  margin-top: -5px !important;
  margin-right: 25px !important;
}

.punbb .user-avatar {
  height: 35px !important;
  width: 35px !important;
  padding: 2px !important;
}

.punbb .user-avatar .avatar-image {
-webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.65 !important;
    border: solid 3px var(--line);
    box-sizing: border-box;
}

.punbb .user-avatar .isonline {
width: 7px !important;
    height: 7px !important;
    animation: none !important;
    -moz-animation: none !important;
    -webkit-animation: none !important;
    right: 3px !important;
    top: 4px !important;
    z-index: 1 !important;
    background: var(--accent) !important;
    box-sizing: border-box;
    box-shadow: 0px 0 10px var(--accent);
}

#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%;
}

#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}

#pun-debug table .tcl {
  width: 15%;
  white-space: normal;
}

#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}

#pun-index .tcl h3 {
  padding: 0;
}

#pun-index .tcl h3 a {
  font: 600 20px var(--font_accent);
  text-transform: lowercase;
  color: var(--text) !important;
}

#pun-index .tcl h3 a:hover {
    color: var(--accent) !important;
}

#pun-index .forum_tcl {
  font: 400 11px Inter;
  text-transform: lowercase;
  padding: 5px 0;
}

.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}

.punbb td .modlist {
  display: block;
  padding-top: 0.3em;
}

.punbb .main td {
  padding: 0.8em 1em;
  border: none !important;
}

#pun-viewforum .main td, #pun-searchtopics .main td {
  padding: 0.8em 2em;
}

td.td-divider {
    background: var(--body_box);
    outline: solid 1px var(--line);
    font: 600 10px var(--font_sub);
    text-transform: lowercase;
    border-radius: 5px;
}

.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
}

.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
}

.punbb .post .container {
  margin: 0 0 20px 0 !important;
  padding: 0 0 10px 20px;
  box-sizing: border-box;
}

.post-rating .container {
  padding-right: 0 !important;
}

.punbb .post h3 {
height: 20px;
    padding: 5px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.punbb .post h3:before {
    content: "";
    width: 100%;
    height: 1px;
    background: var(--line);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.punbb .post h3 a {
  color: var(--text) !important;
}

.punbb .post h3 span {
    padding: 5px 10px;
    background: var(--input);
    border: solid 1px var(--line);
    border-radius: 5px;
}

.punbb .post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
  padding-left: 15px;
}

.punbb .post h3 strong:before {
  content: "№ ";
}

strong.fnt:before {
  display: none;
}

.punbb .post h3 a.permalink, .punbb .post h3 span a {
  color: var(--text_prof) !important;
  text-transform: lowercase;
}

.punbb .post h3 a.permalink:hover, .punbb .post h3 span a:hover {
  opacity: 0.5;
}

.punbb .post .post-author {
float: left;
    width: 220px;
    height: 100%;
    margin: 10px 0 10px -20px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(https://forumstatic.ru/files/001b/c1/d6/50943.jpg) no-repeat top center var(--prof_box);
    border-radius: 20px;
}

.night .punbb .post .post-author {
    background: url(https://forumstatic.ru/files/001b/c1/d6/47608.jpg) no-repeat top center var(--prof_box);
    border: solid 1px #29232f;
    box-sizing: border-box;
}


#pun-messages .post .post-author {
  margin-left: 0;
}

.punbb .post .post-author ul, .punbb .post .post-author p {
  width: 210px;
  line-height: 140%;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 20px 0;
  border-left: 0;
  color: var(--prof_text);
}

#pun-post .post .post-author p {
  padding: 10px !important;
}

.pa-author {
    width: 100%;
    font: 400 16px var(--font_accent);
    text-transform: uppercase;
    text-align: center;
    padding: 10px 10px 0 !important;
}

.pa-author a:focus, .pa-author a:hover {
    color: var(--input);
}

.night .pa-author a:focus, .night .pa-author a:hover {
    color: var(--text);
}

.pa-avatar {
  width: 100%;
    padding-top: 5px !important;
    text-align: center;
    box-sizing: border-box;
}

.pa-avatar img {
  max-width: 180px;
  max-height: 180px;
}

.night .pa-avatar img {
  -webkit-filter: brightness(0.8);
  filter: brightness(0.8);
}
/*смена аватара под дизайн*/
/*** СМЕНА АВАТАРОВ ПОД ДИЗАЙН ***/

/* Стабилизация блока */
.post-author .pa-avatar {
    position: relative;
}

/*** Квадратные аватары для конкретных пользователей ***/
#pun [data-user-id="2"] .pa-avatar img,
#pun [data-user-id="16"] .pa-avatar img {
    display: block;
    margin: auto;
    width: 180px;   /* ширина */
    height: 180px;  /* высота */
    overflow: hidden;
}
/* 2 - главный админ, 8 - PR-профиль */

/* Псевдоэлемент, который будет перекрывать стандартный аватар */
[data-user-id="2"] .pa-avatar:before,
[data-user-id="16"] .pa-avatar:before {
    content: '';
    position: absolute;
    z-index: 5;
     top: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 180px;
    height: 180px;
 background-size: contain !important;  /* contain - вписывает картинку целиком */
    background-color: transparent !important;
    background-repeat: no-repeat !important;  /* отключаем повторение */
}
/*** Предпросмотр профиля - аватар ***/
#viewprofile-next.formal.id-2 #profile-left li#pa-avatar div,
#viewprofile-next.formal.id-16 #profile-left li#pa-avatar div {
    margin: auto auto 16px;
    width: 180px;
    height: 180px;
     background-size: contain;
    background-repeat: no-repeat;
}

/* Прячем оригинальную картинку при активном дизайне */
.night #viewprofile-next.formal.id-2 #profile-left #pa-avatar img,
.night #viewprofile-next.formal.id-16 #profile-left #pa-avatar img {
    display: none;
}
/* .night- класс активного дизайна */

/*** АДМИН (ID 2) ***/
.night [data-user-id="2"] .pa-avatar:before,
.night #viewprofile-next.formal.id-2 #profile-left li#pa-avatar div {
    background: url(https://forumstatic.ru/files/001c/a6/68/71575.png) 50% 50% no-repeat;
    
}

/*** ПИАР (ID 16) ***/
.night [data-user-id="16"] .pa-avatar:before,
.night #viewprofile-next.formal.id-16 #profile-left li#pa-avatar div {
    background: url(https://forumstatic.ru/files/001c/a6/68/79806.png) 50% 50% no-repeat;
}

@media screen and (max-width: 540px) {
    /* 1&#65039;&#8419; Переопределяем размеры для мобилок */
    #pun [data-user-id="2"] .pa-avatar img,
    #pun [data-user-id="16"] .pa-avatar img {
        width: 50px !important;
        height: 50px !important;
          }
    
    /* 2&#65039;&#8419; Подгоняем псевдо-элемент под мобильный размер */
    [data-user-id="2"] .pa-avatar:before,
    [data-user-id="16"] .pa-avatar:before {
        width: 50px !important;
        height: 50px !important;
        top: 7px;
        left: 54%;

    }
    
    /* 3&#65039;&#8419; Страница профиля на мобилке */
    #viewprofile-next.formal.id-2 #profile-left li#pa-avatar div,
    #viewprofile-next.formal.id-16 #profile-left li#pa-avatar div {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 10px;
    }
    }
/*конец*/


li.pa-title {
  width: 100%;
    font-size: 10px;
    text-align: center;
    padding: 0 10px !important;
    text-transform: lowercase;
}

li.pa-online, li.pa-last-visit {
  position: absolute;
  top: 12px;
  left: 15px;
  display: none;
}

li.pa-online strong {
  font-size: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 100%;
}

li.pa-last-visit {
  font-size: 0;
   display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 10px;
  height: 10px;
  background: var(--quote_box);
  border-radius: 100%;
  display: none;
}

li.pa-replies {
  padding-left: 20px;
  font-size: 10px;
  text-transform: lowercase;
}

.profile-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 7px;
    font-size: 9px;
    padding: 0 10px;
    color: var(--prof_text);
    padding: 0;
}

.pa-posts, .pa-respect, .pa-reg, li.pa-fld3, li.pa-fld2 {
text-align: center;
    font-size: 9px;
    margin: 8px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.post .post-author .pa-posts span, .post .post-author .pa-respect .fld-name a,
.isguest .post-author .pa-respect .fld-name, .post-author li.pa-reg span, .post-author .pa-fld3 span, .post-author .pa-fld2 .fld-name{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  font-size: 0;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  text-align: center;
}

.post-author .pa-posts span:before, .post-author .pa-respect .fld-name a:before, .isguest .post-author .pa-respect .fld-name:before, .post-author li.pa-reg span:before, .post-author .pa-fld3 span:before, .post-author .pa-fld2 .fld-name:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  left: 0;
  top: 0;
  pointer-events: none;
  font-family: Material Icons;
  font-size: 12px;
  color: var(--text_prof);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.post-author .pa-respect .fld-name a:before {
   color: var(--prof_text) !important; 
}

.post-author .pa-respect .fld-name a:hover:before {
  color: var(--accent);
  outline: none;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.post-author li.pa-posts span:before {
  content: "\e158";
}

.post-author li.pa-respect .fld-name a:before {
  content: "\e87d";
}

.isguest .post-author li.pa-respect .fld-name:before {
  content: "\e87d";
}

.post-author li.pa-reg span:before {
  content: "\e7fe";
}

.post-author .pa-fld3 span:before {
  content: "\e227";
}

.post-author .pa-fld2 .fld-name:before {
  content: "\e873";
}

/* лз */
.pa-fld1 {
    width: 100%;
}

.lz {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 10px 20px;
}

.lz span {
    font-weight: 200;
    color: var(--body);
    text-align: center;
}

.night .lz span {
    color: var(--prof_text);
}

.lz span a {
    color: var(--body) !important;
    font-style: italic;
    font-weight: bold;
}

.night .lz span a {
    color: var(--prof_text) !important;
    font-weight: bold;
}

.lz a.ank {
font: 600 10px var(--font_sub);
    color: var(--prof_text) !important;
    padding-bottom: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 7px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.lz a.ank:hover, .lz span a:hover {
    color: var(--accent) !important;
}

.night .lz a.ank {
   color: var(--accent) !important; 
}

.night .lz a.ank:hover {
    color: var(--text) !important; 
}

/* иконка */
.pa-fld5 {
width: 55px;
    height: 25px;
    background: var(--body);
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: -14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.pa-fld5 img {
   width: 25px;
    height: 25px; 
}

/* плашки */
.pls {
  background: -webkit-gradient(linear, left top, right top, from(#796761), to(#3C3837));
  background: -webkit-linear-gradient(left, #796761 0%, #3C3837 100%);
  background: linear-gradient(to right, #796761 0%, #3C3837 100%);
  width: 220px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font: 400 10px Inter;
  color: var(--sub_link) !important;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 5px;
  box-sizing: border-box;
  text-transform: lowercase;
}

.night .pls {
    background: -webkit-gradient(linear, left top, right top, from(#63637A), to(#38383E));
    background: -webkit-linear-gradient(left, #63637A 0%, #38383E 100%);
    background: linear-gradient(to right, #63637A 0%, #38383E 100%);}

.pls div {
  padding: 0 !important;
    font-style: italic;
    font-weight: bold;
}

/* принадлежность */
li.pa-fld1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

.punbb .post-body {
  margin-left: 240px;
  padding: 0 0 1px 0;
}

.punbb .post-box {
  padding: 0.95em 0em 0.95em 0em;
}

#pun-viewtopic .fs-box .post-box, #pun-post .fs-box .post-box {
  background: var(--body_box) !important;
  border: solid 1px var(--line);
  border-radius: 10px;
  padding: 10px;
}

#pun-messages .post-box {
  padding: 0.95em 1.5em 0.95em 1.5em;
}

.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

.punbb .post-links {
  margin-left: 19em;
}

#pun-messages .post-links {
  padding: 5px 15px;
}

.punbb .post-links ul {
      height: 2em;
    line-height: 2em;
    margin-left: -20.5em;
    background: transparent;
    text-align: right;
    padding: 10px 0 0;
}

.punbb .post-links li {
  display: inline;
  padding: 0 10px;
  text-transform: lowercase;
  font-size: 10px;
  font-weight: 500;
}

.punbb .post-links li:first-child {
  padding-left: 0;
}

.punbb .post-links li:last-child {
  padding-right: 0;
}

.punbb .post-links li a {
    padding: 5px 10px;
    text-transform: lowercase;
    font-family: "Inter";
    font-size: 11px;
    cursor: pointer;
    background: var(--input);
    color: var(--text) !important;
    border: none;
    outline: none;
    border-radius: 5px;
}

.punbb .post-links li a:hover {
    background: var(--accent);
    color: var(--sub_link) !important;
}

.pl-email, .pl-website {
  float: left;
}

.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
}

#pun-viewtopic .modmenu .container {
  padding: 0.5em 0;
  text-transform: lowercase;
}

#pun-viewforum .modmenu .container {
  padding: 0.5em 2em;
  text-transform: lowercase;
}

.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}

.punbb .modmenu .container strong {
  float: left;
}

#pun-modviewforum .modmenu .container strong {
  padding-left: 10px;
}

.punbb .modmenu input {
  margin-left: 1em;
}

.punbb .info .container {
  padding: 0.8em 1em;
}

.punbb .info .container .backlink {
  padding-top: 0.8em;
}

#profile .container {
  padding-left: 18.6em;
}

#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
}

#profilenav li {
  padding: 5px;
  margin: 5px 0;
  text-align: left;
  font-size: 12px;
}

#profilenav ul {
  padding: 18px;
    margin: 0 0 1em 0;
    border: solid 1px var(--line);
    border-radius: 5px;
}

#viewprofile h2, #profilenav h2 {
  border: none;
    padding: 5px 0 0 0;
    margin: 0 0 -14px 0;
    border-radius: 10px 10px 0 0;
    height: 25px;
    text-align: center;
}

#viewprofile h2 span, #profilenav h2 span {
padding: 5px 10px;
    font: 400 14px var(--font_accent);
    text-transform: lowercase;
    background: var(--input);
    border-radius: 5px;
}

#viewprofile li, #setmods dl {
  margin-bottom: 0.2em;
}

#viewprofile #profile-right li {
display: -ms-grid;
display: grid;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--body_box);
    border: solid 1px var(--line);
    -ms-grid-column-align: center;
        justify-items: center;
    padding: 10px 5px;
    border-radius: 5px;
}

#viewprofile li span {
  padding: 0 0 0 10px;
  font-weight: bold;
}

#viewprofile tbody tr {
display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    text-transform: lowercase;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}

#profile-left {
  width: 28% !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 10px !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#profile-left li#pa-avatar img {
border: solid 1px var(--line);
    padding: 10px;
    max-width: 180px;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 5px;
}

#profile-left li#pa-online strong {
  color: var(--text_prof) !important;
}

#profile-right {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 5px 1fr;
  grid-template-columns: 1fr 1fr;
  padding: 10px !important;
  box-sizing: border-box;
  gap: 3px 5px;
}

#profile-right li span a {
  color: var(--accent) !important;
}

#profile-right li span a:hover {
  color: var(--prof_link) !important;
}

#viewprofile #profile-name strong {
text-transform: lowercase;
    font: 600 24px var(--font_accent);
    padding: 10px;
    text-align: center;
    color: var(--accent);
}

#viewprofile #profile-title strong {
  color: var(--text_prof);
}

#viewprofile #pa-edit a {
  padding: 5px 15px;
    text-transform: lowercase;
    cursor: pointer;
    background: var(--input) !important;
    color: var(--text);
    border: none !important;
    -webkit-transition: 0.25s;
    transition: 0.25s;
    border-radius: 5px;
}

#viewprofile #pa-edit a:hover {
  background: var(--accent) !important;
    color: var(--sub_link);
}

#profile-signature ul {
  border: none !important;
}

.punbb #profile-signature .sigimage {
  max-width: 100% !important;
}

#pun-profile li#pa-invites, #pun-profile li#pa-fld4 {
  display: none !important;
}

#pun-profile li#pa-fld1 .lz {
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; 
  background: var(--h1);
  border-radius: 10px;
}

#pun-profile li#pa-fld1 .lz span {
    font-weight: 400 !important;
}

#setmods dt {
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
}

#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: 400 !important;
}

.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
  max-width: 180px;
  max-height: -webkit-fit-content;
  max-height: -moz-fit-content;
  max-height: fit-content;
}

#pun-userlist .formal {
  border-bottom: none;
  margin-bottom: 0;
}

#pun-userlist .usertable .container {
  padding: 2.3em;
}

#pun-searchtopics .main .container {
  padding: 0;
}

#pun-userlist .usertable h2, #pun-searchtopics .forum h2 {
  height: 15px;
  width: 100%;
  left: 0;
  position: relative;
  border-radius: 10px 10px 0 0;
}

#pun-title, #pun-title h1, #pun-title h1 span {
  display: none;
}

#pun-title .container {
  border-style: none;
}

#pun-title h1 span {
  font-size: 1.5em;
}

#pun-title table {
  border: none;
  height: 40px;
  width: 100%;
}

#pun-title td.title-logo-tdl {
  border: none;
  width: 100%;
}

#pun-title td.title-logo-tdr {
  border: none;
  width: 468px;
  vertical-align: top;
  padding-top: 2px;
}

#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
}

#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0;
}

#pun-pagelinks .container li {
  display: inline;
}

#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float: left;
  width: 100%;
}

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}

#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}

#pun-navlinks {
  margin: 0;
  padding: 10px 0;
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--h1);
  border-radius: 10px 10px 0 0;
}


#pun-navlinks .container {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
}

#pun-navlinks a {
color: var(--sub_link) !important;
    text-transform: uppercase;
    font: bold 10px var(--font_accent);
    padding: 0 5px;
}

#pun-navlinks a:hover {
  color: var(--accent) !important;
  opacity: 1;
}

#pun-ulinks {
  height: 25px;
  width: 100%;
  padding: 5px 0;
}

#pun-ulinks .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  height: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#pun-ulinks li, #pun-ulinks li a {
  text-transform: lowercase;
    font: 400 10px var(--font_sub);
    letter-spacing: 0.5px;
    color: var(--text) !important;
}

#pun-ulinks li a:hover {
    color: var(--accent) !important;
}

#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0;
}

#pun-status {
position: absolute;
    top: 435px;
    left: 0;
    box-sizing: border-box;
    background: var(--h1);
    width: 100%;
    padding: 3px 0;
    text-align: center;
}

#pun-status .container {
  line-height: 1.3;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  color: var(--sub_link);
}

#pun-status .container a {
  color: var(--sub_link) !important;
}

#pun-status .container a:hover {
  color: var(--accent) !important;
}

.status_userava {
  -ms-grid-row: 1;
      grid-row-start: 1;
  -ms-grid-column: 1;
      grid-column-start: 1;
  -ms-grid-row-span: 4;
  grid-row-end: 5;
}

.status_userava > img {
  border-radius: 100% !important;
  -webkit-filter: grayscale(1) brightness(0.7);
  filter: grayscale(1) brightness(0.7);
}

#pun-status span {
  white-space: nowrap;
  margin-right: 1em;
}

#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
}

#pun-crumbs1 p.container {
  border-top: none;
  margin: 10px 0;
  text-align: center;
  letter-spacing: 0.5px;
  font: 400 10px var(--font_sub);
  text-transform: lowercase;
}

#pun-break1 {
  display: none;
}

#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
}

#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

#pun-announcement .container {
  padding: 10px 0;
}

#pun-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: auto;
  margin: 10px 0 15px 0;
  padding: 0 0px 5px;
}

.ststitems {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-transform: lowercase;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  color: var(--text5);
  font-size: 10px;
}

.ststitems li {
  -webkit-box-flex: 1;
  -ms-flex: auto;
  flex: auto;
  text-align: center;
  padding: 5px 0;
}

.ststitems li:first-child {
  border-left: none;
}

.stat {
display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    gap: 15px;
    box-sizing: border-box;
    border-top: 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: center;
    padding: 5px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 0 0 5px 5px;
    border: solid 1px var(--line);
    background: var(--body_box);
}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  box-sizing: border-box;
    font: 400 12px var(--font_accent);
    text-transform: lowercase;
    padding-right: 15px;
    border-right: solid 1px var(--line);
}

#pun-stats li.item1 {
    border-left: solid 1px var(--line);
    padding-left: 15px;
}

#pun-stats .statscon {
  width: 100%;
}

#pun-stats .statscon .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  align-items: center;
  box-sizing: border-box;
  padding-bottom: 5px;
}

li#onlinelist {
  width: 100%;
  box-sizing: border-box;
  text-transform: lowercase;
  font: 400 10px var(--font_sub);
}

li#onlinelist a, li#onlinelist.item5.users_24h a, li#onlinelist span a, li#onlinelist.item5.users_24h span a {
  color: var(--text) !important;
}

li#onlinelist a:hover, li#onlinelist.item5.users_24h a:hover, li#onlinelist span a:hover, li#onlinelist.item5.users_24h span a:hover {
  color: var(--accent) !important;
}


li#onlinelist.item5.onlinelist, li#onlinelist.item5.users_24h {
  padding: 10px 0 0;
  text-align: justify;
}

li#onlinelist.item5.users_24h {
  padding-bottom: 10px;
}

#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
}

#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
}

#pun-about {
  margin-top: 0;
}

#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;
  padding: 0.8em 0;
  font-size: 9px;
}

#pun-about p span {
  display: block;
  text-transform: lowercase;
}

#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin: 10px 0 0;
  border-bottom: none;
}

#pun-crumbs2 .container {
  border-top: none;
  text-align: center;
  letter-spacing: 0.5px;
  font: 400 10px var(--font_sub);
  text-transform: lowercase;
}

#pun-break4 {
  display: none;
}

#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
}

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
}

#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em;
}

#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em;
}

#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}

#pun-help .formal li * {
  vertical-align: text-top;
}

#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
}

#pun-viewtopic #post-form, #pun-post .formal .container, #pun-messages #post-form {
  padding: 10px;
  border-radius: 10px;
}

#pun-messages #post-form span.checkfield {
  color: var(--sub_link);
}

#pun-viewtopic #post-form .formsubmit {
  padding: 0 0 0 8px;
}

/* Иконки в форме ответа */
.punbb #main-reply {
  box-sizing: border-box;
  outline: none;
  padding: 10px;
  border-radius: 5px;
}

.punbb #form-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  gap: 7px;
}

.punbb #form-buttons table {
  width: 100%;
}

.punbb #form-buttons tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    background: var(--input);
    margin: 10px 0;
    border: solid 1px var(--line);
    border-radius: 5px 0 0 5px;
}

#form-buttons td {
  background: none !important;
  position: relative;
  width: 20px;
  height: 20px;
  line-height: unset !important;
}

#form-buttons td:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  left: 0;
  top: 0;
  pointer-events: none;
  font-family: "Material Icons";
  font-size: 18px;
  color: var(--text);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

#form-buttons td:hover:before {
  color: var(--accent);
  outline: none;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

#form-buttons td#button-transL:before {
  content: "\e8e2";
}

#form-buttons td#button-font:before {
  content: "\eae2";
}

#form-buttons td#button-size:before {
  content: "\e245";
}

#form-buttons td#button-bold:before {
  content: "\e238";
}

#form-buttons td#button-italic:before {
  content: "\e23f";
}

#form-buttons td#button-underline:before {
  content: "\e249";
}

#form-buttons td#button-strike:before {
  content: "\e257";
}

#form-buttons td#button-indent:before {
  content: "\e23e";
}

#form-buttons td#button-left:before {
  content: "\e236";
}

#form-buttons td#button-center:before {
  content: "\e234";
}

#form-buttons td#button-right:before {
  content: "\e237";
}
#form-buttons td#button-justify:before {
  content: "\f039";
  font-family:'Font Awesome 6 Pro';
}
#form-buttons td#floatbut:before {
  content: "\f863";
}

#form-buttons td#button-link:before {
  content: "\e178";
}

#form-buttons td#button-spoiler:before {
  content: "\e0e0";
}

#form-buttons td#button-image:before {
  content: "\efa2";
}

#form-buttons td#button-video:before {
  content: "\e1c4";
}

#form-buttons td#button-hide:before {
  content: "\e63f";
}

#form-buttons td#button-quote:before {
  content: "\e244";
}

#form-buttons td#button-code:before {
  content: "\e86f";
}

#form-buttons td#button-color:before {
  content: "\e40a";
}

#form-buttons td#button-table:before {
  content: "\f191";
}

#form-buttons td#button-smile:before {
  content: "\e813";
}

#form-buttons td#button-sticker:before {
  content: "\e813";
}

#form-buttons td#button-keyboard:before {
  content: "\e312";
}

#form-buttons td#button-addition:before {
  content: "\e313";
}

#form-buttons td#button-mask:before {
  content: "\ea66";
}

#pun-messages td#button-mask {
  display: none;
}

/* всплывающие окна */
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, #pun-multimove .pun-modal .modal-inner, .pun-modal .modal-inner.section {
  background: var(--body) !important;
}

.pun-modal h2, .pun-modal h1 {
  text-align: center;
}

#pun-report .inner h1, #pun-reputation .inner h1, #pun-admin-award-form .inner h1, #pun-multimove .pun-modal .modal-inner h1 {
  padding: 0;
}

#tags .container {
  background: var(--body_box) !important;
  border: solid 1px var(--line);
  padding: 10px !important;
  top: 52px !important;
  border-radius: 0 0 5px 5px;
}

#pun-edit #tags .container {
  top: 67px !important;
}

#pun-edit #post-form fieldset:last-of-type {
  padding: 10px;
}

#pun-edit .history_posts_list {
  background: var(--body_box);
  border-radius: 10px;
  border: solid 1px var(--line);
  padding: 10px;
}

#pun-edit p.areafield.required:first-of-type {
  padding: 5px 10px;
    color: var(--text) !important;
    background: var(--body_box);
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 10px 0 5px;
    border: solid 1px var(--line);
    border-radius: 5px;
}

#font-area {
  overflow-x: auto;
  height: 100%;
}
#font-area {
    height: 220px;
    width: 680px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 12px;
    max-height: 167px !important;
    gap: 10px;
    overflow: auto;
    padding: 15px !important;
}

span#keyboard-span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 3px;
  width: 690px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#table-area td {
  -webkit-filter: opacity(0.7);
  filter: opacity(0.7);
  box-shadow: inset -1px -1px 0 0 black;
}

#table-area td.selected {
  background-color: var(--link) !important;
}

/**Громкость звука**/
#volSlider {
  background: var(--body_box) !important;
  border: none !important;
  margin-right: 10px;
}

#volSlider .before {
  background: var(--line) !important;
}

#volSlider .thumb {
  background: var(--accent) !important;
  top: -9px !important;
}

/**админка**/
#pun-admin_paid_services .linksb {
  clear: inherit;
  padding-bottom: 24px;
}

#pun-adnav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

/* иконки уведомлений */
span.num_msg, span.num_msg:before, .bubble {
  background: var(--accent) !important;
  color: var(--sub_link) !important;
}

.bubble:after {
  border-color: var(--accent) transparent !important;
}

.modal-inner.section h2 {
    border-radius: 20px 20px 0 0 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding: 15px !important;
    box-sizing: border-box;
}

.modal-inner.section .container {
    border-radius: 0 0 10px 10px !important;
    margin: 0 !important;
}

.pun-modal .closer {
    color: var(--sub_link);
    position: unset !important;
    width: auto !important;
}

#post-mentions #mentions-area {
    background: var(--body_box);
    border-radius: 10px;
    border: 1px solid var(--line);
}

#navpm .notify-link .unreads, #navprofile .notify-link .unreads {
    background: url(https://forumstatic.ru/files/001c/95/3d/67718.svg) var(--accent) no-repeat;
    background-size: 15px;
    background-position: center;
}

#navpm .unreads, #notify-link .unreads {
        background: var(--accent) !important;
}

.punbb #pun-main .pun-modal.unread-notifications .section h2 span {
    font-size: 14px;
    color: var(--sub_link);
    font-family: 'Playfair Display SC';
    text-transform: uppercase;
    width: 100%;
}
/**---------- МОБИЛЬНЫЙ СТИЛЬ ----------**/
@media screen and (max-width: 540px) {
    
  /**подпись**/
  img.sigimage {
    max-width: 100%;
  }
  
#snow-container, .ruff-player{
      display: none;
  } 
  
  
  /**окошки видео**/
  iframe {
    width: 100%;
  }
  #pun, .punbb, #html-header, #pun-index .main .tcl {
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
  }
  .punbb {
    padding: 0 10px !important;
  }
  .punbb .formal .container {
    padding: 0;
  }
  #pun-userlist .formal .container {
    padding: 15px 0;
  }
  #pun {
    margin-top: 50px;
    margin-bottom: 0;
  }
#pun:before {
  width: 100%;
        height: 200px;
        border-radius: 0;
        background-size: cover;
}
  #pun .post .post-content td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  .punbb .post-content {
    overflow: initial !important;
    height: auto !important;
  }
  .punbb .info-box {
    border: none;
  }
  .punbb .post-box {
    padding: 10px;
  }
  #pun-searchposts .post h3:before {
    display: none;
  }
  /**главная**/
  #pun-index tbody.hasicon tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #pun-index .main .tcr {
    width: 100%;
    box-sizing: border-box;
    text-align: right;
  }
  #pun-index .main .tcr {
    border-left: none !important;
    padding: 10px 0;
  }
  #pun-index .tclcon {
    width: 100% !important;
  }
  #pun-index h2:before {
    display: none;
  }
  #pun-index h2 span {
    width: 100%;
        border-radius: 5px;
        position: unset;
  }
  #pun-stats h2 span {
    width: 100% !important;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border-radius: 5px 5px 0 0;
        position: unset !important;
  }
  /**главная - оформление форумов**/
  #pun-index .main .tclcon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .tclcon_style {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;  
  }
  
  #pun-index .tcl h3 {
      -webkit-box-ordinal-group: 2;
          -ms-flex-order: 1;
              order: 1;
  }
  
  /* общая навигация */
  #pun-navlinks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 10;
    border-radius: 0;
  }
  #pun-navlinks .container {
    width: 100%;
    gap: 15px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  #pun-navlinks .container:after {
    display: none;
  }
  #pun-navlinks a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 0;
    width: 30px;
    height: 30px;
    border-bottom: none !important;
    padding: 0;
  }
  #pun-navlinks a:before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    left: 0;
    top: 0;
    pointer-events: none;
    font-family: "Material Icons";
    color: var(--sub_link);
    font-size: 24px;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-navlinks a:hover:before {
    opacity: 50%;
    outline: none;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-navlinks li#navindex a:before {
    content: "\e58c";
  }
  #pun-navlinks li#navuserlist a:before {
    content: "\f233";
  }
  #pun-navlinks li#navsearch a:before {
    content: "\e8b6";
  }
  #pun-navlinks li#navprofile a:before {
    content: "\f835";
  }
  #pun-navlinks li#navpm a:before {
    content: "\e158";
  }
  #pun-navlinks li#navadmin a:before {
    content: "\e8b8";
  }
   #pun-navlinks li#navprofiles a:before {
    content: "\f6fa";
    font-family: 'Font Awesome 6 Pro';
  }
  #pun-navlinks li#navlogout a:before {
    content: "\e5cd";
  }
  #pun-navlinks li#navregister a:before {
    content: "\e7fe";
  }
  #pun-navlinks li#navlogin a:before {
    content: "\e5ca";
  }
  #pun-navlinks li#navpr_1 a:before {
    content: "\e7f4";
  }
  #pun-navlinks li#navpr_2 a:before {
    content: "\e666";
  }
  /* общая навигация - пользовательские ссылки */
  #pun-ulinks {
    position: fixed;
    top: 7px;
    right: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: auto;
    height: auto;
    padding: 0;
    z-index: 11;
  }
  #pun-ulinks h2 {
    position: static;
    overflow: initial;
    width: 35px;
    height: 22px;
    background: transparent;
    padding: 7px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 11;
  }
  #pun-ulinks h2 span {
    font-size: 0;
    height: auto;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(http://forumstatic.ru/files/001b/c1/d6/30333.svg) no-repeat center/cover !important;
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: block;
  }
  .night #pun-ulinks h2 span {
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
  }
  
  #pun-ulinks h2 span:before {
    display: none;
  }
  #pun-ulinks ul {
    display: none !important;
  }
  #pun-ulinks:hover ul {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    top: 33px;
    right: 0;
    width: 200px;
    height: auto;
    background: var(--h1);
    border-radius: 0 0 10px 10px;
    margin: 10px;
    padding: 5px 10px;
    z-index: 9999;
  }
  #pun-ulinks li, #pun-ulinks li a {
    text-align: center;
    margin: 5px 0;
    font-size: 12px;
    background: var(--body_box);
    color: var(--text) !important;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-ulinks li {
    border: solid 1px var(--line);
  }
  #pun-ulinks li a:before {
    display: none;
  }
  #pun-ulinks li {
    padding: 5px;
  }
  #pun-ulinks a:hover {
    color: var(--black) !important;
  }
  #pun-ulinks li.item1 {
    padding-left: 5px;
  }
  #pun-status {
    width: 100%;
    height: auto;
    top: 171px;
    left: 0;
    padding: 3px 10px;
  }
  #pun-status .container {
    height: auto;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
    color: var(--sub_link);
    padding: 5px 0;
    font-size: 11px;
    border: none;
  }
  /* главная - статистика */
  #pun-stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #pun-stats h2 {
    position: static;
    width: 100%;
    border-radius: 20px 20px 0 0;
  }
  .stat {
    height: auto;
    padding: 5px;
    width: 100%;
  }
  #pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
  }
  #pun-stats li.item1 span, #pun-stats li.item2 span, #pun-stats li.item3 span, #pun-stats li.item4 span {
    font-size: 0;
    display: block;
    width: 21px;
    height: 21px;
    position: relative;
  }
  #pun-stats li.item1 span:before, #pun-stats li.item2 span:before, #pun-stats li.item3 span:before, #pun-stats li.item4 span:before {
    content: "";
    position: absolute;
    width: 21px;
    height: 21px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    left: 0;
    top: 0;
    pointer-events: none;
    font-family: "Material Icons";
    font-size: 18px;
    color: var(--text);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-stats li.item1 span:before {
    content: "\ea0e";
  }
  #pun-stats li.item2 span:before {
    content: "\ea20";
  }
  #pun-stats li.item3 span:before {
    content: "\e174";
  }
  #pun-stats li.item4 span:before {
    content: "\e56a";
  }
  /**футер**/
  .footer {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .footer_decore {
    display: none;
  }
  .footer div {
    width: 98%;
  }
  .branch_footer {
    display: none;
  }
  /* список тем */
  #pun-viewforum .user-avatar, #pun-modviewforum .user-avatar, #pun-searchtopics .user-avatar {
    display: none;
  }
  #pun-viewforum .main .tc2, #pun-viewforum .main .tc3, #pun-viewforum .main .tcmod, #pun-searchtopics .main .tc2, #pun-searchtopics .main .tc3, #pun-searchtopics .main .tcmod {
    display: none;
  }
  .punbb .main .tclcon .stickytext, .punbb .main .tclcon .closedatafield, .punbb .main .tclcon .byuser {
    display: none;
  }
  #pun-viewforum .container tr, #pun-searchtopics .container tr {
    display: -ms-grid;
    display: grid;
    width: 100%;
    margin: 0 auto;
    -ms-grid-rows: 1fr;
    -ms-grid-columns: 1fr 1fr;
        grid-template: 1fr/1fr 1fr;
  }
  #pun-main tr.tr-divider {
    background: transparent !important;  
  }
  #pun-modviewforum .container tr {
    display: -ms-grid;
    display: grid;
    width: 100%;
    margin: 0 auto;
    -ms-grid-rows: 1fr;
    -ms-grid-columns: 1fr 1fr 0.3fr;
        grid-template: 1fr/1fr 1fr 0.3fr;
  }
  #pun-viewforum .container td.tcl, #pun-modviewforum .container td.tcl, #pun-searchtopics .container td.tcl {
    display: -ms-grid;
    display: grid;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-viewforum .intd, #pun-modviewforum .intd, #pun-searchtopics .intd {
    display: -ms-grid;
    display: grid;
    gap: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-grid-columns: 1fr 0 5fr;
    grid-template-columns: 1fr 5fr;
  }
  #pun-viewforum .container td.tcr, #pun-modviewforum .container td.tcr, #pun-searchtopics .container td.tcr {
    display: -ms-grid;
    display: grid;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -ms-grid-column-align: end;
        justify-items: end;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-modviewforum .modmenu .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  /* модерация тем */
  #pun-modviewforum thead .tcl, #pun-modviewforum thead .tc2, #pun-modviewforum thead .tc3, #pun-modviewforum thead .tcr {
    font-size: 0;
  }
  #pun-modviewforum .main .tc2, #pun-modviewforum .main .tc3 {
    display: none;
  }
  /* активные users */
  #pun-online .container tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    -ms-grid-column-align: center;
        justify-items: center;
  }
  #pun-online .container .tcl.username {
    text-align: center;
    width: 100%;
  }
  #pun-online .container .tcl.action, #pun-online .container .tc3 {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  /* страница участники */
  .usertable tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    -ms-grid-column-align: center;
        justify-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #pun-userlist .main .tcl {
    margin-top: 0;
    margin-bottom: 0;
  }
  #pun-userlist .user-avatar, #pun-userlist .main .tc2, #pun-userlist .tc3.relation, #pun-userlist .tc3.num_posts, #pun-userlist .tc3.posts {
    display: none;
  }
  #pun-userlist .tc3.registered, #pun-userlist .tc3.last_visit, #pun-userlist thead {
    display: initial;
  }
  #pun-userlist thead {
    opacity: 0.6;
    text-transform: lowercase;
  }
  #pun-userlist .main .tc3, #pun-userlist .tcl.username, #pun-userlist .main .tcl {
    width: 100% !important;
  }
  #pun-userlist .main td {
    padding: 10px 0;
  }
  /* страница профиля */
  #viewprofile tbody tr {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #profile-left, #profile-right {
    width: 100% !important;
  }
  #profile-left {
    border-right: none !important;
  }
  #profile-right {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
    border-radius: 0 0 20px 20px;
  }
  #viewprofile #profile-right li {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    -ms-grid-column-align: center;
        justify-items: center;
  }
  #viewprofile li span {
    float: initial;
    text-align: center;
    width: auto;
    padding: 3px 10px;
    margin-left: 0;
  }
  #profile-right li strong {
    padding: 5px !important;
    text-align: center;
  }
  #viewprofile li#pa-fld2 span {
    display: none;
  }
  li#pa-register-date, #viewprofile li#pa-fld1, #viewprofile li#pa-email, #viewprofile li#pa-posts, #pa-fld1, #pa-fld2 {
    width: 100% !important;
  }
  /* настройки профиля */
  #pun-profile .formal .container {
    padding: 0;
  }
  #profile .container {
    padding: 0;
  }
  #pun-profile #profile .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #profilenav {
    margin: 10px 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #profilenav h2 {
    margin: 0;
    text-transform: uppercase;
    width: 100%;
    height: auto;
    text-align: center;
    box-sizing: border-box;
  }
  #profilenav h2 span {
    display: block;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
  }
  #profilenav ul {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
  }
  #profilenav li {
    padding: 10px;
    font-weight: bold;
    margin: 0;
  }
  #pun-profile .submitfield {
    padding: 0;
  }
  #pun-profile input[type=text] {
    width: 100%;
  }
  #pun-profile .submitfield input[type=submit], #pun-profile #update_comments, #pun-profile #del_file {
    margin: 10px 0;
  }
  #pun-profile #setmods dl {
    padding: 0;
    margin: 0;
  }
  #pun-profile #setmods dt {
    margin: 0;
    width: auto;
    float: none;
    padding: 0;
  }
  #pun-profile #setmods dd {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
  }
  #pun-profile .formsubmit {
    padding: 5px;
    margin: 0 0 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  /* страница лс */
  #pun-messages .container .user-avatar, #pun-messages li.pa-reg, #pun-messages li.pa-posts {
    display: none;
  }
  #pun-messages .post-body {
    width: 100%;
  }
  #pun-messages .post-content p {
    font-size: 12px;
  }
  #pun-messages .post-box {
    margin: 0;
    padding: 15px;
  }
  #pun-messages .post-links {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #pun-messages fieldset {
    padding: 0 8px;
  }
  #pun-messages #profilenav ul:first-of-type {
    margin-bottom: 15px;
  }
  #pun-messages #notify-settings {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  #messages .fs-box .tc3 {
    display: none;
  }
  #messages .fs-box tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 0.1fr;
    grid-template-columns: 1fr 1fr 0.1fr;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #messages .fs-box td {
    width: auto !important;
    box-sizing: border-box;
    overflow: inherit !important;
    white-space: normal !important;
  }
  #pun-messages .main .tc2 {
    overflow-wrap: inherit;
  }
  /* минипрофиль */
  .punbb .post h3:before {
    width: 30%;
  }
  .punbb .post .post-author {
    float: none;
        width: 100%;
        background-size: cover !important;
        margin: 15px 0 0;
  }
  .punbb .post .container {
    padding: 0;
  }
  .punbb .post .post-author ul, .punbb .post .post-author p {
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: 0fr 1fr;
    -ms-grid-columns: 1fr 10px 3fr 10px 1fr;
        grid-template: 0fr 1fr/1fr 3fr 1fr;
    -ms-grid-column-align: center;
        justify-items: center;
    padding: 12px;
  }
  .punbb .post .post-author ul:before, #pun-messages .post .post-author ul:before {
    display: none;
  }
  .pa-author {
    text-align: left;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        padding-bottom: 25px !important;
        -ms-grid-row: 2;
        -ms-grid-row-span: 2;
        -ms-grid-column: 3;
        -ms-grid-column-span: -1;
        grid-area: 2 / 3 / 4 / 2;
        width: 100%;
        background: transparent;
  }
  
  li.pa-title, img.post-img-Sp {
    display: none;
  }
  li.pa-online, li.pa-last-visit {
    top: unset;
    left: 0;
    bottom: 0;  
  }
  
  .pa-avatar {
    display: block;
        max-width: 50px;
        max-height: 50px;
        -ms-grid-row: 1;
        -ms-grid-row-span: 3;
        -ms-grid-column: 2;
        -ms-grid-column-span: -1;
        grid-area: 1 / 2 / 4 / 1;
  }
  
  .pa-avatar img {
    max-width: 40px;
    max-height: 40px;
    padding: 2px;
  }
  
  .punbb .post-body {
    margin: 0;
    overflow: hidden;
  }
  .pa-posts, .pa-respect {
    margin: 0;
    padding: 5px 0 !important;
  }
  .pa-posts {
    -ms-grid-row: 3;
    grid-area: 3;
  }
  .pa-respect {
    grid-area: -1/-2;
  }
  .pa-replies {
    display: none;
  }
  .pa-fld3 {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
    grid-area: 3/2;
  }
  .pa-fld5 {
    left: -5px;
    width: 25px;
    height: 25px;
    top: -12px;  
  }
  .pa-fld5 img {
    width: 25px;
    height: 25px;  
  }
  /* лз */
  li.pa-fld1, li.pa-fld4 {
    display: none;
  }
  .pls {
    border-radius: 10px 10px 0 0;
  }
  .profile-group {
    width: 100%;
    height: 20px;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: -1;
    grid-area: 3 / 3 / 4 / 2;
    box-sizing: border-box;
  }
  /* иконки редактирвоать/цитировать в постах */
  .punbb .post-links {
    margin-left: 0;
  }
  .post-links ul {
    padding: 0 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 0 !important;
    height: 100% !important;
    gap: 20px;
    padding: 10px 5px !important;
  }
  #pun-messages .post-links ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    padding: 10px 5px !important;
    margin: 0;
  }
  #pun-messages li.pl-email {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  #pun-messages li.pl-quote.pl-reply {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  #pun-messages li.pl-delete {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .punbb .post-links ul:after {
    display: none;
  }
  .post-links li {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    padding: 0 0 0 5px !important;
  }
  li.pl-email.email {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  .post-links a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 0 !important;
    width: 25px;
    height: 25px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0;
  }
  .post-links a:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    left: 0;
    top: 0;
    pointer-events: none;
    font-family: "Material Icons";
    font-size: 23px;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    color: var(--text);
  }
  .post-links li.pl-email.profile a:before {
    content: "\ea67";
  }
  .post-links li.pl-email.pm a:before {
    content: "\e158";
  }
  .post-links li.pl-email a:before {
    content: "\e0e6";
  }
  .post-links li.pl-email.email a:before {
    content: "\e0e6";
  }
  .post-links li.pl-delete a:before {
    content: "\e872";
  }
  .post-links li.pl-edit a:before {
    content: "\e3c9";
  }
  .post-links li.pl-quote a:before {
    content: "\e244";
  }
  .post-links li.pl-reports a:before {
    content: "\e153";
  }
  #pun-searchposts .post-links ul li a:before {
    content: "\e05f";
  }
  /* цитаты - код */
  .punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 0.5em 0 0.7em 0;
  }
  .punbb .quote-box cite, .punbb .code-box strong.legend {
    width: auto;
  }
  /* форма быстрого ответа */
  .punbb #form-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #tags .container {
    position: unset !important;
    right: 0 !important;
    top: 0 !important;
    margin-bottom: 10px !important;
    height: 100px;
    overflow-y: scroll;
    padding: 10px !important;
    width: auto;
  }
  #form-buttons td#button-smile {
    display: none;
  }
  .punbb #form-buttons tr {
    gap: 10px 20px;
    padding: 10px 5px;
  }
  #form-buttons td {
    width: 25px;
    height: 25px;
  }
  #form-buttons td:before {
    width: 25px;
    height: 25px;
    font-size: 20px;
  }
  #pun-viewtopic p.formsubmit, #pun-post p.formsubmit, #pun-edit p.formsubmit {
    padding: 0 !important;
    margin: 0;
    margin-bottom: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
  }
  #pun-viewtopic .formsubmit input {
    margin: 0;
  }
  #plng {
    width: 100%;
    text-align: center;
  }
  /* админка */
  .adminmain {
    padding-left: 0 !important;
  }
  #pun-adnav {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    position: unset;
  }
  #pun-admain fieldset {
    padding: 0 !important;
  }
  #pun-adnav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 5px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #pun-adnav li {
    padding: 5px !important;
  }
  #pun-adnav li.isactive ul.adsubnav {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #pun-admain fieldset .handle, #pun-admain fieldset p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: auto !important;
    border: none !important;
    position: static !important;
    margin-bottom: 6px !important;
    padding: 0 0 6px 0 !important;
  }
  #pun-admain .adlabel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    float: none !important;
    margin: 0 !important;
    position: static;
  }
  #pun-admain p.adsubmitfield .adlabel {
    padding-bottom: 0 !important;
  }
  #pun-admain .postlink {
    text-align: center;
  }
  #pun-admin_paid_services .linksb {
    clear: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 45px !important;
    padding: 0;
  }
  #pun-admain .tcl, #pun-admain .tc2, #pun-admain .tc3 {
    word-break: break-all;
  }
  /**всплывающие подсказки**/
  #tooltip {
    display: none !important;
  }
  /**внутренние уведомления**/
  .jGrowl-notification {
    z-index: 99999;
  }
  .jGrowl-close {
    margin: 0 !important;
  }
  /**формы, кнопки**/
  input[type=text] {
    width: 100%;
    box-sizing: border-box;
  }
  #pun-viewtopic input[type=text] {
    width: auto;
  }
  .punbb select {
    width: 100%;
    margin: 3px 0;
  }
  /**кнопка открытия меню**/
  #settings-toggle {
    width: 100%;
    border-radius: 0 0 10px 10px;
    top: 50px;
    left: 0;
    position: fixed;
    height: 30px;
  }
  #settings-toggle:hover {
    opacity: 1;
  }
  #settings-menu {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    max-width: 100%;
    padding: 45px 10px 10px 10px;
    box-sizing: border-box;
  }
  #stylelist {
    gap: 30px;
  }
  #off_mod_button {
    margin-left: 30px;
  }
  /**маска**/
  #mask_dialog .hv-mask-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #mask_dialog .hv-preview-block img {
    max-width: 60px;
  }
  #mask_dialog .hv-control {
    padding: 8px;
    text-align: center;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  
  #mask_dialog .hv-control input + input {
    margin-left: 0;
  }
  
  /**кнопка предпросмотра**/
  #togglePreview input[type=button] {
    margin-bottom: 10px;
    width: 100%;
  }
  
  /**быстроплюсы**/
  div .post-rating p > a {
    height: 40px;
    font-size: 16px !important;
    font-weight: bold;
    box-sizing: border-box;
  }
  
  div.post-vote p > a {
    width: 30px;
    height: 20px;
    margin-top: 26px;
  }
  
  div.post-vote p > a:before {
    content: "\f1fc";
    font-size: 25px;
  }
  
  /**заметки**/
  #BookmCntToggle {
    position: absolute !important;
    top: 398px !important;
    left: 90% !important;
  }
  
  /**стили**/
  img#themeToggler {
    position: absolute;
    top: 60px;
    left: 10px;  
  }
  
  #vtlThemeSelector{
    z-index: 1;
        position: absolute;
        top: 60px;
        left: 50px;
  }
  
  /**гостевая**/
  .guest_book {
    width: 100%;
  }
  
  .guest_up, .guest_down {
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
  }
  
  .guest_logo {
    margin: 0 auto !important;
  }
  .guest_info {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 30px;
  }
  
  .guest_mid {
    width: 100%;
  }
  .guest_down {
    gap: 30px;
  }
  
  .guest_block, .guest_down .code-box {
    width: 100% !important;
  }
  
  /* карта */
  .story_map {
    text-align: left;
  }
  
  /* оформление ковенов */
  .coven_scr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
  }
  
  .coven_scr p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .need_body {
    width: 100%;
  }
  /* новости */
  .npaper_bg {
    padding: 10px;
  }
  .npaper_shadow, .npaper_shadow:before, .npaper_body {
    width: 100%;
  }
  .npaper_h1, .npaper_h2 {
    text-align: left;
  }
  .npaper_img p {
    gap: 5px;
  }
  /* списки */
  .them_all {
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  }
  
  .them_info {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .them_list {
    width: 100%;
  }
  .silversnake_logo {
    width: 100%;
    height: 93px;
    background-size: contain;
  }
  .them_down .code-box, .them_txt_up {
    width: 100%;
  }
  
/* сворачивание таблицы */
.mobile-table-toggle {
        display: none;
        position: absolute;
        top: 70px;
        right: 10px;
        background: var(--accent);
        color: var(--prof_text);
        border: none;
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 14px;
        cursor: pointer;
        z-index: 9;
}

@media screen and (max-width: 540px) {
    .mobile-table-toggle {
        display: block;
    }
    
    .table_wrapper {
        position: absolute;
        top: 10px;
        left: 0;
        right: 0;
        background: var(--body_box);
        z-index: 999;
        padding: 15px;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 10px;
        display: none;
        z-index: 8;
    }
    
    .table_wrapper.show {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    }
    
    /* Корректировка абсолютного позиционирования для мобильных */
    .left_post_face,
    .left_nav,
    .left_news1,
    .left_news,
    .need_box_1,
    .need_box_2,
    .need_box_3,
    .left_need_face,
    .up_ep,
    .right_post_face,
    .left_post {
        position: static;
        margin-bottom: 15px;
    }
    
    .left_post_face {
        top: auto;
        left: auto;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    
    .left_nav {
        top: auto;
        left: auto;
        position: static;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        gap: 5px;
    }
    
    span.left_news1 {
      display: none;
    }
    
    .left_news1 {
        position: static;
        display: block;
        margin-bottom: 5px;
    }
    
    .left_news {
        position: static;
        width: 100%;
        height: auto;
        overflow-y: visible;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    
    .left_news a {
        width: 100%;
    }
    
    .need_box_1,
    .need_box_2,
    .need_box_3 {
        position: static;
        display: inline-block;
        margin-right: 5px;
    }
    
    .left_need_face {
        position: static;
        display: block;
        margin-bottom: 5px;
    }
    
    span.left_need_face {
    position: unset;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    }
    
    .up_ep {
            width: 100%;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            background: var(--h1);
            padding: 5px;
            border-radius: 5px;
    }
    
    .right_post_face {
        position: static;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
  .left_post {
                width: 100%;
            height: auto;
            background: var(--h1);
            padding: 10px;
            border-radius: 10px;
    }
    
    .left_post p {
        height: auto;
        max-height: 100px;
    }
    
    .night .left_post,
    .night .up_ep {
        top: auto;
        left: auto;
    }
    
    /* гостевая */
    .guest_them, .guest_block_left, .guest_block_right, .guest_man, .guest_woman, .guest_sold, .guest_nav {
        width: 100%;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    
    .guest_body {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap; 
    }
    
    .guest_nav p {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .guest_nav p a {
     margin: 5px 0;
    }
}
