/* ÄÎÁÀÂÈÒÜ ÏÅÐÅÌÅÍÍÛÅ È ÖÂÅÒÀ */
@import url(style_cs.1775954062.css);
@import url("https://fonts.googleapis.com/css2?family=Finlandica:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css");
@import url(https://forumstatic.ru/files/001a/28/10/55678.css);
@import url(https://forumstatic.ru/files/001a/28/10/36579.css);
@import url(https://forumstatic.ru/files/001a/28/10/75564.css);

@font-face {
    font-family: "Dehuti";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/7a/10/21168.otf);
}

@font-face {
    font-family: "Fog";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/7a/10/72487.otf);
}

@font-face {
    font-family: "DehutiAlt";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/7a/10/42509.otf);
}

@font-face {
    font-family: "DehutiAlt-bold";
    font-style: normal;
    font-weight: 600;
    src: url(https://forumstatic.ru/files/001c/7a/10/91414.otf);
}

@font-face {
    font-family: "DejaVu";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/7a/10/27916.otf);
}

@font-face {
    font-family: "DejaVuOblique";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/7a/10/17689.otf);
}

@font-face {
    font-family: "Herofire";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/10/8e/13081.ttf);
}

@font-face {
    font-family: "DragonSlayer";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/10/8e/70397.ttf);
}

@font-face {
    font-family: "DarkReborn";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/10/8e/34257.ttf);
}

@font-face {
    font-family: "Throne";
    font-style: normal;
    font-weight: 400;
    src: url(https://forumstatic.ru/files/001c/10/8e/84475.otf);
}

@import url("https://fonts.googleapis.com/css2?family=LXGW+Marker+Gothic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

html {
    font-family: var(--base-font);
    font-size: var(--base-font-size);
    color: var(--base-font-color);
    line-height: 1.3;
    font-weight: normal;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--post-author-name-color) var(--button-bg);
}

body {
    background: var(--main-bg);
    padding: 0;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: var(--button-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--post-author-name-color);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--post-author-name-hover-color);
}

::selection {
    background: var(--button-bg);
    color: var(--post-author-name-color);
}

/* ÍÀÂÈÃÀÖÈß */
.crumbs,
#pun-status {
    font-family: var(--accent-font);
    font-size: 1.1rem;
}

#pun-status {
    margin-bottom: calc(3 * var(--base-spacing));
}

#pun-status .status_userava>img {
    filter: grayscale(1);
    border-radius: 50%;
    height: 34px;
    object-fit: cover;
}

/* ÑÑÛËÊÈ */
.punbb-admin #pun-admain a,
a {
    text-decoration: none;
    color: var(--link-color);
    transition: all 0.7s ease-in-out 0s;
    font-weight: bold;
}

.punbb-admin #pun-admain a:hover,
a:hover {
    color: var(--link-color-hover);
    transition: all 0.7s ease-in-out 0s;
}

/* ÏÎËß ÔÎÐÌÛ */
.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup,
.multiacc-dialog form div input {
    font-size: 1.1rem;
    background: var(--quote-input-bg);
    border: var(--quote-input-border);
    outline: none;
    border-radius: calc(0.5 * var(--base-spacing));
    text-transform: none;
    padding: calc(0.5 * var(--base-spacing));
    font-family: var(--base-font);
}

.punbb .button {
    background-color: var(--button-bg);
    font-family: var(--accent-font);
    font-size: 0.95rem;
    transition: all 0.5s ease-in-out 0s;
    text-transform: uppercase;
    color: var(--button-text-color);
    padding: calc(0.5 * var(--base-spacing)) calc(2 * var(--base-spacing));
    cursor: pointer;
    border-radius: 5px;
    border: var(--button-border);
    box-shadow: 0px 0px 10px #29260961 inset;
    padding-top: 9px;
}

.punbb .button:hover {
    transition: all 0.5s ease-in-out 0s;
    background-color: var(--button-hover-bg);
    color: var(--button-hover-text-color);
    border-color: var(--button-hover-border);
}

/* ÑÒÐÀÍÈÖÛ */
.linkst,
.linksb {
    display: flex;
    align-items: center;
    gap: var(--base-spacing);
    margin: var(--base-spacing) 0;
    position: relative;
    z-index: 2;
}

.pagelink {
    background: var(--quote-input-bg);
    border: var(--quote-input-border);
    padding: calc(0.5 * var(--base-spacing));
    border-radius: calc(0.5 * var(--base-spacing));
    text-transform: lowercase;
    width: fit-content;
    order: 1;
    margin-right: auto;
}

.postlink,
.linkst noindex,
.linksb noindex {
    order: 2;
}

.subscribelink {
    order: 3;
}

/* ÖÈÒÀÒÛ È ÊÎÄ */
.punbb .quote-box,
.punbb .code-box,
.post-content .quote-box.spoiler-box blockquote {
    background: var(--quote-input-bg);
    border-radius: calc(1.5 * var(--base-spacing));
    box-shadow: 0 0 0 2px #666b5b1f;
    padding: calc(2 * var(--base-spacing));
    margin-bottom: var(--base-spacing);
    color: var(--base-font-color);
}

.punbb .quote-box cite,
.punbb .code-box .legend {
    background: var(--quote-input-bg);
    padding: calc(0.5 * var(--base-spacing)) var(--base-spacing);
    border-radius: calc(0.5 * var(--base-spacing));
    text-transform: lowercase;
}

.punbb .quote-box cite {
    padding-left: 40px;
    margin-left: -16px;
    font-style: normal;
}

.punbb .quote-box .author-avatar {
    position: relative;
    left: 24px;
    top: 0;
    border-radius: 50%;
}

.punbb .quote-box .author-avatar>img {
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

.quote-box.with-avatar blockquote {
    padding-left: calc(2 * var(--base-spacing));
}

/* ÑÏÎÉËÅÐ */
.post-content .quote-box.spoiler-box {
    padding: 0;
    background: transparent;
}

.post-content .quote-box.spoiler-box blockquote {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.post-content .spoiler-box>div {
    text-align: center;
    background: var(--generic-bg) !important;
    font-size: 0.8rem;
    padding: calc(1.5 * var(--base-spacing));
    color: var(--button-text-color);
    box-shadow: 2px 2px 5px #000000ba;
    border-radius: calc(1.5 * var(--base-spacing));
    position: relative;
}

.post-content .spoiler-box>div:before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    top: 4px;
    left: 15px;
    background: url(https://forumstatic.ru/files/001c/10/8e/87771.png);
    transition: all 0.3s cubic-bezier(0.64, 0.51, 0.55, 1.6) 0s;
}

.post-content .spoiler-box>div.visible:before {
    background: url(https://forumstatic.ru/files/001c/10/8e/30503.png);
    transition: all 0.3s cubic-bezier(0.64, 0.51, 0.55, 1.6) 0s;
}

/* ÔÎÐÓÌ */
#pun_wrap {
    width: var(--main-width);
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

#pun {
    width: var(--main-width);
    margin: 0 auto;
    margin-top: var(--header-height);
    background: var(--body-bg);
    padding: 0 var(--body-padding-lr);
    box-sizing: border-box;
}

#pun:before {
    content: "";
    display: block;
    width: 100%;
    height: 107px;
    position: absolute;
    left: 0;
    top: var(--header-height);
    background: var(--body-top);
    pointer-events: none;
    z-index: 1;
}

/* ÂÍÓÒÐÅÍÍÈÉ ÊÎÍÒÅÉÍÅÐ ÒÅËÀ ÔÎÐÓÌÀ */
.punbb {
    position: relative;
    z-index: 2;
    padding: var(--body-inner-padding-top) var(--body-inner-padding) var(--body-inner-padding);
}

/*ÍÀÂÈÃÀÖÈß*/
#pun-navlinks ul,
#pun-ulinks ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--base-spacing);
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--accent-font);
}

#pun-navlinks {
    font-size: 1.45rem;
    text-transform: uppercase;
    color: var(--navmenu-link-color);
    position: absolute;
    top: calc(-1 * var(--header-height) + var(--base-spacing));
    width: 100%;
}

#pun-navlinks a {
    color: var(--navmenu-link-color);
    text-shadow: var(--navmenu-link-shadow);
}

#pun-navlinks a:hover {
    color: var(--navmenu-link-hover-color);
}

#pun-ulinks {
    text-transform: lowercase;
    margin-bottom: calc(2 * var(--base-spacing));
}

#pun-ulinks a {
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--navmenu-user-link-color);
}

#pun-ulinks a:hover {
    color: var(--navmenu-user-link-hover-color);
}

/* ÊÀÒÅÃÎÐÈÈ */
.category,
#pun-stats,
.post,
#pun-online {
    position: relative;
}

.category h2,
#pun-stats h2,
.post h3,
#post-form h2,
#pun-viewforum h1,
#pun h1 {
    position: relative;
    display: block;
    margin: 0 calc(-1 * var(--body-inner-padding));
    text-align: center;
    font-family: var(--accent-font);
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--heading-text-color);
    margin-top: calc(4 * var(--base-spacing));
    margin-bottom: calc(4 * var(--base-spacing));
    z-index: 1;
    padding-left: calc(2 * var(--base-spacing));
}

.category h2 span,
#pun-stats h2 span,
.post h3 span,
#post-form h2 span,
#pun-viewforum h1 span,
#pun h1 span,
#pun-crumbs1 {
    position: relative;
    z-index: 3;
}

.category h2:before,
#pun-stats h2:before,
.post h3:before,
#post-form h2:before,
#pun-viewforum h1:before,
#pun h1:before {
    content: "";
    position: absolute;
    top: var(--heading-bg-top-offset);
    left: -1px;
    right: -1px;
    height: var(--heading-bg-height);
    background: var(--heading-bg);
    pointer-events: none;
    z-index: 1;
}

.post h3 {
    text-transform: none;
}

.post h3 span {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    color: var(--button-text-color);
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-right: calc(2 * var(--base-spacing));
    margin-left: var(--post-author-width);
}

.post h3 span a {
    color: var(--button-text-color);
}

.category table,
#pun-stats .statscon,
.post .container,
#post-form .container,
#pun-viewforum .linkst,
#pun h1+* {
    position: relative;
    z-index: 2;
}

.category tbody {
    display: block;
}

.category tbody tr {
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: calc(2.5 * var(--base-spacing));
    margin-bottom: calc(5 * var(--base-spacing));
}

.category td {
    display: flex;
    align-items: center;
}

/* ÒÅÌÀ Ñ ÏÎÑËÅÄÍÈÌ ÑÎÎÁÙÅÍÈÅÌ È ÀÂÒÎÐ */
.category .tcr {
    display: grid;
    font-family: var(--forum-desc-font);
    color: var(--forum-desc-color);
}

.category .tcr .user-avatar {
    grid-row-start: 1;
    grid-row-end: span 2;
}

.category .tcr .lastpost-link {
    text-align: right;
    grid-column-start: 2;
    grid-column-end: 2;
    align-self: end;
}

.category .tcr .lastpost {
    text-align: right;
    grid-column-start: 2;
    grid-column-end: 2;
    align-self: start;
}

.punbb .user-avatar .avatar-image {
    filter: grayscale(1);
}

/* ÔÎÐÓÌ Â ÊÀÒÅÃÎÐÈÈ */
.category .icon {
    background: var(--no-new-messages-icon);
    width: 49px;
    height: 44px;
}

.category .icon.inew {
    background: var(--new-messages-icon);
}

.forum .intd {
    display: flex;
    align-items: center;
    gap: var(--base-spacing);
    flex-wrap: wrap;
}

.forum .icon {
    background: var(--forum-topic-icon);
    width: var(--forum-topic-icon-width);
    height: var(--forum-topic-icon-height);
    flex-shrink: 0;
}

.forum .iclosed .icon {
    background: var(--forum-topic-icon-closed);
}

.forum .isticky .icon {
    background: var(--forum-topic-icon-sticky);
}

.forum .icon.icon-new {
    background: var(--forum-topic-icon-new);
}

.category .tclcon {
    margin-top: -54px;
    position: relative;
    text-align: justify;
}

.category .tclcon h3 {
    text-transform: uppercase;
    padding: 8px 10px 14px;
    background-color: var(--quote-input-bg);
    border-radius: 4px;
    margin-left: 60px;
    margin-top: 8px;
    box-sizing: border-box;
    font-family: var(--accent-font);
    font-size: 1.63rem;
    line-height: 1;
}

/* ÏÎÄÔÎÐÓÌ (isub) */
.category tbody tr.isub {
    margin-top: calc(-3 * var(--base-spacing));
}


.category .isub td.tc2,
.category .isub td.tc3 {
    display: none;
}

.category .isub .icon {
    background: var(--forum-topic-icon);
    width: var(--forum-topic-icon-width);
    height: var(--forum-topic-icon-height);
    position: absolute;
    left: -25px;
}

.category .isub .icon.inew {
    background: var(--forum-topic-icon-new);
}

.category .isub .intd {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.category .isub .tcl,
.category .isub .tcr {
    grid-column: 1;
    grid-row: 1;
}

#pun-index .category .isub .tcl {
    background: var(--quote-input-bg);
    border-radius: calc(.5 * var(--base-spacing));
    padding: var(--base-spacing) !important;
    margin-left: 66px;
    position: relative;
}

#pun-index .category .isub .tcl::before {
    content: "";
    position: absolute;
    left: -43px;
    top: -10px;
    width: 14px;
    height: 24px;
    border-left: 2px solid var(--forum-desc-color);
    border-bottom: 2px solid var(--forum-desc-color);
    border-bottom-left-radius: 3px;
    opacity: 0.4;
    pointer-events: none;
}

.category .isub .tcr {
    justify-self: self-end;
    margin-right: calc(.5 * var(--base-spacing));
}

.category .isub .tclcon {
    margin-top: 0;
    text-align: left;
    flex: 1;
}

.category .isub .tclcon h3 {
    margin: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    font-size: 0.95rem;
}

.category .isub .tcr {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--base-spacing);
    font-size: 0.75rem;
    white-space: nowrap;
}

.category .isub .tcr .user-avatar {
    display: none;
}

.category .isub .tcr .lastpost-link,
.category .isub .tcr .lastpost {
    align-self: center;
    text-align: left;
}

.category .isub .tcr .lastpost {
    display: inline;
}

.category .isub .tcr br {
    display: none;
}

.str_podforum {
    position: absolute;
    top: 24px;
    left: 70px;
    font-style: italic;
    font-size: 0.9rem;
    text-transform: lowercase;
}

.str_podforum_lnk {
    display: flex;
    gap: var(--base-spacing);
    margin-top: calc(1.5 * var(--base-spacing));
}

.str_podforum_lnk a {
    text-transform: uppercase;
    background-color: var(--quote-input-bg);
    padding: calc(0.5 * var(--base-spacing)) var(--base-spacing);
    border-radius: calc(0.5 * var(--base-spacing));
    font-size: 0.8rem;
}

/* ÑÒÀÒÈÑÒÈÊÀ ÔÎÐÓÌÀ */
.statscon {
    font-family: var(--accent-font);
}

.statscon ul {
    list-style: none;
    display: grid;
    padding: 0;
}

.statscon .item1,
.statscon .item2 {
    grid-column: 1;
}

.statscon .item3,
.statscon .item4 {
    grid-column: 2;
    text-align: right;
}

.statscon .item1,
.statscon .item3 {
    grid-row: 1;
}

.statscon .item2,
.statscon .item4 {
    grid-row: 2;
    margin-bottom: calc(2.5 * var(--base-spacing));
}

.statscon #onlinelist {
    grid-column-start: 1;
    grid-column-end: 3;
    margin-bottom: 16px;
}

/* ÑÎÎÁÙÅÍÈß Â ÒÅÌÅ */
.post .container {
    display: flex;
    flex-wrap: wrap;
    gap: calc(2 * var(--base-spacing));
}

.post-body .post-content table,
.post-body .post-content tr,
.post-body .post-content td {
    border: none !important;
}

.post-author {
    background: var(--post-author-bg);
    background-size: cover;
    width: var(--post-author-width);
    margin-left: calc(-1 * var(--body-inner-padding) - 1px);
    position: relative;
    top: -41px;
    font-family: var(--accent-font);
    height: fit-content;
}

.post-author:after {
    content: "";
    background: var(--post-author-bottom-bg);
    display: block;
    width: 100%;
    height: 18px;
    position: absolute;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.post-author ul {
    padding: 0 var(--base-spacing) calc(2 * var(--base-spacing));
    margin: 0;
    list-style: none;
    background: var(--post-author-border);
    width: 100%;
    box-sizing: border-box;
    color: var(--post-author-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--base-spacing);
    min-height: 100%;
}

.post-author li {
    margin: 0 auto;
    width: fit-content;
    max-width: 180px;
    box-sizing: border-box;
}

.pa-online {
    flex-basis: 100%;
    text-align: center;
}

.post-author .pa-author {
    width: var(--post-author-width);
    min-width: var(--post-author-width);
    max-width: var(--post-author-width);
    height: 29px;
    background: var(--post-author-name-bg);
    position: relative;
    left: calc(-1 * var(--base-spacing));
    top: calc(-1 * var(--base-spacing) - 2px);
    margin-bottom: calc(-1 * var(--base-spacing) - 2px);
    text-align: center;
    padding-top: 7px;
}

.post-author .pa-author a {
    text-transform: lowercase;
    letter-spacing: 2px;
    color: var(--post-author-name-color);
    max-width: 146px;
    margin: 0 auto;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-author .pa-author a:hover {
    color: var(--post-author-name-hover-color);
}

.post-author .pa-title {
    text-transform: lowercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #a0a672;
    text-align: center;
}

.pa-avatar img {
    max-width: 180px;
}

.post-author .pa-avatar img,
.post-author .pa-fld2,
.pa-posts,
.pa-respect,
.pa-fld3,
.pa-fld4 {
    border: var(--post-author-inner-section-border);
}

.pa-avatar.item2 img.allow_change:hover {
    outline-color: var(--post-author-name-color) !important;
}

.post-author .pa-fld2 {
    background: var(--post-author-inner-section-bg);
    padding: var(--base-spacing);
    text-align: center;
    border-radius: calc(1.5 * var(--base-spacing));
    display: flex;
    flex-direction: column;
    gap: calc(0.5 * var(--base-spacing));
    width: 180px;
    box-sizing: border-box;
}

.post-author .lzname {
    color: var(--link-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.post-author .lzsoc {
    text-transform: lowercase;
    color: #7b7945;
}

.post-author .lztext {
    font-size: 0.8rem;
}

.repa {
    display: flex;
    gap: calc(0.5 * var(--base-spacing));
    justify-content: center;
}

.pa-posts,
.pa-respect,
.pa-fld3,
.pa-fld4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: calc(0.5 * var(--base-spacing));
    padding: calc(0.5 * var(--base-spacing)) var(--base-spacing);
    background: var(--post-author-inner-section-bg);
}

.pa-respect .fld-name,
.pa-posts .fld-name,
.pa-fld3 .fld-name,
.pa-fld4 .fld-name {
    position: relative;
    font-size: 0;
}

.pa-respect .fld-name:before,
.pa-posts .fld-name:before,
.pa-fld3 .fld-name:before,
.pa-fld4 .fld-name:before {
    font-family: "Font Awesome 5 Pro";
    color: var(--post-author-name-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.pa-respect span a,
.pa-posts span a,
.pa-fld4 span a {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 0;
    left: 0;
}

.pa-respect .fld-name:before {
    content: "\f004";
}

.pa-posts .fld-name:before {
    content: "\f075";
}

.pa-fld3 .fld-name:before {
    content: "\f1c0";
}

.pa-fld4 .fld-name:before {
    content: "\f5ad";
}

.post-author .pa-fld1 {
    margin: 5px 0 calc(-2 * var(--base-spacing));
    margin-top: 5px;
    position: relative;
    top: -5px;
    width: calc(100% + 5px);
    max-width: calc(100% + 5px);
}

.post-author .pa-fld1:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    box-shadow: inset 1px 0px 9px 6px rgb(0 0 0 / 65%);
}

.post-author .pa-fld1 a,
.post-author .pa-fld1 img {
    display: block;
    width: 100%;
}

.post-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: calc(2 * var(--base-spacing));
    max-width: calc(100% - var(--post-author-width));
}

.hideprofile .post-body {
    max-width: 100%;
}

.post-body .post-box {
    flex-grow: 1;
}

.post-links {
    flex-basis: 100%;
}

.post-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: calc(1.5 * var(--base-spacing));
}

.post-links ul li {
    display: block;
    flex-grow: 0;
}

.post-links .pl-email.email {
    margin-right: auto;
}

/* ÔÎÐÌÀ ÎÒÂÅÒÀ */
#post-form legend small {
    background: var(--quote-input-bg);
    font-size: 1rem;
    padding: calc(0.5 * var(--base-spacing)) var(--base-spacing);
    border-radius: calc(0.5 * var(--base-spacing));
    text-transform: lowercase;
}

form .fs-box.hashelp {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

form .fs-box.hashelp>input {
    width: fit-content;
}

#togglePreview {
    margin-bottom: calc(2 * var(--base-spacing));
}

#form-buttons,
#form-buttons table,
#form-buttons tbody {
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

#form-buttons tr {
    display: flex;
    justify-content: space-between;
    padding: var(--base-spacing);
    background: #00000029;
    border: 1px solid #0000001f;
    border-radius: calc(0.5 * var(--base-spacing)) calc(0.5 * var(--base-spacing)) 0 0;
    width: 100%;
    box-sizing: border-box;
}

#form-buttons td {
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 26px;
    width: 26px;
}

#form-buttons td img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#tags .container {
    box-sizing: border-box;
    padding: 8px;
    background: #7a7770;
    max-height: 210px;
    min-width: 230px;
    overflow: auto;
    border: 1px solid #0000001f;
}

#form-buttons td:before {
    font-family: "Font Awesome 6 Pro";
    display: block;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    width: 100%;
    height: 14px;
    pointer-events: none;
}

#button-font::before {
    content: "\f031";
}

#button-size::before {
    content: "\f894";
}

#button-bold::before {
    content: "\f032";
}

#button-italic::before {
    content: "\f033";
}

#button-underline::before {
    content: "\f0cd";
}

#button-strike::before {
    content: "\f0cc";
}

#button-left::before {
    content: "\f036";
}

#button-right::before {
    content: "\f038";
}

#button-center::before {
    content: "\f037";
}

#button-link::before {
    content: "\f0c1";
}

#button-spoiler::before {
    content: "\f518";
}

#button-image::before {
    content: "\f302";
}

#button-video::before {
    content: "\f144";
}

#button-hide::before {
    content: "\f30d";
}

#button-quote::before {
    content: "\f27a";
}

#button-indent::before {
    content: "\f03c";
}

#button-code::before {
    content: "\f121";
}

#button-color::before {
    content: "\f53f";
}

#button-table::before {
    content: "\f009";
}

#button-smile::before {
    content: "\f118";
}

#button-keyboard::before {
    content: "\f11c";
}

#button-addition::before {
    content: "\f0d7";
}

#button-imagetwo::before {
    content: "\f03e";
}

#button-sticker::before {
    content: "\f118";
}

#button-music::before {
    content: "\f001";
}

#button-mask::before {
    content: "\f630";
}

#button-voice::before {
    content: "\f130";
}

#button-html::before {
    content: "\f13b";
}

#button-ChangeÑase::before {
    content: "\f422";
}

#button-dice::before {
    content: "\f1b3";
}

#post-form .areafield {
    margin-top: 0;
}

.resizable-textarea span {
    display: block;
    width: 100%;
    max-width: 100%;
}

.resizable-textarea textarea {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    border: 1px solid #0000001f;
    border-top: 0;
}

/* ÑÏÈÑÎÊ ÏÎËÜÇÎÂÀÒÅËÅÉ È ÏÎÈÑÊ */
#userlist legend,
#punbbsearch legend {
    display: none;
}

#userlist .fs-box,
#punbbsearch .fs-box {
    display: flex;
    gap: var(--base-spacing);
    flex-wrap: wrap;
}

#userlist .fs-box p,
#punbbsearch .fs-box p {
    margin: 0;
}

#userlist .fs-box .infofield,
#punbbsearch .fs-box .infofield {
    flex-basis: 100%;
}

#userlist .formsubmit {
    margin-bottom: calc(6 * var(--base-spacing));
}

.usertable table,
.forum table {
    width: 100%;
}

.usertable .tcl {
    display: flex;
    align-items: center;
}

.usertable .user_title {
    width: 26%;
}

.forum table .tcl {
    width: 55%;
}

.forum table .tc2,
.forum table .tc3 {
    width: 8%;
    text-align: center;
}

.forum table .tcr {
    display: flex;
    align-items: center;
}

.forum table tbody tr:not(.tr-divider) td,
.online-list tbody tr:not(.tr-divider) td {
    border-top: calc(1.5 * var(--base-spacing)) solid transparent;
}

#punbbsearch fieldset {
    margin-bottom: calc(3 * var(--base-spacing));
}

#pun-searchposts .post-author {
    background: var(--generic-bg);
    background-size: cover;
    height: fit-content;
    padding-bottom: var(--base-spacing);
}

/* ÏÐÅÄÏÐÎÑÌÎÒÐ ÏÐÎÔÈËß */
#viewprofile ul {
    padding: 0;
    margin: 0;
}

#viewprofile table,
#viewprofile tbody {
    display: block;
    width: 100%;
}

#viewprofile tr {
    display: flex;
    align-items: center;
    font-family: var(--accent-font);
}

#viewprofile #profile-right {
    flex-grow: 1;
    border: 1px solid var(--quote-input-bg);
    padding: calc(2 * var(--base-spacing));
    display: flex;
    gap: calc(1.5 * var(--base-spacing));
    flex-wrap: wrap;
    align-items: flex-start;
}

#viewprofile #profile-right li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--base-spacing);
    background: var(--quote-input-bg);
    list-style: none;
    flex-grow: 1;
}

#viewprofile #profile-left {
    display: flex;
    flex-direction: column;
    gap: var(--base-spacing);
    align-items: center;
    text-transform: lowercase;
}

#viewprofile #profile-left li {
    list-style: none;
}

#viewprofile #profile-right li span {
    font-weight: bold;
}

#viewprofile #profile-right li strong {
    padding-left: 0;
    font-weight: normal;
}

#viewprofile #profile-right li div {
    text-align: center;
}

#pun-profile form {
    display: grid;
    grid-template-columns: 200px auto;
    gap: calc(2 * var(--base-spacing));
}

#pun-profile #profilenav ul {
    list-style: none;
    padding: 0;
    background: var(--quote-input-bg);
    padding: calc(2 * var(--base-spacing));
    border-radius: var(--base-spacing);
}

#pun-profile #profilenav li {
    margin-bottom: var(--base-spacing);
}

#pun-profile #profilenav {
    grid-column: 1;
    grid-row-start: 8;
    grid-row-end: -1;
}

#pun-profile fieldset,
#pun-profile .formsubmit {
    grid-column: 2;
}

/* ËÈ×ÍÛÅ ÑÎÎÁÙÅÍÈß */
#pun-messages #profile>.container {
    display: grid;
    grid-template-columns: 200px auto;
    grid-template-rows: auto auto;
    gap: var(--base-spacing);
    align-items: start;
}

#pun-messages #profilenav {
    grid-column: 1;
    grid-row: 1 / 3;
    background: var(--quote-input-bg);
    padding: calc(2 * var(--base-spacing));
    border-radius: var(--base-spacing);
    margin-top: 50px;
    left: -16px;
    position: relative;
    z-index: 2;
}

#pun-messages .FNTslider {
    left: 69%;
}

#pun-messages #notify-settings {
    grid-column: 2;
    grid-row: 1;
}

#pun-messages form#messages {
    grid-column: 2;
    grid-row: 2;
}

#pun-messages #profilenav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--base-spacing);
}

#pun-messages #profilenav li {
    margin-bottom: var(--base-spacing);
}

#pun-messages #messages table {
    width: 100%;
    border-collapse: collapse;
}

#messages tr {
    border-bottom: calc(2 * var(--base-spacing)) solid transparent;
}

#pun-messages #messages .hasicon td[colspan] {
    text-align: center;
    padding: calc(4 * var(--base-spacing));
}

#pun-messages fieldset {
    grid-column: 2;
    grid-row: 1;
}

#pun-messages .post h3 {
    margin-left: -225px;
}

#pun-messages .post .post-author {
    margin-left: 0;
}

#pun-messages .intd {
    padding-right: calc(6 * var(--base-spacing));
}

#pun-messages .tc2 {
    line-height: 36px;
}

#pun-messages .post-body {
    max-width: calc(100% - 16px - var(--post-author-width));
}

/* ÀÄÌÈÍÊÀ */

#pun:has(.punbb-admin):before {
    position: absolute;
    left: 50%;
    margin-left: calc(-.5 * var(--main-width));
}

/* ×ÈÑÒÊÀ ÄÅÔÎËÒÍÛÕ ÑÒÈËÅÉ */
fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.linkst .postlink.long,
.linksb .postlink.long {
    width: auto;
}

blockquote {
    margin: 0;
    padding: 0;
}

.punbb-admin ul {
    list-style: none;
}

/* ÁÅÇÎÏÀÑÍÎÅ ÑÎÊÐÛÒÈÅ */
.acchide {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

/* ÑÊÐÛÒÜ */
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#pun-title,
.divider,
#pun-index h1,
#pun-viewtopic h1,
#pun-userlist h1,
#pun-search h1,
#pun-profile h1,
.forum h2,
thead,
.category td.tc2,
.category td.tc3,
.category .tcr br,
.topic>h2,
.crumbs strong,
#pun-userlist h2,
.post-author li.pa-ua,
#pa-ua,
.pa-gifts,
.pa-awards,
#profile-gifts,
.sharelink,
#post-form legend span,
#viewprofile-next #profilenav,
#pun-announcement h2,
#profilenav h2,
p.areafield:not(.required),
#pun-messages #post-preview legend,
#pun-messages #post-preview #togglePreview,
#notify-settings,
#pun-messages #profilenav+fieldset legend,
.pa-respect>a,
.post-sig dt,
.lastedit,
.reactions-container {
    display: none !important;
}

/* ÁÀÍÍÅÐÛ */
#html-footer {
    background: url(https://forumstatic.ru/files/001c/b0/4e/65101.jpg) no-repeat;
    margin: 0 -35px -16px;
    height: 180px;
    width: 1082px;
    position: relative;
}

.bnrs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(0.5 * var(--base-spacing));
    overflow: auto;
    padding: calc(1.5 * var(--base-spacing));
    width: 652px;
    height: 69px;
    background: #2e2d2a;
    box-sizing: border-box;
    position: absolute;
    left: 194px;
    top: 101px;
}

.bnrs img {
    display: block;
}

.pun-modal .modal-inner,
.inner.post_reputation {
    background: #828079;
    padding: 16px;
    border-radius: 16px;
}