/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 Import */
@import url(style_cs.1751553949.css);

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.7.0/css/pro.min.css');

@font-face {
    font-family: 'Bona Nova SC';
    src: url('https://forumstatic.ru/files/001c/53/80/66264.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bona Nova SC';
    src: url('https://forumstatic.ru/files/001c/53/80/37965.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'El Messiri';
    src: url('https://forumstatic.ru/files/001c/70/4b/62832.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Spectral';
    src: url('https://forumstatic.ru/files/001c/5a/94/29963.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Spectral';
    src: url('https://forumstatic.ru/files/001c/5a/94/20442.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* A1.2 Variables */  
:root {
    --back: url(https://forumstatic.ru/files/001c/70/4b/41784.png)repeat top;
    /*--back: url(https://forumstatic.ru/files/001c/70/4b/34465.png)no-repeat fixed center / cover;*/
    --bests: url(https://forumstatic.ru/files/001c/70/4b/73367.png);
    --new: url(https://i.imgur.com/nZ8N0Od.png)no-repeat;
    --old-icon: url(https://forumstatic.ru/files/001c/70/4b/43000.png);
    --new-icon: url(https://forumstatic.ru/files/001c/70/4b/13859.png);
    --closed-icon: url(https://forumstatic.ru/files/001c/70/4b/97322.png);
    --imp-icon: url(https://forumstatic.ru/files/001c/70/4b/38773.png);
    --profile: url(https://forumstatic.ru/files/001c/70/4b/28976.png)no-repeat;
    --logo: url(https://forumstatic.ru/files/001c/70/4b/60253.png);

    --main-font: 'Spectral';
    --dec-font: 'El Messiri';

    --anim: 0.5s ease all;
    
    --back-color: #132512;
    --main-color: #E7D7BA;
    --border-color: #CB9B15;
    --forum-color: rgba(218, 193, 148, 0.4);
    --forum-hover-color: rgba(218, 193, 148, 0.8);
    --profile-color: #0F210A;
    --profile-hover-color: #0f410a;
    
    --links-color: #4B7B0D;
    --links-hover-color: #7EA64B;
    --text-color: #3d3e46;
    --field-color: #FbEeD5; 
    
    --br-s: 0px;
    --br-m: 0px;
    --br-l: 0px;
    --br-xl: 0px;
    
    --profile-stars: url(https://forumupload.ru/uploads/001b/2f/0f/6/343350.png)no-repeat;
    --profile-sunset: url(https://forumupload.ru/uploads/001b/2f/0f/6/731263.png)no-repeat;
    --profile-flowers: url(https://forumupload.ru/uploads/001b/2f/0f/6/578479.png)no-repeat;
    --profile-daisies: url(https://forumupload.ru/uploads/001b/2f/0f/6/297771.png)no-repeat;
    --profile-moon: url(https://forumupload.ru/uploads/001b/2f/0f/6/172628.png)no-repeat;
    --profile-milkyway: url(https://forumupload.ru/uploads/001b/2f/0f/6/447408.png)no-repeat;
    --profile-city: url(https://forumstatic.ru/files/001b/2f/0f/51098.png)no-repeat;
    --profile-ship: url(https://forumstatic.ru/files/001b/2f/0f/98668.png)no-repeat;
}

body.circle {
    --br-s: 6px;
    --br-m: 12px;
    --br-l: 24px;
    --br-xl: 32px;
}

body.red {
    --back: url(https://forumstatic.ru/files/001c/70/4b/82022.png)repeat top;
    --logo: url(https://forumstatic.ru/files/001c/70/4b/50284.png)no-repeat;
    
    --main-color: #F2EBE3;
    --border-color: #E16F5D;
    --profile-color: #161208;
    --links-color: #4B7B0D;
    --forum-color: rgba(240, 204, 190, 0.25);
    --forum-hover-color: rgba(240, 204, 190, 0.5);
    --field-color: #fef7ef;
    --profile-color: #351c11;
    --profile-hover-color: #651C11;
}
  

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {
    margin: 0;
    padding: 0;
}

/* 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 */
#pun-index .main table thead {
    display: none;
}

/* A2.7 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
    margin: 0.3em;
    border-radius: 50%;
    appearance: none;
    width: 14px;
    height: 14px;
    padding: 2px;
}

.checkfield input[type="checkbox"]:checked, .radiofield input[type="radio"]:checked {
    background: var(--border-color);
    background-clip: content-box;
}

/* A2.8 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
    height: 1.8em;
    vertical-align: middle
}


/* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
    font-size: 100%;
}

/* A3.2 */
.punbb {
    font: normal 68.75% verdana, arial, helvetica, sans-serif;
}

/* A3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 1.1em verdana, arial, helvetica, sans-serif;
    background: var(--field-color);
    color: var(--text-color);
    border: var(--border-color) 1px solid;
    border-radius: var(--br-s); 
    padding: 4px;
    margin-top: 2px;
}

/* A3.5 */
.punbb input.button:hover {
    transition: var(--anim);
    background: FIXME;
    color: FIXME;
}

/* A3.6 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
    font-size: 1em;
    font-weight: normal;
}

/* A3.7 */
.punbb pre {
    font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
}

/* A3.8 */
.punbb address, .punbb em {
    font-style: normal
}

/* A3.9 */
.punbb .post-content em {
    font-style: italic
}

/* A3.10 */
.punbb .post-content em.bbuline {
    font-style: normal;
    text-decoration: underline;
}

/* A3.11 */
a {
    text-decoration: none;
    color: var(--links-color);
    transition: var(--anim);
}

/* A3.12 */
a:hover {
    color: var(--links-hover-color);
}

/* A3.13 */
.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*/
    display: none;
}


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
body {
    background: var(--back), linear-gradient(var(--back-color), var(--back-color));
}

/* A5.2 */
#pun {
    margin: 0 auto 20px;
    width: 1110px; 
}

/* A5.3 */
.punbb {
    height: auto;
    margin-top: 230px;
    margin-bottom: 100px;
    width: 1038px;
    position: relative;
    padding: 0 36px;
    background: var(--main-color);
    border-radius: var(--br-xl);
}

/* A5.4 */
#pun-redirect, #pun-maint {
    margin: 50px 20% 12px 20%;
    width: auto;
    float: none;
}

/* A5.5 */
.punbb .forum, .punbb .modmenu {
    margin: 0;
}

/* A5.6 */
#pun-main h1, #pun-debug h2 {
    font-family: var(--dec-font);
    font-size: 18px;
    line-height: 18px;
    text-transform: uppercase;
    color: var(--border-color);
    text-align: center;
    font-weight: bold;
    width: 800px;
    max-width: 95%;
    margin: 0 auto 8px;
    padding: 12px 0 9px;
    background: linear-gradient(180deg, transparent 0 50%, var(--border-color) 50% calc(50% + 1px), transparent calc(50% + 1px) 100%);
}

/* A5.7 */
#pun-main h1 span, #pun-debug h2 span{
    background: var(--main-color);
    padding: 0 24px;
}

/* A5.8 */
#pun-post #pun-main h2 {
    text-align: left;
    color: FIXME;
    font-family: var(--dec-font);
    font-size: 20px;
    margin: 0 10px 5px;
    border-bottom: FIXME 2px solid;
}

/* A5.9 */
#pun-viewtopic .modmenu .container {
    padding: 5px 12px;
}

/* A5.10 */
#pun-viewtopic #topic-modmenu {
    margin-bottom: 10px;
}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    text-align: justify;
}

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    border-top: 1px solid FIXME;
    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 {
    padding: 16px 16px 0;
    overflow: hidden;
}

/* B1.7 */
.punbb .post-content .scrollbox {
    width: 100%;
    overflow: auto;
    margin-bottom: 6px;
}

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 0 0 1em;
    background: var(--forum-color);
    border: var(--border-color) 1px solid;
    border-radius: var(--br-m);
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    font-family: var(--dec-font);
    font-size: 140%;
    line-height: 140%;
    font-weight: bold;
    display: block;
    background: linear-gradient(var(--forum-color), var(--forum-color)), url(https://i.imgur.com/l6oFTYu.png)no-repeat top -99px right -50px/ 510px;
    padding: 8px 16px 4px;
    font-style: normal;
    margin-top: 8px;
    border: var(--border-color) solid;
    border-width: 1px 0;
}

/* B1.10 */
.punbb .post-content .spoiler-box {
    padding: 1em;
}

.post-content .spoiler-box > div {
    background: none!important;
    padding-left: 0!important;
    display: flex;
    gap: 10px;
    align-items: center;
}

.post-content .spoiler-box > div:before {
    content: '\f078';
}

.post-content .spoiler-box > div.visible:before {
    content: '\f077';
}

.post-content .spoiler-box > div:before {
    color: var(--links-color);
    border: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    transition: var(--anim);
    font-family: 'Font Awesome 6 Pro';
    width: 18px;
}



/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  border-color: var(--border-color);
  margin: 0 0 1.1em 0;
  background: var(--forum-color);
  }

/* 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 {
    font-size: 14px;
    height: 26px;
    font-family: var(--main-font);
    margin: 8px 0;
    line-height: 26px;
    color: var(--text-color);
}

/* B3.2 */
.multipage {
    margin-top: 0;
}

/* B3.3 */
.linkst .pagelink {
    display: inline-block;
    width: 44%;
}

/* B3.4 */
.linkst .postlink {
    text-align: right;
    font-weight: bold;
    float: right;
    display: inline-block;
    width: 55%!important;
}

/* B3.5 */
.postlink.long a {
    font-family: var(--main-font);
}

/* B3.6 */
.postlink.long a:hover {
}

/* B3.7 */
.punbb .linksb {
    padding: 10px 0;
    font-size: 14px;
    font-family: var(--main-font);
    line-height: 20px;
    min-height: 20px;
    color: var(--text-color);
    margin: 0;
}

/* B3.8 */
#pun-viewtopic.punbb .linksb {
    border: none;
}

/* B3.9 */
.linksb .pagelink {
    display: inline-block;
    width: 44%;
    text-align: left;
}

/* B3.10 */
.linksb .postlink {
    font-weight: bold;
    text-align: right;
    display: inline-block;
    width: 55%!important;
    float: right;
}

/* B3.11 */
.subscribelink {
    clear:both;
    text-align: right;
}


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
    padding: 15px 20px;
}

#pun-messages .formal .container {
    padding-left: 18.6em;
}

#pun-userlist .formal .container, #pun-search .formal .container, #pun-profile .formal .container, #pun-login .formal .container, #pun-register .formal .container {
    padding: 0px;
}


/* C1.2 */
.punbb .formsubmit, .punbb .submitfield {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span, .punbb input.button, .punbb input[name=ban] {
    margin: 0;
    border: none;
    padding: 8px 20px 6px;
    font-size: 13px;
    line-height: 18px;
    font-family: var(--dec-font);
    cursor: pointer;
    transition: var(--anim);
    background: var(--border-color);
    color: white;
    border-radius: var(--br-s); 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

/* C1.4 */
.punbb .formsubmit input:hover, .punbb .formsubmit a:hover, .punbb .formsubmit span:hover, .punbb input.button:hover, .punbb input[name=ban]:hover {
    transition: var(--anim);
    background: var(--links-hover-color);
}

/* C1.5 */
.punbb fieldset {
    border-style: none;
    padding: 0;
    margin: 0;
}

/* C1.6 */
.punbb fieldset legend {
    padding: 0;
    margin: 0;
    font-size: 1.5em;
    font-family: var(--dec-font);
    color: var(--text-color);
}

#pun-viewtopic fieldset legend, #pun-post fieldset legend {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    line-height: 14px;
}

#pun-viewtopic fieldset legend span {
    padding-top: 2px;
}

/* C1.7 */
.punbb fieldset legend span {
    padding: 0;
    margin: 0;
}

/* C1.8 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
}

/* C1.9 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.10 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
  margin-top: 8px;
  }

/* C1.11 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.12 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.13 */
.punbb .datafield br {
  display: none
  }

/* C1.14 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.15 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.16 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.17 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* C1.18 */
.punbb .hashelp {
  position: relative;
  }

/* C1.19 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* C1.20 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.21 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.22 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }

/* C1.23 */
#post-form {
    margin: 15px 0 0;
    background: var(--forum-color);
    padding: 32px;
    border: var(--border-color) 1px solid;
    color: var(--text-color);
    border-radius: var(--br-l);
}

/* C1.24 */
#post-form h2 span {
    font-size: 16px;
    line-height: 16px;
    font-family: var(--dec-font);
}

/* C1.25 */
#post-form .container {
    padding: 10px 0;
    margin-top: 0;
}

/* C1.26 */
#post-form .container legend small {
    padding: 6px 10px 4px;
    margin: 0;
    background: var(--field-color);
    border: var(--border-color) 1px solid;
    border-radius: var(--br-m);
    font-family: var(--main-font);
    font-size: 12px;
}

/* C1.27 */
#post-form .container #form-buttons {
    background: var(--field-color);
    border-radius: var(--br-m);
    border: var(--border-color) 1px solid;
}

/* C1.28 */
#tags .container {
    top: 36px !important;
    z-index: 2;
    padding: 5px 10px;
    background: var(--field-color);
    border: var(--border-color) 1px solid;
    border-radius: 0 0 var(--br-s) var(--br-s); 
    max-width: 100%;
    max-height: 230px;
    overflow: auto;
}

/* C1.29 */
#main-reply {
    margin: 0;
    border: none;
    background: var(--field-color);
    border-radius: var(--br-m);
    border: var(--border-color) 1px solid;
    padding: 10px;
    box-sizing: border-box;
    clip-path: border-box;
}


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  text-align: left;
  width: 50%;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

.punbb .main .tc3.registered {
    width: 15%;
}

/* C2.3 */
.punbb .main .tcr {
    text-align: right;
    width: 30%;
}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-modviewforum .main .tcl {
  width: 35%
  }

/* 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 {

  }

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist, #pun-index #pun-main .tclcon br {
  display: none!important;
  }

/* C2.11 */
.punbb .main td {
    border-style: none;
    /*padding: 0.8em 1em;*/
}

/* C2.12 */
.punbb .main th {
  border: none;
  }

/* 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.15 */
#pun-viewforum table tbody tr, #pun-viewforum table thead tr, #pun-searchtopics table tbody tr, #pun-searchtopics table thead tr {
    font-family: var(--main-font);
    background: var(--forum-color);
    display: flex;
    width: 100%;
    margin: 0 0 12px;
    align-items: center;
    padding: 8px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 15px;
    text-transform: lowercase;
    color: var(--text-color);
    border-radius: var(--br-m);
    gap: 10px;
}

/* C2.16 */
#pun-viewforum table thead tr, #pun-searchtopics table thead tr {
    padding: 4px 8px;
    border: none;
}

/* C2.17 */
#pun-viewforum table tbody tr.tr-divider {
    font-family: var(--dec-font);
    font-size: 18px;
    line-height: 18px;
    color: var(--border-color);
    border: none;
    width: 600px;
    justify-content: center;
    margin: 18px auto 10px;
    padding: 2px 0 0;
    background: linear-gradient(180deg, transparent 0 50%, var(--border-color) 50% calc(50% + 1px), transparent calc(50% + 1px) 100%);
}

#pun-viewforum table tbody tr.tr-divider span {
    background: var(--main-color);
    padding: 0 12px
}

/* C2.18 */
#pun-viewforum table tbody tr .tcl .intd, #pun-searchtopics table tbody tr .tcl .intd {
    display: grid;
    grid-template-columns: 35px auto;
    align-items: center;
    gap: 8px;
}

#pun-viewforum table tbody .tcl .icon, #pun-searchtopics table tbody .tcl .icon {
    width: 35px;
    height: 35px;
    background: var(--old-icon);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--br-s);
}

#pun-viewforum table tbody .iclosed .tcl .icon, #pun-searchtopics table tbody .iclosed .tcl .icon {
    background-image: var(--closed-icon);
}

#pun-viewforum table tbody .isticky .tcl .icon, #pun-searchtopics table tbody .isticky .tcl .icon {
    background-image: var(--imp-icon);
}

#pun-viewforum table tbody .inew .tcl .icon, #pun-searchtopics table tbody .inew .tcl .icon {
    background-image: var(--new-icon);
}

/* C2.19 */
#pun-viewforum table tbody tr .tcr, #pun-searchtopics table tbody tr .tcr {
    display: grid;
    grid-template-columns: auto 50px;
    grid-template-rows: 50% 50%;
}

/* C2.20 */
#pun-viewforum table tbody tr .tcr .user-avatar, #pun-searchtopics table tbody tr .tcr .user-avatar {
    grid-area: 1 / 2 / 3 / 3;
    margin: auto;
    border-radius: 0px;
}

/* C2.21 */
#pun-viewforum table tbody tr .tcr .user-avatar .avatar-image, #pun-searchtopics table tbody tr .tcr .user-avatar .avatar-image {
    border-radius: var(--br-s);
    border: var(--border-color) 1px solid;
}

/* C2.22 */
#pun-viewforum table tbody tr .tcr .user-avatar .isonline, #pun-searchtopics table tbody tr .tcr .user-avatar .isonline {
    top: -2px;
    right: -4px;
    animation: none;
    background: var(--border-color);
    width: fit-content;
    justify-self: end;
    width: 8px;
    height: 8px;
    z-index: 20;
}

/* C2.23 */
#pun-viewforum table tbody tr .tcr a, #pun-searchtopics table tbody tr .tcr a {
    grid-area: 1 / 1 / 2 / 2;
    align-self: end;
}

/* C2.24 */
#pun-viewforum table tbody tr .tcr .byuser {
    grid-area: 2 / 1 / 3 / 2;
    width: fit-content;
    justify-self: end;
}

/* C2.28 */
.punbb .main .post-content td {
    border: none!important;
}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post {
    margin-top: -60px;
    padding-top: 60px;
    margin-bottom: 32px;
}

/* C3.2 */
.punbb .post h3 {
    background: var(--forum-color);
    border: var(--border-color) 1px solid;
    min-height: 14px;
    line-height: 14px;
    font-family: var(--dec-font);
    padding: 12px 16px 8px;
    margin-left: 238px;
    font-size: 14px;
    text-transform: lowercase;
    font-weight: bold;
    border-radius: var(--br-m);
}

.punbb .post h3 span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

/* C3.3 */
#pun-searchposts #pun-main .linkst, #pun-searchposts #pun-main .linksb {
    margin-left: 20px;
    margin-right: 20px;
}

/* C3.6 */
#pun-searchposts .post h3 span a {
    text-transform: lowercase;
}

/* C3.7 */
.punbb .post h3 span a.sharelink {
    display: none;
}

/* C3.8 */
.punbb .post h3 strong {
  float: right;
  font-weight: bold;
  color: var(--text-color);
  }

/* C3.9 */  
.punbb .post .container {
    padding-top: 16px;
}

/* C3.10 */
.punbb .post .post-author {
    float: left;
    width: 220px;
    text-align: center;
    font-family: var(--main-font);
    background: linear-gradient(transparent 0 100px, var(--profile-color) 250px), var(--profile);
    background-size: contain;
    margin-top: -52px;
    border: var(--border-color) 1px solid;
    border-radius: var(--br-m);
}

/* C3.11 */
.punbb .post[data-user-id="1"] .post-author {
}

/* C3.12 */
#pun-searchposts .post .post-author, #pun-post .post .post-author {
    background: var(--profile-color);
    color: var(--main-color);
    /* border-radius: 20px; */
    font-family: var(--dec-font);
    font-size: 16px;
    font-weight: bold;
    padding: 0 16px 10px;
    box-sizing: border-box;
    border: var(--border-color) 1px solid;
}

#pun-searchposts .post .post-author .pa-author {
    text-align: center;
    background: none;
    padding: 2px 0;
    margin: 0;
}

#pun-searchposts .post .post-author .pa-replies {
    font-size: 13px;
}

#pun-searchposts .post h3 span {
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
}

#pun-searchposts .post h3 span strong {
    order: 10;
    margin-left: auto;
}

/* C3.13 */
.punbb .post .post-author ul {
    padding: 0;
    line-height: 140%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    color: var(--main-color);
    margin-top: 20px;
}

/* C3.14 */
.punbb .post .post-author ul .pa-fld3 {
    cursor: pointer;
    flex-basis: 100%;
    margin-top: -13px;
}

/* C3.15 */
.punbb ul .pa-fld3 img, .punbb ul #pa-fld3 img {
    width: 16px;
    height: 16px;
    background: var(--profile-color);
    padding: 5px;
    border-radius: 50%;
}

/* C3.16 */
.punbb .post .post-author ul .pa-fld3 img:hover {
    transform: rotate(360deg);
    transition-duration: 1s;
}

/* C3.17 */
.punbb .post .post-author ul .pa-author {
    text-decoration: none;
    padding: 8px 10px 4px;
    width: 200px;
    font-size: 16px;
    font-family: var(--dec-font);
    background: var(--profile-color);
}

/* C3.18 */
.punbb .post .post-author ul .pa-author, .punbb .post .post-author ul .pa-author a, .punbb .post .post-author ul .pa-fld1 .lzname a {
    color: var(--border-color);
}

.punbb .post .post-author ul .pa-author a:hover, .punbb .post .post-author ul .pa-fld1 .lzname a:hover {
    color: var(--links-color);
}

/* C3.19 */
.punbb .post .post-author ul .pa-title {
    font-family: var(--dec-font);
    font-size: 12px;
    line-height: 16px;
    width: 200px;
    padding: 0 10px 6px;
    background: var(--profile-color);
    margin-top: -1px;
}

.punbb .post .post-author ul .pa-avatar {
    flex-basis: 100%;
    margin: 8px auto;
}

/* C3.20 */
.punbb .post .post-author ul .pa-avatar img {
    max-width: 180px;
    border: var(--border-color) solid 1px;
    border-radius: var(--br-m);
}

/* C3.21 */
.punbb .post .post-author ul .pa-fld2 {
    font-family: var(--dec-font);
    text-transform: uppercase;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    margin: 0 10px;
    flex-basis: 100%;
}

/* C3.22 */
.punbb .post .post-author ul .pa-fld1 {
    margin: 8px 0 0;
    border: var(--border-color) solid;
    border-width: 1px 0;
    flex-basis: 100%;
    padding: 10px;
}

.punbb .post .post-author ul .pa-fld1 .lzname {
    font-size: 13px;
    text-transform: uppercase;
    font-family: var(--dec-font);
    font-weight: bold;
    line-height: 16px;
}

/* C3.24 */
.punbb .post .post-author ul .pa-fld1 .lztext {
    font-family: var(--main-font);
    font-size: 12px;
    line-height: 18px;
    text-transform: lowercase;
    margin-top: 5px;
}

.punbb .post .post-author ul .pa-fld1 .lztext a, #pa-fld1 .lztext a {
    font-weight: bold;
    color: var(--border-color);
}

.punbb .post .post-author ul .pa-fld1 .lztext a:hover, #pa-fld1 .lztext a:hover {
    color: var(--links-color);
}

/* C3.25 */
.punbb .post .post-author ul .pa-fld6 {
    background: var(--profile) no-repeat bottom center;
    font-family: var(--dec-font);
    color: var(--field-color);
    text-transform: uppercase;
    padding: 5px 0;
    text-align: center;
    -webkit-text-size-adjust: 100%;
    width: 220px;
    margin: 0;
    border-radius: 0 0 var(--br-m) var(--br-m);
}

.punbb .post .post-author ul .pa-fld6:has(.pl) {
    background: none;
    padding: 0;
    margin-top: -18px;
}

/* C3.26 */
.punbb .post .post-author ul .pa-fld6 img {
    width: 34px;
    height: 34px;
    float: left;
    margin: 0 3px 0 6px;
    object-fit: contain;
}

.punbb .post .post-author ul .pa-fld6 img.pl {
    width: 100%;
    height: 100%;
    margin: 0;
}

.punbb .post .post-author ul .pa-fld6 .plup {
    font-size: 15px;
    line-height: 18px;
    -webkit-text-size-adjust: 100%;
}

.punbb .post .post-author ul .pa-fld6 .pldown {
    font-size: 10px;
    line-height: 13px;
    -webkit-text-size-adjust: 100%;
}

/* C3.27 */
.pa-posts, .pa-respect, .pa-fld5, .pa-fld4 {
    display: flex;
    font-size: 12px;
    line-height: 18px;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--dec-font);
    margin: 8px 0;
    justify-content: center;
    width: 25%;
}

/* C3.28 */
.pa-posts span.fld-name, .pa-respect span.fld-name, .pa-fld5 span.fld-name, .pa-fld4 span.fld-name {
    font-size: 0;
    line-height: 0;
    flex-basis: 100%;
}

/* C3.29 */
.pa-posts span.fld-name:before, .pa-respect span.fld-name a:before, .pa-respect span.fld-name:before, .pa-fld5 span.fld-name:before, .pa-fld4 span.fld-name:before {
    font-family: 'Font Awesome 6 Pro';
    font-size: 14px;
    line-height: 18px;
}

/* C3.30 */
.pa-posts span.fld-name:before {
    content: '\f27a';
}

/* C3.31 */
.pa-respect span.fld-name a:before {
    content: '\f004';
}

/* C3.32 */
.isguest .pa-respect span.fld-name:before {
    content: '\f004';
}

.pa-respect a {
    color: var(--border-color);
}

.pa-respect a:hover {
    color: var(--links-color);
}

.pa-respect a[href*="relation.php"]:before {
    content: '+';
}

.pa-respect a[href*="relation.php"] {
    background: var(--border-color);
    color: var(--field-color);
    border: none;
    border-radius: 2px;
    font-size: 10px;
    margin: 0px 3px 2px 1px;
    display: block;
    width: 12px;
    height: 12px;
    line-height: 12px;
    text-align: center;
}

.pa-respect a[href*="relation.php"]:hover {
    background: var(--links-color);
}

.pa-respect a[href*="relation.php"] img {
    display: none;
}

/* C3.33 */
.pa-fld5 span.fld-name:before {
    content: '\f3a5';
}

.pa-fld4 span.fld-name:before {
    content: '\f52d';
}

/* C3.34 */
/*.post-author .indOnline {*/
/*    height: 5px;*/
/*    border-bottom: var(--new-color) 8px solid;*/
/*    width: 208px;*/
/*    position: relative;*/
/*    margin: -2px auto 0;*/
/*    opacity: 0.7;*/
/*    border-radius: 0 0 20px 20px;*/
/*}*/

/* C3.35 */
.punbb .post .post-author .pa-ip {
    text-align: center;
    width: 220px;
}

/* C3.36 */
.pa-online {
    display: none;
}

/* C3.37 */
.punbb .post-body {
    margin-left: 238px;
    margin-bottom: 20px;
}

/* C3.38 */
.punbb .post-box {
  padding: 0;
  }

/* C3.39 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.40 */
.punbb .post-links {
    
}

/* C3.41 */
.punbb .post-links ul {
    line-height: 24px;
    text-align: right;
    margin-top: 12px;
}

/* C3.42 */
.punbb .post-links li {
    display: inline;
    padding: 0 20px;
}

.punbb .post-links li:first-child {
    padding-left: 0;
}

.punbb .post-links li:last-child {
    padding-right: 0;
}

/* C3.43 */
.punbb .post-links li a {
    font-family: var(--dec-font);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* C3.44 */
.punbb .post-links li.pl-share {
    display: none;
}

.punbb .post-links li a .material-symbols-outlined {
    display: none;
}

/* C3.45 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.46 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
    padding: 5px 0px;
    text-align: right;
    font-family: var(--main-font);
    font-size: 12px;
    color: var(--text-color);
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
    height: 20px;
    line-height: 20px;
}

/* C4.3 */
.punbb .modmenu .container strong {
    float: left;
}

/* C4.4 */
.punbb .modmenu input {
    margin-left: 1em;
}

/* C4.5 */
.punbb .modmenu:not(#topic-users-in) .container span {
    display: none;
}

/* C4.6 */
.punbb #topic-users-in {
    background: var(--forum-color);
    border: var(--border-color) solid;
    border-width: 1px;
    border-radius: var(--br-m);
}


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 0
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }

/* C5.3 */
#pun-messages table tr {
    display: flex;
    margin: 0 auto 8px;
    align-items: center;
    padding: 5px 10px 5px 10px;
    background: var(--forum-color);
    border-radius: 3px;
}

#pun-messages table tr.inew {
    background: var(--forum-hover-color);
}

/* C5.4 */
#pun-messages table thead tr {
    background: none;
}

/* C5.5 */
#pun-messages table tr .tclcon {
    margin-left: 15px;
}

/* C5.6 */
#pun-messages table tr .tc2 {
    display: flex;
    align-items: center;
    justify-content: start;
    overflow: visible!important;
}

/* C5.6 */
#pun-messages .post .container {
    margin-top: 10px!important;
}

/* C5.7 */
#pun-messages #form-buttons tr {
    display: table-row;
}

/* C5.8 */
#pun-messages #form-buttons table tr {
    width: auto;
}



/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#pun-profile #profile .container {
  margin-left: 18.6em!important;
  }

/* 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 {
  /*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 7px 14px;
    font-size: 1.3em;
    color: var(--back-color);
    font-family: var(--dec-font);
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 18em;
  margin-bottom: 8px;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.7em 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.7em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }

/* C6.12 */
#profile-left {
    text-align: center;
    font-family: var(--main-font);
    background: linear-gradient(transparent 0 100px, var(--profile-color) 250px), var(--profile);
    background-size: contain;
    border-radius: var(--br-l);
    border: var(--border-color) 1px solid !important;
    color: var(--main-color);
}

/* C6.13 */
#profile-left li, #profile-left li strong {
    padding: 0;
    margin: 0;
}

/* C6.14 */
#profile-left #profile-name {
    font-size: 15px;
    line-height: 18px;
    padding: 10px 10px 0px;
    font-family: var(--dec-font);
    background: var(--profile-color);
    margin-top: 20px;
}

#profile-left #profile-title {
    padding-bottom: 6px;
    background: var(--profile-color);
}

#profile-left #pa-avatar img {
    border-radius: var(--br-m);
    border: var(--border-color) 1px solid;
}

/* C6.15 */
#profile-left #pa-fld2 {
    font-family: var(--dec-font);
    text-transform: uppercase;
    color: var(--field-color);
    font-size: 13px;
    line-height: 13px;
    padding: 0 10px;
    letter-spacing: 0.5px; 
    text-align: center;
    margin: 6px 0 0;
}

#viewprofile #pa-fld2 strong .fan2 {
    font-weight: bold!important;
    padding: 0;
}

#profile-left #pa-fld3 {
    height: 26px;
    margin-top: -13px;
}

#profile-left #pa-fld1 {
    border: var(--border-color) solid;
    border-width: 1px 0;
    padding: 10px 40px;
}

#profile-left .lzname {
    padding: 0px 0 3px;
}

/* C6.16 */
#profile-left .lzname a {
    font-size: 13px;
    font-family: var(--dec-font);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 16px;
    color: var(--border-color);
}

#profile-left .lzname a:hover {
    color: var(--links-color);
}

/* C6.17 */
#profile-left .lztext {
    padding: 0;
    text-align: justify;
    text-align-last: center;
    font-family: var(--main-font);
    font-size: 12px;
    line-height: 15px;
}

/* C6.18 */
#profile-left #pa-online {
    padding: 6px 0;
    margin: 0 20px;
}

/* C6.19 */
#profile-left #pa-edit {
    padding: 6px 0;
} 

#profile-right {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 12px;
    width: auto !important;
    margin-left: 20px;
}

#profile-right li {
    display: flex;
    flex-direction: column;
    background: var(--forum-color);
    border-radius: var(--br-s);
    padding: 16px 32px;
    text-align: center;
    margin: 0;
    flex: auto;
    gap: 8px;
}

#profile-right li#pa-fld2 {
    flex-basis: 100%;
    order: -1;
}

#profile-right li span {
    float: none; 
    width: auto; 
    margin-left: 0;
    padding: 0;
}

#profile-right li strong {
    padding: 0!important;
    margin: 0;
}


/* C6.21 */
#profile-left #pa-fld1 span, #profile-left #pa-fld3 span {
    display: none!important;
}

/* C6.22 */
#profile-right #pa-fld6 strong {
    height: 40px;
    overflow: hidden;
    width: 220px;
    background: var(--profile) no-repeat bottom center;
    color: var(--field-color);
    font-family: var(--dec-font);
    box-sizing: border-box;
    text-transform: uppercase;
    padding: 5px 0 !important;
    text-align: center;
    border-radius: var(--br-m);
}

#profile-right #pa-fld6 strong:has(.pl) {
    background: none;
    padding: 0;
}

#profile-right #pa-fld6 img {
    width: 34px;
    height: 34px;
    float: left;
    margin: 0 3px 0 6px;
    object-fit: contain;
}

#profile-right #pa-fld6 img.pl {
    width: 100%;
    height: 100%;
}

/* C6.23 */
#profile-right #pa-fld6 strong .plup {
    font-size: 15px;
    line-height: 18px;
    padding: 0;
}

/* C6.24 */
#profile-right #pa-fld6 strong .pldown {
    padding: 0;
    line-height: 13px;
    font-size: 10px;
}

/* C6.25 */
#pun-respect table, #pun-positive table {
    border-spacing: 0 10px;
    padding: 5px 0px;
}

#pun-respect table tbody tr, #pun-positive table tbody tr {
    background: var(--forum-color);
    border: var(--border-color) 1px solid;
    border-radius: var(--br-s);
}

#pun-respect table td, #pun-positive table td {
    padding: 8px;
}

/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

#pun-userlist .formal .container {
    background: var(--forum-color);
    margin: 0 0 10px;
    border: var(--border-color) 1px solid;
    padding: 15px 20px;
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 12px;
    border-radius: var(--br-m);
}

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0;
  border-top: none;
  margin: 0;
  }

/* C7.3 */
#pun-userlist .usertable table {
    border-style: none;
}

/* C7.4 */
#pun-userlist .usertable table tr {
    position: relative;
    display: flex;
    margin: 0 auto 8px;
    align-items: center;
    padding: 6px 12px;
    font-family: var(--main-font);
    font-size: 13px;
    color: var(--text-color);
    background: var(--forum-color);
    border: var(--border-color) 1px solid;
    border-radius: var(--br-m);
}

/* C7.5 */
#pun-userlist .usertable table thead tr {
    background: none;
    border: none;
    padding-top: 10px;
}

/* C7.6 */
#pun-userlist .usertable table tr .tcl {
    display: flex;
    align-items: center;
    overflow: visible;
}

#pun-userlist .usertable table tr .tcl .avatar-image, #pun-messages #messages table tr .tc2 .avatar-image {
    border-radius: var(--br-s);
    border: var(--border-color) 1px solid;
}

#pun-userlist .usertable table tr .tcl .isonline, #pun-messages #messages table tr .tc2 .isonline {
    top: 0px;
    right: 0px;
    animation: none;
    background: var(--border-color);
    z-index: 20;
}

#pun-userlist .usertable table tr td:last-child, #pun-userlist .usertable table tr th:last-child {
    text-align: right;
}

/* C7.7 */
#pun-online .online-list {
    margin: 0;
}

#pun-online table tr {
    padding: 10px 15px;
    display: flex;
    background: var(--forum-color);
    border: var(--border-color) 1px solid;
    margin-bottom: 8px;
    align-items: center;
    border-radius: var(--br-s);
}

#pun-online table thead tr {
    background: none;
    padding: 15px 15px 3px;
    border: none;
}

/* C7.8 */
#pun-online table tr .tcl {
    width: 40%!important;
}

/* C7.9 */
#pun-online table tr .tc3 {
    width: 20%!important;
}

/* C8 Homepage
-------------------------------------------------------------*/

/* C8.1 */
#pun-main {
    border: var(--border-color) solid;
    border-width: 0 1px;
    padding: 12px 32px;
}

#pun-index #pun-main {
    padding: 0;
}

#pun-main .category {
    padding: 0 0 20px;
}

/* C8.2 */
#pun-main .category h2, #pun-stats h2 {
    font-family: var(--dec-font);
    font-size: 24px;
    text-transform: uppercase;
    color: var(--border-color);
    text-align: center;
    font-weight: bold;
    width: 800px;
    margin: 0 auto;
    padding: 12px 0 6px;
    background: linear-gradient(180deg, transparent 0 50%, var(--border-color) 50% calc(50% + 1px), transparent calc(50% + 1px) 100%);
}

#pun-main .category h2 span, #pun-stats h2 span {
    background: var(--main-color);
    padding: 0 32px;
}

/* C8.3 */
#pun-index #pun-main table tr {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--forum-color);
    border: var(--border-color) solid;
    border-width: 1px 0;
    padding: 12px 32px 12px 0px;
}


/* C8.4 */
#pun-index #pun-main table .tcl {
    width: 600px;
}

#pun-index #pun-main table .tcl .intd {
    display: flex;
}

#pun-index #pun-main table .icon {
    background: var(--new);
    background-size: contain;
    width: 64px;
    height: 92px;
    margin-top: -12px;
    margin-left: -2px;
    opacity: 0.5;
    flex-basis: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

#pun-index #pun-main table .inew {
    opacity: 1;
}

/* C8.5 */
#pun-index #pun-main table .tclcon {
    margin-left: -30px;
    position: relative;
    width: 100%;
}

/* C8.6 */
#pun-index #pun-main table .tclcon h3 a {
    font-family: var(--dec-font);
    font-size: 22px;
    line-height: 20px;
    text-transform: uppercase;
    transition: var(--anim);
    letter-spacing: 1px;
}

/* C8.7 */
#pun-index #pun-main table .tclcon .fname {
    color: var(--text-color);
    font-family: var(--dec-font);
    font-size: 14px;
    margin: 8px 0;
    font-weight: 700;
    line-height: 14px;
    position: absolute;
    top: 0;
    right: 0;
    letter-spacing: 0.5px;
}

/* C8.8 */
#pun-index #pun-main table .tclcon span {
    font-family: var(--main-font);
    text-align: justify;
    display: block;
    font-size: 11px;
    line-height: 14px;
    color: var(--text-color);
    text-transform: lowercase;
    -webkit-text-size-adjust: 100%;
    padding-top: 8px;
}

/* C8.9 */
#pun-index #pun-main table .tclcon .furl {
    margin-top: 8px;
    -webkit-text-size-adjust: 100%;
    display: flex;
    gap: 32px;
}

/* C8.10 */
#pun-index #pun-main table .tclcon .furl a {
    background: var(--border-color);
    padding: 6px 16px 4px;
    color: white;
    font-family: var(--dec-font);
    font-size: 14px;
    font-weight: bold;
    line-height: 14px;
    border-radius: var(--br-s);
}

/* C8.11 */
#pun-index #pun-main table .tclcon .furl a:hover {
    background: var(--links-hover-color);
}

/* C8.12 */
#pun-index #pun-main table .tc2, #pun-index #pun-main .tc3, #pun-index #pun-main .tcmod {
    display: none;
}

/* C8.13 */
#pun-index #pun-main table .tcr {
    width: 320px;
    display: grid;
    grid-template-columns: 50px auto;
    grid-template-rows: auto auto;
    text-align: left;
    gap: 2px 10px;
}

/* C8.14 */
#pun-index #pun-main table .tcr .user-avatar {
    width: 42px;
    height: 42px;
    grid-area: 1 / 1 / 3 / 2;
    align-self: center;
    justify-self: center;
    border-radius: var(--br-s);
    margin: 0;
}

/* C8.15 */
#pun-index #pun-main table .tcr .user-avatar .avatar-image {
    border-radius: var(--br-s);
    width: 42px;
    height: 42px;
    outline: var(--border-color) 1px solid;
    transition: var(--anim);
}

/* C8.16 */
#pun-index #pun-main table .tcr .user-avatar .isonline {
    top: -3px; /* FIXME */
    right: -3px;
    animation: none;
    background: var(--border-color);
    z-index: 20;
}

/* C8.17 */
#pun-index #pun-main table .tcr .lastpost-link {
    font-family: var(--main-font);
    text-transform: lowercase;
    font-size: 14px;
    line-height: 14px;
    grid-area: 1 / 2 / 2 / 3;
    width: fit-content;
    justify-self: start;
    align-self: end;
    font-weight: bold;
    text-align: left;
}

/* C8.18 */
#pun-index #pun-main table .tcr br {
    display: none;
}

/* C8.19 */
#pun-index #pun-main table .tcr .lastpost {
    text-transform: lowercase;
    font-size: 14px;
    font-family: var(--main-font);
    grid-area: 2 / 2 / 3 / 3;
    width: fit-content;
    justify-self: start;
}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
    display: none;
}



/* 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;
  }

/* D2.6 */
#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }

/* D3 Forum navigation and header
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks {
    height: 26px;
    line-height: 26px;
    padding: 0;
    z-index: 40;
    width: 1036px;
    border: var(--border-color) solid;
    border-width: 0 1px;
    padding-top: 6px;
    position: sticky;
    background: var(--main-color);
}

#pun-navlinks.fixed {
    margin-left: -36px;
    top: 0;
    left: initial;
    width: calc(100% + 72px);
    border-width: 0;
    padding: 6px 0 0;
    background: var(--bests) left 0px top 0px, linear-gradient(var(--main-color), var(--main-color));
}

/* D3.2 */
#pun-navlinks .container {
    height: 26px;
    margin: 0 auto;
    display: flex;
    gap: 18px;
    justify-content: center;
}

#pun-navlinks .container:after {
    display: none;
}

/* D3.4 */
#pun-navlinks li a {
    font-size: 14px;
    font-family: var(--dec-font);
    font-weight: bold;
    text-transform: uppercase;
    /*color: var(--border-color);*/
    letter-spacing: 1px;
}

/*#pun-navlinks.fixed .container a {*/
/*    color: var(--links-color)*/
/*}*/

/*#pun-navlinks li a:hover, #pun-navlinks.fixed .container a:hover {*/
/*    color: var(--links-hover-color);*/
/*}*/

/* D3.5 */
#pun-navlinks #navpm .num_msg {
    position: relative;
    margin: 0 0 0 3px!important;
    font-size: 12px;
    padding: 0 4px;
    font-family: var(--dec-font);
}

#pun-navlinks #navpm .num_msg:before {
    display: none;
}

/* D3.6 */
#html-header {
    /*height: 360px;*/
    padding: 0;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    margin: 0;
    height: 24px;
    line-height: 18px;
    z-index: 35;
    width: 1036px;
    border: var(--border-color) solid;
    border-width: 0 1px;
    position: sticky;
    background: var(--main-color);
}

#pun-ulinks.fixed {
    left: initial;
    width: calc(100% + 72px);
    margin-left: -36px;
    top: 32px;
    border-width: 0 0 1px;
    background: var(--bests) left 0px top -32px, linear-gradient(var(--main-color), var(--main-color));
}

/* D4.2 */
#pun-ulinks .container {
    height: 26px;
    margin: 0 auto;
    display: flex;
    gap: 18px;
    justify-content: center;
}


#pun-ulinks .container:after {
    display: none;
}


/* D4.4 */
#pun-ulinks li a {
    text-transform: lowercase;
    font-family: var(--dec-font);
    font-size: 14px;
    /*color: var(--border-color);*/
}

/*#pun-ulinks.fixed .container a {*/
/*    color: var(--links-color)*/
/*}*/

/*#pun-ulinks li a:hover, #pun-ulinks.fixed .container a:hover {*/
/*    color: var(--links-hover-color);*/
/*}*/

/* D3.5 */
#pun-ulinks .nav-item-notifications .bubble {
    position: relative;
    margin: 0 0 0 5px !important;
    font-family: var(--dec-font);
    top: -2px;
    right: 0;
}

#pun-ulinks .nav-item-notifications .bubble:after {
    display: none;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status {
    padding: 0;
    margin-top: -1px;
    margin-bottom: -1px;
    border: var(--border-color) solid;
    border-width: 0 1px;
}

/* D5.2 */
#pun-status .container {
    text-align: left;
    font-family: var(--main-font);
    font-size: 14px;
    color: var(--text-color);
    padding: 12px 32px 6px;
}

/* D5.3 */
#pun-status span {
    /*white-space: nowrap;*/
    /*margin-right: 0.5em;*/
    -webkit-text-size-adjust: 100%;
}

/* D5.4 */
#pun-status .status-right {
    display: none;
}

/* D5.5 */
#pun-crumbs1 {
    font-weight: bold;
    overflow: hidden;
    margin-top: -1px;
    margin-bottom: -1px;
    border: var(--border-color) solid;
    border-width: 0 1px;
}

/* D5.6 */
#pun-crumbs1 p.container {
    text-align: left;
    font-family: var(--main-font);
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    color: var(--text-color);
    padding: 4px 32px 16px;
}

/* D5.7 */
#pun-break1, #pun-break2, #pun-break3, #pun-break4 {
    display: none;
  }


/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement {
    height: auto;
    margin-top: -1px;
}

/* D6.2 */
#pun-announcement h2 {
    display: none;
}

/* D6.3 */
#pun-announcement .container {
    padding: 1px 0;
}


/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats {
    border: var(--border-color) solid;
    border-width: 0 1px;

}

/* D7.2 */
#pun-stats h2 {
}

/* D7.3 */
#pun-stats .container {
    padding: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 18px;
    font-family: var(--main-font);
    color: var(--text-color);
    
}

/* D7.4 */
#pun-stats .container .stats-block {
    border: var(--border-color) solid;
    border-width: 1px 0;
    background: var(--forum-color);
    display: flex;
    text-transform: lowercase;
    margin-bottom: 12px;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 32px;
}


/* D7.7 */
li#onlinelist {
    border: none;
    margin: 0 32px 12px;
    text-align: justify;
    -webkit-text-size-adjust: 100%;
}


/* D7.9 */
li#onlinelist div a {
    font-weight: 600;
}


/* 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: 80px;*/
}

/* D8.4 */
#pun-about .container {
    position: absolute;
    bottom: -95px;
    text-align: center;
    width: 1036px;
}

/* D8.5 */
#pun-about p span {
    display: block;
    font-family: var(--main-font);
    -webkit-text-size-adjust: 100%;
}

/* D8.6 */
#pun-about p span a {
    text-transform: lowercase;
    font-size: 12px;
}

/* D8.7 */
#pun-crumbs2 {
    margin: 0;
    font-weight: bold;
    overflow: hidden;
    padding: 0;
    text-align: left;
    border: var(--border-color) solid;
    border-width: 0 1px;
}

/* D8.8 */
#pun-crumbs2 .container {
    font-family: var(--main-font);
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    padding: 16px 32px;
    color: var(--text-color);
}

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
  }

/* D8.10 */
#html-footer {

}

/* D8.11 */
#html-footer #footer {
    height: 70px;
    width: 1036px;
    position: absolute;
    bottom: -70px;
    border: var(--border-color) solid;
    border-width: 0 1px 1px;
    border-radius: 0 0 var(--br-xl) var(--br-xl);
}

/* D8.12 */
#html-footer #footer #banners {
    overflow-x: scroll;
    overflow-y: hidden;
    width: 740px;
    display: flex;
    gap: 8px;
    margin: 12px 32px;
    padding: 0 0 6px;
}

#html-footer #footer #banners a {
    height: 31px;
}

#html-footer #footer > img {
    height: 69px;
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-right-radius: var(--br-xl);
}

/* D8.13 */
#html-footer #banners img {
    opacity: 0.8;
    transition: var(--anim);
    border-radius: var(--br-s);
}

/* D8.14 */
#html-footer .container #banners img:hover {
    opacity: 1;
}


/* 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;
  }
  

#post-form .container .areafield span span {
    right: 4px!important;
    top: -12px!important;
}

#post-form .container .areafield span span #Knopa2-2 {
    content: url(https://i.imgur.com/Ney8ub0.png);
    width: 26px;
    height: 18px;
}


/* список ролей */
.punbb .post-content .roles {
    column-count: 2;
    column-gap: 20px;
    background: var(--forum-color);
    border-radius: 20px;
    border-top: 4px solid var(--links-color);
    padding: 14px;
    margin-bottom: 12px;
}

.punbb .post-content .roles > p {
    column-span: all;
    font-weight: bold;
    text-align: center;
    font-family: var(--dec-font);
    font-size: 20px!important;
    padding-bottom: 11px;
}

.punbb .post-content .roles .quote-box {
    break-inside: avoid;
    border: 1px solid var(--border-color);
    margin: 0 0 1.5em;
    border-radius: 10px;
    background: var(--main-color);
}

.punbb .post-content .roles .quote-box strong {
    font-family: var(--dec-font);
    font-size: 150%;
}

.punbb .post-content .roles .quote-box strong:before {
    content: '\ea50';
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
    vertical-align: middle;
    font-size: 80%;
    font-weight: 100;
}

.punbb .post-content .roles .quote-box span {
    font-family: var(--dec-font);
    font-size: 120%;
    font-style: normal!important;
}

.punbb .post-content .roles .quote-box span:not(:first-of-type) {
    margin-top: 0.5em;
    display: inline-block;
}







/* mobile */

/* общее */
@media screen and (width <= 756px) {
  body {
    width: fit-content;
    min-width: unset;
    max-width: 756px;
  }
  
  #pun {
      width: auto;
      max-width: 756px;
      margin: auto;
  }
  
    #pun .punbb {
        width: auto;
        height: auto;
        font-size: 16px;
        padding: 0;
        margin: 160px 10px 0;
        border: var(--border-color) 1px solid;
        border-radius: 0;
    }
  
    .go-up, .go-down {
        display: none;
    }
  
   #pun-navlinks, #pun-navlinks.fixed {
      height: 36px;
      padding: 0;
  }
  
  #pun-navlinks {
      width: 100%;
      left: 0;
    border: none;
  }
  
  #pun-navlinks.fixed {
        width: calc(100% + 22px);
        border: 0;
        top: -1px;
        margin-left: -11px;
  }
  
  #pun-navlinks .container {
      display: flex;
      justify-content: space-evenly;
      height: 36px;
      width: 100%;
      align-items: end;
  }
  
  #pun-navlinks.fixed .container {
      width: 100%;
  }

  
  #pun-navlinks .container:after,
  #pun-ulinks .container:after{
      display: none;
  }
  
  #pun-navlinks li a span {
      display: none;
  }
  
    #pun-navlinks li a:before {
        font-family: 'Font Awesome 6 Pro';
        font-size: 20px;
        line-height: 20px;
    }
  
    #pun-navlinks li#navindex a:before {
        content: '\f015';
    }
  
    #pun-navlinks li#navuserlist a:before {
        content: '\f0c0';
    }
  
    #pun-navlinks li#navsearch a:before {
        content: '\f002';
    }
    
    #pun-navlinks li#navprofile a:before {
        content: '\f007';
    }
    
    #pun-navlinks li#navpm a:before {
        content: '\f4b6';
    }
    
    #pun-navlinks li#navadmin a:before {
        content: '\f023';
    }
    
    #pun-navlinks li#navlogout a:before {
        content: '\f2f5';
    }
    
    #pun-navlinks li#navextra1 a:before {
        content: '\f1de';
    }
    
    #pun-navlinks li#navregister a:before {
        content: '\f234';
    }
    
    #pun-navlinks li#navlogin a:before {
        content: '\f2f6';
    }
    
    #pun-navlinks li#navpr_1 a:before {
        content: '\e5cd';
    }
    
    #pun-navlinks li#navpr_2 a:before {
        content: '\f518';
    }
    
    #pun-navlinks li#navextra1 a:before {
        content: '\f1de';
    }
  
    #pun-navlinks li a:span {
        display: none;
    }
  
  .punbb #pun-navlinks #form-login {
      left: -370px;
  }

  #pun-navlinks #New-exit img {
        height: 16px;
        margin-top: 3px;
  }
  
  #pun-navlinks #navextra1_child {
      /*top: 68px;*/
  }
  
    #header-table {
        grid-template-rows: auto auto;
        position: relative;
    }
  
    #header-table #bests, .flowers-left, #header-table .leafs-right, #header-table .leafs-left {
        display: none;
    }
  
    #header-logo {
        grid-template-rows: 70px 90px;
        grid-template-columns: auto 148px;
        width: 100%;
        top: -161px;
    }
    
    #header-logo #birthday {
        grid-area: 1 / 1 / 2 / 2;
        align-self: center;
        margin: 0 0 12px;
    }
  
    #header-logo #navigation {
        grid-area: 1 / 1 / 2 / 3;
        justify-self: left;
        flex-wrap: wrap-reverse;
        gap: 6px 18px;
    }
   
    #header-logo #navigation a {
        font-size: 18px;
        line-height: 18px;
    }
    
    #header-logo > a {
        grid-area: 2 / 1 / 3 / 3;
        background-size: contain;
        background-position: bottom left;
        height: 100px;
        width: calc(100% - 50px);
    }
    
    #header-logo .flowers-right {
        grid-area: 1 / 2 / 3 / 3;
        width: 150px;
    }
    
    #header-logo:before {
        display: none;
    }
    
    #header-logo:after {
        right: -1px;
    }
  
    #header-table #wanted {
        border-width: 1px 0;
        padding: 18px;
        display: grid;
        grid-template-columns: 155px auto 155px;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
        background: linear-gradient(var(--forum-color), var(--forum-color)), var(--bests);
        grid-area: 1 / 1 / 2 / 2;
    }
    
    #header-table #wanted a:not(:has(img)) {
        grid-area: 1 / 2 / 3 / 3;
    }
    
    #header-table #news {
        grid-area: 2 / 1 / 3 / 2;
        background: none;
        border: none;
    }


  #pun-ulinks {
        height: auto;
        width: 100%;
        left: 0;
        border: none;
  }
  
  #pun-ulinks.fixed {
        height: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-left: -11px;
        top: 34px;
        padding-bottom: 6px;
        width: calc(100% + 22px);
        border-bottom: var(--border-color) solid 1px;
        background: var(--bests) left top -34px, linear-gradient(var(--main-color), var(--main-color));
        text-align: center;
  }
  
  #pun-ulinks .container {
      display: flex;
      position: relative;
      flex-wrap: wrap;
      flex-direction: row;
      justify-content: center;
      padding: 0;
      row-gap: 5px;
      padding: 0 10px;
      height: auto;
  }
  
  #pun-ulinks.fixed .container {
      height: 30px;
      flex-direction: column;
  }
  
  #pun-ulinks.fixed .container li:last-child {
      padding-right: 20px;
  }
  
  #pun-ulinks .container li a {
      font-size: 16px;
  }
  
  #pun-status, #pun-crumbs1, #pun-main, #pun-stats, #pun-crumbs2 {
      border: none;
  }
  
  #pun-status .container, #pun-crumbs1 p.container, #pun-crumbs2 p.container {
        font-size: 18px;
        line-height: 22px;
        padding: 8px 16px 0;
  }
  
  #pun-main .category {
      margin-top: 10px;
  }
  
  #pun-main .category h2, #pun-stats h2 {
        font-size: 24px;
        line-height: 26px;
        -webkit-text-size-adjust: 100%;
        width: auto;
        padding: 4px 0 0;
        margin: 8px 16px;
  }
  
  #pun-main .category h2 span, #pun-stats h2 span {
      padding: 0 20px;
  }
  
  #pun-index #pun-main .category tr {
      width: auto;
      justify-content: space-between;
      padding: 10px 0;
  }
  
  #pun-index #pun-main table .tcl {
      width: 49%;
  }
  
  #pun-index #pun-main table .icon {
          width: 48px;
    height: 69px;
    flex-basis: 54px;
    margin-top: -4px;
  }
  
  #pun-index #pun-main table .tclcon h3 a {
        font-size: 18px;
        line-height: 20px;
        text-transform: lowercase;
  }
  
  #pun-index #pun-main table .tclcon .fname {
      font-size: 16px;
      line-height: 26px;
      text-transform: none;
        position: relative;
        margin: 0;
  }
  
  #pun-index #pun-main table .tclcon .furl {
      display: flex;
      flex-wrap: wrap;
      justify-items: stretch;
      flex-direction: row;
      gap: 6px;
      margin: 0;
  }
  
  #pun-index #pun-main table .tclcon .furl a {
      margin-right: 0;
      margin-left: 0; 
      padding: 2px 12px 0;
      line-height: 22px;
      font-size: 14px;
      /*flex: 1;*/
      text-align: center;
  }
  
  #pun-index #pun-main table .tclcon span {
      display: none;
  }
  
    #pun-index #pun-main table .tcr {
        width: 49%;
        grid-template-columns: auto 60px;
        grid-template-rows: auto auto;
    }
  
    #pun-index #pun-main table .tcr .user-avatar {
        align-self: center;
        grid-area: 1 / 2 / 3 / 3;
    }
    
    #pun-index #pun-main table .tcr .user-avatar {
        width: 52px;
        height: 52px;
    }
    
    #pun-index #pun-main table .tcr .user-avatar .avatar-image {
        width: 50px;
        height: 50px;
    }
  
    #pun-index #pun-main table .tcr .user-avatar .isonline {
        width: 10px;
        height: 10px;
        top: -4px;
        right: -2px;
    }
  
  #pun-index #pun-main table .tcr .lastpost-link, #pun-index #pun-main table .tcr .lastpost {
      font-size: 16px;
      line-height: 20px;
      grid-column: 1 / 2;
      justify-self: end;
      text-align: right;
  }
  
  #pun-index #pun-main table .tcr .lastpost-link {
      height: auto;
  }
  
  #pun-stats .statscon {
      padding: 0;
  }
  
  #pun-index #pun-stats .stats-block {
      padding: 6px 0;
      font-size: 18px;
      line-height: 22px;
      flex-wrap: wrap;
      justify-content: space-evenly;
      gap: 6px;
  }
  
  #pun-index #pun-stats .stats-block li {
      margin: 0 10px;
      text-align: center;
  }
  
  /*#pun-index #pun-stats .stats-block li strong {*/
  /*    display: block;*/
  /*}*/
  
  #pun-index #pun-stats li#onlinelist {
      font-size: 16px;
      line-height: 20px;
      margin: 0 16px 12px;
  }
  
  #html-footer #footer {
      width: 100%;
      left: -1px;
  }
  
  #html-footer #footer #banners {
    width: auto;
    margin: 12px;
  }
  
  #html-footer #footer > img {
      display: none;
  }
  
  #pun-about .container {
      width: 100%;
  }
  
  #pun-main h1, #pun-debug h2 {
      font-size: 20px;
      line-height: 22px;
      width: auto;
  }
  
  #pun-viewtopic #pun-main h1, #pun-post #pun-main h1 {
      margin: 2px 16px;
  }
  
  .punbb .linkst, .punbb .linksb {
      margin: 10px 0 0;
      font-size: 18px;
      height: auto;
      line-height: 20px;
  }
  
  #pun-viewtopic .linkst, #pun-viewtopic .linksb {
      margin: 10px 16px;
  }
  
  .postlink.long a {
      font-size: 20px;
  }
  
  #pun-main {
      padding: 8px 16px;
  }
  
  #pun-viewtopic #pun-main,  #pun-post #pun-main {
      padding: 8px 0;
  }
  
  .punbb .main table {
      width: 100%;
  }
  
  #pun-viewforum table tbody tr:not(.tr-divider), 
  #pun-viewforum table thead tr, 
  #pun-searchtopics table tbody tr, 
  #pun-searchtopics table thead tr {
      width: auto;
      font-size: 18px;
      line-height: 20px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 12px
  }
  
  #pun-viewforum table thead tr, #pun-searchtopics table thead tr {
      display: none;
  }
  
  #pun-viewforum table tbody tr.tr-divider {
      font-size: 20px;
      width: 100%;
  }
  
  #pun-viewforum table tbody tr .tcl .intd, #pun-searchtopics table tbody tr .tcl .intd {
      grid-template-columns: 40px auto;
    align-items: center;
    gap: 8px;
  }
  
  #pun-viewforum table tbody .tcl .icon, #pun-searchtopics table tbody .tcl .icon {
     width: 40px;
     height: 40px;
  }
  
  #pun-viewforum table tr .tc2, #pun-viewforum table tr .tc3 {
      display: none;
  }
  
  #pun-viewforum table tr .tcl, #pun-searchtopics table tr .tcl {
      width: auto;
      grid-area: 1 / 1 / 3 / 2;
  }
  
  #pun-searchtopics .main table tbody tr .tc2, #pun-searchtopics table thead tr .tc2 {
      grid-area: 2 / 2 / 3 / 3;
      width: auto;
      justify-self: end;
      text-align: right;
  }
  
  #pun-viewforum table tbody tr .tcr, #pun-searchtopics table tbody tr .tcr {
      width: auto;
      /*grid-template-columns: auto 66px;*/
      grid-template-columns: auto;
      grid-template-rows: auto auto;
  }
  
  #pun-viewforum table tr .tcr {
      grid-area: 1 / 2 / 3 / 3;
  }
  
  #pun-searchtopics table tr .tcr {
      grid-area: 1 / 2 / 2 / 3;
      width: auto;
  }
  
  #pun-viewforum table tbody tr .tcr .user-avatar, 
  #pun-searchtopics table tbody tr .tcr .user-avatar {
      display: none;
  }
  
  /*#pun-viewforum table tbody tr .tcr .user-avatar .avatar-image, */
  /*#pun-searchtopics table tbody tr .tcr .user-avatar .avatar-image {*/
  /*    height: 50px;*/
  /*    width: 50px;*/
  /*}*/
  
  /*#pun-viewforum table tbody tr .tcr .user-avatar .isonline, */
  /*#pun-searchtopics table tbody tr .tcr .user-avatar .isonline {*/
  /*    width: 10px;*/
  /*    height: 10px;*/
  /*    top: 2px;*/
  /*    right: 2px;*/
  /*}*/
  
  #pun-searchtopics table tbody tr .tc3, 
  #pun-searchtopics table thead tr .tc3 {
      display: none;
  }
  
  #pun-searchposts .post .post-author,
  #pun-post .post .post-author {
      border-radius: 0;
      border-width: 0;
  }
  
  .punbb .post {
      margin-top: -110px;
      padding-top: 110px;
      margin-bottom: 0;
  }
  
  .punbb .post h3 {
      margin-left: 0;
      padding: 2px 16px 0;
      border-width: 1px 0;
        border-radius: var(--br-m) var(--br-m) 0 0;
  }
  
  .punbb .post h3 span {
      line-height: 22px;
      font-size: 18px;
  }
  
  .punbb .post h3 span a {
      font-size: 18px;
      -webkit-text-size-adjust: 100%;
  }

  .punbb .post .container {
      margin-top: 0;
      margin-left: 0;
      border: none;
      padding-top: 0;
      background: none;
      border-radius: 0;
  }
  
  .punbb .post .post-author {
      float: none;
      width: 100%;
      margin-left: 0;
      border-radius: 0;
      margin-top: 0;
      padding: 0;
      border-width: 0 0 1px;
      background: var(--profile-color)!important;
  }
  
  .punbb .post .post-author ul {
      display: grid;
      grid-template-columns: 200px 1fr 1fr;
      grid-template-rows: repeat(6, auto);
      -webkit-text-size-adjust: 100%;
      border-radius: 0;
      margin-top: 0;
  }
  
  #pun-searchposts .post .post-author ul {
      display: block;
      text-align: left;
      padding-left: 10px;
  }
  
  #pun-searchposts .post .post-author ul .pa-author {
      text-align: left;
  }
  
  .punbb .post .post-author ul .pa-author {
      grid-column: 2 / -1;
      margin: 0 35px 0 0;
      text-align: left;
      padding: 8px 0 0;
      width: auto;
      background: none;
  }
  
  .punbb .post .post-author .pa-author a {
      font-size: 22px;
      line-height: 24px;
  }
  
  .punbb .post .post-author ul .pa-title {
      grid-column: 2 / -1;
      margin: 0 16px 0 0;
      text-align: left;
      font-size: 16px;
      line-height: 20px;
      padding: 0 0 2px;
      width: auto;
      background: none;
      border-bottom: var(--forum-color) 1px dashed;
  }
      
  .punbb .post .post-author ul .pa-avatar {
      grid-area: 1 / 1 / 7 / 2;
      align-self: center;
      padding: 0;
      margin: 5px 0;
      justify-self: center;
  }
  
  .punbb .post .post-author ul .pa-fld2 {
      grid-area: 3 / 2 / 4 / -1;
      margin: 8px 16px 0 0;
      text-align: left;
      font-size: 16px;
      letter-spacing: 0.5px;
      line-height: 20px;
      padding: 0;
      background: none;
      width: auto;
  }
  
  .post .post-author .pa-fld1 {
      grid-column: 2 / -1;
      margin: 0;
      text-align: left;
  }
  
    .punbb .post .post-author ul .pa-fld3 {
      background: none;
      grid-area: 1 / 3 / 2 / 4;
      width: 16px;
      height: 16px;
      position: absolute;
      top: 4px;
      right: 4px;
      border-radius: 0;
      margin: 0;
      padding: 0;
  }
    
    .punbb .post .post-author ul .pa-fld3 img {
        padding: 0;
        background: none;
    }
  
  .punbb .post .post-author ul .pa-fld1 {
      width: auto;
      margin: 4px 16px 8px 0;
      border: var(--forum-color) dashed;
      border-width: 0 0 1px;
      padding: 0;
  }
  
  .punbb .post .post-author ul .pa-fld1 .lzname {
      font-size: 16px;
      line-height: 20px;
      letter-spacing: 0.5px;
      margin: 0;
      padding: 0;
  }
  
  .punbb .post .post-author ul .pa-fld1 .lztext {
      font-size: 16px;
      line-height: 18px;
      text-align-last: left;
      padding: 0 0 6px 0;
      margin: 0;
  }
  
  .punbb .post .post-author ul .pa-fld6 {
      grid-column: 2 / -1;
      margin-right: 15px;
      display: flex;
      align-items: center;
      min-height: 35px;
      padding: 2px;
      margin-top: -1px;
      flex-wrap: wrap;
              display: none;
  }
  
  .punbb .post .post-author ul .pa-fld6 .plup {
      font-size: 24px!important;
      margin: 0 6px;
      line-height: 35px;
  }
  
  .punbb .post .post-author ul .pa-fld6 .pldown {
      font-size: 24px!important;
      line-height: 35px;
      margin-left: 6px;
      text-align: left;
  }
  
    .pa-posts, .pa-respect, .pa-fld5, .pa-fld4 {
        justify-content: start;
        font-size: 16px;
        line-height: 16px;
        margin: 0 0 8px;
        align-items: baseline;
        width: 100%;
  }
  
    .pa-posts span.fld-name, .pa-respect span.fld-name, .pa-fld5 span.fld-name, .pa-fld4 span.fld-name {
        margin: 0;
        justify-content: start;
        background: none;
        flex-basis: auto;
  }
  
    .pa-respect a[href*="relation.php"] {
        font-size: 15px;
        width: 17px;
        height: 17px;
        line-height: 16px;
  }
  
    .pa-posts span.fld-name:before, .pa-respect span.fld-name:before, .pa-respect span.fld-name a:before, .pa-fld5 span.fld-name:before, .pa-fld4 span.fld-name:before {
        font-size: 15px;
        line-height: 15px;
        margin-right: 4px;
  }
  
  .punbb .post .post-author .pa-ip {
        grid-column: 2 / -1;
        text-align: left;
  }
  
  .post-author .indOnline {
      border-radius: 0;
      width: 100%;
      grid-column: 1 / 4;
  }
  
  .punbb .post-body {
      margin-left: 0;
  }
  
  .punbb .post-box {
      padding: 1em;
      -webkit-text-size-adjust: 100%;
      font-size: 16px;
  }
  
  .punbb #topic-users-in {
      border-width: 1px 0;
  }
  
    #post-form {
        padding: 8px 16px;
        border-width: 1px 0;
    }
    
  #form-buttons tr {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }
  
  #form-buttons td img {
      width: auto;
  }
  
  .punbb .post-sig img {
      max-width: 100%;
  }
  
  div.post-rating a, div.post-vote a {
      font-size: 160%!important;
  }
  
    .punbb .quote-box cite, .punbb .code-box strong.legend {
        font-size: 1.1em;
        background: linear-gradient(var(--forum-color), var(--forum-color)), url(https://i.imgur.com/l6oFTYu.png) no-repeat top -5px right -76px / 400px;
    }
  
  .punbb .code-box .scrollbox pre {
      white-space: pre-wrap;
  }
  
  .punbb .post-links ul {
      height: auto;
      padding: 0 16px;
  }
  
  .punbb .post-links li a {
      font-size: 0;
      display: inline-block;
      line-height: 12px;
  }
  
    .punbb .post-links li a:before {
        font-family: 'Font Awesome 6 Pro';
        font-size: 20px;
        line-height: 20px;
    }
    
    .punbb .post-links li.profile a:before {
        content: '\f65c';
    }
  
    .punbb .post-links li.pm a:before {
        content: '\f0e0';
    }

    .punbb .post-links li.email a:before {
        content: '\40';
    }
    
    .punbb .post-links li.pl-delete a:before {
        content: '\f1f8';
    }
    
    .punbb .post-links li.pl-edit a:before {
        content: '\f044';
    }
    
    .punbb .post-links li.pl-quote a:before {
        content: '\e234';
    }
  
  .punbb .modmenu .container {
      font-size: 16px;
      line-height: 18px;
      -webkit-text-size-adjust: 100%;
  }
  
  .linksb .pagelink, .linksb .postlink {
      width: 45%;
      -webkit-text-size-adjust: 100%;
      font-size: 18px;
  }
  
  .subscribelink {
      text-align: right;
      width: 100%;
      -webkit-text-size-adjust: 100%;
      font-size: 18px;
  }
  
  #main-reply {
      font-size: 24px;
      -webkit-text-size-adjust: 100%;
  }
  
  #pun-userlist .usertable table tr {
      width: auto;
      font-size: 20px;
      display: grid;
      grid-template-rows: auto auto;
      grid-template-columns: 40% 10% 10% 20% 20%;
      grid-column-gap: 2px
  }
  
  #pun-userlist .usertable table thead {
      display: none;
  }
  
  #pun-userlist .usertable table tr td {
      hyphens: auto;
  }
  
  #pun-userlist .usertable table tr .tcl {
      grid-area: 1 / 1 / 2 / 2;
      width: 100%;
  }
  
  #pun-userlist .usertable table tr .tc2 {
      grid-area: 2 / 1 / 3 / 2;
      width: 100%;
  }
  
  #pun-userlist .usertable table tr .relation {
      grid-area: 1 / 2 / 3 / 3;
      width: 100%;
  }
  
  #pun-userlist .usertable table tr .num_posts {
      grid-area: 1 / 3 / 3 / 4;
      width: 100%;
  }
  
  #pun-userlist .usertable table tr .registered {
      grid-area: 1 / 4 / 3 / 5;
      width: 100%;
  }
  
  #pun-userlist .usertable table tr .last_visit {
      grid-area: 1 / 5 / 3 / 6;
      width: 100%;
  }
  
  #viewprofile table tr {
      display: grid;
  }
  
  #viewprofile table tr #profile-left {
      width: 100%;
      display: grid;
      grid-template-columns: 220px auto;
      grid-template-rows: repeat(6, auto);
      text-align: left;
      height: auto;
      -webkit-text-size-adjust: 100%;
      background: var(--profile-color);
  }
  
    #viewprofile table tr #profile-left #profile-name {
        grid-area: 1 / 2 / 2 / 3;
        font-size: 20px;
        padding: 10px 15px 0 0;
        line-height: 20px;
        margin-top: 2px;
    }
    
    #viewprofile table tr #profile-left #pa-fld3 {
        grid-area: 1 / 2 / 2 / 3;
        align-self: start;
        justify-self: right;
        margin-top: 0;
    }
  
  #viewprofile table tr #profile-left #profile-title {
      grid-column: 2 / 3;
      font-size: 15px;
      margin: 3px 15px 0 0;
      border-bottom: var(--back-color) 1px dashed;
  }
  
  #viewprofile table tr #profile-left #pa-avatar {
      grid-area: 1 / 1 / -1 / 2;
      align-self: center;
      justify-self: center;
  }
  
  #viewprofile table tr #profile-left #pa-fld2 {
      grid-column: 2 / 3;
      grid-row: 3 / 4;
      margin: 10px 15px 10px 0;
      padding: 0;
      background: none;
      text-align: left;
  }
  
  #viewprofile table tr #profile-left #pa-fld2 .fan2 {
      padding: 0;
      font-size: 16px;
      font-weight: 600;
      color: var(--back-color);
  }
  
  #viewprofile table tr #profile-left #pa-fld1 {
      grid-column: 2 / 3;
      grid-row: 3 / 4;
      margin: 0 15px 0 0;
      padding: 6px 0 0 0;
      border: var(--forum-color) dashed;
      border-width: 1px 0;
  }
  
  #viewprofile table tr #profile-left #pa-fld1 .lzname {
      padding: 0;
  }
  
  #viewprofile table tr #profile-left #pa-fld1 .lzname a {
      font-size: 16px;
      line-height: 18px;
  }
  
  #viewprofile table tr #profile-left #pa-fld1 .lztext {
      background: transparent;
      margin: 3px 0;
      font-size: 14px;
      border-bottom: var(--back-color) 1px dashed;
      padding: 0 0 4px 0;
      text-align-last: left;
  }
  
  #viewprofile table tr #profile-left #pa-online {
      grid-column: 2 / 3;
      font-size: 14px;
      margin: 0;
      border-top: none;
  }
  
  #viewprofile table tr #profile-left #pa-edit {
      grid-column: 2 / 3;
  }  
  
  #viewprofile table tr #profile-left #pa-edit a {
      font-size: 16px;
  }
  
  #viewprofile table tr #profile-right {
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-gap: 5px;
      margin-top: 10px;
      margin-left: 0;
      font-size: 16px;
      line-height: 22px;
      -webkit-text-size-adjust: 100%;
  }
  
  #viewprofile table tr #profile-right li {
      padding: 5px;
      background: var(--forum-color);
      display: grid;
      text-align: center;
      grid-template-rows: auto;
      grid-column: auto / span 1;
      border-radius: var(--br-m);
  }
  
  #viewprofile table tr #profile-right li:last-child:nth-child(even) {
      grid-column: auto / span 2;
  }
  
  #viewprofile table tr #profile-right li span {
      margin-left: 0;
      width: auto;
      padding: 0;
      background: none;
      border: none;
  }
  
  #viewprofile table tr #profile-right li strong {
      padding: 0;
  }
  
  #viewprofile table tr #profile-right li#pa-fld6 strong {
      padding: 3px 0;
  }
  
  #viewprofile table tr #profile-right li#pa-posts {
      grid-area: 1 / 1 / 2 /-1;
  }
  
  #viewprofile table tr #profile-right li#pa-fld6 strong {
      justify-self: center;
  }
  
  #pun-profile #profile .container {
      margin-left: 20px!important;
  }
  
  #pun-profile .formal #viewprofile .container {
      background: none;
      border: none;
      margin: 0;
  }
  
  #profile .container #profilenav {
      float: none;
      width: 100%;
      margin-left: 0;
  }
  
  #viewprofile ul, #profilenav ul {
      padding: 5px 0;
  }
  
  #profilenav li {
      display: inline;
  }
  
  #profile .container #profilenav li a {
      border: var(--green) 1px solid;
      border-radius: 15px;
      padding: 3px 7px;
      margin-right: 7px;
      display: inline-block;
      margin-bottom: 7px;
  }
  
  #pun-messages .formal .container {
      padding-left: 20px;
  }
  
  
  #pun-messages table tr {
      padding: 5px 0;
  }
  
  #pun-messages table tr .tcl {
      width: 40%!important;
  }
  
  #pun-messages table tr .tc2 {
      width: 30%!important;
      flex-wrap: wrap;
  }
  
  #pun-messages table tr .tc3 {
      width: 25%!important;
  }
  
  #pun-messages table tr .tc2:last-child {
      width: 5%!important;
  }
  
  #pun-messages .post-author .pa-reg {
      grid-column: 2 / -1;
      justify-self: left;
  }
  
  .punbb fieldset legend span {
      padding: 0;
      display: inline-block;
  }
  
  #pun-online table tr {
      width: 100%;
      padding: 8px 0;
  }
  
  .my-tabs>.tab-a {
      width: calc(100% - 20px);
  }
  
  .my-tabs {
      margin-left: 0!important;
  }
  
  .my-tabs>span {
      min-width: 50px;
      font-size: 10px;
  }
  
  .tipsy.tipsy-s {
      display: none!important;
  }
  
  #toggleButton {
        display: block;
        z-index: 30;
        left: 0;
        top: 0;
        border-radius: 0 0 var(--br-s) 0;
  }
  
  #toggleButton i {
      border-radius: 0 0 var(--br-s) 0;
  }
  
    .guestpage {
        grid-template-rows: 90px auto;
    }
    
    .guestpage .guestlogo {
        height: 90px;
        width: 100%;
        background-size: contain;
    }
    
    .guestpage .guestams {
        grid-area: 2 / 1 / 3 / 4;
        margin-right: 0;
    }
    
    .guestpage .guestinfo {
        grid-area: 3 / 1 / 4 / 4;
        margin-right: 0;
    }
    
    .guestpage .guestlinks {
        grid-area: 4 / 1 / 5 / 4;
        margin-right: 0;
    }
    
    .guestpage .guestfaq {
        grid-area: 5 / 1 / 6 / 4;
        height: 90px;
    }
    
    .sigimage {
        max-width: 100%;
    }
    
    #tooltip {
        display: none!important;
    }
}

@media screen and (width <= 450px) {
    #header-logo {
        grid-template-columns: auto 100px;
        grid-template-rows: 90px 70px;
    }
    
    #header-logo > a {
        height: 70px;
    }
    
    #header-logo .flowers-right {
        width: 100px;
        margin-left: 3px;
    }
    
    #header-logo:after {
        height: 60px;
    }
    
    #header-logo #navigation {
        gap: 6px 12px;
    }
    
    #header-logo #navigation a {
        font-size: 14px;
        line-height: 16px;
    }
    
    #pun-ulinks .container li a {
        font-size: 14px;
    }
    
    #pun-ulinks {
        line-height: 16px;
    }
 
    #header-table #wanted {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        justify-items: center;
    }
    
    #header-table #wanted a img, #header-table #wanted a:has(img) {
        max-width: 155px;
        max-height: 40px;
        width: 100%;
        height: auto;
        line-height: 0;
    }
    
    #header-table #wanted a:not(:has(img)) {
        grid-area: 1 / 1 / 2 / 3;
    }
    
    #pun-status .container, #pun-crumbs1 p.container, #pun-crumbs2 p.container, #pun-index #pun-stats .stats-block, #pun-index #pun-stats li#onlinelist {
        font-size: 16px;
        line-height: 18px;
    }
    
    #pun-main .category h2, #pun-stats h2 {
        font-size: 18px;
        line-height: 20px;
    }
    
    #pun-index #pun-main .category tr { 
        flex-direction: column;
        gap: 8px;
    }
    
    #pun-index #pun-main table .tcl, #pun-index #pun-main table .tcr {
        width: 100%;
    }
    
    #pun-viewforum table tbody tr:not(.tr-divider), #pun-viewforum table thead tr, #pun-searchtopics table tbody tr, #pun-searchtopics table thead tr {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
        gap: 6px;
        font-size: 16px;
        line-height: 18px;
    }
    
    #pun-viewforum table tr .tcl, #pun-searchtopics table tr .tcl {
        grid-area: 1 / 1 / 2 / 2;
    }
    
    #pun-searchtopics .main table tbody tr .tc2, #pun-searchtopics table thead tr .tc2 {
        grid-area: 2 / 1 / 3 / 2;
    }
    
    #pun-viewforum table tbody tr .tcr, #pun-searchtopics table tbody tr .tcr {
        grid-area: 3 / 1 / 4 / 2;
        display: inline;
    }
    
    .punbb .post .post-author ul {
        grid-template-columns: 110px 1fr 1fr;
        padding: 4px 0 0 16px;
    }
    
    .punbb .post .post-author ul .pa-title {
        margin-bottom: 8px;
    }
    
    .punbb .post .post-author ul .pa-avatar {
        grid-area: 1 / 1 / 5 / 2;
        justify-self: left;
    }
    
    .punbb .post .post-author ul .pa-avatar img {
        width: auto;
        max-width: 100px;
    }
    
    .punbb .post .post-author ul .pa-fld2 {
        grid-area: 5 / 1 / 6 / -1;
        margin: 0 16px 0 0;
        border-top: var(--forum-color) 1px dashed;
        padding-top: 8px;
    }
    
    .punbb .post .post-author ul .pa-fld1 {
        grid-area: 6 / 1 / 7 / -1;
        border: none;
        margin-bottom: 0;
    }
    
    .guestpage .guestroles:nth-child(even), .guestpage .guestroles:nth-child(odd) {
        grid-column: 1 / 4;
    }
    
    .punbb #pun-navlinks #form-login {
        grid-template-columns: 200px;
        grid-template-rows: auto;
        width: auto;
        left: -200px;
    }
    
    #List-UserNames {
        grid-area: 1 / 1 / 2 / 2;
    }
    
    .punbb #pun-navlinks #form-login * {
        grid-columns: 1 / 2;
    }
    
    #viewprofile table tr #profile-left {
        grid-template-columns: 90px auto;
    }
    
    #viewprofile table tr #profile-left #pa-avatar {
        grid-area: 1 / 1 / 3 / 2;
    }
    
    #viewprofile table tr #profile-left #pa-avatar img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    
    #viewprofile table tr #profile-left #pa-fld1, #viewprofile table tr #profile-left #pa-edit, #viewprofile table tr #profile-left #pa-online {
        grid-column: 1 / 3;
        text-align: center;
        margin: 0;
        padding: 2px 10px;
    }
}
