/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 Import */
@import url(style_cs.1774714691.css);

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.7.0/css/pro.min.css');

@font-face {
    font-family: 'Gab';
    src: url('https://forumstatic.ru/files/001c/84/09/68145.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mogen';
    src: url('https://forumstatic.ru/files/001c/84/09/17516.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('https://forumstatic.ru/files/001c/84/09/35013.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('https://forumstatic.ru/files/001c/84/09/92628.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('https://forumstatic.ru/files/001c/84/09/29387.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* A1.2 Variables */  
:root {
    --back: url(https://forumstatic.ru/files/001c/84/09/80405.png)no-repeat top fixed, linear-gradient(var(--back-color), var(--back-color));
    --logo: url(https://forumstatic.ru/files/001c/84/09/71225.png);
    /*--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/84/09/75047.png)no-repeat;

    --main-font: 'Lora';
    --dec-font: 'Gab';
    --logo-font: 'Mogen';

    --anim: 0.5s ease all;
    
    --back-color: #1A2129;
    --main-color: #E1E1E1;
    --border-color: #C37F5E;
    --forum-color: #DAD5D9;
    --shadow-color: rgba(87, 80, 62, 0.25);
    --table-color: #10171B;
    --header-text-color: #E1E1E1;
    --header-links-color: #C37F5E;
    /*--forum-hover-color: rgba(218, 193, 148, 0.8);*/
    --profile-color: #20272E;
    /*--profile-hover-color: #0f410a;*/
    
    --links-color: #BF4215;
    --links-hover-color: #592828;
    --text-color: #3D3D49;
    --brown-color: #453c39;
    --old-color: #A59A90;
    --second-border-color: #D7CBC3;
    --field-color: #f4f2f2; 
    --quote-color: #D2CAD0;
    --title-color: #E1E1E1;

    
    --br-s: 4px;
    --br-m: 8px;
    --br-l: 16px;
    --br-xl: 20px;
    --br-xxl: 32px;
    
    --pm-xxl: 32px;
    --pm-xl: 20px;
    --pm-l: 16px;
    --pm-m: 8px;
    --pm-s: 6px;
    --pm-xs: 3px;
    
    --circles-left: radial-gradient(circle at 7.5px, var(--border-color), var(--border-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--border-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--border-color) 2.5px, transparent 3px);
    --circles-old: radial-gradient(circle at 7.5px, var(--old-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--old-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--old-color) 2.5px, transparent 3px);
    
    --profile-stars: url(https://forumstatic.ru/files/001b/2f/0f/76686.png)no-repeat;
    --profile-sunset: url(https://forumstatic.ru/files/001b/2f/0f/65822.png)no-repeat;
    --profile-flowers: url(https://forumstatic.ru/files/001b/2f/0f/72632.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.lilac {
    --back: url(https://forumstatic.ru/files/001c/84/09/80405.png)no-repeat top fixed, linear-gradient(var(--back-color), var(--back-color));
    --logo: url(https://forumstatic.ru/files/001c/84/09/51250.png);
    --profile: url(https://forumstatic.ru/files/001c/84/09/36078.png)no-repeat;
    
    --back-color: #A7A4CB;
    --main-color: #FBF9F2;
    --border-color: #4e5c94;
    --forum-color: #F6EEE4;
    /*--shadow-color: rgba(87, 80, 62, 0.25);*/
    --table-color: #6F7FAA;
    --header-text-color: #333650;
    --header-links-color: #E5B995;
    --profile-color: #AAA5BD;

    --links-color: #23347a;
    --links-hover-color: #B986E0;
    --text-color: #102026;
    /*--brown-color: #453c39;*/
    --old-color: #D9CCBC;
    /*--second-border-color: #D7CBC3;*/
    --field-color: #fffdfa; 
    /*--quote-color: #D2CAD0;*/
    --title-color: #FBF9F2;
    
    --circles-left: radial-gradient(circle at 7.5px, var(--border-color), var(--border-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--border-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--border-color) 2.5px, transparent 3px);
    --circles-old: radial-gradient(circle at 7.5px, var(--old-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--old-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--old-color) 2.5px, transparent 3px);
}


body.dark {
    --back: url(https://forumstatic.ru/files/001c/84/09/80405.png)no-repeat top fixed, linear-gradient(var(--back-color), var(--back-color));

    --main-color: #292d34;
    --border-color: #DB6C26;
    --forum-color: #20272E;
    --table-color: #1a2029;
    --header-text-color: #D2B8AC;
    --shadow-color: rgba(50, 50, 36, 0.25);
    --profile-color: #20272E;

    --links-color: #BF4215;
    --links-hover-color: #7F7976;
    --text-color: #e4d4ce;
    --old-color: #7F7976;
    --second-border-color: #473B43;
    --field-color: #2a343d; 
    --quote-color: #2a343d;
    
    --circles-left: radial-gradient(circle at 7.5px, var(--border-color), var(--border-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--border-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--border-color) 2.5px, transparent 3px);
    --circles-old: radial-gradient(circle at 7.5px, var(--old-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--old-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--old-color) 2.5px, transparent 3px);
}

body.lilac.dark {
    --back: url(https://forumstatic.ru/files/001c/84/09/80405.png)no-repeat top fixed, linear-gradient(var(--back-color), var(--back-color));

    --back-color: #1D1A29;
    --main-color: #283038;
    --border-color: #A884CD;
    --forum-color: #20272E;
    --table-color: #283038;
    --header-text-color: #DAD5D9;
    --shadow-color: rgba(50, 50, 36, 0.25);
    --header-links-color: #D2B8AC;
    /*--forum-hover-color: rgba(218, 193, 148, 0.8);*/
    --profile-color: #20272E;
    /*--profile-hover-color: #0f410a;*/
    
    --links-color: #A884CD;
    --links-hover-color: #DAD5D9;
    --text-color: #DAD5D9;
    /*--brown-color: #453c39;*/
    --old-color: #7F7976;
    --second-border-color: #473B43;
    --field-color: #2a343d; 
    --quote-color: #2a343d;
    /*--title-color: #E1E1E1;*/

    
    --circles-left: radial-gradient(circle at 7.5px, var(--border-color), var(--border-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--border-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--border-color) 2.5px, transparent 3px);
    --circles-old: radial-gradient(circle at 7.5px, var(--old-color) 7.5px, transparent 8px), 
                    radial-gradient(circle at 32px, var(--old-color) 4.5px, transparent 5px), 
                    radial-gradient(circle at 52px, var(--old-color) 2.5px, transparent 3px);
}

/* 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 100px;
    width: 1110px; 
}

/* A5.3 */
.punbb {
    height: auto;
    margin-top: 530px;
    width: 1038px;
    position: relative;
    padding: 0 var(--pm-xxl);
    background: var(--main-color);
    border-radius: var(--br-xxl);
}

/* 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;
    color: var(--title-color);
    text-align: center;
    margin: 0 auto 8px;
    padding: 8px 16px 6px;
    background: var(--logo);
    border-radius: var(--br-l);
}

/* A5.7 */
#pun-main h1 span, #pun-debug h2 span{
    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: 8px 16px;
}

/* 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(--second-border-color) 1px solid;
    border-radius: var(--br-l);
    overflow: hidden;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    font-family: var(--dec-font);
    font-size: 110%;
    line-height: 110%;
    font-weight: bold;
    display: block;
    padding: 8px 16px 4px;
    font-style: normal;
    background: var(--quote-color);
    display: flex;
    gap: 6px;
    align-items: center;
}

.punbb .quote-box cite:before, .punbb .code-box strong.legend:before {
    color: var(--border-color);
    border: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    font-family: 'Font Awesome 6 Pro';
}

.punbb .quote-box cite:before {
    content: '\f10d';
}

.punbb .code-box strong.legend:before {
    content: '\f121';
}

/* 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 {
    color: var(--border-color);
    border: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    transition: var(--anim);
    font-family: 'Font Awesome 6 Pro';
    width: 18px;
    content: '\f3a5';
}


.post-content .spoiler-box > div.visible:before {
    transform: rotate(-90deg);
}


/* 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, .punbb .linksb {
    font-size: 12px;
    font-family: var(--main-font);
    margin: var(--pm-l) 0 var(--pm-xxl);
    line-height: 12px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.punbb .linksb {
    flex-wrap: wrap;
    gap: var(--pm-m);
}

/* B3.2 */
.multipage {
    margin-top: 0;
}

/* B3.3 */
.linkst .pagelink, .linksb .pagelink {
    order: 0;
    margin-right: auto;
    background: var(--forum-color);
    border-radius: var(--br-m);
    border: var(--second-border-color) 1px solid;
    padding: var(--pm-s) var(--pm-xxl);
    flex-shrink: 0;
    align-self: start;
}

/* B3.4 */
.linkst .postlink, .linksb .postlink, .punbb .linksb noindex {
    order: 1;
}

/*.punbb .linksb noindex {*/
/*    flex-shrink: 0;*/
/*}*/

.linkst span, .linksb span {
    display: inline-block;
}

.linkst .postlink a, .linksb .postlink a, .subscribelink a {
    background: var(--forum-color);
    border-radius: var(--br-m);
    border: var(--second-border-color) 1px solid;
    padding: var(--pm-s) var(--pm-xxl);
    font-weight: bold;
    display: block;
    width: fit-content;
    margin-left: auto;
}

/* B3.5 */
.postlink.long a {
    font-family: var(--main-font);
}

/* B3.6 */
.linkst .postlink.long, .linksb .postlink.long {
    width: auto;
}


/* B3.11 */
.subscribelink {
    clear:both;
    text-align: right;
    order: 2;
}


/*************************************************************
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: 12px 24px 10px;
    font-size: 12px;
    line-height: 12px;
    font-family: var(--dec-font);
    cursor: pointer;
    transition: var(--anim);
    background: var(--back-color);
    color: white;
    border-radius: var(--br-l); 
    text-transform: uppercase;
}

/* 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(--main-font);
    color: var(--text-color);
}

#pun-viewtopic fieldset legend, #pun-post fieldset legend {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    line-height: 15px;
    font-weight: 500;
}

#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;
  }

/* 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 {
  margin: 0;
  }

/* C1.18 */
.punbb .hashelp {
  position: relative;
    display: flex;
    flex-direction: column;
  }
  
.punbb .hashelp  .inputfield.required {
    order: -1;
}

/* 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(--second-border-color) 1px solid;
    color: var(--text-color);
    border-radius: var(--br-xxl);
}

/* 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;
    min-width: 105px;
    text-align: center;
}

/* C1.27 */
#post-form .container #form-buttons {
    background: var(--field-color);
    border-radius: var(--br-l) var(--br-l) 0 0;
    border: var(--border-color) 1px solid;
    padding: var(--pm-xs) 0;
}

#tags {
    position: relative;
}

/* C1.28 */
#tags .container {
    top: -1px !important;
    z-index: 2;
    padding: var(--pm-m) var(--pm-l);
    background: var(--field-color);
    border: var(--border-color) 1px solid;
    border-radius: 0 0 var(--br-m) var(--br-m); 
    max-width: 100%;
    max-height: 230px;
    overflow: auto;
}

/* C1.29 */
#main-reply {
    margin: 0;
    border: none;
    background: var(--field-color);
    border-radius: 0 0 var(--pm-l) var(--br-l);
    border: var(--border-color) 1px solid;
    margin-top: -1px;
    padding: var(--pm-l);
    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 {
    line-height: 18px;
    font-size: 18px;
    font-family: var(--dec-font);
}

/* 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*/
}

#pun-viewforum .forum, #pun-searchtopics .forum {
    border: var(--second-border-color) 1px solid;
    border-radius: var(--br-xxl);
    padding: var(--pm-xl) var(--pm-l);
}

/* 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: 12px 0 0;
    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-l);
    gap: 10px;
    border: var(--second-border-color) 1px solid;
}

/* C2.16 */
#pun-viewforum table thead tr, #pun-searchtopics table thead tr {
    padding: 4px 8px;
    border: none;
    background: none;
    margin: 0;
}

/* C2.17 */
#pun-viewforum table tbody tr.tr-divider {
    font-family: var(--dec-font);
    font-size: 18px;
    line-height: 18px;
    color: var(--border-color);
    justify-content: center;
}

/* C2.18 */
#pun-viewforum table tbody tr .tcl .intd, #pun-searchtopics table tbody tr .tcl .intd {
    display: grid;
    grid-template-columns: 36px auto;
    align-items: center;
    gap: 8px;
}

#pun-viewforum table tbody .tcl .icon, #pun-searchtopics table tbody .tcl .icon {
    width: 15px;
    height: 15px;
    background: var(--old-color);
    border-radius: 50%;
    position: relative;
    margin-left: 16px;
}

#pun-viewforum table tbody .tcl .icon:before, #pun-searchtopics table tbody .tcl .icon:before {
    content: '';
    background: var(--old-color);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: -16px;
}

#pun-viewforum table tbody .iclosed .tcl .icon, #pun-searchtopics table tbody .iclosed .tcl .icon, #pun-viewforum table tbody .iclosed .tcl .icon:before, #pun-searchtopics table tbody .iclosed .tcl .icon:before {
    background: var(--old-color);
}

#pun-viewforum table tbody .isticky .tcl .icon, #pun-searchtopics table tbody .isticky .tcl .icon, #pun-viewforum table tbody .isticky .tcl .icon:before, #pun-searchtopics table tbody .isticky .tcl .icon:before {
    background: var(--text-color);
}

#pun-viewforum table tbody .inew .tcl .icon, #pun-searchtopics table tbody .inew .tcl .icon, #pun-viewforum table tbody .inew .tcl .icon:before, #pun-searchtopics table tbody .inew .tcl .icon:before {
    background: var(--border-color);
}

/* 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: 50%;
    border: var(--border-color) 1px solid;
    transition: 0.5s linear all;
}

#pun-viewforum table tbody tr .tcr .user-avatar .avatar-image:hover, #pun-searchtopics table tbody tr .tcr .user-avatar .avatar-image:hover {
    border-radius: var(--br-s);
}

/* C2.22 */
#pun-viewforum table tbody tr .tcr .user-avatar .isonline, #pun-searchtopics table tbody tr .tcr .user-avatar .isonline {
    top: -1px;
    right: 2px;
    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 {
    scroll-margin-top: 60px;
    border: var(--border-color) 1px solid;
    border-radius: var(--br-xxl);
    margin-bottom: var(--pm-xxl);
}

.punbb .post:last-child {
    margin-bottom: var(--pm-xl);
}

/* C3.2 */
.punbb .post h3 {
    background: var(--main-color);
    min-height: 16px;
    line-height: 16px;
    font-family: var(--dec-font);
    padding: 0 16px 0 36px;
    margin-left: 230px;
    font-size: 12px;
    text-transform: lowercase;
    font-weight: bold;
    width: fit-content;
    margin-top: -8px;
    position: relative;
    z-index: 0;
}

.punbb .post h3:after {
    content: '';
    background: var(--circles-left), var(--main-color);
    position: absolute;
    top: 0;
    right: -56px;
    height: 16px;
    width: 58px;
    transform: rotateY(180deg);
}

.punbb .post h3 span {
    display: flex;
    justify-content: left;
    gap: 12px;
    align-items: center;
    flex-direction: row-reverse;
}

.punbb .post h3 span .permalink:after {
    content: ',';
}

/* 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 {
    font-weight: bold;
    color: var(--text-color);
}

.punbb .post h3 strong:before {
    content: '#';
}

/* C3.9 */  
.punbb .post .container {
    padding-top: var(--pm-l);
    position: relative;
}

/* C3.10 */
.punbb .post .post-author {
    float: left;
    width: 250px;
    text-align: center;
    font-family: var(--main-font);
    background: linear-gradient(transparent 0 100px, var(--profile-color) 240px 250px), var(--profile);
    background-size: 100%;
    margin-top: -32px;
    margin-left: -1px;
    border-radius: var(--br-xl);
}

/* 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(--title-color);
    /* border-radius: 20px; */
    font-family: var(--dec-font);
    font-size: 16px;
    font-weight: bold;
    padding: 10px 16px;
    box-sizing: border-box;
    border: var(--border-color) 1px solid;
}

#pun-searchposts .post .post-author ul {
    padding: 0;
}

#pun-searchposts .post .post-author .pa-author {
    text-align: center;
    background: none;
    padding: 0;
    margin: 0;
    border: none;
}

#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: 0;
}

/* C3.13 */
.punbb .post .post-author ul {
    padding: 24px 20px 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    color: var(--header-text-color);
}

/* C3.14 */
.punbb .post .post-author ul .pa-fld3 {
    cursor: pointer;
    flex-basis: 100%;
    margin: -13px 30px 0px;
    width: 140px;
    background: var(--profile-color);
    position: relative;
}

.punbb .post .post-author ul .pa-fld3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: radial-gradient(circle at 7.5px, var(--border-color), var(--border-color) 7.5px, transparent 8px), radial-gradient(circle at 29px, var(--border-color) 4.5px, transparent 5px), radial-gradient(circle at 45px, var(--border-color) 2.5px, transparent 3px);
    height: 24px;
    width: 50px;
}

.punbb .post .post-author ul .pa-fld3:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    background: radial-gradient(circle at right 7.5px top 50%, var(--border-color), var(--border-color) 7.5px, transparent 8px), radial-gradient(circle at right 29px top 50%, var(--border-color) 4.5px, transparent 5px), radial-gradient(circle at right 45px top 50%, var(--border-color) 2.5px, transparent 3px);
    height: 24px;
    width: 50px;
}

/* C3.15 */
.punbb ul .pa-fld3 img, .punbb ul #pa-fld3 img {
    width: 16px;
    height: 16px;
    background: var(--profile-color);
    padding: 4px;
    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;
    margin: 0px;
    width: 100%;
    padding: var(--pm-m) var(--pm-s) 0;
    font-size: 15px;
    font-family: var(--dec-font);
    background: var(--profile-color);
    border-radius: var(--br-l) var(--br-l) 0px 0px;
    border: var(--border-color) solid;
    border-width: 1px 1px 0;
    font-weight: bold;
}

/* 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(--main-font);
    font-size: 12px;
    line-height: 14px;
    width: 100%;
    padding: var(--pm-xs) var(--pm-m) var(--pm-s);
    background: var(--profile-color);
    border: var(--border-color) solid;
    border-width: 0 1px;
}

.punbb .post .post-author ul .pa-avatar {
    flex-basis: 100%;
    background: var(--profile-color);
    border: var(--border-color) solid;
    border-width: 0 1px 1px;
    border-radius: 0 0 var(--br-l) var(--br-l);
    padding-bottom: var(--pm-s);
}

.punbb .post .post-author ul .pa-avatar:has(+ .pa-fld2), .punbb .post .post-author ul .pa-avatar:has(+ .post-img-Sp) {
    border-width: 0 1px;
    border-radius: 0;
    padding-bottom: 0;
}

.punbb .post .post-author ul .pa-avatar:has(+ .pa-fld3) {
    padding-bottom: var(--pm-l);
}

/* C3.20 */
.punbb .post .post-author ul .pa-avatar img {
    max-width: 180px;
    border-radius: var(--br-l);
}

/* C3.21 */
.punbb .post .post-author ul .pa-fld2 {
    font-family: var(--main-font);
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    padding: var(--pm-xs) var(--pm-s) var(--pm-l);
    flex-basis: 100%;
    text-transform: lowercase;
    border: var(--border-color) solid;
    background: var(--profile-color);
    border-width: 0 1px 1px;
    border-radius: 0 0 var(--br-l) var(--br-l);
}

/* C3.22 */
.punbb .post .post-author ul .pa-fld1 {
    margin: var(--pm-s) 0;
    flex-basis: 100%;
}

.punbb .post .post-author ul .pa-fld1 .lzname {
    font-size: 15px;
    font-family: var(--dec-font);
    line-height: 16px;
}

/* C3.24 */
.punbb .post .post-author ul .pa-fld1 .lztext {
    font-family: var(--main-font);
    font-size: 12px;
    letter-spacing: 0.4px;
    line-height: 16px;
    text-transform: lowercase;
    margin-top: var(--pm-s);
}

.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: 250px;
    margin: 0 -20px;
    border-radius: 0 0 var(--br-xl) var(--br-xl);
}

.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;
}

/* 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: 0 var(--pm-l) var(--pm-l) 266px;
}

/* C3.38 */
.punbb .post-box {
  padding: 0;
  }
  
.dark .punbb .post-box {
    color: var(--text-color);
}

/* C3.39 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.40 */
.punbb .post-links {
    margin: var(--pm-l) 0 var(--pm-m) var(--pm-l);
}

/* C3.41 */
.punbb .post-links ul {
    line-height: 24px;
    display: flex;
    gap: var(--pm-xl);
    justify-content: end;
}

/* C3.42 */
.punbb .post-links li:nth-last-child(1 of .pl-email) {
    margin-right: auto;
}

/* C3.43 */
.punbb .post-links li a {
    font-family: var(--dec-font);
    font-size: 12px;
    text-transform: lowercase;
    letter-spacing: 0.25px;
    background: var(--forum-color);
    padding: 4px 10px;
    border-radius: var(--br-l);
    border: var(--second-border-color) 1px solid;
}

/* 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(--second-border-color) solid;
    border-width: 1px;
    border-radius: var(--br-l);
}


/* 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: var(--pm-xl);
    margin: var(--pm-xl) 0;
    border: var(--border-color) 1px solid;
    border-radius: var(--br-xxl);
}

/* 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 */
#viewprofile #profile-left {
    width: 210px;
    padding: 24px 20px 0!important;
    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(--title-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: var(--pm-m) var(--pm-s) 0;
    font-family: var(--dec-font);
    background: var(--profile-color);
    border-radius: var(--br-l) var(--br-l) 0px 0px;
    border: var(--border-color) solid;
    border-width: 1px 1px 0;
    font-weight: bold;
}

#profile-left #profile-title {
    font-family: var(--main-font);
    font-size: 12px;
    line-height: 14px;
    padding: var(--pm-xs) var(--pm-m) var(--pm-s);
    background: var(--profile-color);
    border: var(--border-color) solid;
    border-width: 0 1px;
}

#profile-left #pa-avatar {
    border-radius: 0 0 var(--br-l) var(--br-l);
    border: var(--border-color) solid;
    border-width: 0 1px 1px;
    background: var(--profile-color);
}

#profile-left #pa-avatar:has(+ #pa-fld3) div {
    padding-bottom: 16px;
}

#profile-left #pa-avatar img {
    border-radius: var(--br-l);
}

/* 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 {
    margin: -13px 30px 0px;
    width: 140px;
    background: var(--profile-color);
    position: relative;
}

#profile-left #pa-fld3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: radial-gradient(circle at 7.5px, var(--border-color), var(--border-color) 7.5px, transparent 8px), radial-gradient(circle at 29px, var(--border-color) 4.5px, transparent 5px), radial-gradient(circle at 45px, var(--border-color) 2.5px, transparent 3px);
    height: 24px;
    width: 50px;
}

#profile-left #pa-fld3:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    background: radial-gradient(circle at right 7.5px top 50%, var(--border-color), var(--border-color) 7.5px, transparent 8px), radial-gradient(circle at right 29px top 50%, var(--border-color) 4.5px, transparent 5px), radial-gradient(circle at right 45px top 50%, var(--border-color) 2.5px, transparent 3px);
    height: 24px;
    width: 50px;
}

#profile-left #pa-fld1 {
    border: var(--border-color) dotted;
    border-width: 0 0 1px;
    padding: 10px 0;
    margin-bottom: -1px;
}

#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: var(--second-border-color) 1px solid;
    border-radius: var(--br-l);
    padding: 12px 20px;
    text-align: center;
    margin: 0;
    flex: auto;
    gap: 8px;
    color: var(--text-color);
}

#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: 50%;
    border: var(--border-color) 1px solid;
    transition: 0.5s linear all;
}

#pun-userlist .usertable table tr .tcl .avatar-image:hover, #pun-messages #messages table tr .tc2 .avatar-image:hover {
    border-radius: var(--br-s);
}

#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 {
    padding: 0;
}

#pun-main .category {
    margin: 0 0 20px;
    background: var(--forum-color);
    border-radius: var(--br-m) var(--br-m) var(--br-xxl) var(--br-xxl);
    box-shadow: 0 4px 4px 0 var(--shadow-color);
}

/* C8.2 */
#pun-main .category h2, #pun-stats h2 {
    font-family: var(--dec-font);
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--title-color);
    text-align: center;
    margin: 0 0 var(--pm-l);
    padding: 6px 0 4px;
    background: var(--logo) no-repeat center;
    background-size: cover;
    border-radius: var(--br-m);
    box-shadow: 0 2px 2px 0 var(--shadow-color);
}

#pun-main #pun-category1 h2 {
    background-position: top -24px left 0px;
}

#pun-main #pun-category2 h2 {
    background-position: top -132px left 0px;
}

#pun-main #pun-category3 h2 {
    background-position: top -230px left 0px;
}

#pun-main #pun-category4 h2 {
    background-position: bottom -472px left 0px;
}

#pun-main #pun-category5 h2 {
    background-position: bottom -365px left 0px;
}

#pun-main #pun-category6 h2 {
    background-position: bottom -256px left 0px;
}

/* C8.3 */
#pun-index #pun-main table tr {
    margin: var(--pm-l) var(--pm-l) var(--pm-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: var(--old-color) solid;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 var(--br-xxl) var(--br-xxl);
    padding: var(--pm-l) calc(var(--pm-l) + var(--pm-m));
    position: relative;
}

#pun-index #pun-main table tr.inew {
    border-color: var(--border-color);
}

#pun-index #pun-main table tr:before {
    content: '';
    background: var(--circles-old), var(--forum-color);
    width: 58px;
    height: 16px;
    transform: rotate(-90deg);
    position: absolute;
    top: 8px;
    left: -30px;
}

#pun-index #pun-main table tr.inew:before {
    background: var(--circles-left), var(--forum-color);
}

#pun-index #pun-main table tr:after {
    content: '';
    background: radial-gradient(circle at 5px calc(100% - 5px), var(--old-color) 4px, transparent 5px), radial-gradient(circle at 5px calc(100% - 25px), var(--old-color) 2px, transparent 3px), var(--forum-color);
    background-repeat: no-repeat;
    width: 10px;
    height: 60%;
    min-height: 30px;
    position: absolute;
    top: 0;
    right: -5px;
}

#pun-index #pun-main table tr.inew:after {
    background: radial-gradient(circle at 5px calc(100% - 5px), var(--border-color) 4px, transparent 5px), radial-gradient(circle at 5px calc(100% - 25px), var(--border-color) 2px, transparent 3px), var(--forum-color);
}

/* C8.4 */
#pun-index #pun-main table .tcl {
    width: 600px;
}

#pun-index #pun-main table .tcl .intd {
    display: flex;
    min-height: 45px;
}

#pun-index #pun-main table .icon {
    display: none;
}

/* C8.5 */
#pun-index #pun-main table .tclcon {
    position: relative;
    width: 100%;
}

/* C8.6 */
#pun-index #pun-main table .tclcon h3 a {
    text-transform: uppercase;
    transition: var(--anim);
    letter-spacing: 2px;
}

/* C8.7 */
#pun-index #pun-main table .tclcon .fname {
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 12px;
    margin: 2px 0;
    line-height: 12px;
    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: 13px;
    color: var(--text-color);
    text-transform: lowercase;
    -webkit-text-size-adjust: 100%;
    padding-top: 4px;
}

/* C8.9 */
#pun-index #pun-main table .tclcon .furl {
    margin-top: 6px;
    -webkit-text-size-adjust: 100%;
    display: flex;
    gap: var(--pm-l);
}

/* C8.10 */
#pun-index #pun-main table .tclcon .furl a {
    background: #3D3D49;
    padding: 4px 20px 5px;
    color: var(--title-color);
    font-family: var(--dec-font);
    font-size: 12px;
    line-height: 12px;
    border-radius: var(--br-m);
}

/* 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: 300px;
    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: 50%;
    margin: 0;
}

/* C8.15 */
#pun-index #pun-main table .tcr .user-avatar .avatar-image {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    outline: var(--border-color) 1px solid;
    transition: 0.5s linear all;
}

#pun-index #pun-main table .tcr .user-avatar .avatar-image:hover {
    border-radius: var(--br-s);
}

/* C8.16 */
#pun-index #pun-main table .tcr .user-avatar .isonline {
    top: 0px;
    right: 2px;
    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: 12px;
    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: 12px;
    font-family: var(--main-font);
    grid-area: 2 / 2 / 3 / 3;
    width: fit-content;
    justify-self: start;
    color: var(--text-color);
}


/*************************************************************
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 {
    line-height: 16px;
    padding: 0;
    z-index: 40;
    padding-top: 6px;
    position: sticky;
    top: -32px;
    background: var(--forum-color);
    padding: 40px var(--pm-xxl) 0;
    margin: 0 calc(-1* var(--pm-xxl));
    border-radius: var(--br-xxl) var(--br-xxl) 0 0;
    border: var(--shadow-color) dotted;
    border-width: 1px 1px 0;
}

/*#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 {
    margin: 0 auto;
    display: flex;
    gap: 24px;
    justify-content: center;
}

#pun-navlinks .container:after {
    display: none;
}

/* D3.4 */
#pun-navlinks li a {
    font-size: 13px;
    font-family: var(--dec-font);
    text-transform: uppercase;
}

#pun-navlinks li.isactive a {
    border-bottom: var(--links-color) 1px dotted;
}

#pun-navlinks li.isactive a:hover {
    border-bottom: var(--links-hover-color) 1px dotted;
}
/*#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 {
    height: 24px;
    line-height: 18px;
    z-index: 35;
    position: sticky;
    top: 24px;
    background: var(--forum-color);
    margin: 0 calc(-1* var(--pm-xxl));
    padding: 6px var(--pm-xxl) 0;
    border-radius: 0 0 var(--br-xxl) var(--br-xxl);
    box-shadow: 0 0px 3px 0 var(--shadow-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: 24px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    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: 12px;
}

/*#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: var(--pm-m) 0;
}

/* D5.2 */
#pun-status .container {
    text-align: left;
    font-family: var(--dec-font);
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--pm-m);
}

#pun-status .container #u-ava, #pun-status .container #u-ava img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

/* 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 {
    overflow: hidden;
    margin: var(--pm-l) 0;
}

/* D5.6 */
#pun-crumbs1 p.container {
    text-align: center;
    font-family: var(--dec-font);
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    color: var(--text-color);
}

/* 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 {
    margin: 0 0 20px;
    background: var(--forum-color);
    border-radius: var(--br-m) var(--br-m) var(--br-xxl) var(--br-xxl);
    box-shadow: 0 4px 4px 0 var(--shadow-color);
}

/* D7.2 */
#pun-stats h2 {
}

/* D7.3 */
#pun-stats .container {
    padding: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 18px;
    font-family: var(--dec-font);
    color: var(--text-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 var(--pm-xxl) var(--pm-l);
    gap: var(--pm-l);
}


/* D7.7 */
li#onlinelist {
    border: none;
    flex-basis: 100%;
    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: -75px;
    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 0 var(--pm-l);
    overflow: hidden;
    padding: 0;
}

/* D8.8 */
#pun-crumbs2 .container {
    text-align: center;
    font-family: var(--dec-font);
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    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: 100px;
    width: calc(100% - 2px);
    position: absolute;
    bottom: -70px;
    border: var(--border-color) solid;
    border-width: 0 1px 1px;
    border-radius: 0 0 var(--br-xxl) var(--br-xxl);
    margin-left: calc(-1 * var(--pm-xxl));
    z-index: -2;
}

#html-footer #footer:before {
    content: '';
    background: var(--circles-left), var(--back);
    width: 390px;
    height: 16px;
    position: absolute;
    bottom: -8px;
    left: calc(50% - 200px);
}

#html-footer #footer:after {
    content: '';
    background: var(--circles-left);
    width: 60px;
    height: 16px;
    position: absolute;
    bottom: -8px;
    right: calc(50% - 200px);    
    transform: rotateY(180deg);
}

/* D8.12 */
#html-footer #footer #footer_b {
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    gap: 8px;
    margin: 42px var(--pm-xxl) var(--pm-l);
    padding: 0 0 8px;
}

#html-footer #footer #footer_b::-webkit-scrollbar, #html-footer #footer #footer_b::-webkit-scrollbar-thumb:horizontal {
    border-radius: 4px;
    height: 4px;
    border: none;
}

#html-footer #footer #footer_b a {
    height: 31px;
}

/* D8.13 */
#html-footer #footer_b 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: '\f219';
    font-family: 'Font Awesome 5 Pro';
    vertical-align: middle;
    font-size: 65%;
    margin-right: 8px;
    font-weight: 400;
}

.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: 400px;
        max-width: 756px;
    }
  
    #pun {
        width: auto;
        max-width: 756px;
        min-width: 400px;
        margin: auto;
    }
  
    #pun .punbb {
        width: auto;
        height: auto;
        font-size: 16px;
        padding: 0;
        margin: 310px 0 0;
        border: var(--border-color) 1px solid;
        border-radius: 0;
    }
  
    .go-up, .go-down {
        display: none;
    }
  
  
    #pun-navlinks {
        width: 100%;
        left: 0;
        border: none;
        height: 42px;
        padding: 0;
        border-radius: 0;
        top: -1px;
    }
  
    #pun-navlinks .container {
        display: flex;
        justify-content: space-evenly;
        height: 36px;
        align-items: center;
        padding: var(--pm-s) var(--pm-l);
    }

  
    #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';
    }
  
    .punbb #pun-navlinks #form-login {
        left: -370px;
    }

    #pun-navlinks #New-exit img {
        height: 16px;
        margin-top: 3px;
    }
  
    #pun-navlinks #navextra1_child {
      /*top: 68px;*/
    }
  
    #header-logo {
        grid-template-columns: 140px calc(50% - 140px) 50%;
        grid-template-rows: 40px 40px 140px 62px;
        top: -293px;
        padding: 10px 10px 0;
        width: calc(100% - 20px);
        margin: 0;
        gap: 0;
    }
    
    #header-logo #header-center, #header-logo #header-right, #header-logo #header-left:after, #header-logo #news:before, #header-logo #news:after {
        display: none;
    }
    
    #header-logo > a.gem {
        grid-area: 1 / 1 / 2 / 3;
        align-self: start;
        justify-self: center;
        height: 32px;
        margin: 0;
    }
   
    #header-logo #logo {
        grid-area: 3 / 1 / 4 / 2;
        width: 140px;
        height: 140px;
    }
   
    #header-logo > a.home {
        grid-area: 1 / 3 / 2 / 4;
        height: 32px;
        align-self: start;
        justify-self: center;
        margin: 0 0 0 10px;
    }
   
    #header-logo #header-left {
        border: none;
        padding: 0;
        width: 100%;
        display: contents;
    }
   
    #header-logo #header-left #wanted {
        grid-area: 3 / 2 / 4 / 4;
        width: calc(100% - 20px);
        justify-content: space-around;
        margin: 0 0 0 20px;
    }
    
    #header-logo #header-left #wanted img.active {
        margin: -10px;
    }
   
    #header-logo #header-left #wanted p {
        height: 50px;
        overflow: hidden;
        line-height: 14px;
        margin-top: 10px;
    }
    
    #header-logo #header-left #navigation {
        grid-area: 2 / 1 / 3 / 4;
        margin: 0;
        flex-wrap: wrap;
        width: 100%;
        gap: 6px 12px;
        align-self: start;
        justify-content: center;
    }
    
    #header-logo #navigation a {
        font-size: 14px;
        line-height: 14px;
    }
    
    #header-logo #news {
        grid-area: 4 / 1 / 5 / 4;
        margin: 12px -11px 0;
        border-radius: 0;
        overflow: auto;
        gap: var(--pm-m);
        padding: 0 var(--pm-l);
        height: 50px;
    }
    
    #header-logo #news a {
        flex-shrink: 0;
    }
    
    


  
    #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;
        left: 0;
        border: none;
        margin: 0;
        padding: 0 var(--pm-m) var(--pm-m);
    }
  
    #pun-ulinks.fixed {
        height: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        top: 34px;
        padding-bottom: 6px;
        text-align: center;
        border-radius: 0;
        margin-left: -1px;
  }
  
    #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-status .container {
        display: grid;
        grid-template-columns: 42px auto;
        grid-template-rows: auto;
        gap: 0 8px;
    }
    
    #pun-status .container #u-ava {
        grid-area: 1 / 1 / 3 / 2;
    }
    
    #pun-crumbs1 {
        margin: var(--pm-m) 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;
        background-position-x: center;
        background-size: auto;
  }
  
  #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: 0 var(--pm-l) var(--pm-m);
    }
  
  #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;
    }
  
  #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 {
      margin: 0 var(--pm-l) 20px;
  }
  
  #pun-stats .statscon {
      padding: 0;
  }
  
  #pun-stats .container {
      padding: 0 var(--pm-l);
      gap: var(--pm-m) var(--pm-l);
      justify-content: space-evenly;
  }
  
  
  #html-footer #footer {
      width: 100%;
      left: -1px;
      margin: 0;
  }
  
  #html-footer #footer #footer_b {
      margin-left: var(--pm-l);
      margin-right: var(--pm-l);
  }
  
  #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;
        font-size: 16px;
        height: auto;
        line-height: 18px;
        gap: var(--pm-m);
    }
    
    .punbb .linksb {
        flex-wrap: nowrap;
    }
    
    #pun-viewtopic .linksb {
        flex-wrap: wrap;
    }
    
    .linkst .postlink.long, .linksb .postlink.long {
        display: flex;
        flex-wrap: wrap;
        justify-content: end;
        gap: var(--pm-m);
    }
    
    .postlink.long .new-topic {
        padding-right: 0!important;
    }
  
  #pun-viewtopic .linkst, #pun-viewtopic .linksb {
      margin: 10px 16px;
  }
  
  .postlink.long a {
      font-size: 16px;
  }
  
  #pun-main {
      padding: 8px 16px;
  }
  
  #pun-viewtopic #pun-main,  #pun-post #pun-main {
      padding: 8px 0;
  }
  
  .punbb .main table {
      width: 100%;
  }
  
  #pun-viewforum .forum, #pun-searchtopics .forum {
      border: none;
      padding: 0;
  }
  
  #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: 16px;
      line-height: 18px;
      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 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;
      width: 100%;
  }
  
  .punbb .post {
      scroll-margin-top: 80px;
      margin: 20px -1px var(--pm-xxl);
      border-radius: var(--br-xl);
  }
  
  .punbb .post h3 {
      padding: 8px 16px;
      margin-top: -18px;
      margin-left: 0;
  }
  
  .punbb .post h3:after {
      top: 10px;
  }
  
  .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: calc(100% - var(--pm-l) * 2);
        margin: 0;
        border-radius: var(--br-l);
        padding: var(--pm-l);
        border-width: 0 0 1px;
        background: var(--logo) no-repeat bottom;
        background-size: cover;
    }
  
    .punbb .post .post-author ul {
        display: grid;
        grid-template-columns: 200px 1fr 1fr;
        grid-template-rows: repeat(6, auto);
        -webkit-text-size-adjust: 100%;
        margin-top: 0;
        padding: var(--br-m);
        background: var(--profile-color);
        border: var(--border-color) 1px solid;
        border-radius: var(--br-l);
        padding: var(--pm-m);
    }
  
  #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;
      border-width: 0;
  }
  
  .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;
      text-align: left;
      font-size: 16px;
      line-height: 20px;
      padding: 0 0 2px;
      width: auto;
      background: none;
      border-width: 0;
      border-bottom: var(--forum-color) 1px dotted;
  }
      
  .punbb .post .post-author ul .pa-avatar {
      grid-area: 1 / 1 / 7 / 2;
      align-self: center;
      padding: 0;
      margin: 5px 0;
      justify-self: center;
      border: none;
  }
  
  .punbb .post .post-author ul .pa-fld2 {
      grid-area: 3 / 2 / 4 / -1;
      margin: 8px 0 0;
      text-align: left;
      font-size: 16px;
      letter-spacing: 0.5px;
      line-height: 20px;
      padding: 0;
      background: none;
      width: auto;
      border-width: 0;
  }
  
  .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:before, .punbb .post .post-author ul .pa-fld3:after {
        display: none;
    }
    
    .punbb .post .post-author ul .pa-fld3 img {
        padding: 0;
        background: none;
    }
  
  .punbb .post .post-author ul .pa-fld1 {
      width: auto;
      margin: 4px 0 8px;
      border: var(--forum-color) dotted;
      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: 0;
  }
  
  .punbb .post-box {
      padding: var(--pm-l);
      -webkit-text-size-adjust: 100%;
      font-size: 16px;
  }
  
  .punbb #topic-users-in {
      border-width: 1px 0;
      border-radius: 0;
  }
  
    #post-form {
        padding: 8px 16px;
        border-radius: 0;
        border-width: 1px 0;
        border: var(--second-border-color) solid;
    }
    
  #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 .code-box .scrollbox pre {
      white-space: pre-wrap;
  }
  
  .punbb .post-links ul {
      height: auto;
      padding: 0;
  }
  
  .punbb .post-links li a {
      font-size: 0;
      display: inline-block;
      line-height: 12px;
      background: none;
      border: none;
      padding: 2px 8px;
  }
  
    .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%;
  }
  
  
  .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 {
      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);
      padding: 16px !important;
        width: calc(100% - 34px);
  }
  
    #viewprofile table tr #profile-left #profile-name {
        grid-area: 1 / 2 / 2 / 3;
        font-size: 20px;
        padding: 0;
        line-height: 20px;
        border: none;
    }
    
    #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: 0;
      border-bottom: var(--back-color) 1px dotted;
      border: none;
      padding-left: 0;
  }
  
  #viewprofile table tr #profile-left #pa-avatar {
      grid-area: 1 / 1 / -1 / 2;
      align-self: center;
      justify-self: center;
      border: none;
      padding: 0;
  }
  
  #viewprofile table tr #profile-left #pa-avatar div {
      padding: 0;
  }
  
  #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) dotted;
      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 dotted;
      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: 0;
      border: none;
      border-radius: 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 {
    grid-area: 2 / 3 / 3 / 4;
    justify-self: end;
    align-self: end;
    padding: 0 0 12px 0;
  }
  
  #toggleButton i {
       color: var(--border-color);
  }
  
    .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) {
    #pun .punbb {
        margin-top: 380px;
    }
    
    #header-logo {
        grid-template-columns: 150px calc(100% - 150px);
        grid-template-rows: 40px 40px 70px auto 50px;
        top: -380px;
    }
    
    #header-logo > a.gem {
        grid-area: 1 / 2 / 2 / 3;
        align-self: end;
        justify-self: end;
        margin: 0;
        height: 40px;
    }
   
    #header-logo #logo {
        grid-area: 1 / 1 / 4 / 2;
        width: 150px;
        height: 150px;
    }
   
    #header-logo > a.home {
        grid-area: 2 / 2 / 3 / 3;
        height: 40px;
        align-self: start;
        justify-self: end;
    }
   
    #header-logo #header-left #wanted {
        grid-area: 4 / 1 / 5 / 3;
        width: 100%;
        margin: 20px 0 10px;
    }
    
    #header-logo #header-left #wanted p {
        height: 42px;
    }
    
    #header-logo #header-left #navigation {
        grid-area: 3 / 2 / 4 /3;
        justify-content: end;
    }
    
    #header-logo #navigation a {
        font-size: 14px;
        line-height: 14px;
    }
    
    #header-logo #news {
        grid-area: 5 / 1 / 6 / 3;
        height: 50px;
    }
    
    #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 {
        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;
    }
    
    .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;
        border-top: var(--forum-color) 1px dotted;
        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;
    }
    
    #toggleButton {
        grid-area: 1 / 1 / 2 / 2;
        justify-self: start;
        align-self: start;
        margin: -5px 0 0 -10px;
        padding: 0;
  }
}

.blob {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    border-radius: 100%;
    background-image: linear-gradient(#3D3D49A0 10%, var(--links-hover-color));
    filter: blur(250px);
    transition: all 450ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
    z-index: -1;
}