/**************************************************************
* GENERAL
* design template by max, the murderer!
* desing by shin ryujin
* code by choi yeonjun
**************************************************************/

@charset "windows-1251";
@import url('style_cs.1786033725.css');

/* Import
-------------------------------------------------------------*/

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/* Design Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


/* Variables */
:root {
    --font: 'Nunito Sans', georgia, times new roman, garamond, serif;
    --fa: 'Font Awesome 6 Pro';
    --nunito: 'Nunito Sans';
    --html-bg: url('/files/0017/55/b9/63367.png');
    --header-bg: url('/files/0017/55/b9/20386.png');
    --punWidth: 1000px;
    --col-side:145px;

  /* Базовые каналы RGB rgba(var(--), 0.15) */
  --bodybg-rgb: 254, 254, 253;      /* #fefefd тело форума */
  --accent-rgb: 163, 19, 19;         /* #a31313 категории бордовый */
  --blockbg-rgb: 235, 235, 235;     /* #ebebeb серый блоки */
  --textmuted-rgb: 91, 91, 91;      /* #5b5b5b серый текст */

  /* Готовые сплошные цвета var(--accent) */
  --bodybg: rgb(var(--bodybg-rgb)); /* var(--bodybg) */
  --accent: rgb(var(--accent-rgb)); /* var(--accent) */
  --blockbg: rgb(var(--blockbg-rgb)); /* var(--blockbg) */
  --textmuted: rgb(var(--textmuted-rgb)); /* var(--textmuted) */

    --light: 255 255 255;
    --primary: 132 148 160; 
    --secondary: 166 166 159; 

}


/*==================== Профиль  ==============================*/
.pr {
    box-sizing: border-box;
    width: 240px;
    height: 100%;
    border-radius: 10px;
}
.pr::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /*   border-bottom: 50px solid rgb(136 37 42); */
    border-radius: 0 0 10px 10px; 
    z-index: 0; 
}

.pr1 {background: linear-gradient(to bottom, transparent 0%, rgb(38 25 25 / 60%) 30%, rgb(104 46 49) 70%) no-repeat center / 100% 100%, url(https://i.pinimg.com/736x/c6/ab/46/c6ab46eeb52793964ff54e7e630a0fde.jpg) no-repeat center / cover;}
.pr1::after {background-color: rgb(136 37 42);}

/* General
-------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
}

html {
    padding: 30px 0;
    font: normal 70%/140% 'Nunito Sans', verdana, arial, tahoma, trebuchet ms, sans-serif;
    background: var(--html-bg) no-repeat center center / cover fixed, #dddfdc; 
    color: #383838;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0 auto; 
    padding: 0;
    width: 1000px;
}

#pun {
    width: var(--punWidth);
    margin: 40px auto;
}

.punbb {
    padding: 0;
    border-radius: 13px;
    position: relative;
    padding: 417px 0px 0px;
    background: var(--header-bg) top center no-repeat,  var(--bodybg);
}

.punbb .container {
    padding: 1.4em 0;
}

.punbb .container::after,
#viewprofile-next::after,
.post-body::after,
.linkst::after {
    clear: both;
    content: '';
    display: block;
    visibility: hidden;
}

.fs-box {
    padding: 8px 0;
}

.hashelp {
    position: relative;
}


/* Footer
------------------------------------------------------------------ */

#html-footer {
    height: 113px;
    background: url(http://forumstatic.ru/files/0017/55/b9/29665.png);
}

#html-footer .container {
    padding: 0 0 30px;
}


#pun-about  {
    padding: 0 20px;
    text-align: right;
}
#pun-about .container {
    padding: 0;
    font-size: 9px;
    text-transform: lowercase;
}


/* Status Crumbs Links ...
------------------------------------------------------------------ */

#pun-status {
    height: 0px;
    position: absolute;
    top: 15px;
}

#pun-status .container {
    font-size: 8px;
    line-height: 1.7;
    text-transform: lowercase;
    padding: 0 10px 0 0;
    display: grid;
    text-align: right;
    position: relative;
    left: 770px;
    width: 200px;
    z-index: 3;
}

#pun-status .container .item1 strong {
    color: var(--accent);
    font-weight:normal;
}

#pun-status .container .item2 strong {
    color: var(--accent);
    font-weight:normal;
}

/* Crumbs */

#pun-crumbs1 .container,
#pun-crumbs2 .container {
    font-size: 10px;
    text-transform: lowercase;
    padding: 10px 50px;
    color: #222;
    line-height: .6;
    text-align: center;
}

#pun-crumbs1 .container {margin-top:10px;margin-bottom: 10px;}

#pun-crumbs2 .container {margin-bottom:40px;}
#pun-index #pun-crumbs2 .container {margin-bottom:0px;}

#pun-crumbs1 .container a,
#pun-crumbs2 .container a {
    font-weight: 700;
}

.crumbs em {
  display: inline-block;
  font-style: normal;
  font-size: 0px;
}

.crumbs em::after {
  content: "*"; 
  font-family: var(--fa);
  font-size: 12px!important;
  margin: 0 8px 0 4px;
  padding:0;
  color: var(--accent);
}
.crumbs span {
    color: var(--accent);
    font-weight: bold;
    padding: 0 5px;
}


/* Links */

a,
body #pun-admain a,
body #pun #pun-adnav ul.adsubnav a {
    text-decoration: none;
    color: #333;
}

a:hover,
a:focus,
body #pun-admain a:hover,
body #pun-admain a:focus,
body #pun #pun-adnav ul.adsubnav a:hover,
body #pun #pun-adnav ul.adsubnav a:focus {
    text-decoration: none;
    color: var(--accent);
}


/* Headlines */

h1,
h2 {
    position: relative;
    padding: 10px 0;
    text-align: center;
    margin: 0;
}

#pun-index h2 {
    padding: 10px 0 0;
    height: 38px;
    width: 924px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
}

#pun-index h2 span { 
     box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    width: 345px;
}

/* заголовки категорий */    
.category.category-1 h2 {  /* 0 */       
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-2 h2 {   /* 1 */         
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-3 h2 {    /* 2 */     
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-4 h2 {   /* 4  */      
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-5 h2 {    /* 5  */     
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-6 h2 {   /* 6  */      
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-7 h2 {    /* 7  */     
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-8 h2 {   /* 3 */      
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
   
#pun-stats h2 {   /* 8 */      
    background: url() no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }

h1 span,
h2 span {
    display: inline-block;
    background: #fff;
    text-transform: uppercase;
    padding: 4px 10px;
    line-height: 10px;
    border-radius: 50px;
    font-size: 12px;
    color: #000;
    font-weight: 600;
    margin-top: 20px;
    z-index: 3;
    position: relative;
}

#pun-messages h2 {
    text-align: left;
}

.punbb legend span {
    font-size: 9px;
    color: #222;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;

}

/* jGrosl fix */

#jGrowl h2 {
    border: none;
    margin: 0;
    text-align: left !important;
}

#jGrowl h2 span {
    background: none;
    font: inherit;
}

#jGrowl td {
    padding: 8px 0 0;
}


/* Tables */

table {
    width: 100%;
    border-spacing: 0;
}

td,
th {
    padding: 12px 16px;
}

/* Rusff reputation fix */

.tipsy-inner #respect td {
    padding: 0;
}

th {
    font-size: 0.8rem;
    text-align: left;
    padding: 4px 16px;
}

.punbb:not(#pun-index, #pun-mod, #pun-online, .punbb-admin) .tcl {
    width: 45%;
}

.punbb:not(#pun-index, #pun-mod, .punbb-admin) .tc2 {
    width: 15%;text-align: center;
}

.punbb:not(#pun-index, #pun-mod, .punbb-admin) .tc3 {
    width: 10%;text-align: center;
}

.punbb:not(#pun-index, #pun-mod, .punbb-admin) .tcr {
    width: 30%;
}

.punbb:not(#pun-index, #pun-mod, .punbb-admin) .tcr > a {
    display: inline-block;
    margin-top: 8px;
}

.punbb#pun-searchtopics td.tc2,
.punbb#pun-searchtopics th.tc2 {
    width: 15%;
}

.punbb#pun-searchtopics td.tc3,
.punbb#pun-searchtopics th.tc3 {
    width: 10%;
}


/* Inputs */

.inputfield label,
.selectfield label {
    font-size: 10px;
    display: inline-block;
    font-weight: 400;
    text-transform: lowercase;
}

.inline .inputfield,
.inline .selectfield {
    display: inline-block;
}

.punbb .fs-box p,
.punbb .fs-box fieldset {
    padding: 0 0 8px 0;
}

input,
textarea,
#pun #sTheme {
    padding: 6px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 50px;
    color: #444;
    font: normal 1rem / 130% 'Nunito Sans', verdana, arial, tahoma, trebuchet ms, sans-serif;
    margin: 0 5px 5px 0!important;
    max-width: 100%;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
}
textarea {border-radius: 10px;}
select {
    background: #fff;
    color: #222;
    font-family: 'Nunito Sans', verdana, arial, tahoma, trebuchet ms, sans-serif;
    padding: 4px 6px;
    margin: 0 4px 4px 0 !important;
    border-radius: 50px;
    max-width: 100%;
    font-size: 10px;
    text-transform: lowercase;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
}

select option {
    background: #fff;
}

select:hover {
    cursor: pointer;
}

::placeholder {
  color: rgb(38, 38, 38 / .38);
  opacity: 1; /* Firefox */
}


/* Checkboxes & Radiobuttons */

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    margin: 0 2px!important;
    border-radius: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 0;
}

input[type="radio"] {
    border-radius: 6px;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    cursor: pointer;
    background: #666;
}

input[type="checkbox"]:checked {
    background: #333;
}

input[type="radio"]:checked:hover {
    cursor: default;
}

input[type="radio"]:checked {
    background: #333;
}

input[type="radio"]:checked::before {
    content: '\f00c';
    font: 900 9px / 100% var(--fa);
    color: rgb(255 255 255);
    font-weight: bold;
}

input[type="checkbox"]:checked::before {
    content: '\f00c';
    font: 900 9px / 100% var(--fa);
    color: rgb(255 255 255);
    font-weight: bold;
}

input[type="checkbox"]:checked:hover {
    background: rgb(179 179 179);
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
    line-height: 100%;
    vertical-align: middle;
}

.radio label,
.checkfield label {
    padding: 0 8px 0 4px;
    color: var(--accent);
    text-transform: lowercase;
}

.checkfield label {
    line-height: 120%;
}

.radio *:hover,
.checkfield *:hover {
    cursor: pointer;
}


/* Buttons */

button,
.button,
input[type="button"],
input[type="submit"] {
    border-radius: 100px;
    background: #ededed;
    color: #222;
    margin: 2px !important;
    font-family: 'Nunito Sans', verdana, arial, tahoma, trebuchet ms, sans-serif !important;
    line-height: 100%;
    font-size: 11px;
    text-transform: lowercase;
    transition: all .2s ease;
    padding: 5px 15px;
}

button[disabled],
.button[disabled],
input[disabled] {
    background: #ededed;
    color: #c3c3c3;
}

.button[name="preview"],
.button.full,
.button.cancel,
.button[name="cancel"] {
    background: #fff;
    color: #222;
}

.formsubmit input, 
.formsubmit a,
.formsubmit span {
    margin: 0 8px 0 0;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: #cfcdcd;
    cursor: pointer;
}

button:active,
.button:active,
input[type="button"]:active,
input[type="submit"]:active {
    background: #cfcdcd;
    cursor: pointer;
}

button[disabled]:hover,
.button[disabled]:hover,
input[disabled]:hover {
    background: #ededed;
    color: #c3c3c3;
}

#pun #sTheme {
    height: 24px;
}

.punbb .main {
    padding: 0px 23px;
}

#pun-main > h1 > span {
    margin: 0;
}

/* Hide elements
-------------------------------------------------------------*/

.punbb:not(.punbb-admin) #pun-title,
#pun-title .title-logo-tdl,
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#pun-index h1,
#pun-announcement h2,
.punbb :not(#pun-statistic) #pun-main h1,
#pun-crumbs1 .container strong,
#pun-crumbs2 .container strong,
#pun-index thead,
#pun-status .item4,
.acchide,
#pun-userlist h1,
#pun-userlist h2,
#pun-profile h2,
#pun-viewtopic h2,
#post fieldset legend > span,
.sharelink,
#formkey,
#formetc,
#pun-searchposts h1,
#pun-searchposts h2,
#pun-searchtopics h1,
#pun-searchtopics h2,
#pun-modviewforum h1,
#pun-modviewforum h2,
#pun-viewforum h1,
#pun-viewforum h2,
.punbb .submitfield label,
.pa-gifts,
.gid5 #navprofile,
.post-sig dt,
#pun-navlinks #navawards,
#pun-navlinks #navrules,
.modlist,
.tclcon:has(.modlist) > br:last-of-type,
#pun-ulinks #h-unanswered,
.pl-email.email,
.catleft,
.catright,
#pun-premoderation .pa-title,
#pun-premoderation .pa-ua,
#pun-premoderation .pa-posts,
#pun-premoderation .pa-respect,
#pun-premoderation li[class^="pa-fld"],
#pun-premoderation h2,
#pun-viewtopic .linksb .postlink,
.inputfield:has(.social) {
    display: none;
}


/* Navigation
-------------------------------------------------------------*/

/* Navlinks */



.punbb:not(.punbb-admin) #pun-navlinks {
position: absolute;
    top: 0;
    z-index: 1;
    height: 0;
    width: 1000px;
}

#pun-navlinks .container {
    position: absolute;
    padding: 5px 210px 5px 120px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    top: 15px;
    border-width: 1px;
    border-color: rgb(160, 160, 159);
    border-style: solid;
    background-color: rgba(161, 161, 161, 0.612);
    height: 28px;
    border-radius: 50px;
    margin-left: 25px;
    max-width: 950px;
}


#pun-navlinks li {
    list-style: none;
    display: inline-block;
}

#pun-navlinks li a {
    font-weight: bold;
    font-size: 10px;
    line-height: 1;
    display: inline-block;
    color: var(--textmuted);
    text-transform: uppercase;
    padding: 4px;
}
/*
#pun-navlinks li a:hover,
#pun-navlinks li a:focus {}

#pun-navlinks .container li span {
    font-size: 0;
}

#navindex span::after      { content: "home"; font-size: 12px; }
#navuserlist span::after   { content: "users"; font-size: 12px; }
#navsearch span::after     { content: "search"; font-size: 12px; }
#navprofile span::after    { content: "profile"; font-size: 12px; }
#navpm span::after         { content: "mess."; font-size: 12px; }
#navadmin span::after      { content: "ams"; font-size: 12px; }
#navlogout span::after     { content: "logout"; font-size: 12px; }
#navregister span::after         { content: "reg."; font-size: 12px; }
#navlogin span::after      { content: "login"; font-size: 12px; }
#navpr_1 span::after     { content: "pr"; font-size: 12px; }
#navprofiles span::after {    content: "accounts";    font-size: 12px;} */ 

/* Ulinks */

#pun-ulinks {
    z-index: 5;
    position: relative;
    bottom: 24px;
    width: 1000px
}

#pun-ulinks .container {
    padding: 0;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pun-ulinks li {
    list-style: none;
    display: inline-block;
}

#pun-ulinks li a {
    display: inline-block;
    text-transform: lowercase;
    font-size: 10px;
    color:#dee6eb;
    font-weight: 500;
    padding: 2px 4px;
}

#pun-ulinks li a:hover,
#pun-ulinks li a:focus {
    color: var(--accent);
    background: none;
}


/* Index
-------------------------------------------------------------*/

/* Categories & forums */

#pun-index .category .container {
    padding: 0;
    background: var(--blockbg);
    border-radius: 0 0 20px 20px;
    width: 924px;
    margin: 0 15px 30px;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.13);
}

    
#pun-index .category tr {
    display: flex;
    flex-direction: row;
    gap: 0;
    box-sizing: border-box;
    position: relative;
    margin: 0 auto;
    align-items: center;
}

#pun-index .category tr td {
    padding: 0;
}

#pun-index .category table {
    padding: 0 35px;  
}

#pun-index .main table {
    table-layout: fixed;
    width: 100%;
}

.punbb .main td {
    padding: 10px;
}

#pun-index .category .intd {
    font-size: 9px;
    text-transform: lowercase;
    color: #444;
    line-height: 120%;
}

#pun-index .category tr .tcl {
    width: 66%;
    padding: 20px 30px 20px;
    border-right: 1px solid var(--accent);
}


#pun-index .category tr .tc2,
#pun-index .category tr .tc3 {
    display: none;
}

#pun-index .category tr h3 a {
    font-size: 16px;
    color: var(--accent);
    letter-spacing: -1px;
    display: inline-block;
    text-transform: uppercase;
    padding-bottom: 2px;
    margin-bottom: 4px;
}
#pun-index .category tr h3 a:hover {color: #222;}

/* Главный контейнер ячейки превращаем в Грид */
#pun-index .category tr .tcr {
    width: 34%;
    padding-left: 50px;
    display: grid;
    grid-template-columns: auto 1fr; 
    align-items: center; 
    gap: 0 12px; 
}

#pun-index .category tr .tcr br {
    display: none;
}

#pun .user-avatar {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-shrink: 0;
    align-self: center;
}

#pun-index .category tr .tcr .lastpost-link {
    grid-column: 2;
    grid-row: 1;
    font-weight: 700;
    text-transform: lowercase;
    color: #5b5b5b;
}

#pun-index .category tr .tcr .lastpost {
    grid-column: 2;
    grid-row: 2;
    display: block;
}

#pun-index .category tr .tcr .datetime,
#pun-index .category tr .tcr .byuser {
    text-transform: lowercase;
    font-size: 10px;
    color: #6a6a6a;
}




#pun-viewforum .category .container {
    padding: 10px 20px !important;
    border-radius: 10px;
}

#pun-viewforum .category .container .tc2,
#pun-viewforum .category .container  .tc3 {
display: none;
}


/* Statistics */

#pun-stats {
    padding: 0 38px 5px;
}

#pun-stats .container {
list-style: none;
    /* display: flex; */
    flex-direction: column;
    text-transform: lowercase;
    background: var(--blockbg);
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto auto;
    grid-template-areas:"onlinelist statsinfo" "users_24h statsinfo";
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.13);
}

#pun-stats .container::after {
    display: none;
}

#pun-stats .statsinfo {
    display: flex;
    padding: 5px 10px;
    gap: 5px;
    grid-area: statsinfo;
    flex-direction: column;
    align-items: flex-start;
    grid-area: statsinfo;
}

#pun-stats .statsinfo li {
    line-height: 15px;
    padding: 0;
    /* flex-grow: 1; */
    font-size: 10px;
    color: #5b5b5b;
    height: 10px;
}

#pun-stats .statsinfo li.item4 {
    flex-shrink: 0;
}

#pun-stats .statsinfo li.item4 a {
    color: var(--accent);
}

#pun-stats .statsinfo li strong {
    font-weight: 600;
    color: var(--accent);
}

#pun-stats .onlinelist {
    padding: 0;
    margin: 5px 50px 0;
    color: #5b5b5b;
    text-align: justify;
    grid-area: onlinelist;
    font-size: 10px;
}

#pun-stats .users_24h {
    padding: 0;
    margin: 0 50px;
    color: #5b5b5b;
    text-align: justify;
    grid-area: users_24h;
    font-size: 10px;
}

#pun-stats #onlinelist div a, #pun-stats #onlinelist div span a {
    color: var(--accent);    
    font-weight:600;
}
#pun-stats #onlinelist div a:hover, #pun-stats #onlinelist div span a:hover {
    color: #222;
}



/* Forum, Userlist, Statistic list
-------------------------------------------------------------*/

/* Table */

#pun-viewforum table,
#pun-modviewforum table,
#pun-searchtopics table,
#pun-userlist table,
#pun-statistic table,
#pun-respect table,
#pun-positive table,
#pun-messages #messages table,
.profile-awards-container table {
    overflow: hidden;
}

#pun-viewforum table tr,
#pun-modviewforum table tr,
#pun-searchtopics table tr,
#pun-userlist table tr,
#pun-statistic table tr,
#pun-respect table tr,
#pun-positive table tr,
#pun-messages #messages table tr,
.profile-awards-container table tr {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

#pun-viewforum table th,
#pun-modviewforum table th,
#pun-searchtopics table th,
#pun-userlist table th,
#pun-statistic table th,
#pun-respect table th,
#pun-positive table th,
#pun-messages #messages table th,
.profile-awards-container table th {
    text-transform: lowercase;
    font-weight: 400;
}

#pun-userlist tr .tcl,
#pun-viewforum tr .tcl .intd,
#pun-modviewforum tr .tcl .intd,
#pun-searchtopics tr .tcl .intd,
#pun-messages #messages tr .tcl .intd,
#pun-userlist tr .tcl .intd {
    display: flex;
    align-items: center;
    gap: 12px;
}

#pun-viewforum table tr.inew strong,
#pun-modviewforum table tr.inew strong,
#pun-searchtopics table tr.inew strong {
    font-weight: 400;
}

#pun-viewforum table tr.inew a,
#pun-modviewforum table tr.inew a,
#pun-searchtopics table tr.inew a {
    font-weight: 700;
}

#pun-viewforum table .tcr a,
#pun-modviewforum table .tcr a,
#pun-searchtopics table .tcr a {
    text-transform: lowercase;
    line-height: 1;
}

#pun-viewforum .forum .tclcon a {    
    width: fit-content;
    font-size: 12px !important;
    font-weight: 500;
    text-decoration: none;
    display: block;
    text-transform: lowercase;
}
#pun-viewforum .forum .byuser-username {
    font-size: 10px;
    color: #ababab;
    margin-left: -3px;
}

#pun-viewforum .forum .tclcon .pagestext, .newtext {
    font-size: 10px;
    display: inline-flex;
    flex-direction: row;
    color: #bbb;
}

#pun-viewforum .forum .tclcon .pagestext a, #pun-viewforum .forum .tclcon .newtext a {
    font-size: 9px !important;
}

#pun-viewforum .forum tbody .tc2, #pun-viewforum .forum tbody .tc3 {
    font-size: 9px !important;
    color:#ccc;
}

.punbb:not(#pun-index) .last-post-info {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}
.last-post-info a {font-size: 10px!important;}

.profile-awards-container th,
.profile-awards-container td {
    width: 20% !important;
}

.profile-awards-container td {
    padding: 16px;
}

th input[type="checkbox"] {
    margin: 0 !important;
}

#pun-messages #messages td.tc2.pmtc22 {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

#pun-messages #messages table thead {display:none;}

#pun-userlist table tr,
#pun-statistic table tr {
    text-transform: lowercase;
}


#userlist .fs-box.inline .inputfield {display:none;}

.usertable {

}

.usertable .container {
    padding: 0px 10px;
}
.usertable table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px; /* расстояние между карточками */
    font-size: 10px;
    color: #222;
}
.usertable table thead {display:none;}

.usertable th {
    display: none;
}
.usertable tbody tr {
    display: grid;
    grid-template-columns: 2fr 4fr 1fr 1fr 2fr 2fr; 
    align-items: center;
    padding: 5px 5px!important;
}
.usertable tbody td {
    padding: 0px 5px!important;
}

.usertable .usersname span {line-height: 1;}

.usertable .usersname a {
    text-transform: lowercase;
    line-height: 10px;
}

.usertable .user_title {
    color: #555;
    line-height: 1;
    font-style: italic;
}
.usertable .tc3 {
    text-align: center;
    font-weight: 500;
    color: #222;
}


/* Statistic list */

#pun-statistic .main .container {
    padding: 0 0 16px 0;
}

.punbb#pun-statistic .tcl {
    width: 40%;
}

.punbb#pun-statistic .tc2,
.punbb#pun-statistic .tc3 {
    width: 15%;
}

/* страница активны */
.online-list .container {
    padding:10px;

}
.online-list table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
    color: #444;
}


.online-list table .tcl.username {width: 30%!important;}
.online-list table .tcl.action {    text-transform: lowercase;}
.online-list table .tc3 {width: 15%;}


.online-list td {
    padding: 8px 12px;
    vertical-align: middle;
}

/* Links */

.punbb:not(.punbb-admin) .pagelink,
.punbb:not(.punbb-admin) .postlink {
    display: inline-block;
    margin: 4px 0;
    text-transform: lowercase;
}

.punbb:not(.punbb-admin) .postlink {
    float: right;
    width: unset;
}

.punbb:not(.punbb-admin) .postlink a {
font-weight: normal;
    background: #222;
    padding: 0 15px;
    border-radius: 50px;
    color: #fff;
    font-size: 10px;
}


/* Paginator */

.punbb:not(.punbb-admin) .pagelink {
    display: inline-block;
    padding: 0 0 0 6px;
    text-transform: lowercase;
    font-size: 8px;
    font-weight: bold;
    border-radius: 100px;
    border-width: 1px;
    border-color: rgb(160 160 159 / 35%);
    border-style: solid;
    background-color: rgb(161 161 161 / 22%);
}

.punbb:not(.punbb-admin) .pagelink a {
    display: inline-block;
    padding: 2px 3px;
    color:var(--accent);
    font-weight:bold;
}

.punbb:not(.punbb-admin) .pagelink span {
    margin: 0 4px;
}

.punbb:not(.punbb-admin) .pagelink strong {
    display: inline-block;
    padding: 2px 3px;
    font-size: 10px;
}

/* Icons */

.punbb div.icon {
    position: relative;
    display: inline-flex;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    background: url(http://forumstatic.ru/files/0017/55/b9/97919.png); 
    align-self: start;
    margin: 4px 0 0 0;
}

.punbb tr.inew div.icon {
    background: url(http://forumstatic.ru/files/0017/55/b9/55400.png); 
}

.punbb tr .stickytext,
.punbb tr .closedatafield {
    font-size: 0;
    display:none;
}

.punbb tr .stickytext::before,
.punbb tr .closedatafield::before {
    content: 'imp';
    display: inline-block;
    font-size: 9px;
    background: #222;
    color: #fff;
    font-weight: 700;
    line-height: 100%;
    padding: 0 4px 2px;
    margin: 0 4px 0 0;
    border-radius: 50px;
}

.punbb tr .closedatafield::before {
    content: 'cls';
}

#pun-index tr div.icon {
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    float: left;
    background: url(http://forumstatic.ru/files/0017/55/b9/60577.png);
    position: absolute;
    top: 15px;
    left: -15px;
}
#pun-index tr.inew div.icon {
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    float: left;
    background: url(http://forumstatic.ru/files/0017/55/b9/36150.png);
    top: 15px;
    left: -15px;
}

/* Profile page
-------------------------------------------------------------*/

#profilenav {
    display: inline-block !important;
    float: left;
    width: 12em;
    margin-left: -12em;
    padding: 10px;
}

#viewprofile-next #profilenav {
    padding-top: 16px;
}
#viewprofile {      
    padding: 10px 20px;
    border-radius: 20px;
    background: var(--blockbg);
}

#viewprofile td {
    border: 0;
    overflow: hidden;
    list-style: none!important; }

#profilenav li {
    list-style: none;
    text-transform: lowercase;
}

#profilenav li a {
    display: inline-block;
    margin-bottom: 2px;
    color: #333;
}

#profilenav li.isactive a {
    font-weight: 700;
    color: var(--accent);
}

#viewprofile-next {
    padding: 10px 12em 10px 12em;
}

#profile > .container {
    padding: 10px 10px 10px 12em;
}

#pun-messages #profile > .container {background: transparent;}
#pun-messages .post-body {    width: 500px;}
#pun-messages .pa-reg,
#pun-messages .pa-title,
#pun-messages .post-author::before {display:none;}
#pun-messages .post-author {margin-top: 30px;}

/* Левая колонка */
#profile-left {
  width: 230px!important;
  text-align: center;
  border-radius:7px;
  padding: 30px !important;
}

#profile-left li {
  list-style: none;
  margin: 12px auto !important;
}

#profile-name strong {
  display: block;
  font-size: 14px!important;
  margin-bottom: 4px;
}

#profile-title{
    font-size: 8px;
    text-transform: lowercase;
    line-height: 90%;
    position: relative;
    font-style: normal!important;
    margin: 0 auto;
    width: fit-content;
    max-width: 180px;
    padding: 3px 7px!important;
    margin-bottom: 5px;
    text-align: center;
}

#pa-avatar img {
  border-radius: 10px;
  max-width: 180px;
  height: auto;
}

/* Онлайн */
#pa-online strong {
  display: inline-block;
  padding: 4px 8px!important;
  border-radius: 4px;
  font-size: 8px;
}

#pa-edit {
    display: none;
}

#profile-right {
    width: 580px!important;
    padding: 0 0px 0 30px !important;
}

#user-topics {display: none;}

#profile-right li {
    margin-bottom: 5px;
    text-transform: lowercase;
    padding: 5px 20px;
    border-radius: 50px;
    color: #444;
}

#profile-right li > span {
    display: inline-block;
    width: 13.5em;
    font-weight: bold;
}

#profile-right li > strong {
    font-weight: 400;
}

#profile-right li > strong > a {
    font-weight: 700;
}

#pa-posts strong,
#pa-email strong {font-size: 10px;}

/* Set moderator permissions */

#setmods dl dl {
    padding: 0 8px;
    background: rgb(var(--secondary) / .2);
    margin-bottom: 8px;
    border-radius: 8px;
}

#setmods dl dl:hover {
    background: rgb(var(--secondary) / .38);
}

#setmods dt {
    font-weight: bold;
    display: inline-block;
    width: 20%;
    vertical-align: top;
    padding: 8px;
}

#setmods dd {
    display: inline-block;
    padding: 8px;
}

#setmods dd div {
    display: block;
}

div.checkfield .sub {
    margin-left: 0 !important;
}

div.checkfield:has(.sub) {
    margin-left: 24px;
}


/* Topic
-------------------------------------------------------------*/

.post .container {
    padding: 10px 0 0;
    margin: 16px 0;
    width: 100%;
    display: flex;
    flex-flow: wrap;
    gap: 16px;
    border-radius: 7px;
    background: #fff;
}


.post-body {
    padding: 30px 5px 5px 10px;
    box-sizing: border-box;
    width: 670px;
}

.post-links {
    width: 100%;
    text-align: right;
    font-size: 11px;
    padding: 0 15px;
}
.post-links a {
    color: #555;
}

.post-content {
    padding: 8px 0 16px;
    word-break: break-word;
}

.post-content img,
.post-sig img {
    max-width: 100%;
}

#poll-special td {
    padding: 4px;
}


.post-links li {
    display: inline-block;
}

@media (max-width: 1000px) {
.post-links li {
    display: inline-block;
    padding-right: 10px;
} }

.post-links li a {
    text-transform: lowercase;
}

.post-links .pl-email,
.post-links .pl-website {
    float: left;
}

.post-links .pl-email a {
    margin: 0 8px 0 0;
}

.post-links li a:not(.pl-email a) {
    margin: 0 0 0 4px;
}

.post-links li.approve {
    margin-left: 4px;
}

.modmenu {
    text-transform: lowercase;
    color: #555;
}

#topic-modmenu span,
.forum ~ .modmenu span {
    float: right;
    display: none;
}

#topic-modmenu .container {
    text-transform: lowercase;
    padding: 0;
}

.subscribelink {
    text-align: right;
    text-transform: lowercase;
    font-weight: bold;
}
.subscribelink::before {
    content:'+';
    font-family:var(--fa);
    padding-right: 5px;
    color: #939393;
}

.subscribelink a {
    color: rgb(143 143 143);
    background: #fff;
    border-radius: 20px;
    padding: 2px 5px;
    font-size: 10px;
}

#topic-users-in {
    text-transform: lowercase;
    color: #a3a3a3;
    font-weight: 600;
}

#topic-users-in p span {
    color: rgb(86 86 86);
}
#topic-users-in p a {}

#topic-users-in a:not(:last-child)::after {
    content: ',';
}

.punbb #profile-signature ul {
    border: none;
    padding: 0;
}

.post-sig::before,
.punbb #profile-signature ul::before {
    content: '';
    display: block;
    margin: 16px auto 8px;
    width: 30%;
}


/* Post headline */

.post h3 {
font-size: 9px;
    text-transform: lowercase;
    float: right;
    position: absolute;
    z-index: 1;
    width: 680px;
    margin-top: 16px;
    padding: 2px 15px 0;
    margin-left: 280px;
    background: rgb(var(--blockbg-rgb), 30%);
    border-radius: 6px;
}

.post h3 em {
    font-style: normal;
}

.post h3 strong {
    float: right;
    font-weight: bold;
    color: #ccc;
}

#pun-premoderation .post h3 span > em:last-child {
    padding-left: 4px;
}

.post h3 .permalink {
    color: #777;
}

/* Profile */

.post-author {
    width: 240px;
    height: 100%;
    padding: 0;
    margin: 25px 0px 0px 15px;
    position: relative;
    border-radius: 10px;
    text-align: left;
    background: #f5f5f5;
    border-top: 1px solid #ccc;
}

.post-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0px;
 width: 240px; 
  height: 100%;
  border-radius: 10px; 
  background: 
    linear-gradient(to bottom, rgba(78, 205, 196, 0) 0%, transparent 0%, rgb(173 173 173) 30%, rgb(241 241 241) 70%) no-repeat center / 100% 100%,
    url('https://i.pinimg.com/736x/58/17/5b/58175be9edb0f2261fef51eff2d04a56.jpg') no-repeat center / cover;
  box-sizing: border-box; 
}

.post-author.online::after{
content: '';
    position: absolute;
    top: 61px;
    right: 24px;
    width: 7px;
    height: 7px;
    z-index: 10;
    background: #dddddd;
    border-radius: 50%;
}

.post-author li {
    list-style: none;
    color: #616161;
}

.post-author li:not(:last-child) {
}

.punbb:not(#pun-post) .post-author .pa-author {
    height: 25px;
    box-sizing: border-box;
    line-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -25px;
    position: absolute;
    width: 204px;
    margin: 0 18px;
    border: 1px solid #ccc;
    border-radius: 10px 10px 0 0;
}

#pun-post .post-author::before,
#pun-searchposts .post-author::before {
    content: '';
    height: 0px;
}

.punbb .pa-author,
.punbb .pa-author a,
.punbb .pa-author strong {
    font-size: 14px;
    font-weight: bold;
    text-transform: lowercase;
    color: var(--accent);
    display: block;
    z-index: 3;
}

.punbb .pa-author a:hover {}

.post-author .pa-nasl {
display: flex; 
    gap: 0px;
    flex-direction: column; 
    align-items: center;
    margin: 55px auto 15px!important; /*для магазина*/
    padding: 0; 
    z-index:3; 
    width: 204px;
    background: rgba(255, 255, 255, 1);  
    border: 1px solid #ccc;  
    border-radius: 12px;  
    box-sizing: border-box;
    position: relative;
}
[data-group-id="5"] {
.pa-nasl {
    margin: 25px auto 25px!important;
}
}
.pa-title {
font-size: 8px;
    text-transform: lowercase;
    line-height: 90%;
    position: relative;
    margin: 0 auto!important;/*для магазина*/
    width: fit-content;
    max-width: 180px;
    background: #e3e3e3;
    padding: 3px 10px 2px;
    border-radius: 50px;
    text-align: center;
    top: -7px;
}

.pa-avatar {
    text-align: center;
    position: relative;
    top: 0;
    z-index: 3;
    margin-bottom: 5px!important;/*для магазина*/
}

.pa-avatar img {
    max-width: 180px;
    border-radius: 10px;
    box-sizing: initial;
}

/* соо репа и посты */
.post-author .pa-statprof {
    display: flex;
    gap: 10px;
    width: 70%;
    justify-content: center;
    padding: 0;
    margin: 5px auto 17px!important; /*для магазина*/
    box-sizing: border-box;
    font-size: 9px;
    color: #666;
    text-align: center;
    font-weight: 400;
    z-index: 3;
    position: relative;
    border-top: 1px solid #e6e6e6;
    padding-top: 8px;
}

li.pa-respect span.fld-name a, 
li.pa-respect span.fld-name, 
li.pa-posts span.fld-name {font-size: 0;}

li.pa-posts:before,
li.pa-respect .fld-name a:before,
li.pa-fld3:before {
    display: block;
    font-size: 9px;
    color: #666;    
    font-weight: 600;
}
li.pa-respect .fld-name a:before {
    content: 'likes:';
    margin-left: 5px;
}
#pun.isguest .punbb li.pa-respect .fld-name::before {
    content: 'likes:';
    margin-left: 5px;
    height: 10px;
    display: block;
    font-family: var(--fa);
    font-size: 7px;
    font-weight: 400;
    margin-bottom: 4px!important;/*для магазина*/
}

li.pa-posts:before {
    content: 'mess:';
    margin-left: 2px;
}
li.pa-fld3:before {
    content: 'rating:';
}

li.pa-posts,
li.pa-respect,
li.pa-fld3 {
text-transform: lowercase;
    line-height: 1.5;
    width: 40px;
}

li.pa-respect a[href*="relation"] {display: none;}
li.pa-fld3 br {
    display: none;
}

/*лз*/
.pa-fld1 {
    display: flex;
    margin-bottom: 25px!important; /*для магазина*/
    flex-direction: column;
    position: relative;
}

/* Стили для контента */
.pa-fld1 .alz {
    font-weight: bold !important;
    flex: 1;
    text-align: center;
    max-width: 180px;
    text-transform: uppercase;
    margin: 2px auto 10px;
    background-color: #e3e3e3;
    padding: 3px 20px 2px;
    border-radius: 20px;
    font-size: 9px;
    line-height: 9px;
    color: #555;
}

.pa-fld1 lz {
    font-size: 9px;
    color: #555;
    line-height: 1.1;
    flex: 1;
    width: 170px;
    text-align: justify;
    margin: 0 auto;
}

/* плашка */
li.pa-fld2 {
    width: 240px;
    height: 50px;
    margin: 0 auto;
    cursor: pointer;
    bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    text-transform: lowercase;
}
t1, t2 {background-color: white;
    color: #444;
    font-size: 10px;
    width: 140px;
    height: 12px;
    line-height: 12px;
    padding: 0;
    border-radius: 30px;
    text-align: center;}
t1 {font-weight: bold;}

/* фон */
li.pa-fld4 {
    position: absolute;
    top: 0;
    left: 0px;
 width: 240px; 
  height: 100%;
  border-radius: 10px; 
}

/* другие поля */
.pa-online {
    font-size: 8px;
    text-align: center;
    text-transform: lowercase;
    position: absolute;
    bottom: -17px;
    color: #888;
    width: 240px; 
}
.pa-ip {
    opacity: 0;
    font-size: 8px;
    text-align: center;
    text-transform: lowercase;
    position: absolute;
    top: 5px;
    width: 240px;
    color: #fff;
}
.pa-ip a {
    font-size: 8px;
    color:#fff;
}
.pa-ip:hover {opacity:1;transition: all 0.3s ease;}

/* Messages page */

#pun-messages #profilenav {
    float: left;
    margin-right: 32px;
}

#pun-messages #profilenav h2 {
    margin-left: 0;
    margin-right: 0;
}



/* Reply form
-------------------------------------------------------------*/

#main-reply {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 10px;
}

#post-errors ul {
    padding-bottom: 4px;
}

#post-errors li {
    list-style: none;
    padding-bottom: 4px;
}


/* Keep buttons always above textarea fix */

#post .fs-box {
    display: flex;
    flex-direction: column;
}

#post .fs-box .inputfield.required {
    order: -1;
}


/* Form tools
----------------------------------------------------------------------- */

#post-form {
    margin: 10px 0;
    border-radius: 7px;
}

#post-preview {    
    border-radius: 7px;
    background: #fff;
    padding: 0 20px;
}

#pun #post-form div.container {
    right: 0;
    margin-top: -4px;
    background: rgb(var(--light));
    border-radius: 20px;
    padding: 8px!important;
    top: unset;
    border: 1px solid rgb(var(--secondary));
    overflow: hidden auto;
    max-height: 200px;
}

#keyboard-area input {
    line-height: 100%;
}

#size-area img {
    width: 100%;
    margin-top: -20px;
}

#size-area span,
#size-area img {
    height: 20px;
}

#size-area div {
    line-height: 120%;
}

#pun #size-area span {
    width: unset;
    height: unset;
    margin: 0;
}

#pun #addition-area div {
    height: unset;
}

#size-area div:not(:last-child),
#addition-area div:not(:last-child),
#font-area div:not(:last-child) {
    margin-bottom: 4px;
}

.punbb #table-area td.selected,
.punbb #table-area td:hover {
    background: rgb(var(--primary))
}

.punbb #keyboard-span input {
    margin: 2px!important;
    background: rgb(var(--secondary) / .2);
    border: none;
    font-weight: 400 !important;
    height: 20px;
    padding: 0 4px;
}


/* Form Buttons
----------------------------------------------------------------------- */

#pun #form-buttons table,
#pun #form-buttons tbody {
    width: 100%;
    display: block;
}

.post-box form#post.container.formal {
    background: var(--blockbg);
    padding: 15px;}

#pun #form-buttons td img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#pun #form-buttons td {
    border: none;
    background: #ededed;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    transition: all .2s ease;
}

#pun #form-buttons td:hover {
    cursor: pointer;
}

#form-buttons table tr {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

#form-buttons td::before {
    font: 400 1.2rem/100% var(--fa);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    color: #666;    
    line-height: 1;
    padding: 1px 1px 2px;
}

td[id^="button-"]:hover::before {
  color: var(--accent)!important;
} 

#button-indent::before {
    content: '\f03c';
}

#button-transL::before {
    content: '\f1ab';
}

#button-font::before {
    content: '\f031';
}

#button-size::before {
    content: '\f894';
}

#button-bold::before {
    content: '\f032';
}

#button-italic::before {
    content: '\f033';
}

#button-underline::before {
    content: '\f0cd';
}

#button-strike::before {
    content: '\f0cc';
}

#button-left::before {
    content: '\f036';
}

#button-right::before {
    content: '\f038';
}

#button-center::before {
    content: '\f037';
}

#button-link::before {
    content: '\f0c1';
}

#button-spoiler::before {
    content: '\f518';
}

#button-image::before {
    content: '\f302';
}

#button-video::before {
    content: '\f144';
}

#button-hide::before {
    content: '\f30d';
}

#button-quote::before {
    content: '\f27a';
}

#button-code::before {
    content: '\f121';
}

#button-color::before {
    content: '\f53f';
}

#button-table::before {
    content: '\f009';
}

#button-smile::before {
    content: '\f118';
}
#form-buttons td#button-smile { display:none; } 

#button-sticker::before {
    content: '\f118';
}

#button-keyboard::before {
    content: '\f11c';
}

#button-addition::before {
    content: '\f0d7';
}

#button-mask::before {
    content: '\f630';
}
#button-mask{
	background: #fff !important;
}


/* Post
------------------------------------------------------------------ */

.post-content img {
    vertical-align: middle;
}

.post-content p {
    line-height: 150%;
    padding: 4px 0;
    text-align: justify;
}

.post-box .post-content ul {
    padding: 0.4rem 0 0.8rem 2.4rem;
}

.post-box {
    position: relative!important;
}

.post-box .post-content ul ul {
    padding-top: 4px;
    padding-bottom: 0;
}

.post-content li p {
    padding: 0 0 4px 0;
}

/* Selection */

::selection {
    color: #fff;
    background: #a95f5f;
}


/* Deleted text */

del {
    text-decoration: none;
    filter: blur(2px);
    transition: all .2s ease;
}

del:hover {
    filter: blur(0);
}


/* Underlined text */

.bbuline {
    font-style: unset;
    text-decoration: underline;
    text-decoration-color: rgb(var(--primary));
}


/* Highlighted text */

#pun .highlight-text, #pun mark {
    background-color: #222;
    padding: 1px 5px 2px;
    border-radius: 100px;
    font-weight: bold;
    color: #fff;
}


/* Abbreviated text */

.post-content abbr {
    text-decoration: underline dotted rgb(var(--primary));
    cursor: help !important;
}


/* Links */

.post-content a {
    font-weight: 700;
}


/* HR (divider) */

#pun .post-content hr {
    opacity: 1;
    border-top: 2px solid rgb(var(--secondary) / .2);
    margin: 8px 0;
}


/* Table */

#pun .post-content td {
    border: none !important;
    padding: 8px !important;
    vertical-align: middle;
}


/* Quote, code & spoiler */

.quote-box,
.code-box,
.spoiler-box {
    padding: 5px 15px;
    margin: 5px 0;
    position: relative;
    background: rgb(248 248 248);
    border-radius: 10px;
    border: 1px solid #ededed;
}

blockcode,
blockquote {
    overflow: hidden;
}

.code-box .scrollbox {
    width: 100%;
    overflow: hidden auto;
    height: auto !important;
    max-height: 20vh;
    padding-top: 4px;
    padding: 10px;
    border-radius: 7px;
    margin-top: 5px;
}

.code-box pre {
    font-size: 10px;
    font-family: 'Nunito Sans';
    white-space: break-spaces;
}

.quote-box cite,
.code-box strong a {
    font-style: normal;
    font-size: 10px;
    line-height: 100%;
    text-transform: lowercase;
    padding: 5px 10px 5px 0;
    margin-bottom: 5px;
    color: var(--accent);
    font-weight: bold;
}

.quote-box cite,
.code-box strong,
.code-box strong a {
    display: inline-block;
}

#pun .spoiler-box > div {
    text-align: center;
    padding: 0 15px;
    line-height: 140%;
    text-transform: lowercase;
    font-size: 10px;
    color: #7a7a7a;
    font-weight: bold;
    border-radius: 50px;
}

.post-content .spoiler-box > div {
    background: transparent!important;}

.spoiler-box > div::before {
    content: "\f107"; 
    font-family: var(--fa);
    font-size: 14px;
    font-weight: normal;
    color: #7a7a7a;
    position: absolute;
    left: 10px;
    background: transparent!important;
}
.spoiler-box > div.visible::before {
    content: "\f106";
}


/* Admin pages
------------------------------------------------------------------ */

.title-logo-tdr {
    display: none;
}

.punbb-admin #filetable .tc3 {
    width: 10% !important;
}

#pun-adnav li {
    list-style: none;
}

#pun-adnav sup {
    display: none;
}

#pun-adnav li.isactive > a {
    color: rgb(var(--primary));
    background: none;
}


/* Modal
------------------------------------------------------------------ */

#pun-report .inner,
#pun-admin-award-form .inner {
    background: rgb(var(--light));
    border-radius: 20px;
    box-shadow: 0 8px 64px #38383861 !important;
}

#pun-reputation .inner {
    background: var(--blockbg);
    border-radius: 20px;
    box-shadow: 0 8px 64px #38383861 !important;
    
}

#pun-report .container,
#pun-reputation .container,
#pun-admin-award-form .container {
    padding: 0 !important;
}

#pun-report h1,
#pun-reputation h1,
#pun-admin-award-form h1 {
    margin-top: 0;
}


/* Scrollbar
------------------------------------------------------------------ */

::-webkit-scrollbar  {width: 3px; }
::-webkit-scrollbar-track{ background: #f1f1f1;}
::-webkit-scrollbar-thumb{
    border-radius: 4px;
    background: var(--accent);} 
    
.dark ::-webkit-scrollbar  {width: 3px; }
.dark ::-webkit-scrollbar-track{ background: rgb(64 69 80);}
.dark ::-webkit-scrollbar-thumb{
    border-radius: 4px;
    background: var(--accent);} 


/*маска профиля*/
#mask_dialog .inner {
    cursor: default;
    margin: 0;
    width: 760px;
    max-width: 99%;
    max-height: 90%;
    overflow-x: auto;
    z-index: 100;
    box-shadow: 0 0 40px #222;
    background: #f1f1f1!important;
    padding: 8px;
        border-radius: 20px!important;
}


#mask_dialog .hv-preview-block {
    flex: 0 0 200px!important;
    text-align: center;
    max-width: 200px!important;
    overflow: hidden;
    word-break: break-word;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
}

#mask_dialog .hv-form-block input,
#mask_dialog .hv-form-block textarea {
    width: 500px!important;
}

#mask_dialog .hv-form-block {
    flex: 1 1 auto;
    max-height: 360px;
    overflow-y: auto;
    padding: 15px!important;
}

/* СТИЛИ ДЛЯ СКРИПТА ОБЕРТЫВАНИЯ */
.wrap-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wrap-button.working {
    background: #ffc107;
    color: #000;
    border-color: #ff9800;
}

.wrap-button.success {
    background: #4CAF50;
    color: white;
    border-color: #388E3C;
}

.wrap-button.error {
    background: #f44336;
    color: white;
    border-color: #d32f2f;
}

.wrap-container {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

.wrap-notification {
    color: #fff;
    background: var(--blockbg);
    padding:10px 20px;
    border-radius:10px;
    margin-top: 2px;
    font-size: 10px;
    font-weight: bold;
    animation: fadeOut 2s forwards;
    animation-delay: 1s;
}

.wrap-error {
    color: #f44336;
    margin-top: 2px;
    font-size: 11px;
    font-weight: bold;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* символы в постах топика */
.post-length-counter {
    position: absolute;
    top: -10px;
    right: 0px;
    background-color: #f0f0f0;
    color: #333;
    padding: 0px 5px;
    border-radius: 20px;
    font-size: 9px;
    opacity: 0.9;
}
/* быстрое начисление банка */
.post-box #input-count-6 {
        background: var(--blockbg);
}