/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1793296050.css);

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */

html, body {
    margin: 0;
    padding: 0; 
}

body {
    padding: 0;
    background-position: top center;
    background-color: #2F5641;
    background: url(https://forumstatic.ru/files/001a/db/bb/36743.png) fixed no-repeat, url(https://forumstatic.ru/files/001c/67/5f/45989.jpg) repeat-y;
}


/* A2.2 */
.punbb * {
  margin: 0;
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
    table-layout: fixed;
    width: 100.15%;
}


/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }

/* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 96.01%;
  }

/* A3.2 */
.punbb {
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea {
  font: 1em verdana, arial, helvetica, sans-serif; 
 outline: none;
  }

.punbb input, .punbb select, .punbb optgroup {
    font: 1.1em verdana, arial, helvetica, sans-serif;
    outline: none;
    /*text-align: center;*/
}

.group.icon.inew {
font-weight: bold;
}


/* A3.4 */
.punbb h1, .punbb h2 {
    font-size: 12px;
    font-weight: bold !important;
    font-family: 'Roboto-regular';
    text-transform: uppercase;
    text-align: center;
    margin-top: 1px;
}

/* A3.5 */
.punbb h1 span {
    font-size: 0;
}

.punbb h2 span, .punbb legend span {
    font-size: 1em;
    color: #505050;
}

night.punbb h2 span, night.punbb legend span {
    color: #d5d5d5;
    }

#post-form.formal h2 span {
font-size: 12px;
    color: #505050;
    border-radius: 5px;
    position: absolute;
    /* background: #cdcdcd; */
    width: 911px;
    padding: 8px;
    margin-left: -460px;
    margin-top: -90px;
    text-transform: uppercase;
    font-family: arial black;
   display: none; 
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: underline
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }
/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 */
/* &#248;&#232;&#240;&#232;&#237;&#224; &#244;&#238;&#240;&#243;&#236;&#224; &#239;&#240;&#238;&#241;&#242;&#224;&#226;&#235;&#255;&#229;&#242;&#241;&#255; &#231;&#228;&#229;&#241;&#252; */

#pun_wrap {
    margin-left: 0px;
    padding: 0px 0px 0px 0px;
}

#pun {
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    width: 960px;
    border-style: none;
    background-color: #cfc5bc;
    padding-left: 35px;
    padding-right: 35px;
    border: 1px solid #6c6661cf;
    border-radius: 15px;
    background: #ccc3b8 url(https://forumstatic.ru/files/001a/db/bb/79576.png) repeat;
    background-size: 70%;
}

.night #pun {
    /* background: #000000 url(https://forumstatic.ru/files/001a/db/bb/79576.png) repeat; */
    background-image: none;
    background-color: #0e181c;
}

/* A5.2 */
.punbb {
  float: auto;
  height: auto;
  width: 100%;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
/*    margin-bottom: 1em;*/
}

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }


.punbb #pun-category1, .punbb #pun-category2, .punbb #pun-category3, .punbb #pun-category4, .punbb #pun-category5, .punbb #pun-category6, .punbb #pun-category7 {
    width: 930px;
    margin-left: 15px;
}

.punbb #pun-category1 {
    background: url(https://forumstatic.ru/files/001a/db/bb/26377.png) no-repeat;
    margin-top: 10px;
}
.punbb #pun-category2 {
background: url(https://forumstatic.ru/files/001a/db/bb/60314.png) no-repeat;
margin-top: 30px;
}
.punbb #pun-category3 {
background: url(https://forumstatic.ru/files/001a/db/bb/49624.png) no-repeat;
margin-top: 30px;
}
.punbb #pun-category4 {
background: url(https://forumstatic.ru/files/001a/db/bb/15031.png) no-repeat;
margin-top: 30px;
}
.punbb #pun-category5 {
background: url(https://forumstatic.ru/files/001a/db/bb/17731.png) no-repeat;
margin-top: 30px;
}
.punbb #pun-category6 {
background: url(https://forumstatic.ru/files/001a/db/bb/48319.png) no-repeat;
margin-top: 30px;
}
.punbb #pun-category7 {
background: url(https://forumstatic.ru/files/001a/db/bb/87270.png) no-repeat;
margin-top: 30px;
}


/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  /* border-style: none none solid none; */
  border-width: 0px 0px 2px 0px;
  }

/* A5.9 */
.punbb .container {
  border-style: solid;
  border-width: 1px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h2, #pun-stats h2, #pun-debug h2 {
    padding: 1em 1em 5em 1em;
    border-width: 0 0px 0px 0;
}

#pun-main h1 {
    padding: 1em 1em 1em 1em;
    border-width: 0 0px 0px 0;
}

#pun-main h2 {    padding: 0;}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 0;
    margin: 0;
    width: auto;
    overflow: hidden;
    /* margin-left: 10px; */
    text-align: justify;
    word-wrap: break-word;
    /* margin-top: -10px; */
    line-height: 1.5;
}

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    margin: 20px 0;
    padding: 0;
    height: 1px;
    border: none;
    background: #c7c7b6;
}


/* B1.3 */
.punbb .post-content p {
    margin: 0;
    line-height: 1.5;
    padding: 0 0 0.8em 0;
}

/* B1.4 */
.punbb .post-content img {
    vertical-align: middle;
}

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */

.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 0.4em 20px 1.4em 14px !important;
    padding: 1em;
    border-radius: 5px;
    background: #9e9d881a;
    border: 1px solid #9e9d8838;
}


/* B1.9 */

.punbb .code-box strong.legend {
    display: block;
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    margin-bottom: 8px;
    font-family: 'bebas neue';
    border-bottom: 2px dotted #9e9d88;
    color: #8f8775;
}
  
.punbb .quote-box cite {
    display: block;
    padding: 0 0 10px 0;
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
    font-style: normal;
    margin-bottom: 8px;
    color: #8f8775;
    border-bottom: 2px dotted #9e9d88;
    font-family: 'bebas neue';
    letter-spacing: 0.5px;
}

.author-avatar {
    width: 34px!important;
    margin-top: 0!important;
    float: left;
}

.quote-box.with-avatar {
    padding-left: 10px!important;
}

.author-avatar+span {
    margin-left: 0px!important;
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }

/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

/* B3.3 */
.linkst .pagelink {
    margin-left: -10px;
    font-family: Roboto-regular;
    font-size: 0;
    display: block;
}

.pagelink .ellipsis {
    color: #878787;
}

.pagelink .ellipsis, .pagelink strong, .pagelink a {
    font-size: 12px;
    margin: 0px 10px 5px 0px;
    width: 22px;
    /* border-radius: 5px; */
    height: 22px;
    box-sizing: border-box;
    align-items: center;
    justify-items: center;
    line-height: 0;
}

.pagelink .ellipsis a, .pagelink strong a {
    color: #000;
    text-decoration: none;
    transition: all 300ms;
}

.linkst .pagelink strong, .linksb .pagelink strong {
    color: #7e7767;
    background: #c0b8ac;
    padding: 5px 8px;
    border-radius: 0px;
    width: 14px;
    height: 14px;
    text-align: center;
    position: relative;
}

.night .linkst .pagelink strong, .night .linksb .pagelink strong {
    color: #8b8b8b;
    background: #24363b;
}

/* B3.4 */
.linkst .postlink {
    position: absolute;
    top: -2em;
    right: 2em;
    width: 16em;
    text-align: right;
    font-weight: bold;
    color: #676155;
    font-family: Roboto-regular;
}

/* B3.5 */
.punbb .linksb {
    margin: 0px 0px 5px 1px;
    text-align: right;
    padding: 10px 0px 10px 0px;
    font-size: 1.1em;
    border-radius: 0px 0px 20px 0px;
}

/* B3.6 */
.linksb .pagelink {
    text-align: left;
    font-family: Roboto-regular;
    margin-bottom: 10px;
    font-size: 0;
    float: none;
    width: auto;
    height: 27px;
    margin: 0 auto 0 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 27px;
}


/* B3.7 */
.linksb .postlink {
    display: none;
}

/* B3.8 */

.subscribelink a:hover {
    cursor: pointer;
    color: #263b42 !important;
    border-color: rgba(38, 59, 66, .45);
    background: rgba(38, 59, 66, .055);
}

#post-form {
    margin: 0px 0px 50px 1px;
    border-radius: 20px 0px 20px 0px;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
/*.punbb .formal .container {
 padding: 1.7em 2.3em 1.1em 2.3em;
  background-color: #c3d7c3;
  margin: 1px;
  }*/

/* C1.2 */
.punbb .formsubmit {
    padding: 0 0 0 8px;
    margin: 1em 0 0 0;
}

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0;
  }


/* C1.4 */
.punbb fieldset {
    border-style: solid;
    border-width: 1px;
    padding: 0px;
}

/* C1.5 */
.punbb fieldset legend {
    padding: 0;
    font-size: 1.1em;
    line-height: 30px;
}

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
    padding: 0px 0px 0px 0px;
    width: 100.5%;
}

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
    /* width: 64%; */
    margin: 0;
}

/* C1.17 */
.punbb .hashelp {
    position: relative;
    margin-top: 30px;
}

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }

/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */

.punbb .main .tcl {
    overflow: hidden;
    text-align: left;
    width: 50%;
    margin-left: 21px;
    border-radius: 0px 0px 0px 0px;
    border-right: 1px solid rgb(181 172 160 / 54%);
}

.night .punbb .main .tcl {
    border-right: 1px solid rgb(30 40 44);
}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  background-color: transparent;
  text-align: center;
  width: 12%;
  }

/* C2.3 */
.punbb .main .tcr {
    overflow: hidden;
    text-align: right;
    width: 45%;
    font-family: 'Roboto-regular';
    text-transform: lowercase;
    font-size: 11px;
    border-radius: 0px 0px 0px 0px;
}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {width: 40%}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: left;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* C2.8 */

#pun-index .tcl h3 {
    font-size: 18px;
    font-family: 'Playfair Display';
    text-transform: uppercase;
    display: block;
    border-radius: 7px;
    align-content: inherit;
    margin-top: -14px;
    margin-left: 20px;
    font-weight: 500;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
      display: none;
      }

/* C2.11 */
.punbb .main td {
    border-style: solid none none solid;
    border-width: 0px 0 0 1px;
    padding: 1em 1em 1em 1em;
    /*color: #676155;*/
}

/* C2.12 */
.punbb .main th {
    border-style: none none none solid;
    border-width: 0 0 0 1px;
    padding: 0.4em 1em 0.4em 1em;
    color: transparent;
}

/* C2.13 */
    .punbb .main .tcl {
      border-left-style: none;
      border-left-width: 0
      }

    * html .tclcon {height: 1px}

   /* C2.14 */
.punbb td div.tclcon {
    margin-right: -3px;
    padding-top: 16px;
    padding-bottom: 15px;
}
/* C2.15 */
    .punbb div.icon {
        float: left;
        display: block;
        width: 30px;
        height: 30px;}

/* C3 Topics

-------------------------------------------------------------*/
#pun-title, #pun-navlinks {
  border-color: #202021;
}

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3 {
  border-color:  transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;
  }

.punbb .forum {
    border-color: transparent;
    margin: 0px 0px 0px 1px;
}


/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;

  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {  
border-color: transparent; }

#viewprofile td {
    border: 0;
    overflow: visible;
    background: transparent;
}

/* CS2.5 */
.punbb th {
  border-color: transparent ;
    font-size: 0 !important;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  /* border-color: #d6d6d6; */
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;

  }

/* C3.1 */
.punbb .post .container {
    border-style: none solid solid solid;
    border-width: 0px;
    margin-top: -1px;
    padding-bottom: 1px;
}

/* C3.2 */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
  }

/* C3.3 */

.punbb .post h3 span {
    padding: 3px 10px 5px 21px;
    display: block;
    margin-left: 39px;
    font-weight: 500;
    color: #898989;
}

.punbb .fs-box .post h3 span {
    /* width: 100px; */
    margin-left: 200px;
}


.punbb .formal span.input #fld1[name="form[fld1]"], .punbb .formal span.input #fld2[name="form[fld2]"], .punbb .formal span.input #fld3[name="form[fld3]"], .punbb .formal span.input #fld4[name="form[fld4]"], .punbb .formal span.input #fld5[name="form[fld5]"] {
    width: 650px;
}

.punbb .formal span.input {
    /* padding-right: 500px!important; */
    /* width: 500px; */
}



/* C3.4 */

.punbb .post h3 strong {
    float: right;
    /* width: 200px; */
    text-align: right;
    color: #9e9d88 !important;
    font-family: 'roboto-regular';
    font-weight: bold;
    font-size: 10px;
}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    /* padding: 5px 5px 5px 5px; */
    line-height: 110%;
}

.punbb .post {
    border-bottom: 1px solid rgba(56, 66, 71, .22);
    border-image-slice: 1;
    margin: 1px 0px 10px 1px;
    padding-bottom: 25px;
}

.pa-author {
    font-size: 18px;
    font-weight: normal !important;
    text-transform: uppercase;
    font-family: 'Playfair Display';
    letter-spacing: 1px;
    padding: 60px 5px 10px 5px !important;
    height: 15px;
    z-index: 3;
}

/* ЛОГИН */
.post .post-author .pa-author {
    position: relative;
    width: 125px;
    min-height: 58px;
    margin: 0 0 0 20px !important;
    /* padding: 0 !important; */
    display: flex;
    align-items: center;
    text-align: left;
}


.post .post-author .pa-author > a {
    display: block;
    width: 125px;
    font-family: 'PlayfairDisplay-Regular', serif;
    font-size: 25px;
    line-height: .90;
    /* font-weight: normal; */
    text-transform: uppercase;
    letter-spacing: -1px;
    text-align: left;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-decoration: none;
    font-weight: 600;
}

/* совсем короткие: MIA SAGE, JAY WOLF, LEVI JUN */
.post .post-author .pa-author > a.name-very-short {
    font-size: 30px;
}

/* TONY JONES, LARS BERG, JADE ARDEN и подобные */
.post .post-author .pa-author > a.name-short {
    font-size: 28px;
}

/* обычные */
.post .post-author .pa-author > a {
    font-size: 25px;
}

/* RICHARD WHITMORE и длинные слова */
.post .post-author .pa-author > a.name-medium {
    font-size: 22.5px;
}

/* KASSANDRA MORNINGSTAR */
.post .post-author .pa-author > a.name-long {
    font-size: 19.5px;
}

.post .post-author .pa-title {
    position: absolute;
    top: 61px;
    left: 165px;
    width: 55px;
    min-height: 58px;
    margin: 0 !important;
    padding: 0 0 0 9px !important;
    border-left: 1px solid rgba(50, 50, 50, .35);
    display: flex;
    align-items: center;
    font-family: 'Graphik Regular', sans-serif;
    font-size: 6px;
    line-height: 1.5;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.pa-replies {
    position: relative;
    margin-top: 20px;
    color: #676155;
    z-index: 3;
    text-align: center;
}


/* C3.9 */

li.pa-title {
    height: 18px;
    overflow: hidden;
    color: #8f8775;
    position: relative;
    z-index: 3;
}

.night li.pa-title {
    color: #7c7b78;
}

li.pa-online {
    font-size: 0;
    height: 0px;
}

li.pa-ip {
    margin-top: -15px;
    width: 230px;
    color: #b5b0a7;
    position: absolute;
    z-index: 9;
    font-size: 9px;
    transform: rotate(-90deg);
    margin-left: -125px;
}

.night li.pa-ip {
    color: #263338;
}

li.pa-ip a {
    color: #b5b0a7!important;
}

.night li.pa-ip a {
    color: #263338!important;
}

/* C3.11 */
.punbb .post-body {
    margin-left: 267px;
    border-left-style: solid;
    border-left-width: 1px;
    padding: 0 0 1px 0;
}

/* C3.12 */

.punbb .post-box {
    padding: 25px 0px 10px 0px;
    /* margin: 0px 10px 0px 10px; */
    border-radius: 0px;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
    /* margin-left: 19em; */
    border-left-style: solid;
    /* border-left-width: 1px; */
    font-family: Roboto-regular;
    text-transform: lowercase;
    width: 100%;
}

/* C3.15 */
.punbb .post-links ul {
    /* padding: 0 1em 0 0; */
    /* height: 2em; */
    /* line-height: 2em; */
    /* margin-left: -29em; */
    border-top-style: dashed;
    border-top-width: 1px;
    background: transparent;
    text-align: right;
}

/* C3.16 */

.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }

/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
    padding: 10px 0px 10px 0px;
    text-align: right;
    color: #676155;
    font-family: 'Roboto Condensed';
    font-size: 12px;
    border-radius: 0px;
    letter-spacing: 0.5px;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }

/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }

/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
    /* padding-left: 80px; */
    margin: 0px 0px 0px 1px;
    padding-bottom: 40px;
}


/* C6.2 */
#profilenav {
    /* float: left; */
    width: 105%;
    margin-left: -25px;
    /* display: inline; */
    /* margin-right: 80px; */
}

/* C6.3 */
#profilenav li a {
    padding: 6px 8px;
    text-transform: lowercase;
    background-color: transparent;
    border-radius: 2px;
    color: #596166 !important;
    border: 1px solid rgba(56, 66, 71, .22);
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-size: 9px;
}

#profilenav li a:hover {
    cursor: pointer;
    color: #263b42 !important;
    border-color: rgba(38, 59, 66, .45);
    background: rgba(38, 59, 66, .055);
}

#profilenav li.isactive a {
    color: rgb(99 95 93) !important;
    border: 1px solid rgb(99 95 93 / 66%);
}

.night #profilenav li.isactive a {
    color: rgb(110 122 129) !important;
    border: 1px solid rgb(86 97 102);
}

#profilenav li {
    padding: 8px 8px;
}

/* C6.4 */
#viewprofile ul {
    height: 100%;
    border-style: solid;
    border-width: 0px;
    padding: 10px 10px 10px 10px;
    margin: 0 0 0 0;
}

#profilenav ul {
    margin-bottom: 40px;
    display: flex;
    gap: 0.5em 0em;
    flex-wrap: wrap;
    padding: var(--padding);
    border: 1px solid var(--plain-border);
}

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }


/* C6.6 */
#viewprofile h2 span {
  padding: 0 5px;
  position: relative;
  }
  
#profilenav h2 span {
    padding: 0 5px;
    /* position: relative; */
    /* margin-left: 90px; */
    display: none;
}

/* C6.7 */
#setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* Полный профиль — колонки */

#viewprofile table {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0 0;
}

#viewprofile #profile-left {
    width: 250px;
    padding: 0 20px 0 0;
    vertical-align: top;
    text-align: center;
    box-sizing: border-box;
    padding-top: 10px !important;
}

#viewprofile #profile-right {
    width: auto;
    padding: 25px 30px;
    vertical-align: top;
    background: rgb(124 116 105 / 9%);
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 10px !important;
    display: block;
}

.night #viewprofile #profile-right {
    background: rgb(30 40 44);
}

#viewprofile li {
    padding: 0;
    margin: 0;
}

/* Карточка персонажа */

#profile-name strong {
    font-size: 0.8em!important;
}

#viewprofile .tms-profile-card {
    position: relative;
padding: 25px 12px 12px;
    background-color: #e1e1d9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid rgba(38,59,66,.15);
    border-radius: 8px;
    color: #263b42;
}

#viewprofile .tms-profile-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    background: rgba(225, 225, 217, .93);
    border-radius: 6px;
    z-index: 0;
    margin-top: 20px;
}

#viewprofile .tms-profile-card #profile-name {
    padding: 0 0 4px;
    font: 21px / 1.2 'Playfair Display', serif;
    margin-top: 20px;
}

#viewprofile .tms-profile-card #profile-title {
    padding: 0 0 14px;
    font: 9px/1.4 'Roboto Condensed', sans-serif;
    letter-spacing: .5px;
    color: #8a7d64;
}

#viewprofile .tms-profile-card #pa-avatar {
    padding: 0;
    margin: 0 auto 10px;
}

#viewprofile .tms-profile-card #pa-avatar img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin: auto;
    border-radius: 3px;
}

/* Плашка */

#viewprofile .tms-profile-plaque {
    width: 180px;
    max-width: 100%;
    margin: 0 auto 12px;
}

#viewprofile .tms-profile-plaque .tm1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 40px;
    background-size: cover !important;
    background-position: center !important;
}

#viewprofile .tms-profile-plaque .text1,
#viewprofile .tms-profile-plaque .text2 {
    text-align: center;
    font: 9px/1.3 'Roboto-Regular', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Иконка */

#viewprofile .tms-profile-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

#viewprofile .tms-profile-icon-inner,
#viewprofile .tms-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

#viewprofile .tms-icon-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

#viewprofile .tms-profile-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Имя персонажа и ЛЗ */

#viewprofile .tms-profile-character {
    margin: 0 0 14px;
    font: 10px/1.5 'Roboto-Regular', sans-serif;
    color: #8a7d64;
    overflow-wrap: anywhere;
}

#viewprofile .tms-profile-character a {
    color: #263b42;
    text-decoration: none;
}

#viewprofile .tms-profile-character center {
    margin-top: 6px;
}

/* Фоновое изображение и локация */

#viewprofile .tms-profile-location {
    padding: 8px 0 0;
    font: 9px/1.4 'Roboto Condensed', sans-serif;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #596166;
    overflow-wrap: anywhere;
}

/* Игровая статистика */

#viewprofile .tms-profile-stats {
    display: flex;
    margin: 0 0 12px;
    padding: 10px 0;
    border-top: 1px solid #bcb3a8;
    border-bottom: 1px solid #bcb3a8;
}

#viewprofile .tms-profile-stat {
    flex: 1;
    min-width: 0;
    text-align: center;
}

#viewprofile .tms-profile-stat + .tms-profile-stat {
    border-left: 1px solid #bcb3a8;
}

#viewprofile .tms-stat-number,
#viewprofile .tms-stat-caption {
    display: block;
}

#viewprofile .tms-stat-number {
    font: 15px/1.3 'Playfair Display', serif;
    overflow-wrap: anywhere;
}

#viewprofile .tms-stat-caption {
    margin-top: 3px;
    font: 9px 'Roboto Condensed', sans-serif;
    color: #8a7d64;
}

/* Статус и редактирование */

#viewprofile .tms-profile-card #pa-online {
    margin-bottom: 10px;
    font: 10px 'Roboto-Regular', sans-serif;
}

#viewprofile .tms-profile-card #pa-edit a {
    display: block;
    padding: 10px;
    border-radius: 4px;
    background: #263b42;
    color: #e1e1d9;
    text-decoration: none;
    font: 10px 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Правая колонка */

#viewprofile .tms-profile-details li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(138,125,100,.3);
    font: 11px/1.5 'Roboto-Regular', sans-serif;
}

#viewprofile .tms-profile-details li > span {
    flex: 0 0 42%;
    color: #897f69;
    text-transform: lowercase;
}

#viewprofile .tms-profile-details li > strong {
    flex: 1;
    min-width: 0;
    text-align: right;
    color: #645d4c;
    overflow-wrap: anywhere;
}

#viewprofile .tms-profile-details a {
    color: #766f5f;
    text-decoration: none;
}

#viewprofile .tms-profile-details a:hover {
    color: #a17e51;
}

/* иконка на просмотре профиля */

#viewprofile .tms-profile-card > :not(.tms-profile-icon) {
    position: relative;
    z-index: 1;
}

/* C6.8 */
#viewprofile li span {
    font-weight: bold;
    text-transform: lowercase;
}

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong {
  display: block;
  font-weight: normal;
  }

#setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }

/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }


/* C7.2 */

#userlist.container, #punbbsearch.container, #login.container {
    width: 99.7%;
    margin-left: 1px;
}

#pun-userlist .usertable .container {
    border: none;
    margin: 0px 0px 0px 1px;
}

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }
/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/



/* D1.1 */
#pun-title {
  margin: 0;
  border-style: none none none none;
  border-width: 1px 1px 0 1px;
  }

/* D1.2 */
#pun-title h1 {
  display : block;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border-style: none none none none;
  }

/* D1.4 */
#pun-title h1 span  {
  font-size: 1.5em;
  }

/* D1.4 */
#pun-title h1 span  {
  display: none;
  }

#pun-title h1 span  {
  font-size: 1.5em;
  }

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }


/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */

#pun-navlinks {
    position: sticky;
    top: 0;
    margin-left: -30px;
    z-index: 22;
    height: 40px;
}

/* D.3 */
#pun-navlinks li {
    display: inline;
    padding-right: 1.5em;
    position: relative;
    z-index: 9;
}

/* D3.4 */
#pun-navlinks li a {
    font-size: 1.1em;
    font-weight: normal;
    color: #d7cec2;
}

#pun-navlinks li a:hover {
    font-weight: normal;
    /*color: #687f79!important;*/
}

#pun-navlinks li a img {
    width: 25px;
    margin-right: -8px;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.2 */

#pun-ulinks {
    position: sticky;
    top: 39px;
    margin-left: -35px;
    z-index: 20;
    height: 25px;
    width: 998px;
    /* background: #0e181c45; */
    /* border-bottom: 1px solid #6c666130; */
}

/* D4.3 */
#pun-ulinks li {
    display: inline;
    border-left-style: solid;
    border-left-width: 1px;
    white-space: nowrap;
}

#pun-ulinks li a:hover {
/*color: #687f79!important;*/
}

/* D4.4 */

#pun-ulinks li a {
    padding: 0 0.3em 0 0.6em;
    color: #dbd1c7;
}

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
    border-left-style: none;
    border-left-width: 0;
    padding: 0 0.2em 0.6em 0.6em;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
    border-bottom: none;
    margin-bottom: 0;
    margin-top: 400px;
    margin-left: -4px;
    font-family: roboto-regular;
    font-size: 10px !important;
    width: 939px;
    text-transform: lowercase;
}

/* D5.2 */
#pun-status .container {
    padding: 3px 5px 5px 5px;
    border-right: none;
    color: #676155;
}

.night #pun-status .container, .night .punbb .section .container {
    color: #747171;
}

/* D5.3 */
#pun-status span {
    white-space: nowrap;
    margin-right: 0.5em;
    /* display: block; */
    /* border-left: solid 3px #657163; */
    padding-left: 5px;
    /* padding-top: 5px; */
}

#pun-status span.item1 {
    white-space: nowrap;
    margin-right: 0.5em;
    /* display: block; */
    /* border-left: solid 3px #657163; */
    /* padding-left: 5px; */
    /* border-bottom: 2px solid #657163; */
}

#pun-status span.item2 {
  white-space: nowrap;
  margin-right: 0.5em;
  /* display: block; */
  /* border-left: solid 3px #657163; */
  /* padding-left: 5px; */
  /* padding-top: 3px; */
  }

#pun-status span.item3.status-right {
  white-space: nowrap;
  margin-right: 0.5em;
  /* display: block; */
  /* border-left: solid 3px #657163; */
  padding-left: 5px;
  /* padding-top: 2px; */
  /* margin-top: -2px; */
  color: #f3f3f3;
  }

#pun-status span.item4.status-right {
    display: none;
}

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
#pun-crumbs1 p.container {
    border-top: none;
    padding: 3em 1em 0em 1em;
    text-align: center;
}

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
    text-transform: lowercase;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgb(var(--grey) / .8);
    border-radius: 3px;
}

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {text-align: center;clear: both;}

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {text-align: center;}

/* D7.4 */
li#onlinelist {margin-top: 1em; text-align: justify; border-top-style: solid; border-top-width: 1px; float: left; width: 100%; line-height: 150%;}

/* D7.5 */
li#onlinelist div {
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0.7em 0 0 0;
    letter-spacing: 0.3px;
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
    border-bottom: none;
    padding: 3em 1em 1em 1em;
    font-size: 1.1em;
    font-family: 'Playfair Display';
    text-transform: uppercase;
    color: #676155 !important;
    text-align: center;
    letter-spacing: 0.5px;
}

.night #pun-crumbs2 .container, .night .punbb .post-body, .night .punbb .post-links, .night .punbb td.tc2, .night .punbb td.tc3, .night #pun-navlinks .container, .night .punbb .formal fieldset .post-box, .night #viewprofile li strong, .night #viewprofile li div, .night #setmods dd, .night .punbb .info-box, .night .punbb #pun-main .info-box .legend, .night .punbb .main .container, .night .punbb .post .container, .night .punbb .post h3, .night .punbb-admin #pun-admain .adcontainer, .night #pun-stats h2, .night .punbb .main h1, .night .punbb .main h2, .night #pun-debug h2, .night .punbb-admin #pun-admain h2, .night #pun-title, .night #pun-title .container, .night .punbb .modmenu .container, .night .punbb legend span, .night #viewprofile h2 span, .night #profilenav h2 span, .night .punbb-admin #pun-admain legend span, .night .punbb .post h3 span, .night .punbb th, .night #viewprofile li, .night #setmods dl, .night #pun-navlinks .container {
    color: #747171 !important;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: solid none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
  }

/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }
/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }

.tclcon h3 a {
    color: #1c1814 !important;
    padding: 0px 0px 0px 40px;
    border-radius: 0px;
    margin: 0px 0px 0px 0px;
    letter-spacing: 0px;
}

.night .tclcon h3 a {
    color: #747171 !important;
}

.tclcon h3 a:hover {
    font-size: 1em;
  color: #8a7d64 !important;
    font-weight: normal;
    padding: 0px 0px 0px 40px;
    /* background-position-x: -100%; */
    transition: all .3s ease-in-out 0s;
}

#viewprofile-next {
    margin: 0px 0px 0px 1px;
    border-radius: 0px 0px 35px 0px;
    padding-bottom: 40px;
}

#viewprofile-next #profilenav {
    display: inline !important;
    /* margin-left: -100px; */
    width: 100%;
    text-align: justify;
    /* margin-top: 50px; */
    background-color: transparent;
}

/*----------------------vsplivashka-------------------*/


.pa-fld5 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.pa-fld5 ls, .pa-fld5 ls_st {
    margin-top: -25px;
    position: absolute;
    z-index: 10;
    width: 40px !important;
    height: 40px !important;
    display: flex;
    cursor: pointer;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    top: 0;
    background: #cec5ba;
    border-radius: 50%;
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, #cec5ba 50%, #cec5ba 100%);
}

.pa-fld5 ls img {
    height: 18px;
    width: 18px;
}

.night .pa-fld5 ls, .night .pa-fld5 ls_st {
    background: #0e181c;
}

/* Стандартная иконка: меняем URL только здесь */


.pa-fld5 ls_st a {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    background: url("https://upforme.ru/uploads/001a/db/bb/3/338852.png") center / contain no-repeat !important;
    cursor: pointer;
}

/* Такая же картинка в галерее редактора */
.tms-lz-editor .tms-standard-icon-thumb {
  width: 18px !important;
  height: 18px !important;
  background: url("https://upforme.ru/uploads/001a/db/bb/3/338852.png") center / contain no-repeat !important;
}
/* Пустая плашка */
.pa-fld5 pl:empty,
.pa-fld5 pl:empty::before,
.pa-fld5 pl:empty::after { display: none !important; }

/*---------------vsplivashka END-----------*/


#viewprofile li strong lz2 {
background: url(https://forumstatic.ru/files/001c/67/5f/78982.svg) no-repeat center;
    filter: grayscale(0%);
    width: 24px;
    height: 24px;
    display: inline-block;
    background-color: #e1e1d9;
    background-size: 75%;
    border-radius: 25px;
margin-left: 10px;
}

#viewprofile li strong lz3 {
    background: url(https://forumstatic.ru/files/001c/67/5f/69746.svg) no-repeat center;
    filter: grayscale(0%);
    width: 24px;
    height: 24px;
    display: inline-block;
    background-color: #e1e1d9;
    background-size: 75%;
    border-radius: 25px;
    margin-left: 10px;
}

#viewprofile li strong lz2 a, #viewprofile li strong lz3 a {
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block;
}

#viewprofile li strong imun1
{    background: url(https://forumstatic.ru/files/001c/67/5f/73476.svg) no-repeat center;
    filter: grayscale(0%);
    width: 24px;
    height: 24px;
    display: inline-block;
    background-color: #e1e1d9;
    background-size: 78%;
    border-radius: 25px;
margin-left: 10px;
}

#viewprofile li strong imun2 {
    background: url(https://forumstatic.ru/files/001c/67/5f/16798.svg) no-repeat center;
    filter: grayscale(0%);
    width: 24px;
    height: 24px;
    display: inline-block;
    background-color: #e1e1d9;
    background-size: 55%;
    border-radius: 25px;
margin-left: 10px;
}

#viewprofile li strong lz1 {
    width: 320px;
    display: block;
}

#viewprofile li strong lz1 a
{font-style: italic;}


.pa-author a {
    text-decoration: none;
    position: relative;
    display: block;
    text-align: center;
    line-height: 16px;
}

.pa-author a {
    color: #1f2b32 !important;
}

.night .pa-author a {
    color: #ccc3b8 !important;
}

td#button-smile {background:url('/i/form_buttons.3.png') no-repeat 50% -437px;display: none;}

#pun-status .status-right {
    float: left;
    color: #676155!important;
}

.night #pun-status .status-right {
    color: #747171 !important;
}

#pun-status .status-right a {
    color: #676155!important;
}

.night #pun-status .status-right a {
    color: #747171 !important;
}

.banners00 {
    position: absolute;
    width: 1030px;
    background: #292929;
    bottom: 0px;
    height: 58px;
    padding-top: 17px;
    padding-bottom: 15px;
    border-radius: 0px 0px 10px 10px;
    margin-left: -36px;
}

.banners {
    position: absolute;
    left: 3px !important;
    width: 1020px;
    height: 70px;
    bottom: 7px;
    text-align: center;
    transition-duration: 0.2s;
    line-height: 17px;
    overflow-y: scroll;
    letter-spacing: 6px;
}

.banners img {
    border-radius: 5px;
    width: 88px;
    height: 31px;
    object-fit: cover;
}

.banners a {
    filter: opacity(0.6) grayscale(1);
}

.banners a:hover {
          filter: grayscale(0);
  opacity: 1;
}

.banners::-webkit-scrollbar              { width: 3px; }
.banners::-webkit-scrollbar-track {
    background-color: #2c2c2c;
}
.banners::-webkit-scrollbar-thumb {
    background-color: #505050;
}

.scrollbox::-webkit-scrollbar {
    height: 5px;}


::selection {
    background: #a19886;
    color: #ffffff;
}

.banners1 {
    display: inline-block;
    padding-right: 3px;
visibility: hidden;
}

#font-area {
    right: unset !important;
    height: 179px;
    background: #f4f4f4;
    border: 1px solid #d6d6d6;
    overflow-y: auto;
}

#size-area {
    right: unset !important;
    background: #f4f6f5;
    border: 1px solid #d6d6d6;
}

pl-info {
    position: relative;
    top: -10px;
    background-size: 100%;
    display: block;
    background-repeat: no-repeat;
    left: -68px;
    color: #676155;
    font-size: 10px;
    text-align: center;
    background: linear-gradient(0deg, #d5d5d5, transparent);
    padding-bottom: 8px;
    padding-top: 8px;
    font-family: roboto;
    text-transform: uppercase;
}

.plashki-list {
    position: relative;
    left: 70px;
}


.code-market1 {
    position: relative;
    left: 570px;
    top: -200px;
    border: 1px solid #4e4e4e3b;
    font-family: roboto;
    font-size: 10px;
    text-transform: uppercase;
    color: #676155;
    padding: 6px;
    outline: none;
    cursor: pointer;
    width: 230px;
    background: #d9d9d9;
    border-radius: 20px;
}

.code-market2 {
    position: relative;
    left: 570px;
    top: -190px;
    border: 1px solid #4e4e4e3b;
    font-family: roboto;
    font-size: 10px;
    text-transform: uppercase;
    color: #676155;
    padding: 6px;
    outline: none;
    cursor: pointer;
    width: 230px;
    background: #d9d9d9;
    border-radius: 20px;
}

.code-market3 {
    position: relative;
    left: 570px;
    top: -180px;
    border: 1px solid #4e4e4e3b;
    font-family: roboto;
    font-size: 10px;
    text-transform: uppercase;
    color: #676155;
    padding: 6px;
    outline: none;
    cursor: pointer;
    width: 230px;
    background: #d9d9d9;
    border-radius: 20px;
}

#main-market {
    width: 840px;
    height: 748px;
    margin-left: 20px;
    border: 1px solid #4e4e4e3b;
}

#plashki {
    width: 400px;
    height: 440px;
    position: relative;
    top: -180px;
    left: 50px;
    overflow: auto;
    overflow-x: hidden;
    padding: 20px;
    background: #f4f4f4;
}

.block-market {
    position: relative;
    width: 700px;
    height: 570px;
    top: 50px;
    left: 50px;
    padding: 40px 20px 40px 20px;
    border: 1px solid #4e4e4e3b;
}

market-position {
    background: #dfdfdf;
    color: #3d3940;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    font-family: roboto;
    display: flex;
    text-shadow: 0 0 5px #f3f3f369;
    cursor: pointer;
}

market-price {
    color: #ffffff;
    position: relative;
    left: 650px;
    top: -24px;
    background: #676155;
    padding: 7px 5px 5px 5px;
    font-weight: bold;
    font-family: roboto;
    display: block;
    width: 40px;
    font-size: 10px;
    height: 12px;
    text-align: center;
}

.market-position-info {
    display: none;
    color: #676155;
    font-size: 10px;
    position: relative;
    top: -11px;
    left: 5px;
    width: 360px;
}

.block-market::-webkit-scrollbar              { width: 5px;  }
.block-market::-webkit-scrollbar-track {background-color: #d3d3d3;}
.block-market::-webkit-scrollbar-thumb {background-color: #ffda4e;}

#plashki::-webkit-scrollbar              { width: 5px;  }
#plashki::-webkit-scrollbar-track {background-color: #d3d3d3;}
#plashki::-webkit-scrollbar-thumb {background-color: #ffda4e;}


.tabs-market1>label {
    padding: 8px;
    user-select: none;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    left: 590px;
}

.tabs-market2>label {
    padding: 8px;
    user-select: none;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    left: 590px;
}

.tabs-market3>label {
    padding: 8px;
    user-select: none;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    left: 590px;
}
#pun-live-rusff {
    margin-top: 20px!important;
    color: #4e4e4e;
}

#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -135px 0 0 -384px;
    width: 768px;
    z-index: 1000!important;
    box-shadow: 0 0 40px #222;
    -webkit-box-shadow: 0 0 40px #222;
    -moz-box-shadow: 0 0 40px #222;
    -khtml-box-shadow: 0 0 40px #222;
    background: #d9d9d9;
}

#reputationText {width: 496px!important;
    margin: 0px;
    height: 86px;
}

#pun-messages .pa-posts {
    display: none;
}

li.pa-respect img {
 width: 7px;
}

.preview-pa-respect > a, li.pa-respect > a {
display: none;}

.pa-fld6 span.fld-name {
    background: url(https://forumstatic.ru/files/001a/db/bb/42202.svg) no-repeat;
    padding: 0 5px;
    background-position: top center;
    margin: auto;
    font-size: 0;
    display: block;
    height: 18px;
    margin-bottom: -12.7px;
    filter: grayscale(0%);
    margin-top: 3px;
    background-size: 20px;
}

.pa-reg {
    background-color: #efefef;
    width: 195px;
    margin-left: 3px;
    border-top: none;
    color: #c70156;
    font-family: Roboto-regular;
    text-transform: uppercase;
    margin-top: 2px;
    margin-bottom: 5px;
    height: 15px;
    padding-top: 5px!important;
    display: none;
}

.lastedit {display:none;}

.tclcon > br {
    display: none !important;
}

li.pa-avatar.item2 {
    width: 250px;
    /* margin-left: -21px; */
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#tags .container {
    position: absolute;
    right: 6px;
    top: 62px!important;
    padding: 10px;
    border-radius: 10px;
}

#mask_dialog .hv-mask-field + .hv-mask-field {
    margin-top: 0px;
    font-family: 'Roboto-regular';
    font-size: 11px;
}

#mask_dialog .hv-form-block label.author {
    font-family: 'Roboto-regular'!important;
    font-size: 11px!important;
}

#mask_dialog .hv-mask-field + .hv-mask-field.title {
    border: none !important;
    margin-bottom: 5px;
    background: transparent;
    float: right;
    text-transform: unset;
    font-weight: unset;
    width: 50%;
    height: auto;
    position: relative;
    z-index: 9999;
    margin-top: 10px;
    font-family: 'Roboto-regular';
    font-size: 11px;
}

#mask_dialog .hv-mask-field + .hv-mask-field.avatar {
    border: none !important;
    margin-bottom: 5px;
    background: transparent;
    float: left;
    text-transform: unset;
    font-weight: unset;
    width: 48%;
    height: auto;
    position: relative;
    z-index: 9999;
    margin-top: -3px;
    font-family: 'Roboto-regular';
    font-size: 11px;
}

#mask_dialog .hv-mask-field + .hv-mask-field.pa-fld1 {
    border: none !important;
    margin-bottom: 5px;
    background: transparent;
    float: right;
    text-transform: unset;
    font-weight: unset;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 9999;
    margin-top: 10px;
    font-family: 'Roboto-regular';
    font-size: 11px;
}

#mask_dialog .hv-mask-field + .hv-mask-field.pa-fld3 {
    border: none !important;
    margin-bottom: 5px;
    background: transparent;
    float: right;
    text-transform: unset;
    font-weight: unset;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 9999;
    display: block;
    padding: 0px !important;
    margin-top: 10px !important;
    font-family: 'Roboto-regular';
    font-size: 11px;
}

#mask_dialog .hv-masks-storage {
    flex: 0 1 150px;
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    padding: 4px;
    flex-wrap: wrap;
    list-style: none;
    max-height: 470px;
    overflow-y: auto;
    overflow-x: hidden;
}

#news-block_1_1 {
    position: absolute;
    top: 370px;
    left: 23px;
    width: calc(100% - 48px);
    height: 78px;
    box-sizing: border-box;
    background: linear-gradient(rgb(14 24 28), rgb(17 38 41 / 75%)), url(https://forumstatic.ru/files/001a/db/bb/21698.png) center / cover no-repeat;
    border: 1px solid rgba(176, 143, 99, .55);
    border-radius: 6px;
    overflow: visible;
    z-index: 5;
}

.news-block1_1_2 {
    position: relative;
    display: flex;
    width: 336px;
    overflow-x: auto;
    height: 40px;
    overflow-y: hidden;
    transition: all .2s 
ease-in-out 0s;
    z-index: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: flex-start;
}

.news-block1_1_3 {
    width: 100.2%;
    height: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    overflow-x: auto;
    overflow-y: hidden;

    border-radius: 6px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-block1_1_3::-webkit-scrollbar {
    display: none;
}

.pa-awards {
    font-size: 0px !important;
    margin-left: -12px !important;
    top: 101px;
    position: absolute;
    display: block;
}

.pa-awards a {
 background: url(https://forumstatic.ru/files/001c/67/5f/61977.svg) no-repeat center;
    text-transform: lowercase !important;
    text-align: left;
    font-family: Roboto-regular !important;
    letter-spacing: 0.3px !important;
    width: 24px !important;
    height: 24px !important;
    overflow: hidden;
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 12px;
    background-size: 67%;
    background-color: #e1e1d9;
    border-radius: 25px;
}

#awrdbut {display: none;}

.shapka {
    width: 250px;
    margin-left: -226px;
    overflow-x: hidden;
    position: absolute;
    z-index: 1;
}

.Add {
    width: 430px;
    /* background-color: #c0b7ac; */
    color: #746f68;
    font-family: 'roboto-regular';
    text-transform: uppercase;
    font-size: 7px;
    /* padding: 1px 0 1px 6px !important; */
    margin-top: 15px;
    letter-spacing: 1px;
    margin-left: 60px;
    /* background: #c0b7ac00; */
    border-radius: 5px;
    padding: 5px;
    /* border: solid 1px #b4aaa0; */
}

.night .Add {
    color: #747171;
}

.Add .Tems_And_messages {
    /* width: 160px; */
    /* background-color: #e8e1d6; */
    color: #70645a;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
    font-size: 8px;
    /* padding: 1px 0 1px 6px !important; */
    /* margin-top: 10px; */
    letter-spacing: 1px;
}

.night .Add .Tems_And_messages {
    color: #747171;
}

.pun-modal .modal-inner {
    background: rgb(253 252 253 / 90%);
}

.punbb span.GamePst, .punbb strong.GamePst2 {
    padding-right: 0px!important;
}

.night .punbb span.GamePst, .punbb strong.GamePst2 {color: #b3aba1 !important;}


#MyBookmarks {
    background: #ffffffab;
    z-index: 101000!important;
}


#BookmCntToggle.default-style {
    color: #8a7d64!important;
    border-radius: 3px;
    background: #f4f4f4b8!important;
    box-shadow: 0 0 6px rgb(0 0 0 / 22%)!important;
}

#BookmCntToggle {
    position: fixed;
    top: 10px!important;
    left: 6px!important;
    width: 30px;
    height: 30px;
    opacity: .7;
    cursor: pointer;
    z-index: 3;
    transition: opacity .3s ease-out;
}

span.obadl {
    display: inline-block;
    margin-bottom: 0;
}

span.obadr {
    display: inline-block;
    margin-bottom: 0;
}

.adak1, .adak2, .adak3, .adak4, .adak5, .adak6, .adak7 {
    width: 90px;
    /* transform: rotate(90deg); */
    background: rgb(213 213 200);
    padding: 0 5px 5px 5px;
    font-family: 'Roboto-regular';
    text-transform: lowercase;
    color: #90836d;
    text-align: center;
    border-radius: 5px;
}

em.user-avatar.no-avatar span.avatar-image {background-image: url(https://upforme.ru/uploads/001a/db/bb/3/300308.png)!important;}

div#pun-live-rusff {
    display: none!important;
}

/*&#214;&#226;&#229;&#242; &#242;&#224;&#225;&#235;&#232;&#247;&#234;&#232; &#243;&#226;&#229;&#228;&#238;&#236;&#235;&#229;&#237;&#232;&#233; &#226; &#254;&#231;&#229;&#240;-&#236;&#229;&#237;&#254;*/
.pun-modal.unread-notifications .modal-inner {
   background: #F8F7F0;
}

/*************************
//KNOPKI TUMBLR STICKERS
*************************/

.btn-sm {
    cursor: pointer;
    margin-top: 4px;
    color: #efefef;
    padding: 4px 9px 4px 9px;
    border: 1px solid #8a7d64;
    transition: all .4s ease-in-out 0s;
    font-family: Roboto-regular;
    text-transform: uppercase;
    font-size: 10px;
    border-radius: 5px;
    background: #8a7d64;
}

.btn-sm:hover, .btn-sm:focus {cursor: pointer;
    background-color: #8a7d64;
    margin-top: 4px;
    color: #efefef;
    padding: 4px 9px 4px 9px;
    border: 1px solid #8a7d64;}


/* EXTRA
-------------------------------------------------------------*/
.topic a.sharelink {float:right; margin-left:1em;display: none;}

div .post-rating p>a {font-family: 'Roboto-regular';
font-size: 120% !important;
    margin-left: -2px;
}



/*--------------------------------------------------------------------------------------------------
БыстроПлюсы для Топика!*/
.noNull:before {
  content: "+";
  font-size: 9px;
  display: none;
}

div .post-rating p>a {
    text-align: center;
    outline: 1px solid transparent;
    font-weight: 500;
    background: url(https://forumstatic.ru/files/001c/c5/d7/18440.svg) no-repeat center;
    position: relative;
    z-index: 7;
    width: 30px;
    text-align: center;
    font-size: 9px !important;
    display: flex;
    vertical-align: middle;
    line-height: 23px;
    letter-spacing: 0px;
    color: #d5d5c8;
    justify-content: center;
    background-size: 29px;
}

div .post-rating p>a:hover {
    color: #ffffff!important;
}

div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}
div.post-vote {
    margin-bottom: 65px;
}

div.post-vote p>a {
    font-size: 0 !important;
    position: relative;
    cursor: pointer;
    z-index: 7;
    width: 35px;
    height: 35px;
    background: url(https://forumstatic.ru/files/001c/c5/d7/71015.svg) no-repeat;
    display: flex;
    background-size: 28px;
    margin-top: -2px;
}

div.post-vote p>a {
    margin-right: -17px;
}
/*конец быстрых плюсов для топика------------------------------------------------------------*/

#pun-main .topic h3 span {
    display: block;
    height: 11px;
    margin: 19px 0px 5px 245px;
    width: 692px;
}

#pun-main .topic h3 a {
    padding-right: 10px;
}

#pun-viewtopic div.post h3 strong {
/*    background: #d9d9d9;*/
}


.author-avatar > img {
    padding: 0!important;
    border: 1px solid #b3b2b2!important;
    display: none;
}

#pun-report .bg, #pun-reputation .bg, #pun-admin-award-form .bg {
    display: none;
    position: fixed;
    z-index: 999!important;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #333;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    cursor: pointer;
}

span.num_msg {
    font-family: 'Roboto-regular'!important;
}

#mask_dialog .hv-form-block {
    flex: 1 1 auto;
    max-height: none;
    overflow: unset;
}

.hvStickerPackModal.active {
    display: block;
    z-index: 99999999;
}

#post-preview .fs-box .post-content {
    border: 1px solid rgba(145, 145, 143, .0);
    margin-left: -15px;
    padding-left: 185px;
    width: 79%;
    padding-bottom: 40px;
}

#Go_Top a {
color: rgb(162 108 177);}

#Go_Bottom a {
color: rgb(162 108 177);}

form#post.container legend span {
display: none !important;
}

#togglePreview {
    float: right;
    margin-right: 7px;
    font-size: 1.1em;
    height: 32px;
    margin-top: -42px;
}

.punbb #wysi-mode {
    margin-top: -40px;
    margin-right: 7px;
    color: #898277;
    position: relative;
}

#my-form input {
    background-color: #e0e0e000;
    margin-top: 5px;
    color: #596166 !important;
    padding: 6px 7px 8px 7px;
    border: 1px solid rgba(56, 66, 71, .22);
    border-radius: 2px;
    margin-right: 8px;
}

#tooltip {
  position:absolute;
  background: #282828cc;
  border-radius: 5px;
  padding: 10px;
  font-size:11px;
    font-family: Roboto-regular !important;
    color: #ffffffdb;
    z-index: 99999999999999;
display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#pun-viewtopic .topic+.modmenu .container>span {
    display: none !important;
}

#topic-users-in {
    margin-left: 1px;
}

.fastnav {
    margin-right: -17px !important;
}

.pod1 {
    background-size: 100%;
    width: 870px;
    height: auto;
    padding-top: 40px;
}

pod_nas {
    position: relative;
    top: 5px;
    left: 35px;
    font-weight: 500;
    font-size: 22px;
    font-family: 'Bebas Neue';
    color: #3e3e3e;
    padding: 5px 8px 5px 8px;
    background: #e2e2e2;
    border-radius: 12px;
    text-align: center;
    width: 786px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.pod_spi1 {
    position: relative;
    top: 30px;
    width: 890px;
}

pod_spi2 {
    display: flex;
    width: 890px;
    overflow: auto;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

podd {
    position: relative;
    display: inline-flex;
    flex-direction: column-reverse;
    align-items: center;
}

.p_img {
    width: 48px;
    padding: 8px;
    background: #e2e2e2;
    margin-right: 18px !important;
    border-radius: 12px;
    margin-bottom: 25px !important;
    height: 48px;
    object-fit: contain;
}

pod_n {
    position: relative;
    background: #e2e2e2;
    padding: 5px 5px 5px 5px;
    margin-bottom: 5px !important;
    margin-left: -17px !important;
    border-radius: 5px;
    font-family: bebas neue;
    font-size: 16px;
    letter-spacing: 1px;
    width: 54px;
    text-align: center;
}

#mask_dialog .hv-bg {
    z-index: 99999!important;
    font-family: 'Roboto-Regular';
    font-size: 11px;
}

#Go_Top:hover{
color:#fff!important;}

#Go_Bottom:hover{
color:#fff!important;}

#move_posts_form thead tr, #move_posts_form tbody tr {
    border-bottom: 1px solid #a9a9a9;
}

.post-content hr {
    opacity: 0.5;
    filter: alpha(opacity = 50);
    margin-bottom: 0.8em;
    margin-top: 0.8em;
}

/******************
     Стиль к плашке
******************/

.pa-fld5 pl .tm1 {
    display: flex;
    position: relative;
    width: 180px;
    z-index: 3;
    height: 40px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;

}

.pa-fld5 .text1 {
    /* height: 20px; */
    font-family: 'Roboto-regular';
    /* font-size: 9px; */
    display: block;
    text-align: center;
    vertical-align: middle;
    padding: 8px 5px 2px 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pa-fld5 .text2 {
    /* height: 40px; */
    font-family: 'Roboto-regular';
    font-size: 9px;
    display: block;
    text-align: center;
    vertical-align: middle;
    padding: 0px 5px 7px 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/********************
  END//Стиль к плашке
********************/

.profile-awards-container .tcl {color: transparent!important;}


/* Стили для наград */
.t-award #awrd-cnt {
    display: block;
    height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
}

/* Чтобы таблица внутри работала с overflow */
.t-award #awrd-cnt tbody {
    display: table;
    width: 100%;
    border-spacing: 0 8px;
}

.t-award #awrd-cnt tr {
    margin-bottom: 10px;
    display: table-row;
}

/* Награды: действующие стили без привязки к старым вкладкам Deff */
.t-award #awrd-cnt td {
    padding: 12px 15px;
    background: #ffffff40;
    border-radius: 10px;
    color: #454545;
    font-size: 11px;
    font-family: 'Roboto-Regular';
    transition: background .2s ease;
}
.t-award #awrd-cnt td:hover { background: #f7f6f5; }
.t-award #awrd-cnt::-webkit-scrollbar { width: 6px; }
.t-award #awrd-cnt::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 3px; }
.t-award #awrd-cnt::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 3px; }
.t-award #awrd-cnt::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }

.pp2_div {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
}

.pp1_div2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Тихое цитирование */
.punbb .post-content .quiet-quote,
.punbb .post-content .custom_tag_quiet {
    font-style: italic;
}

/* кнопка массовых плюсов. лайкнуть всех */

#like-all-btn {
    font-family: 'Roboto Condensed';
    text-align: center;
    border-radius: 2px;
    padding: 7px 20px 7px 20px;
    float: right;
    z-index: 7;
    position: relative;
    color: #596166 !important;
    border: 1px solid rgba(56, 66, 71, .22);
    font-size: 9px;
    /* line-height: 1; */
    font-weight: normal;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    flex: 0 0 auto;
}

#like-all-btn:hover {
    cursor: pointer;
    color: #263b42 !important;
    border-color: rgba(38, 59, 66, .45);
    background: rgba(38, 59, 66, .055);
}

#like-all-btn.is-done::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 3px;
    margin-left: 6px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg) translateY(-2px);
}



/* =========================================================
   TIMES&#178; — ДАЙДЖЕСТ В ТЕМЕ
   только .dg-popup-static
   ========================================================= */


/* =========================================================
   ВНЕШНИЙ КОНТЕЙНЕР
   ========================================================= */

.dg-popup-static{
  width:800px;
  margin:0 auto;

  padding:10px;

  box-sizing:border-box;

  background:#d9d1c5 !important;

  border:1px solid #a99a8c;
  border-radius:21px;

  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.30),
    0 5px 11px rgba(58,48,41,.14);

  font-family:Arial Narrow,Arial,sans-serif;

  letter-spacing:.6px;
  font-size:12px;

  color:#61564d;
}


/* =========================================================
   ССЫЛКИ
   ========================================================= */

.dg-popup-static a{
  color:#61564d;
  text-decoration:none;
}

.dg-popup-static a:hover{
  color:#a4756d;
  text-decoration:none;
}


/* =========================================================
   ОБЩАЯ ВНУТРЕННЯЯ ПАНЕЛЬ
   ========================================================= */

.dg-popup-static .dg-grid{
  display:grid;

  grid-template-columns:1fr 1fr 1fr;

  gap:0;

  overflow:hidden;

  border-radius:15px;

  background:
    linear-gradient(
      90deg,
      rgba(212,157,147,.34) 0%,
      rgba(233,210,199,.68) 12%,
      rgba(239,224,212,.92) 32%,
      rgba(243,232,220,.98) 50%,
      rgba(239,224,212,.92) 68%,
      rgba(233,210,199,.68) 88%,
      rgba(212,157,147,.34) 100%
    );

  border:1px solid rgba(255,255,255,.42);

  box-shadow:
    inset 0 0 28px rgba(255,255,255,.14);
}


/* =========================================================
   КОЛОНКИ
   ========================================================= */

.dg-popup-static .dg-grid>div{
  position:relative;

  min-width:0;

  box-sizing:border-box;

  padding:18px 14px;

  background:transparent !important;
}


/* вертикальные линии */

.dg-popup-static .dg-grid>div + div{
  border-left:1px solid rgba(117,94,81,.38);
}


/* левая */

.dg-popup-static .dg-left{
  display:flex;

  flex-direction:column;

  gap:17px;

  border-radius:0;
}


/* центр */

.dg-popup-static .dg-center{
  display:flex;

  align-items:center;
  justify-content:center;

  border-radius:0;
}


/* правая */

.dg-popup-static .dg-right{
  display:flex;

  flex-direction:column;

  justify-content:center;

  gap:19px;

  border-radius:0;
}


/* =========================================================
   ЗАГОЛОВКИ
   ========================================================= */

.dg-popup-static .dg-section-title{
  display:block;

  width:82%;

  margin:0 auto 13px;
  padding:0 0 8px;

  box-sizing:border-box;

  border-bottom:1px solid rgba(151,103,94,.48);

  font-family:Georgia,"Times New Roman",serif;

  font-size:12px !important;
  line-height:1;

  font-weight:normal;

  letter-spacing:1.8px;

  text-transform:uppercase;
  text-align:center;

  color:#70574e;
}


/* =========================================================
   АКТИВИСТЫ / ПОСТОПИСЦЫ
   строго 3 в ряд
   ========================================================= */

.dg-popup-static .dg-persons{
  display:grid;

  grid-template-columns:repeat(3,70px);

  justify-content:center;
  justify-items:center;
  align-items:start;

  column-gap:8px;
  row-gap:12px;

  width:100%;
}


.dg-popup-static .dg-person{
  width:70px;

  flex:none;

  text-align:center;
}


/* =========================================================
   АВАТАРЫ
   ========================================================= */

.dg-popup-static .dg-person .dg-ava{
  display:block;

  width:54px !important;
  height:54px !important;

  margin:0 auto 7px;

  object-fit:cover;

  box-sizing:border-box;

  border:1px solid #8f786f;

  border-radius:50%;

  outline:2px solid rgba(240,226,214,.95);
  outline-offset:2px;

  filter:
    grayscale(100%)
    sepia(9%)
    contrast(.92);

  opacity:.95;

  transition:
    filter .3s ease,
    transform .3s ease,
    opacity .3s ease;
}


.dg-popup-static .dg-person .dg-ava:hover{
  filter:grayscale(0);

  opacity:1;

  transform:scale(1.05);
}


/* =========================================================
   ИМЕНА
   ========================================================= */

.dg-popup-static .dg-person .dg-name{
  display:block;

  width:70px;
  max-width:70px;

  margin:0 auto;

  font-size:9px !important;
  line-height:1.25;

  letter-spacing:.15px;

  color:#5b5149;

  text-align:center;

  word-wrap:break-word;
  overflow-wrap:break-word;
  hyphens:auto;
}


.dg-popup-static .dg-person .dg-name:hover{
  color:#a4756d;
}


/* =========================================================
   СОЦСЕТИ
   ========================================================= */

.dg-popup-static .dg-socials{
  display:grid;

  grid-template-columns:92px 92px;

  justify-content:center;

  gap:7px;
}


.dg-popup-static .dg-soc-item{
  position:relative;

  display:flex;

  justify-content:center;
  align-items:center;
}


/* картинки */

.dg-popup-static .dg-soc-item img{
  display:block;

  width:92px;
  height:92px;

  box-sizing:border-box;

  object-fit:cover;

  border-radius:12px;

  border:1px solid #89736b;

  outline:2px solid rgba(240,226,214,.85);
  outline-offset:1px;

  filter:
    grayscale(100%)
    sepia(8%)
    contrast(.93);

  opacity:.96;

  transition:
    filter .3s ease,
    transform .3s ease,
    opacity .3s ease;
}


.dg-popup-static .dg-soc-item img:hover{
  filter:grayscale(0);

  opacity:1;

  transform:scale(1.04);
}


/* =========================================================
   СЕРДЦЕ
   только сама картинка — НИКАКОЙ подложки
   ========================================================= */

.dg-popup-static .dg-soc-item .dg-soc-heart{
  position:absolute;

  right:6px;
  bottom:6px;

  width:16px !important;
  height:16px !important;

  padding:0 !important;
  margin:0 !important;

  box-sizing:border-box;

  background:none !important;
  background-color:transparent !important;

  border:0 !important;
  outline:0 !important;

  border-radius:0 !important;

  box-shadow:none !important;

  filter:none !important;

  opacity:1 !important;

  transform:none !important;
}


/* при hover картинки сердце не увеличиваем */

.dg-popup-static .dg-soc-item:hover .dg-soc-heart,
.dg-popup-static .dg-soc-heart:hover{
  transform:none !important;
  filter:none !important;
}


/* =========================================================
   ДУЭТ
   ========================================================= */

.dg-popup-static .dg-duet-imgs{
  display:flex;

  justify-content:center;
  align-items:flex-start;

  gap:26px;
}


.dg-popup-static .dg-duet-imgs .dg-person{
  width:80px;
}


/* дуэтные аватары немного крупнее */

.dg-popup-static .dg-duet-imgs .dg-person .dg-ava{
  width:56px !important;
  height:56px !important;
}


.dg-popup-static .dg-duet-imgs .dg-person .dg-name{
  width:80px;
  max-width:80px;
}


/* =========================================================
   ПРАВАЯ КОЛОНКА
   ========================================================= */

.dg-popup-static .dg-right>div{
  text-align:center;
}


.dg-popup-static .dg-right p{
  margin:4px 0 0;

  font-family:Georgia,"Times New Roman",serif;

  font-size:12px !important;
  line-height:1.5;

  letter-spacing:.15px;

  color:#62544b;
}


.dg-popup-static .dg-right p a{
  font-size:12px !important;

  color:#62544b;
}


.dg-popup-static .dg-right p a:hover{
  color:#a4756d;
}


/* =========================================================
   АДАПТАЦИЯ
   ========================================================= */

@media screen and (max-width:850px){

  .dg-popup-static{
    width:100%;
  }

}


@media screen and (max-width:650px){

  .dg-popup-static{
    padding:8px;

    border-radius:15px;
  }


  .dg-popup-static .dg-grid{
    grid-template-columns:1fr;
  }


  .dg-popup-static .dg-grid>div{
    padding:18px 12px;
  }


  .dg-popup-static .dg-grid>div + div{
    border-left:0;

    border-top:1px solid rgba(117,94,81,.38);
  }


  .dg-popup-static .dg-persons{
    grid-template-columns:repeat(3,70px);

    justify-content:center;
  }


  .dg-popup-static .dg-socials{
    grid-template-columns:92px 92px;

    justify-content:center;
  }

}

/* =========================================================
   STICKY-МЕНЮ — СОСТОЯНИЕ ПРИ ПРОКРУТКЕ
   ========================================================= */

#pun-navlinks .container {
    position: relative;

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* меню действительно прилипло */
#pun-navlinks.menu-stuck .container {
    background: #0e181c;
    /* border-left-color: rgba(108, 102, 97, .40); */
    /* border-right-color: rgba(108, 102, 97, .40); */
    /* border-top-color: rgba(108, 102, 97, .40); */
    border-radius: 0;
}

#pun-ulinks.menu-stuck .container {
    background: #0e181c;
    border-bottom-color: rgb(126 120 114);
    border-radius: 0;
}

/* =========================================================
   БОКОВЫЕ "УШКИ" STICKY-МЕНЮ
   перекрывают края светлого #pun
   ========================================================= */

#pun-navlinks, #pun-ulinks {
    isolation: isolate;
}


/* одна сплошная подложка под всей навигацией */

#pun-navlinks::before {
    content: "";
    position: absolute;
    height: 39px;
    background: #0e181c;
    opacity: 0;
}

#pun-ulinks::before {
    content: "";
    position: absolute;
    height: 26px;
    background: #0e181c !important;
    opacity: 0;
}

#pun-navlinks::before {
    left: -5px;
    right: -35px;
    top: 0;
    pointer-events: none;
    /* z-index: 0; */
    transition: opacity .2s ease;
}

#pun-ulinks::before {
    /* left: -1px; */
    /* right: -1px; */
    top: 0;
    pointer-events: none;
    z-index: 9;
    transition: opacity .2s ease;
}

/* появляется только когда меню прилипло */
#pun-navlinks.menu-stuck::before, #pun-ulinks.menu-stuck::before {
    opacity: 1;
}


/* второй псевдоэлемент нам больше не нужен */
#pun-navlinks::after, #pun-ulinks::after {
    content: none !important;
}

.nnewws .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.news-title {
    font-size: 11px;
    letter-spacing: .7px;
}

.news-sub {
    margin-top: 6px;

    font-size: 8px;
    line-height: 1.2;

    letter-spacing: .5px;
    text-transform: none;

    opacity: .72;
}









.tms-lz-editor {
    margin: 15px 0;
}

.tms-editor-title {
    margin: 0 0 7px;
    font-weight: bold;
}

.tms-lz-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.tms-lz-toolbar button,
.tms-lz-toolbar select,
.tms-size-wrap {
    box-sizing: border-box;
    height: 28px;
}

.tms-lz-toolbar button {
    min-width: 28px;
    padding: 3px 7px;
    cursor: pointer;
}

.tms-lz-toolbar select {
    max-width: 190px;
}

.tms-font option {
    font-size: 16px;
}

.tms-size-wrap {
    display: inline-flex;
    align-items: center;
    padding: 0 5px;
    border: 1px solid #aaa;
    background: #fff;
}

.tms-size {
    width: 43px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent;
    text-align: right;
}

.tms-size-wrap span {
    margin-left: 2px;
}

#tms-lz-value {
    box-sizing: border-box;
    width: 100%;
    min-height: 125px;
    resize: vertical;
    font-family: monospace;
    line-height: 1.4;
}

.tms-editor-help {
    margin-top: 5px;
    font-size: 10px;
    opacity: .65;
}

.tms-location-title, .tms-background-title {
    margin-top: 15px;
}


#tms-location-value, #tms-background-value  {
    box-sizing: border-box;
    width: 100%;
}

#tms-nm-value {
    box-sizing: border-box;
    width: 100%;
    min-height: 60px;
    resize: vertical;
    font-family: monospace;
    line-height: 1.4;
}

#tms-nm-value,
#tms-lz-value {
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.pa-fld1 {
    visibility: hidden;
}

.pa-fld1.tms-fld1-ready {
    visibility: visible;
}

/* =========================================================
   TIMES&#178; — LIVE PROFILE PREVIEW v3
   ========================================================= */


/* =========================================================
   TIMES&#178; — ПРЕДПРОСМОТР МИНИ-ПРОФИЛЯ (v8 CSS)
   Только #profile8 и #tms-profile-preview; остальные стили не меняем.
   Кнопок ЛС / Профиль в предпросмотре НЕТ.
   ========================================================= */
#profile8 { position:relative; padding-right:270px!important; box-sizing:border-box; }
#profile8 #tms-profile-preview-wrap {
    position:absolute; top:0; right:0; width:250px!important;
    box-sizing:border-box; z-index:1;
}
#profile8 .tms-preview-label {
    width: 125px;
    margin: 0 auto 12px;
    padding: 4px 8px;
    box-sizing: border-box;
    border-radius: 5px;
    background: rgba(120, 110, 90, .12);
    color: #8f8775;
    font: 9px / 12px 'Roboto-regular', Arial, sans-serif;
    text-align: center;
    text-transform: lowercase;
    z-index: 99;
    position: relative;
}
#profile8 #tms-profile-preview.post {
    display:block!important; position:relative!important; float:none!important;
    width:250px!important; min-width:250px!important;
    margin:0 auto!important; padding:0!important;
    border:0!important; overflow:visible!important;
    background:none!important;
}
#profile8 #tms-profile-preview.post .tms-preview-post-author {
    position:relative!important; display:block!important; float:none!important;
    width:250px!important; min-width:250px!important; height:auto!important;
    margin:0!important; padding:0!important;
    background:transparent!important; color:inherit!important; overflow:visible!important;
}
#profile8 #tms-profile-preview.post .tms-preview-post-author > ul {
    position:relative!important; display:block!important;
    width:250px!important; min-width:250px!important;
    margin:0!important; padding:0 0 68px!important;
    box-sizing:border-box; overflow:visible!important;
    list-style:none;
}
/* Настоящая полупрозрачная подложка мини-профиля сохраняется. */
#profile8 #tms-profile-preview.post .tms-preview-post-author > ul::before {
    content:""!important;
}
#profile8 #tms-profile-preview.post .tms-preview-post-author::before,
#profile8 #tms-profile-preview.post .tms-preview-post-author::after,
#profile8 #tms-profile-preview.post::before,
#profile8 #tms-profile-preview.post::after { content:none!important; }

/* Верхняя часть: имя и звание в собственном блоке над аватаром. */
#profile8 #tms-profile-preview.post .pa-author {
    position:relative!important; width:125px!important;
    min-height:58px!important; height:58px!important;
    margin:0 0 0 20px!important;
    padding:60px 5px 10px!important;
    display:flex!important; align-items:center!important;
    box-sizing:content-box; z-index:5;
}
#profile8 #tms-profile-preview.post .pa-author > a {
    display:block!important; width:125px!important;
    line-height:.9!important; text-decoration:none!important;
    overflow-wrap:normal!important; word-break:normal!important;
}
#profile8 #tms-profile-preview.post .pa-title {
    position:absolute!important; top:61px!important; left:165px!important;
    width:55px!important; min-height:58px!important; height:auto!important;
    margin:0!important; padding:0 0 0 9px!important;
    display:flex!important; align-items:center!important;
    overflow:hidden; box-sizing:content-box; z-index:5;
}
#profile8 #tms-profile-preview.post .pa-avatar.item2 {
    position:relative!important; width:250px!important;
    margin:0!important; padding:0!important;
    display:flex!important; justify-content:center!important; align-items:center!important;
}
#profile8 #tms-profile-preview.post .pa-avatar.item2 img {
    display:block!important; margin-left:auto!important; margin-right:auto!important;
}
/* Плашка и иконка используют существующие стили Times&#178;. */
#profile8 #tms-profile-preview.post .tms-preview-plaque {
    display:flex!important; position:relative!important;
    flex-direction:column!important; align-items:center!important;
    width:250px!important; height:auto!important;
    margin:0!important; padding:0!important; overflow:visible!important;
    visibility:visible!important;
}
#profile8 #tms-profile-preview.post .tms-preview-plaque > pl {
    position:relative!important; display:block!important;
    top:auto!important; left:auto!important;
    width:180px!important; height:40px!important;
    margin:0!important; padding:0!important;
}
#profile8 #tms-profile-preview.post .tms-preview-plaque pl .tm1 {
    width:180px!important; height:40px!important; margin:0!important;
    background-size:cover!important; background-position:center!important;
    background-repeat:no-repeat!important;
}
/* Иконка — самостоятельный элемент, привязанный к верхнему краю карточки.
   Она не зависит от высоты аватара, плашки или текста. */
#profile8 #tms-profile-preview.post .tms-preview-post-author > ul > .tms-preview-icon {
    display:flex!important;
    position:absolute!important;
    top:-20px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:40px!important;
    height:40px!important;
    margin:0!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    z-index:30!important;
    background:transparent!important;
}
#profile8 #tms-profile-preview.post .tms-preview-icon > ls,
#profile8 #tms-profile-preview.post .tms-preview-icon > ls_st {
    position:relative!important;
    top:auto!important;
    left:auto!important;
    margin:0!important;
    transform:none!important;
    z-index:1!important;
}
/* Анкета и личное звание — обычный поток, после плашки. */
#profile8 #tms-profile-preview.post .pa-fld1 {
    display:block!important; visibility:visible!important;
    position:relative!important; width:250px!important;
    margin:0!important; padding:0!important; z-index:5;
}
#profile8 #tms-profile-preview.post .tms-preview-nm a { color:inherit; }
/* Статистика: одна строка, без конфликтующих отрицательных отступов. */
#profile8 #tms-profile-preview.post .pa-posts,
#profile8 #tms-profile-preview.post .pa-respect,
#profile8 #tms-profile-preview.post .pa-fld2,
#profile8 #tms-profile-preview.post .pa-fld4 {
    position:relative!important; display:inline-flex!important;
    vertical-align:top!important; box-sizing:border-box!important;
    width:55px!important; height:42px!important;
    margin:0!important; padding:4px 2px!important;
    flex-direction:column-reverse!important;
    align-items:center!important; justify-content:center!important;
    text-align:center!important;
    border:0!important; z-index:5;
}
#profile8 #tms-profile-preview.post .pa-posts { margin-left:15px!important; }
#profile8 #tms-profile-preview.post .pa-respect,
#profile8 #tms-profile-preview.post .pa-fld2,
#profile8 #tms-profile-preview.post .pa-fld4 {
    border-left:1px solid rgba(70,70,65,.25)!important;
}
#profile8 #tms-profile-preview.post .pa-posts .fld-name,
#profile8 #tms-profile-preview.post .pa-respect .fld-name,
#profile8 #tms-profile-preview.post .pa-fld2 .fld-name,
#profile8 #tms-profile-preview.post .pa-fld4 .fld-name {
    display:block!important; width:auto!important; font-size:8px!important;
    text-align:center!important; line-height:12px!important;
}
/* Фон располагается позади всех элементов, локация — под статистикой. */
#profile8 #tms-profile-preview.post .tms-preview-fld3 {
    display:block!important; position:static!important;
    width:250px!important; min-height:26px!important;
    margin:5px 0 0!important; padding:0!important;
}
#profile8 #tms-profile-preview.post .tms-preview-fld3 > pfon_p,
#profile8 #tms-profile-preview.post .tms-preview-fld3 > pfon,
#profile8 #tms-profile-preview.post .tms-preview-fld3 > pfon_none {
    position:static!important; pointer-events:none!important;
}
#profile8 #tms-profile-preview.post .tms-preview-fld3 > pfon_p img {
    position:absolute!important; top:0!important;
    width:100%!important; height:100%!important;
    pointer-events:none!important;
}
#profile8 #tms-profile-preview.post .tms-preview-fld3 loc {
    position:relative!important; margin:0 auto!important; z-index:5!important;
}
#profile8 #tms-profile-preview a { pointer-events:none!important; cursor:default!important; }
#profile8 #tms-profile-preview .pa-ip,
#profile8 #tms-profile-preview .tms-bank-gear,
#profile8 #tms-profile-preview .tms-profile-actions { display:none!important; }
@media (max-width:900px) {
    #profile8 { padding-right:0!important; }
    #profile8 #tms-profile-preview-wrap {
        position:relative!important; top:auto!important; right:auto!important;
        margin:30px auto!important;
    }
}

.post .post-author > ul > .pa-fld5 {
    visibility: hidden;
}

.post .post-author > ul > .pa-fld5.tms-fld5-ready {
    visibility: visible;
}

.punbb .post-links .pl-email.email, .punbb .post-links .pl-email.pm,
.punbb .post-links .pl-email.profile {display: none !important;}

/* Старые ЛС / Профиль под постом больше не показываем */

.punbb .post-links .pl-email.pm,
.punbb .post-links .pl-email.profile {
    display: none !important;
}

/* E-mail у тебя уже скрыт этим правилом */

.punbb .post-links .pl-email.email {
    display: none !important;
}


/* ЛС + ПРОФИЛЬ ВНУТРИ МИНИ-ПРОФИЛЯ */

/* =========================================================
   ЛС + ПРОФИЛЬ ВНУТРИ МИНИ-ПРОФИЛЯ
   ========================================================= */

.tms-profile-actions {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 200px;
    height: 38px;
    box-sizing: border-box;
    margin: -110px auto 12px 25px;
}


/* ОБЩЕЕ ОФОРМЛЕНИЕ ССЫЛОК */

.tms-profile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;
    height: 28px;

    box-sizing: border-box;
    margin: 0;

    font-size: 9px;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none !important;
}


/* =========================================================
   SVG-ИКОНКИ
   ========================================================= */

.tms-profile-actions a::before {
    content: "";
    display: block;
    flex: 0 0 auto;

    width: 13px;
    height: 13px;
    margin-right: 8px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


/* ЛС — тёмная кнопка */

.tms-profile-actions .tms-profile-pm {
    color: rgb(239, 238, 229) !important;
    background: rgb(36, 54, 59);
    border-radius: 5px;
}

.night .tms-profile-actions .tms-profile-pm {
    color: #898989 !important;
    background: transparent;
    border-radius: 0;
}

/* SVG-конверт */

.tms-profile-actions .tms-profile-pm::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18' fill='none'%3E%3Cpath d='M1 2.5C1 1.67 1.67 1 2.5 1h19c.83 0 1.5.67 1.5 1.5v13c0 .83-.67 1.5-1.5 1.5h-19C1.67 17 1 16.33 1 15.5v-13Z' stroke='%23efeee5' stroke-width='1'/%3E%3Cpath d='m2 3 10 8 10-8' stroke='%23efeee5' stroke-width='1'/%3E%3C/svg%3E");
}


/* ПРОФИЛЬ — светлая половина */

.tms-profile-actions .tms-profile-link {
    position: relative;
    color: rgb(56, 66, 71) !important;
}

.night .tms-profile-actions .tms-profile-link {
    color: rgb(56, 66, 71) !important;
    background: #ccc3b8c7;
    border-radius: 5px;
}

.tms-profile-actions .tms-profile-link::after {
    content: "";
    position: absolute;
    left: -7px;
    top: 3px;
    width: 1px;
    height: 22px;
    background: rgba(70, 70, 65, 0.25);
}

.night .tms-profile-actions .tms-profile-link::after {
    background: rgb(36 54 59);
}


/* SVG-профиль */

.tms-profile-actions .tms-profile-link::before {
    width: 12px;
    height: 14px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20' fill='none'%3E%3Ccircle cx='8' cy='5' r='3.5' stroke='%23384247' stroke-width='1'/%3E%3Cpath d='M1.5 19c.2-5 2.3-7.5 6.5-7.5s6.3 2.5 6.5 7.5' stroke='%23384247' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
}

/*==========КНОПКА ЭПИЗОДЫ=============*/
#h-myepisodes {
  position: relative;
}

#h-myepisodes .episodes-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  min-width: 205px;
  padding: 8px;
  background: #d8d5cc;
  border: 1px solid #77736a;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

#h-myepisodes:hover .episodes-dropdown,
#h-myepisodes:focus-within .episodes-dropdown,
#h-myepisodes.is-open .episodes-dropdown {
  display: block;
}

#h-myepisodes .episodes-dropdown a {
  display: block;
  padding: 6px 9px;
  color: #555047;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

#h-myepisodes .episodes-dropdown a:hover {
color: #a19a8e;
  border-radius: 4px;
}
/*==========КОНЕЦ==========*/

/* ==========================================
БЫСТРОЕ ПЕРЕКЛЮЧЕНИЕ АККАУНТОВ (Deff с доработкой)
   ========================================== */

/* 1. ОТОБРАЖЕНИЕ ПАНЕЛИ */

#pun-navlinks a:not(.NextShow) + span.odd {
    display: none !important;
}

/* Контейнер выпадающей панели */
#pun-navlinks #navlogout > span.odd,
#pun-navlinks #navlogin > span.odd {
    position: relative;
}

/* 2. ФОРМА ВХОДА — ПРАВАЯ КОЛОНКА */

.punbb #pun-navlinks #form-login {
    display: block;
    position: absolute !important;

    top: 31px;
    left: 0;
    z-index: 100000 !important;

    width: 170px;
    min-height: 145px;
    box-sizing: border-box;
    margin: 0 0 0 -35px;
    padding: 13px 14px;

    background: #e1e1d9;
    border: 1px solid #676155;
    border-left: 0;
    border-radius: 0 8px 8px 0;

    box-shadow: 0 8px 18px rgba(0,0,0,.10);

    color: #676155;
    font: normal 12px/1.4 'Roboto-regular', Arial, sans-serif;
    text-align: center;
    text-transform: none;
}

/* Позиция для администрации */
.ismoderator #pun-navlinks #navlogout #form-login {
    margin-left: -35px !important;
}

/* 3. СПИСОК АККАУНТОВ — ЛЕВАЯ КОЛОНКА */

.punbb #pun-navlinks #List-UserNames {
    position: absolute;

    top: -1px;
    right: 100%;
    z-index: 1;

    width: 235px;
    height: calc(100% + 2px);
    min-height: 0;
    box-sizing: border-box;

    margin: 0;
    padding: 13px 12px;

    background: #e1e1d9;

    border: 1px solid #676155;
    border-right: 1px solid #c5c0b5;
    border-radius: 8px 0 0 8px;

    text-align: left;
}

/* Прокручиваемый список */
.punbb #List-UserNames ul {
    display: block;
    margin: 0;
    padding: 0;

    min-height: 36px;
    max-height: 120px;

    overflow-x: hidden;
    overflow-y: auto;
}

/* 4. СТРОКИ АККАУНТОВ */

.punbb #List-UserNames ul li {
    display: block !important;
    position: relative;

    margin: 0 0 3px !important;
    padding: 6px 24px 6px 9px !important;

    background: rgba(255,255,255,.55);
    border-radius: 4px;

    font: 400 12px/1.4 Tahoma, sans-serif !important;
    letter-spacing: 0;
    text-align: left;

    transition: background .2s ease;
}

.punbb #List-UserNames ul li:hover {
    background: #cbc7bd;
}

/* Имена персонажей */
.punbb #List-UserNames ul li > b {
    display: block;
    cursor: pointer;

    color: #645e53;
    font-weight: 400;
    opacity: 1;
    text-shadow: none !important;
}

.punbb #List-UserNames ul li > b:hover {
    color: #403c35;
}

/* Удаление сохранённого аккаунта */
.punbb #List-UserNames ul li > span {
    display: inline-block;
    position: absolute;

    top: 50%;
    right: 7px;
    bottom: auto;
    transform: translateY(-50%);

    padding: 0 3px;

    color: #777167;
    font: bold 11px/1 Arial, sans-serif;
    text-shadow: none;

    opacity: .75;
    cursor: pointer;
}

.punbb #List-UserNames ul li > span:hover {
    color: #a35f59;
    opacity: 1;
}

/* Сообщение при отсутствии аккаунтов */
#List-UserNames ul:empty::before {
    display: block;
    content: "Сохранённых аккаунтов пока нет";
    padding: 8px 4px;

    color: #777167;
    font: 11px/1.5 Tahoma, sans-serif;
}

/* 5. ПОЛОСА ПРОКРУТКИ */

#List-UserNames ul::-webkit-scrollbar {
    width: 6px;
}

#List-UserNames ul::-webkit-scrollbar-track {
    background: #f0efe9;
}

#List-UserNames ul::-webkit-scrollbar-thumb {
    background: #aaa69b;
    border-radius: 5px;
}

/* 6. ПОЛЯ И КНОПКА ВХОДА */

.punbb #pun-navlinks #form-login input {
    display: inline-block !important;
    box-sizing: border-box;

    margin-top: 4px !important;

    color: #676155 !important;
    font: normal 11px Arial, sans-serif !important;
    text-align: center;
    text-transform: none;

    border-radius: 5px !important;
}

/* Имя и пароль */
.punbb #pun-navlinks #form-login input#fld1,
.punbb #pun-navlinks #form-login input#fld2 {
    width: 100%;
    padding: 6px 8px;

    background: #f4f2ec;
    border: 1px solid #d3cfc5 !important;
}

.punbb #pun-navlinks #form-login input#fld1:focus,
.punbb #pun-navlinks #form-login input#fld2:focus {
    outline: 1px solid #a49b8c;
    outline-offset: 0;
}

/* Кнопка входа */
.punbb #pun-navlinks #form-login input[type="submit"] {
    padding: 6px 18px;

    background: #c9c3b7;
    border: 0 !important;
    border-radius: 5px;

    color: #514b43 !important;
    font-weight: bold !important;
    cursor: pointer;

    transition: background .2s ease;
}

.punbb #pun-navlinks #form-login input[type="submit"]:hover {
    background: #b8b1a4 !important;
}

/* Подсветка незаполненных полей */
#form-login input.none {
    outline: 2px dashed #b76565 !important;
}

/* 7. УБИРАЕМ ЛИШНИЕ ЭЛЕМЕНТЫ */

/* Вводная надпись */
#form-login > span:first-of-type {
    display: none !important;
}

/* Инструменты переноса аккаунтов */
#List-UserNames > ul + span {
    display: none !important;
}

/* Ссылки регистрации и восстановления */
#navlogout .Rega,
#navlogout .Forgot {
    display: none;
}

/* Дополнительная кнопка выхода при входе */
#navlogin #exit-2 {
    display: none;
}

/* 8. ИКОНКА ВЫХОДА */

.punbb #pun-navlinks a#New-exit {
    position: absolute;
    z-index: 100000 !important;

    margin-top: 0 !important;
    margin-left: 29px !important;

    float: none !important;
}

.punbb #pun-navlinks a#New-exit::before {
    content: none;
}

#pun-navlinks #New-exit img {
    position: absolute;
    width: 22px;
    height: auto;
    margin: 2px 0 0;
}

#pun-navlinks #New-exit:hover {
    opacity: .4;
}

/* ================================================================
   TIMES&#178; / T2PP — единый блок оформления, 24.10.2026
   Заменяет все предыдущие стили T2PP, без каскада исправлений.
   ================================================================ */
body.t2pp-popup-open { overflow: hidden; }
.post-content .t2pp-source { display: block; }
.post-content .t2pp-source > .t2pp-open { display: none; }

.t2pp-overlay {
  position: fixed; inset: 0; z-index: 200000;
  background: rgba(7,13,16,.82); backdrop-filter: blur(4px);
}
.t2pp-modal {
  position: fixed; inset: 0; z-index: 200001;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; box-sizing: border-box; pointer-events: none;
  color: #26383a; font: 11px/1.4 Arial,sans-serif;
}
.t2pp-overlay:not(.is-open), .t2pp-modal:not(.is-open) { display: none !important; }
.t2pp-modal *, .t2pp-modal *::before, .t2pp-modal *::after { box-sizing: border-box; }
.t2pp-modal-frame {
  position: relative; width: min(820px,100%); height: min(510px,calc(100dvh - 32px));
  min-height: 280px; overflow: hidden; pointer-events: auto;
  border: 1px solid #607175; border-radius: 8px;
  background: #e6e0d6; box-shadow: 0 22px 75px rgba(0,0,0,.55);
}
.t2pp-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    /* border-left: 1px solid #bbb3a7; */
    /* border-bottom: 1px solid #bbb3a7; */
    background: #e6e0d6;
    color: #172a2e;
    font: 25px / 1 Georgia, serif;
    cursor: pointer;
}
.t2pp-popup-shell {
  display: grid; grid-template-columns: 150px minmax(0,1fr);
  width: 100%; height: 100%; min-width: 0;
}
.t2pp-popup-side {
  display: flex; flex-direction: column; position: relative;
  min-width: 0; padding: 42px 9px 14px;
  color: #ddd8cb; background-color: #152b30;
  background-image: linear-gradient(180deg,rgba(15,38,43,.94),rgba(15,38,43,.84) 45%,rgba(8,24,29,.18)), url("https://upforme.ru/uploads/001a/db/bb/3/603533.png"); /* Общий фон по умолчанию; индивидуальный задаётся из личной темы. */
  background-position: center bottom; background-size: cover; background-repeat: no-repeat;
}
.t2pp-popup-logo { display: none; }
.t2pp-popup-nav { display: flex; flex-direction: column; gap: 5px; position: relative; z-index: 1; }
.t2pp-popup-nav button {
  display: block; width: 100%; padding: 9px 10px;
  border: 0; border-left: 2px solid transparent; border-radius: 2px;
  background: transparent; color: #c3c9c6; text-align: left;
  text-transform: uppercase; letter-spacing: .4px;
  font: 10px/1.35 Arial,sans-serif; cursor: pointer;
}
.t2pp-popup-nav button:hover:not(:disabled) { background: rgba(229,236,229,.08); color: #fff; }
.t2pp-popup-nav button.is-active {
  border-left-color: #c9b99b; background: rgba(207,224,221,.15); color: #fff;
}
.t2pp-popup-nav button:disabled { opacity: .37; cursor: default; }
.t2pp-popup-main {
  min-width: 0; min-height: 0; padding: 15px 14px;
  background: #e6e0d6;
}
.t2pp-popup-content { height: 100%; overflow: auto; min-width: 0; overflow-wrap: anywhere; }
.t2pp-popup-content .t2pp-page { display: block; }
.t2pp-popup-content img { max-width: 100%; }
.t2pp-error { padding: 20px 0; color: #943f3f; }

/* Один каталог — одинаковые элементы и в теме, и во всплывающем окне. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-page-head {
  margin: 0; padding: 0;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-page-kicker { display: none; }
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-page-title {
  margin: 0; color: #1e2d31; font: normal 23px/1.2 Georgia,serif;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-appearance-page {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  grid-template-rows: auto minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 9px; width: 100%; min-width: 0; min-height: 0; color: #28383a;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-appearance-page > .t2pp-page-head {
  grid-column: 1 / -1; grid-row: 1; margin-bottom: 4px;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-appearance-section {
  display: flex; flex-direction: column; min-width: 0; min-height: 0;
  margin: 0; padding: 8px; overflow: hidden;
  border: 1px solid rgba(62,69,68,.24); border-radius: 9px;
  background: rgba(243,239,231,.20);
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-section-title {
  flex: none; margin: 0 0 6px; padding: 0 0 5px;
  border: 0; border-bottom: 1px solid rgba(65,78,79,.27);
  color: #26383a; font: normal 9px/1.3 Arial,sans-serif;
  letter-spacing: .65px; text-transform: uppercase;
}
/* Simple wrapping: no fixed number of columns, no grid for items. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-appearance-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: center;
    column-gap: 5px;
    row-gap: 5px;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 1px 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-appearance-grid::-webkit-scrollbar { display: none; }
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-appearance-grid > * {
  box-sizing: border-box; flex: 0 0 auto; max-width: 100%; margin: 0;
}
/* 18px icons in small unobtrusive cells. */
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="profile-icons"] .t2pp-appearance-grid > img {
  display: block; width: 30px; height: 30px; padding: 5px;
  border: 1px solid #bbb5a9; border-radius: 5px;
  object-fit: contain; background: rgba(255,255,255,.12);
}
/* Backgrounds flow naturally, typically two previews per row. */
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="profile-backgrounds"] .t2pp-appearance-grid > img,
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="page-backgrounds"] .t2pp-appearance-grid > img {
  display: block; width: calc((100% - 5px)/2); height: 125px;
  border-radius: 5px; object-fit: cover;
}
/* Colors also wrap left-to-right, without distributing empty space. */
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-colors"] .t2pp-appearance-grid > i[data-color] {
  display: block; width: 32px; height: 32px;
  border: 1px solid rgba(0,0,0,.13); border-radius: 5px; font-style: normal;
}
/* One original-size badge per row, centered. */
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-backgrounds"] .t2pp-appearance-grid, :is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-texts"] .t2pp-appearance-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-backgrounds"] .t2pp-appearance-grid > img {
  display: block; width: auto; height: auto; max-width: 100%;
  border-radius: 5px; object-fit: contain;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-texts"] .t2pp-appearance-grid > span[data-line1] {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 34px; padding: 4px 2px;
  border: 0; border-bottom: 1px solid rgba(61,75,77,.20);
  border-radius: 0; background: transparent; text-align: center;
  color: #263539; font: 0/1.3 Georgia,serif; overflow-wrap: anywhere;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-texts"] .t2pp-appearance-grid > span[data-line1]::before {
  content: attr(data-line1); display: block; font: 10px/1.35 Georgia,serif;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-texts"] .t2pp-appearance-grid > span[data-line1]::after {
  content: attr(data-line2); display: block;
  color: #777c79; font: italic 9px/1.35 Georgia,serif;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-appearance-grid > [data-pin]:hover {
  outline: 2px solid rgba(91,125,117,.65); outline-offset: -2px; cursor: pointer;
}
/* Порядок шести карточек. */
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="profile-icons"] { grid-column: 1; grid-row: 2; }
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="profile-backgrounds"] { grid-column: 2; grid-row: 2; }
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="page-backgrounds"] { grid-column: 3; grid-row: 2; }
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-colors"] { grid-column: 1; grid-row: 3; }
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-backgrounds"] { grid-column: 2; grid-row: 3; }
:is(.t2pp-popup-content, .post-content .t2pp-source) [data-appearance="plate-texts"] { grid-column: 3; grid-row: 3; }
/* Во всплывашке обе строки помещаются по высоте. */
.t2pp-popup-content .t2pp-appearance-page { height: 100%; min-height: 0; }
.t2pp-popup-content .t2pp-appearance-section { min-height: 0; }
/* В теме карточки выше, но те же элементы и размеры. */
.post-content .t2pp-source .t2pp-appearance-page {
  grid-template-rows: auto 275px 160px;
}
@media (max-width: 700px) {
  .t2pp-modal { padding: 8px; }
  .t2pp-modal-frame { height: calc(100dvh - 16px); }
  .t2pp-popup-shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); }
  .t2pp-popup-side { padding: 8px 42px 8px 8px; }
  .t2pp-popup-nav { flex-direction: row; gap: 2px; overflow-x: auto; }
  .t2pp-popup-nav button { flex: none; width: auto; padding: 8px; font-size: 9px; }
  .t2pp-popup-main { padding: 12px; }
  .t2pp-popup-content .t2pp-appearance-page {
    height: auto; grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto; 
  }
  .t2pp-popup-content .t2pp-appearance-section { grid-column: auto; grid-row: auto; height: 190px; }
}
@media (max-width: 470px) {
  .t2pp-popup-content .t2pp-appearance-page { grid-template-columns: 1fr; }
}

/* ================================================================
   T2PP / PROFILE — макет: персонаж | музыка | ссылки;
   желания под музыкой и ссылками; твинки внизу.
   Изменения касаются ТОЛЬКО вкладки «Профиль».
   ================================================================ */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-characters-data {display:none!important;}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-shared {
  height:100%; min-height:0; box-sizing:border-box;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-shared .t2pp-page-head {
  display:block!important; margin:0; padding:0 0 5px; height:31px; box-sizing:border-box;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-shared .t2pp-page-title {
  font:23px/26px Georgia,serif; color:#243c41; margin:0;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-layout {
  display:grid; grid-template-columns:minmax(0,185fr) minmax(0,230fr) minmax(0,205fr);
  grid-template-rows:166px 107px minmax(0,1fr);
  gap:8px; height:calc(100% - 31px); min-height:0;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-card {
  box-sizing:border-box; min-width:0; min-height:0; padding:10px;
  background:#f3eee6; border:1px solid #d1c7b8; border-radius:5px; overflow:hidden;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-card h3 {
  margin:0 0 7px; color:#43565a; font:10px/1.2 Arial,sans-serif;
  text-transform:uppercase; letter-spacing:.45px;
}
/* Портрет занимает два первых ряда, как на референсе. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-identity {
  grid-column:1; grid-row:1 / 3; display:flex; flex-direction:column;
  align-items:center; justify-content:flex-start; gap:0; text-align:center;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-image {
  display:block; flex:0 0 auto; width:100%; max-width:145px; height:145px;
  object-fit:cover; border-radius:5px;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-name {
  width:100%; margin:9px 0 0; color:#243c41;
  font:19px/1.15 Georgia,serif; overflow-wrap:break-word;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-quote {
  display:block; width:100%; margin-top:9px; padding-top:9px;
  border-top:1px solid #d9d0c4; color:#6d7777;
  font:italic 16px/1.4 Marck Script; overflow-wrap:break-word;
}
/* Необязательные связи персонажа: никаких внешних запросов. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-relations-card {
  grid-column:2; grid-row:1; display:flex; flex-direction:column;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-relations {
  min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:6px;
  scrollbar-width:thin;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-relation-row {
  display:flex; gap:8px; align-items:center; min-width:0;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-relation-photo {
  width:39px; height:39px; flex:0 0 39px; object-fit:cover; border-radius:5px;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-relation-details {
  display:flex; flex-direction:column; gap:2px; min-width:0;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-relation-name {
  color:#344b4d; font:12px/1.2 Georgia,serif; text-decoration:none;
  overflow-wrap:break-word;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) a.t2pp-relation-name:hover {text-decoration:underline;}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-relation-type {
  color:#7b7d79; font:10px/1.2 Arial,sans-serif; overflow-wrap:break-word;
}
/* Без отношений ссылки занимают обе правые колонки. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-no-relations .t2pp-profile-links-card {
  grid-column:2 / 4;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-no-relations .t2pp-active-links {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:min-content; gap:6px 8px; align-content:start;
}
/* Ссылки — вертикальные спокойные плашки. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-links-card {
  grid-column:3; grid-row:1; display:flex; flex-direction:column;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links {
  display:flex; flex-direction:column; gap:4px; min-height:0; overflow-y:auto;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a {
  display:block; flex:0 0 auto; min-width:0; padding:6px 9px;
  border:0; border-radius:4px; background:#e5e1dc;
  color:#344b4d; text-decoration:none; font:11px/1.2 Arial,sans-serif;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a:hover {
  background:#d6d9d6; color:#213e42;
}

/* T2PP: SVG-иконки ссылок. Встроены в CSS, без внешних файлов и запросов. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a {
  display:flex; align-items:center; gap:8px;
  padding:4px 8px; min-height:23px; box-sizing:border-box;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a::before {
  content:""; display:block; width:15px; height:15px; flex:0 0 15px;
  background-color:currentColor; opacity:.9;
  -webkit-mask-position:center; mask-position:center;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:contain; mask-size:contain;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a[data-link="topic"]::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204.5h6a3%203%200%200%201%203%203v11a3%203%200%200%200-3-2H3zM21%204.5h-6a3%203%200%200%200-3%203v11a3%203%200%200%201%203-2h6z%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204.5h6a3%203%200%200%201%203%203v11a3%203%200%200%200-3-2H3zM21%204.5h-6a3%203%200%200%200-3%203v11a3%203%200%200%201%203-2h6z%22%2F%3E%3C%2Fsvg%3E");
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a[data-link="settings"]::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M10%202h4l.6%202.4%201.7.7%202.1-1.3%202.8%202.8-1.3%202.1.7%201.7L23%2011v2l-2.4.6-.7%201.7%201.3%202.1-2.8%202.8-2.1-1.3-1.7.7L14%2022h-4l-.6-2.4-1.7-.7-2.1%201.3-2.8-2.8%201.3-2.1-.7-1.7L1%2013v-2l2.4-.6.7-1.7-1.3-2.1%202.8-2.8%202.1%201.3%201.7-.7z%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M10%202h4l.6%202.4%201.7.7%202.1-1.3%202.8%202.8-1.3%202.1.7%201.7L23%2011v2l-2.4.6-.7%201.7%201.3%202.1-2.8%202.8-2.1-1.3-1.7.7L14%2022h-4l-.6-2.4-1.7-.7-2.1%201.3-2.8-2.8%201.3-2.1-.7-1.7L1%2013v-2l2.4-.6.7-1.7-1.3-2.1%202.8-2.8%202.1%201.3%201.7-.7z%22%2F%3E%3C%2Fsvg%3E");
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a[data-link="social"]::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2215%22%20rx%3D%223%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212.5%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M8%205l1-2h6l1%202%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2215%22%20rx%3D%223%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212.5%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M8%205l1-2h6l1%202%22%2F%3E%3C%2Fsvg%3E");
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a[data-link="phone"]::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5.5%202.8%209%206.3%207%209a16%2016%200%200%200%208%208l2.7-2%203.5%203.5-2%203c-.5.8-1.4%201.1-2.4.9C9%2020.8%203.2%2015%201.6%207.2c-.2-1%20.1-1.9.9-2.4z%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5.5%202.8%209%206.3%207%209a16%2016%200%200%200%208%208l2.7-2%203.5%203.5-2%203c-.5.8-1.4%201.1-2.4.9C9%2020.8%203.2%2015%201.6%207.2c-.2-1%20.1-1.9.9-2.4z%22%2F%3E%3C%2Fsvg%3E");
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-links a[data-link="extra"]::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2013a5%205%200%200%200%207.1%200l2.2-2.2a5%205%200%200%200-7.1-7.1L10.8%205M14%2011a5%205%200%200%200-7.1%200l-2.2%202.2a5%205%200%200%200%207.1%207.1l1.4-1.4%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2013a5%205%200%200%200%207.1%200l2.2-2.2a5%205%200%200%200-7.1-7.1L10.8%205M14%2011a5%205%200%200%200-7.1%200l-2.2%202.2a5%205%200%200%200%207.1%207.1l1.4-1.4%22%2F%3E%3C%2Fsvg%3E");
}

/* Хотелки — узкая полоса под музыкой и ссылками. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-wishlist-card {
  grid-column:2 / 4; grid-row:2; display:flex; flex-direction:column;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-wishlist-list {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0;
    justify-content: center;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-wishlist-list img {
  display:block; flex:0 0 49px; width:49px; height:49px;
  max-width:none; object-fit:contain;
}
/* Галерея твинков во всю ширину, прокрутка только по горизонтали. */
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-characters-card {
  grid-column:1 / 4; grid-row:3; display:flex; flex-direction:column;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-active-characters {
  display:flex; flex:1 1 auto; min-width:0; min-height:0;
  flex-wrap:nowrap; align-items:flex-start; gap:9px;
  overflow-x:auto; overflow-y:hidden; padding-bottom:12px; scrollbar-width:thin;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-twink-card {
  box-sizing:border-box; display:flex; flex:0 0 108px; width:108px;
  min-width:0; flex-direction:column; align-items:center; gap:4px;
  padding:0; border:0; background:transparent; text-align:center;
  color:#354548; font:10px/1.2 Georgia,serif;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-twink-card img {
  display:block; flex:none; width:108px; height:77px;
  object-fit:cover; border-radius:4px;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-twink-card span {
  display:block; width:100%; min-height:24px; overflow:hidden;
  white-space:normal; overflow-wrap:break-word; line-height:12px;
}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-twink-card[role="button"] {cursor:pointer;}
:is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-twink-card[role="button"]:hover img {
  outline:2px solid #7a948e; outline-offset:-2px;
}
/* В самой теме показываем ту же компоновку, без обрезания. */
.post-content .t2pp-source .t2pp-profile-shared {height:490px;}
/* Узкие экраны: перестройка ТОЛЬКО профиля. */
@media (max-width:700px) {
  :is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-layout {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:190px 150px 105px 140px; height:auto;
  }
  :is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-identity {grid-column:1;grid-row:1 / 3;}
  :is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-relations-card {grid-column:2;grid-row:1;}
  :is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-links-card {grid-column:2;grid-row:2;}
  :is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-no-relations .t2pp-profile-links-card {grid-column:2;grid-row:1 / 3;}
  :is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-wishlist-card {grid-column:1 / 3;grid-row:3;}
  :is(.t2pp-popup-content, .post-content .t2pp-source) .t2pp-profile-characters-card {grid-column:1 / 3;grid-row:4;}
}


/* ============================================================
   T2PP — КОЛЛЕКЦИИ / КАТАЛОГ РЕДКОСТЕЙ
   Только вкладка «Коллекции». Без изменений HTML и JS.
   ============================================================ */
.t2pp-popup-content .t2pp-collections-page,
.post-content .t2pp-source .t2pp-collections-page {
  display:block;
  min-width:0;
  color:#293d40;
}
.t2pp-collections-page .t2pp-collections-content {
  display:flex;
  flex-direction:column;
  gap:0;
  margin-top:12px;
  padding:0 2px 12px 0;
}
/* Одна коллекция: узкая информационная колонка + витрина предметов. */
.t2pp-collections-page .t2pp-pin-set {
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:11px;
  min-width:0;
  padding:13px 5px 15px 2px;
  box-sizing:border-box;
  border:0;
  border-bottom:1px solid #cfc8be;
  border-radius:0;
  background:transparent;
}
.t2pp-collections-page .t2pp-pin-set:last-child {border-bottom:0;}
.t2pp-collections-page .t2pp-pin-set-head {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:9px;
  min-width:0;
  margin:0;
  padding:3px 10px 4px 3px;
  border:0;
  border-right:1px solid #d0c8bd;
  border-radius:0;
  background:transparent;
}
.t2pp-collections-page .t2pp-pin-set-title {
    margin: 0;
    padding: 0;
    color: #2c4246;
    font: 600 11px / 1.55 Georgia, serif;
    letter-spacing: .35px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    cursor: default;
}
.t2pp-collections-page .t2pp-pin-progress {
    display: inline-block;
    flex: none;
    margin: 0;
    padding: 5px 9px;
    border-radius: 14px;
    background: #e5dfd6;
    color: #566468;
    font: 10px / 1 Arial, sans-serif;
    white-space: nowrap;
    cursor: default;
}
.t2pp-collections-page .t2pp-pin-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px 5px;
  min-width:0;
  align-content:start;
}
.t2pp-collections-page .t2pp-pin-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  min-width:0;
  margin:0;
  text-align:center;
}
.t2pp-collections-page .t2pp-pin-picture {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:62px;
  min-width:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.t2pp-collections-page .t2pp-pin-img {
  display:block;
  width:60px;
  height:60px;
  max-width:100%;
  object-fit:contain;
}
.t2pp-collections-page .t2pp-pin-img.is-locked {
  filter:grayscale(1);
  opacity:.36;
}
.t2pp-collections-page .t2pp-pin-img.is-owned {
  filter:none;
  opacity:1;
}
.t2pp-collections-page .t2pp-pin-label {
  width:100%;
  min-height:16px;
  padding:1px 0;
  box-sizing:border-box;
  border:0;
  border-radius:0;
  background:transparent;
  color:#687073;
  font:9px/14px Arial,sans-serif;
  overflow-wrap:anywhere;
}
/* При узком окне сохраняем читаемые изображения. */
@media (max-width:650px) {
  .t2pp-collections-page .t2pp-pin-set {
    grid-template-columns:85px minmax(0,1fr);
    gap:8px;
  }
  .t2pp-collections-page .t2pp-pin-set-head {padding-right:6px;}
  .t2pp-collections-page .t2pp-pin-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}


/* ============================================================
   T2PP — ДОСТИЖЕНИЯ / ГАЛЕРЕЯ НАГРАД
   ============================================================ */
.t2pp-achievements-page {display:block;min-width:0;color:#293d40;}
.t2pp-achievements-total {margin:7px 0 15px;font-size:11px;letter-spacing:.8px;color:#6d7776;}
.t2pp-achievements-content {display:block;padding-bottom:16px;}
.t2pp-achiev-grid {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    gap:13px 6px;
    padding:4px 2px 21px;
}
.t2pp-achiev-item {display:flex;align-items:center;justify-content:center;flex:0 0 auto;max-width:100%;}
.t2pp-achiev-img {display:block;width:auto!important;height:auto!important;max-width:100%!important;object-fit:contain;cursor:help;}
.t2pp-achiev-img.is-locked {filter:grayscale(1);opacity:.42;}
.t2pp-achiev-img.is-owned {filter:none;opacity:1;}
.t2pp-achiev-img:hover {opacity:1;}

/* ============================================================
   T2PP — ПОДАРКИ / ЛЕНТА ПОЖЕЛАНИЙ
   Без сетевых запросов; переключатели фильтруют локальные записи.
   ============================================================ */
.t2pp-gifts-page {display:block;min-width:0;color:#293d40;}
.t2pp-gifts-page .t2pp-page-head {margin-bottom:13px;}
.t2pp-gifts-filters {display:flex;flex-wrap:wrap;gap:7px 15px;margin:8px 0 13px;padding:0 0 9px;border-bottom:1px solid rgba(57,69,69,.22);}
.t2pp-gift-filter {border:0;border-bottom:1px solid transparent;background:transparent;padding:3px 0 5px;color:#64716f;font:12px/1.3 Georgia,serif;cursor:pointer;}
.t2pp-gift-filter:hover {color:#243d43;}
.t2pp-gift-filter.is-active {color:#243d43;border-bottom-color:#637e7e;}
.t2pp-gifts-content {min-width:0;padding-bottom:12px;}
.t2pp-gift-row {display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:center;padding:13px 3px 15px;border-bottom:1px solid rgba(57,69,69,.19);}
.t2pp-gift-row:first-child {padding-top:3px;}
.t2pp-gift-art {display:flex;align-items:center;justify-content:center;min-height:86px;min-width:0;}
.t2pp-gift-art img {display:block;width:auto;height:auto;max-width:110px;max-height:115px;object-fit:contain;}
.t2pp-gift-note {display:flex;flex-direction:column;justify-content:center;gap:11px;min-width:0;}
.t2pp-gift-wish {font:italic 14px/1.5 Georgia,serif;color:#30454a;white-space:pre-line;overflow-wrap:anywhere;}
.t2pp-gift-meta {display:flex;flex-wrap:wrap;align-items:center;gap:4px 11px;color:#7b827e;font:10px/1.5 Arial,sans-serif;}
.t2pp-gift-sender {color:#566a6c;}
.t2pp-gift-date {margin-left:auto;white-space:nowrap;}
.t2pp-gifts-empty {padding:25px 0;color:#7b827e;font:italic 13px/1.5 Georgia,serif;}
.t2pp-gift-missing {color:#8c8c88;font:10px/1.4 Arial,sans-serif;text-align:center;}
@media(max-width:650px) {
 .t2pp-gift-row {grid-template-columns:82px minmax(0,1fr);gap:10px;}
 .t2pp-gift-art img {max-width:82px;max-height:100px;}
 .t2pp-gift-wish {font-size:12px;}
}

/* Profile personal-page icon: standard image only for ls_st. */
#viewprofile .tms-profile-icon { background: none !important; }
#viewprofile .tms-profile-icon ls, #viewprofile .tms-profile-icon ls_st {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, #cec5ba 50%, #cec5ba 100%);
}
.night #viewprofile .tms-profile-icon ls,
.night #viewprofile .tms-profile-icon ls_st { background: #0e181c; }
#viewprofile .tms-profile-icon ls a,
#viewprofile .tms-profile-icon ls_st a {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; background: none;
}
#viewprofile .tms-profile-icon ls_st a {
    background: url("https://upforme.ru/uploads/001a/db/bb/3/338852.png") center / 18px 18px no-repeat;
}
#viewprofile .tms-profile-icon ls img { width: 20px; height: 20px; object-fit: contain; }

/* Кнопка редактирования банка */
.tms-bank-gear {
    position: absolute;
    top: 0;
    left: -25px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a59c89;
    font-size: 17px;
    line-height: 22px;
    cursor: pointer;
    z-index: 10;
    opacity: .65;
    transition: opacity .2s, transform .2s;
    color: #777062 !important;
}

.tms-bank-gear:hover {
    opacity: 1;
}

/* Окно */
#tms-bank-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.55);
}

#tms-bank-window {
    box-sizing: border-box;
    width: 320px;
    max-width: 90vw;
    padding: 25px;
    background: #e4e0d7;
    color: #514b40;
    box-shadow: 0 8px 35px rgba(0,0,0,.3);
    font: 13px Arial, sans-serif;
}

#tms-bank-window h3 {
    margin: 0 0 20px;
    font-size: 16px;
    text-align: center;
}

#tms-bank-window input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #c5beb0;
    background: #fff;
    color: #333;
}

#tms-bank-window button {
    padding: 8px 15px;
    cursor: pointer;
}

#tms-bank-status {
    margin-top: 12px;
    font-size: 12px;
}

.tms-bank-gear img {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}

/* TIMES&#178; — стандартная плашка */
:root {
    --tms-default-plate-bg: #112835;
}

/* Плашка в профиле */
.tm1.tms-default-plate {
    background: var(--tms-default-plate-bg);
}

/* Миниатюра в галерее */
#tms-plate-gallery .tms-default-plate-preview {
    background: var(--tms-default-plate-bg);
}