/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme & font
-------------------------------------------------------------*/
/* A1.1 */
  @import url(style_cs.1782560191.css);
  
/* Font Awesome */
  @import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/* A1.2 */

  @font-face {
    font-family: 'HomeVideo-Regular';
    src: url('https://forumstatic.ru/files/001c/b9/db/63846.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/66193.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/70199.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
  }

 @font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/67650.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/23229.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/91017.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/10489.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/23457.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/28263.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/85642.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/90492.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/35895.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/25344.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/98469.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/46388.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/11250.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/32758.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/25616.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/96932.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/41254.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/39958.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/12851.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/28085.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/18497.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/27475.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/84574.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/18737.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/64386.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/92744.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/18428.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/11242.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/27013.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/42832.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/83167.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/17376.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/33483.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/98276.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/64887.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/13551.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/89235.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/45450.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/49661.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/23976.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/17351.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/95840.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/22263.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/71707.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/12737.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/42806.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/38845.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/45943.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/85493.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/21595.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/29231.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('https://forumstatic.ru/files/001c/b9/db/22443.woff2') format('woff2'),
       url('https://forumstatic.ru/files/001c/b9/db/30498.woff') format('woff'),
       url('https://forumstatic.ru/files/001c/b9/db/20351.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.0 */

/* Основные переменные
------------------------------------------*/

:root {
  --white: #fff;
  --black: #000;
  --06black: rgba(0 0 0 / 60%);
  --002black: rgba(0 0 0 / 2%);
  --gray: #eee;
  --brand: #D99FA6;
  --font-family-jost: 'Jost', sans-serif;
  --font-family-hv: 'HomeVideo-Regular', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-fa: 'Font Awesome 6 Pro';
  --plank-gradient:  linear-gradient(96deg, #ACACAC 3.85%, #E49E9B 101.34%);
  --link-gradient: linear-gradient(95.82deg, rgba(174 174 174 / 35%) 3.85%, rgba(228 158 155 / 35%) 101.34%);
  --link-gradient-hover: linear-gradient(95.82deg, rgba(228 158 155 / 35%) 3.85%, rgba(132 28 28 / 35%) 101.34%);
  --boxshadow-hover: -4px 4px 12px 0 rgba(217 159 166 / 60%);
  --icon-shadow-inner: 1px 1px 0px rgba(255 255 255 / 50%);
  --category-shadow-inner: 2px 3px 0px rgb(238 238 238 / 15%);
  --text-padding: 5px 8px;
  --border-dashed: 1px dashed rgba(0 0 0 / 20%);
  --button-border: 2px solid rgba(174 174 174 / 20%);
  --li-border-bottom: 1px solid rgba(0 0 0 / 5%);
  --input-background: #fdfdfd;
}

html, body {margin: 0; padding: 0}

*::-webkit-scrollbar {
    width: 3px; 
    height: 3px;
}
*::-webkit-scrollbar-track {
   background: transparent;
} 
*::-webkit-scrollbar-corner {
   background: transparent;
}
*::-webkit-scrollbar-thumb {
   background: var(--brand);
}
*::-webkit-scrollbar-thumb:active {
  background: var(--brand);
}

select,
::picker(select) {
  appearance: base-select;
}

.punbb * {
  margin: 0
  }

.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}

.punbb img {
  border: none;
}
  
.punbb input,
.punbb select,
.punbb textarea {
    padding: 2px 8px;
    border-radius: 4px;
    border: none;
    background: var(--input-background);
    margin-top: 4px;
    font-family: var(--font-family-jost);
}

.punbb select,
.punbb option {
    text-transform: lowercase;
}

.punbb select:hover {
    cursor: pointer;
}

.punbb ::picker(select) {
    border: none;
}

.punbb option:hover,
.punbb option:focus {
  background: var(--brand);
}

.punbb select::picker-icon {
    color: var(--06black);
    transition: 0.4s rotate;
    font-family: var(--font-family-fa);
    content: '\f0d7';
    width: fit-content;
    height: fit-content;
    margin-top: 3px;
}

.punbb select:open::picker-icon {
    rotate: 180deg;
}

.punbb input:focus-visible,
.punbb select:focus-visible,
.punbb textarea:focus-visible {
    outline: none;
}

.punbb input[type="file"]::file-selector-button {
    background-color: var(--gray);
    color: var(--black);
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: lowercase;
}

.punbb input.button {
    text-transform: lowercase;
    font-size: 12px;
    border: 2px solid rgba(174 174 174 / 20%);
    background: var(--link-gradient);
    border-radius: 999px;
    padding: 4px 8px;
}

.punbb input.button:hover,
.punbb input.button:active,
.punbb input.button:focus {
    cursor: pointer;
    color: var(--black);
    text-decoration: none;
    border: 2px solid var(--white);
    background: var(--link-gradient-hover);
    box-shadow: -4px 4px 12px 0px rgba(217 159 166 / 60%);
}

.punbb .main table {
  table-layout: fixed;
  width: calc(100% - 48px);
  margin: 0 24px 20px;
}

/* A2.6 */
.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
    margin: 0 4px;
}

.checkfield {
    text-transform: lowercase;
    display: flex;
    align-items: center;
}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
  font: 12px var(--font-family-jost);
}

/* A3.6 */
.punbb pre {
  font: 12px/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: none;
  }
  
.punbb .post-content table {
      margin: 0;
}
  
.punbb .post-content td {
    border: none!important;
}

/* A3.10 */
.punbb a {
  text-decoration: none;
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

#pun-ulinks .container:after {
  display: none;
}

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */

body::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -10;
  background: var(--gray) url(https://forumstatic.ru/files/001c/b9/db/96060.webp) center;
  background-size: cover;
}


#pun {
  margin:  0 auto;
  width: 1000px;
}

/* A5.2 */
.punbb {
    float: left;
    width: 100%;
    height: auto;
    background-color: var(--gray);
    margin-top: 100px;
    margin-bottom: 30px;
    position: relative;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .main {
 background-color: var(--gray);
}

.punbb .category h2 {
    background-color: transparent;
    font-size: 40px;
    font-family: 'HomeVideo-Regular';
    background-image: url(https://forumstatic.ru/files/001c/b9/db/30991.png);
    background-size: contain;
    background-position: center;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-align: center;
    -webkit-background-clip: text;
    text-shadow: var(--category-shadow-inner);
    letter-spacing: -3%;
}

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border: none;
  }

/* A5.9 */
.punbb .container {
  border: none;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  border: none;
  }


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
 border: none;
  width: 250px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, 
.punbb .post-content blockquote {
  overflow: hidden;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

.punbb .post-content .code-box pre,
.punbb .post-content .quote-box blockquote {
    background: rgba(0 0 0 / 3%);
    padding: 8px 16px;
    border-bottom: var(--li-border-bottom);
}

.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  margin: 0 0 10px;
  padding: 0;
  border: none;
}

.punbb .post-content .code-box div.scrollbox {
    height: fit-content!important;
}


.punbb .quote-box cite, 
.punbb .code-box strong.legend,
.punbb .post-content .spoiler-box > div {
  display: block;
  padding: 2px 8px;
  background: rgba(0 0 0 / 5%);
  color: var(--brand);
  border-bottom: var(--li-border-bottom);
  margin-bottom: 4px;
  font-style: normal;
}

.punbb .post-content .spoiler-box > div {
    margin-top: 10px;
}

.punbb .post-content .spoiler-box > div.visible {
    background: rgba(0 0 0 / 5%);
    background-image: none;
}

.punbb .quote-box cite::before {
    content: '\f10d'; /* кавычка */ 
}

.punbb .hide-box cite::before {
    content: '\f06e'; /* глаз */ 
}


.punbb .code-box strong.legend::before {
    content: '\f0c5'; /* файлы */ 
}

.punbb .post-content .spoiler-box > div::before {
    content: '\f107'; /* стрелка вниз */ 
}

.punbb .post-content .spoiler-box > div.visible::before {
    content: '\f106'; /* стрелка вверх */ 
}

.punbb .quote-box cite::before,
.punbb .code-box strong.legend::before,
.punbb .post-content .spoiler-box > div::before,
.punbb .post-content .spoiler-box > div.visible::before {
    font-size: 9px;
    line-height: 100%;
    font-family: var(--font-family-fa);
    font-weight: 700;
    opacity: 0.5;
    background-color: #c9293c;
    color: transparent;
    text-shadow: var(--icon-shadow-inner);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    margin-right: 2px;
    padding: 2px;
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border: none;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  height: 0;
}

/* B3.2 */
.multipage {
  padding: 12px 0;
  text-transform: lowercase;
}

.punbb .multipage .linkst {
    justify-content: space-between;
    margin: 0 24px 40px;
    width: auto;
    display: flex;
    float: none;
}

.punbb .multipage h1 {
    display: none;
}

.punbb .multipage table,
#messages table {
    margin-bottom: 10px;
}

.punbb .multipage table tbody,
#messages table tbody {
    background: var(--002black);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.punbb .multipage table div.icon,
#messages table div.icon {
    left: 46px;
    margin-top: 4px;
    height: 12px;
    width: 12px;
}

.punbb .multipage table div.icon::before,
#messages table div.icon::before {
    content: '\f0e7'; /* молния */
    position: absolute;
    font-size: 12px;
    line-height: 100%;
    font-family: var(--font-family-fa);
    font-weight: 700;
    opacity: 0.3;
    background-color: var(--black);
    color: transparent;
    text-shadow: var(--icon-shadow-inner);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

.punbb .multipage tr.inew div.icon::before,
.punbb .multipage tr.inew div.icon,
#messages tr.inew div.icon::before,
#messages tr.inew div.icon {
    background-image: none;
}

.punbb .multipage tr.inew div.icon::before,
#messages tr.inew div.icon::before {
    background-color: #c9293c;
}

.punbb .multipage table tr,
#messages table tr {
    margin-top: 0;
    border: none;
    padding: 8px 20px 8px 24px;
    background: var(--gray);
    border-bottom: var(--li-border-bottom);
}

.punbb .multipage table .user-avatar,
#messages table  .user-avatar {
    display: none;
}

.punbb .multipage thead tr {
    display: none;
}

.punbb .multipage .tc2, 
.punbb .multipage .tc3, 
.punbb .multipage .tcmod,
#messages .tc2, 
#messages .tc3, 
#messages .tcmod {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.punbb .multipage div.tclcon,
#messages div.tclcon {
    border: none;
    gap: 0;
}

.punbb .multipage div.tclcon strong,
#messages div.tclcon  strong {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.punbb .multipage .byuser,
.punbb .multipage .tc2, 
.punbb .multipage .tc3,
#messages .byuser,
#messages .tc2,
#messages .tc3 {
    color: var(--06black);
    font-size: 10px;
}

.punbb .multipage .tcr,
#messages .tcr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.punbb .multipage td.tcr a,
#messages td.tcr a {
    font-weight: 400;
}

.punbb .multipage span.byuser-username {
    margin-left: -3px;
}

.punbb .multipage .newtext {
    margin-top: -16px;
    font-size: 10px;
}

/* B3.4 */
.linkst .postlink {
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0 24px;
}

/* B3.6 */
.linkst .pagelink,
.linksb .pagelink {
    float: left;
    text-align: left;
    background-color: rgba(0 0 0 / 4%);
    text-align: right;
    padding: 2px 8px;
    color: var(--black);
    width: fit-content;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--002black);
    height: fit-content;
}

.linksb .pagelink a:hover {
    text-decoration: none;
}

/* B3.7 */
.linksb .postlink {
  float: right;
  font-weight: bold
}

div.postlink.long .new-topic {
    padding-right: 8px;
}

.subscribelink {
  clear: both;
  padding-top: 24px;
}

div.postlink a,
div.subscribelink a {
    background: var(--link-gradient);
    border: var(--button-border);
    padding: 6px 8px 8px;
    border-radius: 999px;
    font-weight: 400;
    font-size: 12px;
}

div.postlink a:hover,
div.postlink a:active,
div.postlink a:focus,
div.subscribelink a:hover,
div.subscribelink a:active,
div.subscribelink a:focus {
    color: var(--black);
    text-decoration: none;
    border: 2px solid var(--white);
    background: var(--link-gradient-hover);
    box-shadow: -4px 4px 12px 0px rgba(217 159 166 / 60%);
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 24px;
}

.punbb .formal fieldset {
    padding: 0;
}

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
  border: none;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, 
.punbb .fs-box fieldset {
  padding: 0;
}

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 18px;
}

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }
  
.fs-box #form-buttons table {
    margin: 0;
    width: 100%!important;
}

.fs-box #form-buttons tr {
    padding: 0;
}


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 60%;
  }
  
.punbb .main tr {
   border-bottom: var(--border-dashed);
    background: var(--002black);
    padding: 20px 20px 8px;
    display: flex;
    margin-top: 10px;
    justify-content: space-between;
}

.punbb .main .tclcon {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: var(--border-dashed);
}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: right;
  width: 30%;
  text-transform: lowercase;
  }
  
.punbb .main .tcr a {
  font-size: 12px;
  font-weight: 700;
}

.punbb .main .tcr span {
    font-size: 10px;
    color: var(--06black);
}

.punbb .main .tcr .user-avatar .avatar-image,
#pun-userlist .usertable table .avatar-image {
    height: 30px;
    width: 30px;
    opacity: 0.85;
    filter: grayscale(1);
    border: 2px solid var(--002black);
}

.punbb .main .tcr .user-avatar .isonline,
#pun-userlist .user-avatar .isonline {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 0;
    right: 2px;
    background: transparent;
    z-index: 100;
    border: 2px solid var(--brand);
    animation: none;
    -moz-animation: none;
    -webkit-animation: none;
}

#pun-userlist .usertable table thead {
    background: var(--002black);
    padding: 8px 8px 0;
    display: block;
}

#pun-userlist .usertable table thead tr {
    display: flex;
    background: rgba(0 0 0 / 3%);
}

#pun-userlist .usertable table thead th {
    background: transparent;
}

#pun-userlist .usertable table tbody {
    padding: 2px 8px 8px;
}

#pun-userlist .usertable table tr {
    padding: 2px 8px;
}

#pun-userlist .usertable table tr td {
    font-size: 12px;
    color: var(--black);
}

#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl {
    color: var(--06black);
    font-size: 10px;
}
#pun-index .tcl h3 {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  }
  
#pun-index thead, 
#pun-index .tc2, 
#pun-index .tc3 {
    display: none;
}

#pun-index .user-avatar {
    float: right;
    position: relative;
    margin: 1px 0px 2px 9px;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  border: none;
}

/* C2.12 */
.punbb .main th {
  border: none;
}

/* C2.13 */
.punbb .main .tcl {
  border: none;
 }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 12px;
  border: none;
}

/* C2.15 */
.punbb div.icon {
    border: none;
    width: 85px;
    height: 70px;
}

/* C2.16 */
.punbb  table div.icon {
    position: absolute;
    left: 60%;
}

 /* C3 Topics
-------------------------------------------------------------*/

.punbb div#pun-live-rusff,
.punbb .topic a.sharelink {
    display: none;
}

.punbb .topic {
    margin: 0 24px;
    padding: 16px 16px 16px 12px;
    background: var(--002black);
}

.punbb .topic .pl-reports {
    display: none;
}

.punbb .topic a.permalink,
.messages-container h3 span {
    font-size: 10px;
    font-weight: 400;
    text-transform: lowercase;
}

.punbb .topic a.permalink::before,
.messages-container h3 span::before {
    content: '\f017'; /* часы */
}

div.post-rating p {
    padding: 0!important;
}

.punbb div.post-rating a, 
.punbb div.post-vote a {
    font-size: 12px!important;
    line-height: 12px!important;
    background: rgba(0 0 0 / 3%);
    border-bottom: var(--li-border-bottom);
    padding: 4px;
}

.punbb .topic a.permalink:hover,
.punbb .topic .pl-email.profile a,
.punbb .topic .pl-email.pm a:hover,
.punbb .topic .pl-email.admin-edit a:hover,
.punbb .topic .pl-email.email a:hover,
.punbb .topic .pl-delete a:hover,
.punbb .topic .pl-edit a:hover,
.punbb .topic .pl-quote a:hover,
.punbb .topic .post-rating a:hover,
#profile.messages-container .pl-delete a:hover,
#profile.messages-container .pl-email a:hover,
#profile.messages-container .pl-reply a:hover {
    text-decoration: none;
}

.punbb .topic .post-rating a::after {
    content: '\f08a'; /* сердечко */
    margin-left: 4px;
    font-size: 12px;
    line-height: 100%;
    font-family: var(--font-family-fa);
    font-weight: 700;
    opacity: 0.5;
    background-color: var(--black);
    color: transparent;
    text-shadow: var(--icon-shadow-inner);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    margin-right: 2px;
}

.punbb .topic h3 strong::before {
    content: '\f001'; /* нота */
}

.punbb .topic .pl-email.profile a::before {
    content: '\f007'; /* юзер */
}

.punbb .topic .pl-email.pm a::before {
    content: '\f0e9'; /* лс */
}

.punbb .topic .pl-email.admin-edit a::before {
    content: '\f044'; /* карандаш редактирование */
}

.punbb .topic .pl-email.email a::before,
#profile.messages-container .pl-email a::before {
    content: '\f0e0'; /* конверт */
}

.punbb .topic .pl-delete a::before,
#profile.messages-container .pl-delete a::before {
    content: '\f1e2'; /* бомбочка */
}

.punbb .topic .pl-edit a::before {
    content: '\f5ad'; /* перо */
}

.punbb .topic .pl-quote a::before {
    content: '\f0f4'; /* чашка */
}

#profile.messages-container .pl-reply a::before {
    content: '\f27b'; /* облачко комментария */
}

.punbb .topic a.permalink::before,
.punbb .topic strong::before,
.punbb .topic .pl-email.profile a::before,
.punbb .topic .pl-email.pm a::before,
.punbb .topic .pl-email.admin-edit a::before,
.punbb .topic .pl-email.email a::before,
.punbb .topic .pl-delete a::before,
.punbb .topic .pl-edit a::before,
.punbb .topic .pl-quote a::before,
.messages-container h3 span::before,
#profile.messages-container .pl-email a::before,
#profile.messages-container .pl-delete a::before,
#profile.messages-container .pl-reply a::before {
    font-size: 9px;
    line-height: 100%;
    font-family: var(--font-family-fa);
    font-weight: 700;
    opacity: 0.5;
    background-color: var(--black);
    color: transparent;
    text-shadow: var(--icon-shadow-inner);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    margin-right: 2px;
    padding: 2px;
}

.punbb div.reactions-root {
    display: none;
}

.punbb .post div.container {
  border: none;
  margin-bottom: 16px;
  background: transparent;
}

.punbb .endpost div.container {
  margin-bottom: 0;
}

.punbb .post h3 {
  border: none;
}

.punbb .post h3 span {
  display: block;
  margin-left: 242px;
  border: none;
  padding: 4px 16px;
  margin-bottom: 4px;
  border-bottom: var(--li-border-bottom);
}

.punbb .hideprofile h3 span {
    margin-left: 0;
}

.punbb .post h3 strong {
  float: right;
  text-align: right;
  font-weight: 400;
  font-size: 10px;
}

.punbb .post .post-author {
    width: 224px;
    float: left;
}

.punbb .post .post-author ul {
    padding: 12px;
    height: fit-content;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--gray);
    border: var(--li-border-bottom);
}

/* C3.11 */
.punbb .post-body {
  margin-left: 224px;
  border: none;
}

/* C3.12 */
.punbb .post-box {
  padding: 8px 16px;
  background: var(--gray);
  margin-left: 18px;
  border-bottom: var(--li-border-bottom)!important;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

.punbb .post-links {
  margin-left: 224px;
  border: none;
  margin-top: 6px;
 }

.punbb .post-links ul {
  padding: 0;
  margin-left: -224px;
  border: none;
  text-align: right;
}

.punbb .post-links li {
  display: inline;
  padding-left: 6px;
}
  
.punbb .post-links li a {
    background: var(--gray);
    border-bottom: var(--li-border-bottom);
    padding: 2px 4px 4px;
}
  
.punbb #post-form h2 {
    display: none;
}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 12px 24px;
  text-align: right;
  }
  
.punbb .modmenu .container span {
    display: none;
}

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
}

/* C4.4 */
.punbb .modmenu input {
  margin-left: 12px;
}


/* C5 Message boxes
-------------------------------------------------------------*/

.punbb .info .container {
  padding: 12px 24px;
  text-transform: lowercase;
}

.punbb .info .container .backlink {
  padding-top: 8px;
}


/* C6 Profile
-------------------------------------------------------------*/

#profile .container {
  padding-left: 18.6em;
  }
  
#profile #profilenav h2 {
    display: none;
}

#profilenav {
  float: left;
  width: 170px;
  margin-left: -200px;
  display: inline;
}

#profile .container textarea {
    width: calc(100% - 18px);
}

#profile legend,
#profile label,
#profile a,
#profile .infofield, 
#profile .formsubmit,
.formal legend,
.formal label,
.formal .infofield {
    text-transform: lowercase;
}

#profilenav ul {
    text-transform: lowercase;
    background: var(--002black);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#profilenav li {
  padding: 4px 8px;
    border-bottom: var(--li-border-bottom);
    background: var(--gray);
}
 
#viewprofile ul {
 border: none;
  padding: 18px;
  margin: 0 0 12px 0;
  text-transform: lowercase;
}

#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

#setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
}

#viewprofile li span {
    float: left;
    width: fit-content;
    margin-left: 0;
    padding: 0;
}

#viewprofile #profile-left {
    width: 300px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 32px!important;
}

#viewprofile #profile-left strong {
    font-weight: 400!important;
}

#viewprofile #profile-right li {
    display: flex;
    justify-content: space-between;
    padding: 4px 8px;
    margin-bottom: 4px;
    align-items: center;
    border-bottom: var(--li-border-bottom);
}

#viewprofile #profile-right li span {
    font-weight: 700;
}

#viewprofile #profile-right li strong {
    font-weight: 400!important;
}

#viewprofile #profile-name {
    z-index: 5;
    font-size: 10px;
    font-weight: 900 !important;
}

#viewprofile #profile-title,
#viewprofile #pa-avatar,
#viewprofile #pa-fld2,
#viewprofile #pa-fld3 {
     z-index: 3;
 }
 
#pa-online {
    display: block;
    width: 224px;
    text-align: center;
}

#viewprofile #pa-edit {
    margin: 10px auto;
    padding-bottom: 10px;
}

#viewprofile #pa-edit a {
    font-size: 12px;
    border: var(--button-border);
    background: var(--link-gradient);
    border-radius: 999px;
    padding: 2px 8px 4px;
}

#viewprofile #pa-edit a:hover,
#viewprofile #pa-edit a:active,
#viewprofile #pa-edit a:focus {
    color: var(--black);
    text-decoration: none;
    border: 2px solid var(--white);
    background: var(--link-gradient-hover);
    box-shadow: -4px 4px 12px 0px rgba(217 159 166 / 60%);
}


/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding-bottom: 10px;
  border-top: none;
}

/* C7.3 */
#pun-userlist .usertable table {
  border: none;
}

#pun-userlist .usertable table .user-avatar {
    display: inline;
}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  margin: -70px 0 0;
  border: none; 
  height: 392px;
  background: transparent url(https://forumstatic.ru/files/001c/b9/db/20339.webp?v=1) top center;
  background-size: contain;
}

/* D1.2 */
#pun-title h1 {
  display : none;
  }

/* D1.3 */
#pun-title .container {
  border-style: none solid none solid;
  }

/* D1.4 */
#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;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* D2.4 */
#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%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }

/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks, #pun-navlinks .container {
  border-style: none;
  border-width: 0;
  margin: -15px 0;
}

/* D3.2 */
#pun-navlinks .container {
  display: flex;
  justify-content: center;
  gap: 4px;
  background-color: transparent;
  color: var(--white);
  text-transform: lowercase;
 }

/* D.3 */
#pun-navlinks li {
  display: inline;
  padding: var(--text-padding);
  background-color: var(--black);
  }

/* D3.4 */
#pun-navlinks li a {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  }

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: var(--brand);
  text-decoration: none;
  }

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  margin-top: 0;
  }

/* D4.2 */
#pun-ulinks .container {
  border: none;
  padding: 20px 0 8px;
  display: flex;
  justify-content: center;
  gap: 16px;
  text-transform: lowercase;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  text-decoration: none;
  opacity: 0.5;
  }
  
#pun-ulinks li, #pun-ulinks li a:hover {
    opacity: 1;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

#pun-status .container {
    position: absolute;
    margin-right: 24px;
    background-color: rgba(0 0 0 / 4%);
    text-align: right;
    font-size: 11px;
    padding: 2px 4px;
    color: rgba(0 0 0 / 50%);
    width: fit-content;
    right: 0;
    margin-top: 2px;
    text-transform: lowercase;
  }

#pun-status .status-right {
  display: none;
}

#pun-status span {
  white-space: nowrap;
  margin-right: 0;
  }

#pun-crumbs1 {
    font-weight: 400;
    overflow: hidden;
    background: var(--gray);
    margin-bottom: 10px;
    text-transform: lowercase;
  }
  
#pun-crumbs1 p.container em {
    background-color: var(--gray);
    margin-right: 5px;
    padding-right: 4px;
}
  
#pun-crumbs1 em:first-of-type {
    display: none;
}

#pun-crumbs1 p.container {
  border-top: none;
  font-size: 10px;
  background: rgba(0 0 0 / 4%);
  width: fit-content;
  margin-left: 24px;
  padding: 5px 5px 5px 0;
}
  
#pun-crumbs1 p.container *,
#pun-crumbs2 p.container * {
    padding: var(--text-padding);
}

#pun-crums p.container a {
    padding: 5px 5px 8px 8px;
}

#pun-crumbs2 p.container em {
    padding: 5px 0;
}

#pun-break1 {
  display: none;
  }

/* D6 Announcement
-------------------------------------------------------------*/

#pun-announcement {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 500px;
  overflow: hidden;
}

#pun-announcement h2 {
  display: none;
  }
  
#pun-announcement .container {
    background: transparent;
}

#pun-announcement .container .html-box {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0 1px 8px;
}

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats {
    padding: 0 24px 32px;
    text-transform: lowercase;
    display: grid;
}

#pun-stats h2 {
    height: 0;
    display: inline;
}

#pun-stats h2 span{
    display: none;
}

#pun-stats h2:before {
    content: "statistics";
    margin-left: 80px;
    background-color: transparent;
    font-size: 40px;
    font-family: var(--font-family-hv);
    background-image: url(https://forumstatic.ru/files/001c/b9/db/30991.png);
    background-size: contain;
    background-position: center;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-align: center;
    -webkit-background-clip: text;
    text-shadow: var(--category-shadow-inner);
    letter-spacing: -5%;
    position: relative;
}

#pun-stats .container {
    margin-top: 10px;
}

#pun-stats li.item1 {
    margin-left: 340px;
}

#pun-stats li.item1, 
#pun-stats li.item2, 
#pun-stats li.item3, 
#pun-stats li.item4 {
    font-size: 10px;
    background: rgba(0 0 0 / 4%);
    padding: 0 5px;
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 4px;
}

#pun-stats li.item1, 
#pun-stats li.item2, 
#pun-stats li.item3 {
    margin-right: 12px;
}

li.onlinelist div {
  border: none;
  margin-top: 24px;
}

li.users_24h {
    margin-top: 14px;
    padding-top: 14px;
    border-top: var(--border-dashed);
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

#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 {
  display: none;
  }

#pun-about p span {
  display:block;
  padding-left: 50%;
  }

#pun-crumbs2 {
    font-weight: 400;
    overflow: hidden;
    width: 100%;
    text-align: center;
    text-transform: lowercase;
    margin-bottom: 24px;
  }

#pun-break4 {
  display: none;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border: none;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border: none;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border: none;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }

/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  background-color: var(--gray);
  color: #333;
}

/* CS1.2 */
.punbb .main .container, .punbb-admin #pun-admain .adcontainer {
  background-color: var(--gray);
}

/* CS1.3 */
 .punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
    padding: 0 24px;
    font-size: 12px;
    text-transform: lowercase;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: var(--gray);
  color: var(--06black);
}

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: var(--gray);
  color: #333
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: var(--gray);
  color: #333
  }

/* CS1.8 */

.offline li.pa-online strong {
  font-weight: normal
  }


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
  color: var(--black);
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: var(--brand);
  }

/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
  color: var(--brand);
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-skip-ink: none;
  text-decoration-thickness: .5px;
  text-underline-position: from-font;
}

/* CS3.4 */

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  color: var(--brand);
  text-decoration: none;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {
    border: none;
    height: 65px;
    width: 80px;
}

tr.inew div.icon {
    background: url(https://forumstatic.ru/files/001c/b9/db/54966.png);
    background-size: contain;
}

#pun-main div.catleft, #pun-main div.catright {
    display: none;
}

#main-reply {
    width: calc(100% - 18px)!important;
    padding: 4px 8px;
}

/* Личные сообщения */

#profile.messages-container #profilenav h2 {
    padding: 0 8px;
    font-size: 12px;
    text-transform: lowercase;
    background: var(--002black);
    display: block;
}

#profile.messages-container #profilenav h2:first-of-type {
    padding: 8px 8px 0;
}

#profile.messages-container #profilenav h2 span {
    background: rgba(0 0 0 / 3%);
    padding: 2px 8px;
    border-bottom: var(--li-border-bottom);
    display: block;
    margin-bottom: 2px;
}

#profile.messages-container #profilenav ul {
    padding-top: 0;
}

#profile.messages-container legend {
    background: var(--002black);
    width: calc(100% - 16px);
    border-bottom: var(--li-border-bottom);
    margin-bottom: 4px;
    margin-left: 0;
    padding: 2px 8px;
}

.messages-container p.inputfield {
    margin-bottom: 10px;
}

.messages-container .fs-box {
    padding: 16px;
    background: var(--002black);
}

#profile.messages-container .post-author li.pa-author a {
    text-transform: uppercase;
}

.messages-container .post-author li.pa-title {
    text-transform: lowercase;
}

.messages-container .post-author li.pa-reg {
    display: none;
}

.messages-container form #post-form > p:last-of-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#messages legend {
    display: none;
}

#messages .fs-box {
    padding: 0;
}

#messages table {
    width: 100%;
    margin-left: 0;
}

#messages table thead {
    display: none;
}

#messages table tr {
    position: relative;
}

#messages table div.icon::before {
    left: -32px;
}

#messages .tc3 {
    text-transform: lowercase;
}