@import url(style_cs.1761342716.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");
/* дополнительные шрифты */
@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: "Relatta Saidnolia Serif";
  src: url("https://forumstatic.ru/files/0015/1b/9c/60360.eot");
  src: local("Relatta Saidnolia Serif"), url("https://forumstatic.ru/files/0015/1b/9c/49926.otf") format("opentype"), url("https://forumstatic.ru/files/0015/1b/9c/53019.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  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 {
  --black: #0A0A0B;
  --body: #E8EBF2;
  --body_box: #CCCED0;
  --body_sub: #dadada;
  --button: #524F3C;
  --h3: #0D110C;
  --link: #636043;
  --link_prof: #8C8858;
  --line: #3D3A29;
  --text: #2e2e2e;
  --text_prof: #b1b1b1;
  --text_sub: #5f5e5e;
  --inf: #a5a5a5;
  --quote_box: #E0E0E0;
  --sub_link: #c7c7c7;
  --select: rgb(140 136 88 / 50%);
  --gradient: linear-gradient(180deg,rgba(13, 17, 12, 1) 0%, rgba(84, 86, 79, 1) 100%);
  --gradient_revers: linear-gradient(-90deg,rgba(13, 17, 12, 1) 0%, rgba(84, 86, 79, 1) 100%);
  --gradient_45: linear-gradient(45deg, rgba(13, 17, 12, 1) 0%, rgba(84, 86, 79, 1) 100%);
  --bg: url(https://forumstatic.ru/files/001b/7a/c4/15791.jpg) fixed no-repeat top center;
}

:root .night {
  --black: #0A0A0B;
  --body: #000000;
  --body_box: #151515;
  --body_sub: #dadada;
  --button: #2F3D22;
  --h3: #262f1c;
  --link: #55653F;
  --link_prof: #687b4f;
  --line: #2D3520;
  --text: #989898;
  --text_prof: #b1b1b1;
  --text_sub: #5f5e5e;
  --inf: #a5a5a5;
  --quote_box: #0f0f0f;
  --sub_link: #a9a9a9;
  --select: rgb(90 106 72 / 50%);
  --gradient: linear-gradient(180deg,rgba(38, 47, 28, 1) 0%, rgba(6, 6, 6, 1) 100%);
  --gradient_revers: linear-gradient(-90deg,rgba(6, 6, 6, 1) 0%, rgba(38, 47, 28, 1) 100%);
    --gradient_45: linear-gradient(45deg,rgba(6, 6, 6, 1) 0%, rgba(38, 47, 28, 1) 100%);
  --bg: url(https://forumstatic.ru/files/001b/7a/c4/41692.jpg) fixed no-repeat top center;
}

::-webkit-scrollbar {
  width: 6px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--line);
  border-radius: 50px;
}

.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);
  color: var(--text);
}

::selection {
  background: var(--select);
  color: var(--text);
}

::-moz-selection {
  background: var(--select);
  color: var(--text);
}

::-webkit-selection {
  background: var(--select);
  color: var(--text);
}

.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;
}
abbr {
  border-bottom: dotted 1px;
}

.pa-respect img {
  -webkit-filter: hue-rotate(320deg) brightness(0.8);
  filter: hue-rotate(320deg) brightness(0.8);
}

.night .pa-respect img {
  -webkit-filter: hue-rotate(14deg) brightness(0.6);
  filter: hue-rotate(14deg) brightness(0.6);
}

.post-content hr, .menu_rub hr {
  border: none;
  background: var(--text_sub);
  width: 100%;
  height: 1px;
  opacity: 1 !important;
}

#pun-main div.tclcon > a {
  text-transform: uppercase;
}

#pun-main div.tclcon > strong a {
  text-transform: uppercase;
}

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(--body_box);
  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-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, #pun-viewforum #subforums {
  display: none;
}

input[type=submit], input[type=button] {
padding: 5px 15px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    font-family: "Inter" !important;
    cursor: pointer;
    background: var(--button) !important;
    color: var(--sub_link) !important;
    border-radius: 10px;
    border: none !important;
    -webkit-transition: 0.25s;
    transition: 0.25s;
    outline: none;
}

input[type=submit]:hover, input[type=button]:hover {
  opacity: 0.5;
}

input[type=number], input[type=text], input[type=password], input[type=search], .resizable-textarea textarea, .punbb select, textarea#reputationText {
  background: var(--body_box);
  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(--black);
}


#pun {
  width: 1000px;
  margin: auto;
  margin-top: 25px;
  margin-bottom: 30px;
  box-sizing: border-box;
  position: relative;
  background: url(https://forumstatic.ru/files/001b/7a/c4/22353.jpg) no-repeat bottom center var(--body);
  border-radius: 10px;
}

.night #pun {
   background: url(https://forumstatic.ru/files/001b/7a/c4/93020.jpg) no-repeat bottom center var(--body); 
}

#pun:before {
  content: "";
  width: 1000px;
  height: 500px;
  margin: auto;
  display: block;
  box-sizing: border-box;
  background: url(https://forumstatic.ru/files/001b/7a/c4/58980.jpg) no-repeat top center;
  border-radius: 10px 10px 0 0;
}

.night #pun:before {
    background: url(https://forumstatic.ru/files/001b/7a/c4/65066.jpg) no-repeat top center;
}

.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 0 0 95px;
  box-sizing: border-box;
  padding: 0 30px !important;
}

#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  {
    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: 1.8em 0 0.7em 0;
    background: var(--quote_box);
    border-radius: 10px;
    box-shadow: 0 -5px 0 0 var(--h3);
}

.punbb .quote-box cite, .punbb .code-box strong.legend {
text-transform: uppercase;
    letter-spacing: 0.5px;
    font-style: normal;
    font: 600 11px Inter;
    padding: 3px 10px;
    margin-left: 20px;
    color: var(--link_prof);
    border-top: none;
    max-width: fit-content;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 3px;
    background: var(--h3);
    border-radius: 0 0 10px 10px;
}

.punbb .quote-box cite a, .punbb .code-box strong.legend a {
    color: var(--link_prof) !important;
}

.punbb .quote-box cite a:hover, .punbb .code-box strong.legend a:hover {
    opacity: 0.5;
}

.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: 10px;
  padding: 7px 0 7px 18px;
}

.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;
}

.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, #pun-modviewforum .main.multipage {
    background: var(--body_box);
    border-radius: 10px;
}

#pun-viewforum .main.multipage h1, #pun-modviewforum .main.multipage h1 {
   background: var(--gradient);
    border-radius: 10px 10px 0 0;
    height: 15px; 
}
 
#pun-viewforum .main.multipage .linkst, #pun-viewforum .main.multipage .linksb, #pun-modviewforum .main.multipage .linkst, #pun-modviewforum .main.multipage .linksb {
   padding: 20px; 
}

.linkst, .linksb {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  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(--button);
    color: var(--text);
    border-radius: 10px;
    display: flex;
    align-items: center;
    max-height: 18px;
}

.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(--button);
    color: var(--text);
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.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;
    letter-spacing: 0.5px;
    font-family: "Inter";
    font-size: 11px;
    cursor: pointer;
    background: var(--button);
    color: var(--sub_link) !important;
    border-radius: 10px;
    border: none;
    outline: none;
}

.linksb .postlink a:hover, .linkst .postlink a:hover, .subscribelink a:hover {
  opacity: 0.5;
}

.pagelink a {
font-weight: 600;
    background: var(--button);
    padding: 2px 6px;
    color: var(--sub_link) !important;
    -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 5px;
  margin: 0 0 0 -15px;
}

.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(--body_box);
    border-radius: 10px;
    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: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
 padding: 15px;
}

#pun-index .main .container  {
   padding: 20px 10px;
    background: var(--body_box);
    margin-bottom: 20px;
    border-radius: 10px; 
}

.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%; 
}

.intd {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

#pun-index .intd {
   justify-content: space-evenly; 
   align-items: flex-start;
}

.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: 15px;
  width: 30%;
}

#pun-index .main .tcr, #pun-respect .main .tcr {
  text-align: right;
  padding: 20px;
}

a.lastpost-link {
  text-transform: uppercase;
  letter-spacing: 1px;
  font: 500 10px Vollkorn;
}

.lastpost {
  text-transform: lowercase;
}

#pun-index .user-avatar {
  margin-top: -5px !important;
  margin-right: 25px !important;
}

.punbb .user-avatar {
  height: 36px !important;
  width: 36px !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;
}

.punbb .user-avatar .isonline {
background: transparent !important;
    animation: none !important;
    -moz-animation: none !important;
    -webkit-animation: none !important;
    right: -2px !important;
    top: -2px !important;
    z-index: 1 !important;
    width: 44px !important;
    height: 44px !important;
    border: solid 2px var(--button);
    box-sizing: border-box;
}

#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 {
  text-transform: uppercase;
    font: 400 18px Vollkorn;
}

#pun-index .forum_tcl { 
    font: 400 11px Inter;
    text-transform: lowercase;
    padding: 5px 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.forum_link {
    display: flex;
    gap: 7px;
}

.forum_link a {
    padding: 3px 15px;
    background: var(--button);
    border-radius: 10px;
    color: var(--text_prof) !important;
    box-sizing: border-box;
    text-align: center;
}

.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;
}

.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 20px 10px 20px ;
    background: var(--body_box);
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
}

.post-rating .container {
    padding-right: 0 !important;
}

.punbb .post h3 {
height: 20px;
    padding: 10px 20px 10px 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    background: var(--h3);
    color: var(--text_prof);
    border-radius: 10px 10px 0 0;
    position: relative;
}

.punbb .post h3 a {
   color: var(--text_prof) !important; 
}

.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-left: -20px;
    position: relative;
}

#pun-messages .post .post-author {
    margin-left: 0;
}

.punbb .post .post-author ul, .punbb .post .post-author p {
width: 220px;
    line-height: 140%;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
    border-left: 0;
    border-radius: 0 0 15px 0;
    background: var(--gradient);
    color: var(--text_prof);
}

.punbb .post .post-author ul:before {
    content: "";
    display: block;
    width: 720px;
    height: 7px;
    background: var(--body_box);
    position: absolute;
    top: -5px;
    left: 220px;
    border-radius: 20px 0 0 0;
    z-index: 2;
}

#pun-messages .post .post-author ul:before {
    content: "";
    display: block;
    width: 499px;
    height: 7px;
    background: var(--body_box);
    position: absolute;
    top: -5px;
    left: 220px;
    border-radius: 20px 0 0 0;
    z-index: 2;
}

#pun-post .post .post-author p {
  padding: 10px !important;
}

.pa-author {
width: 100%;
    font: 400 14px Prata;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 10px 0 !important;
    color: var(--link_prof);
}

.pa-author a {
  color: var(--link_prof) !important;
}

.pa-author a:hover {
  color: var(--link) !important;
}

.pa-avatar {
  width: 100%;
  padding: 10px !important;
  text-align: center;
}

.pa-avatar img {
  max-width: 180px;
  max-height: 180px;
  border: solid 1px var(--line);
  padding: 5px;
}

li.pa-title {
width: 100%;
    font-size: 10px;
    text-align: center;
    padding: 0 10px !important;
    text-transform: lowercase;
    color: var(--text_prof);
}

li.pa-online, li.pa-last-visit {
  position: absolute;
    top: -25px;
    left: 15px;
}

li.pa-online strong {
font-size: 0;
    display: flex;
    width: 10px;
    height: 10px;
    background: var(--link_prof);
    border-radius: 100%;
}

li.pa-last-visit {
  font-size: 0;
}

li.pa-replies {
  padding-left: 20px;
  font-size: 10px;
  text-transform: lowercase;
}

.pa-posts, .pa-respect, .pa-reg, li.pa-fld4 {
  text-align: center;
  font-size: 10px;
  margin: 8px 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-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 li.pa-fld3 span, .post-author li.pa-fld4 span {
  display: -webkit-box;
  display: -webkit-flex;
  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 li.pa-fld3 span:before, .post-author li.pa-fld4 span:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: 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:hover:before {
  color: var(--link);
  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 li.pa-fld3 span:before {
  content: "\e0e6";
}

.post-author li.pa-fld4 span:before {
  content: "\eaf1";
}

/* лз */
.lz {
    display: flex;
    flex-direction: column;
    padding: 0 15px 10px;
    text-align: justify;
    color: var(--text_prof);
}

.lz a {
    text-transform: uppercase;
    text-align: center;
    font-size: 12px;
    color: var(--link_prof) !important;
}

li.pa-fld3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

/* плашки */
.pls {
background: url(https://forumstatic.ru/files/001b/7a/c4/15993.jpg);
    width: 220px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font: 400 10px Inter;
    color: var(--sub_link) !important;
    justify-content: center;
    padding: 0 5px;
    box-sizing: border-box;
    text-transform: lowercase;
}

.pls div {
    font-weight: bold;
    padding: 0 !important;
}

#pun-profile {
    
}
.pls:hover {
    opacity: 100% !important;
}

li.pa-fld3:before, li.pa-fld3:after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background: var(--line);
}

.punbb .post-body {
  margin-left: 220px;
  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: -19em;
  background: transparent;
  text-align: right;
}

.punbb .post-links li {
      display: inline;
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 500;
}

.punbb .post-links li:first-child {
  padding-left: 0;
}

.punbb .post-links li:last-child {
  padding-right: 0;
}

.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;
}

#pun-viewforum .modmenu .container {
    padding: 0.5em 2em;
}

.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;
  background: var(--body_box);
  border-radius: 10px;
}

#viewprofile h2, #profilenav h2 {
     border: none;
    padding: 5px 0 0 0;
    margin: 0 0 -0.6em 0;
    border-radius: 10px 10px 0 0;
    background: var(--gradient_revers);
    height: 25px;
    text-align: center;
}

#viewprofile h2 span, #profilenav h2 span {
  padding: 5px;
    font: 900 12px Cormorant Garamond;
    text-transform: uppercase;
    color: var(--text_prof);
}

#viewprofile li, #setmods dl {
  margin-bottom: 0.2em;
}

#viewprofile #profile-right li {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background: var(--body_box);
    border: solid 1px var(--line);
    justify-items: center;
    border-radius: 10px;
    padding: 10px 5px;
}

#viewprofile li span {
  padding: 0 0 0 10px;
  font-weight: bold;
}

#viewprofile tbody tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  text-transform: lowercase;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background: var(--gradient);
  border-radius: 20px;
}

#profile-left {
  width: 28% !important;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 10px !important;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#profile-left li#pa-avatar img {
    border: solid 1px var(--line);
    padding: 5px;
    border-radius: 5px;
    max-width: 180px;
    max-height: 180px;
}

#profile-left li#pa-online strong {
  color: var(--text_prof) !important;
}

#profile-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px !important;
  box-sizing: border-box;
  gap: 3px 5px;
}

#profile-right li span a {
  color: var(--text) !important;
}

#profile-right li span a:hover {
  color: var(--link) !important;
}

#viewprofile #profile-name strong {
  text-transform: uppercase;
    font: 600 18px Cormorant Garamond !important;
    padding: 10px;
    text-align: center;
    color: var(--link_prof);
}

#viewprofile #profile-title strong {
  color: var(--text_prof);
}

#viewprofile #pa-edit a {
  padding: 4px 9px;
  color: var(--link_prof);
}

#viewprofile #pa-edit a:hover {
  opacity: 0.5;
}

#profile-signature ul {
  border: none !important;
}

.punbb #profile-signature .sigimage {
  max-width: 100% !important;
}

#pun-profile li#pa-invites {
  display: none !important;
}

#pun-profile li#pa-fld1 {
  grid-column: 1/-1;
}

#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;
}

#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
}

#pun-userlist .usertable .container{
  padding: 2.3em;
    border-top: none;
    background: var(--body_box);
    border-radius: 0 0 10px 10px;
}

#pun-searchtopics .main .container {
    padding: 0;
    background: var(--body_box);
    border-radius: 0 0 10px 10px;
}


#pun-userlist .usertable h2, #pun-searchtopics .forum h2 {
   height: 15px;
    width: 100%;
    background: var(--gradient);
    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: 20px;
    box-sizing: border-box;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--black);
    border-radius: 10px 10px 0 0;
}

#pun-navlinks .container {
  width: 100%;
  height: 100%;
  display: flex;
}

#pun-navlinks a {
  color: var(--sub_link) !important;
    text-transform: uppercase;
    font: 500 11px Inter;
    padding: 0 5px;
}

#pun-navlinks a:hover {
  opacity: 0.5;
  outline: none;
}

#pun-ulinks {
  height: 25px;
  width: 100%;
  padding: 10px 0;
}

#pun-ulinks .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  height: 100%;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#pun-ulinks li, #pun-ulinks li a {
text-transform: uppercase;
    font-variant-caps: all-small-caps;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text) !important;
}

#pun-ulinks li a:hover {
  opacity: 0.7;
}

#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: 420px;
    left: 0;
    width: 1000px;
    height: 80px;
    box-sizing: border-box;
    background: var(--black);
    border-top: solid 1px var(--line);
    border-bottom: solid 1px var(--line);
}

#pun-status .container {
    line-height: 1.3;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    flex-direction: column;
    color: var(--sub_link);
    width: 250px;
    padding: 17px 20px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 0fr 1fr;
    align-items: center;
    border-right: solid 1px var(--line);
}

#pun-admin #pun-status .container {
    grid-template-columns: 0;
    padding: 26px 20px;
}

#pun-status .container:before {
    content: "в игре ноябрь 2025";
    font-style: italic;
    max-width: fit-content;
    margin-bottom: 2px;
    font-size: 10px;
    border-bottom: solid 1px var(--link);
}

#pun-admin #pun-status .container:before {
    display: none;
}

#pun-status .container a {
  color: var(--body_box) !important;
}

#pun-status .container a:hover {
  color: var(--link) !important;
}

.status_userava {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 5;
}

.status_userava>img {
    border-radius: 100% !important;
    filter: grayscale(1);
}

.night .status_userava>img {
  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: 20px 0;
    text-align: center;
    letter-spacing: 1px;
    text-transform: lowercase;
    font: 600 12px Playfair Display
}

#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: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  width: auto;
  margin: 10px 0 15px 0;
  padding: 0 0px 5px;
}

.ststitems {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-transform: lowercase;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  color: var(--text5);
  font-size: 10px;
}

.ststitems li {
  -webkit-box-flex: 1;
  -webkit-flex: auto;
  -ms-flex: auto;
  flex: auto;
  text-align: center;
  padding: 5px 0;
}

.ststitems li:first-child {
  border-left: none;
}

.stat {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    gap: 15px;
    box-sizing: border-box;
    border-top: 0;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: center;
    padding: 10px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--gradient_revers);
    border-radius: 10px;
    color: var(--sub_link);
}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  line-height: 150%;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  text-transform: lowercase;
}

#pun-stats li.item4 strong a {
  color: var(--sub_link) !important;
}

#pun-stats .statscon {
  width: 100%;
}

#pun-stats .statscon .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -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;
  background: var(--body_box);
    border-radius: 10px;
    padding-bottom: 5px;
}

#pun-stats .statscon .container {
  font-weight: normal;
  color: var(--text) !important;
}

#pun-stats .statscon .container a:hover {
  opacity: 0.5;
}

li#onlinelist {
  width: 100%;
  box-sizing: border-box;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

li#onlinelist span a, i#onlinelist.item5.users_24h a {
  color: var(--text) !important;
}

li#onlinelist.item5.onlinelist, li#onlinelist.item5.users_24h {
  padding: 10px 15px 0 15px;
  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: 1px;
    text-transform: lowercase;
    font: 600 12px Playfair Display;
}

#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 {
    background: var(--gradient_45);
    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;
    background: var(--body_box);
    border: solid 1px var(--line);
}

.punbb #form-buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    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;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    background: var(--body_box);
    border-radius: 10px;
    margin: 10px 0;
    border: solid 1px var(--line);
}

#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: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: 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(--link);
  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#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;
  border-radius: 20px !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: 10px;
}

#pun-edit #tags .container {
  top: 67px !important;
}

#pun-edit #post-form fieldset:last-of-type {
    background: var(--gradient_45);
    padding: 10px;
    border-radius: 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(--sub_link);
    background: var(--body_box);
    max-width: fit-content;
    margin: 10px 0 5px;
    border-radius: 10px;
    border: solid 1px var(--line);
}

#pun-edit #post-form label, #pun-messages #post-form label strong, #pun-post #post-form label {
    color: var(--link_prof);
}

#font-area {
  overflow-x: auto;
  height: 100%;
}

span#keyboard-span {
    display: flex;
    justify-content: center;
    gap: 3px;
    width: 690px;
    flex-wrap: wrap;
}

/**Громкость звука**/ 
#volSlider {
    background: var(--body_box) !important;
    border: none !important;
    margin-right: 10px;
}

#volSlider .before {
    background: var(--line) !important;
}

#volSlider .thumb {
    background: var(--link_prof) !important;
    top: -8px !important;
}

/**админка**/
#pun-admin_paid_services .linksb {
  clear: inherit;
  padding-bottom: 24px;
}

#pun-adnav {
    position: sticky;
    top: 0;
}

/* иконки уведомлений */
span.num_msg, span.num_msg:before, .bubble {
  background: var(--link) !important;
}

.bubble:after {
  border-color: var(--link) transparent !important;
}

/**---------- МОБИЛЬНЫЙ СТИЛЬ ----------**/
@media screen and (max-width: 540px) {
  /**подпись**/
  img.sigimage {
    max-width: 100%;
  }
  
  /**окошки видео**/
  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;
  }
  
  div#pun:before {
    width: 100%;
    height: 500px;
  }
  
  #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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -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 5px;
  }
  
  #pun-index .tclcon {
    width: 100% !important;
  }
  
  #pun-index .intd {
    position: relative;
  }
  
  #pun-index div.icon {
    position: absolute;
        top: 6px;
        left: 0;
        width: 10px !important;
        height: 10px !important;
        background: transparent;
        background-color: var(--text_sub);
  }
  
  .night #pun-index div.icon  {
     background: transparent;
    background-color: var(--text_sub); 
  }
  
  tr.inew div.icon, .night tr.inew div.icon {
    background: transparent;
    background-color: var(--link) !important; 
  }
  
  #pun-index h2:before {
    display: none;
  }
  
  #pun-index h2 span {
    width: 50%;
  }
  
  #pun-stats h2 span {
    width: 100%;
  }
  
  /**главная - оформление форумов**/
  #pun-index .tcl h3 {
      padding-left: 20px;
  }
  
  .forum_text {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: normal;
    -webkit-align-items: normal;
    -ms-flex-align: normal;
    align-items: normal;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .forum_nav {
    height: auto;
    width: 100%;
    text-align: center;
  }
  
  .forum_nav summary, .forum_nav .fake_sum {
    width: 100%;
    height: 30px;
  }
  
  .forum_nav .menu {
    width: 100%;
    top: 22px;
    left: 0;
    gap: 10px;
    padding: 10px;
  }
  
  a.lastpost-link {
    font: 500 13px Vollkorn;
  }
  
  /* общая навигация */
  #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;
  }
  
  #pun-navlinks .container:after {
    display: none;
  }
  
  #pun-navlinks a {
    display: -webkit-box;
    display: -webkit-flex;
    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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: 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#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: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: end;
        -webkit-align-items: flex-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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: 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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(http://forumstatic.ru/files/001b/c1/d6/30333.svg) no-repeat center/cover;
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: block;
  }
  .night #pun-ulinks h2 span {
    -webkit-filter: brightness(0.75);
    filter: brightness(0.75);
  }
  #pun-ulinks ul {
    display: none !important;
  }
  #pun-ulinks:hover ul {
    display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important
;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 5px;
        position: absolute;
        top: 33px;
        right: 0;
        width: 200px;
        height: auto;
        background: var(--black);
        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: 384px;
        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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -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: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    left: 0;
    top: 0;
    pointer-events: none;
    font-family: "Material Icons";
    font-size: 14px;
    color: var(--sub_link);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  
  #pun-stats li.item1 span:before {
    content: "\e97f";
  }
  
  #pun-stats li.item2 span:before {
    content: "\e02f";
  }
  
  #pun-stats li.item3 span:before {
    content: "\e39d";
  }
  
  #pun-stats li.item4 span:before {
    content: "\e9ed";
  }
  
  /**слайдер новостей**/
  .news {
    width: 100%;
    top: 445px;
    left: 0;
    background: var(--black);
    box-sizing: border-box;
  }
  
  /**таблица**/
  .all_tabl {
    padding: 10px 15px;
    height: auto;
    top: 45px;
  }
  .tabl_coven, .tabl_logo, .tabl_post {
      width: 100%;
  }

  /**футер**/
  .footer {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  
  .footer div {
    width: 82%;  
  }
  
  .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: grid;
    width: 100%;
    margin: 0 auto;
    grid-template: 1fr/1fr 1fr;
  }
  #pun-modviewforum .container tr {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-template: 1fr/1fr 1fr 0.3fr;
  }
  
  #pun-viewforum .container td.tcl, #pun-modviewforum .container td.tcl, #pun-searchtopics .container td.tcl {
    display: grid;
    width: 100%;
    box-sizing: border-box;
  }
  
  #pun-viewforum .intd, #pun-modviewforum .intd, #pun-searchtopics .intd {
    display: grid;
    gap: 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    grid-template-columns: 1fr 5fr;
  }
  
  #pun-viewforum .container td.tcr, #pun-modviewforum .container td.tcr, #pun-searchtopics .container td.tcr {
    display: grid;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    justify-items: end;
    width: 100%;
    box-sizing: border-box;
  }
  
  #pun-modviewforum .modmenu .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    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: grid;
    grid-template-columns: 1fr 1fr 1fr;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    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: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    -webkit-box-align: center;
    -webkit-align-items: 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;
    -webkit-flex-direction: column;
    -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;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    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;
  }
  
  #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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #profilenav {
    margin: 10px 0;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  #profilenav h2 {
    margin: 0;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  
  #profilenav h2 span {
    display: block;
    border-bottom: none;
  }
  
  #profilenav ul {
    padding: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: 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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
  }
  #pun-profile .formsubmit {
    padding: 5px;
    margin: 0 0 10px;
    display: -webkit-box;
    display: -webkit-flex;
    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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  #messages .fs-box .tc3 {
    display: none;
  }
  #messages .fs-box tr {
    display: grid;
    grid-template-columns: 1fr 1fr 0.1fr;
    -webkit-box-align: center;
    -webkit-align-items: 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%;
    margin: 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: grid;
    grid-template: 0fr 0fr/1fr 3fr 1fr;
    justify-items: center;
    padding: 0 12px;
    border-radius: 0 0 10px 10px;
  }
  
  .punbb .post .post-author ul:before, #pun-messages .post .post-author ul:before {
      display: none;
  }
  
  .pa-author {
    text-align: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0 10px 15px !important;
    grid-area: 1 / 2;
    background: transparent;
  }


  li.pa-title, img.post-img-Sp, .pa-avatar {
    display: none;
  }
  
  .punbb .post-body {
    margin: 0;
    overflow: hidden;
  }
  
  .pa-posts, .pa-respect {
    margin: 0;
    padding: 5px 0 !important;
  }
  
  .pa-posts {
    grid-area: 3;
  }
  
  .pa-respect {
    grid-area: -1 / -2;
  }
  
  .pa-replies {
    display: none;
  }
  
  .pa-fld1 {
      grid-area: 3 / 2;
  }
  
  /* лз */
li.pa-fld2, li.pa-fld3, li.pa-fld4 {
    display: none;
  }
  
 .pls {
    border-radius: 10px 10px 0 0; 
 }
  
  /* иконки редактирвоать/цитировать в постах */
  .punbb .post-links {
    margin-left: 0;
  }
  
  .post-links ul {
    padding: 0 !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: 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: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        gap: 20px;
        padding: 10px 5px !important;
        margin: 0;
  }
  
  #pun-messages li.pl-email { order: 3; }
  #pun-messages li.pl-quote.pl-reply { order: 2; }
  #pun-messages li.pl-delete { order: 1; }
  
  .punbb .post-links ul:after {
    display: none;
  }
  
  .post-links li {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    padding: 0 0 0 5px !important;
  }
  
  li.pl-email.email {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  
  .post-links a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 0;
    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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: 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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: 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: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
  }
  
  #pun-admain fieldset {
    padding: 0 !important;
  }
  
  #pun-adnav ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 5px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: 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: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  #pun-admain fieldset .handle, #pun-admain fieldset p {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -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: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -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;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  #mask_dialog .hv-preview-block img {
    max-width: 60px;
  }
  
  /**кнопка предпросмотра**/
  #togglePreview input[type=button] {
    margin-bottom: 10px;
    width: 100%;
  }
  
  /**заметки**/
  #BookmCntToggle {
    position: absolute !important;
    top: 398px !important;
    left: 90% !important;
  }
  
  /**гостевая**/
  .guest_book {
      width: 100%;
  }
  
  .guest_up, .guest_down {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .guest_logo {
    margin: 0 auto !important;
  }
  
  .guest_info {
    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: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .coven_scr p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  
}



