/**************************************************************
* GENERAL
* design template by max, the murderer!
**************************************************************/

@charset "windows-1251";
@import url('style_cs.1765211329.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');


@font-face {
    font-family: 'NauryzRedKeds';
    src: url('https://forumstatic.ru/files/001c/99/f1/75259.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    --font: 'Inter', georgia, times new roman, garamond, serif;
    --fa: 'Font Awesome 6 Pro';
    --html-bg: url('/files/001c/99/f1/40598.jpg');
    --header-bg: url('/files/001c/99/f1/41963.png');
    --profileWidth: calc(180px + calc(var(--16) * 2));
    --punWidth: 1000px;
     --col-side:145px;
     
    --c_blue: 136 186 185; /*основной*/
    --c_darkgray: 221 224 221; /*категории*/
    --c_lightgray: 239 241 240; /*тело*/
    --c_orange: 228 162 114;
    --c_lightbrown: 206 169 126;
    
    --64: calc(var(--16) * 4);
    --32: calc(var(--16) * 2);
    --24: calc(var(--16) * 1.5);
    --20: calc(var(--16) * 1.2brMedium5);
    --16: 16px;
    --12: calc(var(--16) / 1.33);
    --8: calc(var(--16) / 2);
    --6: calc(var(--16) / 2.66);
    --4: calc(var(--16) / 4);
    --2: calc(var(--16) / 8);
    
    --dark: 56 56 56;
    --light: 255 255 255;
    --primary: 136 186 185;
    --secondary: 228 162 114; 
    --brMedium: 20px;
    --brSmall: calc(var(--brMedium) / 2);*/
    /*--dark: 56 56 56;
    --light: 255 255 255;
    --primary: 196 192 151;
    --secondary: 109 109 109; 
    --font: 'Rubik', georgia, times new roman, garamond, serif;
    --fa: 'Font Awesome 6 Pro';
    --html-bg: url('/files/001c/77/e4/31289.webp');
    --header-bg: url(https://forumstatic.ru/files/0018/37/c7/94089.png);
    --profileWidth: calc(180px + calc(var(--16) * 2));
    --punWidth: 1000px;
    --64: calc(var(--16) * 4);
    --32: calc(var(--16) * 2);
    --24: calc(var(--16) * 1.5);
    --20: calc(var(--16) * 1.2brMedium5);
    --16: 16px;
    --12: calc(var(--16) / 1.33);
    --8: calc(var(--16) / 2);
    --6: calc(var(--16) / 2.66);
    --4: calc(var(--16) / 4);
    --2: calc(var(--16) / 8);
    --brMedium: 20px;
    --brSmall: calc(var(--brMedium) / 2);*/
}


/* General
-------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
}

html {
    padding: var(--32) 0;
    font: normal 70%/140% 'Inter', verdana, arial, tahoma, trebuchet ms, sans-serif;
    background: var(--html-bg) no-repeat center center / cover fixed, #dddfdc; 
    color: rgb(var(--dark));
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0 auto; 
    padding: 0;
    width: 1000px;
}

#pun {
    width: var(--punWidth);
    margin: 40px auto;
    /*position: relative;*/
}

.punbb {
    padding: 0;
    background:  rgb(var(--c_lightgray));
    /*position: relative;*/
    border-radius: 40px;
    /*outline: 7px solid rgba(150, 186, 186, 0.2);*/
    outline: 7px solid rgb(220 243 243 / 20%);
}

.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: var(--8) 0;
}

.hashelp {
    position: relative;
}


/* Announcement */

#pun-announcement .container {
    padding: 0;
}

/* Footer */
#html-footer {
    height: 30px;
}

#html-footer .container {
    padding: 0 0 30px;
}

.banners {
    position: relative;
    width: 90%;
    padding: 20px;
    border-radius: 20px;
    background: rgb(var(--c_darkgray));
    outline: 7px solid rgb(220 243 243 / 20%);
    z-index: 5;
    margin: 0 auto;
}

.banners p {
    overflow-y: auto;
    overflow-x: hidden; 
    text-align: center;
    margin:0 auto;
    height: 70px;
    scrollbar-width: thin;
    scrollbar-color: #eff1f0 #dde0dd;
}

#pun-about  {
    padding: 0 20px 20px;
    text-align: center;
}
#pun-about .container {
    padding: 0;
    font-size: 9px;
    text-transform: lowercase;
}


/* Status */

#pun-status {
    height: 0px;
}

#pun-status .container {
    font-size: 10px;
    text-transform: lowercase;
    padding-bottom: 0;
    display: grid;
    text-align: right;
    position: relative;
    bottom: 100px;
    right: 15px;
    color: #fff;
}

#pun-status .container .item1 strong {
    color: #fff;
    font-weight:normal;
}

#pun-status .container .item2 strong {
    color: rgb(var(--c_lightgray));
    font-weight:normal;
}

/* Crumbs */


#pun-crumbs1 .container,
#pun-crumbs2 .container {
    font-size: 10px;
    text-transform: lowercase;
    padding: 10px var(--32) 10px;
    color: #444444;
    line-height: .6;
}

#pun-crumbs1 .container {margin-top:10px;}


#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: "\f5bc"; 
  font-family: var(--fa);
  font-size: 12px!important;
  margin: 0 4px;
  padding:3px;
  color: rgb(var(--c_orange));
}
.crumbs span {
    color: #fff;
    font-weight: bold;
    background: rgb(136 186 185 / 66%);
    padding: 0 5px 1px;
    border-radius: 20px;
}

/* Links */

a,
body #pun-admain a,
body #pun #pun-adnav ul.adsubnav a {
    text-decoration: none;
    color: rgb(var(--c_blue));
}

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 {
    color: rgb(var(--c_orange));
    text-decoration: none;
}


/* Headlines */

h1,
h2 {
    position: relative;
    padding: 10px 0;
    text-align: center !important;
    margin: 0;
}

#pun-index h2 {
    padding: 10px 0 0;
    height: 58px;
    width: 955px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
}

#pun-index h2 span { 
    display:none;
}

/* заголовки категорий */    
.category.category-1 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/79511.png) no-repeat center;
    height: 58px;width: 955px;
   }
.category.category-2 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/54909.png) no-repeat center;
    height: 58px;width: 955px;
   }
.category.category-3 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/64576.png) no-repeat center;
    height: 58px;width: 955px;
   }
.category.category-4 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/31748.png) no-repeat center;
    height: 58px;width: 955px;
   }
.category.category-5 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/68966.png) no-repeat center;
    height: 58px;width: 955px;
   }
.category.category-6 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/97313.png) no-repeat center;
    height: 58px;width: 955px;
   }
.category.category-7 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/30797.png) no-repeat center;
    height: 58px;width: 955px;
   }
.category.category-8 h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/88014.png) no-repeat center;
    height: 58px;width: 955px;
   }
   
#pun-stats h2 {     
    background: url(https://forumstatic.ru/files/001c/99/f1/49820.png?v=1) no-repeat center;
    height: 58px;width: 955px;
   }

h1 span,
h2 span {
    display: inline-block;
    background: rgb(var(--c_orange));
    text-transform: uppercase;
    padding: 2px 10px;
    line-height: 10px;
    border-radius: 50px;
    font-size: 10px;
    color: #fff;
    font-weight: normal;
}

#pun-messages h2 {
    text-align: left;
}

.punbb legend span {
    border-radius: 50px;
    font-size: 9px;
    color: #fff;
    text-transform: lowercase;
    padding: 2px 10px;
    background: rgb(var(--c_orange))!important;
}


/* jGrosl fix */

#jGrowl h2 {
    border: none;
    margin: 0;
    text-align: left !important;
}

#jGrowl h2 span {
    background: none;
    font: inherit;
}

#jGrowl td {
    padding: var(--8) 0 0;
}


/* Tables */

table {
    width: 100%;
    border-spacing: 0;
}

td,
th {
    padding: var(--12) var(--16);
}

/* Rusff reputation fix */

.tipsy-inner #respect td {
    padding: 0;
}

th {
    font-size: 0.8rem;
    text-align: left;
    padding: var(--4) var(--16);
}

.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: var(--8);
}

.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 var(--8) 0;
}

input,
textarea,
#pun #sTheme {
    padding: var(--6) var(--6);
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    color: #444;
    font: normal 1rem / 130% 'Inter', verdana, arial, tahoma, trebuchet ms, sans-serif;
    border: none;
    margin: 0 5px 5px 0!important;
    max-width: 100%;
}

select {
    background: #fff;
    color: rgb(var(--dark));
    font-family: 'Inter', verdana, arial, tahoma, trebuchet ms, sans-serif;
    padding: var(--4) var(--6);
    margin: 0 var(--4) var(--4) 0 !important;
    border-radius: var(--brMedium);
    max-width: 100%;
    font-size: 10px;
    text-transform: lowercase;
}

select option {
    background: #fff;
}

select:hover {
    cursor: pointer;
}

::placeholder {
  color: rgb(var(--dark) / .38);
  opacity: 1; /* Firefox */
}


/* Checkboxes & Radionuttons */

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: var(--12);
    height: var(--12);
    min-width: var(--12);
    min-height: var(--12);
    margin: 0 var(--2) 0 var(--2) !important;
    border-radius: var(--brSmall);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 0;
    border: 1px solid rgb(var(--c_blue));
}

input[type="radio"] {
    border-radius: var(--6);
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    cursor: pointer;
    background: rgb(var(--secondary) / .6);
}

input[type="checkbox"]:checked {
    background: rgb(var(--primary));
}

input[type="radio"]:checked:hover {
    cursor: default;
}

input[type="radio"]:checked {
    background: transparent;
    box-shadow: inset 0 0 0 2px rgb(var(--primary));
}

input[type="radio"]:checked::before {
    content: '\f00c';
    font: 900 9px / 100% var(--fa);
    color: rgb(255 255 255);
    background: rgb(var(--c_blue));
    font-weight: bold;
}

input[type="checkbox"]:checked::before {
    content: '\f00c';
    font: 900 9px / 100% var(--fa);
    color: rgb(255 255 255);
    background: rgb(var(--c_blue));
    font-weight: bold;
}

input[type="checkbox"]:checked:hover {
    background: rgb(var(--secondary) / .6);
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
    line-height: 100%;
    vertical-align: middle;
}

.radio label,
.checkfield label {
    padding: 0 var(--8) 0 var(--4);
    color: rgb(var(--c_blue));
    text-transform: lowercase;
}

.checkfield label {
    line-height: 120%;
}

.radio *:hover,
.checkfield *:hover {
    cursor: pointer;
}

#pun-userlist form input,
#pun-userlist form select {
    height: var(--24);
}


/* Buttons */

button,
.button,
input[type="button"],
input[type="submit"] {
    border-radius: var(--brMedium);
    background: #fff;
    color: rgb(var(--c_blue));
    border: 2px solid rgb(var(--c_blue) / 50%);
    margin: var(--4) !important;
    font-weight: 700 !important;
    font-family: 'Inter', verdana, arial, tahoma, trebuchet ms, sans-serif !important;
    line-height: 100%;
    font-size: 1rem;
    text-transform: lowercase;
    transition: all .2s ease;
    padding-left: var(--12);
    padding-right: var(--12);
}

button[disabled],
.button[disabled],
input[disabled] {
    background: rgb(var(--dark) / .12);
    color: rgb(var(--dark) / .388);
}

.button[name="preview"],
.button.full,
.button.cancel,
.button[name="cancel"] {
    background: #fff;
    color: rgb(var(--c_blue));
    border: 0px solid rgb(var(--c_blue) / 50%);
}

.formsubmit input, 
.formsubmit a,
.formsubmit span {
    margin: 0 var(--8) 0 0;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: rgb(var(--c_blue));
    color: rgb(var(--light)) !important;
    cursor: pointer;
}

button:active,
.button:active,
input[type="button"]:active,
input[type="submit"]:active {
    background: rgb(var(--c_orange));
    color: rgb(var(--light)) !important;
    cursor: pointer;
}

button[disabled]:hover,
.button[disabled]:hover,
input[disabled]:hover {
    background: rgb(var(--dark) / .12) !important;
    color: rgb(var(--dark) / .38) !important;
    cursor: not-allowed;
}

.punbb #isk {
    border-radius: var(--brMedium);
    border: none;
    background: rgb(var(--primary));
    color: rgb(var(--dark));
    margin-left: var(--4);
    position: relative;
    height: var(--24);
    transition: all .2s ease;
}

.punbb #isk:hover {
    background: rgb(var(--dark));
    color: rgb(var(--light));
}

.punbb #isk::before {
    content: '\f002';
    font: 400 1rem/100% var(--fa);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#pun #sTheme {
    height: var(--24);
}

.punbb .main {
    padding: 0px 22.5px;
}

.punbb .main.multipage {
    
}


/* 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-replies,
#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 */

#pun-navlinks {
    
}

.punbb:not(.punbb-admin) #pun-navlinks {
    margin-bottom: 440px;
    position: relative;
    top: 25px;
}

#pun-navlinks .container {
    position: relative;
    padding: 5px 0px;
    height: var(--24);
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#pun-navlinks li {
    list-style: none;
    display: inline-block;
}

#pun-navlinks li a {
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
    color: #433323;
    text-transform: lowercase;
    padding: 2px 16px;
    background: rgb(var(--c_lightgray));
    border-radius: 50px;
    outline: 3px solid rgba(255, 255, 255, 0.2);
}

#pun-navlinks li a:hover,
#pun-navlinks li a:focus {
    color: rgb(var(--c_lightbrown));    
}

#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; }

/* Ulinks */

#pun-ulinks {
    z-index: 5;
    position: absolute;
    top: 40px;
    width: 1000px;
}

#pun-ulinks .container {
    padding: 0;
    text-align: center;
}

#pun-ulinks li {
    list-style: none;
    display: inline-block;
}

#pun-ulinks li a {
    display: inline-block;
    text-transform: lowercase;
    font-size: 10px;
    color:#433323;
    font-weight: 500;
    padding: var(--2) var(--4);
}

#pun-ulinks li a:hover,
#pun-ulinks li a:focus {
    color: rgb(var(--c_blue));
    background: none;
}


/* Index
-------------------------------------------------------------*/

/* Categories & forums */

#pun-index .category .container {
    padding: 0px 42px;
    background: rgb(var(--c_darkgray));
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

#pun-index .category tr {
    display: flex;
    flex-direction: row;
    gap: var(--16);
    box-sizing: border-box;
    position: relative;
    padding: 30px 50px;
    margin: 35px auto 35px;
    align-items: center;
    background: rgb(var(--c_lightgray));
    border-radius: 20px;
}

#pun-index .category tr td {
    padding: 0;
}

#pun-index .category .intd {
    font-size: 0.9rem;
    text-transform: lowercase;
    color: rgb(var(--dark) / .6);
    line-height: 120%;
}

#pun-index .category tr .tcl {
    width: 70%;
}


#pun-index .category tr .tc2,
#pun-index .category tr .tc3 {
    display: none;
}

#pun-index .category tr h3 a {
    font: 400 20px/100% 'NauryzRedKeds';
    color:#e3a272;
    letter-spacing: -1px;
    display: inline-block;
    text-transform: lowercase;
    padding-bottom: var(--2);
    margin-bottom: var(--4);
}

#pun-index .category tr .tcr {
    width: 50%;
    padding-left: 50px;
    color: rgb(var(--dark) / .6);
}

#pun-index .category tr .tcr .datetime,
#pun-index .category tr .tcr .byuser {
    text-transform: lowercase;
    font-size: 10px;
    color: #6a6a6a;
}

#pun-index .category tr .tcr .lastpost-link {
    display: inline;
    font-weight: 700;
    text-transform: lowercase;
    margin-top: var(--2);
}

#pun .user-avatar {
    flex-shrink: 0;
}


/* Statistics */

#pun-stats {
    padding: 0 22.5px 5px;
}

#pun-stats .container {
    list-style: none;
    display: flex;
    flex-direction: column;
    text-transform: lowercase;
    background: rgb(var(--c_darkgray));
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

#pun-stats .container::after {
    display: none;
}

#pun-stats .statsinfo {
    display: flex;
    justify-content: center;
    padding:5px 100px;
    gap: 25px;
}

#pun-stats .statsinfo li {
    background: rgb(var(--c_lightgray));
    line-height: 100%;
    padding: 5px 10px;
    border-radius: 50px;
    flex-grow: 1;
    font-size: 10px;
    text-align: center;
    color: rgb(var(--c_blue));
}

#pun-stats .statsinfo li.item4 {
    flex-shrink: 0;
}

#pun-stats .statsinfo li.item4 a {
    color: rgb(var(--c_blue));
}

#pun-stats .statsinfo li strong {
    font-weight: 700;
}

#pun-stats .onlinelist {
    padding: 20px 30px 5px;
    background: rgb(var(--c_lightgray));
    margin: 10px 20px 0;
    border-radius: 20px 20px 0 0;
    color: #98a4a4;
    font-weight:600;
}

#pun-stats .users_24h {
    padding: 5px 30px 20px;
    background: rgb(var(--c_lightgray));
    margin: 0px 20px 10px;
    border-radius: 0 0 20px 20px;
    color: #98a4a4;
    font-weight:600;
}

#pun-stats #onlinelist div a {
    color: rgb(var(--c_orange));
}

#pun-stats #onlinelist div span a {
    color: rgb(var(--c_blue));
}


/* 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: var(--8);
    color: rgb(var(--dark) / .6);
}

#pun-viewforum tr td:first-child,
#pun-viewforum tr th:first-child,
#pun-modviewforum tr td:first-child,
#pun-modviewforum tr th:first-child,
#pun-searchtopics tr td:first-child,
#pun-searchtopics tr th:first-child,
#pun-userlist tr td:first-child,
#pun-userlist tr th:first-child,
#pun-statistic tr td:first-child,
#pun-statistic tr th:first-child,
#pun-respect tr td:first-child,
#pun-respect tr th:first-child,
#pun-positive tr td:first-child,
#pun-positive tr th:first-child,
#pun-messages #messages tr td:first-child,
#pun-messages #messages tr th:first-child,
.profile-awards-container tr td:first-child,
.profile-awards-container tr th:first-child {
    padding-left: 0;
}

#pun-viewforum tr td:last-child,
#pun-viewforum tr th:last-child,
#pun-modviewforum tr td:last-child,
#pun-modviewforum tr th:last-child,
#pun-searchtopics tr td:last-child,
#pun-searchtopics tr th:last-child,
#pun-userlist tr td:last-child,
#pun-userlist tr th:last-child,
#pun-statistic tr td:last-child,
#pun-statistic tr th:last-child,
#pun-respect tr td:last-child,
#pun-respect tr th:last-child,
#pun-positive tr td:last-child,
#pun-positive tr th:last-child,
#pun-messages #messages tr td:last-child,
#pun-messages #messages tr th:last-child,
.profile-awards-container tr td:last-child,
.profile-awards-container tr th:last-child {
    padding-right: 0;
}

#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;
    color: rgb(var(--dark) / .6);
}

#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: var(--12);
}

#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;
}

.profile-awards-container th,
.profile-awards-container td {
    width: 20% !important;
}

.profile-awards-container td {
    padding: var(--16);
}

th input[type="checkbox"] {
    margin: 0 !important;
}

#pun-messages #messages td.tc2.pmtc22 {
    display: flex !important;
    align-items: center;
    gap: var(--12);
}

#pun-userlist table tr,
#pun-statistic table tr {
    text-transform: lowercase;
}


/* Userlist 

.punbb#pun-userlist .tcl {
    width: 25%;
}

.punbb#pun-userlist .tc2,
.punbb#pun-userlist .tc3 {
    width: 15%;
}*/

#userlist .fs-box.inline .inputfield {display:none;}

.usertable {
    background: #fff;
    border-radius: 7px;
}

.usertable .container {
    padding: 0px 30px;
}
.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 a {
    color: #fff!important;
    text-transform: lowercase;
    padding: 2px 10px!important;
    background: rgb(var(--c_orange)) !important;
    border-radius:50px;
    font-weight: bold;
}

.usertable .user_title {
    color: #555;
    text-align: center;
}
.usertable .tc3 {
    text-align: center;
    font-weight: 500;
    color: #222;
}


/* Statistic list */

#pun-statistic .main .container {
    padding: 0 0 var(--16) 0;
}

.punbb#pun-statistic .tcl {
    width: 40%;
}

.punbb#pun-statistic .tc2,
.punbb#pun-statistic .tc3 {
    width: 15%;
}

/* страница активны */
.online-list .container {
    padding:10px;
    background: #fff;
    border-radius: 7px;
}
.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 table .tcl.username a {color: rgb(var(--c_blue));}

.online-list td {
    padding: 8px 12px;
    vertical-align: middle;
}

/* Links */

.punbb:not(.punbb-admin) .pagelink,
.punbb:not(.punbb-admin) .postlink {
    display: inline-block;
    margin: var(--8) 0;
    text-transform: lowercase;
}

.punbb:not(.punbb-admin) .postlink {
    float: right;
    width: unset;
}

.punbb:not(.punbb-admin) .postlink a {
    color: rgb(var(--c_blue));
    font-weight: bold;
}


/* Paginator */

.punbb:not(.punbb-admin) .pagelink {
    display: inline-block;
    margin: var(--8) 0;
    text-transform: lowercase;
    font-size: 9px;
    font-weight: bold;
    color: rgb(var(--c_blue));
}

.punbb:not(.punbb-admin) .pagelink a {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    background-color: rgb(var(--c_blue));
    color:#fff;
    font-weight:bold;
}

.punbb:not(.punbb-admin) .pagelink span {
    margin: 0 var(--4);
}

.punbb:not(.punbb-admin) .pagelink strong {
    display: inline-block;
    padding: 4px 6px;
    line-height: 100%;
    font-size: 10px;
    color: #999;
    border-radius: 3px;
    background-color: rgb(var(--c_darkgray));
}

/* Icons */

.punbb div.icon {
    position: relative;
    display: inline-flex;
    width: var(--8);
    height: var(--8);
    flex-shrink: 0;
    border-radius: var(--brSmall);
    background: rgb(var(--secondary)); 
    margin: 0;
    align-self: start;
    margin: var(--4) 0 0 0;
}

.punbb tr.inew div.icon {
    background: rgb(var(--primary));
}

.punbb tr .stickytext,
.punbb tr .closedatafield {
    font-size: 0;
}

.punbb tr .stickytext::before,
.punbb tr .closedatafield::before {
    content: 'imp';
    display: inline-block;
    font-size: 0.9rem;
    background: rgb(var(--primary) / .6);
    font-weight: 700;
    line-height: 100%;
    padding: 0 var(--4) var(--2);
    margin: 0 var(--4) 0 0;
}

.punbb tr .closedatafield::before {
    content: 'closed';
    background: rgb(var(--secondary) / .38);
}

#pun-index tr div.icon {
    width: 33px;
    height: 33px;
    margin: 0;
    padding: 0;
    float: left;
    background: url(https://forumstatic.ru/files/001c/99/f1/49580.png);
    position: absolute;
    top: -15px;
    left: -15px;
}
#pun-index tr.inew div.icon {
    width: 33px;
    height: 33px;
    margin: 0;
    padding: 0;
    float: left;
    background: url(https://forumstatic.ru/files/001c/99/f1/16715.png);
    position: absolute;
    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: var(--16);
}

#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: var(--2);
}

#profilenav li.isactive a {
    font-weight: 700;
    color: rgb(var(--primary));
}

#viewprofile-next {
    background: #fff;
    padding: 10px 10px 10px 12em;
    border-radius: 7px;
}

#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;
  background: rgb(var(--c_lightgray));
  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;
  color: rgb(var(--c_blue));
  margin-bottom: 4px;
}

#profile-title{
    font-size: 9px;
    text-transform: lowercase;
    line-height: 90%;
    position: relative;
    font-style: normal!important;
    margin: 0 auto;
    width: fit-content;
    max-width: 180px;
    background: Rgb(var(--c_darkgray));
    padding: 3px 7px!important;
    border-radius: 50px;
    margin-bottom: 5px;
    text-align: center;
}

#pa-avatar img {
  border-radius: 4px;
    border: 5px solid rgb(var(--c_lightgray));
    box-shadow: 0 0 4px 1px #00000021;
  max-width: 180px;
  height: auto;
}

/* Онлайн */
#pa-online strong {
  display: inline-block;
  padding: 4px 8px!important;
  border-radius: 4px;
  font-size: 10px;
  color: rgb(var(--c_blue));
}


#profile-left #pa-edit {
    display: none;
}

#profile-right {
    width: 580px!important;
    padding: 30px!important;
}

#profile-right li {
    margin-bottom: var(--8);
    text-transform: lowercase;
    text-transform: lowercase;
    background: rgb(var(--c_lightgray));
    padding: 5px 20px;
    border-radius: 50px;
    color: #444;
}

#profile-right li > span {
    display: inline-block;
    width: 14em;
    font-weight: bold;
}

#profile-right li > strong {
    font-weight: 400;
}

#profile-right li > strong > a {
    font-weight: 700;
}


/* Set moderator permissions */

#setmods dl dl {
    padding: 0 var(--8);
    background: rgb(var(--secondary) / .2);
    margin-bottom: var(--8);
    border-radius: var(--8);
}

#setmods dl dl:hover {
    background: rgb(var(--secondary) / .38);
}

#setmods dt {
    font-weight: bold;
    display: inline-block;
    width: 20%;
    vertical-align: top;
    padding: var(--8);
}

#setmods dd {
    display: inline-block;
    padding: var(--8);
}

#setmods dd div {
    display: block;
}

div.checkfield .sub {
    margin-left: 0 !important;
}

div.checkfield:has(.sub) {
    margin-left: var(--24);
}


/* Topic
-------------------------------------------------------------*/

.post .container {
    padding: 10px 0 0;
    margin: var(--16) 0;
    width: 100%;
    display: flex;
    flex-flow: wrap;
    gap: 16px;
    border-radius: 7px;
    background: #fff;
}


.post-body {
    padding: 26px 25px 5px 10px;
    box-sizing: border-box;
    width: 689px;
}

.post-links {
    width: 100%;
    text-align: right;
    font-size: 11px;
    padding: 0 15px;
    font-weight: bold;
}
.post-links a {
    color: rgb(var(--c_blue));
}

.post-links a:hover {
    color: #777;
}

.post-content {
    padding: var(--8) 0 var(--16);
    word-break: break-word;
}

.post-content img,
.post-sig img {
    max-width: 100%;
}

#poll-special td {
    padding: var(--4);
}


.post-links li {
    display: inline-block;
}

.post-links li a {
    text-transform: lowercase;
}

.post-links .pl-email,
.post-links .pl-website {
    float: left;
}

.post-links .pl-email a {
    margin: 0 var(--8) 0 0;
}

.post-links li a:not(.pl-email a) {
    margin: 0 0 0 var(--4);
}

.post-links li.approve {
    margin-left: var(--4);
}

.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 a {
    color: rgb(var(--c_blue));
}

#topic-users-in {
    text-transform: lowercase;
    color: #98a4a4;
    font-weight: 600;
}

#topic-users-in p span {
    color: rgb(var(--c_orange));
}
#topic-users-in p a {
    color: rgb(var(--c_blue));
}

#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: var(--16) auto var(--8);
    width: 30%;
}


/* Post headline */

.post h3 {
    font-size: 9px;
    text-transform: lowercase;
    float: right;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 16px;
    padding: 0px 20px;
    margin-bottom: -22px;
}

.post h3 em {
    font-style: normal;
}

.post h3 strong {
    float: right;
    font-weight: bold;
    margin-left: var(--16);
    color: rgb(var(--c_blue));
}

#pun-premoderation .post h3 span > em:last-child {
    padding-left: var(--4);
}

.post h3 .permalink {
    color: rgb(var(--c_blue));
}


/* Profile */

.post-author {
    width: 230px;
    height: 100%;
    padding: 0px 10px 10px;
    margin: 18px 0px 0px 15px;
    position: relative;
    border-radius: 10px;
    text-align: left;
    background: rgb(var(--c_lightgray));
}

.post-author::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0px;
    width: 230px;
    height: 80px;
    background: url(https://upforme.ru/uploads/001c/98/18/9/910403.png);
}

.post-author.online::after{
    content: '';
    position: absolute;
    top: 10px;
    left: -5px;
    width: 10px;
    height: 10px;
    z-index: 10;
    background: rgb(var(--c_blue));
    border-radius: 50%;
    border: 1px solid rgb(var(--c_lightgray));
    box-shadow: 0 0 1px 1px #0000002b;
}

.post-author li {
    list-style: none;
    color: #616161;
}

.post-author li:not(:last-child) {
}

.punbb:not(#pun-post) .post-author .pa-author {
    height: 30px;
    box-sizing: border-box;
    line-height: 100%;
    display: flex;
    align-items: center;
}

.punbb .pa-author,
.punbb .pa-author a,
.punbb .pa-author strong {
    font-size: 15px;
    font-weight: bold;
    text-transform: lowercase;
    color: rgb(var(--c_blue));
    display: block;
    padding-left: 5px;;
}

.punbb .pa-author a:hover {
    color: rgb(var(--c_orange));
}

.pa-title {
font-size: 9px;
    text-transform: lowercase;
    line-height: 90%;
    position: relative;
    font-style: italic;
    margin: 0 auto;
    width: fit-content;
    max-width: 180px;
    background: Rgb(var(--c_darkgray));
    padding: 3px 7px;
    border-radius: 50px;
    margin-bottom: 5px;
    text-align: center;
}

.pa-avatar {
    text-align: center;
    position: relative;
    /*top: 25px;
    z-index: 3;
    margin-bottom: 30px;*/
    top: 55px;
    z-index: 3;
    margin-bottom: 60px;
}

.pa-avatar img {
    max-width: 180px;
    border-radius: 4px;
    border: 5px solid rgb(var(--c_lightgray));
    box-shadow: 0 0 4px 1px #00000021;
    box-sizing: initial;
}

/* соо репа и посты */
.post-author .pa-statprof {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
    padding: 0px 20px;
    margin: 5px auto 10px;
    box-sizing: border-box;
    font-size: 10px;
    color: #b5b5b5;
    text-align: center;
}

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 {
    content: '';
    height: 10px;
    display: block;
}
li.pa-respect .fld-name a:before {
    background: url(https://forumstatic.ru/files/001c/99/f1/55803.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 3px;
}
li.pa-posts:before {
    background: url(https://forumstatic.ru/files/001c/99/f1/15774.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 2px;
}
li.pa-fld3:before {
    background: url(https://forumstatic.ru/files/001c/99/f1/89388.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

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-respect span:not(.fld-name) {}


/*лз*/
.pa-fld1 {
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
    width: 210px;
    position: relative;
}

/* Иконки через ::before */
.pa-fld1 .alz::before,
.pa-fld1 lz::before {
  content:'';
  position: absolute;
  left: 0px;
  flex-shrink: 0;
}

/* Иконка пользователя */
.pa-fld1 .alz::before {
    background: url(https://forumstatic.ru/files/001c/99/f1/33775.png);
    background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 8px;
  height: 10px;
}

/* Иконка книги */
.pa-fld1 lz::before {
    background: url(https://forumstatic.ru/files/001c/99/f1/98041.png);
    background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding-bottom: 5px;
    width: 10px;
  height: 10px;
  margin-top: -3px;
}

/* Стили для контента */
.pa-fld1 .alz {
    font-size: 10px;
    font-weight: bold !important;
    flex: 1;
    text-align: center;
    width: 180px;
    text-transform: lowercase;
    margin: 0 auto;
}

.pa-fld1 lz {
    font-size: 9px;
    color: #555;
    line-height: 1.1;
    flex: 1;
    width: 180px;
    text-align: justify;
    margin: 0 auto;
    padding: 0 5px;
}

/* плашка */
li.pa-fld2 {
  width: 186px;
  margin: 0 auto 10px;  
}

li.pa-fld2 img {
    border-radius: 21px;
    border: 3px solid rgb(var(--c_lightgray));
    box-shadow: 0 0 5px 1px #00000026;
    cursor:pointer;
}

/* фон */
li.pa-fld4 {
  position: relative;
  left: -10px;
  width: 100%;
}

li.pa-fld4 img {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 80px;
  width: 230px;
  object-fit: cover;
}

/* другие поля */
li.pa-online {
    color: rgb(var(--c_blue));
    font-size: 9px;
    width: 210px;
    text-align: center;
    text-transform: lowercase;
}
li.pa-ip {opacity:0;
    color: rgb(var(--c_blue));
    font-size: 8px;
    width: 210px;
    text-align: center;
    text-transform: lowercase;
}
li.pa-ip a {
    color: rgb(var(--c_blue));
    font-size: 8px;
}
li.pa-ip:hover {opacity:1;transition: all 0.3s ease;}

/* Messages page */

#pun-messages #profilenav {
    float: left;
    margin-right: var(--32);
}

#pun-messages #profilenav h2 {
    margin-left: 0;
    margin-right: 0;
}



/* Reply form
-------------------------------------------------------------*/

#main-reply {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
}

#post-errors ul {
    padding-bottom: var(--4);
}

#post-errors li {
    list-style: none;
    padding-bottom: var(--4);
}


/* 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: calc(var(--4) * -1);
    background: rgb(var(--light));
    border-radius: var(--brMedium);
    padding: var(--8) !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: var(--4);
}

.punbb #table-area td.selected,
.punbb #table-area td:hover {
    background: rgb(var(--primary))
}

.punbb #keyboard-span input {
    margin: var(--2) !important;
    background: rgb(var(--secondary) / .2);
    border: none;
    font-weight: 400 !important;
    height: 20px;
    padding: 0 var(--4);
}


/* Form Buttons
----------------------------------------------------------------------- */

#pun #form-buttons table,
#pun #form-buttons tbody {
    width: 100%;
}

#pun #form-buttons td img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#pun #form-buttons td {
    border: none;
    background: #fff;
    border-radius: 7px;
    position: relative;
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    transition: all .2s ease;
}

#pun #form-buttons td:hover {
    cursor: pointer;
    color: rgb(var(--c_blue));
}

#form-buttons table tr {
    display: flex;
    justify-content: center;
    gap: var(--4);
    margin-bottom: var(--8);
}

#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;
}

td[id^="button-"]:hover::before {
  color: rgb(var(--c_blue))!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';
}


/* Post
------------------------------------------------------------------ */

.post-content img {
    vertical-align: middle;
}

.post-content p {
    line-height: 150%;
    padding: var(--4) 0;
    text-align: justify;
}

.post-box .post-content ul {
    padding: 0.4rem 0 0.8rem 2.4rem;
}

.post-box .post-content ul ul {
    padding-top: var(--4);
    padding-bottom: 0;
}

.post-content li p {
    padding: 0 0 var(--4) 0;
}

/* Selection */

::selection {
    color: rgb(var(--dark));
    background: rgb(var(--primary));
}


/* 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 {
    background-color: rgb(var(--primary));
    padding: 0.1rem 0.2rem 0.2rem;
    border-radius: 4px;
    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;
}


/* Marker */

.post-content ::marker {
    font-weight: 700;
    color: rgb(var(--primary));
}


/* HR (divider) */

#pun .post-content hr {
    opacity: 1;
    border-top: 2px solid rgb(var(--secondary) / .2);
    margin: var(--8) 0;
}


/* Table */

#pun .post-content td {
    border: none !important;
    padding: var(--8) !important;
    vertical-align: top;
}


/* Quote, code & spoiler */

.quote-box,
.code-box,
.spoiler-box {
    padding: var(--8) var(--16);
    margin: var(--8) 0;
    position: relative;
    background: rgb(var(--c_lightgray));
    border-radius: 7px;
}

blockcode,
blockquote {
    overflow: hidden;
}

.code-box .scrollbox {
    width: 100%;
    overflow: hidden auto;
    height: auto !important;
    max-height: 20vh;
    padding-top: var(--4);
    padding: 10px;
    border-radius: 7px;
    margin-top: 5px;
}

.code-box pre {
    font-size: 10px;
    font-family: Inter;
    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;
    margin-bottom: var(--4);
    color: rgb(var(--c_blue));
    font-weight: bold;
    background: #fff;
    border-radius: 50px;
}

.quote-box cite,
.code-box strong,
.code-box strong a {
    display: inline-block;
}

#pun .spoiler-box > div {
    text-align: center;
    padding: 0 var(--16);
    line-height: 140%;
    text-transform: lowercase;
    font-size: 10px;
    color: rgb(var(--c_blue));
    font-weight: bold;
    border-radius: 50px;
}

.post-content .spoiler-box > div {
    background: transparent!important;}

.spoiler-box > div::before {
    content: "\f144"; 
    font-family: var(--fa);
    font-size: 14px;
    font-weight: normal;
    color:rgb(var(--c_blue));
    position: absolute;
    left: 10px;
    background: transparent!important;
}
.spoiler-box > div.visible::before {
    content: "\f28b";
}


/* 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-reputation .inner,
#pun-admin-award-form .inner {
    background: rgb(var(--light));
    border-radius: var(--brMedium);
    box-shadow: 0 var(--8) var(--64) rgb(var(--dark) / .38) !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: 4px; }
::-webkit-scrollbar-track{ background: #dddfdc;}
::-webkit-scrollbar-thumb{
    border-radius: 4px;
    background: #97b9b8;} 


/*************************************************************
ОФОРМЛЕНИЕ ТЕМ
**************************************************************/

/* АНКЕТА */
.custom_tag_ank {
    width: 700px;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Inter';
    color: #333;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, .08); */
    border: 1px solid #EEEEEE;
    padding-bottom: 25px;
    margin: 0 auto;
}


.custom_tag_ankbg {
    width: 700px;
    height: 70px;
}

.custom_tag_ankbg img {
    width: 700px;
    height: 80px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -5px !important;
}


.custom_tag_anksearch {
    position: absolute;
    width: 555px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 20px;
    margin-top: -20px;
    margin-left: 125px;
    border: 1px solid #EEEEEE;
    padding-left: 40px;
    font: 400 10px Inter;
    line-height: 16px;
    color: #9F9F9F;
}


.custom_tag_anksearch::before {
    content: '\f002' !important;
    font: var(--fa-font-solid) !important;
    position: absolute;
    top: 4px;
    left: 15px;
}

.custom_tag.custom_tag_anksearch p {
    margin-top: -2px;
}


.custom_tag_ankava img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 3px solid rgb(255 255 255);
    top: -40px;
    left: 20px;
    position: relative;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.custom_tag_ankname {
    position: absolute;
    font: 400 12px Inter;
    margin-left: 125px;
    margin-top: -90px;
    display: block;
}


.custom_tag_ankage {
    margin-top: -75px;
    position: absolute;
    font: 400 9px Inter;
    margin-left: 125px;
    display: block;
}


.custom_tag_ankbuttons {
    position: absolute;
    width: 275px;
    height: 25px;
    background-image: url(https://upforme.ru/uploads/001c/8a/47/4/577869.png);
    margin-top: -82px;
    margin-left: 404px;
}



.custom_tag_ankplaylist {
    width: 250px;
    background: #fff;
    border-radius: 7px;
    padding: 16px 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
    border: 1.5px solid #EEEEEE;
    margin-left: 20px;
    padding-top: 50px;
    margin-top: -30px;
}


.custom_tag_ankplaylist::before {
    content: 'Public playlist' !important;
    text-transform: uppercase;
    position: absolute;
    font: 500 11px Inter;
    margin-top: -40px;
}

.custom_tag_anktrack {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 10px;
    font-size: 10px;
}

.custom_tag_ankcover {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    overflow: hidden;
    background: #ddd;
}

.custom_tag_ankcover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: -4px !important;
}


.custom_tag_ankinfo {
    display: flex;
    flex-direction: column;
}

.custom_tag.custom_tag_anktitle p {
    line-height: 5% !important;
    margin-top: 10px;
    font: 400 11px Inter;
}



span.custom_tag_ankartist {
    font: 400 9px Inter;
}

.custom_tag_anktime {
    font: 400 11px Inter;
    padding-right: 20px;
}


.custom_tag_anktime::after {
    content: '';
    background-image: url(https://upforme.ru/uploads/001c/8a/47/4/777010.png);
    position: absolute;
    width: 50px;
    height: 50px;
    scale: 0.3;
    margin-top: -36px;
    margin-left: 20px;
}

.custom_tag_ankplaylist::after {
    content: '';
    background-image: url(https://upforme.ru/uploads/001c/8a/47/4/110720.png);
    width: 246px;
    height: 42px;
    margin-left: -10px;
}


.custom_tag_ankmoodboard {
    width: 370px;
    position: absolute;
    margin-left: 308px;
    margin-top: -338px;
}


.custom_tag_ankimages {
    width: 370px;
    height: 260px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}


.custom_tag_ankitem img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 7px;
}

.custom_tag_ankitem5 img {
    width: 110px;
    height: 160px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 7px;
margin-top: -10px !important;
}

.custom_tag_ankitem6 img {
    width: 254px;
    height: 160px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 7px;
margin-top: -10px !important;
}


.custom_tag_anktegs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.custom_tag_ankteg {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eee;
    font: 400 10px Inter;
    color: #9F9F9F;
}

.custom_tag_ankteg p {
    line-height: 0px;
}


/* ПОСТ В СОЦСЕТЬ*/

.custom_tag_insta {
    width: 355px;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Inter';
    color: #333;
    border: 1px solid #EEEEEE;
    padding: 20px;
    left: 25%;
    position: relative;
    padding-bottom: 13px;
padding-top: 10px;
}


.custom_tag_instphoto img {
    border-radius: 7px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.custom_tag_instbtn {
background-image: url(https://forumstatic.ru/files/001c/49/4e/70145.png);
    width: 308px;
    height: 15px;
    margin-left: 3px;
    margin-bottom: 10px !important;
}

.custom_tag_instname {
    font: 700 13px Inter;
}

.custom_tag_insttext {
    font: 400 10.5px Inter;
    margin-top: -5px;
}


/* НУЖНЫЕ*/

.custom_tag_nd {
    width: 600px;
    height: 375px;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Inter';
    color: #333;
    border: 1px solid #EEEEEE;
    padding: 20px;
    position: relative;
    padding-bottom: 13px;
    padding-top: 20px;
    margin: 0 auto;
}

.custom_tag_ndsearch {
    height: 20px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #EEEEEE;
    padding-left: 40px;
    font: 400 10px Inter;
    line-height: 16px;
    color: #9F9F9F;
}

.custom_tag_ndsearch::before {
content: '\f002' !important;
    font: var(--fa-font-solid) !important;
    position: absolute;
    margin-top: 4px;
    left: 40px;
}

.custom_tag.custom_tag_ndsearch p {
    margin-top: -2px;
}


.custom_tag.custom_tag_ndleft {
    margin-top: 10px;
}



.custom_tag_ndimg img {
    border-radius: 7px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 260px;
    height: 140px;
}

.custom_tag.custom_tag_ndface::before {
    content: '\f007' !important;
    font: var(--fa-font-solid) !important;
    position: absolute;
    margin-top: 8px;
margin-left: -15px;
}

.custom_tag_ndface {
    font: 700 11px Inter;
    padding-left: 25px;
}

.custom_tag_ndlist {
    position: absolute;
    width: 260px;
}



.custom_tag_nddescr {
width: 280px;
    height: 295px;
    top: 48px;
    left: 300px;
    position: absolute;
    font: 400 10px Inter;
    overflow: auto;
    padding-right: 10px;
    margin-top: 10px;
}

.custom_tag_nddescr::-webkit-scrollbar {
    width: 3px;
}


.custom_tag_nd::after {
content: '';
    background-image: url(https://forumstatic.ru/files/001c/49/4e/64307.png);
    width: 260px;
    height: 18px;
    display: block;
    margin-top: 105px;
    position: absolute;
}




/* ХОЧУ ВИДЕТЬ, ХОЧУ К ВАМ*/


.custom_tag.custom_tag_wnt {
    width: 600px;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Inter';
    color: #333;
    border: 1px solid #EEEEEE;
    padding: 20px;
    position: relative;
    padding-bottom: 13px;
    padding-top: 20px;
    margin:0 auto;
}


.custom_tag_wsearch {
    height: 20px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #EEEEEE;
    padding-left: 40px;
    font: 400 10px Inter;
    line-height: 16px;
    color: #9F9F9F;
}

.custom_tag_wsearch::before {
    content: '\f002' !important;
    font: var(--fa-font-solid) !important;
    position: absolute;
    margin-top: 4px;
    left: 40px;
}

.custom_tag.custom_tag_wsearch p {
    margin-top: -2px;
}


.custom_tag.custom_tag_wimages {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    position: relative;
    padding-top: 5px;
}

.custom_tag_wimages img {
    border-radius: 7px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 275px;
    height: 140px;
}


.custom_tag_wface {
    font: 700 11px Inter;
    padding-left: 20px;
padding-top: 10px;
}

.custom_tag_wface::before {
    content: '\f007' !important;
    font: var(--fa-font-solid) !important;
    position: absolute;
    margin-top: 8px;
    margin-left: -15px;
}


.custom_tag_wtext {
    font: 400 10px Inter;
}

.custom_tag_wfooter {
    background-image: url(https://forumstatic.ru/files/001c/49/4e/81787.png);
    width: 550px;
    height: 18px;
    margin-left: 5px;
    margin-bottom: 10px !important;
    margin-top: 10px;
}

/*------------------------- ТЕМЫ --------------------------- */
/* гостевая 
------------- */
.guest {
  width:920px;
  margin:0 auto;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#222;
  padding: 10px 0;
}
.guest .top-search{
  margin:30px 0 20px;
  width:500px;
  height:30px;
  margin:0 auto 20px;
  background:rgb(var(--c_lightgray));
  border-radius:19px;
  display:flex;
  align-items:center;
  padding:0 18px;
  gap:12px;
}
.guest .search-icon{
  width:15px;height:15px;color:#999;}
.guest .search-input{
width:100%;font-size:10px;color:#616161;text-align: center;
}

.guest .content-columns{
  display:grid;
  grid-template-columns: var(--col-side) 500px var(--col-side);
  gap:30px;
  align-items:center;
  justify-content: center;
}

.guest .left-avatars{
  display:flex;gap:5px;margin-bottom:20px;
}
.guest .ava-box{width:70px;height:70px;background:#fff;border-radius:10px}

.guest .left-buttons{
  display:flex;flex-direction:column;gap:8px;margin-bottom:22px;
}
.guest .link-btn{
  display:inline-block;width:145px;padding:2px 0px;text-align:center;font-size:10px;
  background:#fff;border:3px solid rgb(var(--c_blue) / 30%);border-radius:50px;color:rgb(var(--c_blue));
  text-decoration:none;cursor:pointer;box-sizing: border-box;
  transition: background .12s ease;
}
.guest .link-btn:hover{background:#eaf8f8;}

.guest .left-title{
  margin-top:6px;
  margin-bottom:12px;font-size:10px;font-weight:600;color:rgb(var(--c_blue));
  text-align: right;
}
.guest .left-text{
  font-size:10px;line-height:1;
  max-height:150px;
  width: 140px;
  overflow-y:auto;padding-right:5px;
  background:transparent;
  white-space:normal;
  text-align: justify;
}

.guest .center-col {
  display: flex;
  flex-direction: column;
  width: 500px;
  box-sizing: border-box;
}

.guest .main-banner {
  width: 500px;
  background: url(https://upforme.ru/uploads/001c/98/18/8/458628.png); 
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  height: 200px; 
}

.guest .center-card {
  background: #F8F8F8;
  border-radius: 0 0 30px 30px;
  padding: 10px 50px; 
  box-sizing: border-box;
  width: 500px;
  height: auto;
}

.guest .gender-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: -25px; /* опускаем на стык */
  z-index: 2;
}

.guest .gender-tabs .tab {
  background: #F8F8F8;
  padding: 8px 58px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #111;
  line-height: 1;
  box-sizing: border-box;
  border: 0;
}

.guest .gender-list {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  height: 160px; /* подгони по макету */
  box-sizing: border-box;
  margin-top: 12px; 
}


.guest .bottom-input-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.guest .bottom-input {
  flex: 1;
  height: 30px;
  width: 100px;
  border-radius: 50px;
  border: 0;
  background: #F0F0F0;
  padding: 0 15px;
  font-size: 10px;
  color: #666;
  box-sizing: border-box;
}
.guest .submit-btn {
  height: 30px;
  padding: 0 18px;
  border-radius: 50px;
  border: 3px solid rgb(var(--c_blue) / 30%);
  background: #fff;
  font-size: 10px;
  color: #5faead;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1;
}


.guest .quickstart{
  width:145px;background:#fff;border-radius:10px;box-sizing: border-box;
  border:3px solid rgb(var(--c_blue) / 30%);padding:5px;margin-bottom:20px;
}
.guest .qs-title{font-size:11px;font-weight:600;margin-bottom:3px;display:flex;align-items:center;gap:3px;color:#666;}
.guest .qs-heart{width:12px;height:12px;color:rgb(var(--c_orange));margin-top:-3px;}
.guest .qs-list{margin:0;padding-left:15px;font-size:9px;line-height:1.2;color:#666;}
.guest .qs-list li{margin-bottom:10px}


.guest .right-avatars{display:flex;gap:5px;margin-bottom:20px}
.guest .right-ava{width:70px;height:100px;background:#c3c3c3;border-radius:10px}

.guest .right-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 5px; 
}
.guest .right-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  background: #fff;
  border: 3px solid rgb(var(--c_orange) / 30%);
  box-sizing: border-box;
  border-radius: 50px;
  font-size: 9px;
  color: rgb(var(--c_blue));
  transition: background .12s ease;
}

.guest .right-btn:hover {
  background: rgb(var(--c_orange) / 20%);
}
.guest .two-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
}

.guest .list-column {
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  height: 120px; 
}

.guest .list-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 6px 0;
font-size: 10px;
  color: #444;
  padding: 4px 14px;
  line-height: 1;
  white-space: nowrap;
}
.guest .two-lists day { 
  display:block;
  font-size: 10px;
  font-weight: bold;
  color: rgb(var(--c_blue));
  padding: 5px 0;
  margin-top: 5px;
  margin-left: -5px;
}

/* Внехи 
--------------- */
.faces {
  width:920px;
  margin:0 auto;
  color:#222;
  padding: 10px 0;
}

.faces .top-search{
  margin:30px 0 20px;
  width:500px;
  height:30px;
  margin:0 auto 20px;
  background:rgb(var(--c_lightgray));
  border-radius:19px;
  display:flex;
  align-items:center;
  padding:0 18px;
  gap:12px;
}
.faces .search-icon{
  width:15px;height:15px;color:#999;}
.search-input{
width:100%;font-size:10px;color:#616161;text-align: center;
}

.faces .col {
  margin:0 auto;
  display: flex;
  flex-direction: column;
  width: 500px;
  box-sizing: border-box;
}

.faces .main-banner {
  width: 500px;
  background: url('https://upforme.ru/uploads/001c/98/18/8/904699.png'); 
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  height: 50px; 
}

.faces .center-card {
  background: #F8F8F8;
  border-radius: 0 0 30px 30px;
  padding: 10px 50px; 
  box-sizing: border-box;
  width: 500px;
  height: auto;
}

.faces .gender-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: -25px; /* опускаем на стык */
  z-index: 2;
}

.faces .gender-tabs .tab {
  background: #F8F8F8;
  padding: 8px 58px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #111;
  line-height: 1;
  box-sizing: border-box;
  border: 0;
}

.faces .gender-list {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  height: 300px; /* подгони по макету */
  box-sizing: border-box;
  margin-top: 12px; 
  margin-bottom: 30px;
}


.faces .two-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
}

.faces .list-column {
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  height: 260px; 
}

.faces .list-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 6px 0;
font-size: 10px;
  color: #444;
  padding: 4px 14px;
  line-height: 1;
  white-space: nowrap;
}

.faces .two-lists day { 
  display:block;
  font-size: 10px;
  font-weight: bold;
  color: rgb(var(--c_blue));
  padding: 5px 0;
  margin-top: 5px;
  margin-left: -5px;
}

/* орг темы
--------------- */

.org {
  margin:0 auto;
  color:#222;
  padding: 10px 0;
}

.org .main-banner {  margin:0 auto;
  width: 500px;
  background: url(https://upforme.ru/uploads/001c/98/18/8/855146.png); 
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  height: 50px;
  display: flex;
  align-items: center;  
  justify-content: center;  
}

.org .main-banner p {
  padding: 0;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
line-height:10px;
}

.org .center-card {  margin:0 auto;
  background: #F8F8F8;
  border-radius: 0 0 10px 10px;
  padding: 35px; 
  box-sizing: border-box;
  width: 500px;
  height: auto;
  text-align: justify;
}

.org .orgtext {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 30px;
  height: auto;
  box-sizing: border-box;
  white-space: pre-wrap;
    word-wrap: break-word;
}
/* конкурсы
----------------*/
.contest {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.contest .title {
  text-align: center;
  font-size: 14px;
  color: #8fc6c8;
  margin-bottom: 20px;
}

.contest .gb-input-row {
  background: #eff3f2;
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.contest .gb-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 11px;
color: #a9bebe;
}

.contest .gb-send-btn {
  width: 22px;
  height: 22px;
  border: 2px solid #8fc6c8;
  border-radius: 50%;
  background: transparent;
  position: relative;
}

.contest .gb-send-btn::after {
  content: "\f1d8";
  font-family:var(--fa);
  position: absolute;
  font-size: 10px;
  color: #8fc6c8;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -50%);
}

.contest .gb-message {
  background: #88BAB9;
  border-radius: 12px;
  padding: 20px;
  color: #fff;
}

.contest .gb-message a {color:#2e5c5b;}
.contest .gb-message a:hover {color:#fff;}

.contest .gb-msg-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.contest .gb-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contest .gb-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.contest .gb-username {
  font-size: 12px;
  color: #eaf6f5;
}

.contest .gb-actions {
  display: flex;
  gap: 8px;
}

.contest .gb-btn {
  background: #ffffff;
  border: none;
  color: #7fb7b6;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.contest .gb-text {
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
  padding: 0px 35px;
  text-align: justify;  
  white-space: pre-wrap;
    word-wrap: break-word;
}

/* новости
-----------------*/
.news_post {
  width:100%;
  max-width:730px;
  margin:0 auto;
  background: rgb(var(--c_lightgray));
  border-radius:30px;
  overflow:hidden;
}

.news_post .news-topbar{
  background: rgb(var(--c_blue));
  padding:10px 0;
  display:flex;
  justify-content:center;
  height: 50px;
}

.news_post .news-search{
  background:rgb(var(--c_lightgray));
  border-radius:50px;
  display:flex;
  align-items:center;
  gap:10px;
  width:514px;
  justify-content:center;
  height: 30px;
}

.news_post .news-search-text{
  font-size:10px;
  color:#555;
}

.news_post .news-content{
  display:flex;
  gap:20px;
  padding:20px;
}

.news_post .news-left{
  width:190px;
  background:#fff;
  border-radius:20px;
  padding:20px;
  text-align:center;
}

.news_post .news-avatar{
  width:80px;
  height:80px;
  margin:5px auto 10px;
  border-radius:50%;
  outline: 5px solid rgb(var(--c_blue) / 30%);
}

.news_post .news-title{
  font-weight:bold;
  font-size:14px;
  color: rgb(var(--c_blue));
  margin:20px 0;
}

.news_post .news-thumbs{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 0 auto 20px;
    justify-items: center;
    align-items: center;
    justify-content: center;
    width: 100px;
}

.news_post .thumb {
  width:30px;
  height:30px;
  border-radius:6px;
  border: 1px solid rgb(var(--c_orange));
}

.news_post .news-tags{  
  font-weight:bold;
  font-size:10px;
  color: rgb(var(--c_blue));
  line-height:1.5;
}

.news_post .news-right{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}

.news_post .news-user-row {
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color: rgb(var(--c_blue));  
  margin-left: 10px;
  align-items: center;
}

.news_post .news-username{
  font-weight:bold;
}

.news_post .news-date {
    color: #C4C5C4;
    font-size: 10px;
}

.news_post .news-text-box {
  width: 475px;
  height: 170px;
  background:#fff;
  border-radius:20px;
  padding:0px 5px;
  max-height:170px;
  overflow-y:auto;
  font-size:11px;
  line-height:1.1;
  color:#666;
  text-align: justify;
  border:15px solid #fff;
  white-space: pre-wrap;
   word-wrap: break-word;
}

.news_post .news-post-name{
  font-size:11px;
  color: rgb(var(--c_orange));
  font-weight:bold;
  margin-left: 10px;
}

.news_post .news-bottom-row{
  display:flex;
  gap:15px;
  height:77px;
}

.news_post .news-post-preview {
  background:#fff;
  border-radius:20px;
  padding:10px 20px;
  height:77px;
  width: 305px;
  text-align: justify;
  position: relative;
box-sizing:;
}

.news_post .news-post-preview span {
  font-size:10px;
  display:block;
  color:#555;
  height:50px;
  padding:0px 5px 5px;
  text-align: justify;
  overflow-y: auto;
  line-height:1;
}

.news_post .news-read-more {
  background: rgb(var(--c_orange));
  color:#fff;
  font-size:10px;
  padding:0;
  border-radius:50px;
  bottom:-7px;
  font-weight: bold;
  width: 100px;
  text-align: center;
  position: absolute;
  right: 20px;
}

.news_post .news-links{
  display:flex;
  width: 150px;
  flex-direction:column;
  gap:5px;
  max-height: 77px;
  overflow-y: auto;
  justify-content: flex-start;
  padding-right: 5px;
  box-sizing: border-box;
  margin-top: 0px;
}

.news_post .news-link {
  background: rgb(var(--c_blue));
  color:#fff;
  text-decoration:none;
  font-size:10px;
  padding:3px 10px;
  border-radius:20px;
  text-align:center;
  font-weight: bold;    
  display: block;
}

/* лс
-------------------*/
body.vb-modal-open { overflow: hidden !important; }

.vb-profile-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: rgba(0,0,0,0.6);
  -webkit-tap-highlight-color: transparent;
}

.vb-profile-wrap {
  width: 600px;
  height: 580px;
  background: #fff;
  color: #eee;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  animation: vbModalShow .22s ease-out;
}

@keyframes vbModalShow {
  from { transform: translate(-50%, -60%); opacity: 0; }
  to   { transform: translate(-50%, -50%); opacity: 1; }
}
.vb-profile-modal {
  opacity: 1;
  transition: opacity .22s ease-out;
}

.vb-profile-modal.vb-hide {
  opacity: 0;
}
/* Основная карточка */
.profile-card {
  width: 580px;
  height: 560px;
  background: #fff;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Верхний блок */
.pc-header {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 78px;
  background: #333;
  padding: 0px 25px 0;
  border-radius: 20px 20px 0 0;
  margin-bottom: 50px ;
   position: relative;
}

.vb-profile-modal .pc-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
  border-radius: 20px 20px 0 0;
}

.vb-profile-modal .pc-header > *:not(.pc-header-bg) {
  position: relative;
  z-index: 1;
}

.pc-avatar {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #ddd;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #fff;
  margin-top: 30px;
  margin-bottom: -40px;
}

.pc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-main-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: -40px;
}

.pc-name {
  background: #fff;
  padding: 2px 12px;
  text-align: center;
  border-radius: 20px;
  font-weight: bold;
  font-size: 12px;
  color: #222;
  width: fit-content;
}

.pc-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pc-date, .pc-username {
  background: #f0f0f0;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  color: #555;
  margin-top: 5px;
}

.pc-icons {  margin-top: 5px;
  display: flex;
  gap: 3px;
  margin-left: 10px;
}

.pc-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  color: #666;
  transition: color 0.2s;
}

.pc-icon:hover {
  color: #333;
}

.pc-icon.pair:hover { color: #ff6b6b; }
.pc-icon.form:hover { color: #4ecdc4; }

/* Средняя часть */
.pc-content {
  display: flex;
  gap: 20px;
  flex-grow: 1;
  height: 240px;  
  padding: 10px;
}

.pc-block {
  width: 290px;
  background: #F8F8F8;
  border-radius: 12px;
  padding: 20px 10px;
  position: relative;
}

.pc-block-title {
  position: absolute;
  top: -15px;    
  left: 100px;
  background: #fff;
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 10px;
  font-weight: bold;
  color: #333;
  margin: 0 auto;
}

.pc-scroll {
    height: 210px;
    gap: 5px;
    padding: 5px 0px;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

/* Элементы фонов */
.bg-item {
  width: 230px;
  height: 80px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #d8d8d8;
}

/* Элементы плашек */
.badge-item {
  width: 180px;
  height: 37px;
  border-radius: 21px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #d8d8d8;
}

/* Подписки */
.pc-subscriptions {
  background: #F8F8F8;
  padding: 15px;
  border-radius: 12px;
  position: relative;
  margin: 0 10px 10px;
}
.pc-subscriptions .pc-block-title {
      left: 50px;
}
.pc-subs-list {
     padding-top: 10px !important;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 1fr);
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
}

.sub-item {
  position: relative;
  padding: 25px 16px 0;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
  overflow: visible;
  width: 141px;
  height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 25px solid white;
  box-sizing: border-box;
}

.sub-item .inactive {opacity: .3;}

 .sub-item > div {margin-bottom: -15px;}

.sub-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sub-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;border-radius: 10px;
}

/* Градиенты для активных подписок */
.sub-item.active::before {
  background: linear-gradient(to bottom, 
    var(--sub-color, #6a11cb) 0%,
    rgba(255, 255, 255, 0.8) 100%);
}

.sub-item.inactive::before {
  background: linear-gradient(to bottom, 
    #888 0%,
    rgba(255, 255, 255, 0.8) 100%);
}

/* Цвета для разных подписок */
.sub-item[data-sub-type="deleteProtection"] {
  --sub-color: #ff6b6b;
}

.sub-item[data-sub-type="twin"] {
  --sub-color: #4ecdc4;
}

.sub-item[data-sub-type="appearanceBuyout"] {
  --sub-color: #45b7d1;
}

.sub-item[data-sub-type="contestPass"] {
  --sub-color: #96ceb4;
}

.sub-item[data-sub-type="freeBadge"] {
  --sub-color: #feca57;
}

.sub-item[data-sub-type="freeBackground"] {
  --sub-color: #ff9ff3;
}

.sub-item[data-sub-type="shopDiscount"] {
  --sub-color: #54a0ff;
}

.sub-item[data-sub-type="customBadge"] {
  --sub-color: #5f27cd;
}

.sub-item[data-sub-type="customBackground"] {
  --sub-color: #00d2d3;
}

/* Содержимое подписки */
.sub-label {
  font-size: 10px;
    font-style: italic;
    line-height: 9px;
    color: #333;
    bottom: 10px;
    text-transform: lowercase;
    position: relative;
    width: 70px;
    height: 30px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

.sub-count {
  position: absolute;
  bottom: 5px;
  right: 25px;
  font-style: italic;
  font-size: 64px;
  font-weight: 900;
  color: #222;
  z-index: 1;
  line-height: 1;
}

.sub-status {
display: inline-block;
    padding: 2px 15px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    position: relative;
    bottom: -10px;
    z-index: 2;
    align-self: flex-start;
    margin-top: 0px;
    line-height: 1;
}

.sub-status.active {
  background: #00A72D;
  color: white;
}

.sub-status.inactive {
  background: #FF0505;
  color: white;
}

/* Состояние при отсутствии контента */
.pc-empty {
  width: 100%;
  text-align: center;
  color: #999;
  font-style: italic;
  font-size: 12px;
  padding: 20px;
}

/* Стили для скролла */
.pc-scroll::-webkit-scrollbar {
  width: 6px;
}

.pc-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.pc-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.pc-scroll::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.pc-subs-list::-webkit-scrollbar {
    height: 4px;     /* толщина полосы */
}

.pc-subs-list::-webkit-scrollbar-track {
    background: transparent; 
}

.pc-subs-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
}

.pc-subs-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.25) transparent;
}
/*снс
--------------- */
.sns {
  width: 320px;    
  height: 450px;  
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg,#fcfcfc,#f3f8f8);
  box-shadow: 0 2px 2px rgba(20,30,30,0.12);
  overflow: hidden;
  padding-top: 72px;
  box-sizing: border-box; 
  margin: 0 auto; font:400 Rubik;
}


.sns header {
  position: absolute;
  top: 12px; 
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  pointer-events: none;  
  z-index: 5;
}

.sns chat-header {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px;
  border-radius: 50px;
  background:  #dbecec;
  box-sizing: border-box; 
}

.sns ava {
  width: 68px; 
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* сам аватар */
.sns .chat-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.sns usr {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sns usrnm {
  font-weight: 700;
  font-size: 12px;
  color: #2b3b3b;
  margin-bottom: 2px;
}

.sns stts {
  font-size: 11px;
  color: #7c8a8a;
}

.sns messages {
  position: absolute;
  top: 1px; /* место под шапку + небольшой отступ */
  bottom: 1px; /* отступ для плавающего инпута */
  left: 0;
  right: 0;
  padding: 105px 40px 80px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sns msg {
  max-width: 90%;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 10px;
    line-height: 1.35;
    box-shadow: 0 2px 2px rgba(12, 20, 20, 0.06);
    background: #fff;
    text-align: justify;
    color: #333;
}

}

.sns msg[left] {
  align-self: flex-start;
}

/* правый (собственный) */
.sns msg[right] {
  align-self: flex-end;
  background: linear-gradient(180deg, #e6f2f2, #dbecec);
}

.sns  txtit {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:15px;
  width:calc(100% - 80px);
  background:linear-gradient(180deg,#ffffff,#f8ffff);
  border-radius:28px;
  padding: 10px 5px 10px 10px;
  border:none;
  outline:none;
  font-size:8px;
  box-shadow:0 8px 20px rgba(12,25,25,0.2);
   z-index: 5;
}
txtit::after {
 content: "\f1d8";
    position: absolute;
    font-family: var(--fa);
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: linear-gradient(180deg, #dff3f3, #cfecec);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgb(var(--c_blue));
}
.sns .chat-messages::-webkit-scrollbar {
  width: 2px;
}
.sns .chat-messages::-webkit-scrollbar-thumb {
  background: #dff3f3;
  border-radius: 8px;
}
gs {
   display: inline-block;
    width: 170px;
    padding: 0px;
    margin: 5px;
    border-radius: 10px;
    position: relative;
    vertical-align: middle;
}

gs::before {
content: "\f04b";
    font-family: var(--fa);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f9a370;
    color: white;
    line-height: 9px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.2s 
ease;
    padding-left: 2px;
    position: absolute;
}

gs:hover::before {
    background: #e8925f;
}

gs::after {
     content: "";
    display: block;
    position: absolute;
    top: 5px;
    right: 0px;
    width: 130px;
    height: 15px;
    vertical-align: middle;
    margin: 0 8px;
    background-image: repeating-linear-gradient(to right, #88bab9 0px, #88bab9 2px, transparent 2px, transparent 4px);
    background-size: 4px 100%;
    animation: waveScroll 3s 
linear infinite;
    opacity: 0.7;
    border-radius: 2px;
}

@keyframes waveScroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

gs span {
    margin-top: 10px;
    display: inline-block;
    position: relative;
    top: 20px;
    font-size: 10px;
    color: #88bab9;
    line-height: 1;
    max-width: 170px;
    word-break: break-word;
    min-height: 20px;    padding: 0 0 15px;
}
