/* &#8330;&#730;&#8889;&#9825; &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; &#9825;&#8889;&#730;&#8330;
          design by shin ryujin
           code by choi yeonjun
   &#8330;&#730;&#8889;&#9825; &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; &#9825;&#8889;&#730;&#8330; */

@charset "windows-1251";
@import url('style_cs.1789404980.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=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');

@import url('https://forumstatic.ru/files/001c/bd/72/46933.css?v=12');/* 1 */
@import url('https://forumstatic.ru/files/001c/bd/72/22092.css?v=9');/* 2 */
@import url('https://forumstatic.ru/files/001c/bd/72/59793.css?v=18');/* dark */

@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:'Zeger';src:url('https://forumstatic.ru/files/001b/59/7c/29633.otf') format('opentype');font-display:swap;}
@font-face{font-family:'TT Masters Condensed';src:url('https://forumstatic.ru/files/001b/59/7c/75458.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'TT Masters Birds';src:url('https://forumstatic.ru/files/001b/59/7c/41796.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'TT Masters';src:url('https://forumstatic.ru/files/001b/59/7c/88754.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Thirsty Script ExtraBold';src:url('https://forumstatic.ru/files/001b/59/7c/32598.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Sweeping Horizon';src:url('https://forumstatic.ru/files/001b/59/7c/54451.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Spider Toon SHA';src:url('https://forumstatic.ru/files/001b/59/7c/68346.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Some Notes';src:url('https://forumstatic.ru/files/001b/59/7c/75201.otf') format('opentype');font-display:swap;}
@font-face{font-family:'SJZ';src:url('https://forumstatic.ru/files/001b/59/7c/62408.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Serpentin DG';src:url('https://forumstatic.ru/files/001b/59/7c/32874.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Roscherk SHA';src:url('https://forumstatic.ru/files/001b/59/7c/55649.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Redemption';src:url('https://forumstatic.ru/files/001b/59/7c/12069.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Product Sans Light';src:url('https://forumstatic.ru/files/001b/59/7c/17345.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Pribylskaia';src:url('https://forumstatic.ru/files/001b/59/7c/85464.ttf') format('truetype'),url('https://forumstatic.ru/files/001b/59/7c/27270.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Outhouse';src:url('https://forumstatic.ru/files/001b/59/7c/16065.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Outhouse Alternate';src:url('https://forumstatic.ru/files/001b/59/7c/58535.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Night In The Woods RUS';src:url('https://forumstatic.ru/files/001b/59/7c/28714.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Most Wazted RUS';src:url('https://forumstatic.ru/files/001b/59/7c/76342.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Marggraff Kursiv Zarte';src:url('https://forumstatic.ru/files/001b/59/7c/68581.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Mandatory Variable';src:url('https://forumstatic.ru/files/001b/59/7c/72796.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'KULAG SHA';src:url('https://forumstatic.ru/files/001b/59/7c/63211.otf') format('opentype');font-display:swap;}
@font-face{font-family:'KULAG SHA Outline';src:url('https://forumstatic.ru/files/001b/59/7c/65856.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Kramola SHA';src:url('https://forumstatic.ru/files/001b/59/7c/92913.otf') format('opentype');font-display:swap;}
@font-face{font-family:'KONSTRUKT';src:url('https://forumstatic.ru/files/001b/59/7c/71639.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Kalissa';src:url('https://forumstatic.ru/files/001b/59/7c/57501.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Josef K Paneuropean';src:url('https://forumstatic.ru/files/001b/59/7c/93327.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Jorick';src:url('https://forumstatic.ru/files/001b/59/7c/29506.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Hamiltone SHA';src:url('https://forumstatic.ru/files/001b/59/7c/47660.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Grunge Bold';src:url('https://forumstatic.ru/files/001b/59/7c/59852.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Grunge SHA';src:url('https://forumstatic.ru/files/001b/59/7c/55885.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Grow Boys';src:url('https://forumstatic.ru/files/001b/59/7c/19755.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Grechka SHA';src:url('https://forumstatic.ru/files/001b/59/7c/75462.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Grechka SHA Hollow';src:url('https://forumstatic.ru/files/001b/59/7c/82903.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Graffity';src:url('https://forumstatic.ru/files/001b/59/7c/81756.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Gordi';src:url('https://forumstatic.ru/files/001b/59/7c/85401.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Friz Quadrata';src:url('https://forumstatic.ru/files/001b/59/7c/95189.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Flores del Sol';src:url('https://forumstatic.ru/files/001b/59/7c/49482.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Europeana Two';src:url('https://forumstatic.ru/files/001b/59/7c/82688.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Europeana One';src:url('https://forumstatic.ru/files/001b/59/7c/83320.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Epoque Actuelle Serif';src:url('https://forumstatic.ru/files/001b/59/7c/96985.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Eds Market Wide';src:url('https://forumstatic.ru/files/001b/59/7c/64427.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Eds Market Regular Slant';src:url('https://forumstatic.ru/files/001b/59/7c/58717.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Eds Market Regular';src:url('https://forumstatic.ru/files/001b/59/7c/42467.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Eds Market Main Script';src:url('https://forumstatic.ru/files/001b/59/7c/14375.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Eds Market Design Elements';src:url('https://forumstatic.ru/files/001b/59/7c/93579.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Delaghen';src:url('https://forumstatic.ru/files/001b/59/7c/71894.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Cyrillic Goth SHA';src:url('https://forumstatic.ru/files/001b/59/7c/20654.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Cooper Black Zeta';src:url('https://forumstatic.ru/files/001b/59/7c/89274.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Comic Roasting';src:url('https://forumstatic.ru/files/001b/59/7c/11063.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Comic Roasting SHA';src:url('https://forumstatic.ru/files/001b/59/7c/18619.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Comic Roasting SHA Hollow';src:url('https://forumstatic.ru/files/001b/59/7c/43764.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Chinese Rocks XP';src:url('https://forumstatic.ru/files/001b/59/7c/64944.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Chinese Rocks WSH';src:url('https://forumstatic.ru/files/001b/59/7c/67376.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Chinese Rocks RG';src:url('https://forumstatic.ru/files/001b/59/7c/62728.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Chinese Rocks CD';src:url('https://forumstatic.ru/files/001b/59/7c/46723.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Chicago FLF';src:url('https://forumstatic.ru/files/001b/59/7c/11098.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Cambria Z';src:url('https://forumstatic.ru/files/001b/59/7c/10631.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Buka Bird SHA';src:url('https://forumstatic.ru/files/001b/59/7c/61954.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Boingster';src:url('https://forumstatic.ru/files/001b/59/7c/39628.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Bohema Pink';src:url('https://forumstatic.ru/files/001b/59/7c/86757.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Blacktear Script';src:url('https://forumstatic.ru/files/001b/59/7c/20433.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Bernhard SHA Hollow';src:url('https://forumstatic.ru/files/001b/59/7c/38772.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Battley';src:url('https://forumstatic.ru/files/001b/59/7c/38630.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Armor Piercing Cyrillic';src:url('https://forumstatic.ru/files/001b/59/7c/26941.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Arial Rounded SCH';src:url('https://forumstatic.ru/files/001b/59/7c/43390.otf') format('opentype');font-display:swap;}
@font-face{font-family:'Arabella';src:url('https://forumstatic.ru/files/001b/59/7c/30694.ttf') format('truetype');font-display:swap;}
@font-face{font-family:'Angellin Freaky';src:url('https://forumstatic.ru/files/001b/59/7c/15645.otf') format('opentype');font-display:swap;}


@font-face {
    font-family: 'AwesomeSerifItalic';
    src: url('https://forumstatic.ru/files/001c/bd/72/46571.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NotoSerifDisplay-Italic';
    src: url('https://forumstatic.ru/files/001c/bd/72/44435.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
    transform: scaleX(.80);
}


/* Variables */
:root {
    --font: 'Nunito Sans', georgia, times new roman, garamond, serif;
    --fa: 'Font Awesome 6 Pro';
    --nunito: 'Nunito Sans';
    --asi: 'AwesomeSerifItalic';
    --cg: 'NotoSerifDisplay-Italic';
    --html-bg: url('/files/001c/bd/72/97005.png');
    --header-bg: url(https://forumstatic.ru/files/001b/59/7c/52842.png) top center/1000px 466px no-repeat;
    --punWidth: 1000px;
    --col-side:145px;

  /* Áàçîâûå êàíàëû RGB rgba(var(--), 0.15) */
  --bodybg-rgb: 245, 239, 226;      /* #f5efe2 òåëî ôîðóìà */
  --accent-rgb: 123, 42, 38;         /* #7b2a26 áîðäîâûé */
  --blockbg-rgb: 227, 223, 211;     /* #e3dfd3 áëîêè êàòåãîðèè */
  --main-rgb: 249, 247, 243;     /* #f9f7f3 áëîêè êàòåãîðèè */
  --textmuted-rgb: 91, 91, 91;      /* #5b5b5b ñåðûé òåêñò */
  --accent2-rgb: 82, 92, 68; /* #525c44 çåëåíûé */
  --light: 255 255 255; /* áåëûé */
  --hicon_rgb: 229 223 211; /* èêîíêè â øàïêå */
    
  /* Ãîòîâûå ñïëîøíûå öâåòà var(--accent) */
  --bodybg: rgb(var(--bodybg-rgb)); /* var(--bodybg) */
  --accent: rgb(var(--accent-rgb)); /* var(--accent) */
  --accent2: rgb(var(--accent2-rgb)); /* var(--accent2) */
  --blockbg: rgb(var(--blockbg-rgb)); /* var(--blockbg) */
  --main: rgb(var(--main-rgb)); /* var(--main) */
  --textmuted: rgb(var(--textmuted-rgb)); /* var(--textmuted) */
  --white: rgb(var(--light)); /* var(--white) */
  --hicon: rgb(var(--hicon_rgb)); /* var(--hicon) */
  
    /* ãðàäèåíòû */
  --sp-pastel: /* çåëåíî-êðàñíûé ïàñòåëüíûé linear-gradient(135deg, var(--sp-pastel)); */
        #f3e8e5 0%,
        #e9ece7 48%,
        #eee9e2 100%;
        
    /* êàðòèíêè */   
    /* https://upforme.ru/uploads/001c/bd/72/2/853905.png ava */
    --sns-video: url(https://upforme.ru/uploads/001c/bd/72/2/316535.gif); /* var(--sns-video) */
    --sns-color:#efe3cb; /* var(--sns-color) */
    --sns-bg: url(https://upforme.ru/uploads/001c/bd/72/2/453308.jpg); /* var(--sns-bg) */

}


/*==================== Ïðîôèëü  ==============================*/
.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; 
}


/* 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: 20px auto;
}

.punbb {
    padding: 0;
    border-radius: 13px;
    position: relative;
    padding: 466px 0px 0px;
    background: var(--header-bg),  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: 151px;
    background: url(https://forumstatic.ru/files/001c/bd/72/20325.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;
}

/* 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;
}

/* Status Crumbs
------------------------------------------------------------------ */

#pun-status {
    height: 0px;
    position: absolute;
    top: 5px;
}

#pun-status .container {
font-size: 8px;
    line-height: 1.5;
    text-transform: lowercase;
    padding: 0;
    display: grid;
    text-align: right;
    position: relative;
    left: 780px;
    width: 200px;
    z-index: 3;
    font-weight: 700;
    color: #bbb5a5;
}

#pun-status .container .item1 strong {
    color: var(--accent);
    font-weight: 700;
}

#pun-status .container .item2 strong {
    color: var(--accent);
    font-weight:700;
}

/* Crumbs */

#pun-break1 {height: 20px;}

#pun-index #pun-crumbs1 {display:none;}

#pun-crumbs1 .container {
    text-transform: lowercase;
    padding: 10px 50px 2px;
    margin-top:10px;
    margin-bottom: 0px;
    line-height: 1;
    text-align: center;
    font-family: var(--cg);
    font-weight: 700;
    font-size: 12px;
    color: var(--accent2);
    letter-spacing: -1px;
}

#pun-crumbs2 .container {
    text-transform: lowercase;
    padding: 1px 50px;
    line-height: 1;
    text-align: center;
    margin-top: 2px;
    margin-bottom:40px;
    font-family: var(--cg);
    font-weight: 700;
    font-size: 12px;
    color: var(--accent2);
    letter-spacing: -1px;
}

#pun-index #pun-crumbs2 .container {margin-bottom:0px;}

#pun-crumbs1 .container a {
    font-weight: 700;
    background: var(--accent2);
    color: var(--bodybg);
    padding: 0 15px;
    border-radius: 50px 50px 0 0;
    font-family: var(--cg);
    font-size: 12px;
    letter-spacing: -1px;
}

#pun-crumbs2 .container a {
    font-weight: 700;
    background: var(--accent2);
    color: var(--bodybg);
    padding: 0 15px;
    border-radius: 0 0 50px 50px;
    font-family:  var(--cg);
    font-size: 12px;
    letter-spacing: -1px;
}

.crumbs em {
  display: inline-block;
  font-style: normal;
  font-size: 0px;
}

.crumbs em::after {
  content: " "; 
  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;
}


/* Cat topic headers
------------------------------------------------------------------ */

#pun-viewtopic h1,
#pun-viewtopic 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;
    text-align: left;
}

#pun-index h2 span { 
    width: 345px;
}

/* çàãîëîâêè êàòåãîðèé */    
.category.category-1 h2 {  /*  */       
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-2 h2 {   /*  */         
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-3 h2 {    /* */     
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-4 h2 {   /*  */      
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-5 h2 {    /*  */     
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-6 h2 {   /*  */      
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-7 h2 {    /*  */     
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
.category.category-8 h2 {   /*  */      
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
   .category.category-9 h2 {   /*  */      
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
   .category.category-10 h2 {   /*  */      
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }
      
#pun-stats h2 {   /* */      
    background: url(https://forumstatic.ru/files/001c/bd/72/77001.png) no-repeat center, var(--accent);
    height: 38px;width: 924px;
   }


h1 span,
h2 span {
    color: var(--bodybg);
    background: var(--accent2);
    margin-left: 0px;
    display: inline-block;
    text-transform: uppercase;
    padding: 4px 10px;
    line-height: 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    position: relative;
    text-align: center;
}

#pun-index h1 span,
#pun-index h2 span {
    color: var(--bodybg);
    background: var(--accent2);
    margin-left: 120px;
    display: inline-block;
    text-transform: uppercase;
    padding: 4px 10px;
    line-height: 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    position: relative;
    text-align: center;
}

#pun-index h2 span::after{
    content:'Part X';
    font-size: 40px;
    color: var(--blockbg);
    letter-spacing: 1px;
    display: inline-block;
    width: 100%;
    position: absolute;
    bottom:-5px;
    font-family: var(--asi), var(--cg);
    text-transform: capitalize;
    bottom: -5px;
    left: 500px;
}

#pun-category1 h2 span::after{content:'Part Zero';}
#pun-category2 h2 span::after{content:'Part One';}
#pun-category3 h2 span::after{content:'Part Two';}
#pun-category4 h2 span::after{content:'Part Three';}
#pun-category5 h2 span::after{content:'Part Four';}
#pun-category6 h2 span::after{content:'Part Five';}
#pun-category7 h2 span::after{content:'Part Six';}
#pun-category8 h2 span::after{content:'Part Seven';}
#pun-category9 h2 span::after{content:'Part Eight';}
#pun-category10 h2 span::after{content:'Part Nine';}


#pun-viewtopic h1 span,
#pun-viewtopic h2 span {
    text-align: center;
    width: 100%;
    display: block;
    text-transform: lowercase;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 28px;
    color: var(--accent2);
    font-weight: 700;
    z-index: 0;
    position: absolute;
    top: 45px;
    font-family: var(--cg);
    background: none;
}

#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: var(--white);
    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%;
    border: 1px solid #efefef;
}
textarea {border-radius: 10px;}
select {
    background: var(--white);
    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;
    border: 1px solid #efefef;
}

select option {
    background: var(--white);
}

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: var(--accent2);
    color: var(--bodybg);
    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: var(--white);
    color: #666;
}

.formsubmit input, 
.formsubmit a,
.formsubmit span {
    margin: 0 8px 0 0;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: #ccc;
    color: #000;
    cursor: pointer;
}

button:active,
.button:active,
input[type="button"]:active,
input[type="submit"]:active {
    background: #ccc;
    color: #000;
    cursor: pointer;
}
.button[name="preview"]:active,
.button.full:active,
.button.cancel:active,
.button[name="cancel"]:active,
.button[name="preview"]:hover,
.button.full:hover,
.button.cancel:hover,
.button[name="cancel"]:hover {
    background: #ccc;
    color: #000;
    cursor: pointer;
}

button[disabled]:hover,
.button[disabled]:hover,
input[disabled]:hover {
    background: #ededed;
    color: #c3c3c3;
    cursor: pointer;
}

#pun #sTheme {
    height: 24px;
}


/* 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,
.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: 0 10px 0 8px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    top: 8px;
    height: 27px;
    margin: 0;
    max-width: 650px;
}


#pun-navlinks li {
    list-style: none;
}

#pun-navlinks li a {
    font-weight: bold;
    font-size: 10px;
    line-height: 1;
    display: inline-block;
    color: var(--white);
    padding: 0;
}

#pun-navlinks li a:hover,
#pun-navlinks li a:focus {}

#pun-navlinks .container li span {
    font-size: 0;
}

#navindex a {
    text-align: center;
    width: 155px;
    text-transform: uppercase;
    position:relative;
}

#navindex a:hover::before {
    content: "\2764";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    color: var(--accent);
    font-size: 12px;
    font-style:normal;
    animation: heart-rotate 0.4s ease forwards;
    opacity: 0;
    }
@keyframes heart-rotate {
      0% {
        opacity: 0;
        transform: translateX(-50%) rotate(-180deg);
        top: -30px;
      }
      50% {
        opacity: 1;
        transform: translateX(-50%) rotate(20deg);
      }
      100% {
        opacity: 1;
        transform: translateX(-50%) rotate(0deg);
        top: -20px;
      }
}

#navuserlist,
#navsearch,
#navprofile,
#navpm,
#navadmin,
#navlogout,
#navregister,
#navlogin,
#navpr_1,
#navprofiles {
    width: 70px;
    height: 25px;
    background: #ccc;
    place-items: center;
    display: grid;
    border-radius: 12px 12px 0 0;
    background: var(--accent2);
    color:var(--bodybg);
    transition: height 0.3s ease, margin-top 0.3s ease;
}

#navpm {
    position: relative;
}


#navuserlist:hover, #navsearch:hover, #navprofile:hover, #navpm:hover, 
#navadmin:hover, #navlogout:hover, #navregister:hover, #navlogin:hover, 
#navpr_1:hover, #navprofilesa:hover {
     height: 31px;
    margin-top: -6px;
}

#navindex span::after      { content: "home"; font-size: 12px; }
#navuserlist span::after   { content: "users"; font-size: 11px; }
#navsearch span::after     { content: "search"; font-size: 11px; }
#navprofile span::after    { content: "profile"; font-size: 11px; }
#navpm span::after         { content: "mess."; font-size: 11px; }
#navadmin span::after      { content: "ams"; font-size: 11px; }
#navlogout span::after     { content: "logout"; font-size: 11px; }
#navregister span::after         { content: "reg."; font-size: 11px; }
#navlogin span::after      { content: "login"; font-size: 11px; }
#navpr_1 span::after     { content: "pr"; font-size: 11px; }
#navprofiles span::after {    content: "accounts";    font-size: 11px;} 

/* 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: 15px;
    box-sizing: border-box;
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
}

#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: 0 0 10px;
    border-radius: 15px;
    background-color: var(--main);
}


#pun-index .category tr .tc2,
#pun-index .category tr .tc3 {
    display: none;
}

#pun-index .category tr h3 a {
    font-size: 20px;
    color: var(--bodybg);
    letter-spacing: 1px;
    display: inline-block;
    text-transform: lowercase;
    background: var(--accent2);
    padding: 10px 10px 19px 50px;
    border-radius: 15px 15px 0 0;
    width: 100%;
    font-family: var(--asi), var(--cg);
}
#pun-index .category tr h3 a:hover {color: var(--white);}


#pun-index .category tr .tcr {
    width: 34%;
    padding: 20px 10px 0 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    border-radius: 15px;
    background: linear-gradient(to bottom, var(--accent2) 40px, var(--main) 40px); ;
    align-content: center;
    position: relative;
}

#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;
    font-size: 10px;
}

#pun-index .category tr .tcr .lastpost {
    grid-column: 2;
    grid-row: 2;
    display: block;
    font-size: 10px;
}

#pun-index .category tr .tcr .datetime,
#pun-index .category tr .tcr .byuser {
    text-transform: lowercase;
    font-size: 10px;
    color: #6a6a6a;
}

#pun-index .main {
    padding: 0px 23px;
}
    
.punbb:not(#pun-index) .main {
    padding: 0px 20px;
    background: var(--main);
    border-radius: 16px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#pun-viewtopic .main.multipage { 
    padding: 0px 20px;
    background: var(--main);
    border-radius: 16px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#pun-main > h1 > span {
    margin: 0;
}

#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: 30% 70%;
    grid-template-rows: minmax(30px, auto) auto;
    grid-template-areas:"statsinfo onlinelist" "statsinfo users_24h";
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.13);
}

#pun-stats .container::after {
    display: none;
}

#pun-stats .statsinfo {
    display: flex;
    padding: 15px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    grid-area: statsinfo;
    background: var(--main);
    margin: 0 10px 0 30px;
    border-radius: 15px;
}

#pun-stats .statsinfo li {
    line-height: 15px;
    font-size: 9px;
    height: auto;
    border-radius: 11px;
    background: var(--accent2);
    padding: 3px 10px;
    color: var(--bodybg);
}

#pun-stats .statsinfo li.item4 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#pun-stats .statsinfo li.item4 a, 
#pun-stats .statsinfo li strong {
    font-weight: 600;
    color: var(--bodybg);
}


#pun-stats .onlinelist {
    padding: 15px;
    margin: 0 20px;
    color: #5b5b5b;
    text-align: justify;
    grid-area: onlinelist;
    font-size: 10px;
    background: var(--main);
    border-radius: 15px 15px 0 0;
    font-weight: 700;
}

#pun-stats .users_24h {
    padding: 0 15px 15px;
    margin: 0 20px;
    color: #5b5b5b;
    text-align: justify;
    grid-area: users_24h;
    font-size: 10px;
    background: var(--main);
    border-radius: 0 0 15px 15px;
    font-weight: 700;
}

#pun-stats #onlinelist div a, #pun-stats #onlinelist div span a {
    color: var(--accent);    
    font-weight:700;
}
#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 table tr {
    border: 1px solid var(--bodybg);
    background: var(--white);
    border-radius: 100px;
}

#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, 
#pun-viewforum .forum .tclcon .newtext {
    font-size: 10px !important;
    display: inline-flex;
    flex-direction: row;
    color: #bbb;
}

#pun-viewforum .forum tbody .tc2, #pun-viewforum .forum tbody .tc3 {
    font-size: 9px !important;
    color:#6a6a6a;
}

.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;}


/* ------
userlist 
------------------- */

#pun-userlist table tr,
#pun-statistic table tr {
    text-transform: lowercase;
}
#userlist .fs-box.inline .inputfield {display:none;}

.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 1px!important;
    border: 1px solid var(--bodybg);
    background: var(--white);
    border-radius: 100px;
}
.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;
}

/* Paginator 
----------------------------------------------------- */

.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: var(--accent);
    padding: 0 15px;
    border-radius: 50px;
    color: var(--white);
    font-size: 10px;
}


.punbb:not(.punbb-admin) .pagelink {
    display: inline-block;
    padding: 0 0 0 6px;
    text-transform: lowercase;
    font-size: 8px;

}

.punbb:not(.punbb-admin) .pagelink a {
    display: inline-block;
    color:var(--accent);
    font-weight:bold;
    width: 15px;
    height: 15px;
    background: var(--bodybg);
    text-align: center;
    border-radius: 4px;
}

.punbb:not(.punbb-admin) .pagelink span {
    margin: 0 4px;
}

.punbb:not(.punbb-admin) .pagelink strong {
    display: inline-block;
    font-size: 8px;
    width: 15px;
    height: 15px;
    background: var(--bodybg);
    text-align: center;
    border-radius: 4px;
    font-weight:normal;
}

/* Icons 
------------------------------------------------ */

.punbb div.icon {
    position: relative;
    display: inline-flex;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    background: url(); 
    align-self: start;
    margin: 4px 0 0 0;
}

.punbb tr.inew div.icon {
    background: url(); 
}

.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: var(--white);
    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();
    position: absolute;
    top: 30px;
    left: 15px;
}
#pun-index tr.inew div.icon {
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    float: left;
    background: #f5efe2;
    top: 30px;
    left: 15px;
    border-radius: 50%;
}

/* Profile page
-------------------------------------------------------------*/

#profilenav {
    display: inline-block !important;
    float: left;
    width: 12em;
    margin-left: -12em;
    padding: 10px;
}

#viewprofile-next #profilenav {
    padding-top: 16px;
}
#viewprofile {      
    padding: 20px 20px 10px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #ccc;
}

#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 20px 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;
    border: 1px solid var(--bodybg);
    background: linear-gradient(135deg, var(--sp-pastel));
    border-radius: 100px;
}

#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;}


/* -ËÅÂÀß ÊÎËÎÍÊÀ -*/

#viewprofile #profile-left {
    width: 240px !important;
    min-width: 240px;
    padding: 0 !important;
    vertical-align: top;
    text-align: left;
    overflow: visible;
}


#viewprofile .vp-profile-shell {
    position: relative;
    width: 240px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    border-radius: 10px;
    border-top: 1px solid #ccc;
    background: #f5f5f5;
    background: 
    linear-gradient(to bottom, transparent 0%, rgb(224 224 224 / 100%) 30%, rgb(87 87 87) 70%) no-repeat center / 100% 100%, url(https://upforme.ru/uploads/001c/bd/72/3/762017.png)  no-repeat top center; /*ñòàíäàðòíûé ïðîôèëü*/
}

#viewprofile .vp-profile-shell > *:not(#pa-fld4) {
    position: relative;
    z-index: 2;
}

#viewprofile .vp-profile-shell li {
    list-style: none;
    margin: 0 !important;
    padding: 0;
}

/* ÈÌß */

#viewprofile .vp-profile-shell #profile-name {
    top: -26px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 18px !important;
    border: 1px solid #ccc;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(255, 255, 255, 1);
    position: absolute !important;
    width: 204px;
}

#viewprofile .vp-profile-shell #profile-name strong {
    display: block;
    margin: 0;
    font-size: 12px !important;
    font-weight: bold;
    text-transform: lowercase;
    color: #666;
}

/* pa-nasl  */

#viewprofile .vp-profile-shell .vp-nasl {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 204px;
    margin: 55px auto 15px;
    padding: 0;
    box-sizing: border-box;
    background: var(--white);
    border: 1px solid #ccc;
    border-radius: 12px;
}

/* ÑÒÀÒÓÑ */

#viewprofile .vp-profile-shell #profile-title {
    position: relative;
    top: -7px;
    width: fit-content;
    max-width: 180px;
    margin: 0 auto !important;
    padding: 3px 10px 2px !important;
    border-radius: 50px;
    background: #e3e3e3;
    font-size: 8px;
    line-height: 90%;
    font-style: normal !important;
    text-transform: lowercase;
    text-align: center;
}

#viewprofile .vp-profile-shell #profile-title strong {
    font-weight: inherit!important;
}

/* ÀÂÀÒÀÐ */
#viewprofile #pa-avatar {
    position: relative;
    margin: 0 0 5px !important;
    padding: 0 !important;
    text-align: center;
}

#viewprofile #pa-avatar > div {
    margin: 0;
    padding: 0;
}

#viewprofile #pa-avatar img {
    display: block;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-sizing: initial;
}


/* FLD1  */

#viewprofile .vp-profile-shell #pa-fld1 > span {
    display: none;
}

#viewprofile .vp-profile-shell #pa-fld1 {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    margin: 0 0 25px !important;
    padding: 0 !important;
}

#viewprofile .vp-profile-shell #pa-fld1 > strong {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-weight: 400;
}


/* Èìÿ / âîçðàñò */
#viewprofile .vp-profile-shell #pa-fld1 .alz {
    flex: 1;
    max-width: 180px;
    margin: 2px auto 10px;
    padding: 3px 20px 2px;
    box-sizing: border-box;
    border-radius: 20px;
    background: #e3e3e3;
    color: #555;
    font-size: 9px;
    line-height: 9px;
    font-weight: bold !important;
    text-align: center;
    text-transform: uppercase;
}

/* Ñàìî ËÇ */

#viewprofile .vp-profile-shell #pa-fld1 lz {
    display: block;
    width: 175px;
    margin: 0 auto;
    color: #555;
    font-size: 9px;
    line-height: 1.1;
    text-align: justify;
    font-weight: 400;
}


/* FLD2 */

#viewprofile .vp-profile-shell #pa-fld2 > span {
    display: none;
}

#viewprofile .vp-profile-shell #pa-fld2 {
    width: 240px;
    height: 50px;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    font-size: 10px;
    text-transform: lowercase;
}


#viewprofile .vp-profile-shell #pa-fld2 > strong {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    font-weight: 400;
}


#viewprofile .vp-profile-shell #pa-fld2 t1,
#viewprofile .vp-profile-shell #pa-fld2 t2 {
    display: block;
    width: 180px;
    height: 12px;
    padding: 0;
    border-radius: 30px;
    background: white;
    color: #444;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
}

#viewprofile .vp-profile-shell #pa-fld2 t1 {
    font-weight: bold;
}


/* FLD4  */

#viewprofile .vp-profile-shell > #pa-fld4 {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 240px;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    pointer-events: none;
}

#viewprofile .vp-profile-shell #pa-fld4 > span {
    display: none;
}

#viewprofile .vp-profile-shell #pa-fld4 > strong {
    display: block;
    width: 240px;
    height: 100%;
}


#viewprofile .vp-profile-shell #pa-fld4 .pr {
    display: block;
    width: 240px;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    position: absolute;
    top: 0;
}


/* ÎÍËÀÉÍ  */

#viewprofile #pa-online {
    width: 240px;
    margin: 0 !important;
    padding: 0 0 8px !important;
    text-align: center;
    position: absolute !important;
}

#viewprofile #pa-online strong {
    display: inline-block;
    padding: 0 !important;
    background: none;
    color: #888;
    font-size: 8px;
    font-weight: 400;
    text-transform: lowercase;
}


/* --- Set moderator permissions */

#setmods dl dl {
    padding: 0 8px;
    background: #ccc;
    margin-bottom: 8px;
    border-radius: 8px;
}

#setmods dl dl:hover {
    background: #eee;
}

#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: 0 16px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid #f3f3f3;
    z-index: 0;
    position: relative;
}


.post-body {
    padding: 30px 5px 5px 10px;
    box-sizing: border-box;
    width: 670px;
}

.post-links {
    width: 100%;
    text-align: right;
    font-size: 10px;
    padding: 0 15px;
    margin: 25px 10px 10px;
}
.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: var(--bodybg);
    border-radius: 20px;
    padding: 2px 5px;
    font-size: 10px;
}

#topic-users-in {
    text-transform: lowercase;
    color: #a3a3a3;
    font-weight: 600;
    font-size: 10px;
}

#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: 660px;
    margin-top: 16px;
    padding: 2px 15px 0;
    margin-left: 280px;
    background: #f9f9f9;
    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, transparent 0%, rgb(224 224 224 / 100%) 30%, rgb(87 87 87) 70%) no-repeat center / 100% 100%, url(https://upforme.ru/uploads/001c/bd/72/3/762017.png)  no-repeat top center;
  box-sizing: border-box; 
}

.post-author.online::after{
content: '';
    position: absolute;
    top: 61px;
    right: 24px;
    width: 7px;
    height: 7px;
    z-index: 10;
    background: #ccc;
    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;
}

#pun-searchposts .pa-replies {display:none;}

.punbb .pa-author,
.punbb .pa-author a,
.punbb .pa-author strong {
    font-size: 12px;
    font-weight: bold;
    text-transform: lowercase;
    color: #666
    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;
    margin:0 auto;
    width: 175px;
}

/* Ñòèëè äëÿ êîíòåíòà */
.pa-fld1 .alz {
    font-weight: bold !important;
    flex: 1;
    text-align: center;
    max-width: 175px;
    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: 175px;
    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;}*/
    
li.pa-fld2 {
    width: fit-content;
    min-width: 140px;
    max-width: 180px;
    height: 50px;
    margin: 0 auto;
    cursor: pointer;
    bottom: 0;
    position: relative;
    display: grid;
    align-content: center;
    gap: 4px;
    font-size: 10px;
    text-transform: lowercase;
}

t1,
t2 {
    display: block;
    width: auto;
    min-width: 140px;
    height: 12px;
    line-height: 12px;
    padding: 0 10px;
    box-sizing: border-box;
    background: white;
    color: #444;
    font-size: 10px;
    border-radius: 30px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

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: var(--white);
}
.pa-ip a {
    font-size: 8px;
    color:var(--white);
}
.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;
}

#pun-messages .post h3 {
    width: 460px;
}



/* 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: var(--white);
    padding: 0 20px;    
    border: 1px solid #efefef;
    
}

#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 #ccc;
    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: #ccc;
}

.punbb #keyboard-span input {
    margin: 2px!important;
    background: #f1f1f1;
    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;
}


#pun #form-buttons td img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#pun #form-buttons td {
    border: none;
    background: var(--accent2);
    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: 0px;
    margin-bottom: 1px;
}

#form-buttons td::before {
    font: 400 1.2rem / 100% var(--fa);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--bodybg);
    line-height: 1;
    padding: 0;
}

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: var(--accent2)!important;
}

#button-mybb::before {
	content: '\f120';
}

#button-font {border-radius: 10px 0 0 0;}
#button-mask {border-radius: 0 10px 0 0;}

/* 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: var(--white);
    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: #ccc;
}


/* Highlighted text */

#pun .highlight-text, #pun mark {
    font-weight: 600;
    font-size: 11px;
    font-style: italic;
    background: linear-gradient(120deg, #aed5c4, #f1b3ba);
    background-repeat: no-repeat;
    background-size: 100% 0.5em;
    background-position: 0 88%;
}


/* Abbreviated text */

.post-content abbr {
    text-decoration: underline dotted #ccc;
    cursor: help !important;
}


/* Links */

.post-content a {
    font-weight: 700;
}


/* HR (divider) */

#pun .post-content hr {
    opacity: 1;
    border-top: 2px solid #f1f1f1;
    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;
    border-radius: 10px;
    background: /*#f9f9f9;*/ #f3f2f2;
    color: #282a2a;
}

blockcode,
blockquote {
    overflow: hidden;
}

.blockcode {
    background: var(--white);
    margin: 0 0 10px 15px;
    border-radius: 7px;
}

.blockcode::before {
    content: "\f121";
    font-family: var(--fa);
    font-size: 12px;
    font-weight: normal;
    color: #7a7a7a;
    position: absolute;
    left: 10px;
    background: transparent !important;
}


blockquote {
    background: var(--white);
    margin: 5px 0 5px 15px;
    padding: 0 10px;
    border-radius: 7px;
}

blockquote::before {
    content: "\f10d";
    font-family: var(--fa);
    font-size: 14px;
    font-weight: normal;
    color: #7a7a7a;
    position: absolute;
    left: 10px;
    background: transparent !important;
}

.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: italic;
    font-size: 10px;
    line-height: 100%;
    text-transform: lowercase;
    padding: 5px 0px 5px;
    margin-bottom: 5px;
    font-weight: bold;
    background: linear-gradient(120deg, #aed5c4, #f1b3ba);
    background-repeat: no-repeat;
    background-size: 100% 0.5em;
    background-position: 0 72%;
}

.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";
}

.post-content .spoiler-box > blockquote {
    margin-top: 10px;
    padding:5px!important;
    margin: 10px 0 5px 0;
}
.post-content .spoiler-box > blockquote::before {
    content: ""; }

.post-content .spoiler-box > blockquote.visible p {
    padding: 5px;
}



/* 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: var(--accent);
    background: none;
}

.item-forms a,
.item15 a,
.item20 a {
    background: #fff;
    padding: 0 10px;
    border-radius: 50px;
}


/* 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: var(--white);
    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: 0px;
    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);
}

/* ËÑ
--------------------------------------------------------- */


.wpc,.wpc *{box-sizing:border-box}
.wpc{--wpc-glass-x:50%;--wpc-glass-y:18%;--wpc-purple:#c5abc4;--wpc-purple-dark:#7e3181;--white:#fff;position:relative;width:980px;height:887px;margin:0 auto;overflow:hidden;isolation:isolate;border:1px solid #ebebeb;border-radius:40px;background:linear-gradient(145deg,rgb(229 229 229 / 28%) 0%,rgb(211 186 168 / 7%) 42%,rgb(209 209 209 / 16%) 100%);-webkit-backdrop-filter:blur(10px) saturate(120%) contrast(103%);backdrop-filter:blur(10px) saturate(120%) contrast(103%);color:#222;font-family:"Nunito Sans",Arial,sans-serif}
.wpc::before{content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;background:radial-gradient(circle at var(--wpc-glass-x) var(--wpc-glass-y),rgba(255,255,255,.28),rgba(255,255,255,.08) 20%,transparent 42%),linear-gradient(135deg,rgba(255,255,255,.22),transparent 32%,rgba(255,255,255,.08));opacity:.35;pointer-events:none}
.wpc-sheet{position:absolute;left:15px;top:15px;width:950px;height:857px;z-index:1;border-radius:26px;background:#fff;box-shadow:2px 0 4px rgba(0,0,0,.1)}
.wpc-rail{position:absolute;left:15px;top:15px;width:108px;height:857px;z-index:2;border-radius:26px 0 0 26px;background:linear-gradient(135deg, var(--sp-pastel));}

/* Ïîñòîÿííûå âåðõíèå êíîïêè */
wpc-actions{position:absolute;right:79px;top:28px;z-index:10;display:flex;align-items:center;gap:12px}
wpc-actions img{width:10px;height:10px;display:block;object-fit:contain}
wpc-chat{position:absolute;right:35px;top:15px;z-index:9;width:32px;height:40px;border-radius:0 0 19px 19px;background:linear-gradient(135deg, var(--sp-pastel));}
wpc-chat i{position:absolute;left:3px;top:11px;width:26px;height:26px;display:grid!important;place-items:center;border:1px solid rgba(146,146,146,.5);border-radius:50%;background:rgba(234,232,231,.2);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);font-size:12px}
wpc-chat i:before {display: grid;place-items: center;}

/* Ëåâîå ìåíþ */
.wpc nav{position:absolute;left:17px;top:253px;z-index:8;width:98px;display:flex;flex-direction:column;gap:12px}
.wpc nav button{position:relative;width:98px;height:32px;padding:0 5px 0 31px;border:1px solid rgba(146,146,146,.2);border-radius:26px;background:rgba(234,232,231,.2);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);color:#000;font:700 8px/30px "Nunito Sans",Arial,sans-serif;text-align:center;cursor:pointer}
.wpc nav button::before{content:"";position:absolute;left:1px;top:1px;width:26px;height:26px;border:1px solid rgba(146,146,146,.2);border-radius:50%;background:rgba(234,232,231,.2)}
.wpc nav button img{position:absolute;left:8px;top:8px;z-index:2;width:14px;height:14px;display:block;object-fit:contain}
.wpc nav button.active{color:var(--accent);}

/* Ñòðàíèöû */
.wpc>section[data-page]{position:absolute;inset:0;z-index:3;display:none}
.wpc>section[data-page].active{display:block}
.wpc>section[data-page]>h2{position:absolute;left:165px;top:103px;margin:0;font-size:32px;line-height:32px;font-weight:700}

/* Ñêðîëë */
.wpc .scroll{
  scrollbar-width:thin;
  scrollbar-color:#d9d9d9 transparent;
}
.wpc .scroll::-webkit-scrollbar{
  width:4px;
  height:4px;
}
.wpc .scroll::-webkit-scrollbar-track{
  background:transparent;
}
.wpc .scroll::-webkit-scrollbar-thumb{
  border-radius:9px;
  background:#d9d9d9;
}
.wpc .scroll::-webkit-scrollbar{width:4px;height:4px}
.wpc .scroll::-webkit-scrollbar-track{background:transparent}
.wpc .scroll::-webkit-scrollbar-thumb{border-radius:9px;background:#d9d9d9}

/* =========================================================
   ÃËÀÂÍÀß — ÏÐÎÔÈËÜ
   ========================================================= */
profile-avatar{position:absolute;left:171px;top:79px;width:120px;height:120px;overflow:hidden;border:3px solid rgba(0,0,0,.2);border-radius:20px;background:#d9d9d9}
profile-avatar img{width:100%;height:100%;display:block;object-fit:cover}
profile-name{position:absolute;left:313px;top:110px;width:485px;font-size:32px;line-height:38px;font-weight:700}
profile-meta{position:absolute;left:313px;top:153px;display:flex;gap:34px}
profile-meta>*{width:180px;height:17px;padding:0 10px;overflow:hidden;border-radius:12px;background:#d9d9d9;color:inherit;font-size:10px;line-height:17px;text-align:center;text-decoration:none;white-space:nowrap;text-overflow:ellipsis}

/* =========================================================
   ÎÔÎÐÌËÅÍÈß — ÑÂÎÉ SVG, ÑÂÎÉ ÇÀÃÎËÎÂÎÊ
   ========================================================= */
wpc-skins{position:absolute;left:148px;top:223px;width:792px;height:421px}
wpc-skins::before{content:"";position:absolute;inset:0;z-index:0;background:url(https://forumstatic.ru/files/001c/bd/72/61066.svg) center/100% 100% no-repeat;filter:drop-shadow(0 0px 4px rgba(0, 0, 0, .25));pointer-events:none}
wpc-skins>h3{position:absolute;left:500px;top:2px;z-index:2;width:167px;height:17px;margin:0;transform:translateX(-50%);font-size:12px;line-height:17px;font-weight:700;text-align:center}
.wpc-skins-scroll{position:absolute;left:18px;top:50px;z-index:1;width:761px;height:349px;padding-right:9px;overflow-y:auto}
.wpc-skins-grid{display:grid;grid-template-columns:repeat(3,241px);gap:12px 11px;padding:2px;}
wpc-skins>skin{display:none}

/* =========================================================
   ÊÓÏÎÍÛ — ÑÂÎÉ SVG, ÑÂÎÉ ÇÀÃÎËÎÂÎÊ
   ========================================================= */
wpc-coupons{position:absolute;left:148px;top:673px;width:792px;height:176px}
wpc-coupons::before{content:"";position:absolute;inset:0;z-index:0;background:url(https://forumstatic.ru/files/001c/bd/72/91350.svg) center/100% 100% no-repeat;filter:drop-shadow(0 0px 4px rgba(0, 0, 0, .25));pointer-events:none}
wpc-coupons>h3{position:absolute;left:500px;top:2px;z-index:2;width:167px;height:17px;margin:0;transform:translateX(-50%);font-size:12px;line-height:17px;font-weight:700;text-align:center}
coupon-list{position:absolute;left:25px;right:25px;top:43px;bottom:14px;z-index:1;display:flex;align-items:center!important;flex-direction: row !important; gap:12px!important;overflow-x:auto;overflow-y:hidden;padding:2px 2px 10px}
coupon{position:relative;flex:0 0 245px;width:245px;height:88px;padding:59px 75px 0 0;overflow:hidden;border-radius:15px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);color:#575757;font-size:12px;line-height:12px;font-style:italic;text-align:center;transition:filter .2s ease,opacity .2s ease}
coupon::before{content:attr(count);position:absolute;right:0;top:0;width:75px;height:88px;display:flex;align-items:center;justify-content:center;border-radius:0 15px 15px 0;background:var(--coupon,#e69393);color:#fff;font-size:48px;line-height:1;font-weight:900;font-style:normal}
coupon::after{content:"êóïîí";position:absolute;left:14px;top:10px;width:143px;height:39px;border-bottom:1px solid #d9d9d9;color:#000;font-size:24px;line-height:28px;font-weight:700;font-style:normal;text-align:center}
coupon[state="off"]{filter:grayscale(1);opacity:.28}

/* =========================================================
   ÌÀÃÀÇÈÍÍÛÉ ÍÀÁÎÐ — ÐÎÂÍÎ ÌÀÃÀÇÈÍÍÛÉ CSS
   ========================================================= */
.shop-item.wshop__product{position:relative;width:241px;height:100px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:12px;background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.25);cursor:pointer;user-select:none}
.shop-item.wshop__product.active{border-color:#c5abc4!important}
.wshop__product-bg{position:absolute;inset:0}
.wshop__product--bundle{background:#e9e9e9!important}
.wshop__product--bundle .wshop__product-bg{z-index:0}
.wshop__product-footer{position:absolute;left:0;right:0;bottom:0;z-index:2;height:36px;padding:4px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#e9e9e9;text-transform: lowercase;}
.wshop__product-tag{width:180px;min-height:12px;padding:1px 10px;border-radius:10px;background:var(--white);display:flex;align-items:center;justify-content:center;font-size:9px;line-height:10px;font-weight:700;text-align:center}
.wshop__product-sale{position:absolute;right:7px;top:7px;z-index:4;min-width:45px;padding:3px 6px;border-radius:10px;background:rgba(255,255,255,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:8px;line-height:9px;font-weight:700;text-align:center}
.wshop__product-sale s{opacity:.55;font-weight:400}
.wshop__product-kind{position:absolute;left:8px;top:7px;z-index:3;min-width:54px;height:14px;padding:0 7px;border-radius:10px;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;font-size:8px;line-height:1;font-weight:700}

/* =========================================================
   ÄÎÑÒÈÆÅÍÈß — ÂÑÅÃÎ
   ========================================================= */
wpc-total-title{position:absolute;left:682px;top:165px;width:216px;font-size:32px;line-height:32px;font-weight:700}
wpc-summary{position:absolute;left:658px;top:205px;width:287px;height:73px;z-index:1;display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:center}
wpc-summary::before{content:"";position:absolute;inset:0;z-index:-1;background:url(https://forumstatic.ru/files/001c/bd/72/17868.svg) center/100% 100% no-repeat;filter:drop-shadow(0 0px 4px rgba(0, 0, 0, .25));pointer-events:none}
wpc-summary span{font-size:10px;line-height:14px}
wpc-summary b{display:block;margin-top:2px;color:#c5abc4;font-size:24px;line-height:25px}

/* =========================================================
   ÏËÅÉËÈÑÒÛ — ÑÂÎÉ SVG
   ========================================================= */
wpc-playlists{
  position:absolute;
  left:147px;
  top:153px;
  width:497px;
  height:696px;
  overflow:visible;
}
wpc-playlists::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:url(https://forumstatic.ru/files/001c/bd/72/50654.svg) center/100% 100% no-repeat;
  filter:drop-shadow(0 0 4px rgba(0,0,0,.25));
  pointer-events:none;
}
.wpc-playlists-scroll{
  position:absolute;
  left:17px;
  right:13px;
  top:25px;
  bottom:14px;
  z-index:1;
  overflow-y:auto;
  overflow-x:hidden;
  padding:5px 9px 10px 5px;
    display: flex;
    flex-direction: column;
}
playlist{position:relative;width:443px;margin:0 auto 20px}
playlist:not([ready]){visibility:hidden}
.wpc-pl-head{position:relative;width:443px;height:148px;padding:24px 24px 18px 136px;border-radius:15px;background:linear-gradient(180deg,var(--pl-a,#b3f6fc),var(--pl-b,#bbf9d9));box-shadow:0 0 4px rgba(0,0,0,.25)}
.wpc-pl-cover{position:absolute;left:23px;top:24px;width:100px;height:100px;overflow:hidden;border:3px solid #fff;border-radius:10px;background:#d9d9d9}
.wpc-pl-cover img{width:100%;height:100%;display:block;object-fit:cover}
.wpc-pl-name{min-height:45px;display:flex;align-items:center;font-size:20px;line-height:20px;font-weight:700;font-style:italic;text-transform:uppercase}
.wpc-pl-desc{width:203px;height:17px;margin-top:3px;padding:0 10px;overflow:hidden;border-radius:29px;background:#fff;font-size:10px;line-height:17px;text-align:center;white-space:nowrap;text-overflow:ellipsis}
.wpc-pl-songs{width:383px;margin:-12px auto 0;padding:27px 24px 17px;border-radius:15px;background:#fff;box-shadow:0 0 4px rgba(0,0,0,.25)}
.wpc-pl-song{position:relative;min-height:40px;padding:0 72px 0 24px}
.wpc-pl-title{overflow:hidden;color:#868686;font-size:13px;line-height:17px;white-space:nowrap;text-overflow:ellipsis}
.wpc-pl-title strong{font-weight:700}
.wpc-pl-quote{overflow:hidden;color:#b3b5b5;font-size:10px;line-height:13px;font-style:italic;white-space:nowrap;text-overflow:ellipsis}
.wpc-pl-time{position:absolute;right:18px;top:4px;font-size:13px;line-height:18px}
.wpc-pl-heart{position:absolute;right:0;top:8px;color:#aaa;font-size:9px;line-height:1}
.wpc-pl-song[data-state="on"]::before{color:var(--pl-accent,#33a4aa)}
.wpc-pl-song[data-state="on"] .wpc-pl-title{color:var(--pl-accent,#33a4aa)}
.wpc-pl-song[data-state="on"] .wpc-pl-heart{color:#e25555}
.wpc-pl-song[data-state="off"]::before{color:#9a9a9a}
.wpc-pl-song[data-state="off"] .wpc-pl-title{color:#868686}
.wpc-pl-song[data-state="off"] .wpc-pl-heart{color:#aaa}
.wpc-pl-status{width:154px;height:23px;margin:-23px auto 0;position:relative;z-index:2;border-radius:15px 15px 0 0;background:var(--pl-b,#bbf9d9);font-size:13px;line-height:23px;font-weight:700;text-align:center}

/* =========================================================
   ÍÀÃÐÀÄÛ — ÑÂÎÉ SVG, ÑÂÎÉ ÇÀÃÎËÎÂÎÊ
   ========================================================= */
wpc-rewards{position:absolute;left:658px;top:307px;width:287px;height:542px}
wpc-rewards::before{content:"";position:absolute;inset:0;z-index:0;background:url(https://forumstatic.ru/files/001c/bd/72/47698.svg) center/100% 100% no-repeat;filter:drop-shadow(0 0px 4px rgba(0, 0, 0, .25));pointer-events:none}
wpc-rewards>h3{position:absolute;left:143px;top:2px;z-index:2;width:167px;height:17px;margin:0;transform:translateX(-50%);font-size:12px;line-height:17px;font-weight:700;text-align:center}
wpc-rewards>skin{display:none}
.wpc-rewards-scroll{
  position:absolute;
  left:12px;
  right:9px;
  top:34px;
  height:473px;
  z-index:1;
  overflow-y:auto;
  overflow-x:hidden;
  padding:5px 7px 10px;
}
.wpc-rewards-list{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:0 0 8px;
}

/* =========================================================
   ÀËÜÁÎÌÛ ÑËÅÂÀ — ÑÂÎÉ SVG, ÑÂÎÉ ÇÀÃÎËÎÂÎÊ
   ========================================================= */
wpc-albums{position:absolute;left:152px;top:155px;width:231px;height:693px}
wpc-albums::before{content:"";position:absolute;inset:0;z-index:0;background:url(https://forumstatic.ru/files/001c/bd/72/14709.svg) center/100% 100% no-repeat;filter:drop-shadow(0 0px 4px rgba(0, 0, 0, .25));pointer-events:none}
wpc-albums>h3{position:absolute;left:116px;top:2px;z-index:2;width:167px;height:17px;margin:0;transform:translateX(-50%);font-size:12px;line-height:17px;font-weight:700;text-align:center}
wpc-albums>album{display:none}
.wpc-album-list{position:absolute;left:20px;right:5px;top:31px;bottom:18px;z-index:1;overflow-y:auto;padding-right:10px}
.wpc-album-btn{width:170px; margin: 15px auto 0px!important; padding:0; display:block;border:0; background:transparent;cursor:pointer;font-family:inherit}
.wpc-album-cover{width:170px;height:170px;display:block;object-fit:cover;border-radius:12px;background:#d9d9d9;transition:opacity .15s ease,transform .15s ease}
.wpc-album-btn:hover .wpc-album-cover{transform:translateY(-1px)}
.wpc-album-btn.active .wpc-album-cover{outline:2px solid #c5abc4}
.wpc-album-name{width:131px;min-height:14px;margin:7px auto 0;padding:2px 8px;display:block;border-radius:37px;background:#fff;box-shadow:0 0 4px rgba(0,0,0,.25);font-size:8px;color: #222;line-height:10px;font-style:italic;text-align:center}

/* =========================================================
   ÑÎÑÒÀÂ ÀËÜÁÎÌÀ — ÑÂÎÉ SVG, ÑÂÎÉ ÇÀÃÎËÎÂÎÊ
   ========================================================= */
wpc-album-view{position:absolute;left:415px;top:205px;width:497px;height:607px}
wpc-album-view::before{content:"";position:absolute;inset:0;z-index:0;background:url(https://forumstatic.ru/files/001c/bd/72/95510.svg) center/100% 100% no-repeat;filter:drop-shadow(0 0px 4px rgba(0, 0, 0, .25));pointer-events:none}
wpc-album-view>h3{position:absolute;left:249px;top:2px;z-index:2;width:167px;height:17px;margin:0;transform:translateX(-50%);font-size:12px;line-height:17px;font-weight:700;text-align:center}
album-host{position:absolute;left:8px;right:8px;top:31px;bottom:12px;z-index:1;display:block;overflow-y:auto;padding:8px 10px 18px}
.wpc-album-stage{width:100%;min-height:545px}
.wpc-album-top{position:relative;height:245px}
.wpc-piece{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#d9d9d9}
.wpc-piece img{width:100%;height:100%;display:block;border-radius:inherit;object-fit:contain}
.wpc-piece.off{filter:grayscale(1);opacity:.45}
.wpc-piece-label{position:absolute;min-width:43px;min-height:14px;padding:2px 8px;border-radius:37px;background:#fff;box-shadow:0 0 4px rgba(0,0,0,.25);font-size:8px;line-height:10px;font-style:italic;text-align:center}
.wpc-piece.photobook{left:29px;top:42px;width:131px;height:166px}
.wpc-piece.cd{left:200px;top:76px;width:97px;height:97px;border-radius:50%}
.wpc-piece.lyric{left:366px;top:62px;width:74px;height:126px}
.wpc-piece-label.photobook{left:60px;top:15px}
.wpc-piece-label.cd{left:228px;top:18px}
.wpc-piece-label.lyric{left:370px;top:18px}
.wpc-cards-title{width:43px;min-height:14px;margin:0 auto 15px;padding:2px 8px;border-radius:37px;background:#fff;box-shadow:0 0 4px rgba(0,0,0,.25);font-size:8px;line-height:10px;font-style:italic;text-align:center}
.wpc-cards-grid{display:grid;grid-template-columns:repeat(4,86px);justify-content:center;gap:22px 10px;padding-bottom:10px}
.wpc-member{width:86px;display:flex;flex-direction:column;align-items:center;gap:11px}
.wpc-member-card{width:57px;height:84px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#d9d9d9}
.wpc-member-card img{width:100%;height:100%;display:block;border-radius:inherit;object-fit:cover}
.wpc-member-card.off{filter:grayscale(1);opacity:.45}
.wpc-member-name{width:86px;min-height:15px;padding:3px 6px;border-radius:37px;background:#fff;box-shadow:0 0 4px rgba(0,0,0,.25);font-size:8px;line-height:9px;font-style:italic;text-align:center}

/* Èñõîäíûå ñëóæåáíûå òåãè àäìèíîâ íå ïîêàçûâàåì */
skin-bg,line1,line2{display:none}
.wpc img[src=""]{visibility:hidden}


/* &#9581;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9582;
   &#9474;          chat messages · forum BY YJ         &#9474;
   &#9474;      soft / clean / readable version         &#9474;
   &#9584;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9583; */

.post-content {
  --chat-accent:#8a63ff;
  --chat-accent-soft:#eee9ff;
  --chat-text:#29282d;
  --chat-muted:#9996a0;
  --chat-line:#ebe9ee;
  --chat-bg:#f7f6f8;
  --chat-card:#fff;
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÎÁÛ×ÍÎÅ ÑÎÎÁÙÅÍÈÅ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */

.post-content .chat-message-simple {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:12px 0;
  padding:0;
  font-family:Pretendard,Noto Sans,sans-serif;
  color:var(--chat-text);
}

.post-content .chat-message-simple-header {
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 3px;
}

.post-content .chat-message-simple-avatar {
  box-sizing:border-box;
  width:40px;
  height:40px;
  flex:0 0 40px;
  object-fit:cover;
  border:3px solid #fff;
  border-radius:15px 15px 6px 15px;
}


/* ñàìî ñîîáùåíèå — íà âñþ îñòàâøóþñÿ øèðèíó */

.post-content .chat-message-simple-content {
  box-sizing:border-box;
  width:calc(100% - 51px);
  max-width:none;
  margin-left:51px;
  padding:9px 13px 10px;
  background:var(--chat-bg);
  border:1px solid var(--chat-line);
  border-radius:5px 16px 16px 16px;
  transition:border-color .2s,background .2s;
}

.post-content .chat-message-simple:hover .chat-message-simple-content {
  border-color:#dfdbe7;
}

.post-content .chat-message-simple-username {
  color:#625d6a;
  font-size:11px;
  line-height:1;
  font-weight:700;
  letter-spacing:.02em;
  cursor:pointer;
  transition:.2s;
}

.post-content .chat-message-simple-username:hover {
  color:var(--chat-accent);
}


/* ñàì òåêñò */

.post-content .chat-message-simple-content {
  box-sizing:border-box;
  width:fit-content;
  max-width:calc(100% - 52px);
  margin-left:51px;
  padding:9px 13px 10px;
  background:var(--chat-bg);
  border:1px solid var(--chat-line);
  border-radius:5px 16px 16px 16px;
  box-shadow:0 2px 8px rgba(31,25,42,.035);
}

.post-content .chat-message-simple-text {
  color:var(--chat-text);
  font-size:12px;
  line-height:1.55;
  overflow-wrap:anywhere;
}

.post-content .chat-message-simple-text > :first-child {
  margin-top:0;
}

.post-content .chat-message-simple-text > :last-child {
  margin-bottom:0;
}


/* íåáîëüøàÿ ðåàêöèÿ âñåé ïëàøêè ïðè íàâåäåíèè */

.post-content .chat-message-simple-content {
  transition:border-color .2s,background .2s,box-shadow .2s;
}

.post-content .chat-message-simple:hover .chat-message-simple-content {
  border-color:#dfdbe7;
  box-shadow:0 4px 15px rgba(31,25,42,.055);
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÑÑÛËÊÈ / ÔÎÐÌÀÒÈÐÎÂÀÍÈÅ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */

.post-content .chat-message-simple-text a {
  color:var(--chat-accent);
  text-decoration:none;
  font-weight:600;
}

.post-content .chat-message-simple-text a:hover {
  text-decoration:underline;
}

.post-content .chat-message-simple-text img {
  display:block;
  max-width:100%;
  height:auto;
  margin-top:7px;
  border-radius:12px;
}

.post-content .chat-message-simple-text code {
  padding:2px 5px;
  background:#eceaf0;
  border-radius:5px;
  font:10px monospace;
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÖÈÒÀÒÀ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.quote-block::before{content:'';}
.post-content .chat-message-simple-text .quote-block {
  position:relative;
  box-sizing:border-box;
  margin:0 0 8px;
  padding:7px 10px 7px 12px;
  color:#716d77;
  background:#fff;
  border:0;
  border-radius:8px 12px 12px 8px;
  font-size:10px;
  line-height:1.45;
  overflow:hidden;
}

.post-content .chat-message-simple-text .quote-block:before {
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:3px;
  background:linear-gradient(
    180deg,
    var(--chat-accent),
    #c7b5ff
  );
  border-radius:3px;
}

.post-content .quote-block b {
  display:block;
  margin-bottom:2px;
  color:var(--chat-accent);
  font-size:10px;
  font-weight:700;
}

.post-content .quote-block .quote-content {
  display:block;
  color:#89858e;
}

.post-content .quote-block .quote-content img {
  max-height:140px;
  object-fit:contain;
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÃÎËÎÑÎÂÎÅ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */

.post-content .voice-msg {
  box-sizing:border-box;
  width:270px;
  max-width:100%;
  padding:7px;
  color:var(--chat-text);
  background:#fff;
  border:1px solid var(--chat-line);
  border-radius:13px;
  cursor:default;
}

.post-content .voice-msg details,
.post-content .voice-msg summary {
  margin:0;
}

.post-content .voice-msg summary {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  list-style:none;
  cursor:pointer;
}

.post-content .voice-msg summary::-webkit-details-marker {
  display:none;
}

.post-content .voice-play {
  all:unset;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  flex:0 0 31px;
  color:#fff;
  background:var(--chat-accent);
  border-radius:50%;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:0 3px 8px rgba(138,99,255,.22);
}

.post-content .voice-play:hover {
  transform:scale(1.07);
}

.post-content .voice-play i {
  font-size:13px;
}

.post-content .voice-title {
  color:#625d69;
  font-size:9px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}


/* äåêîðàòèâíàÿ äîðîæêà ãîëîñîâîãî */

.post-content .voice-animation {
  display:flex;
  flex:1;
  align-items:center;
  justify-content:center;
  gap:3px;
  height:18px;
  overflow:hidden;
}

.post-content .voice-wave {
  display:block;
  width:2px;
  height:7px;
  background:#bbb4c8;
  border-radius:3px;
}

.post-content .voice-wave:nth-child(2) {
  height:13px;
}

.post-content .voice-wave:nth-child(3) {
  height:9px;
}

.post-content .voice-msg details[open] .voice-wave {
  animation:chat-wave .65s ease-in-out infinite alternate;
}

.post-content .voice-msg details[open] .voice-wave:nth-child(2) {
  animation-delay:.12s;
}

.post-content .voice-msg details[open] .voice-wave:nth-child(3) {
  animation-delay:.24s;
}

@keyframes chat-wave {
  from {transform:scaleY(.55)}
  to   {transform:scaleY(1.35)}
}

.post-content .voice-msg-duration {
  flex:0 0 auto;
  color:var(--chat-muted);
  font-size:9px;
  font-variant-numeric:tabular-nums;
}


/* ðàñøèôðîâêà */

.post-content .voice-msg-text {
  margin:7px 3px 2px 39px;
  padding:7px 9px;
  color:#85818a;
  background:var(--chat-bg);
  border-radius:8px;
  font-size:10px;
  line-height:1.5;
  cursor:text;
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÏÅÐÂÎÅ / ÑÈÑÒÅÌÍÎÅ ÑÎÎÁÙÅÍÈÅ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */

.post-content .chat-system-message {
  box-sizing:border-box;
  display:flex;
  justify-content:center;
  width:100%;
  margin:25px 0 30px;
  padding:0;
}

.post-content .chat-system-message-inner {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:14px;
  width:min(520px,90%);
  padding:14px 18px;
  color:var(--chat-muted);
  background:linear-gradient(
    135deg,
    #fff 0%,
    #faf9fc 100%
  );
  border:1px solid var(--chat-line);
  border-radius:24px 24px 8px 24px;
  box-shadow:0 8px 25px rgba(34,27,48,.055);
}

.post-content .chat-created-avatar {
  box-sizing:border-box;
  width:54px;
  height:54px;
  flex:0 0 54px;
  object-fit:cover;
  border:4px solid #fff;
  border-radius:20px 20px 7px 20px;
  box-shadow:
    0 3px 10px rgba(25,20,35,.12),
    0 0 0 1px var(--chat-line);
}

.post-content .chat-system-message-inner > div {
  min-width:0;
  font-size:10px;
  line-height:1.5;
}

.post-content .chat-system-message-inner strong {
  display:block;
  margin-bottom:3px;
  color:var(--chat-text);
  font-size:14px;
  line-height:1.2;
  font-weight:750;
}

.post-content .chat-system-message-inner strong:after {
  content:"  ·  ÷àò ñîçäàí";
  color:#b5b1bb;
  font-size:8px;
  font-weight:500;
  letter-spacing:.03em;
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÅÑËÈ ÑÎÎÁÙÅÍÈß ÑÒÎßÒ ÏÎÄÐßÄ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */

.post-content .chat-message-simple + .chat-message-simple {
  margin-top:18px;
}


/* îäèí ïîëüçîâàòåëü ïîäðÿä — ÷óòü êîìïàêòíåå */

.post-content .chat-message-simple[data-user-id="2"]
+ .chat-message-simple[data-user-id="2"] {
  margin-top:11px;
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÂÛÄÅËÅÍÈÅ ÒÅÊÑÒÀ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */

.post-content .chat-message-simple ::selection,
.post-content .chat-system-message ::selection {
  color:#fff;
  background:var(--chat-accent);
}


/* &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; ÓÇÊÈÉ ÝÊÐÀÍ &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */

@media(max-width:650px) {
  .post-content .chat-message-simple {
    max-width:100%;
  }

  .post-content .chat-message-simple-content {
    max-width:calc(100% - 48px);
    margin-left:47px;
  }

  .post-content .chat-message-simple-avatar {
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:13px 13px 5px 13px;
  }

  .post-content .chat-system-message-inner {
    width:100%;
  }

  .post-content .voice-msg {
    width:min(270px,100%);
  }
}

/*ÑÍÑ
-----------------------------------========================= */

sns * {box-sizing: border-box;}

sns {
  position:relative;
  display:grid;
  grid-template-rows: 40px auto 70px;
  margin: 10px auto 30px;
  width:300px;
   background: var(--sns-color);
  color:#282a2a;
  border-radius:25px;
  box-shadow: 0 0 0px 0 rgba(221,221,221, 0.75);
  font-size: 10px;
  text-align:justify;
    margin: 0 auto !important;
    border: 5px solid #fdfdfd;
    outline: 1px solid #ebebeb;
}

sns sns-top {
  position:relative;
  display:flex;
  flex-flow:row;
  justify-content: space-between;
  align-items: center;
  padding:0 25px;
background:#00000014;
border-radius:25px 25px 0 0;
border-bottom:1px solid #fff;
}

sns sns-top span i {
  margin:3px;
  color:#fff;
padding-right:5px;
}

sns .msgs {
  position:relative;
  display:block;
border-to:1px solid #222;
}


sns .msgs n {
position: absolute;
    display: block;
    clear: both;
    top: -27px;
    width: 150px;
    margin-left: 50px;
    text-align: left;
    text-transform: uppercase;
    font-size: 16px;
    color: #fff;
}

sns .msgs n::before {content:'to '; text-transform: lowercase;}

sns .msgs right,
sns .msgs left {
    margin: 3px;
    clear: both;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    text-transform: none;
    box-sizing: border-box;
    width: fit-content;
    max-width: 80%;
    position: relative;
    display: block;
  margin: 5px 0 0 25px;
float: inline-start;
}

sns .msgs img {border-radius: 3px;}

sns .msgs right {
float: inline-end;
  margin: 5px 25px 5px 0;
}

sns overflow {
  display:block;
  max-height:350px;
  overflow:auto;
  overflow-x: hidden;
padding: 10px 0;
}
sns overflow:before{
    background-image: var(--sns-bg);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    content: '';
    background-repeat: no-repeat;
    opacity: 0.7;
    background-position: bottom center;
background-size:100%;
    pointer-event: none;
    z-index: 0;
}

sns  overflow::-webkit-scrollbar {
    height: 2px;
}
sns  overflow::-webkit-scrollbar-thumb {
    background: rgba(195,180,205,0.75);
}
sns overflow::-webkit-scrollbar-track{
    background: transparent;
}
sns messbottom {
  position:relative;
  display:flex;
  flex-flow:row;
  justify-content: center;
  align-items: center;
  gap:5px;
  padding:25px 25px 25px 55px;
background:#00000014;
border-top:1px solid #fff;
border-radius:0 0 25px 25px;
}

sns messbottom type {
  padding:6px 10px 5px 20px;
  width:90%;
  border-radius:50px;
  background: #fff;
color:#999
}

sns messbottom i {
  color:#fff;
}

sns messav img {
bottom: -60px;
    left: 20px;
    object-fit: cover;
    border-radius: 50%!important;
    position: absolute;
    width: 50px;
    height: 50px;
    display: block;
    z-index: 2;
    padding: 1px;
    background: transparent;
    border: 3px solid #fff;
}


/* === QUOTE === */
sns .msgs quote {
  display: block;
  padding: 4px 6px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #f1f1f1;
  max-width: 100%;
  margin-bottom: 4px;
}
sns .msgs q-user {
  font-size: 9px;
  color: #666;
  display: block;
  text-transform: uppercase;
}
sns .msgs q-text {
  font-size: 9px;
  color: #ccc;
  display: block;
  font-style: italic;
}
sns .msgs q-reply {
  color: inherit;
}

/* === CIRCLE === */
sns .msgs circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgb(var(--acc2));
  background: #ccc;
  cursor: pointer;
  flex-shrink: 0;
}
sns .msgs c-vid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  opacity: 0.85;
  transition: opacity 0.2s;
}
sns .msgs circle:hover c-vid { opacity: 1; }
sns .msgs circle i {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
sns .msgs c-time {
     position: absolute;
    bottom: 10px;
    /* right: 12px; */
    font: 500 8px var(--fontHeader);
    color: #444444;
    background: rgb(255 255 255 / 28%);
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 2;
}

/* === VOICE === */
sns .msgs voice {box-sizing: border-box;}
sns .msgs v-play {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #888; font-size: 8px; cursor: pointer; transition: transform 0.2s;
}
sns .msgs v-play:hover { transform: scale(1.1); }

sns .msgs v-time { font-size: 9px; color:#444; text-align:right;width: 140px;}

/* Ñáðîñ äåôîëòíîé ñòðåëêè details */
sns .msgs details summary {
  cursor: pointer;
  list-style: none;
  font-size: 9px;
  color: #fff;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 10px; background: #dcd1bb;
  border-radius: 6px; transition: background 0.2s;
  user-select: none;
}
sns .msgs details summary::-webkit-details-marker,
sns .msgs details summary::marker { display: none; }
sns .msgs details summary:hover { background: #f3ecde; }

sns .msgs v-txt {
  max-height: 0; opacity: 0; overflow: hidden;
  font: 400 10px var(--fontHeader); color: #666; line-height: 1;
  padding: 10px;  margin-top: 0px;display: block;
}
sns .msgs details[open] v-txt {
  max-height: 200px; opacity: 1; padding: 8px 10px;
  overflow:auto;
  overflow-x: hidden;width: 185px;
}
/* ÑÎÖÑÅÒÜ
   ================================== */
.wsn,
.wsn * {
  box-sizing: border-box;
}
.wsn {
  --wsn-glass-blur: 2px;
  --wsn-glass-fill-rgb: 234, 232, 231;
  --wsn-glass-fill-opacity: .2;
  --wsn-glass-stroke-rgb: 146, 146, 146;
  --wsn-glass-stroke-opacity: .5;
  --wsn-glass-x: 50%;
  --wsn-glass-y: 18%;
  position: relative;
  margin: 15px auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 40px;
 background:
    linear-gradient(145deg, rgb(229 229 229 / 28%) 0%, rgb(211 186 168 / 7%) 42%, rgb(209 209 209 / 16%) 100%);
  -webkit-backdrop-filter:
    blur(10px)
    saturate(120%)
    contrast(103%);
  backdrop-filter:
    blur(10px)
    saturate(120%)
    contrast(103%);
  color: #222;
margin:0 auto;
border: 1px solid #ebebeb;
}
/* Äèíàìè÷åñêèé ñâåò îò îáùåãî glass-script */
.wsn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--wsn-glass-x) var(--wsn-glass-y),
      rgba(255,255,255,.42) 0,
      rgba(255,255,255,.17) 12%,
      rgba(255,255,255,.05) 28%,
      transparent 48%
    ),
    linear-gradient(
      125deg,
      rgba(255,255,255,.34) 0%,
      transparent 25%,
      transparent 72%,
      rgba(255,255,255,.12) 100%
    );
  opacity: .8;
  pointer-events: none;
}
/* Ñâåòëàÿ ñòåêëÿííàÿ êðîìêà */
.wsn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 50;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.95),
      rgba(255,255,255,.18) 28%,
      rgba(255,255,255,.06) 62%,
      rgba(255,255,255,.5)
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.wsn > * {
  z-index: 1;
}
/* =========================================================
   ÎÁÙÈÅ ÝËÅÌÅÍÒÛ
   ========================================================= */
.wsn__sheet {
  position: absolute;
  background: #fff;
  border-radius: 26px;
  box-shadow:
    2px 0 2px rgba(0,0,0,.05);
}
.wsn__glass {
  border: 1px solid rgba(
    var(--wsn-glass-stroke-rgb),
    var(--wsn-glass-stroke-opacity)
  );
  background-color: rgba(
    var(--wsn-glass-fill-rgb),
    var(--wsn-glass-fill-opacity)
  );
  -webkit-backdrop-filter:
    blur(var(--wsn-glass-blur));
  backdrop-filter:
    blur(var(--wsn-glass-blur));
}
.wsn__avatar {
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 0 4px rgba(0,0,0,.25);
}
.wsn__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.wsn__username {
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
}

.wsn__sub {
  color: #7e7d7d;
  font-size: 10px;
  line-height: 12px;
  font-style: italic;
}
.wsn__post-head {
  position: absolute;
  left: 42px;
  top: 42px;
  height: 26px;
  display: flex;
  align-items: center;
}
.wsn__post-head .wsn__avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}
.wsn__post-head-text {
  margin-left: 12px;
  margin-top: -3px;
}
.wsn__post-line {
  height: 14px;
  font-size: 12px;
  line-height: 14px;
}
.wsn__post-line strong {
  font-weight: 700;
}
.wsn__post-line span {
  font-weight: 400;
}
/* =========================================================
   1. ÏÐÎÔÈËÜ
   ========================================================= */
.wsn--profile {
  width: 650px;
  height: 600px;
}
.wsn--profile .wsn__sheet {
  left: 15px;
  top: 17px;
width: 618px;
 height: 566px;
}
/* Îáëîæêà */
.wsn__profile-cover {
  position: absolute;
  left: 38px;
  top: 44px;
  width: 574px;
  height: 145px;
  overflow: hidden;
  border-radius: 23px;
  background: #d9d9d9;
  box-shadow:
    0 0 4px rgba(0,0,0,.25);
}
.wsn__profile-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Àâàòàð */
.wsn__profile-avatar {
  position: absolute;
  left: 72px;
  top: 139px;
  width: 100px;
  height: 100px;
  border: 6px solid #fff;
}
/* Èìÿ */
.wsn__profile-name {
  position: absolute;
  left: 198px;
  top: 194px;
  width: 250px;
  min-height: 29px;
  display: flex;
  align-items: center;
  font-size: 24px;
  line-height: 20px;
  font-weight: 700;
}
/* username */
.wsn__profile-handle {
  position: absolute;
  left: 198px;
  top: 226px;
  width: fit-content;
    padding: 0 10px;
  height: 14px;
  border-radius: 26px;
  background: #eae8e7;
  display: flex;
  align-items: center;
  justify-content: center;
    display: grid;
    place-items: center;
    font-size: 9px;
}
/* Ïîäïèñàòüñÿ */
.wsn__follow {
  position: absolute;
  left: 466px;
  top: 198px;
  width: 90px;
  height: 26px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}
/* Êðóãëàÿ êíîïî÷êà ñïðàâà */
.wsn__profile-more {
  position: absolute;
  left: 564px;
  top: 198px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
display: grid;
    place-items: center;
}
/* Ñòàòèñòèêà */
.wsn__stats {
  position: absolute;
  left: 198px;
  top: 255px;
  display: flex;
  gap: 23px;
}
.wsn__stat {
  width: 81px;
  height: 40px;
  border-radius: 10px;
  background: #eae8e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  line-height: 7px;
}
.wsn__stat strong {
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 10px;
}
/* Ñåòêà ôîòîãðàôèé */
.wsn__gallery {
  position: absolute;
  left: 174px;
  top: 316px;
  display: grid;
  grid-template-columns:
    repeat(3, 100px);
  gap: 19px;
}
.wsn__tile {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 10px;
  background: #d9d9d9;
}
.wsn__tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* =========================================================
   2. ÏÎÑÒ Ñ ÔÎÒÎ
   ========================================================= */
.wsn--photo {
  width: 489px;
  height: 530px;
}
.wsn--photo .wsn__sheet {
  left: 15px;
  top: 17px;
  width: 459px;
  height: 496px;
}
/* Ôîòîãðàôèÿ */
.wsn__photo {
  position: absolute;
  left: 42px;
  top: 82px;
  width: 406px;
  height: 406px;
  overflow: hidden;
  border-radius: 10px;
  background: #d9d9d9;
}
.wsn__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Ñåðäöå */
.wsn__like {
  position: absolute;
  right: 55px;
  top: 94px;
  z-index: 5;
  color: red;
  font-size: 18px;
  line-height: 1;
}
/* Íèæíÿÿ ñòåêëÿííàÿ êíîïêà */
.wsn__photo-actions {
  position: absolute;
  left: 361px;
  top: 446px;
  z-index: 6;
  width: 73px;
  height: 26px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.wsn__photo-actions img {
  width: 9px;
  height: 10px;
  display: block;
  object-fit: contain;
}
.wsn__photo-actions img:first-child {
  width: 10px;
  height: 8px;
}
/* =========================================================
   3. ÒÅÊÑÒÎÂÛÉ ÏÎÑÒ
   ========================================================= */
.wsn--text {
  width: 489px;
  min-height: 214px;
  padding:
    17px
    15px;
}
.wsn--text .wsn__sheet {
  position: relative;
  left: auto;
  top: auto;
  width: 459px;
  min-height: 180px;
  padding:
    24px
    26px
    23px;
  border-radius: 26px;
}
/* Øàïêà äèíàìè÷åñêèõ áëîêîâ */
.wsn__flow-head {
  margin-left: 1px;
  height: 26px;
  display: flex;
  align-items: center;
}
.wsn__flow-head .wsn__avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}
.wsn__flow-head-text {
  margin-left: 12px;
  margin-top: -3px;
}
/* Êàðòî÷êà òåêñòà */
.wsn__text-card {
  position: relative;
  width: 331px;
  min-height: 44px;
  margin:
    5px
    0
    0
    38px;
  padding:
    13px
    20px
    14px;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 4px rgba(0,0,0,.25);
  font-size: 11px;
  line-height: 12px;
  text-align: justify;
  overflow-wrap: anywhere;
}

.wsn__text-card p {
  margin: 0 0 8px;
}

.wsn__text-card p:last-of-type {
  margin-bottom: 0;
}
.wsn__text-actions {
  position: absolute;
  right: 13px;
  bottom: -13px;
  width: 73px;
  height: 26px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.wsn__text-actions img {
  width: 9px;
  height: 10px;
  display: block;
  object-fit: contain;
}

.wsn__text-actions img:first-child {
  width: 10px;
  height: 8px;
}
.wsn__text-like {
  position: absolute;
  right: -13px;
  top: 10px;
  z-index: 5;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wsn__text-like i {
  color: red;
  font-size: 15px;
  line-height: 1;
}

/* =========================================================
   4. ÊÎÌÌÅÍÒÀÐÈÉ
   ========================================================= */

.wsn--comment {
  width: 489px;
  min-height: 154px;
  padding:
    17px
    15px;
}

.wsn--comment .wsn__sheet {
  position: relative;
  left: auto;
  top: auto;
  width: 459px;
  min-height: 120px;
  padding:
    24px
    26px
    27px;
  border-radius: 26px;
}
.wsn--comment .wsn__text-card {
  margin-top: 3px;
}

/* =========================================================
   5. ÈÑÒÎÐÈß
   ========================================================= */
.wsn--story {
  width: 290px;
  height: 530px;
}


/* Ñàìà èñòîðèÿ */

.wsn__story {
  position: absolute;

  left: 15px;
  top: 17px;

  width: 260px;
  height: 496px;

  overflow: hidden;

  border-radius: 26px;

  background: #d9d9d9;

  box-shadow:
    2px 0 4px rgba(0,0,0,.1);
}

.wsn__story-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


/* Øàïêà èñòîðèè */

.wsn__story-head {
  position: absolute;

  left: 19px;
  top: 20px;

  z-index: 4;

  display: flex;
}

.wsn__story-head .wsn__avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.wsn__story-user {
  margin:
    -2px
    0
    0
    12px;
}

.wsn__story-user .wsn__username {
  height: 14px;
}
/* Òåêñò èñòîðèè */
.wsn__story-caption {
  position: absolute;
  left: 24px;
  top: 293px;
  z-index: 4;
  width: 212px;
  min-height: 19px;
  padding:
    3px
    10px;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 4px rgba(0,0,0,.25);
  font-size: 12px;
  line-height: 13px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}
/* Ñåðäöå â èñòîðèè */

.wsn__story-heart {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  color: red;
  font-size: 18px;
}
  /* ÍÓÆÍÛÅ
  ==================================*/ 
   .wanted{
  width:450px;
  margin:20px auto;
  line-height:1.6;
  text-align:center;
}

.wanted small{  font-size:8px;
  display:block;
  margin-bottom:3px;
  text-transform:uppercase;
  letter-spacing:1px;
}


.wanted>b{
  display:block;
  margin:2px 0 12px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.wanted .pics{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-bottom:12px;
}

.wanted .pics img{
  width:100px;
  height:100px;
  object-fit:cover;
  border-radius:6px;
}
.wanted name {font-size:20px;  font-weight:700;
}
.wanted p{
  margin:0;
  text-align:justify;
}

.wanted i{ text-align:justify;
  display:block;
  margin-top:10px;
  font-size:10px;
  opacity:.65;
}