/* © эос (https://imagiart.ru/profile.php?id=5592) */
/* Убедительная просьба не брать коды и не растаскивать их на части */
/*---------------------------------------------------------------------------*/

/*--- Подключение второго окна стилей ---*/
@import url(style_cs.1776078895.css);

/*--- Иконки ---*/
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/*--- Шрифты ---*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*--- Переменные ---*/
:root {
--font: "Inter", sans-serif;
--fa: "Font Awesome 6 Pro";
--pun-width: 1050px;
--pun-padding: 15px;
--header-width: 1050px;
--header-height: 300px;
--profile-width: 220px;
--body-img: url(https://forumstatic.ru/files/0014/4b/bf/41528.jpg);
--header-img: url(https://forumstatic.ru/files/0014/4b/bf/41040.webp);
--category1-img: url(https://forumstatic.ru/files/0014/4b/bf/53224.webp);
--category2-img: url(https://forumstatic.ru/files/0014/4b/bf/63162.webp);
--category3-img: url(https://forumstatic.ru/files/0014/4b/bf/92199.webp);
--go-up-img: url(https://forumstatic.ru/files/0014/4b/bf/89516.png);
--go-down-img: url(https://forumstatic.ru/files/0014/4b/bf/21281.png);
--body: #b7a5a2;
--pun: #F0EFEE;
--pun-container: #EEEBE9;
--text: #454545;
--text-pale: rgba(94, 84, 83, .75);
--border: #dfd2cd;
--shadow: rgba(0, 0, 0, .05);
--link1: #c7879f;
--link2: #7D6A67;
--button: #ddd2ce;
--button-text: #7a6562;
--hover: #e5cdd4;
--hover-text: #a56678;
--extra1: #e1d8d4;
--extra1-text: #7a6562;
--extra2: #EA9EB9;
--extra2-text: #FEF8F8;
--avatar: #7D6A67;
--select: #efe1e3;
--select-text: #c38c9e;
--textarea: rgba(255, 255, 255, .5);
--scrollbar: transparent;
--scrollbar-thumb: #9d8885;
}

/*--- Скрыть ненужное ---*/
.punbb .container:after,
.punbb .linksb:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .post-links ul:after {
clear: both !important;
visibility: hidden !important;

/*content: ".";*/
content: none !important;
display: block !important;
height: 0 !important;
font-size: 0 !important;
line-height: 0 !important;
overflow: hidden !important;
}

.clearer,
.inline .infofield {
clear: both !important;
}

.clearer {
height: 0 !important;
font-size: 0 !important;
}

#pun-announcement h2,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-status h2,
#pun-title h1,
#pun-ulinks h2,
#pun-userlist .main h2,
.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .formsubmit label,
.punbb .forum h2,
.punbb .modmenu label,
.punbb .multipage .topic h2,
.punbb .required label em,
.punbb .submitfield label,
.acchide {
position: absolute !important;
width: 0 !important;
height: 0 !important;
left: -9999px !important;
font-size: 0 !important;
line-height: 0 !important;
overflow: hidden !important;
}

#pun-live-rusff,
#pun-main .catleft,
#pun-main .catright,
#pun-messages .linksb:after,
#pun-messages .pa-posts,
#pun-messages .pa-reg,
#pun-messages .user-avatar,
#pun-modviewforum .user-avatar,
#pun-multidelete .pa-title,
#pun-multimegre .pa-title,
#pun-searchposts .pa-replies,
#pun-searchposts .post-links,
#pun-searchtopics .modmenu .container,
#pun-viewforum .modmenu .container span,
#pun-index #pun-main th,
#pun-index #pun-main .tc2,
#pun-index #pun-main .tc3,
#pun-index #pun-crumbs1,
#pun-index #pun-crumbs2,
#post legend span,
#post-form h2,
#register .info-box,
#title-logo-tdr,
#topic-modmenu span,
#button-files_rusff,
#button-graffiti_rusff,
#most_invitations,
#navawards,
#pa-invites,
#profile-gifts,
#pun-index #pun-main .tcr br,
.closedatafield,
.lastedit,
.pa-fld1 .fld-name,
.pa-fld2 .fld-name,
.pa-fld3 .fld-name,
.pa-fld4 .fld-name,
.pa-fld5 .fld-name,
.pa-fld6 .fld-name,
.pa-fld7 .fld-name,
.pa-gifts a,
.pa-gifts span,
.pa-gifts,
.pl-reports,
.pl-website.website,
.punbb .main td .modlist,
.reactions-root,
.stickytext,
.topic .sharelink,
lastedit,
.datafield br,
#profilenav h2,
#formkey,
#formetc,
.punbb .post.new-ajax,
#profilenav li.item12,
#profilenav li.item9,
#stylelist li.active,
.tclcon .pagestext .bracket.bracket-left,
.tclcon .pagestext .bracket.bracket-right,
.pa-respect img,
.post-links .pl-email.email,
.post-links .pl-website,
a.qc-post-link img,
editor-squiggler,
#pun-messages .post-sig,
#pun-messages fieldset#post-new legend,
#post-form fieldset legend,
#pun-viewtopic .postlink .closed,
.pl-share,
#topic-feed,
#pun-index tr#forum_f13,
#pun-index tr#forum_f20,
#pun-index tr#forum_f21,
span.polltext,
#pun.gid3 #topic_t4~#post-form,
#pun.gid3 #topic_t3~#post-form,
#pun-ulinks li#h-uploads,
.linksb .clearer {
display: none !important;
}

.messages-container #profilenav h2 {
display: block !important;
}

.gid5 #profile,
.gid5 #viewprofile #pa-edit {
display: none !important;
}

/*--- Тело ---*/
*,
body {
margin: 0;
line-height: 100%;
outline: none;
text-size-adjust: none;
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
-moz-text-size-adjust: none;
}

body {
font-size: 12px;
font-family: var(--font);
color: var(--text);
background-position: top center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-color: var(--body);
background-image: var(--body-img);
}

#pun {
width: var(--pun-width);
margin: 0 auto 30px;
box-sizing: border-box;
background: var(--pun);
position: relative;
border-radius: 21px;
}

.punbb {
    width: 100%;
    box-sizing: border-box;
    margin: 60px auto 0;
    padding: calc(var(--header-height) + calc(var(--pun-padding)*2)) calc(var(--pun-padding)*2) 30px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--text-pale);
    border-radius: 20px;
}

#pun-main,
#profile.formal.messages-container .container {
min-height: 220px;
}

#pun-pages #pun-main {
min-height: 394px;
}

#profile.formal.messages-container .container {
background: var(--pun);
box-shadow: none;
}

#profile.formal.messages-container #tags .container {
min-height: unset !important;
}

a {
text-decoration: none;
color: var(--link1);
outline: none;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

a:hover {
color: var(--hover);
}

/*--- Шапка ---*/
#pun:before {
    content: "";
    display: block;
    width: var(--header-width);
    height: var(--header-height);
    background: var(--header-img) no-repeat;
    border-radius: 21px 21px 0 0;
    position: absolute;
    z-index: 0;
}

/*--- Меню навигации ---*/
#pun-navlinks {
    display: block;
    margin: 0;
    white-space: nowrap;
    padding: 0;
    position: absolute;
    top: -50px;
    left: 0;
    width: var(--pun-width);
}

#pun-navlinks .container {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
white-space: nowrap;
width: 100%;
height: 100%;
gap: 20px;
margin: 0;
padding: 0;
}

#pun-navlinks li {
display: inline-flex;
padding: 0;
justify-content: center;
align-items: center;
}

#pun-navlinks a {
    color: var(--pun);
    padding: 0 0 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pun-navlinks a span {
    letter-spacing: 0;
    line-height: 1;
    font-family: var(--font);
    font-size: 14px;
    text-transform: lowercase;
    font-weight: 500;
}
#pun-navlinks li#navadmin a span {
font-size: 0;
}
#pun-navlinks li#navadmin a span:before {
content: "админка";
font-size: 15px;
}

#pun-navlinks a:hover, #pun-navlinks #navpm a:has(~span.num_msg:hover) {
    color: var(--hover);
}

#pun-navlinks #navpm {
position: relative;
}

span.num_msg {
    position: relative !important;
    margin-top: -2px !important;
    margin-left: 4px !important;
    font-size: 8px !important;
    padding: 3px 5px !important;
    box-sizing: border-box !important;
    border-radius: 5px !important;
    height: 100% !important;
    width: auto !important;
    min-width: unset !important;
    cursor: pointer !important;
    font-family: var(--font) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-weight: 500 !important;
    line-height: 110% !important;
    letter-spacing: 0 !important;
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
    color: var(--button) !important;
    background: var(--button-text) !important;
}

#pun-navlinks #navpm a:hover~span.num_msg, span.num_msg:hover {
    background: var(--hover) !important;
    color: var(--hover-text) !important;
}

span.num_msg:before {
content: none !important;
}

/*--- Юзер меню ---*/
#pun-ulinks {
    width: 100%;
    position: absolute;
    top: -36px;
    left: 0;
    width: var(--pun-width);
}

#pun-ulinks .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 16px;
    text-transform: lowercase;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .4px;
    margin: 10px auto 0;
    padding: 0;
    box-sizing: border-box;
}

#pun-ulinks li {
display: inline;
padding: 0;
}

#pun-ulinks a {
    color: var(--text);
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    border-radius: 0;
    padding: 0;
    font-weight: 500;
}

#pun-ulinks a:hover {
color: var(--extra1);
}

/*--- Бабл уведомлений ---*/
#navpm .unreads {
background: var(--hover) !important;
color: var(--hover-text) !important;
top: 0 !important;
right: 0 !important;
font-weight: 400 !important;
font-size: 12px !important;
font-family: var(--font) !important;
line-height: 1 !important;
box-sizing: border-box !important;
padding: 2px 4px 2px !important;
letter-spacing: 0 !important;
position: relative !important;
min-width: auto !important;
margin-left: 2px !important;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
height: auto !important;
box-shadow: none !important;
border-radius: 4px !important;
}
.bubble {
    background: var(--link2)!important;
    border: 0 none!important;
    border-radius: 4px !important;
    color: #fff !important;
    font-family: inherit!important;
    font-size: 7px!important;
    min-width: unset !important;
    padding: 1px 3px 1px !important;
    position: relative !important;
    right: unset !important;
    text-align: center!important;
    top: unset !important;
    margin-left: 2px!important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

.bubble:before,
#notify-link .unreads:before,
#navpm .unreads:before,
.bubble:after,
#notify-link .unreads:after,
#navpm .unreads:after {
content: none !important;
}

#notify-link .unreads {
background: transparent !important;
color: unset !important;
top: 0 !important;
right: 0 !important;
font-weight: 400 !important;
font-size: 9px !important;
font-family: var(--font) !important;
line-height: 1 !important;
box-sizing: border-box !important;
padding: 0 !important;
letter-spacing: 0 !important;
position: relative !important;
min-width: auto !important;
margin-left: 2px !important;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
height: auto !important;
box-shadow: none !important;
border-radius: 0 !important;
}

#notify-link .unreads:before {
content: "(" !important;
}

#notify-link .unreads:after {
content: ")" !important;
}

#notify-link .unreads strong {
font-weight: 400 !important;
}

/*--- Приветствие ---*/
#pun-status {
position: relative;
width: 100%;
text-transform: lowercase;
font-size: 10px;
letter-spacing: .2px;
font-weight: 400;
color: var(--text-pale);
margin: 30px 0 30px;
}

#pun-status .item2 {
    margin-right: auto;
}

#pun-status .container {
display: flex;
justify-content: flex-end;
gap: 3px;
}

#pun-status p span.item3 {
display: block !important;
}

#pun-status a {
color: var(--text-pale);
}

#pun-status a:hover {
color: var(--hover);
}

#pun-status strong {
font-weight: 400;
}

.status_userava {
position: absolute;
top: -175px;
left: 25px;
width: 80px;
height: 80px;
}

.status_userava>img {
width: 80px;
height: 80px;
object-fit: cover;
position: absolute;
object-position: center;
transform: rotate(-5deg);
box-shadow: 0 0 0 2px #e3e3e3, -1px 1px 0 2px rgba(0, 0, 0, .3);
filter: saturate(0);
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

.status_userava:hover img {
opacity: .6;
}

.status_userava:before {
content: "";
background: #98a4b4;
display: block;
position: absolute;
z-index: 1;
width: 80px;
height: 80px;
mix-blend-mode: overlay;
transform: rotate(-5deg);
}

.status_userava:after {
content: "";
display: block;
position: absolute;
z-index: 2;
width: 126px;
height: 67px;
background: url(https://forumstatic.ru/files/001a/16/90/74106.png);
bottom: -11px;
left: -15px;
}

/*--- Объявление ---*/
#pun-announcement {
    display: block;
    position: absolute!important;
    left: 0px;
    height: fit-content;
    width: 100%;
    top: var(--header-height);
}

#pun-announcement .container .html-box {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    overflow-x: auto;
    box-sizing: border-box;
    padding: 0 20px 6px;
}

#pun-announcement .container .html-box::-webkit-scrollbar, .post-content *::-webkit-scrollbar {
width: 2px;
height: 1px;
}

#pun-announcement .container .html-box::-webkit-scrollbar-thumb {
background-color: var(--pun);
}

#pun-announcement .container .html-box::-webkit-scrollbar-track,
#pun-announcement .container .html-box::-webkit-scrollbar-corner {
background: transparent;
}

#pun-announcement .container .html-box a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    height: 24px;
    text-align: left;
    padding: 4px 10px 4px 4px;
    margin: 0;
    flex-shrink: 0;
    text-transform: lowercase;
    border-radius: 10px;
    flex-direction: row;
    line-height: 1;
    width: fit-content;
    background: var(--extra1);
    color: var(--extra1-text);
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
}

#pun-announcement .container .html-box a:hover {
    background: var(--hover);
    color: var(--hover-text);
}

#pun-announcement .container .html-box a b {
    height: 100%;
    width: auto;
    font-weight: 400;
    flex-shrink: 0;
    margin: 0 5px 0 0;
    border-radius: 7px;
    padding: 3px 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    font-size: 8px;
    letter-spacing: 0.02em;
    line-height: 110%;
    background: var(--button-text);
    color: var(--pun);
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
}

#pun-announcement .container .html-box a:hover b {
    background: var(--pun);
    color: var(--hover-text);
}

#pun-announcement .container .html-box a span {
    display: inline;
    font-size: 10px;
    text-transform: lowercase;
    line-height: 100%;
    align-content: center;
    font-weight: 500;
    padding-bottom: 2px;
}

#pun-announcement .container .html-box a.dailies {
position: absolute;
top: -180px;
left: -45px;
display: block;
width: 78px;
height: 67px;
border: 0;
background: url(https://forumstatic.ru/files/001a/16/90/61772.png);
border-radius: 0;
padding: 0;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

#pun-announcement .container .html-box a.dailies:hover {
opacity: .6;
}

/*--- Хлебные крошки ---*/
#pun-crumbs1,
#pun-crumbs2 {
text-align: center;
display: block;
width: 100%;
text-transform: lowercase;
color: var(--text);
font-weight: 400;
font-size: 12px;
}

#pun-crumbs1 {
margin: 12px 0;
}

#pun-crumbs2 {
margin: 16px 0 0;
}

#pun-crumbs1 a,
#pun-crumbs2 a {
color: var(--text-pale);
}

#pun-crumbs1 a:hover,
#pun-crumbs2 a:hover {
color: var(--extra1-text);
}

#pun-crumbs1 em,
#pun-crumbs2 em {
display: none;
}

#pun-crumbs1 a:nth-of-type(odd):after, #pun-crumbs2 a:nth-of-type(odd):after {
    display: inline-block;
    margin: 0 3px 2px 5px;
    font-size: 9px;
    content: "\f005";
    font-family: var(--fa);
    font-weight: 900;
    color: var(--link1);
    line-height: 1;
    vertical-align: middle;
    opacity: .75;
}

#pun-crumbs1 a:nth-of-type(even):after, #pun-crumbs2 a:nth-of-type(even):after {
    display: inline-block;
    margin: 0 3px 2px 5px;
    font-size: 9px;
    content: "\f005";
    font-family: var(--fa);
    font-weight: 900;
    color: var(--link1);
    line-height: 1;
    vertical-align: middle;
    opacity: .75;
}

h1 {
font-size: 0;
}

h2 {
font-size: 12px;
font-weight: 400;
text-transform: lowercase;
line-height: 150%;
margin-top: 20px;
}

h2 #reserve_post {
margin: 10px auto 30px;
font-weight: 600;
cursor: pointer;
}

h3 {
font-size: 12px;
font-weight: 400;
text-transform: lowercase;
}

label {
text-transform: lowercase;
}

strong {
font-weight: 600;
}

/*--- Категории ---*/
.category {
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
margin-bottom: 10px;
min-height: 1px;
}

.category:nth-of-type(1) {
    margin-top: -20px;
}

.category h2 {
    background-size: auto;
    width: calc(var(--pun-width) - var(--pun-padding)*4 - 2px);
    height: 57px;
    border-radius: 0;
    margin: 0 0 -14px;
    display: block;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.category:nth-of-type(1) h2 {
background-image: var(--category1-img);
}
.category:nth-of-type(2) h2 {
background-image: var(--category2-img);
}
.category:nth-of-type(3) h2 {
background-image: var(--category3-img);
}

.category h2 span {
display: block;
cursor: default;
padding: 0;
font-size: 0;
}

.category .container {
    box-sizing: border-box;
    background: var(--pun-container);
    padding: 20px 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
}

/*--- Статистика ---*/
#pun-stats {
margin: 20px 0 0;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
border-radius: 10px;
}

#pun-stats h2 {
display: none;
font-size: 0;
}

#pun-stats .statscon {
box-sizing: border-box;
padding: 0;
}

#pun-stats .container {
    font-size: 12px;
    text-transform: lowercase;
    font-weight: 400;
    letter-spacing: .1px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    border-radius: 0;
    gap: 10px;
}

#onlinelist {
text-align: justify;
width: 100%;
margin: 0 0 0;
}

#pun-stats strong {
font-weight: normal;
}
.stats-row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
}
#pun-stats .onlinelist {
    padding: 0 0 0;
    box-sizing: border-box;
}
#pun-stats .users_24h {
    padding: 0 0 20px;
    box-sizing: border-box;
}

#pun-stats .item1, #pun-stats .item2, #pun-stats .item3, #pun-stats .item4 {
    cursor: default;
    box-sizing: border-box;
    padding: 7px 10px 8px;
    display: block;
    text-align: center;
    letter-spacing: .3px;
    font-size: 10px;
    font-weight: 400;
    width: 100%;
    height: auto;
    align-content: center;
    background: var(--pun-container);
    color: var(--link2);
    border: 1px solid var(--border);
    border-radius: 20px;
}

#pun-stats .item4 a {
color: var(--link2);
}

#pun-stats .item4 a:hover {
color: var(--link1);
}

#pun-stats .item1 span,
#pun-stats .item2 span,
#pun-stats .item3 span,
#pun-stats .item4 span {
font-size: 0 !important;
display: none;
}

#pun-stats .item1:before {
content: "чашек: ";
}

#pun-stats .item2:before {
content: "зёрен: ";
}

#pun-stats .item3:before {
content: "посетителей: ";
}

#pun-stats .item4:before {
content: "новый заказ: ";
}

#pun-stats .item1 strong,
#pun-stats .item2 strong,
#pun-stats .item3 strong,
#pun-stats .item4 strong {
font-weight: 400;
}

#pun-stats .onlinelist, #pun-stats .users_24h {
width: 100%;
}

#pun-stats .onlinelist div,
#pun-stats .users_24h div {
line-height: 150%;
font-size: 9px;
text-transform: lowercase;
font-weight: 500;
letter-spacing: 0;
}

#pun-stats .onlinelist div span,
#pun-stats .users_24h div span {
display: block;
font-size: 12px;
text-transform: lowercase;
margin: 3px 0 0;
line-height: 140%;
font-weight: 400;
}

#pun-stats .onlinelist div a,
#pun-stats .users_24h div a {
color: var(--text);
}

#pun-stats .onlinelist div span a,
#pun-stats .users_24h div span a {
color: var(--text-pale);
}

#pun-stats .onlinelist div span a:hover,
#pun-stats .users_24h div span a:hover {
color: var(--link2);
}

#pun-stats .onlinelist div span a:after,
#pun-stats .users_24h div span a:after {
content: none;
}

#statistic-other {
display: flex;
justify-content: space-between;
align-items: center;
}

#onlinelist.statistics {
display: none;
}

#statistic-other span {
padding-right: 0 !important;
}

#statistic-other a {
color: var(--text-pale);
}

/*--- Футер ---*/

#pun-about {
white-space: nowrap;
position: absolute;
left: calc(50% - 240px/2);
bottom: -20px;
width: 240px;
height: 10px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.8px;
font-size: 6px;
font-weight: 400;
}

#pun-about, #pun-about a {
color: var(--text);
}

/*--- Кнопки вверх/вниз ---*/
.go-up,
.go-down {
opacity: 1;
position: fixed;
z-index: 1000;
cursor: pointer;
opacity: .9;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

.go-up {
    left: calc(50% + var(--pun-width) / 2 + 20px);
    top: calc(50% - 40px);
    background: var(--go-up-img) no-repeat center center;
    width: 92px;
    height: 50px;
}

.go-down {
left: calc(50% + var(--pun-width) / 2 + 25px);
top: calc(50% + 40px);
background: var(--go-down-img) no-repeat center center;
    width: 92px;
    height: 50px;
}

.go-up:hover {
transform: translateY(-4px);
}

.go-down:hover {
transform: translateY(4px);
}

/*-------------- ТАБЛИЦЫ --------------*/

/*--- База таблиц ---*/
table {
table-layout: fixed;
width: 100%;
}

td {
padding: 0;
}

th {
padding: 0;
font-weight: 400;
text-transform: lowercase;
font-size: 9px;
letter-spacing: .3px;
color: var(--text-pale);
}

/*--- Таблица на главной ---*/
#pun-index #pun-main tbody tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 24px;
    border-radius: 0;
    position: relative;
    min-height: 42px;
}

#pun-index #pun-main tbody tr:last-of-type {
    margin-bottom: 0;
}

#pun-index #pun-main .tcl {
width: 65%;
}

.tclcon h3 {
    font-size: 19px;
    font-family: var(--font);
    text-transform: lowercase;
    line-height: 1;
    letter-spacing: 0;
    display: inline-block;
    padding: 0;
    font-weight: 700;
    width: 100%;
}

.tclcon h3 a {
color: var(--link1);
}

.tclcon h3 a:hover {
color: var(--extra1);
}

.tclcon-links {
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
height: auto;
flex-wrap: wrap;
line-height: 1;
box-sizing: border-box;
padding: 0;
margin: 0;
text-transform: lowercase;
font-size: 10px;
letter-spacing: .3px;
gap: 8px 6px;
line-height: 1;
}

.tclcon-links a {
    color: var(--link2);
    background: var(--border);
    box-sizing: border-box;
    padding: 4px 11px 6px;
    border-radius: 20px;
    font-weight: 500 !important;
    line-height: 110%;
}

.tclcon-links a:hover {
    color: var(--hover-text);
    background: var(--hover);
}

.tclcon-links p {
    color: var(--text-pale);
    font-size: 9px;
    font-weight: 400;
    line-height: 130% !important;
    text-align: justify;
    text-transform: lowercase;
    display: block;
    width: 100%;
}

.tclcon-links p b {
    font-weight: 400;
    color: var(--text);
}

.tclcon-links p b:before {
content: "(";
}

.tclcon-links p b:after {
content: ")";
}

#pun-index .icon {
display: none;
}

#pun-index .icon.inew~.tclcon a {
font-weight: inherit;
}
#pun-index .icon.inew {
    background: #d7a1b4;
    font-weight: normal;
    opacity: 1;
    width: fit-content;
    flex-shrink: 0;
    font-size: 10px;
    padding: 1px 6px 3px;
    height: fit-content;
    box-sizing: border-box;
    line-height: 110%;
    border-radius: 5px;
    box-shadow: -1px 1px 1px 0 rgba(0, 0, 0, .2);
    margin: 0 0 0 -24px;
    display: block;
    position: absolute;
    right: -20px;
    top: 0;
    z-index: 200;
}
#pun-index .icon.inew:before {
    content: "new" !important;
    color: var(--pun);
    font-weight: 400;
    letter-spacing: 0.01em;
}

#pun-index tr.inew {
background-color: transparent !important;
}

#pun-index #pun-main .tcr {
width: 35%;
height: 100%;
display: flex;
justify-content: center;
align-items: flex-end;
flex-direction: column;
flex-wrap: nowrap;
}

#pun-index #pun-main .tcr .lastpost-link {
text-transform: lowercase;
font-size: 12px;
font-weight: 600;
position: absolute;
right: 40px;
top: 0;
display: block;
margin: 7px 0 0;
letter-spacing: .1px;
line-height: 110%;
}

#pun-index #pun-main .tcr a.lastpost-link {
color: var(--link2);
}

#pun-index #pun-main .tcr a.lastpost-link:hover {
color: var(--text-pale);
}

#pun-index #pun-main .tcr .lastpost {
text-transform: lowercase;
font-size: 10px;
letter-spacing: .2px;
font-weight: 400;
color: var(--text-pale);
position: absolute;
right: 40px;
top: 24px;
display: block;
margin: 0 0 0;
padding-bottom: 1px;
}

#pun-index #pun-main .tcr .lastpost-link,
#pun-index #pun-main .tcr .lastpost {
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 230px;
flex-shrink: 0;
}

#pun-main #subforums {
padding: 8px 0 8px 8px;
margin-bottom: 4px;
}

#pun-index .isub .tcl {
padding-left: 3em;
}

/*--- Таблица в подфоруме ---*/
#pun-viewforum table, #pun-modviewforum table {
border-spacing: 0 8px;
text-transform: lowercase;
}

#pun-viewforum thead, #pun-modviewforum thead {
    display: none;
}

#pun-viewforum tbody, #pun-modviewforum tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#pun-viewforum .forum, #pun-modviewforum .forum {
margin: 16px 0;
}

#pun-viewforum table thead tr, #pun-modviewforum table thead tr {
box-shadow: none;
}

#pun-viewforum .tcl, #pun-modviewforum .tcl {
width:100%;
text-align: left;
}

#pun-viewforum .tc2,
#pun-viewforum .tc3,
#pun-modviewforum .tc2,
#pun-modviewforum .tc3 {
text-align: center;
}

#pun-viewforum .tc3, #pun-modviewforum .tc3 {
display: none!important;
}

#pun-viewforum .tcr, #pun-modviewforum .tcr {
    width: 30%;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

tr.inew .tcl strong a, tr.inew .tcr a {
font-weight: 700 !important;
}

#pun-index tr.inew .tcr a {
font-weight: 600 !important;
}

#pun-viewforum .tcl .intd, #pun-modviewforum .tcl .intd {
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: row;
flex-wrap: nowrap;
gap: 6px;
}

#pun-index .user-avatar {
background-color: var(--pun);
font-weight: normal;
float: none;
width: 30px !important;
height: 30px !important;
border-radius: 8px;
display: block;
margin: 0;
right: 0;
top: 6px;
position: absolute;
}

#pun-index .user-avatar .avatar-image {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    display: block;
    background-position: center;
    background-size: cover;
    background-blend-mode: luminosity;
    background-color: var(--avatar);
    opacity: .5;
    border-radius: 8px;
    float: none;
    filter: none;
    mix-blend-mode: normal;
}

.punbb .multipage .user-avatar {
    display: none!important;
}

/*--- Таблица в активных, поиске ---*/
#pun-searchtopics table {
border-spacing: 0 8px;
text-transform: lowercase;
}

#pun-searchtopics .container tbody, #pun-viewforum .container tbody, #pun-modviewforum .container tbody,
#pun-messages .container tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#pun-searchtopics .container thead,
#pun-viewforum .container thead,
#pun-modviewforum .container thead {
    display: none;
}

#pun-searchtopics .container tbody {
font-size: 12px;
}

#title-logo-table {
border-spacing: 0 !important;
}

#pun-searchtopics .forum {
margin: 16px 0;
}

#pun-searchtopics .container tbody tr,
#pun-viewforum .container tbody tr,
#pun-modviewforum .container tbody tr,
#pun-messages .container tbody.hasicon tr {
    border-radius: 10px;
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
    display: flex;
    border: 1px solid var(--border);
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
        box-sizing: border-box
}

#pun-messages .container tbody.hasicon tr {
    padding: 9px 16px 10px;
}

#pun-searchtopics .container tbody tr.inew, #pun-viewforum .container tbody tr.inew, #pun-modviewforum .container tbody tr.inew, #pun-messages .container tbody.hasicon tr.inew {
    border-color: var(--hover);
    border-width: 2px;
}

#pun-searchtopics .container td:last-of-type, #pun-viewforum .container td:last-of-type, #pun-modviewforum .container td:last-of-type {
    display: flex;
    flex-direction: row-reverse;
        align-items: center;
    gap: 6px;
    white-space: nowrap;
}
td.td-divider {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-weight: 600;
    border-radius: 0 !important;
    color: var(--body);
    padding: 0 !important;
    justify-content: flex-end;
    font-size: 10px;
}
tr.tr-divider.st {
    margin-top: 10px;
}
tr.tr-divider {
    border: 0 !important;
    padding: 0 !important;
}
#pun-searchtopics .container tbody tr td:not(:first-of-type,:last-of-type), #pun-viewforum .container tbody tr td:not(:first-of-type,:last-of-type), #pun-modviewforum .container tbody tr td:not(:first-of-type,:last-of-type) {
border-right: 0;
border-left: 0;
}

/*#pun-searchtopics .container tbody tr td:first-of-type, #pun-viewforum .container tbody tr td:first-of-type, #pun-modviewforum .container tbody tr td:first-of-type {
border-right: 0;
}

#pun-searchtopics .container tbody tr td:last-of-type, #pun-viewforum .container tbody tr td:last-of-type, #pun-modviewforum .container tbody tr td:last-of-type {
border-left: 0;
}*/

#pun-searchtopics .container thead th,
#pun-viewforum .container thead th,
#pun-modviewforum .container thead th {
padding-bottom: 4px !important;
}

#pun-searchtopics .container .tcl {
width: 100%;
text-align: left;
}

#pun-searchtopics .container .tc2,
#pun-viewforum .container .tc2,
#pun-modviewforum .container .tc2 {
    text-align: center;
    white-space: nowrap;
    width: 12%;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: middle;
    align-content: center;
        flex-shrink: 0;
}
#pun-searchtopics .container .tc3,
#pun-viewforum .container .tc3,
#pun-modviewforum .container .tc3 {
text-align: center;
vertical-align: middle;
width: 10%;
}

#pun-searchtopics .container .tcr {
width: 28%;
text-align: right;
    flex-shrink: 0;
}

#pun-searchtopics .tcl .intd,
#pun-viewforum .tcl .intd,
#pun-modviewforum .tcl .intd {
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: row;
flex-wrap: nowrap;
gap: 8px;
}

#pun-searchtopics .tcl strong,
#pun-viewforum .tcl strong,
#pun-modviewforum .tcl strong {
font-weight: 500;
}

#pun-searchtopics .tcl a, #pun-viewforum .tcl a, 
#pun-searchtopics .tcr a, #pun-viewforum .tcr a, 
#pun-modviewforum .tcr a, #pun-modviewforum .tcl a {
color: var(--text);
}

#pun-searchtopics .tcl a, #pun-viewforum .tcl a, 
#pun-searchtopics .tcr a, #pun-viewforum .tcr a, 
#pun-modviewforum .tcr a, #pun-modviewforum .tcl a {
font-weight: 500;
}
#pun-searchtopics .tcr a, #pun-viewforum .tcr a, #pun-modviewforum .tcr a {
margin: 0 0 0 0;
}

#pun-searchtopics .tcl a:hover,
#pun-searchtopics .tcl strong a:hover,
#pun-searchtopics .tcr a:hover,
#pun-searchtopics .tc2 a:hover,
#pun-viewforum .tcl a:hover,
#pun-viewforum .tcr a:hover,
#pun-viewforum .tc2 a:hover,
#pun-modviewforum .tcl a:hover,
#pun-modviewforum .tcr a:hover,
#pun-modviewforum .tc2 a:hover {
color: var(--hover);
}

#pun-searchtopics .tc2 a,
#pun-viewforum .tc2 a,
#pun-modviewforum .tc2 a {
color: var(--text-pale);
}
#pun-searchtopics .container tbody td .byuser,
#pun-viewforum .container tbody td .byuser,
#pun-modviewforum .container tbody td .byuser {
font-size: 0;
}
#pun-searchtopics .container tbody td .byuser-username,
#pun-viewforum .container tbody td .byuser-username,
#pun-modviewforum .container tbody td .byuser-username {
font-size: 12px;
margin-left: 6px;
}
#pun-searchtopics .container tbody td.tcl .byuser-username,
#pun-viewforum .container tbody td.tcl .byuser-username,
#pun-modviewforum .container tbody td.tcl .byuser-username {
margin-right: 6px;
}

/*--- Таблицы общее ---*/
.tclcon {
line-height: 160%;
}
#pun-searchtopics .tclcon,
#pun-viewforum .tclcon,
#pun-modviewforum .tclcon {
font-size: 0;
}
#pun-searchtopics .tclcon *,
#pun-viewforum .tclcon *,
#pun-modviewforum .tclcon * {
font-size: 12px;
}

#pun-index .tclcon {
line-height: 1;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-items: flex-start;
justify-content: flex-start;
gap: 4px;
}

#pun-index .tclcon>br {
display: none;
}

.byuser {
color: var(--text-pale);
}

strong .byuser {
font-weight: 400;
}

.tclcon .pagestext, .tclcon .newtext {
box-sizing: border-box;
line-height: 1;
display: inline-flex;
justify-content: center;
align-items: center;
font-size: 0!important;
font-weight: 600;
text-transform: uppercase;
vertical-align: baseline;
margin: 0 8px 0 0;
}
.tclcon .newtext, .tclcon .newtext a, .tclcon .newtext span {
font-size: 0 !important;
}

.tclcon .pagestext:before, .tclcon .newtext:before {
content: "(";
font-size: 12px!important;
font-weight: 400;
}

.tclcon .pagestext:after, .tclcon .newtext:after {
content: ")";
font-size: 12px!important;
font-weight: 400;
}

.tclcon .pagestext a, .tclcon .newtext a {
padding: 1px 2px;
display: inline-flex;
justify-content: center;
align-items: center;
font-weight: 400;
letter-spacing: 0;
}

.tclcon .pagestext a:hover, .tclcon .newtext a:hover {
background: var(--extra1-text);
color: var(--extra1) !important;
border-radius: 2px;
}

.tclcon .pagestext a, .tclcon .pagestext .ellipsis, .tclcon .newtext .ellipsis {
font-size: 12px!important;
font-weight: 400 !important;
line-height: 1 !important;
}

.tclcon .newtext a {
    font-size: 12px !important;
    text-transform: lowercase;
    font-weight: 400 !important;
}

.multipage a:hover {
color: var(--hover);
}

/*--- Иконка новой, старой, важной тем в таблицах ---*/
.icon {
height: 8px;
width: 8px;
margin: 0;
background: var(--border);
opacity: 1;
border-radius: 10px;
flex-shrink: 0;
}

tr.icon {
height: inherit;
width: inherit;
margin: inherit;
background: inherit;
box-shadow: inherit;
opacity: inherit;
border-radius: inherit;
}

.icon-new, #pun-messages div.icon.inew {
    background: var(--link1);
    font-weight: normal;
    opacity: 1;
    width: fit-content;
    flex-shrink: 0;
    font-size: 10px;
    padding: 1px 6px 3px;
    height: fit-content;
    box-sizing: border-box;
    line-height: 110%;
    border-radius: 5px;
    box-shadow: -1px 1px 1px 0 rgba(0, 0, 0, .2);
    margin: 0 0 0 -24px;
}
.icon-new:before, #pun-messages div.icon.inew:before {
    content: "new";
    color: var(--pun-container);
    font-weight: 500;
    letter-spacing: 0.01em;
}

#pun-index .icon-new,
tr.icon-new {
background: unset !important;
box-shadow: unset !important;
font-weight: unset !important;
opacity: unset !important;
width: unset !important;
}

.isticky .icon {
background: var(--link1) !important;
box-shadow: none !important;
opacity: .75;
}

div.inew~.tclcon,
.icon.inew~.tclcon a {
font-weight: 600;
}

div.inew~#pun-index .tclcon,
.icon.inew~#pun-index .tclcon a {
font-weight: inherit;
}

/*--- Иконка автора поста в таблицах ---*/
.user-avatar {
float: right !important;
width: 16px !important;
height: 16px !important;
margin: 0 0 0 8px !important;
background: var(--avatar);
border-radius: 10px;
position: relative;
}

.user-avatar .avatar-image {
border-radius: 20px;
width: 16px !important;
height: 16px !important;
background-position: center center !important;
background-size: cover !important;
background-repeat: no-repeat !important;
float: right;
mix-blend-mode: luminosity;
opacity: .4;
}

.user-avatar .isonline {
width: 4px !important;
height: 4px !important;
border-radius: 20px !important;
display: block;
position: absolute;
top: 0 !important;
right: 0 !important;
background: var(--link1) !important;
z-index: 10;
outline: none;
animation: blinkColor 1s ease-in-out infinite;
-moz-animation: blinkColor 1s ease-in-out infinite;
-webkit-animation: blinkColor 1s ease-in-out infinite;
}

.user-avatar a {
padding: 0;
background: none transparent;
}

.user-avatar a::after {
content: none;
}

/*--- Страница дебага ---*/
#pun-debug table .tcl {
width: 15%;
white-space: normal;
}

#pun-debug table tr {
vertical-align: text-top;
}

#pun-debug .tcr {
width: 90%;
white-space: normal;
}

/*--- Страница репутации/позитива ---*/
#pun-respect table,
#pun-positive table {
border-spacing: 0 16px;
text-align: center;
}

#pun-respect tbody,
#pun-positive tbody {
font-size: 12px;
}

#pun-respect #pun-main>.section, #pun-positive #pun-main>.section {
margin: 16px 0;
border-radius: 10px;
background: var(--pun-container);
padding: 0 20px;
border: 1px solid var(--border);
}

#pun-respect table tr,
#pun-positive table tr {
vertical-align: text-top;
}

#pun-respect table .tcl,
#pun-positive table .tcl {
text-align: left !important;
width: 20% !important;
text-transform: lowercase;
}

#pun-respect table .tc2,
#pun-positive table .tc2 {
width: 5% !important;
text-transform: lowercase;
}

#pun-respect table .tc3,
#pun-positive table .tc3 {
width: 25% !important;
text-transform: lowercase;
word-break: break-word;
}

#pun-respect table td.tc3.tc4,
#pun-positive table td.tc3.tc4 {
text-transform: none;
position: relative;
padding: 0 12px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

#pun-respect table .tcr,
#pun-positive table .tcr {
width: 25% !important;
text-align: right !important;
text-transform: lowercase;
padding-left: 12px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

#pun-respect table a,
#pun-positive table a {
color: var(--text);
}

#pun-respect table a:hover,
#pun-positive table a:hover {
color: var(--hover-text);
background: var(--hover);
}

.removeReputation {
width: 12px !important;
height: 12px !important;
display: inline-block !important;
cursor: pointer !important;
position: absolute !important;
top: 0 !important;
right: 0 !important;
border-radius: 10px !important;
background: var(--button) !important;
color: var(--button-text) !important;
font-size: 0 !important;
letter-spacing: 0 !important;
line-height: 1 !important;
padding: 1px 1px 0 0px !important;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

.removeReputation:before {
content: "\00D7";
font-family: var(--font);
font-size: 10px !important;
padding-left: 2px;
}

/*--- Поиск по постам пользователя + создание и предпросмотр поста ---*/
#pun-searchposts .post-author ul,
#pun-multimove .post-author ul,
#pun-multidelete .post-author ul,
#pun-multimegre .post-author ul,
#pun-post .post-author p {
padding: 10px 16px 10px;
margin: 0;
}

#pun-searchposts .post-author li,
#pun-multimove .post-author li,
#pun-multidelete .post-author li,
#pun-multimegre .post-author li {
margin: 0;
}

#pun-searchposts .post-author,
#pun-multimove .post-author,
#pun-multidelete .post-author,
#pun-multimegre .post-author,
#pun-post .pa-author {
height: auto;
padding: 0;
margin: -27px 0 0 0;
}

#pun-searchposts .post-author strong,
#pun-multimove .post-author strong,
#pun-multidelete .post-author strong,
#pun-multimegre .post-author strong,
#pun-post .pa-author strong {
font-weight: 700 !important;
line-height: 150%;
}

#pun-post .fs-box,
#pun-edit .fs-box {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
}

#pun-post .fs-box p.inputfield.required.longinput:first-of-type,
#pun-edit .fs-box p.inputfield.required.longinput:first-of-type {
order: 0;
}

#pun-post .fs-box p.inputfield.required.longinput:last-of-type,
#pun-edit .fs-box p.inputfield.required.longinput:last-of-type {
order: inherit;
}

#pun-post .fs-box #form-buttons,
#pun-edit .fs-box #form-buttons {
order: 1;
margin: 6px 0;
}

#pun-post .fs-box #tags,
#pun-edit .fs-box #tags {
order: 2;
}

#pun-post .fs-box .areafield,
#pun-edit .fs-box .areafield {
order: 3;
}

#pun-edit .fs-box .areafield:first-child {
order: inherit;
margin-bottom: 10px;
}

#pun-post .fs-box p.checkfield,
#pun-edit .fs-box p.checkfield {
order: 4;
}

#pun-post .fs-box p.inputfield.required.longinput:last-of-type,
#pun-edit .fs-box p.inputfield.required.longinput:last-of-type {
order: 5;
}

#pun-edit p.areafield.required .input a {
text-transform: lowercase;
background: var(--button);
color: var(--button-text);
padding: 4px 8px;
border-radius: 10px;
line-height: 1;
display: block;
float: right;
}

#post-preview .post-content {
box-sizing: border-box;
}

.history_posts_list {
margin: 0 0 20px;
}

.history_posts_list p {
text-transform: lowercase;
}

.history_posts_list table {
text-transform: lowercase;
border-spacing: 8px 8px;
box-shadow: inset 0 0 0 1px var(--border);
border-radius: 10px;
margin: 0 0 8px;
}

#history_selected_version {
text-align: center;
margin: 8px 0 0;
}

#history_selected_version textarea {
border-radius: 10px;
}

#history_selected_diff {
line-height: 150%;
background: var(--textarea);
padding: 8px 12px;
box-sizing: border-box;
border-radius: 10px;
box-shadow: inset 0 0 0 1px var(--border);
margin: 8px 0 0;
}

#pun-post .topic {
margin-top: 0;
}

#pun-post .topic h2 span {
font-size: 0;
height: 20px;
display: block;
}

/*--- Участники ---*/
#pun-userlist .usertable {
margin: 16px 0 20px;
padding: 0;
}

#pun-userlist .usertable .tc2.user_title, #pun-userlist .usertable .tc2.title {
    display: none;
}

#pun-userlist tbody {
font-size: 12px;
}

#pun-userlist .usertable table {
text-transform: lowercase;
text-align: center;
border-spacing: 0 8px;
}

#pun-userlist .usertable table tbody tr {
border-radius: 10px;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

#pun-userlist .usertable table thead th {
padding-bottom: 4px !important;
}

#pun-userlist .usertable table tbody td {
padding: 8px 4px 10px;
border: 1px solid var(--border);
background: var(--pun-container);
}

#pun-userlist .usertable table tbody td:not(:first-of-type,:last-of-type) {
border-right: 0;
border-left: 0;
}

#pun-userlist .usertable table tbody td:first-of-type {
border-radius: 10px 0 0 10px;
border-right: 0;
padding: 9px 4px 10px 14px;
}

#pun-userlist .usertable table tbody td:last-of-type {
border-radius: 0 10px 10px 0;
padding: 9px 14px 10px 4px;
border-left: 0;
}
#pun-userlist .usertable table tbody td:last-of-type:first-of-type {
border-radius: 10px;
border: 1px solid var(--border);
width: calc(var(--pun-width) - 30px*2);
margin: 0 auto !important;
display: block;
}

#pun-userlist .usertable .tcl.username {
font-family: var(--font);
text-align: left;
vertical-align: middle;
display: flex;
justify-content: flex-start;
align-items: center;
}

#pun-userlist .usertable .tcl.username .usersname {
flex-shrink: 0;
}

#pun-userlist .usertable .tcl.username a {
vertical-align: middle;
line-height: 16px;
font-weight: 400;
color: var(--text);
}

#pun-userlist .usertable .tcl.username a:hover {
color: var(--link1);
}

#pun-userlist .usertable .tcl.username .user-avatar {
    margin: 0 8px 0 0 !important;
    float: left !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    display: block !important;
    background: none;
}

#pun-userlist .usertable .tcl.username .user-avatar .avatar-image {
    width: 24px !important;
    height: 24px !important;
    border-radius: 20px !important;
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    mix-blend-mode: normal !important;
    opacity: .8;
}

#pun-userlist .usertable .tc3.last_visit {
text-align: right;
}

#pun-userlist .usertable .tc2 {
width: 30% !important;
}

#pun-userlist .usertable .tc3 {
width: 12% !important;
}

/*--- Личные сообщения ---*/
#pun-messages table {
border-spacing: 0 8px;
text-transform: lowercase;
}

#pun-messages thead {
    display: none;
}

#pun-messages tbody {
    font-size: 12px;
}

#pun-messages .tcl {
width: 100% !important;
text-align: left;
}

#pun-messages .tc2.pmtc22 {
width: 25% !important;
text-align: center;
flex-shrink: 0;
}

#pun-messages .tc3 {
width: 25% !important;
text-align: center;
flex-shrink: 0;
}

#pun-messages .tc2.pmtc24 {
width: 10% !important;
text-align: right;
flex-shrink: 0;
}

#pun-messages .tcl .intd {
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: row;
flex-wrap: nowrap;
gap: 8px;
}

#pun-messages .tclcon strong {
font-weight: normal;
}

#pun-messages .tcl a,
#pun-messages .tc2 a {
color: var(--text);
}

#pun-messages .tcl a:hover,
#pun-messages .tc2 a:hover {
color: var(--link1);
}

#pun-messages fieldset {
border: none;
margin: 0;
padding: 0;
box-shadow: none;
}

#pun-messages #messages fieldset {
padding: 0;
}

#pun-messages #profilenav h2:first-child {
margin: 0 0 4px;
}

#pun-messages #profilenav h2 {
margin: 20px 0 8px;
text-align: center;
color: var(--text-pale);
}

#pun-messages fieldset legend {
margin: 0 0 12px;
}

#pun-messages fieldset legend strong {
font-weight: 400;
}

#pun-messages #messages fieldset legend strong {
font-weight: inherit;
}

#pun-messages .post-author ul {
margin: 0;
}

#pun-messages .post-author .pa-author a:hover {
color: var(--hover);
}

#pun-messages .post-author ul .pa-title {
display: none !important;
}

#pun-messages .post-author .pa-avatar.item2 {
margin: 0;
}

#pun-messages #post-new .fs-box {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
}

#pun-messages #post-new .fs-box .inputfield.required {
order: 0;
}

#pun-messages #post-new .fs-box #form-buttons {
order: 1;
margin-top: 10px;
}

#pun-messages .fs-box {
margin-bottom: 20px;
}

#pun-messages .fs-box #form-buttons {
margin-top: 10px;
}

#pun-messages #post-new .fs-box #tags {
order: 2;
}

#pun-messages #post-new .fs-box .areafield {
order: 3;
}

#pun-messages .post {
margin: 8px 0 0;
}

#pun-messages .post .container {
width: 100%;
}

#pun-messages .post-links {
width: 100%;
padding-left: 0;
}

#pun-messages .linksb {
margin: auto auto auto calc(148px + var(--pun-padding) * 3);
width: calc(100% - 146px - var(--pun-padding) * 3);
}

#volume-set {
float: right;
text-transform: lowercase;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
}

#volSlider {
background: var(--border) !important;
height: 1px !important;
border-radius: 4px !important;
box-shadow: none !important;
border: none !important;
display: block !important;
float: right !important;
margin: 0 0 0 12px !important;
}

#volSlider .thumb {
background: var(--border) !important;
width: 14px !important;
height: 5px !important;
border-radius: 2px !important;
position: relative !important;
margin-bottom: 0 !important;
cursor: pointer !important;
display: inline-block !important;
top: -7px !important;
box-shadow: none !important;
}

#volSlider .before {
background: var(--border) !important;
height: 1px !important;
border-radius: 4px !important;
margin-top: 0 !important;
border: none !important;
}

.FNTslider {
position: absolute !important;
z-index: 1000;
background: var(--border) !important;
width: 140px !important;
height: 1px !important;
border-radius: 4px !important;
box-shadow: none !important;
border: none !important;
display: block !important;
float: right !important;
margin: 0 0 !important;
right: 100px;
}

#pun-messages .FNTslider {
right: 74px;
margin: -6px 0 0 !important;
}

.FNTslider .before {
background: var(--border) !important;
height: 1px !important;
border-radius: 4px !important;
margin-top: 0 !important;
border: none !important;
position: absolute;
}

.FNTslider .thumb {
background: var(--border) !important;
width: 14px !important;
height: 5px !important;
border-radius: 2px !important;
position: relative !important;
margin-bottom: 0 !important;
cursor: pointer !important;
top: -2px !important;
}

#pun-messages .postlink input.button {
padding: 0 12px;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
font-size: 12px;
font-weight: 400;
text-transform: lowercase;
line-height: 150%;
background: var(--button-text);
color: var(--button);
}

#pun-messages .postlink input.button:hover {
background: var(--hover);
color: var(--hover-text);
}

#notify-settings input[type="checkbox"] {
height: auto;
}

#pun-messages #notify-settings {
margin: 0 0 30px calc(140px + var(--pun-padding) * 4) !important;
}
#profile.formal.messages-container .post .container {
    padding: 0 !important;
    box-sizing: border-box;
}

/*--- Статистика форума ---*/
#pun-statistic table {
border-spacing: 0 10px;
text-transform: lowercase;
}

#pun-statistic tbody {
font-size: 12px;
}

#pun-statistic #pun-main>.section {
margin: 16px 0;
border-radius: 10px;
background: var(--pun-container);
box-shadow: inset 0 0 0 1px var(--border);
padding: 10px 20px;
}

#pun-statistic h1 {
text-transform: lowercase;
font-size: 1em;
font-weight: 600;
text-align: center;
margin: 4px 0 8px;
color: var(--text-pale);
}

#pun-statistic .tcl {
text-align: left;
}

#pun-statistic .tc2,
#pun-statistic .tc3 {
text-align: center;
}

#pun-statistic .tc3:last-of-type {
text-align: right;
}

/*--- Пользователи онлайн ---*/
#pun-online table {
border-spacing: 0 10px;
text-transform: lowercase;
}

#pun-online tbody {
font-size: 12px;
}

#pun-online #pun-main>.section {
margin: 16px 0;
border-radius: 10px;
background: var(--pun-container);
box-shadow: inset 0 0 0 1px var(--border);
padding: 10px 20px;
}

#pun-online .tcl {
width: 40%;
text-align: center;
}

#pun-online .tcl:first-of-type {
width: 30%;
text-align: left;
}

#pun-online .tc3 {
width: 30%;
text-align: right;
}

#pun-online .tcl a.registered-user {
font-weight: 500;
}

#pun-online .tcl.action strong {
font-weight: 500 !important;
}

#pun-online tbody a {
    color: var(--link2);
}

/*-------------- ПОДФОРУМ --------------*/

/*--- Пагинация, новая тема, опрос ---*/
.subscribelink a,
.postlink a {
color: var(--text-pale);
justify-content: center;
align-items: center;
display: inline-flex;
width: auto;
height: auto;
line-height: 1;
padding: 0;
}

.subscribelink a:hover,
.postlink a:hover {
color: var(--hover-text);
}

.linkst,
.linksb {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: auto;
text-transform: lowercase;
font-weight: 400;
padding: 0;
z-index: 2;
}

.linkst {
margin: 0 0 8px;
}

.linksb {
margin: 8px 0 0;
}

.linkst div,
.linksb div {
max-width: 400px;
}

.linkst .postlink.long,
.linksb .postlink.long {
width: auto;
}

.linksb .postlink {
display: none;
}

.postlink.long .new-topic {
height: 100%;
display: inline-block;
padding: 0;
margin-right: 12px;
}

.postlink.long .new-poll {
height: 100%;
display: inline-block;
}

.linkst .pagelink, .linksb .pagelink {
order: 0;
border-radius: 10px;
padding: 3px 3px 3px 2px;
color: var(--text);
height: auto;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
font-size: 0;
letter-spacing: 0 !important;
box-shadow: inset 0 0 0 1px var(--border);
gap: 1px;
}

.linkst noindex,
.linksb noindex {
order: 1;
}

.linkst .pagelink strong,
.linksb .pagelink strong,
.linkst .pagelink a,
.linksb .pagelink a {
display: inline-flex;
padding: 5px 6px 4px;
box-sizing: border-box;
height: auto;
justify-content: center;
align-items: center;
border-radius: 6px;
font-size: 12px;
margin: 0;
font-weight: 500;
min-width: 21px;
line-height: 1;
letter-spacing: 0;
}

.linkst .pagelink strong,
.linksb .pagelink strong {
color: var(--extra1-text);
background: var(--extra1);
cursor: default;
}

.linkst .pagelink a,
.linksb .pagelink a {
color: var(--text);
font-weight: 400;
}

.linkst .pagelink .ellipsis,
.linksb .pagelink .ellipsis {
font-size: 9px;
}

.linkst .pagelink a:hover,
.linksb .pagelink a:hover {
color: var(--hover-text);
background: var(--hover);
}

#pun-viewtopic .linksb .pagelink,
#pun-messages .linksb .pagelink {
float: left;
text-align: left;
}

#pun-viewtopic .postlink,
#pun-viewtopic .subscribelink,
#pun-messages .postlink {
float: right;
text-align: right;
}

#pun-viewtopic .linksb div {
margin-right: 10px;
}

#pun-viewtopic .linksb div:last-of-type {
margin-right: 0;
}

#pun-viewtopic .linksb div.pagelink,
#pun-viewtopic .linksb div.postlink {
margin-right: inherit;
}

/*--- Опросы ---*/
#poll-special table.poll1 {
width: auto;
}

#poll-special td {
border: 0;
}

#poll-special td {
text-align: left;
cursor: default;
}

#poll-special td.tac {
text-align: center;
}

#poll-special td.tar {
text-align: right;
}

/*--- Похожие темы ---*/
#similar-topics {
margin-top: 1em;
}

#similar-topics div.container {
padding-top: 1.1em;
}

#similar-topics td {
border: 0;
padding: 0;
}

#similar-topics td.st-tcl {
width: 60%;
}

#similar-topics td.st-tc2 {
width: 25%;
padding-right: 1em;
text-align: right;
}

#similar-topics td.st-tcr {
width: 15%;
padding-right: 1em;
text-align: right;
}

/*--- Пользователи в теме ---*/
#topic-users-in {
display: block;
width: 100%;
margin: 0;
padding: 0;
text-transform: lowercase;
font-size: 0;
}

#topic-users-in .container {
letter-spacing: 0;
}

#topic-users-in .container span {
font-weight: 400 !important;
color: var(--text-pale);
font-size: 12px;
}

#topic-users-in .container span:after {
content: ": ";
}

#topic-users-in .container a {
font-size: 12px;
font-weight: 400;
line-height: 150%;
letter-spacing: .1px;
}

#topic-users-in .container a:after {
content: ", ";
}

#topic-users-in .container a:last-child:after {
content: none;
}

/*--- Модерские кнопки и меню ---*/
#pun-multimove .modmenu .container,
#pun-multimegre .modmenu .container,
#pun-multidelete .modmenu .container {
display: flex;
position: relative;
flex-direction: row-reverse;
justify-content: flex-start;
align-items: center;
gap: 4px;
padding: 0 calc(var(--pun-padding) + 4px) 0 0;
}

#pun-multimove .modmenu .container strong,
#pun-multimegre .modmenu .container strong,
#pun-multidelete .modmenu .container strong {
display: none;
}

#pun-multimove .modmenu .container input.button,
#pun-multimegre .modmenu .container input.button,
#pun-multidelete .modmenu .container input.button {
margin: 0 12px 0 0;
}

#pun-multimove .modmenu .container strong,
#pun-multimegre .modmenu .container strong,
#pun-multidelete .modmenu .container strong {
display: none;
}

#pun-multimove .post-links li,
#pun-multidelete .post-links li,
#pun-multimegre .post-links li {
align-items: center;
gap: 4px;
text-transform: lowercase;
}

#topic-modmenu {
margin: 20px 0;
}

.modmenu .container {
margin: 20px 0;
text-transform: lowercase;
}

.modmenu .container strong a {
display: flex;
justify-content: center;
align-items: center;
width: max-content;
padding: 4px 10px 5px;
text-transform: lowercase;
font-size: 12px;
font-weight: 400;
line-height: 1;
border-radius: 10px;
color: var(--button-text);
background: var(--button);
}

.modmenu .container strong a:hover {
color: var(--hover-text);
background: var(--hover);
}

.tcmod {
text-align: right;
width: fit-content;
}

.punbb td .modlist {
display: block;
padding: 0;
}

#move_posts_form .forum_name strong {
font-size: 12px !important;
margin: 12px 0 0 0 !important;
display: block;
font-weight: 600;
}

#move_posts_form .formal>form.container {
width: 100% !important;
position: relative;
border: none !important;
padding: 0 !important;
}

#move_posts_form fieldset {
margin: 0 !important;
}

#move_posts_form fieldset legend {
padding: 0 0 8px !important;
}

#SubmitMPst {
margin: 0 !important;
}

#move_posts_form .formsubmit {
padding: 0 !important;
}

#move_posts_form .Select_Topics .tc2 {
width: 50px;
text-align: right;
}

#move_posts_form .Select_Topics .tcl {
text-align: left;
}

#move_posts_form thead tr,
#move_posts_form tbody tr {
width: 98% !important;
display: table;
}

#move_posts_form tbody tr {
box-shadow: 0 1px 0 0 var(--border);
}

.pun-modal.move_posts_form .modal-inner {
width: 600px !important;
}

/*-------------- ПОСТ --------------*/

/*--- Тело поста ---*/
.post {
margin: 30px 0 0 0;
padding: 0;
}

.post>.container {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0;
}

.post p.container {
display: inherit;
flex-direction: inherit;
flex-wrap: inherit;
z-index: inherit;
position: inherit;
}

.post-body {
display: block;
width: calc(100% - var(--profile-width));
box-sizing: border-box;
padding: 10px 13px 0 43px;
}

.post-box {
padding: 0;
position: unset !important;
word-wrap: break-word;
}

/*--- Контент поста ---*/
ul,
li,
dd,
dl,
dt {
list-style: none !important;
padding: 0;
margin: 0;
}

.post-content p {
padding: 8px 0;
margin: unset;
}

.post-content,
.post-content p {
line-height: 150%;
text-align: justify;
text-transform: none;
}

.post-content ul li p {
padding: 0 !important;
}

.post-content ul {
padding: 0!important;
}

.post-content ul li p:before {
content: "\e5d6";
margin: 0 4px 0 0;
color: var(--link1);
font-family: var(--fa);
font-size: 6px;
vertical-align: middle;
font-weight: 900;
}

.plash section ul {
padding: 0 !important;
width: 100%;
}

.post-content p span {
line-height: 150%;
}

.post-content .post-sig p,
.post-content .post-sig span {
line-height: unset;
}

.topic .post-content {
margin: 10px 0 30px;
}

.topic .post-content>p:first-of-type {
padding-top: 0;
}

.post-content a:hover {
color: var(--hover-text);
background-color: var(--hover);
}

.post-sig a:hover {
background: transparent;
}

address,
em {
font-style: unset;
}

em.bbuline {
font-style: unset;
text-decoration: none;
display: inline;
border-bottom: 1px solid var(--text-pale);
}

del {
opacity: .5;
color: var(--text-pale);
background: transparent !important;
}

del:hover {
text-decoration: none;
opacity: 1;
}

.scrollbox {
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: -webkit-fit-content !important;
height: -moz-fit-content !important;
height: fit-content !important;
max-height: 30px;
}

.gost--lists .scrollbox {
height: 15px !important;
}

pre {
font-size: 9px;
font-family: var(--font);
white-space: break-spaces;
line-height: 160%;
padding: 0 2px 0 1px;
text-align: left;
}

pre strong {
font-weight: 400;
}

hr {
opacity: 1 !important;
-webkit-filter: none;
filter: none;
margin: 8px auto 9px !important;
border: none;
height: 1px;
width: 80%;
display: block;
background: transparent;
border-bottom: 1px solid var(--border);
}

.highlight-text {
background-color: var(--select) !important;
color: var(--select-text) !important;
padding: 0;
}

abbr {
cursor: help !important;
border-bottom: 1px dashed var(--link1);
}

.post-content table {
border-collapse: collapse;
margin: 0;
}

.post-content td {
border: none;
padding: 4px 8px !important;
overflow: hidden;
border-color: transparent !important;
}

.post-content td p:last-child {
padding: unset !important;
}

.punbb .post-content img.postimg {
max-width: 100%;
margin: 0.2em 0 !important;
vertical-align: middle;
}

/*--- Профиль в посте ---*/
.post .post-author {
    width: var(--profile-width);
    margin-top: -27px;
}

.post .post-author ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0;
    padding: 10px 15px 15px;
    position: relative;
    border-radius: 16px;
    background: var(--pun-container);
    box-shadow: inset 0 0 0 1px var(--border);
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
}

.post .post-author ul li {
z-index: 1;
}

#pun-post .post-author p {
margin: -28px 0 0;
padding: 18px 16px 20px;
position: relative;
border-radius: 10px;
background: var(--pun-container);
box-shadow: inset 0 0 0 1px var(--border);
}

.post-author .pa-author {
    width: 100%;
    height: auto;
    text-align: center;
    font-family: var(--font);
    text-transform: lowercase;
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 110%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom: none;
    padding: 0;
    flex-wrap: nowrap;
    margin: 4px 0 10px;
    box-sizing: border-box;
}

.pa-author strong {
font-weight: 400 !important;
}

.post-author .pa-author a {
box-sizing: border-box;
padding: 0;
line-height: 120%;
z-index: 1;
margin: 0 auto;
}

.post-author .pa-author a,
.post-author .pa-author,
#mask_dialog .hv-preview-author,
#viewprofile #profile-name {
color: var(--link2);
}

.post-author .pa-author a:hover {
color: var(--hover);
background: transparent;
}

#pun-multimove .post-author .pa-author {
color: var(--link2) !important;
}

.post-author .pa-title {
font-size: 9px;
font-weight: 400;
text-align: center;
line-height: 140%;
width: 100%;
text-transform: lowercase;
margin: 0 0 8px;
box-sizing: border-box;
letter-spacing: .2px;
display: flex !important;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-end;
align-items: center;
position: relative;
color: var(--text-pale);
display: none!important;
}

.post-author .pa-avatar.item2 {
z-index: 2;
margin: 0 0 1px;
max-width: 180px;
max-height: 180px;
width: 180px;
line-height: 1;
box-sizing: border-box;
}

.post-author .pa-avatar.item2 img {
max-width: 180px;
max-height: 180px;
padding: 0px;
display: block;
border-radius: 10px;
margin: 0 auto;
cursor: default !important;
}

.pa-avatar.item2 img.allow_change:hover {
outline-color: var(--border) !important;
}

.post-author .pa-online, .post-author .pa-last-visit {
    position: absolute;
    height: 8px;
    width: 8px;
    top: -9px;
    font-size: 0;
    cursor: default !important;
    border-radius: 10px;
    border: 5px solid var(--pun);
}

.post-author .pa-online {
background: var(--link1);
}

.pa-row {
width: 100%;
display: flex;
justify-content: space-between;
gap: 5px;
align-items: center;
margin-top: 10px;
box-sizing: border-box;
}

#pun-messages .post-author .pa-row {
display: none;
}

.post-author .pa-posts,
.post-author .pa-respect,
.post-author .pa-fld1 {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex: auto;
font-family: var(--font);
font-size: 10px;
color: var(--link2);
margin: 0;
font-weight: 500;
z-index: 2;
flex-direction: row;
flex-wrap: wrap;
gap: 3px 0px;
justify-content: center;
align-items: center;
}

.post-author .pa-respect span a,
.post-author .pa-respect span.fld-name,
.post-author .pa-posts span.fld-name,
.post-author .pa-posts a,
#pun.isguest .post-author .pa-respect span.fld-name {
font-size: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
}

.post-author .pa-respect span.fld-name,
.post-author .pa-posts span.fld-name,
.post-author .pa-fld1:before {
width: 100%;
}

.post-author .pa-respect span {
width: 100%;
text-align: center;
}

.post-author .pa-respect span a:before, #pun.isguest .post-author .pa-respect span.fld-name:before, .post-author .pa-posts span.fld-name:before, .post-author .pa-posts a:before, .post-author .pa-fld1:before {
font-size: 0;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 18px;
margin: 0;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
background-repeat: no-repeat;
background-position: center;
}

.post-author .pa-posts a:hover:before,
.post-author .pa-respect span a:hover:before {
opacity: .5;
}

.pa-fld4 a {
color: var(--text);
text-transform: uppercase;
}

.post-author .pa-posts span.fld-name:before,
.post-author .pa-posts a:before {
content: "";
background-image: url(https://forumstatic.ru/files/0014/4b/bf/44082.svg);
}

.post-author .pa-respect span a:before, #pun.isguest .post-author .pa-respect span.fld-name:before {
content: "";
background-image: url(https://forumstatic.ru/files/0014/4b/bf/56676.svg);
}

.post-author .pa-fld1:before {
content: "";
background-image: url(https://forumstatic.ru/files/0014/4b/bf/89482.svg);
}

.post-author .pa-respect>a {
display: none;
}

.pa-ip {
display: block;
width: 100%;
position: absolute;
bottom: -18px;
text-align: center;
font-size: 9px;
filter: blur(2px);
}

.pa-ip:hover {
filter: blur(0);
}

#viewprofile-next #profilenav {
display: block !important;
position: absolute;
z-index: 2;
}

#viewprofile-next #profilenav ul li {
display: none;
}

#pun.gid1 #viewprofile-next #profilenav ul li.item8, #pun.gid2 #viewprofile-next #profilenav ul li.item8 {
    display: block;
    width: fit-content !important;
    height: fit-content !important;
    padding: 0 !important;
    top: 0px;
    left: 8px;
    position: absolute;
}

#pun.gid1 #viewprofile-next #profilenav ul li.item8 a, #pun.gid2 #viewprofile-next #profilenav ul li.item8 a {
    font-size: 0;
    padding: 8px 9px 10px 10px;
    letter-spacing: 0;
    line-height: 1;
    border-radius: 10px;
    width: 32px;
}

#pun.gid1 #viewprofile-next #profilenav ul li.item8 a:before, #pun.gid2 #viewprofile-next #profilenav ul li.item8 a:before {
content: "\f044";
font-family: var(--fa);
font-size: 12px;
font-weight: 400;
}

/*--- Подпись поста ---*/
dd,
dl,
dt {
list-style: none;
padding: 0;
margin: 0;
}

/*.post-sig dd {overflow: hidden;}*/
.post-sig dt {
margin: 14px auto;
width: 30%;
height: 1px;
background: var(--border);
}

/*--- Плюсы под постом ---*/
div.post-rating p {
float: right;
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
}

div.post-vote p {
float: right !important;
border: 0 !important;
padding: 0 !important;
margin-right: 10px !important;
}

div.post-rating p>a {
    outline: 1px solid transparent;
    position: relative;
    padding: 6px 10px 6px;
    z-index: 100;
    width: auto;
    height: fit-content;
    border-radius: 10px;
    font-size: 13px!important;
    font-family: var(--font);
    font-weight: 400;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    letter-spacing: 0;
    line-height: 100%;
    margin: 0;
    box-sizing: border-box;
    right: -2px;
    opacity: 1;
    background: var(--extra1);
    color: var(--extra1-text) !important;
}

div.post-rating p>a:before {
    content: "\f6c5";
    font-family: var(--fa);
    margin: 0 4px 0 0;
    font-size: 10px;
    font-weight: 400;
    line-height: 110%;
}

div.post-rating p>a:hover, div.post-vote p>a:hover {
    background: var(--hover);
    color: var(--hover-text) !important;
    border-color: var(--hover)!important;
}

.mypost div.post-rating p>a {
cursor: default;
pointer-events: none;
border-color: var(--border);
border-style: solid;
color: var(--border) !important;
}
.mypost div.post-rating p>a:before {
content: "\f004";
}

.post-rating a {
cursor: pointer;
}

.post-rating a,
.post-vote a {
text-decoration: none;
}

div.post-vote p>a {
    font-size: 0 !important;
    position: relative;
    cursor: pointer;
    z-index: 200;
    width: 38px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
    padding: 5px 10px;
    letter-spacing: 0;
    color: var(--extra1-text);
    background: var(--pun-container);
    border: 1px solid var(--border);
}
div.post-vote p>a:before {
    content: "\f543";
    font-size: 13px;
    width: 100%;
    height: 100%;
    line-height: 1;
    box-sizing: border-box;
    padding: 0;
    font-family: var(--fa);
    vertical-align: middle;
    font-weight: 300;
    opacity: 1;
}

.mylike .post-rating p a, .mylike .post-rating p a:hover {
    background: var(--hover);
    color: var(--hover-text)!important;
    cursor: default !important;
}

.mylike .post-rating p a:before {
content: "\f00c" !important;
display: block !important;
}

.mylike div.post-vote p>a {
display: none !important;
}

/*--- Окно комментария к плюсу ---*/
#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner,
.modal-inner {
background: var(--pun-container) !important;
padding: 14px 20px !important;
box-sizing: border-box !important;
border-radius: 20px !important;
}

#pun-reputation .inner .container {
padding: 0 !important;
}

#pun-report .inner table,
#pun-reputation .inner table,
#pun-admin-award-form .inner table,
.modal-inner table {
border-spacing: 4px 8px !important;
}

#pun-report .inner span,
#pun-reputation .inner span,
#pun-admin-award-form .inner span,
.modal-inner span {
text-transform: lowercase !important;
}

#pun-report .inner textarea,
#pun-reputation .inner textarea,
#pun-admin-award-form .inner textarea {
width: 100% !important;
}

#pun-reputation .inner tr:last-of-type td.tc2 {
font-size: 0;
}

#pun-reputation .inner tr:last-of-type td.tc2 input {
margin: 0 12px 0 0 !important;
}

/*--- Ссылки под постом ---*/
.post-links {
width: 100%;
flex-shrink: 0;
padding-left: 0;
margin-top: 20px;
}

.post-links ul {
text-align: right;
display: inline-table;
margin: 0;
padding: 0;
width: 100%;
}

.post-links li {
display: inline-flex;
padding: 0;
}

.post-links li a {
display: inline-flex;
justify-content: center;
align-items: center;
height: 18px;
color: var(--link2);
opacity:1;
font-size: 10px;
padding: 1px 0;
text-transform: lowercase;
font-weight: 500;
letter-spacing: 0;
box-sizing: border-box;
border-radius: 0;
}

.post-links li a:hover {
color: var(--hover);
background: transparent;
}

.post-links li {
margin: 0 0 0 20px;
}

.post-links li:first-of-type {
margin: 0;
}

.post-links .pl-email {
float: left;
}

.editpole {
float: left;
}

.gid3 .editpole,
.gid4 .editpole,
.gid5 .editpole {
display: none !important;
}

.post-links .pl-email.pm,
.post-links .editpole {
margin: 0 0 0 20px;
}

.post-links .editpole {
display: none;
}

.isadmin .editpole,
.ismoderator .editpole {
display: inline-flex !important;
}

/*--- Цитата, код, скрытый текст ---*/
.post-content .spoiler-box>div {
cursor: pointer;
background: none !important;
padding: 9px 10px 9px 28px !important;
position: relative;
background: var(--pun-container) !important;
border-radius: 10px;
text-transform: lowercase;
}
.post-content .spoiler-box > div.visible {
    border-radius: 10px;
    background: var(--extra1) !important;
    color: var(--extra1-text);
}

.post-content .spoiler-box>div span {
display: inline-block !important;
width: calc(100% - 4px - 16px - 6px);
}

.post-content .spoiler-box>blockquote {
display: none;
padding: 0 10px !important;
}

.post-content .spoiler-box>blockquote.visible {
display: block;
overflow: visible!important;
border-radius: 0 0 10px 10px;
border-top: none;
border: 0;
}

.post-content .spoiler-box>div:before, .post-content .spoiler-box>div.visible:before {
    color: var(--extra1-text);
    opacity: .85;
    font-size: 10px;
    display: inline-flex;
    font-family: var(--fa);
    font-style: normal;
    line-height: 1;
    justify-content: center;
    align-items: center;
    font-variant: normal;
    font-weight: 900;
    content: "\f005";
    width: 11px;
    height: 0;
    overflow: visible;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -1px;
}

.post-content .spoiler-box>div.visible:before {
content: "\f5c0";
}

.quote-box.spoiler-box {
background: var(--pun-container);
border-radius: 10px;
border: 1px solid var(--border);
}

.quote-box {
    box-sizing: border-box;
    padding: 4px 4px;
    margin: 10px 0 10px;
    position: relative;
    -o-transition: all .12s ease-in-out !important;
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
    background: var(--pun-container);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.quote-box cite, .code-box .legend {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    width: fit-content;
    max-width: 100%;
    line-height: 110% !important;
    box-sizing: border-box;
    font-style: normal;
    text-transform: lowercase;
    font-weight: 500;
    font-size: 11px;
    font-family: var(--font);
    color: var(--extra1-text);
    background: var(--extra1);
    border-radius: 10px;
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
    position: relative;
    z-index: 2;
    margin: 0;
    border-bottom: 0;
}

.code-box .legend.legend-processed {
background: transparent;
gap: 4px;
}

.quote-box cite,
.code-box .legend a {
padding: 5px 10px 6px;
}

strong.legend.legend-processed a {
    white-space: nowrap;
    background: var(--extra1);
    color: var(--extra1-text);
    text-align: left;
    width: fit-content;
    line-height: 110%;
    border-radius: 10px;
}

.quote-box blockquote, .quote-box .blockquote {
box-sizing: border-box;
padding: 4px 10px 0;
}

.quote-main blockquote, .quote-main .blockquote {
box-sizing: border-box;
padding: 0 10px;
}

blockquote .quote-box {
margin: 10px 0 8px;
}

.quiet-quote {
margin: 0 !important;
font-style: italic;
}

.quiet-quote>p {
padding-bottom: 0 !important;
}

.quiet-quote~p {
padding-top: 6px !important;
}

.quiet-quote img {
transform: skewX(-6deg);
}

span.qc-post-link,
a.qc-post-link {
display: inline-block;
}

a.qc-post-link {
text-align: left;
position: relative;
}

a.qc-post-link:hover {
color: var(--link1);
background: transparent;
}

.code-box {
    box-sizing: border-box;
    padding: 4px;
    margin: 10px auto 10px;
    position: relative;
    transition: all .12s ease-in-out !important;
    -webkit-transition: all .12s ease-in-out !important;
    -moz-transition: all .12s ease-in-out !important;
    -o-transition: all .12s ease-in-out !important;
    background: var(--pun-container);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.code-box .legend a,
.quote-box cite a {
display: block;
width: 100%;
height: 100%;
color: var(--link2);
line-height: 110%;
}

.code-box .legend a:hover {
    color: var(--hover-text);
    background: var(--hover) !important;
}

.code-box .blockcode, .code-box blockcode {
box-sizing: border-box;
padding: 10px 10px;
}

.quote-box.answer-box cite:has(a.qc-post-link):before {
    content: "\f064";
    font-family: var(--fa);
    font-weight: 900;
    font-size: 8px;
    margin: 0 4px 0 0;
    opacity: .85;
}

.quote-box.hide-box cite:before {
content: "\f30d";
font-family: var(--fa);
font-weight: 900;
font-size: 9px;
margin: 0 4px 0 0;
opacity: .85;
}

.code-box .legend a:before {
content: "\f0c5";
font-family: var(--fa);
font-weight: 900;
font-size: 9px;
margin: 0 4px 0 0;
opacity: .85;
}

.code-box .legend a.copy-to-reply-button:before {
content: "\e094";
}


/*--- Формы, поля, кнопки, орг страницы ---*/
.fs-box {
margin: auto auto;
}

optgroup {
font-weight: normal;
}

.formal .container {
padding: 0;
}

input.button:last-child,
.formsubmit a:last-child {
margin: 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
float: left;
margin: 0 10px 0 0;
}

.inline .inputfield:last-of-type,
.inline .selectfield:last-of-type,
.inline .passfield:last-of-type {
margin: 0;
}

.hashelp {
position: relative;
}

.formal fieldset {
min-width: 0;
}

fieldset {
padding: 8px 0;
border: none;
margin: 0 0 20px 0;
box-shadow: none;
border-radius: 10px;
}

fieldset fieldset,
#post fieldset {
padding: inherit;
border: inherit;
margin: inherit;
box-shadow: inherit;
border-radius: inherit;
}

fieldset:last-of-type {
margin: 0 0 4px;
}

fieldset fieldset:last-of-type,
#post fieldset:last-of-type,
#pun-admain fieldset:last-of-type {
margin: inherit;
}

fieldset p {
padding: 0;
}

fieldset fieldset,
#post fieldset {
padding: 0;
border: 0;
}

fieldset legend {
padding: 0;
text-transform: lowercase;
font-size: 12px;
font-weight: 400;
line-height: 100%;
color: var(--text);
margin: 0 0 -2px;
}

.infofield {
font-style: normal;
padding: 8px 0;
line-height: 130%;
color: var(--text-pale);
font-weight: 400;
text-transform: lowercase;
font-size: 12px;
}

.inputfield label,
.selectfield label,
.datafield span.input {
font-style: normal;
font-weight: 500;
text-transform: lowercase;
padding: 0;
margin: 4px 0 6px;
display: inline-block;
color: var(--text);
}

.punbb .formal span.input {
padding: 0 8px 0 0;
}

input,
select {
outline: none;
border: none;
border-radius: 10px;
font-size: 11px!important;
font-family: var(--font);
padding: 6px 8px 7px;
background: var(--textarea);
box-shadow: inset 0 0 0 1px var(--border);
color: var(--text);
}

select {
text-transform: lowercase;
}

select option {
color: var(--text);
background: var(--pun);
}

select optgroup {
color: var(--text);
background: var(--pun);
font-weight: 500;
}

#profile input {
width: auto;
max-width: none;
}

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
margin: 0 4px 0 0;
}

input[type="checkbox"],
input[type="radio"] {
box-shadow: none !important;
height: 20px;
vertical-align: middle;
}

input.button,
.formsubmit a,
a.bank-button,
.blockcode .copy-btn {
text-transform: lowercase!important;
font-size: 12px!important;
font-family: var(--font)!important;
font-weight: 400!important;
display: inline-flex;
box-sizing: border-box;
justify-content: center;
align-items: center;
line-height: 90% !important;
padding: 5px 16px;
margin: 0 8px 0 0;
min-height: 25px;
border: none;
border-radius: 10px;
box-shadow: none;
background: var(--button);
color: var(--button-text);
cursor: pointer;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

input.button:hover,
.formsubmit a:hover,
.blockcode .copy-btn:hover {
background: var(--hover);
color: var(--hover-text);
box-shadow: none;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
height: 20px;
vertical-align: middle;
text-transform: lowercase;
box-shadow: none;
}

fieldset .fs-box p {
display: block;
margin: 0;
}

#post-preview,
#post-preview fieldset {
text-transform: inherit;
}

#post-preview {
padding: 0 0 20px !important;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

fieldset .fs-box li {
text-transform: lowercase;
}

.formsubmit {
text-transform: lowercase;
font-size: 9px;
letter-spacing: .2px;
padding: 8px 0 0;
margin: 0;
}

.formsubmit input.button {
display: inline-block;
margin: 0 auto 8px;
}

form#post input.button {
margin: 0;
}

p.inputfield.required {
margin: 0 8px 0 0;
}

p.inputfield.required:last-of-type {
margin: 0;
}

p[class="checkfield"] img,
div[class="checkfield"] img,
fieldset[class="radiofield"] img {
height: auto;
max-height: 50px;
}

.info-box {
padding: 8px 12px;
margin: 0;
}

.info-box * {
padding: 0;
}

#pun-main .info-box .legend {
font-weight: normal;
}

.info .container {
padding: 0;
text-align: left;
text-transform: lowercase;
}

.info .container .backlink {
padding-top: 0;
}

#post-form .formsubmit {
text-align: center;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
gap: 10px;
}

#post-form {
    margin-top: 10px;
}

/*--- Форма ответа ---*/
.punbb .formal textarea {
width: 100%;
border-radius: 10px;
}

textarea {
outline: none;
border: none;
border-radius: 10px;
min-height: 100px;
margin: 0;
padding: 8px 12px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
line-height: 150%;
font-family: var(--font) !important;
font-size: 12px;
color: var(--text);
white-space: break-spaces;
background: var(--textarea);
box-shadow: inset 0 0 0 1px var(--border);
max-width: 100%!important;
}

textarea#main-reply {
border-radius: 10px;
}

#pun-viewtopic #post-form textarea#main-reply {
width: 100% !important;
}

#form-buttons table {
width: calc(100% - 70px) !important;
height: 31px !important;
border-spacing: 0;
border: 1px solid var(--border);
background: var(--pun-container);
border-radius: 0 10px 10px 0;
box-sizing: border-box;
padding: 3px;
}

#font-area,
#size-area,
#color-area,
#table-area,
#image-area,
#imageup-area,
#imageattach-area,
#keyboard-area,
#video-area,
#addition-area,
#smilies-area,
#video-area,
#spoiler-area {
padding: 12px;
overflow-y: auto;
max-height: 306px;
max-width: 580px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

#color-area,
#table-area,
#image-area,
#imageup-area,
#imageattach-area,
#keyboard-area,
#video-area,
#addition-area,
#smilies-area,
#video-area,
#spoiler-area {
right: 0;
}

#color-area,
#table-area,
#keyboard-area {
width: auto;
text-align: center;
}

#keyboard-area {
padding-bottom: 12px !important;
}

#color-area * {
border: 0;
}

#color-area table {
padding: 0;
margin: 0;
border-spacing: 3px 0 !important;
width: -webkit-fit-content !important;
width: -moz-fit-content !important;
width: fit-content !important;
}

#addition-area div,
#font-area div {
padding: 4px 8px 5px;
height: auto !important;
}

#font-area span {
-o-text-overflow: ellipsis !important;
text-overflow: ellipsis !important;
overflow: hidden !important;
}

#size-area span {
line-height: 24px !important;
padding: 2px 8px !important;
}

#smilies-area img {
margin-right: 8px;
margin-bottom: 8px;
}

#image-area-tcon-computer {
margin: 0 0 12px;
}

#image-area-tcon-computer td {
border: none;
padding: 0;
}

#imageupload-left {
width: 140px;
}

#imageupload-right {
padding-left: 8px;
background: transparent;
max-width: 380px;
}

#image-area-actions {
text-align: right;
}

#imageQueue {
max-height: 72px;
overflow-y: auto;
margin-bottom: 8px;
}

#uploaded-images {
max-height: 144px;
overflow-y: auto;
}

#uploaded-images img {
width: 88px;
height: 66px;
border: 1px solid;
margin-right: 4px;
cursor: pointer;
}

#upload-button-container,
#image-width,
#image-thumb-width,
#image-insert-format,
#insert-all-images-container {
margin-top: 8px;
}

#image-source-list a,
#image-area-actions a,
#spoiler-sels a {
margin-right: 16px;
cursor: pointer;
}

#insert-image-tip {
margin-top: 8px;
}

#upload-button-container img {
cursor: pointer;
width: 120px;
height: 30px;
}

#image_upload_input {
position: absolute;
z-index: -1;
left: -9999px;
}

#selected-image-width,
#selected-thumb-width {
width: 6em;
}

#imageupload-left input[type="button"] {
width: 11em;
text-align: center;
}

#upload-button-container input[type="button"] {
font-weight: 400 !important;
}

#image-width,
#image-thumb-width,
#image-insert-format strong {
font-size: .9em;
}

.uploadQueueItem {
padding: 8px 12px;
border: solid 1px #ddd;
border-radius: 10px;
margin-bottom: .5em;
background: rgba(238, 238, 238, .22);
}

.uploadQueueItem.error {
border-color: rgba(255, 0, 0, .25);
background-color: rgba(255, 0, 0, .08);
}

.uploadQueueItem .cancel {
font-size: 20px;
font-weight: 600;
font-family: Arial;
float: right;
margin: -.25em 0 0;
}

.uploadQueueItem .cancel a {
text-decoration: none;
color: #333;
}

.uploadProgress {
display: block;
width: 98%;
height: 3px;
margin: 2px 0 0;
background: #ddd;
position: relative;
}

.uploadProgressBar {
position: relative;
background: #00adff;
height: 3px;
width: .1%;
-webkit-transition: width .05s ease-in-out;
-o-transition: width .05s ease-in-out;
transition: width .05s ease-in-out;
}

.uploadQueueItem {
padding: 0 4px 4px 0;
border-radius: 10px;
background: transparent;
border: none;
}

.uploadProgress {
width: 100%;
margin: 4px 0 0;
background: var(--pun);
}

.uploadProgressBar {
background: var(--button);
}

.uploadQueueItem .cancel {
font-size: 1em;
font-weight: normal;
font-family: var(--font);
margin: 0;
}

#image-width,
#image-thumb-width,
#image-insert-format strong {
line-height: 2;
margin: 0 0 8px;
}

#font-area div,
#size-area div,
#color-area div,
#table-area div,
#addition-area div,
#smilies-area div a,
#smilies-area img {
cursor: pointer;
}

#upload-button-container input[type="button"],
#imageupload-left input[type="button"],
#selected-image-width,
#selected-thumb-width,
#imageupload-left select {
cursor: pointer;
}

#uploaded-images img {
cursor: pointer;
width: auto;
height: 50px;
max-width: 100px;
margin-right: 4px;
}

#image-area-tcon-computer td {
vertical-align: top;
}

#video-area-tinp,
#image-area-tinp {
margin: 4px 0 !important;
border: none !important;
}

#video-area-actions {
text-align: right;
line-height: 1.6em;
}

#form-buttons tr {
display: flex;
flex-wrap: nowrap;
text-align: center;
gap: 2px;
}

#form-buttons td {
color: var(--text);
font-size: 12px;
height: 24px;
padding: 0;
background-repeat: no-repeat;
background-image: none !important;
display: flex;
font-family: var(--fa);
font-style: normal;
line-height: 1;
width: 100%;
box-sizing: border-box;
justify-content: center;
align-items: center;
text-align: center;
cursor: pointer;
border-radius: 6px;
}

.cnt-part #form-buttons td:last-child {
border-radius: 6px !important;
}

#form-buttons td:hover {
    background: var(--hover);
    color: var(--hover-text);
}

#form-buttons td img {
position: absolute;
z-index: 2;
margin: 0;
width: auto !important;
height: 20px !important;
opacity: 0;
}

#form-buttons td:before {
position: absolute;
width: 24px;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
font-weight: 400;
}

#form-buttons #button-font:before {
content: "\f893";
}

#form-buttons #button-transL:before {
content: "\f0ac";
}

#form-buttons #button-size:before {
content: "\f034";
}

#form-buttons #button-bold:before {
content: "\f032";
}

#form-buttons #button-italic:before {
content: "\f033";
}

#form-buttons #button-underline:before {
content: "\f0cd";
}

#form-buttons #button-strike:before {
content: "\f0cc";
}

#form-buttons #button-left:before {
content: "\f036";
}

#form-buttons #button-center:before {
content: "\f037";
}

#form-buttons #button-right:before {
content: "\f038";
}

#form-buttons #button-justify:before {
content: "\f039";
}

#form-buttons #button-spoiler:before {
content: "\f187";
}

#form-buttons #button-adm-spoiler:before {
content: "\f0fe";
}

#form-buttons #button-quote:before {
content: "\e1e4";
}

#form-buttons #button-code:before {
content: "\f121";
}

#form-buttons #button-color:before {
content: "\f53f";
}

#form-buttons #button-smile {
display: none !important;
}

#form-buttons #button-sticker:before {
content: "\f004";
}

#form-buttons #button-link:before {
content: "\f0c1";
}

#form-buttons #button-image:before {
content: "\f030";
}

#form-buttons #button-image2:before {
content: "\f302";
}

#form-buttons #button-video:before {
content: "\f144";
}

#form-buttons #button-hide:before {
content: "\f023";
}

#form-buttons #button-table:before {
content: "\f009";
}

#form-buttons #button-keyboard:before {
content: "\f11c";
}

#form-buttons #button-addition:before {
content: "\2b";
}

#form-buttons #button-indent:before {
content: "\f03c";
}

#form-buttons #button-html:before {
content: "\f1c9";
}

#form-buttons #floatbut:before,
#form-buttons #button-float:before {
content: "\e0b5";
}

#form-buttons #button-mask:before {
content: "\f6b5";
}

#form-buttons #button-ChangeСase:before {
content: "\f866";
}

#float {
display: none;
position: absolute;
width: 160px;
margin-top: 28px !important;
left: calc(50% - 60px);
text-align: center;
padding: 12px 12px;
z-index: 1;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

#float i {
font-size: 16px;
padding: 0 8px;
}

#float i:hover {
opacity: .6;
}

#button-image>img {
position: relative;
z-index: 2;
}

#button-image>center {
opacity: 0;
visibility: hidden;
}

#button-image:hover>center {
opacity: 1;
visibility: visible;
}

#font-area,
#size-area,
#color-area,
#table-area,
#image-area,
#imageup-area,
#imageattach-area,
#keyboard-area,
#video-area,
#addition-area,
#smilies-area,
#video-area,
#spoiler-area,
#float {
background: var(--pun-container);
color: var(--text);
border-radius: 0 0 10px 10px;
outline: 1px solid var(--border);
margin-top: 1px;
margin-left: 1px;
}

#tags .container {
text-transform: lowercase;
font-size: 12px;
font-weight: 400;
position: absolute;
top: unset !important;
margin-right: -5px;
}

#profile #tags .container {
margin: 1px 9px 0 1px;
}

#profile5 #tags .container {
margin: 1px -5px 0px 1px;
}

#tags .container a {
color: var(--link1);
}

#tags .container a:hover {
color: var(--hover);
}

#color-area td:hover {
box-shadow: 0 0 0 1px var(--text-pale);
cursor: pointer;
}

#tags .container strong,
#video-area-thd,
#image-area-thd,
#float strong {
font-weight: 500;
text-transform: lowercase;
letter-spacing: .2px;
color: var(--extra1-text);
font-size: 10px;
font-family: var(--font);
margin: 0 0 4px;
display: inline-block;
}

#float strong {
display: block;
margin-bottom: 8px;
}

#video-area,
#image-area,
#spoiler-area {
width: 500px;
}

#video-host-list {
max-width: 460px;
line-height: 160%;
}

#video-area-msg,
#image-source-list,
#image-area-actions,
#spoiler-sels,
#spoiler-type-list {
line-height: 160% !important;
}

#spoiler-type-list {
display: inline-flex;
flex-direction: row-reverse;
}

#imageupload-left input[type="button"] {
width: auto;
color: var(--button-text);
font-family: var(--font);
font-weight: normal;
border-radius: 20px;
box-shadow: none;
background: var(--button);
border-style: none;
}

#imageupload-left input[type="button"]:hover {
background: var(--hover);
color: var(--hover-text);
}

#addition-area div:hover,
#font-area div:hover,
#size-area div:hover {
background: var(--textarea);
border-radius: 6px;
}

#keyboard-span input {
background: var(--textarea) !important;
color: var(--text) !important;
border-radius: 10px !important;
box-shadow: 0 0 0 1px var(--border) !important;
cursor: pointer !important;
margin: 2px !important;
min-width: 30px !important;
height: 22px !important;
line-height: 100% !important;
border: none !important;
}

#keyboard-span input:hover {
background-color: var(--button) !important;
color: var(--button-text) !important;
}

.uploadQueueItem .cancel a {
font-weight: normal;
color: var(--button);
}

#uploaded-images img {
border: 1px solid var(--border);
}

#form-buttons {
margin: 0 0 6px;
}

#button-image p {
color: var(--pun);
}

.punbb #post .tabs .active a,
.punbb #post .tabs li a:hover {
background: #686868;
}

.punbb #post .tabs li a {
background: #3c3c3c;
}

#font-area {
width: 220px;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
line-height: 1.4em;
}

#font-area div {
width: 100%;
text-align: center;
font-size: 16px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

#font-area div.font_cyrillic,
#font-area div.font_latin {
font-size: 0;
width: 100%;
margin: 1px 0 0;
cursor: default;
}

#font-area div.font_cyrillic:before,
#font-area div.font_latin:before {
font-family: var(--font);
letter-spacing: 0;
line-height: 1;
color: var(--extra1-text);
background: var(--extra1);
display: block;
width: calc(100% + 10px);
height: auto;
box-sizing: border-box;
position: relative;
margin: 6px -4px;
text-align: center;
font-size: 12px;
font-weight: 500;
text-transform: lowercase;
padding: 4px 4px 5px;
border-radius: 6px;
cursor: default !important;
}

#font-area div.font_cyrillic:before {
content: "кириллица + латиница";
}

#font-area div.font_latin:before {
content: "только латиница";
}

#font-area div.font_cyrillic:hover,
#font-area div.font_latin:hover {
background: transparent !important;
}

#symbol-counter {
width: 70px;
height: 32px;
margin: 0;
float: left;
text-transform: uppercase;
font-family: var(--font);
font-weight: 500;
display: flex;
justify-content: center;
align-items: center;
gap: 0;
color: var(--text);
background: var(--pun-container);
box-sizing: border-box;
cursor: default;
border-radius: 10px 0 0 10px;
padding: 3px 0px 3px 3px;
border: 1px solid var(--border);
font-size: 0;
letter-spacing: 0;
}
#symbol-counter span {
background: var(--button);
color: var(--button-text);
font-size: 10px;
width: 100%;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 6px;
height: 100%;
}
#form-buttons:has(#symbol-counter) table {
border-left: 0;
}
#form-buttons:has(>table) #symbol-counter {
border-right: 0;
}

#table-area table {
width: auto;
padding: 0;
margin: 0;
border-collapse: collapse;
}

#table-area div {
margin-top: 1em;
text-align: center;
}

#table-layout {
margin-right: .5em;
}

#table-area td {
background-color: #fff !important;
width: 14px !important;
height: 14px !important;
border: none !important;
border-style: solid !important;
border-color: #dadada !important;
border-width: 1px !important;
cursor: pointer;
}

#table-area td.selected {
background: var(--extra2) !important;
}

#font-area div,
#size-area div {
display: block;
position: relative;
}

#color-area td,
#table-area td {
position: relative;
}

#color-area td {
border-radius: 10px !important;
width: 20px;
height: 20px;
}

#font-area img,
#size-area img,
#color-area img,
#table-area img {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}

/*--- Разделитель постов (дата, номер поста) ---*/
.post h3 {
    height: auto;
    width: calc(100% - var(--profile-width) - 30px);
    margin: 0 0 0 auto  !important;
    overflow: hidden;
    box-sizing: border-box;
    padding: 7px 12px;
    background: var(--pun-container);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.post h3 span {
display: flex;
align-items: center;
line-height: 1;
text-transform: lowercase;
font-size: 10px;
letter-spacing: .1px;
font-weight: 500;
white-space: nowrap;
flex-wrap: nowrap;
gap: 6px;
justify-content: space-between;
flex-direction: row-reverse;
}

#pun-messages .post h3 span {
    justify-content: flex-start;
flex-direction: row;
}

#pun-searchposts .post h3 span {
justify-content: flex-start;
flex-direction: inherit;
gap: 2px;
align-items: stretch;
position: relative;
}

#pun-searchposts .post h3 span * {
align-self: center;
}

#pun-searchposts .post h3 span a {
color: var(--link2);
line-height: 110%;
}

#pun-searchposts .post h3 span a:hover {
color: var(--hover-text);
}

#pun-searchposts .post h3 span em {
    color: var(--text-pale);
    padding: 0 1px 0 4px;
    line-height: 110%;
}

#pun-searchposts .post h3 span a:first-of-type:before {
content: none;
}

#pun-post .post h3 span {
justify-content: space-between;
flex-direction: row-reverse;
}

.post h3 strong {
text-align: right;
font-weight: 500;
line-height: 110%;
color: var(--link2);
border-radius: 0;
box-sizing: border-box;
border-bottom: none;
padding: 0;
}

.post h3 strong.fnt {
background: transparent;
color: var(--link2);
padding: 0;
border-radius: 0;
border: none !important;
margin-right: 60px !important;
}

#pun-searchposts .post h3 strong {
position: absolute;
right: 0;
}

.post h3 a {
max-width: 160px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}

.post h3,
.post h3 a {
color: var(--text);
line-height: 10px;
}

.post h3 a:hover {
color: var(--hover-text);
}

.post h3 a.permalink, #pun-messages .post h3 span {
    color: var(--link2);
    box-sizing: border-box;
    padding: 0;
    border-bottom: none;
    line-height: 110%;
}

.post h3 a.permalink:hover {
color: var(--hover);
}

/*-------------- ПРОФИЛЬ --------------*/
#profile {
min-height: 316px;
}

#pun-profile .fs-box, #pun-upavatar .fs-box {
border-radius: 10px;
background: var(--pun-container);
padding: 8px 14px;
box-sizing: border-box;
box-shadow: inset 0 0 0 1px var(--border);
}

#pun-profile #profile5 .fs-box.hashelp {
background: transparent;
box-shadow: none;
padding: 0;
}

#profile.messages-container .fs-box {
padding: 0;
}

#profile.messages-container #post-form .fs-box {
padding: 0;
box-shadow: none !important;
}

#profile .fs-box>p:first-of-type {
padding-top: 0;
}

#profile .container {
display: block;
margin: 8px 0 0;
}

#profile .container .container {
margin: unset;
}

#profilenav {
margin: 0 calc(var(--pun-padding) * 4) var(--pun-padding) 0;
float: left;
}

#profilenav ul {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
flex-direction: column;
gap: 8px;
}

#profilenav ul li {
width: 140px;
}

#profilenav ul li a {
justify-content: center;
align-items: center;
box-sizing: border-box;
padding: 6px 12px 7px;
margin: 0;
text-transform: lowercase;
background: var(--button);
border-radius: 20px;
text-align: center;
font-weight: 400;
letter-spacing: .2px;
color: var(--button-text);
font-size: 12px;
    display: flex;
}

#profilenav ul li a:hover {
background: var(--hover);
color: var(--hover-text);
}

#profilenav ul li.isactive a {
background: var(--select);
color: var(--select-text);
border: 1px solid var(--border);
}

#profile fieldset .fs-box p.inputfield a, #profile fieldset .fs-box p.datafield a {
border-radius: 10px;
padding: 7px 20px 8px;
display: inline-block;
background: var(--button);
color: var(--button-text);
text-transform: lowercase;
font-size: 12px;
font-weight: 400;
}

#profile fieldset .fs-box p.datafield a {
margin: 4px 0 0;
box-shadow: none;
}

#profile fieldset .fs-box p.inputfield a:hover, #profile fieldset .fs-box p.datafield a:hover {
background: var(--hover);
color: var(--hover-text);
}

#profile .formsubmit input.button {
margin: 0 10px 10px 0;
}

#profile .formsubmit {
margin: auto auto auto calc(140px + var(--pun-padding) * 4);
}

#profile fieldset .formsubmit {
margin: 0;
}

#profile fieldset {
margin: 0 0 12px calc(140px + var(--pun-padding) * 4);
}

#profile fieldset fieldset.radiofield {
margin: 0;
}

#profile7 fieldset fieldset.radiofield {
box-shadow: none !important;
}

fieldset fieldset,
#post fieldset {
margin: inherit;
}

table#filetable {
border-spacing: 0 8px !important;
}

#profile1 fieldset .fs-box p.datafield a {
border-radius: 0;
padding: 0;
display: inline;
background: transparent;
margin: 0;
color: var(--link2);
}

#profile1 fieldset .fs-box p.datafield a:hover {
background: transparent !important;
box-shadow: none;
color: var(--hover);
}

#profile2 span.input {
padding: 0 !important;
}

#profile2 #sex.infofield {
padding: 8px 0 0;
}

#profile1 #num-posts,
#profile1 fieldset:last-of-type .inputfield:last-of-type,
#profile1 fieldset:nth-of-type(3) .selectfield:nth-of-type(2) {
margin: 8px 0 0;
}

#profile2 p {
margin: 16px 0 0;
}

#profile2 #title {
margin: 0 0 0;
}
#profile1 .infofield, #profile2 #title em {
text-transform: lowercase;
font-size: 9px;
letter-spacing: .1px;
margin: 0;
vertical-align: middle;
}

#profile1 .infofield {
padding: 4px 0 0;
display: block;
}

#profile2 #title em {
padding: 4px 0 0 4px;
display: block;
color: var(--text-pale);
}

#profile2 #about-me label {
font-size: 12px;
font-style: normal;
font-weight: 500;
text-transform: lowercase;
padding: 0;
margin: 4px 0 6px;
display: inline-block;
color: var(--link1);
}

#profile2 p#realname,
#profile2 p#location,
#profile2 p#sex,
#profile2 p#sex~.radiofield,
#profile2 p#interests,
#profile2 p#about-me,
#profile2 p#website,
#profile2 p#birthday {
display: none;
}

#profile4 img.avatardemo {
margin: 0 0 0 20px;
border-radius: 0;
}

#profile4 .fs-box {
min-height: 196px;
}

#profile5 .fs-box:first-of-type {
margin: auto auto 20px;
}

#profile5 .parsedsig {
margin: 4px 0 12px;
}

#profile5 .parsedsig p,
#profile5 .parsedsig p span,
#viewprofile #profile-signature p,
#viewprofile #profile-signature p span {
line-height: unset;
}

#profile5 span.label {
display: none;
}

#profile5 td#button-sticker,
#profile5 td#button-mask,
#profile5 td#button-code,
#profile5 td#button-video,
#profile5 td#button-float,
#profile5 td#button-adm-spoiler,
#pun-messages td#button-mask,
#pun-messages td#button-adm-spoiler,
#profile5 td#button-hide {
display: none !important;
}

#profile5 #font-area,
#pun-messages #font-area {
width: 220px !important;
}

#profile5 #font-area div,
#pun-messages #font-area div {
width: auto !important;
}

#pun-messages #post-form div.container {
padding: 12px !important;
}

#viewprofile #profile-signature ul {
border-style: none;
}

#profile7 input {
box-shadow: none;
}

#profile8 fieldset .fs-box .submitfield input.button {
margin: 8px 0 0;
}

#profile8 fieldset:nth-of-type(7) {
display: none;
}

#profile8 input#sub4 {
cursor: pointer;
text-transform: lowercase;
border-radius: 10px;
padding: 6px 8px;
display: inline-block;
background: var(--pun);
color: var(--link1);
box-shadow: none;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

#profile8 input#sub4:hover {
background: var(--pun-content-color);
color: var(--link1);
}

#profile8 input#fld1,
#profile8 input#fld2,
#profile8 input#fld3,
#profile8 input#fld5,
#profile8 input#fld6 {
width: calc(100% - 20px);
}

#profile8 input#fld4 {
width: calc(100% - 20px - 188px);
}

#profile #profile8 .fs-box {
border-radius: 0;
background: transparent;
padding: 4px 0px;
box-shadow: none !important;
}

#profile10 table#filetable,
#profile10 .submitend {
text-transform: lowercase;
margin: auto auto auto calc(150px + var(--pun-padding) * 3) !important;
width: calc(100% - 150px - var(--pun-padding) * 3) !important;
}

#profile10 table#filetable {
border-spacing: 8px !important;
box-shadow: inset 0 0 0 1px var(--border);
border-radius: 10px;
}

#profile10 .submitend {
padding: 8px 0 !important;
}

#profile10 #update_comments,
#profile10 #del_file {
margin-right: 0 !important;
margin-left: 8px !important;
}

#profile10 .tcr input {
width: auto !important;
}

#profile10 .pagelink {
text-transform: lowercase;
padding: 8px 0 !important;
}

#profile10 #uploaded-count-block {
padding: 0 !important;
font-size: 1em !important;
text-transform: lowercase !important;
}

#profile10 table#filetable td {
text-align: center;
}

#profile10 th {
background: none !important;
}

#profile10 .adinfofield {
padding: 4px 0;
text-transform: lowercase;
}

#profile10 fieldset .fs-box li {
font-size: 12px;
}

#profile11 .submitfield {
margin-top: 12px;
}

#profile11 .inputfield label {
margin-bottom: 12px;
}
#profile11 .fs-box:first-of-type>.submitfield:first-of-type {
margin-top: 0 !important;
}

#profile2 #realname input,
#profile2 #title input,
#profile2 #location input,
#profile2 #website input,
#profile2 #interests input {
width: 300px;
}

.profile-notifications-content fieldset:last-of-type .fs-box p {
margin: 0 0 8px;
}

.profile-notifications-content fieldset:last-of-type .fs-box p.infofield {
margin: 0;
}
.notification-item .notification-type-toggle {
display: none;
}

p.datafield.registered,
p.datafield.last-post,
p.datafield.last-visit {
text-transform: lowercase;
}

/*--- Предпросмотр профиля ---*/
#viewprofile {
margin: 0;
box-sizing: border-box;
position: relative;
transition: all .12s ease-in-out !important;
-webkit-transition: all .12s ease-in-out !important;
-moz-transition: all .12s ease-in-out !important;
-o-transition: all .12s ease-in-out !important;
}

#viewprofile>.container {
z-index: 1;
position: relative;
}

#viewprofile strong {
font-weight: 400;
line-height: 140%;
}

#viewprofile #profile-signature strong {
font-weight: 600;
line-height: unset;
}

#viewprofile .container tr {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 90%;
    margin: 0 auto;
}

#viewprofile .container #profile-signature tr {
display: table-row;
}

#viewprofile .container #profile-signature td,
#profile5 .parsedsig td {
padding: 4px;
}

#viewprofile #profile-left {
    width: var(--profile-width);
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    gap: 0;
    padding: 5px 17px 7px !important;
    position: relative;
    border-radius: 16px;
    background: var(--pun-container);
    box-shadow: inset 0 0 0 1px var(--border);
}

#viewprofile #profile-left li {
z-index: 2;
}

#viewprofile #pa-avatar {
    margin: 0 auto 10px;
    padding: 0;
    order: 3;
}

#viewprofile #pa-avatar img {
border-radius: 0;
padding: 0;
margin: 0 auto !important;
}

#viewprofile #profile-name {
    order: 1;
    width: 100%;
    height: auto;
    text-align: center;
    font-family: var(--font);
    text-transform: lowercase;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: flex-end;
    border-bottom: none;
    padding: 0;
    flex-wrap: nowrap;
    margin: 8px 0 12px;
    box-sizing: border-box;
    justify-content: center;
}

#viewprofile #profile-title {
order: 2;
font-size: 9px;
font-weight: 400;
text-align: center;
line-height: 140%;
width: 84%;
text-transform: lowercase;
margin: 0 0 8px;
box-sizing: border-box;
letter-spacing: .2px;
display: flex !important;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-end;
align-items: center;
position: relative;
color: var(--text-pale);
display: none!important;
}

#viewprofile #profile-title strong {
font-weight: 400 !important;
}

#viewprofile #profile-name strong {
font-weight: 700 !important;
font-size: 1em !important;
line-height: 120%!important;
}

#viewprofile #pa-online {
text-align: center;
margin: 0 auto 10px;
line-height: 100%;
text-transform: lowercase;
font-size: 10px;
order: 6;
}

#viewprofile #pa-online strong {
font-weight: 400 !important;
}

#viewprofile #pa-edit {
display: flex;
width: 100%;
height: auto;
text-align: center;
justify-content: center;
align-items: center;
margin-top: 10px;
order: 7;
}

#viewprofile #pa-edit a {
    display: block;
    width: fit-content;
    height: auto;
    font-weight: 400;
    padding: 4px 16px 6px;
    box-sizing: border-box;
    border-radius: 6px;
    text-transform: lowercase;
    font-size: 12px;
    letter-spacing: .2px;
    color: var(--hover-text);
    background: var(--hover);
}

#viewprofile #pa-edit a:hover {
    background: var(--extra1);
    color: var(--extra1-text);
}

#viewprofile #profile-right {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - var(--profile-width) - 30px);
    font-size: 12px;
}
#viewprofile #profile-right li {
    text-transform: lowercase;
    text-align: left;
    box-sizing: border-box;
    padding: 6px;
    width: 100%;
    border-radius: 10px;
    background: var(--pun-container);
    border: 1px solid var(--border);
        align-content: center;
}

#viewprofile #profile-right li#pa-posts strong, #viewprofile #profile-right li#pa-email strong {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

#viewprofile #profile-right li#pa-posts strong a, #viewprofile #profile-right li#pa-email strong a {
    color: var(--link2);
}

#viewprofile #profile-right li#pa-posts strong a:hover, #viewprofile #profile-right li#pa-email strong a:hover {
    color: var(--link1);
}
#viewprofile #profile-right li>span {
    display: inline-block;
    text-align: center;
    width: fit-content;
    line-height: 110%;
    box-sizing: border-box;
    padding: 3px 9px 5px;
    border-radius: 6px;
    font-weight: 400;
    background: var(--button);
    margin-right: 6px;
}

#viewprofile #profile-right li>span,
#viewprofile #profile-right li>span a {
color: var(--button-text);
}

#viewprofile #profile-right li>span a:hover {
color: var(--link1);
}

#profile-right li strong {
padding-left: 0 !important;
line-height: 160%;
}

#viewprofile #profile-signature {
margin: 0;
padding: 30px 0 0;
}


#viewprofile #profile-right li {
    order: 7;
}

#viewprofile #profile-right li#pa-posts {
    order: 1;
}
#viewprofile #profile-right li#pa-fld2 {
    order: 2;
}
#viewprofile #profile-right li#pa-respect {
    order: 3;
}
#viewprofile #profile-right li#pa-positive {
    order: 4;
}
#viewprofile #profile-right li#pa-fld1 {
    order: 5;
}
#viewprofile #profile-right li#pa-email {
    order: 6;
}

/*--- Всплывающие уведомления, подсказки и jGrowl ---*/
.tipsy .tipsy-inner {
min-width: none !important;
}

.tipsy-inner table {
width: auto !important;
}

.tipsy-inner table#respect td {
font-size: 0;
}

.tipsy-inner table#respect td {
font-size: 0;
}

.tipsy-inner table#respect .prof,
.tipsy-inner table#respect a {
font-size: 12px;
text-transform: lowercase;
}

.tipsy-inner table#respect figcaption {
margin: 2px 0 0;
}

.tipsy-inner table#respect figure {
width: 54px !important;
}

.tipsy-inner table#respect figure .vote {
display: none !important;
}

.tipsy-arrow {
display: none;
}

#tooltip,
.tipsy-inner {
z-index: 999999;
border-radius: 5px !important;
padding: 3px 7px !important;
font-family: var(--font);
text-transform: lowercase;
font-size: 9px !important;
letter-spacing: .5px;
text-transform: lowercase;
background: rgba(37,37,37,.95) !important;
color: rgba(255,255,255,.8) !important;
opacity: .9;
text-align: center;
}

#tooltip,
.tipsy-inner,
#respect figure .prof,
.tipsy-inner a {
color: rgba(255,255,255,.8) !important;
text-decoration: none !important;
}

#tooltip {
position: absolute;
max-width: 240px;
display: none;
}

#tooltip table {
width: auto;
}

.jGrowl-notification,
.jGrowl .messag_theme,
#messages-list a.Author,
.jGrowl-closer {
background: #262626 !important;
color: #d0d0d0 !important;
font-size: 12px !important;
font-family: var(--font) !important;
text-transform: lowercase !important;
opacity: .9;
}

.jGrowl-message {
line-height: 150% !important;
}

.jGrowl-message strong {
font-weight: 600 !important;
}

.jGrowl-notification .jGrowl-header {
font-size: unset !important;
padding-bottom: unset !important;
}

.jGrowl-notification .jGrowl-close {
margin: unset !important;
font-family: unset !important;
font-weight: unset !important;
}

.jGrowl-notification,
.jGrowl .messag_theme,
#messages-list a.Author {
text-shadow: none !important;
font-weight: normal !important;
}

.jGrowl-notification a,
.jGrowl-notification em.guest-link {
color: var(--link1) !important;
}

.jGrowl-notification,
.jGrowl-closer,
.notification-spoiler {
border-radius: 10px !important;
}

.notification-right {
overflow: hidden;
}

.notification-item {
padding: 10px;
}

.notify-message .jGrowl-close {
padding: 2px 5px !important;
}

.pun-modal {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
bottom: 0;
z-index: 100000;
}

.pun-modal .modal-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .5);
cursor: pointer;
z-index: 110000;
}

.pun-modal .modal-inner {
width: 700px;
max-width: 94%;
height: auto;
max-height: 44em;
margin: 12% auto 0;
position: relative;
z-index: 120000;
overflow: hidden;
}

.pun-modal h2,
.pun-modal h1 {
max-width: 700px;
margin: 0;
}

.modal-inner h2 span {
font-size: 0;
}

.pun-modal .container {
padding: 8px 12px;
max-height: 40em;
overflow: auto;
}

.pun-modal .closer {
font-size: 1.5em;
line-height: 1;
padding: 0;
margin: 0px;
cursor: pointer;
background: none 0 transparent;
position: absolute;
right: 8px;
top: 4px;
}

.noscroll {
overflow: hidden;
}

/*--- Выделение ---*/
::-moz-selection {
background: var(--select);
color: var(--select-text);
text-shadow: none !important;
}

::selection {
background: var(--select);
color: var(--select-text);
text-shadow: none !important;
}

/*--- Скроллбары ---*/
::-webkit-scrollbar {
width: 8px;
height: 0;
}

textarea::-webkit-scrollbar,
#tags .container::-webkit-scrollbar,
#tags .container div::-webkit-scrollbar,
.scrollbox::-webkit-scrollbar,
.hvStickerPackModalContent::-webkit-scrollbar,
.banners::-webkit-scrollbar {
width: 3px;
height: 0;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
background: var(--scrollbar);
}

textarea::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-corner,
#tags .container::-webkit-scrollbar-track,
#tags .container::-webkit-scrollbar-corner,
#tags .container div::-webkit-scrollbar-track,
#tags .container div::-webkit-scrollbar-corner,
.scrollbox::-webkit-scrollbar-track,
.scrollbox::-webkit-scrollbar-corner,
.hvStickerPackModalContent::-webkit-scrollbar-track,
.hvStickerPackModalContent::-webkit-scrollbar-corner,
.banners::-webkit-scrollbar-track,
.banners::-webkit-scrollbar-corner {
background: transparent;
}

::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb);
}

textarea::-webkit-scrollbar-thumb,
#tags .container::-webkit-scrollbar-thumb,
.scrollbox::-webkit-scrollbar-thumb,
.hvStickerPackModalContent::-webkit-scrollbar-thumb {
background-color: var(--hover);
}

.banners::-webkit-scrollbar-thumb {
background-color: var(--textarea) !important;
}

/*-------------- АДМИНКА --------------*/
#forum-foundation p,
#forum-foundation table {
font-size: 12px;
text-transform: lowercase;
}

#forum-foundation table th {
text-align: left;
padding: 10px 0 6px;
}

#forum-foundation table td {
text-align: left !important;
}

#forum-foundation table li {
margin-bottom: 6px;
}

#top-donators,
#latest-donators {
display: none;
}

.ace_editor {
overflow: hidden !important;
}

#pun-admain h1 span,
#pun-admain h2 span,
#pun-admain legend span,
#pun-admain .adformal h3 span {
font-size: 1em !important;
font-weight: 500 !important;
color: var(--text-pale);
}

#pun-admain .adformal h2,
#pun-adnav h2 {
padding: 8px 12px !important;
border-style: none !important;
border-width: 0 1px 1px 0 !important;
background-color: transparent !important;
text-align: center !important;
}

#pun-admain .adcontainer {
border-style: none !important;
border-width: 0 !important;
border-color: transparent !important;
}

#pun-admain .adcontainer th {
border-color: var(--border) !important;
background-color: var(--border) !important;
text-align: center !important;
}

#pun-admain .adcontainer td {
border-color: var(--border) !important;
text-align: center !important;
}

#pun-admain fieldset {
border-style: none !important;
border-width: 0 !important;
margin: 0 0 16px !important;
border-color: transparent !important;
padding: 0 !important;
}

#pun-admain .adformal {
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
background: var(--pun-container) !important;
padding: var(--pun-padding) !important;
border-radius: 10px !important;
box-shadow: inset 0 0 0 1px var(--border)
}

#pun-admain legend {
padding: 0 !important;
margin: 0 !important;
font-size: 1em !important;
color: var(--link1) !important;
}

#pun-admain legend span {
padding: 0 !important;
margin: 0 !important;
background-color: transparent !important;
}

#pun-admain .adformal {
border-style: none !important;
border-width: 0 !important;
border-color: transparent !important;
}

#pun-admain fieldset .handle,
#pun-admain fieldset p {
margin-bottom: 4px !important;
padding: 4px 0 !important;
position: relative !important;
border-color: var(--pun) !important;
background-color: var(--textarea) !important;
}

#pun-admain div p.adinfofield {
padding: 8px 12px !important;
line-height: 150%;
}

#pun-admain label,
div#pun-admain .adlabel {
font-weight: 400 !important;
color: var(--text) !important;
text-transform: lowercase !important;
}

#pun-admain .adinput em {
text-transform: lowercase !important;
}

#pun-adnav ul {
padding: 0 !important;
display: flex !important;
flex-wrap: nowrap !important;
justify-content: space-between !important;
align-items: center !important;
flex-direction: column !important;
gap: 8px !important;
text-align: center !important;
text-transform: lowercase !important;
}

#pun-adnav li {
padding: 0 !important;
width: 100% !important;
position: relative !important;
}

#pun-adnav li a:hover {
background: var(--hover) !important;
color: var(--hover-text) !important;
}

#pun-adnav li a {
display: flex !important;
justify-content: center !important;
align-items: center !important;
height: auto !important;
box-sizing: border-box !important;
padding: 6px 12px !important;
margin: 0 !important;
text-transform: lowercase !important;
background: var(--button) !important;
border-radius: 20px !important;
text-align: center !important;
font-weight: 400 !important;
letter-spacing: .2px !important;
color: var(--button-text) !important;
width: 100% !important;
font-size: 12px;
}

#pun-adnav li.isactive a {
background: var(--select) !important;
color: var(--select-text) !important;
font-weight: 400 !important;
border: 1px solid var(--border) !important;
}

#pun-adnav li.isactive li a {
border: 0!important;
}

#pun-adnav ul.adsubnav {
border: 1px solid var(--border);
background: var(--pun-container);
padding: 8px 0 8px !important;
margin: 0 0 0 !important;
border-radius: 0 0 10px 10px;
border-top: 0;
}

#pun-adnav li.isactive:has(ul) a {
border-radius: 10px 10px 0 0 !important;
border-bottom: 0;
}

#pun-adnav ul.adsubnav a {
font-weight: 400 !important;
color: var(--link2) !important;
text-decoration: none !important;
background: transparent !important;
padding: 0 !important;
letter-spacing: .2px !important;
height: auto !important;
}

#pun-adnav ul.adsubnav a:hover {
color: var(--hover) !important;
}

#pun-adnav li.isactive ul.adsubnav {
display: flex !important;
}

#pun-adnav ul.adsubnav {
display: none !important;
}

#pun-adnav ul.adsubnav li {
list-style: none !important;
padding: 0 !important;
}

sup.new {
display: none;
}

#pun-admain1 form.adcontainer,
#pun-admain2 form.adcontainer,
#pun-admain-new form.adcontainer,
#pun-admain1 div.adcontainer,
#pun-admain2 div.adcontainer {
padding: 0 !important;
}

#pun-admain a {
cursor: pointer;
color: var(--link1) !important;
}

#pun-admain a:hover {
color: var(--hover) !important;
}

#pun-admain.post {
box-shadow: none !important;
background: transparent !important;
border-radius: 0 !important;
}

#pun-admin_logs #pun-admain .postlink {
font-size: 12px !important;
text-align: right;
}

#pun-admin_pages #pun-admain textarea {
min-height: 800px;
}

#pun-admin_paid_services .linksb,
#pun-admin_mail .linksb {
margin: 0 auto 20px;
background: var(--border);
}

#pun-admin_logs #pun-admain .pagelink,
#pun-admin_mail #pun-admain .pagelink {
padding: 3px 3px 3px 10px;
}

#pun-admin_paid_services .postlink,
#pun-admin_mail .postlink {
text-align: center;
}

#pun-admin_paid_services .pagelink,
#pun-admin_paid_services .postlink,
#pun-admin_mail .pagelink,
#pun-admin_mail .postlink {
padding: 4px 0;
font-size: 12px !important;
text-transform: none !important;
box-shadow: none;
}

#pun-admin_paid_services .linksb strong,
#pun-admin_mail .linksb strong {
background: transparent;
font-size: unset;
font-weight: 500;
padding: 0 3px;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
min-width: auto;
}

/*--- ФОРМА ОТВЕТА ГОСТЯ ---*/
.gid3 #pun-viewtopic .fs-box.hashelp {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
}

.gid3 #pun-viewtopic .fs-box.hashelp .inputfield.required {
order: 1;
margin: 0 0 8px;
}

.gid3 #pun-viewtopic .fs-box.hashelp #form-buttons,
.gid3 #pun-viewtopic .fs-box.hashelp #tags {
order: 2;
}

.gid3 #pun-viewtopic .fs-box.hashelp .areafield.required {
order: 3;
}

/*--- Стиль для быстрой смены аккаунтов @ Deff ---*/
#pun-navlinks a:not(.NextShow)+span.odd {
display: none !important;
}

#pun-navlinks #New-exit img {
display: none;
}

.punbb #pun-navlinks a#New-exit {
z-index: 100000 !important;
}

.punbb #pun-navlinks a#New-exit:before {
content: "выход";
display: flex;
width: auto;
align-items: center;
letter-spacing: .6px;
line-height: 1;
font-family: var(--font);
font-size: 15px;
text-transform: lowercase;
font-weight: 400;
}

a.NextShow span {
font-size: 0 !important;
}

a.NextShow span:before {
content: "скрыть форму";
font-size: 15px;
}

.punbb #pun-navlinks #form-login input[type="submit"] {
border: none;
color: var(--button-text);
background: var(--button);
cursor: pointer;
margin: 20px 0 0 !important;
text-transform: lowercase;
}

.punbb #pun-navlinks #form-login input {
border: none;
margin-top: 4px !important;
text-transform: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background: var(--textarea);
}

.punbb #pun-navlinks #form-login input[type="submit"]:hover {
color: var(--hover-text);
background: var(--hover);
}

.punbb li .odd {
position: absolute !important;
}

.punbb #pun-navlinks #form-login {
white-space: normal !important;
text-shadow: none;
display: block;
min-width: 110px;
font: var(--font);
text-transform: none;
position: absolute !important;
left: 50px;
top: 23px;
z-index: 100000 !important;
text-align: center;
background: var(--pun);
box-sizing: border-box;
padding: 10px 20px;
border-radius: 0 16px 16px 0;
height: 170px;
color: var(--text);
font-size: 12px;
box-shadow: inset 0 0 0 1px var(--border), 0 0 6px 0 var(--shadow);
}

.gid3 .punbb #pun-navlinks #form-login {
height: 204px;
}

#pun-navlinks #navlogout #form-login {
margin: 0;
}

.ismoderator #pun-navlinks #navlogout #form-login {
margin: 0 !important;
}

#pun-navlinks #form-login div#List-UserNames:after {
content: "чтобы скрипт запомнил ник, он должен быть указан в том же регистре, что и в профиле";
display: block;
margin: 10px 0 4px;
font-size: 9px;
line-height: 130%;
}

#pun-navlinks #form-login input[value="Войти"]+p {
margin-bottom: 11px;
margin-top: 11px;
}

.punbb #pun-navlinks #form-login a.Rega,
.punbb #pun-navlinks #form-login a.Forgot {
width: auto;
height: auto !important;
white-space: normal !important;
position: relative;
z-index: 20;
text-shadow: none;
cursor: pointer;
font-size: 9px;
text-transform: lowercase;
}

.punbb #pun-navlinks #form-login a.Rega:before,
.punbb #pun-navlinks #form-login a.Forgot:before {
content: none;
}

#form-login input.none {
outline: red solid 1px !important;
}

#List-UserNames {
position: absolute;
margin: -10px -1px 0 0;
min-height: auto;
height: fit-content;
width: fit-content;
right: 100%;
padding: 10px;
border-radius: 16px 0 16px 16px;
text-align: center;
background: var(--pun-container);
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-items: stretch;
justify-content: space-between;
box-shadow: inset 0 0 0 1px var(--border), 0 0 6px 0 var(--shadow);
}

.punbb #List-UserNames ul {
padding: 0;
overflow: hidden;
overflow-y: auto;
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
min-height: 120px;
}

.punbb #List-UserNames li {
position: relative;
background: var(--button);
text-align: left;
margin: 0 0 4px 0 !important;
padding: 5px 10px;
display: flex !important;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: flex-start;
border-radius: 10px;
box-sizing: border-box;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
cursor: pointer;
}

.punbb #List-UserNames li>b {
color: var(--button-text);
font-weight: 400;
width: 100%;
font-size: 12px;
}

.punbb #List-UserNames li:hover {
background: var(--hover);
color: var(--hover-text);
}

.punbb #List-UserNames li:hover>b,
#List-UserNames ul li:hover>span {
color: var(--hover-text);
}

#List-UserNames ul::-webkit-scrollbar {
width: 3px;
height: 0;
}

#List-UserNames ul::-webkit-scrollbar-track {
background: transparent;
box-shadow: none;
}

#List-UserNames ul::-webkit-scrollbar-thumb {
background: var(--extra1);
box-shadow: none;
}

#List-UserNames ul li>span {
padding: 0 !important;
cursor: pointer;
margin: 0 !important;
vertical-align: middle;
color: var(--button-text);
}

#List-UserNames ul li>span:hover {
color: #000000;
}

#List-UserNames ul:empty:before {
display: inline-block;
content: "нет ников, введенных через форму справа или перенос ниже";
line-height: 130%;
}

#form-login span:not(#form-login input, #form-login span span) {
text-transform: lowercase;
display: inline-block;
margin: 10px 0 0;
padding: 0;
}

#navlogin #exit-2 {
display: none;
}

.punbb #pun-navlinks #navlogout .Rega,
.punbb #pun-navlinks #navlogout .Forgot {
background-image: none !important;
display: none !important;
}

#List-UserNames ul+span {
display: inline-block;
padding: 6px 0 8px 0;
text-align: left;
font: normal normal 400 10.56px/normal var(--font);
}

.punbb #pun-navlinks #form-login #List-UserNames input {
display: block !important;
background: var(--textarea);
border: none;
box-sizing: border-box;
margin: 0 auto 0 !important;
}

#List-UserNames ul+span b {
font: normal normal 400 13px/normal var(--font);
padding: 0 3px;
}

#List-UserNames .a1-copy {
display: inline-block !important;
cursor: pointer;
float: left;
}

#List-UserNames .a1-paste {
cursor: pointer;
display: inline-block !important;
float: right;
}

.tipsy.a11 {
max-width: 170px;
}

li#navlogout {
display: flex;
flex-wrap: nowrap;
gap: 20px;
}

#form-login>span {
display: none !important;
}

/*-------------- МОБИЛЬНЫЕ --------------*/
@media screen and (max-device-width: 1024px) {
body {
width: 1050px;
background: var(--body);
}
}

@media screen and (max-device-width: 768px) {
body {
width: 1050px;
background: var(--body);
}

#post-form .formsubmit {
text-align: left;
}

.post-content {
margin-bottom: 20px;
}

#post input.button.submit:first-of-type {
margin: 0 10px 0 0 !important;
}

#pun-ulinks .container,
#pun-navlinks .container {
flex-wrap: wrap;
}

#post input.button.submit,
#post input.button.preview {
font-size: 14px;
}
}