/*************************************************************
A - SETUPthead
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1769115937.css);
  @import url('https://fonts.googleapis.com/css2?family=PT+Mono&family=Roboto&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400;600;800&family=IBM+Plex+Sans:wght@400;500&family=PT+Mono:wght@400;500&display=swap');

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/


    :root {
      --color-bg:            #2b3232;
      --color-bg-alt:        #393e3e;
      --color-bg-dark:       #1e2125;
      --color-bg-darker:     #23272b;
      --color-block-bg:      #2f3434;
      --color-text:          #cdb89c;
      --color-heading:       #eae0c7;
      --color-secondary:     #95c3a3;
      --color-border:        #424646;
      --gradient-bg:         linear-gradient(to right, #393e3e, #2b3232);
      --color-button-bg:     #2f3434;
      --color-button-text:   #cdb89c;
      --color-button-hover:  #393e3e;
      --color-highlight-bg:  rgba(255,255,255,0.1);
      --shadow-inner:        inset 0 0 5px #1e2222;
      --shadow-outer:        0 2px 8px rgba(0,0,0,0.5);
      
       --transition:.25s ease;
       --cut: 25px;
       
        --corn:7px;   /*   */
        --stroke:0.5px;  /*  */
        
          --corn1:5px;   /*   */
        --stroke1:0.25px;  /*  */
    }

/* A2.1 */
html {margin: 0; padding: 0}

html, body {
    
  margin: 0;
  padding: 0;
  overflow-x: auto;
  width: 100%;
  min-width: 1200px;
}

/* A2.2 */
.punbb * {
  margin: 0;

  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */

#pun {
  width: 1080px;
  margin: 0 auto;
  background-color: var(--color-bg-dark);
  background-image: url(https://forumstatic.ru/files/001c/7c/69/93307.jpg);
  background-repeat: repeat;
  background-position: top center;
  border: 1px solid var(--color-border);
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-image: url('https://forumstatic.ru/files/001b/a2/9c/72483.png');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #2b3232;
  color: #cdb89c;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

/* A3.2 */
.punbb {
  font: normal 80% 'IBM Plex Sans', verdana, arial, helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em 'IBM Plex Sans', verdana, arial, helvetica, sans-serif
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
  }

/* A3.6 */
.punbb pre {
  font: 1.1em/140% 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: underline;
  }

/* A3.10 */
.punbb a {
  /*text-decoration: underline*/
  color: var(--color-secondary);
  }

/* 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;
  }

/* 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 */


/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category {
  margin-top: 0.4em;
  }

/* 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-width: 1px 1px 1px 1px;
  }

/* A5.9 */
.punbb .container {
  border-style: solid;
  border-width: 1px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 0.5em 1em;
  border-style: none solid solid none;
  border-width: 0 1px 1px 0;
  }


/*************************************************************
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-top: 1px solid #888;
  width: 250px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  font-size: 14px;
  text-align: justify;
  }

/* 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 {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .code-box {
    background: var(--color-bg-darker);
    color: var(--color-secondary);
    margin: 0.6em 1.8em 1.6em;
    padding: 1em 1.2em;
    font-family: Consolas, "JetBrains Mono", "Courier New", monospace;
    font-size: 0.95em;
    line-height: 1.45;
    border: var(--stroke) solid var(--color-border);
    border-left: 3px solid var(--color-secondary);
    box-shadow: var(--shadow-inner), var(--shadow-outer);
    clip-path: polygon(0 0, calc(100% - var(--corn1)) 0, 100% var(--corn1), 100% 100%, var(--corn1) 100%, 0 calc(100% - var(--corn1)));
    overflow-x: auto;
    white-space: pre;
  }
  
  .punbb .post-content .quote-box
  {
  margin: 0.6em 1.8em 1.6em;
    padding: 1.1em 1.2em 1.1em 1.6em;
    color: var(--color-text);
    box-shadow: var(--shadow-inner), var(--shadow-outer);
    clip-path: polygon(0 0, calc(100% - var(--corn)) 0, 100% var(--corn), 100% 100%, var(--corn) 100%, 0 calc(100% - var(--corn)));
    background-color: #23272b4d;
  }



/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: inline-block;
    margin-bottom: 0.6em;
    padding: 0.15em 0.6em;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-bg-darker);
    background: var(--color-secondary);
    border: var(--stroke1) solid var(--color-border);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  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%;
  font-size: 1.1em;
  height: 0;
  }

/* B3.2 */
.multipage {
  margin-top: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* 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-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  
     padding: 0;
    margin: 0 0 0 11px;
    font: 600 1.1rem / 1 'Tektur', sans-serif;
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: 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 0 0.8em 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: 1.5em;
  }

/* 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;
  }


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 70%;

  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  width: 30%;
  background-color: var(--gradient-bg);
  }

/* C2.4 */
#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 h3 {
  font-size: 1.2em;
  /*font-weight: bold;*/
  }

/* 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 {
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  /*border-style: none none none solid;
  border-width: 0 0 0 1px;*/
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

/* C2.14
.punbb tbody.hasicon td.tcl {
  padding-left: 3.2em
  }
 */

/* C2.16 */

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border-style: none solid solid solid;
  border-width: 1px;
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
  }

/* C3.3 */
.punbb .post h3 span {
  padding: 0.35em 1em;
  display: block;
  margin-left: 245px;
  color: var(--color-button-text);
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
    position: relative;
    display: block;
    float: left;
    width: 266px;
    margin-top: -29px;
    margin-left: -22px;
    border: 1px solid var(--color-border);
    border-radius: 0 20px 20px 0;
    background: url(https://forumstatic.ru/files/001c/7c/69/72992.jpg) no-repeat;
    z-index: 15;
    background-color: var(--color-bg-dark);
    box-shadow: 5px 5px 10px #1e2222;
    
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }

/* C3.7 */
.pa-author {
    margin-top: 10px;
    font: 500 25px / 1 'Tektur', sans-serif;
    text-align: center;

  }

/* C3.8 */
.pa-author a {
  text-decoration: none
  }

/* C3.9 */
li.pa-title {
    padding-bottom: 0.4em;
    font-size: 14px;
    font-family: "IBM Plex Sans";
    text-align: center;
  }
  
li.pa-avatar.item2 {
    display: flex;
    justify-content: center;
    align-items: center;
}



.pa-avatar {
  position: relative;
  display: inline-block;
}

/*      */
.pa-avatar::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 9px solid var(--color-bg-dark);
  z-index: 2;
  transition: all 0.3s ease;
}

/*    */
.pa-avatar.online::after {
  background-color: #4CAF50;
}

/*    */
.pa-avatar.offline::after {
  background-color: #595959;
}


/*    */
.status-tooltip {
  position: absolute;
  bottom: 28px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 100;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
  min-width: 120px;
  text-align: center;
}

/*   */
.status-tooltip::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: 14px;
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.85);
}

/*     */
.pa-avatar:hover .status-tooltip {
  opacity: 1;
  visibility: visible;
}


li.pa-online {
  display: none;
  }
  
.pa-fld2 {
    text-align: center;
    font-family: 'PT Mono';
    font-size: 18px;
    margin-top: 5px;
}

.pa-fld2 a
 {
    font-weight: bold;
    text-decoration: none;
}

.pa-fld1 {
    width: 230px;
    background-color: var(--color-bg-darker);
    border-radius: 12px;
    font-size: 13px;
    border: 5px solid var(--color-bg-darker);
    margin: 10px auto 0 auto;
    padding: 15px;
    box-sizing: border-box;
    text-align: justify;
    word-break: break-word;
    color: var(--color-text);
    box-shadow: 0 0 0 5px var(--color-bg-darker);
}


/*     */
.pa-posts, 
.pa-respect, li.pa-positive {
    display: inline-block;
    vertical-align: middle;
    margin-left: 18px;
    margin-top: 15px;
    font-family: 'IBM Plex Sans';
    font-size: 18px;
    color: var(--color-text);
}

li.pa-respect {
    color: var(--color-bg-dark);
}

li.pa-respect span
 {
    color: var(--color-text);
}


/*       (  ) */
.pa-posts .fld-name,
.pa-respect .fld-name,
li.pa-positive .fld-name{

    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    overflow: hidden;

}

.pa-posts .fld-name::after,
.pa-respect .fld-name::after,
li.pa-positive .fld-name::after{
    content: "";  /* !   ::after   */
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;  /*  inline-block */
}

.pa-posts .fld-name::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232f3434"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
}

.pa-respect .fld-name::after {
    
    background-image: url(https://forumstatic.ru/files/001c/7c/69/67184.png);
}

li.pa-positive .fld-name::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232f3434"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
    
}

/*       */
.pa-posts:hover::after, 
li.pa-respect:hover::after,
li.pa-positive:hover::after
{
    position: absolute;
    display: flex;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 100;
    white-space: nowrap;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    text-align: center;
}

.pa-posts:hover::after
{
  content: "";
}

li.pa-respect:hover::after {
  content: "";
}

li.pa-positive:hover::after {
  content: "";
}

.pa-posts .fld-name a,
.pa-respect .fld-name a,
li.pa-positive .fld-name a{
    display: none;
}

.pa-posts .fld-name,
.pa-respect .fld-name,
li.pa-positive .fld-name{
    color: transparent;
    font-size: 0;
}

/*    */
.pa-respect a[rel="nofollow"] {
  display: none !important;
}

.mini_awards_label
 {
    display: none;
}


/* C3.11 */
.punbb .post-body {
    margin-left: 250px;
    padding: 1px 1px 1px 1px;
  }

/* C3.12 */
.punbb .post-box {
  padding: 1em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
  background: var(--color-bg);
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* 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: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/



/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #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: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  display: none !important;
  }



/* 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 {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: linear-gradient(to right, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 9px 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow: visible;
  }
  #pun-navlinks ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    border-style: none;
  }
  #pun-navlinks li {
    margin: 0;
  }
  #pun-navlinks a {
    color: var(--color-text);
    text-decoration: none;
    font-family: 'PT Mono', monospace;
    font-size: 16px;
    padding: 4px 8px;
    transition: color 0.2s, background 0.2s;
    border-radius: 4px;
  }
  #pun-navlinks li.isactive > a {
    background: rgba(255,255,255,0.05);
  }
  #pun-navlinks a:hover {
    background: rgba(255,255,255,0.1);
  }

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */

#pun-ulinks {
    margin: -510px 0 510px -21px;/*     */
    position: relative;
    padding: 0 10px; /*       */
    
    box-sizing: border-box; /* ,  padding     1020px */
    overflow: hidden; 
}


/* D4.2 */


/* D4.3 */

#pun-ulinks .container {
    padding: 0;
    margin: 0;
    display: block;
    position: relative;
    top: 1px; /*  ul  ,   ""  border-bottom  */
    border-width: 0 0 2px 0;
}

#pun-ulinks .container ul {
    /*    JavaScript: */
    /* display: flex; */
    /* flex-wrap: nowrap; */
    /* margin: 0 -10px;  -   ,   PADDING  */
    /* width: auto; */

    padding: 0;
    margin: 0 -10px; /*   margin,  ul      */
    list-style: none;
    box-sizing: border-box;
    position: relative; /*   z-index  */
}

#pun-ulinks .container li {
    /*    JavaScript: */
    /* flex: 1 0 auto; */
    /* box-sizing: border-box; */
    /* min-width: 100px; */

    list-style: none;
    margin: 0; /* ,      li */
    padding: 0;
    position: relative;
    z-index: 1; /*  z-index   .  ,  z-index  */
    /*  :  overflow: hidden; ,     */
    /* overflow: hidden; */ 
}

/*  : z-index   -      */
/*   ,    z-index */
#pun-ulinks .container li:nth-child(1) { z-index: 1; } /*   -   z-index */
#pun-ulinks .container li:nth-child(2) { z-index: 2; }
#pun-ulinks .container li:nth-child(3) { z-index: 3; }
#pun-ulinks .container li:nth-child(4) { z-index: 4; }
#pun-ulinks .container li:nth-child(5) { z-index: 5; }
#pun-ulinks .container li:nth-child(6) { z-index: 6; }
#pun-ulinks .container li:nth-child(7) { z-index: 7; }
#pun-ulinks .container li:nth-child(8) { z-index: 8; }
#pun-ulinks .container li:nth-child(9) { z-index: 9; }/*   -   z-index */
/*  ,     ,   (z-index: 6, 7  ..) */

/*  :     margin-left  A,    LI */
#pun-ulinks .container li:not(:first-child) a {
    margin-left: -15px; /*     .  ! */
}

/*  :
#pun-ulinks .container li:not(:last-child) {
    margin-right: -15px;
}
*/

/*  : ,      */
#pun-ulinks .container li:first-child a {
    margin-left: 0 !important; /* ,         */
    /* Padding-left    15px   ,     */
}


/*   -  -    */
#pun-ulinks .container li a {
    display: flex; /*  flex     a */
    align-items: center; /*     ( ) */
    justify-content: flex-start; /*      */
    position: relative; /*     z-index */
    padding: 8px 10px 8px 10px; /*   padding,      .  15px   */
    font-family: 'PT Mono', sans-serif;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap; /*    */
    box-sizing: border-box;
    cursor: pointer;
    height: 100%; /* ,      li */

    background-color: transparent; /*     */
    color: var(--color-text); /*   */

    border: none; /*        */
    box-shadow: none;
}

/*           ::before */
#pun-ulinks .container li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /*  :      (top-left top-right bottom-right bottom-left) */
    border-radius: 6px 6px 0 0; 
    
    background-color: var(--color-bg-dark); /*    */
    
    /* ,   -   */
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: none; /*     */

    /*     -   */
    box-shadow: inset 1px 1px 0px 0px rgba(255, 255, 255, 0.15), /*   - */
                inset -1px -1px 0px 0px rgba(0, 0, 0, 0.3); /*   - */
    
    transition: background-color 0.1s ease-out, box-shadow 0.1s ease-out;
    z-index: -1; /*      */
}

/*    (hover) */
#pun-ulinks .container li a:hover::before {
    background-color: var(--color-bg-alt); /*     */
    /*     ""  "" */
    box-shadow: inset 1px 1px 0px 0px rgba(0, 0, 0, 0.3), /*   - */
                inset -1px -1px 0px 0px rgba(255, 255, 255, 0.15); /*   - */
}

#pun-ulinks .container li a.active {
    z-index: 99; /*        */
}

#pun-ulinks .container li a.active::before {
    background-color: var(--color-bg); /*    -     */
    border-bottom: 1px solid var(--color-bg); /*  ,   ,      */
    /*  ,   "" */
    box-shadow: inset 1px 1px 0px 0px rgba(0, 0, 0, 0.3), /*   - */
                inset -1px -1px 0px 0px rgba(255, 255, 255, 0.15); /*   - */
    
    /*  :          */
    border-radius: 6px 0 0 0; /* top-left, top-right, bottom-right, bottom-left */
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
 /*      */
  #pun-status.section {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--color-block-bg);
    color: var(--color-text);
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    margin: 5px 0;
    padding: 6px 15px;
    box-shadow: inset 0 0 5px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
  }

  }
  #pun-status h2 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--color-heading);
    flex-shrink: 0;
  }
  #pun-status .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    border-style: none;
    
  }
  
  #pun-status .status-right {
    margin-left: auto;
  }

  /*  */
  #pun-break1.divider hr {
    width: 100%;
    margin: 12px 0;
    border: none;
    border-top: 1px solid var(--color-border);
  }

  /*   ( ) */
  #pun-crumbs1.section .container.crumbs, #pun-crumbs2.section .container.crumbs {
    width: 100%;
    margin: 0 4px;
    display: flex;
    align-items: center;
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    color: var(--color-text);
    gap: 5px;
    border-style: none;
  }
  #pun-crumbs1.section .container.crumbs strong,  #pun-crumbs2.section .container.crumbs strong {
    color: var(--color-heading);
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#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;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: solid;
  border-top-width: 1px;
  float: left;
  width: 100%;
  line-height: 130%;
  }

/* D7.5 */
li#onlinelist div {
  border-top-style: solid;
  border-top-width: 1px;
  padding: 0.7em 0 0 0;
  }

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  }

/* D8.4 */
#pun-about .container {
  border: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* D8.5 */
#pun-about p span {
    display: block;
    text-align: center;
    overflow-y: auto;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  /*border-style: solid none;
  border-width: 1px 0;*/
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#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;
  }

/* 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;
  }
  
  
  /**/
  
   /* ---  --- */
  button {
    font-family: 'PT Mono', monospace;
    padding: 2px 10px;
    font: 500 .75rem / 1 'PT Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--gradient-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 6px 2px;
    box-shadow: inset 0 0 5px #1e2222;
    transition: background var(--transition), border var(--transition);
    margin: 5px;
  }

  button:hover {
    background:var(--color-bg-alt);
    border-color:var(--color-secondary);
  }

  button:active {
    transform: scale(0.95);
    box-shadow: inset 0 0 12px #7a7f7f;
  }

  /* ---  --- */
  .banner {
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-align: center;
    font-size: 18px;
    color: var(--color-heading);
    border: 1px dashed var(--color-border);
    border-radius: 6px 2px 6px 2px;
  }

/*     */
.dropdown-pun_index {
  position: relative; /*      */
  display: inline-block; /*      */
}

.dropdown-menu {
 position: absolute;
  top: 100%; /*    */
  left: 0;
  background-color: var(--color-bg); /*    */
  border: 1px solid var(--color-border);
  border-radius: 4px;
  min-width: 160px; /*    */
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  z-index: 100; /*       */
  
  /*   : */
  max-height: 0; /*  0,    */
  overflow: hidden; /*  ,    max-height */
  opacity: 0; /*   */
  transform-origin: top center; /*     "" */
  transform: scaleY(0.8); /*     Y */
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out; /*   */
  
  flex-direction: column; /*      */
  padding: 0px 0; /* : padding 0,     max-height    */
  /* padding 5px 0      */
}

.dropdown-menu.active {
  /*   : */
  max-height: 200px; /*   ,     */
  opacity: 1; /*   */
  transform: scaleY(1); /*     */
  padding: 5px 0; /*  padding   */
}

.dropdown-menu a {
  color: var(--color-text); /*    */
  padding: 8px 15px;
  text-decoration: none;
  display: block; /*     */
  white-space: nowrap; /*     */
}

.dropdown-menu a:hover {
 
  background: linear-gradient(to right, var(--color-bg-alt), var(--color-bg));
  color: var(--color-heading);
}

/*   .quick-links,     - dropdown-pun_index */
.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* :  wrap,  allow wrapping if needed, but not force it */
    justify-content: center;
    margin-bottom: 20px;
    overflow-x: visible; /* :  visible,      */
    width: 100%;
}
  

  .main-content {
    display: flex;
    gap: 20px;
  }

  .left-panel, .right-panel {
    width: 200px;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    background: var(--color-bg-darker);
    padding: 15px;
    box-shadow: inset 0 0 5px #1f2424;
  }

  .forum-body {
    flex: 1;
    background: rgba(255,255,255,0.02);
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
  }

  /* ---  line art --- */
  .icon {
    width: 20px;
    height: 20px;
    stroke: #ccc;
    fill: none;
    stroke-width: 2;
    opacity: 0.6;
    vertical-align: middle;
    margin-right: 6px;
    transition: stroke 0.3s;
  }

  .container div:hover .icon,
  button:hover .icon {
    stroke: var(--color-heading);
    opacity: 1;
  }

  /* ---  --- */
  .player {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    padding: 15px;
    box-shadow: inset 0 0 8px #1f2424;
    color: var(--color-text);
    font-family: 'PT Mono', monospace;
    user-select: none;
  }

  .player .title {
    font-weight: bold;
    margin-bottom: 8px;
  }

  .player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .player-button {
    width: 32px;
    height: 32px;
    background: var(--color-block-bg);
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    box-shadow: inset 0 0 5px #1e2222;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .player-button:hover {
    box-shadow: 0 0 10px 2px #aeb5b7;
    background-color: var(--color-button-hover);
  }

  .player-button:active {
    transform: scale(0.9);
    box-shadow: inset 0 0 12px #7a7f7f;
  }

  .timeline {
    flex: 1;
    height: 6px;
    background: var(--color-button-hover);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 0 5px #1e2222;
  }

  .timeline-filled {
    height: 100%;
    background: var(--color-text);
    border-radius: 3px 0 0 3px;
    width: 40%; /*   */
    transition: width 0.3s ease;
  }

  /* ---   --- */
  .playlist-button {
    font-family: 'PT Mono', monospace;
    background: var(--color-block-bg);
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    padding: 6px 12px;
    color: var(--color-text);
    cursor: pointer;
    box-shadow: inset 0 0 5px #1e2222;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
  }

  .playlist-button:hover {
    box-shadow: 0 0 10px 2px #aeb5b7;
    background-color: var(--color-button-hover);
  }

  .playlist-button:active {
    transform: scale(0.95);
    box-shadow: inset 0 0 12px #7a7f7f;
  }


  /* ---    --- */
  .system-status {
    margin-top: 15px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    padding: 12px 15px;
    box-shadow: inset 0 0 8px #1f2424;
    color: var(--color-secondary);
    font-family: 'PT Mono', monospace;
    font-size: 13px;
    user-select: none;
  }

  .system-status .status-title {
    font-weight: bold;
    margin-bottom: 6px;
  }

  .status-item {
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
  }
  
  .header-image {
    width: 1080px;
    height: auto;
    position: relative;
    z-index: 1;
	margin-left: -21px;
  }
  
  .background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	 background-color: var(--color-bg);
     background-size: 1080px auto;
    filter: blur(8px);
    opacity: 0.4;
    z-index: -1;
  }
  
  /*    */
	.nav-collapse-trigger {
    position: fixed;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    opacity: 0;
    z-index: 1001;
    transition: opacity 0.3s;
    pointer-events: none;
    font-size: 35px;
    color: var(--color-heading);
    text-shadow: 0 0 8px rgba(176, 183, 185, 0.8);
}

.nav-collapse-trigger.active {
    opacity: 1;
    pointer-events: all;
    animation: bounce 1.5s infinite;

}



.scroll-btnTop {
    position: fixed;
   right: 20px;
    bottom: 70px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0; /*   */
    pointer-events: none; /*  ,   */
    transition: opacity 0.3s ease, transform 0.1s ease; /* :  'transform 0.1s ease' */
    font-size: 35px;
    line-height: 1;
    color: var(--color-heading);
    text-shadow: 0 0 8px rgba(176, 183, 185, 0.8);
    padding-bottom: 0px;
    display: flex; /*    */
    justify-content: center; /*    */
    align-items: center; /*    */
}

.scroll-btnTop.active { /*  JS       */
    opacity: 1;
    pointer-events: all;
    animation: bounce-y 1.5s infinite; /* :   'bounce-y' */
}


/* */
.scroll-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0; /*   */
    pointer-events: none; /*  ,   */
    transition: opacity 0.3s ease, transform 0.1s ease; /* :  'transform 0.1s ease' */
    font-size: 35px;
    line-height: 1;
    color: var(--color-heading);
    text-shadow: 0 0 8px rgba(176, 183, 185, 0.8);
    padding-bottom: 0px;
    display: flex; /*    */
    justify-content: center; /*    */
    align-items: center; /*    */
}

.scroll-btn.active { /*  JS       */
    opacity: 1;
    pointer-events: all;
    animation: bounce-y 1.5s infinite; /* :   'bounce-y' */
}


@keyframes bounce {
    0%, 100% { transform: translate(-50%, -5px); }
    50% { transform: translate(-50%, 5px); }
}


@keyframes bounce-y {
    0%, 100% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
}

.sticky-pun_index {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gradient-bg), var(--gradient-bg);
}


/*    */
.banner {
    position: relative;
    height: 25px;
    margin: 20px 0;
    text-align: center;
    overflow: visible;
}

.banner-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    width: 100%;
    font-size: 18px;
}

.typing-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 100%;
}

.typing-effect {
    display: inline-block;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3s steps(40, end) forwards;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}



  /* ---  fade-in --- */
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  #visualizer {
    flex: 1;
    height: 30px;
    margin: 0 10px;
    background: var(--gradient-bg);

    
	}

    .player-container {
        width: 100%; /*      */
        max-width: 200px; /*   */
        padding: 10px;
        background: var(--gradient-bg);
        border: 1px solid var(--color-border);
        border-radius: 6px 2px 6px 2px;
        position: relative;
        box-sizing: border-box;
    }

     .track-artwork {
        width: 100%;
        padding-top: 100%; /*    */
        position: relative;
        margin-bottom: 10px;
    }

    .artwork-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 1px solid var(--color-border);
    }

    .track-title {
        color: var(--color-heading);
        font-size: 12px;
        margin: 8px 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .time-display {
        display: flex;
        justify-content: space-between;
        color: var(--color-text);
        font-size: 11px;
        margin: 8px 0;
    }

     .player-controls {
        position: relative; /*     */
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .icon-btn {
        background: none;
        border: none;
        color: var(--color-text);
        font-size: 14px;
        cursor: pointer;
        padding: 2px;
        line-height: 1;
    }

    .progress-container {
        flex: 1;
        height: 2px;
        background: var(--color-border);
        cursor: pointer;
        position: relative;
    }


    .progress-bar {
        height: 100%;
        background: var(--color-text);
        width: 0%;
        transition: width 0.1s linear;
    }

    .tracks-list {
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        right: 0;
        width: 100%; /*      */
        max-height: 200px;
        overflow-y: auto;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
        list-style: none;
        padding: 5px;
        margin: 0;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        box-sizing: border-box; /*      */
    }

     .tracks-list.visible {
        display: block;
    }

    .track-item {
        padding: 8px !important;
        font-size: 12px;
        color: var(--color-text);
        cursor: pointer;
        transition: background 0.2s;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .track-item:hover {
        background: linear-gradient(to right, var(--color-bg-alt), var(--color-bg));
    }
    
    
      
/*    */
#pun-main {
      
    font-family: 'IBM Plex Sans', sans-serif; /*  ,   */
   
}

/*  "" */
#pun-main h1 {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--color-block-bg);
    color: var(--color-text);
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    margin: 20px 0;
    padding: 6px 15px;
    box-shadow: inset 0 0 5px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    justify-content: center;
}

#pun-main h1 span {
    font-size: 1.5em;
   /* font-weight: bold;*/
    color: var(--color-heading); /*    */
    padding-bottom: 5px;
    display: inline-block; /*       */
}

/* ----------  ---------- */
.category{
    position:relative;          /*   ::after */
    width:100%;
    margin-bottom:30px;
    background:var(--color-block-bg);
    border-radius:2px;
    /*box-shadow:0 4px 15px rgba(0,0,0,.5);*/
   overflow:visible;
    font-family:'IBM Plex Sans',sans-serif;
    
  clip-path:polygon(var(--cut) 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%,0 var(--cut));
    
}

.category::after{
  content:"";
  position:absolute; 
  inset:0;
  box-shadow:0 4px 15px rgba(0,0,0,.5);
    z-index:-1;
  pointer-events:none;        /*     */
}

/* ----------  ---------- */
.category h2{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    padding:10px 18px;
    font: 500 1.2rem / 1 'Tektur', sans-serif;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:var(--color-heading);
    background:var(--gradient-bg);
    box-shadow:inset 0 0 5px #1e2222;
    position:relative;overflow:hidden;
    
}
    
/*.category h2 span{flex: 0 0 auto;
    font-family: 'PT Mono', monospace;
    
}
*/
.category h2 span::after{
    content:attr(data-text);
    position:absolute;
    width:100%;
    height:100%;
    overflow:hidden;}
/*.category h2 span::before{left:19px;text-shadow:-2px 0 var(--color-secondary);clip-path:polygon(0 0,100% 0,100% 45%,0 45%);} */
.category h2 span::after{left:19px;text-shadow:2px 0 #ff5d5d;clip-path:polygon(0 55%,100% 55%,100% 100%,0 100%);} 
@keyframes glitch{0%{clip-path:polygon(0 2%,100% 2%,100% 8%,0 8%);}20%{clip-path:polygon(0 15%,100% 15%,100% 25%,0 25%);}40%{clip-path:polygon(0 30%,100% 30%,100% 38%,0 38%);}60%{clip-path:polygon(0 55%,100% 55%,100% 65%,0 65%);}80%{clip-path:polygon(0 72%,100% 72%,100% 80%,0 80%);}100%{clip-path:polygon(0 88%,100% 88%,100% 95%,0 95%);}}
.category h2 span::before{animation:glitch 3s infinite steps(6)}
.category h2 span::after{animation:glitch 2.5s infinite steps(6)}

.catleft,.catright{flex:1;height:2px;background:var(--color-secondary);box-shadow:0 0 6px var(--color-secondary);position:relative;}
.catleft::after,.catright::after{content:"";position:absolute;top:0;width:14px;height:100%;background:inherit;}
.catleft::after{right:-14px;transform:skewX(-3deg);} .catright::after{left:-14px;transform:skewX(-3deg);} 

.category h2::after{content:"STATUS: [ONLINE]";margin-left:auto;padding:3px 6px;font:600 .55rem/1 'PT Mono',monospace;color:var(--color-secondary);border:1px solid rgba(149,195,163,.3);animation:blink 2s infinite alternate;} 
@keyframes blink{0%{opacity:1;text-shadow:0 0 5px rgba(149,195,163,.8);}100%{opacity:.4;text-shadow:none;}}

/* ----------  ---------- */
.category table{
    width:100%;
    border-collapse:collapse;
    font-family:'IBM Plex Sans',sans-serif;
    
} 
.category thead
{
    font-size: 0.8em;
    color: #a0a0a0;
    
}
.category .tc2,.category .tc3{
    display:none;
    
}
.category tbody tr{
    position:relative;transition:background .12s;
    
} 

/*
.category tbody tr:hover{background:rgba(66,70,70,.08);} */

.category tbody tr:hover{background:var(--color-bg-darker);}
tbody.hasicon tr:hover { background: var(--color-bg-darker);}

.category tbody tr::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    /*height:1px;*/
    background:rgba(66,70,70,.25);} 
    
.category tbody tr:last-child::after{display:none;}
.category tbody td{padding:10px 20px;color:var(--color-text);vertical-align:top;} .category tbody td.tcl{background:rgba(52,57,57,.08);} 

.category tbody td.tcl {
padding-left: 3.2em;
    
}

.category tbody td.tcl .intd{display:flex;gap:12px;align-items:flex-start;}
.category tbody td.tcl .tclcon h3{margin:0 0 4px;font:600 1rem/1 'Tektur',sans-serif;color:var(--color-heading);} .category tbody td.tcl .tclcon h3 a{color:inherit;text-decoration:none;} .category tbody td.tcl .tclcon h3 a:hover{color:var(--color-secondary);} 

.btn-frm{margin-top:6px;display:flex;flex-wrap:wrap;gap:5px;} .sik{padding:2px 10px;font:500 .75rem/1 'PT Mono',monospace;text-transform:uppercase;letter-spacing:.04em;background:var(--gradient-bg);color:var(--color-text);border:1px solid var(--color-border);border-radius:6px 2px;box-shadow:inset 0 0 5px #1e2222;transition:background var(--transition),border var(--transition);} .sik:hover{background:var(--color-bg-alt);border-color:var(--color-secondary);} 

.tcr{text-align:right;color:var(--color-heading);line-height:1.4;} 
.user-avatar{display:inline-block;width:18px;height:18px;margin-right:5px;overflow:hidden;opacity:.8;transition:opacity .2s;vertical-align:bottom;} 
.user-avatar:hover{opacity:1;} 
.avatar-image{width:100%;height:100%;background-size:cover;background-position:center;} .isonline{position:absolute;right:0;bottom:0;width:4px;height:4px;background:var(--color-secondary);box-shadow:0 0 2px rgba(149,195,163,.6);} .lastpost-link{color:var(--color-text);text-decoration:none;} .lastpost-link:hover{color:var(--color-secondary);} .lastpost{display:block;font-size:.75rem;color:#a0a0a0;} .datetime{color:#b0b0b0;}

.category tbody td.tcl .tclcon
{
    padding: 0 0 0 15px;
}

.category tbody td,
.category thead th, .punbb tbody.hasicon td, .punbb tbody.hasicon th   /* thead ,     */
{
  position: relative;        /*   - */
}

/*   */
.category tbody td::before,
.category thead th::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(var(--color-secondary) 0 0) top   left,
    linear-gradient(var(--color-secondary) 0 0) top   left,
    linear-gradient(var(--color-secondary) 0 0) top   right,
    linear-gradient(var(--color-secondary) 0 0) top   right,
    linear-gradient(var(--color-secondary) 0 0) bottom right,
    linear-gradient(var(--color-secondary) 0 0) bottom right,
    linear-gradient(var(--color-secondary) 0 0) bottom left,
    linear-gradient(var(--color-secondary) 0 0) bottom left;

  /*   :  &#9656;  */
  background-size:
    var(--corn) var(--stroke), var(--stroke) var(--corn),
    var(--corn) var(--stroke), var(--stroke) var(--corn),
    var(--corn) var(--stroke), var(--stroke) var(--corn),
    var(--corn) var(--stroke), var(--stroke) var(--corn);

  background-repeat: no-repeat;
}

.punbb tbody.hasicon td::before, .punbb tbody.hasicon th::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(var(--color-secondary) 0 0) top   left,
    linear-gradient(var(--color-secondary) 0 0) top   left,
    linear-gradient(var(--color-secondary) 0 0) top   right,
    linear-gradient(var(--color-secondary) 0 0) top   right,
    linear-gradient(var(--color-secondary) 0 0) bottom right,
    linear-gradient(var(--color-secondary) 0 0) bottom right,
    linear-gradient(var(--color-secondary) 0 0) bottom left,
    linear-gradient(var(--color-secondary) 0 0) bottom left;

  /*   :  &#9656;  */
  background-size:
    var(--corn1) var(--stroke1), var(--stroke1) var(--corn1),
    var(--corn1) var(--stroke1), var(--stroke1) var(--corn1),
    var(--corn1) var(--stroke1), var(--stroke1) var(--corn1),
    var(--corn1) var(--stroke1), var(--stroke1) var(--corn1);

  background-repeat: no-repeat;
}



@media(max-width:768px)
{.category tbody tr::after{display:none;} 
.category tbody td{display:block;width:100%!important;text-align:left!important;} 
.category .tcr{margin-top:6px;}}

/* icons unchanged */
#pun-index div.icon,#pun-index tr.inew div.icon
{position:absolute;float:left;height:30px;width:30px;margin:-4px 0 0 -35px;opacity:.7;background-size:contain;background-repeat:no-repeat;} 
#pun-index div.icon {
    background-image:url(https://forumstatic.ru/files/001c/7c/69/85445.png);
    
} 

#pun-index tr.inew div.icon {
    background-image:url(https://forumstatic.ru/files/001c/7c/69/52601.png);
    
}

@keyframes glow1{
  0%,100%{filter:drop-shadow(0 0 1px #eae0c7);}
  50%    {filter:drop-shadow(0 0 4px #eae0c7);}
}
#pun-index tr.inew div.icon {animation:glow1 1.6s infinite;}

a.lastpost-link, .byuser {
    font-family: 'PT Mono';
}
.byuser {
    COLOR: VAR(--color-secondary);
}


.bubble
 {
    background: red;
    border: 0 none;
    border-radius: 3px;
    color: white;
    display: inline-block;
    font: bolder 8px / 1.6 Tahoma;
    margin: 4px 0 0 -40px !important;
    min-width: 14px;
    padding: 0 1px;
    position: absolute;
    right: 16px !important;
    text-align: center;
    top: -6px !important;
    z-index: 9999;
}


.wrapper {
  position: relative;
  z-index: 1;
  background-color: #1e2125;
}


.nav-support {
    
    position: fixed;
    top: -43%;
    width: 500px;
    height: 90%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1001;
}

.nav-left {
  left: calc(50% - 1000px); /* 510 = 1020/2; 60    */
  background-image: url("https://forumstatic.ru/files/001c/7c/69/49642.png");
}

.nav-right {
  right: calc(50% - 1000px);
  background-image: url("https://forumstatic.ru/files/001c/7c/69/20564.png");
}


canvas {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      z-index: -100;
    }

    
    .modmenu p.container
 {
    align-items: center;
    width: 100%;
    background-color: var(--color-block-bg);
    color: var(--color-text);
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    border: 1px solid var(--color-border);
    border-radius: 0px 0px 6px 2px;
 
    padding: 6px 15px;
    box-shadow: inset 0 0 5px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;

}

.forum .container {
    align-items: center;
    width: 100%;
    background-color: var(--color-block-bg);
    color: var(--color-text);
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 0px 0px;
 
    box-shadow: inset 0 0 5px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

#pun-stats.section {
    display: flex;
    width: 100%;
    background-color: var(--color-block-bg);
    color: var(--color-text);
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    margin: 5px 0;
    padding: 6px 15px;
    box-shadow: inset 0 0 5px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

#pun-stats h2 {
    display: flex;
   /* align-content: flex-start;*/
    border: none;
    padding: 5px 10px 0px 0px;
    color: var(--color-secondary);
}

#pun-stats .container {
    padding: 0.8em 1em;
    border-left-width: 1px;
    border-top: none;
    border-bottom: none;
    border-right: none;
}

#profile .container 
 {
    padding-left: 18.6em;
}

#viewprofile .container, #profile10, #profile .container {
    background-color: var(--color-block-bg);
    color: var(--color-text);
    font-size: 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px 6px 2px;
    margin: 5px 0;
    box-shadow: inset 0 0 5px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.footer {
    
    height: 33px;
    text-align: center;
    overflow-y: auto;
}

#banners a img { opacity:0.3; -moz-opacity:0.3; filter:alpha(opacity=40); }
#banners a:hover img { opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100); }

#html-footer .container {
    border: none;
}

.punbb tbody.hasicon td.tcl div.icon{background:url('https://forumstatic.ru/files/001c/7c/69/98622.svg') center/contain no-repeat;} 
.punbb tbody.hasicon td.tcl div.icon.icon-new {background:url('https://forumstatic.ru/files/001c/7c/69/53432.svg') center/contain no-repeat; color:#ff5d5d;}


@keyframes glow{
  0%,100%{filter:drop-shadow(0 0 1px #95c3a3);}
  50%    {filter:drop-shadow(0 0 4px #95c3a3);}
}
.punbb tbody.hasicon td.tcl div.icon.icon-new {animation:glow 1.6s infinite;}

.punbb tbody.hasicon td.tcl .intd .tclcon{
  flex:1 1 0;               /*  ,   */
  min-width:0;              /* &#11013;   */
}

.punbb tbody.hasicon td.tcl .intd{
  display:flex;
  gap:12px;
  align-items:flex-start;   /*  center,   */
}

thead {
    font-size: 0.8em;
}

#pun-viewtopic .post h3 {
 
    position: relative;
    width: 100%;
    height: 30px;
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    font-size: 12px;
    border: 1px solid var(--color-border);
    border-radius: 2px 2px 6px 2px;
    box-shadow: 0 5px 10px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

a.sharelink {
    text-indent: -9999px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(https://forumstatic.ru/files/001c/7c/69/48089.png);
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent !important;
    background-position: center center;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none !important;
    border-bottom: none !important;
    padding: 0 0 0 5px;
}

a.sharelink:hover {
  opacity: 0.8;
  transition: transform 0.4s ease;
  border: 4px soild var(--color-button-text);
    
}





/* Extra additions
-------------------------------------------------------------*/

#poll-special table.poll1 {width:auto}
#poll-special td {border:0}
.punbb .post-content img.postimg {max-width:100%; margin:0.4em 0}
#poll-special td {text-align:left !important; cursor:default !important}
#poll-special td.tac {text-align:center !important}
#poll-special td.tar {text-align:right !important}
div.pa-respect span {font-size:0.9em; vertical-align:top}
div.post-rating p {float:right !important; border:0 !important; padding:3px !important}
div.post-vote p {float:right !important; border:0 !important; padding:3px 13px !important; margin-right:5px !important}
div.post-vote p .negative {margin-left:13px;}
div.post-rating a {cursor:pointer !important}
div.post-rating a, div.post-vote a {font-size:130% !important; text-decoration:none !important}
#pun-status .status-right {float:right;}
.post-content table {/* border-collapse:collapse; */margin:0 0 0.8em}
.post-content td {/* border-width:1px !important; *//* border-style:solid !important; */padding:0.4em 0.5em !important;overflow:hidden}
.post-content td p:last-child {padding-bottom:0}
.post-content .highlight-text {background-color:#ff0; color:#000}
.post-content .spoiler-box > div {background:url('/img/plus.png') no-repeat left center; cursor:pointer; padding-left:18px}
.post-content .spoiler-box > div.visible {background-image:url('/img/minus.png')}
.post-content .spoiler-box > blockquote {padding-top:1.4em; display:none}
.post-content .spoiler-box > blockquote.visible {display:block; overflow:auto}
.post-content hr {
    border: none;
    height: 1px;
    margin-bottom: 0.8em;
    position: relative;

    background: linear-gradient(
        to right,
        var(--color-border),
        var(--color-secondary),
        var(--color-border)
    );
}

.post-content abbr {cursor:help}
.post-content ul {padding:0 0 1em 2.3em}
.post-content ul li {list-style:inherit; margin-bottom:0.3em}
.post-content ul li ul {padding-bottom:0}
.post-content ul li > p {padding-bottom:0.3em}
.post-content ul li > p:last-of-type {padding-bottom:0}
#form-buttons table, .punbb .formal textarea {width:99%}
#form-buttons td {padding:0 !important; line-height:0; background-position:center; background-repeat:no-repeat; border:0; cursor:pointer;}
#form-buttons td img {height:26px; width:100%}
#form-buttons tr {text-align: center;}

td#button-font {background:url('/i/form_buttons.3.png') no-repeat 50% 5px}
td#button-size {background:url('/i/form_buttons.3.png') no-repeat 50% -21px}
td#button-bold {background:url('/i/form_buttons.3.png') no-repeat 50% -47px}
td#button-italic {background:url('/i/form_buttons.3.png') no-repeat 50% -73px}
td#button-underline {background:url('/i/form_buttons.3.png') no-repeat 50% -99px}
td#button-strike {background:url('/i/form_buttons.3.png') no-repeat 50% -125px}
td#button-left {background:url('/i/form_buttons.3.png') no-repeat 50% -151px}
td#button-center {background:url('/i/form_buttons.3.png') no-repeat 50% -177px}
td#button-right {background:url('/i/form_buttons.3.png') no-repeat 50% -203px}
td#button-link {background:url('/i/form_buttons.3.png') no-repeat 50% -229px}
td#button-spoiler {background:url('/i/form_buttons.3.png') no-repeat 50% -255px}
td#button-image {background:url('/i/form_buttons.3.png') no-repeat 50% -281px}
td#button-video {background:url('/i/form_buttons.3.png') no-repeat 50% -307px}
td#button-hide {background:url('/i/form_buttons.3.png') no-repeat 50% -333px}
td#button-quote {background:url('/i/form_buttons.3.png') no-repeat 50% -359px}
td#button-code {background:url('/i/form_buttons.3.png') no-repeat 50% -385px}
td#button-color {background:url('/i/form_buttons.3.png') no-repeat 50% -411px}
td#button-smile {background:url('/i/form_buttons.3.png') no-repeat 50% -437px}
td#button-keyboard {background:url('/i/form_buttons.3.png') no-repeat 50% -463px}
td#button-table {background:url('/i/form_buttons.3.png') no-repeat 50% -489px}
td#button-addition {background:url('/i/form_buttons.3.png') no-repeat 50% -515px}

.punbb .formal fieldset {min-width:0;}
.punbb .formal span.input {padding-right:0 !important}
#formkey, #formetc {display:none}
#color-area, #table-area, #keyboard-area {width:auto}
#keyboard-area {text-align:center; padding-bottom:4px}
#imageup-area {width:170px}
#imageattach-area {width:770px; height:200px; padding:0px !important}
#smilies-area, #video-area, #spoiler-area {width:450px}
#image-area {width:550px}
#color-area * {border:0}
#color-area table {width:320px; height:20px; padding:0; margin:0}
#table-area table {width:auto !important; padding:0; margin:0; border-collapse:collapse}
#table-area div {margin-top:1em; text-align:center}
#table-layout {margin-right:0.5em}
#table-area td {background-color:#fff; width:20px; height:20px; border-width:1px !important; border-style:solid !important; border-color:#dadada !important}
#table-area td.selected {background-color:#c8c8ff}
#color-area td, #table-area td {margin:0; padding:0; line-height:0}
#color-area td img, #table-area td img {width:20px; height:20px; cursor:pointer !important}
#tags .container {position:absolute; right:6px; top:43px; z-index:2;}
#font-area, #size-area {right: unset !important;}
#font-area div, #size-area div, #color-area div, #table-area div, #addition-area div, #smilies-area div a, #smilies-area img {cursor:pointer !important}
#font-area span, #font-area img, #size-area span, #size-area img {display:block; position:relative; top:0; left:0}
#font-area span, #font-area img {height:15px}
#size-area span, #size-area img {height:24px}
#font-area span, #size-area span {padding:1px 0}
#addition-area div {height:24px; vertical-align:middle}
#font-area img {width:100%; margin-top:-15px}
#size-area img {width:100%; margin-top:-24px}
#keyboard-span {text-align:center; padding-bottom:10px; width:auto}
#keyboard-span input {font-family:Arial, Helvetica, sans-serif; font-weight:300; font-size:13px; color:#666; background-color:#fff; margin:1px 1px 0 0; border:1px solid #ddd; cursor:pointer; height:25px; min-width:30px}
#imageup-area input {font-size:0.8em}
#imageup-area p {padding:0; margin:0}
#imageup-title {margin-bottom:10px !important}
#imageup-submit {margin-top:10px !important}
#main-reply {width:100%; background: var(--color-button-text);}
#pun-messages #post-form div.container {padding-left:2.3em}
#similar-topics {margin-top:1em}
#similar-topics div.container {padding-top:1.1em}
#similar-topics td {border:0; padding:0}
#similar-topics td.st-tcl {width:60%}
#similar-topics td.st-tc2 {width:25%; padding-right:1em; text-align:right}
#similar-topics td.st-tcr {width:15%; padding-right:1em; text-align:right}
.postlink.long {width:30em}
.postlink.long .new-topic {padding-right:12px}
li.pa-ua {margin-top: 0.7em; display: flex; justify-content: center;}
#pun-online .tcl.action {width:25%}
.punbb .post.new-ajax > * {border-width: 3px;}
.punbb .post.new-ajax {display: none;}

#pun-index .isub .tcl {padding-left: 3em !important;}
#pun-main #subforums {padding: 1em 0 1em 1em; margin-bottom: 5px;}

.notify-parent {position: relative;}
.notify-bubble {
    background: lightblue;
    border-radius: 3px;
    color: black;
    font: bolder 12px/1.2 Tahoma;
    margin: 0;
    min-width: 14px;
    padding: 0 1px;
    position: absolute;
    text-align: center;
}

.notify-bubble:after {
    border-color: lightblue transparent;
    border-style: solid;
    border-width: 3px 3px 0;
    content: "";
    display: block;
    left: 5px;
    position: absolute;
    width: 0;
}

/* Statistic */
#pun-statistic .tc3 {width:15%;}
#pun-statistic .tc-username {width:unset;text-align:left;}
#pun-statistic .tc-title {width:25%;text-align:left;}
#pun-statistic .tc-registered {width:20%;}
#pun-statistic .tc-topic {width:50%;}


/* New profile style
-------------------------------------------------------------*/
#viewprofile td {border:0; padding:0; overflow:hidden}
#profile-name strong {font-size:1.2em}
#profile-left strong {font-weight:bold !important}
#profile-left {width:30%; padding-top:0 !important}
#profile-left li,
#profile-left li * {padding-left:0; margin-left:0}
#profile-right {width:70%}
#profile-right li strong {padding-left:2em}
#profile-signature {padding:1.5em 1.5em 1em 1.5em}
#profile-signature ul {border-style:dashed; border-width:1px 0 0 0; margin:0; padding:1em 1em 0 1em}

/** Video-Button
---------------------------------------------------------------*/
#video-host-list {margin-top:.3em; line-height:1.8em}
#video-area-tinp, #image-area-tinp {margin:.5em 0; padding:.3em; border:#66a solid 1px; height:70px}
#video-area-msg, #image-source-list, #image-area-actions, #spoiler-sels {line-height:2em}

p[class="checkfield"] img, div[class="checkfield"] img, fieldset[class="radiofield"] img {height:auto; max-height:50px}
.pa-fld1 img, .pa-fld2 img, .pa-fld3 img, .pa-fld4 img, .pa-fld5 img, .pa-fld6 img, .pa-fld7 img, .pa-fld8 img, .pa-fld9 img, .pa-fld10 img, .pa-fld11 img, .pa-fld12 img, .pa-fld13 img, .pa-fld14 img, .pa-fld15 img, .pa-fld16 img, .pa-fld17 img, .pa-fld18 img, .pa-fld19 img, .pa-fld20 img {vertical-align:text-top}

/** Image-Button
---------------------------------------------------------------*/
#image-area-tcon-computer {margin:0 0 1em}
#image-area-tcon-computer td {border:none !important; padding:0}
#imageupload-left {width:140px}
#imageupload-right {padding-left:9px !important; background:transparent !important; max-width:380px}
#image-area-actions {text-align:right}
* html #imageQueue {height:expression( this.scrollHeight > 65 ? "66px" :"auto" )} /* sets max-height for IE */
* html #uploaded-images {height:expression( this.scrollHeight > 143 ? "144px" :"auto" )}
#imageQueue {max-height:72px; overflow-y:auto; margin-bottom:10px}
#uploaded-images {max-height:144px; overflow-y:auto}
#uploaded-images img {width:88px; height:66px; border:1px solid; margin-right:4px; cursor:pointer}
#upload-button-container, #image-width, #image-thumb-width, #image-insert-format, #insert-all-images-container {margin-top:10px}
#image-source-list a, #image-area-actions a, #spoiler-sels a {margin-right:15px; cursor:pointer}
#insert-image-tip {margin-top:10px}
#upload-button-container img {cursor:pointer; width:120px; height:30px}
#image_upload_input {position:absolute; z-index:-1; left:-9999px}
#selected-image-width, #selected-thumb-width {width:6em}
#imageupload-left input[type=button] {width:11em; text-align:center}
#upload-button-container input[type=button] {font-weight:bold}
#image-width, #image-thumb-width, #image-insert-format strong {font-size:.9em}
.uploadQueueItem {padding:.8em 1em; border:solid 1px #ddd; border-radius:5px; margin-bottom:.5em; background:rgba(238,238,238,0.22)}
.uploadQueueItem.error {border-color:rgba(255,0,0,0.25); background-color:rgba(255,0,0,0.08)}
.uploadQueueItem .cancel {font-size:20px; font-weight:700; font-family:Arial; float:right; margin:-.25em 0 0}
.uploadQueueItem .cancel a {text-decoration:none; color:#333!important}
.uploadProgress {display:block; width:98%; height:3px; margin:2px 0 0; background:#ddd; position:relative}
.uploadProgressBar {position:relative; background:#00adff; height:3px; width:.1%; transition:width .1s linear}

/** jQuery plugins
---------------------------------------------------------------*/
.tipsy {padding:5px; font-size:11px; font-family:tahoma,helvetica,verdana,arial; position:absolute; z-index:100000;}
.tipsy-inner {padding:5px 8px 4px; margin:-0.2px; background-color:black; color:white; max-width:200px; text-align:center; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px}
.tipsy-arrow {position:absolute; width:0; height:0; border:solid 5px; border-color:transparent transparent black transparent}
.tipsy-n .tipsy-arrow {top:0; left:50%; margin-left:-5px; border-top:0}
.tipsy-nw .tipsy-arrow {top:0; left:11px !important; border-top:0}
.tipsy-ne .tipsy-arrow {top:0; left:auto !important; right:11px; border-top:0}
.tipsy-s .tipsy-arrow {bottom:0; left:50%; margin-left:-5px; border-color:black transparent transparent transparent; border-bottom:0}
.tipsy-sw .tipsy-arrow {bottom:0; left:11px !important; border-color:black transparent transparent transparent; border-bottom:0}
.tipsy-se .tipsy-arrow {bottom:0; left:auto !important; right:11px; border-color:black transparent transparent transparent; border-bottom:0}
.tipsy-e .tipsy-arrow {top:50%; margin-top:-5px; left:auto !important;right:0; border-color:transparent transparent transparent black; border-right:0}
.tipsy-w .tipsy-arrow {top:50%; margin-top:-5px; left:0 !important; border-color:transparent black transparent transparent; border-left:0}
.jGrowl {z-index:9999; color:#fff; font-size:12px; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; position:fixed}
.jGrowl.top-left {left:0; top:0}
.jGrowl.top-right {right:0; top:0}
.jGrowl.bottom-left {left:0; bottom:0}
.jGrowl.bottom-right {right:0; bottom:0}
.jGrowl.center {top:0; width:50%; left:25%}
.jGrowl.center .jGrowl-closer,.jGrowl.center .jGrowl-notification {margin-left:auto; margin-right:auto}
.jGrowl-notification {background-color:#000; opacity:.9; filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); zoom:1; width:250px; padding:10px; margin:10px; text-align:left; display:none; border-radius:5px; min-height:40px}
.jGrowl-notification .ui-state-highlight,.jGrowl-notification .ui-widget-content .ui-state-highlight,.jGrowl-notification .ui-widget-header .ui-state-highlight {border:1px solid #000; background:#000; color:#fff}
.jGrowl-notification .jGrowl-header {font-weight:700; font-size:.85em}
.jGrowl-notification .jGrowl-close {background-color:transparent; color:inherit; border:none; z-index:99; float:right; font-weight:700; font-size:1em; cursor:pointer}
.jGrowl-closer {background-color:#000; opacity:.9; filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); zoom:1; width:250px; padding:10px; margin:10px; display:none; border-radius:5px; padding-top:4px; padding-bottom:4px; cursor:pointer; font-size:.9em; font-weight:700; text-align:center}
.jGrowl-closer .ui-state-highlight,.jGrowl-closer .ui-widget-content .ui-state-highlight,.jGrowl-closer .ui-widget-header .ui-state-highlight {border:1px solid #000; background:#000; color:#fff}
@media print {.jGrowl {display:none}}
.pun-modal {position:fixed; width:100%; height:100%; top:0; left:0; bottom:0; z-index:100000}
.pun-modal .modal-bg {position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.5); cursor:pointer; z-index:110000}
.pun-modal .modal-inner {width:700px; max-width:94%; height:auto; max-height:44em; max-height:62vh; margin:12% auto 0; margin-top:20vh; box-shadow:0 0 14px rgba(0,0,0,.3); position:relative; z-index:120000; overflow:hidden}
.pun-modal h2,.pun-modal h1 {max-width:700px; margin:0!important}
.pun-modal .container {padding:.6em 1em; max-height:40em; max-height:54vh; overflow:auto}
.pun-modal .container .container {max-height:unset}
.pun-modal .closer {position:absolute; font-size:1.5em!important; line-height:.8em; right:.4em; padding:.3em!important; margin:-.3em!important; cursor:pointer; background:none 0 transparent!important}
.noscroll {overflow:hidden!important}

/** Social icons
---------------------------------------------------------------*/
.social {background-image:url('/i/social.1.png'); background-repeat:no-repeat; float:left; display:block; margin:3px 5px; width:16px; height:16px}
.social-facebook {background-position:0 0}
.social-google {background-position:-26px 0}
.social-mailru {background-position:-52px 0}
.social-odnoklassniki {background-position:-78px 0}
.social-twitter {background-position:-104px 0}
.social-vkontakte {background-position:-130px 0}
.social-yandex {background-position:-156px 0}
.social-youtube {background-position:-182px 0}
.social-instagram {background-position:-312px 0}
.social-linkedin {background-position:-338px 0}
.social-reddit {background-position:-442px 0}
.social-share {background-position:-468px 0}
.social-tumblr {background-position:-546px 0}

.topic a.sharelink, .topic a.translatelink {float:right; margin-left:1em}
.topic a.translatelink.translation-busy {cursor: not-allowed; animation:blinkColor .7s linear infinite}
.post-share-tip {width:164px; height:124px}
.post-share-legend {background:rgba(255,255,255,0.2); text-align:center}
.post-share-tip span {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; color:#fff; font-size:13px; line-height:27px}
.post-share-icons {padding:10px}
.post-share-tip a {margin: 5px 10px}

/** Avatars
---------------------------------------------------------------*/
.punbb .user-avatar {float:left; position:relative; height:36px; width:36px; margin:1px 9px 2px 0px}
#pun-index .user-avatar {height:40px; vertical-align:middle}
.punbb .user-avatar a {padding:0!important; background:none transparent!important}
.punbb .user-avatar a::after {content:none!important}
.punbb .user-avatar .avatar-image {border-radius:50%; height:36px; width:36px; opacity:0.85; background-position:center center; background-size:cover; background-repeat:no-repeat; float:left}
.punbb .user-avatar .avatar-image:hover {opacity:1}
.punbb .user-avatar .isonline {width:8px; height:8px; border-radius:50%; display:block; position:absolute; top:2px; right:0px; animation:blinkColor .9s linear infinite; -moz-animation:blinkColor .9s linear infinite; -webkit-animation:blinkColor .9s linear infinite; background:#8ac176; z-index:100}
@keyframes blinkColor {0% {opacity:1.0} 50% {opacity:.3} 100% {opacity:1.0}}
@-moz-keyframes blinkColor {0% {opacity:1.0} 50% {opacity:.3} 100% {opacity:1.0}}
@-webkit-keyframes blinkColor {0% {opacity:1.0} 50% {opacity:.3} 100% {opacity:1.0}}

/** Flags
---------------------------------------------------------------*/
.punbb .flag-i {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
  margin-right: 1em;
}
.punbb .pa-author .flag-i {
  margin-right: 0.5em;
}
.punbb .flag-i:before {
  content: '\00a0';
}

/** Font icons
---------------------------------------------------------------*/
@font-face {
  font-family: 'mybb';
  src: url('./res/font/icons.woff2?3') format('woff2'),
       url('./res/font/icons.woff?3') format('woff'),
       url('./res/font/icons.ttf') format('truetype'),
       url('./res/font/icons.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
i[class^="icons-"]:before, i[class*=" icons-"]:before, .i[class*=" icons-"]:before, .i[class^="icons-"] {
  font-family: "mybb";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icons-search:before { content: '\e095'; } /* '' */
.icons-font:before { content: '\e800'; } /* '' */
.icons-size:before { content: '\e801'; } /* '' */
.icons-video:before { content: '\e802'; } /* '' */
.icons-image:before { content: '\e803'; } /* '' */
.icons-plus:before { content: '\e804'; } /* '' */
.icons-cancel:before { content: '\e805'; } /* '' */
.icons-minus:before { content: '\e806'; } /* '' */
.icons-star:before { content: '\e807'; } /* '' */
.icons-cog:before { content: '\e808'; } /* '' */
.icons-play:before { content: '\e809'; } /* '' */
.icons-pause:before { content: '\e80a'; } /* '' */
.icons-fast-fw:before { content: '\e80b'; } /* '' */
.icons-fast-bw:before { content: '\e80c'; } /* '' */
.icons-code:before { content: '\e80d'; } /* '' */
.icons-table:before { content: '\e80e'; } /* '' */
.icons-spoiler:before { content: '\e80f'; } /* '' */
.icons-calendar:before { content: '\e810'; } /* '' */
.icons-pencil:before { content: '\e811'; } /* '' */
.icons-hide:before { content: '\e812'; } /* '' */
.icons-list:before { content: '\e813'; } /* '' */
.icons-indent-left:before { content: '\e814'; } /* '' */
.icons-indent-right:before { content: '\e815'; } /* '' */
.icons-trash-empty:before { content: '\e816'; } /* '' */
.icons-off:before { content: '\e817'; } /* '' */
.icons-heart:before { content: '\e818'; } /* '' */
.icons-user:before { content: '\e819'; } /* '' */
.icons-left:before { content: '\e81a'; } /* '' */
.icons-center:before { content: '\e81b'; } /* '' */
.icons-right:before { content: '\e81c'; } /* '' */
.icons-italic:before { content: '\e81d'; } /* '' */
.icons-bold:before { content: '\e81e'; } /* '' */
.icons-comment:before { content: '\e81f'; } /* '' */
.icons-resize-full:before { content: '\e820'; } /* '' */
.icons-resize-small:before { content: '\e821'; } /* '' */
.icons-quote:before { content: '\e822'; } /* '' */
.icons-share:before { content: '\e823'; } /* '' */
.icons-smile:before { content: '\e824'; } /* '' */
.icons-youtube:before { content: '\e825'; } /* '' */
.icons-link:before { content: '\e826'; } /* '' */
.icons-volume-off:before { content: '\e827'; } /* '' */
.icons-volume-down:before { content: '\e828'; } /* '' */
.icons-volume:before { content: '\e829'; } /* '' */
.icons-volume-up:before { content: '\e82a'; } /* '' */
.icons-addition:before { content: '\e82b'; } /* '' */
.icons-infinity:before { content: '\e82c'; } /* '' */
.icons-facebook:before { content: '\f09a'; } /* '' */
.icons-strike:before { content: '\f0cc'; } /* '' */
.icons-underline:before { content: '\f0cd'; } /* '' */
.icons-mail:before { content: '\f0e0'; } /* '' */
.icons-keyboard:before { content: '\f11c'; } /* '' */
.icons-help:before { content: '\f128'; } /* '' */
.icons-vkontakte:before { content: '\f189'; } /* '' */
.icons-color:before { content: '\f1fb'; } /* '' */
.icons-odnoklassniki:before { content: '\f263'; } /* '' */
.icons-vimeo:before { content: '\f27d'; } /* '' */

.icons-cancel-outline:before { content: '\e82d'; } /* '' */
.icons-ok-outline:before { content: '\e82e'; } /* '' */




*{
    scrollbar-width: thin;               /* auto | thin | none */
    scrollbar-color: var(--color-secondary) var(--color-bg-darker);
}

::-webkit-scrollbar {
    width: 8px;
}

/*  () */
::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
}

/*  */
::-webkit-scrollbar-thumb {
    background: var(--color-text);
    border-radius: 4px;
}

/*    */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-heading);
}

*{
    scrollbar-width: thin;               /* auto | thin | none */
    scrollbar-color: var(--color-text) var(--color-bg-darker);
}



form#post {
    align-items: center;
    width: 100%;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 0px 0px 6px 2px;
    box-shadow: inset 0 0 5px #1e2222;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

div#post-form {
    align-items: center;
    width: 100%;
    color: var(--color-text);
    box-shadow: rgb(30, 34, 34) 0px 0px 5px inset;
    box-sizing: border-box;
    border: 1px solid var(--color-border);
    border-radius: 6px 2px;
    transition: box-shadow 0.2s, transform 0.1s;
}
