@charset "windows-1251";
@import url(style_cs.1787630197.css);
 
@font-face {
    font-family: "Dalfitra";
	src: url('../res/font/dalfitra.eot'); /* IE 9 Compatibility Mode */
	src: url('../res/font/dalfitra.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		url('../res/font/dalfitra.woff2') format('woff2'), /* Super Modern Browsers */
		url('../res/font/dalfitra.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		url('../res/font/dalfitra.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "montserrat";
	src: url('../res/font/montserrat.eot'); /* IE 9 Compatibility Mode */
	src: url('../res/font/montserrat.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		url('../res/font/montserrat.woff2') format('woff2'), /* Super Modern Browsers */
		url('../res/font/montserrat.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		url('../res/font/montserrat.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-display: block;
    font-family: bootstrap-icons;
    src: url("../res/font/bootstrap-icons.woff2") format("woff2"),
        url("../res/font/bootstrap-icons.woff") format("woff");
}

@font-face {
  font-family: 'Golos Text';
  src: url('https://forumstatic.ru/files/001c/25/f9/74205.ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('https://forumstatic.ru/files/001c/25/f9/71037.ttf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'cinzel';
  src: url('https://forumstatic.ru/files/0015/28/00/92110.ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'cinzel';
  src: url('https://forumstatic.ru/files/0015/28/00/82096.ttf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
    font-family: "Constantine";
    src: url("https://db.onlinewebfonts.com/t/ae22d77c6dfe8c4f73b516b19d1f5203.eot");
    src: url("https://db.onlinewebfonts.com/t/ae22d77c6dfe8c4f73b516b19d1f5203.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/ae22d77c6dfe8c4f73b516b19d1f5203.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/ae22d77c6dfe8c4f73b516b19d1f5203.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/ae22d77c6dfe8c4f73b516b19d1f5203.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/ae22d77c6dfe8c4f73b516b19d1f5203.svg#Constantine")format("svg");
}

/* иконки */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");


@font-face {font-family: 'Font Awesome';
src: local("FontAwesome"), url(https://forumstatic.ru/files/0015/28/00/83987.ttf);}


/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.5.2/css/pro.min.css');

 @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --padding: 3em;
    --padding1: 10px;
    --padding2: 40px;
    --content-width: calc(100% - (var(--padding2) * 2));
    --accent-color: #731702;
    --accent-color2: #f2a413;
    --text-color: #731414;
    --text-color2: #2e2e2d;
    --link-color: #184d59;
    --link-hover-color: #f7af17;
    --main-grey: #8da69d99;
    --main-white: #fbefe0;
    --main-black: #184d59;
    --main-red: #731702;
    --main-blue: #8da69d;
    --quote-color: #f2dec4b0;
    --select-color: #f2a413;
    --button-color: #e7ac5f;
    --button-color-hover: #bf4539;

    /* новые цвета */
    --closed-theme: #fff5e9;
    --profile-body-color: #f2dec4;
    --profile-name-color: #731702;
    --profile-label-color: #8da69d;
    --profile-icon-color: #d97941;

  /* FONTS */
    --arial: arial, verdana, helvetica, sans-serif;
    --rus:  "Roboto Slab", serif;
    --eng: "Golos Text", serif;
    --fontosnovnoe: verdana, arial, helvetica, sans-serif;
    --font-base: verdana, arial, helvetica, sans-serif;
    --mso: "Material Symbols Outlined";
    --fa: "Font Awesome";

    /* DESIGN ASSETS */
    --forum-logo: url("https://forumstatic.ru/files/001c/25/f9/54154.png");
    --forum-footer: url("https://forumstatic.ru/files/001c/25/f9/57265.png");
    --forum-bg: url("https://forumstatic.ru/files/001c/25/f9/15794.png");
    --forum-body: url("https://forumstatic.ru/files/001c/25/f9/27471.png");
    --linetelo: url('https://forumstatic.ru/files/001c/b8/a2/63060.jpg');
    --forum-width: 1170px;
    --header-width: 1364px;
    --header-height: 497px;
    --footer-width: 1364px;
    --footer-height: 177px;
    --radius-small: 3px;
    --radius-medium: 5px;
    --radius-large: 10px;
    --ticket-cut: 14px;

	  /* PROFILE ICONS */
    --profile-type-size: 30px;
    --profile-type-icon-size: 18px;
    --profile-type-bg: var(--main-blue);
    --profile-type-icon: var(--main-white);
    --icon-human: url("https://forumstatic.ru/files/001c/25/f9/98405.svg");
    --icon-super: url("https://forumstatic.ru/files/001c/25/f9/55587.svg");
    --profile-type-lift: 33px;

    --profile-name-color: var(--main-white);
    --profile-title-color: var(--accent-color2);

    --profile-avatar-border: var(--main-white);

    --profile-online-color: var(--main-white);
    --profile-online-marker: #7fc67b;

    --profile-label-color: var(--accent-color);
    --profile-label-text: var(--main-white);

    --profile-field-color: var(--main-white);
    --profile-field-text: var(--text-color);
    --profile-field-border: var(--main-grey);
}
 
/* ======================== MEDIA QUERIES: RESPONSIVE AND MOBILE ========================  */
 
@media screen and (max-width: 1400px) {
 
 
    #pun-navlinks .container {
        justify-content: space-evenly;
        gap: 0;
    }
 
}
 
@media screen and (max-width: 1200px) {
 
    span#BookmCntToggle {
        top: 60px;
        transform: scale(0.8);
    }
 
}
 
@media screen and (max-width: 1100px) {
    #pun {
        margin: 0 10px;
    }
 
}
 
@media screen and (max-width: 1000px) {
    #pun-status {
        font-size: 0.8em;
    }
 
    #pun-title td.title-logo-tdl {
        width: 35%;
    }
}
 
/* ============================= 940 PX =============================== */
 
@media screen and (max-width: 940px) {
 
    #pun-index .hasicon tr {
        grid-template-columns: 41% 14% 41%;
    }
 
    th {
        font-size: 1em;
    }
}
 
/* ============================= 820 PX =============================== */
 
@media screen and (max-width: 820px) {
    /* iOS INPUT ZOOM FIX */
 
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    textarea {
        font-size: 16px;
    }
 
    /* HEADER & LOGO */
 
    #pun::before {
        height: 255px;
    }
 
    #pun-title tr#title-logo-tr {
        justify-content: center;
    }
 
    #pun-title td.title-logo-tdl {
        width: auto;
    }
 
    #pun-title h1 {
        justify-content: center;
    }
 
    #pun-title h1 span {
        text-align: center;
    }
 
    #pun-status {
        max-width: 100%;
        justify-self: center;
        margin-top: 4em;
        font-size: inherit;
    }
 
    #pun-ulinks {
        margin-top: 4em;
    }
 
    span#BookmCntToggle {
        position: absolute !important;
    }
 
    /* FORUMS & SUB FORUMS */
 
    #pun-index .hasicon tr {
        grid-template-areas:
            "tcl tc2"
            "tcl tc3"
            "tcl tcr";
        grid-template-columns: 50% 50%;
    }
 
    #pun-index .hasicon .tcr {
        align-self: flex-start;
        align-items: start;
    }
 
    #pun-index .hasicon .tc2,
    #pun-index .hasicon .tc3 {
        justify-content: flex-start;
        padding: 0.1em 1em;
    }
 
    /* USERLIST */
 
    #pun-userlist .last_visit {
        text-align: right;
    }
 
    .forum thead .tcr,
    #pun-searchtopics thead .tcr {
        white-space: nowrap;
        text-align: right;
    }
 
    /* MESSAGES PAGE */
 
    #messages .pmtcl1 {
        width: 40% !important;
    }
 
    #messages .pmtc33 {
        width: 14% !important;
    }
 
    /* POST */
 
    .post-links li.pl-website a,
    .post-links li.pl-email a {
        font-size: 0;
    }
 
    .post-links li.pl-website a::before,
    .post-links li.pl-email a::before {
        font-size: 15px;
        margin-right: 0;
    }
 
    .post-links li.pl-website,
    .post-links li.pl-email {
        padding: 0.2em 0.5em !important;
    }
 
    .post-sig img {
        max-width: 40%;
        height: auto;
    }
 
    #sTheme {
        width: unset !important;
        max-width: 200px;
    }
}
 
/* ============================= 725 PX =============================== */
 
@media screen and (max-width: 725px) {
    /* FORUMS & SUB FORUMS */
 
    #pun-index .hasicon tr {
        grid-template-areas:
            "tcl tcl"
            "tc2 tc3"
            "tcr tcr";
        grid-template-columns: auto auto;
        gap: 0.5em;
    }
 
    #pun-index .hasicon tr:not(:last-child) {
        margin-bottom: 2em;
    }
 
    #pun-index .hasicon .tcl {
        box-sizing: border-box;
        margin-left: 0;
    }
 
    #pun-index .hasicon .inew .tcl,
    #pun-index .hasicon .tcl {
        border-left: 1px solid #eaeaea;
    }
 
    #pun-index .hasicon .tcl h3 {
        position: relative;
        top: -1em;
        font-size: 1.5em;
        height: unset;
        width: calc(100% + 2em);
        left: -1em;
    }
 
    #pun-index .hasicon .tcl h3 a {
        white-space: normal;
    }
 
    #pun-index .hasicon .tc2 {
        justify-content: end;
        margin-left: -0.5em;
    }
 
    #pun-index .hasicon .tc3 {
        margin-left: 0.5em;
    }

    /* LOGO */
    #pun_wrap #pun.custom-logo #title-logo-tdr {
        width: 130px !important;
        height: 55px !important;
    }

    /* STATUS */

    #pun #pun-status {
        display: block !important;
        width: auto !important;
    }
 
    /* STATISTICS */
 
    #pun-stats .container {
        display: block;
    }
 
    #pun-stats li {
        margin-left: unset !important;
        border-left: 1px solid #eaeaea;
    }
 
    #pun-stats .item5.onlinelist {
        margin-top: 1.5em;
    }
 
    /* POST PROFILE */
 
    .post .post-author {
        width: 18em;
        border-left: 1px solid #eaeaea;
        margin-left: unset;
    }
 
    .pa-avatar img {
        max-width: 100%;
    }
}
 
/* ============================= 685 PX =============================== */
 
@media screen and (max-width: 685px) {
    :root {
        --padding: 1.8em;
    }
 
    input,
    select {
        max-width: 400px;
    }
 
    .icon[data-new-topics]:before,
    .subforums span[data-new-topics]:before {
        top: unset;
        bottom: 0;
    }
 
    p.crumbs {
        max-width: 100%;
    }
 
    #notify-settings {
        margin-left: unset;
    }
 
    #profile4 fieldset .fs-box p:nth-of-type(4),
    #profile4 fieldset .fs-box p:nth-of-type(5) {
        grid-column: 1 / 3;
    }
 
    /* USERLIST */
 
    #pun-userlist .usertable .container {
        padding-top: 0;
    }
 
    #pun-userlist thead {
        display: none;
    }
 
    #pun-userlist .main tr {
        grid-template-areas:
            "username  relation num_posts"
            "username  registered registered"
            "user_title  last_visit last_visit";
        grid-template-columns: 2fr 1fr 1fr;
        align-items: center;
        padding: 1em;
    }
 
    #pun-userlist .tcl.username {
        grid-area: username;
        width: unset;
    }
 
    #pun-userlist .user_title {
        grid-area: user_title;
        width: unset;
        text-align: left;
    }
 
    #pun-userlist .registered {
        grid-area: registered;
        width: unset;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }
 
    #pun-userlist .relation {
        grid-area: relation;
        text-align: left;
        width: unset;
    }
 
    #pun-userlist .num_posts {
        grid-area: num_posts;
        text-align: left;
        width: unset;
    }
 
    #pun-userlist .last_visit {
        grid-area: last_visit;
        text-align: left;
        width: unset;
    }
 
    #pun-userlist .num_posts::before {
        content: "&#209;&#238;&#238;&#225;&#249;&#229;&#237;&#232;&#233;: ";
    }
 
    #pun-userlist .relation::before {
        content: "&#211;&#226;&#224;&#230;&#229;&#237;&#232;&#229;: ";
    }
 
    #pun-userlist .registered::before {
        content: "&#199;&#224;&#240;&#229;&#227;&#232;&#241;&#242;&#240;&#232;&#240;&#238;&#226;&#224;&#237;: ";
    }
 
    #pun-userlist .last_visit::before {
        content: "&#193;&#251;&#235;: ";
    }
 
    #pun-userlist .num_posts::before,
    #pun-userlist .relation::before,
    #pun-userlist .registered::before,
    #pun-userlist .last_visit::before {
        font-weight: 600;
        margin-right: 0.3em;
        color: #6d6d6d;
    }
 
    /* TOPIC LISTS */
 
    #pun-viewforum .category thead,
    .forum thead {
        display: none;
    }
 
    .isub tr,
    .forum tbody tr:not(.iredirect) {
        grid-template-columns: 3fr 1fr 2fr;
    }
 
    #pun-modviewforum .main tr {
        grid-template-columns: 3fr 1fr 2fr 0.5fr;
    }
 
    .isub .tcl,
    .forum .tcl {
        grid-row: 1 / 3;
    }
 
    .isub .tc2,
    .forum .tc2 {
        grid-row: 1;
        grid-column: 2;
        align-self: end;
    }
 
    .category .isub.inew {
        margin-top: 0;
    }
 
    #pun-viewforum .isub .tc2,
    #pun-viewforum .forum .tc2 {
        padding-bottom: 0.2em;
    }
 
    .isub .tc3,
    .forum .tc3 {
        grid-row: 2;
        grid-column: 2;
        align-self: start;
    }
 
    #pun-viewforum .isub .tc3,
    #pun-viewforum .forum .tc3 {
        padding-top: 0.2em;
    }
 
    .isub .tc2,
    .isub .tc3,
    .forum .tc2,
    #pun-searchtopics .main .tc3,
    .forum .tc3 {
        align-items: center;
        display: flex;
        justify-content: end;
    }
 
    .isub .tcr,
    .forum .tcr {
        grid-row: 1 / 3;
    }
 
    #pun-searchtopics tr {
        grid-template-columns: 70% 20% 10%;
    }
 
    #pun-searchtopics .tcl {
        grid-row: 1;
        grid-column: 1 / 3;
    }
 
    #pun-searchtopics .tc3 {
        grid-row: 1;
        grid-column: 3;
        align-self: start;
    }
 
    #pun-searchtopics .tc2 {
        grid-row: 2;
        grid-column: 2 / 4;
        text-align: right;
        justify-self: end;
    }
 
    #pun-searchtopics .tc2 a {
        color: #acacac;
    }
 
    #pun-searchtopics .tcr {
        grid-row: 2;
        grid-column: 1;
    }
 
    .isub .tc2::after,
    .isub .tc3::after,
    .forum .tc2::after,
    .forum .tc3::after {
        font-family: "bootstrap-icons";
        margin-left: 0.5em;
        font-size: 1.2em;
        opacity: 0.3;
    }
 
    .forum .tc3::after {
        content: "\F341";
    }
 
    #pun-viewforum .tc2::after,
    #pun-searchtopics .tc3::after {
        content: "\F268";
    }
 
    .hasicon .tclcon strong {
        margin-right: 0;
    }
 
    /* FULL SUB FORUMS */
 
    #pun-viewforum .category tr {
        grid-template-columns: 80% 20%;
    }
 
    #pun-viewforum .category tr .tcl {
        grid-column: 1;
        grid-row: 1 /4;
        align-self: start;
    }
 
    #pun-viewforum .category tr .tc2 {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        padding-bottom: 0.3em;
    }
 
    #pun-viewforum .category tr .tc3 {
        grid-column: 2;
        grid-row: 2;
        padding-top: 0.3em;
    }
 
    #pun-viewforum .category tr .tcr {
        grid-column: 1 / 3;
        grid-row: 4;
    }
 
    #pun-viewforum .category tr .tc2::after {
        content: "\F3D7";
    }
 
    #pun-viewforum .category tr .tc3::after {
        content: "\F268";
    }
 
    .tcmod {
        grid-column: 4;
    }
 
    /* STATISTICS PAGE */
    #pun-statistic .tc-registered,
    #pun-statistic .tc-topic {
        width: 30% !important;
    }
 
    #pun-statistic .tc3 {
        width: 20% !important;
    }
 
    #pun-statistic .tc-title {
        display: none;
    }
 
    /* PROFILE PAGE */
 
    #viewprofile td#profile-left {
        border-right: 1px solid #eaeaea;
    }
 
    /* ADMIN PAGE */
 
    #pun-adnav {
        float: unset !important;
        margin-left: unset !important;
    }
 
    #pun-admain legend span {
        display: block;
    }
 
    #pun-admain .adinput {
        line-height: unset !important;
    }
 
    #pun-invitation td,
    table.adcontainer th,
    table.adcontainer td {
        overflow-wrap: break-word;
        hyphens: auto;
    }
 
    #pun-adnav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.1em 0.5em;
        justify-content: center;
    }
 
    #pun-adnav ul li.isactive {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        background: var(--main-grey);
    }
 
    #pun-admain .isactive a {
        font-size: 1.1em !important;
        width: 100%;
        text-align: center;
    }
 
    #pun-adnav ul.adsubnav li {
        display: inline-block;
        margin: 0.2em 0.5em !important;
    }
 
    .punbb-admin .linkst,
    .punbb-admin .linksb {
        padding: 0 var(--padding);
    }
 
    #pun-admain>div.linksb>div.postlink>a {
        overflow-wrap: anywhere;
        height: auto;
        line-height: 1.7;
    }
 
    .punbb-admin #pun-admain .linksb .postlink {
        width: auto !important;
    }
 
    .adminmain {
        padding-left: unset !important;
    }
 
    .adinput input {
        margin: 0.2em 0.2em 0.2em 0;
        font-size: 16px !important;
    }
 
    .punbb-admin select,
    .adinput input {
        max-width: 290px;
    }
 
    .adinput input[type="text"]:not(input[name="new_domain_name"]) {
        display: block;
    }
 
    #pun-admain fieldset .handle,
    #pun-admain fieldset p {
        border-left-width: 0 !important;
    }
 
    #pun-admain .adlabel {
        width: unset !important;
        margin-left: unset !important;
        float: unset !important;
        display: block;
    }
 
    #pun-admain p.adsubmitfield .adlabel {
        padding-bottom: 0.5em !important;
    }
 
    #pun-admain span.adsubmit {
        position: relative !important;
        left: unset !important;
        top: unset !important;
        margin: 1em 1em 0;
    }
 
    #pun-admin_mail th.tc3,
    #pun-admain .domains th.tc2 {
        font-size: 0;
        text-align: center !important;
    }
 
    #pun-admin_mail th.tc3::before,
    #pun-admain .domains th.tc2::before {
        font-size: 14px;
        font-family: "bootstrap-icons";
    }
 
    #pun-admain .domains th.tc2::before {
        content: "\F544";
    }
 
    #pun-admin_mail th.tc3::before {
        content: "\F4DB";
    }
 
    #pun-admain2 fieldset .subforums {
        margin-left: 2em !important;
    }
 
    #edforum .adinput>strong {
        display: block;
    }
 
    #pun-admain1 .sortable p input[name^="cat_name"] {
        margin-bottom: -0.7em !important;
    }
 
    #pun-admain1 form.adcontainer,
    #pun-admain2 form.adcontainer,
    #pun-admain-new form.adcontainer,
    #pun-admain1 div.adcontainer,
    #pun-admain2 div.adcontainer {
        padding-inline: 1px !important;
    }
 
    /* POST */
 
    #pun-messages .post-links li a,
    #pun-viewtopic .post-links li:not(.pl-select):not(.pl-nodelete) a {
        font-size: 0;
    }
 
    #pun-messages .post-links li a::before,
    #pun-viewtopic .post-links li:not(.pl-select):not(.pl-nodelete) a::before {
        font-size: 15px;
        margin-right: 0;
    }
 
    #pun-messages .post-links li,
    #pun-viewtopic .post-links li:not(.pl-select):not(.pl-nodelete) {
        padding: 0.2em 0.5em !important;
    }
 
    /* POST PROFILE */
 
    .post .post-author {
        width: 15em;
    }
 
    .post h3 span {
        margin-left: 15em;
    }
 
    #pun-viewtopic .linksb {
        grid-template-columns: auto auto auto;
    }
 
    #s-block {
        grid-row: 1;
        grid-column: 3;
        justify-self: end;
    }
 
    .subscribelink {
        grid-row: 2;
        text-align: right;
        grid-column: 2 / 4;
    }
 
    .pagelink {
        grid-column: 1 / 3;
    }
 
    #tags .container {
        max-width: 90%;
    }
 
    #main-reply {
        max-height: 40vh;
    }
 
}
 
/* ============================= 540 PX =============================== */
 
@media screen and (max-width: 540px) {
    :root {
        --padding: 1.2em;
    }
 
    input,
    select {
        max-width: 280px;
    }
 
    #pun-status {
        margin-top: 2em;
    }
 
    /* ADMIN */
 
    .adinput input[type="text"],
    .punbb-admin select {
        max-width: 200px;
    }
 
    #pun-admain .adcontainer #filetable th,
    #pun-admain .adcontainer #filetable td {
        padding: 0.5em 0.2em !important;
        overflow-wrap: anywhere;
        hyphens: auto;
    }
 
    #pun-admain .adformal p.submitend {
        padding: 0 1em;
        box-sizing: border-box;
    }
 
    #file_upload {
        padding: 1em !important;
    }
 
    .punbb-admin .pagelink {
        margin: 1em !important;
    }
 
    #pun-admain #tag-filter-container {
        margin-right: 1em;
    }
 
    #ranks input {
        max-width: 150px;
    }
 
    /* HEADER */
    #pun-title td.title-logo-tdr::before,
    #pun-title td.title-logo-tdr {
        font-size: 25px;
        line-height: 25px;
        top: 21px;
    }
 
    #pun-status .item3.status-right {
        position: absolute;
        top: 8em;
        width: 120%;
        grid-row: unset;
        padding: 0;
        border: none;
        right: 50%;
        transform: translateX(50%);
        font-size: 0.9em;
        text-align: center;
    }
 
    /* FORUM NAVIGATION */
 
    #pun-navlinks .container {
        height: 60px;
        align-items: center;
    }
 
    #pun-navlinks .container span:not(#navpm span[data-last-unread]) {
        display: none;
    }
 
    #pun-navlinks .container a {
        position: relative;
        font-size: 5cqw;
        align-items: center;
        justify-items: center;
    }
 
    #navpm a span[data-last-unread]::before,
    #pun-navlinks .container a::before {
        font-family: "bootstrap-icons";
        display: inline-block;
    }
 
    #pun-navlinks .container li[id*="navextra"] a {
        font-size: 0
    }
 
    #pun-navlinks .container li[id*="navextra"] a::before {
        content: "\F234";
        font-size: 5cqw;
    }
 
    #navindex a::before {
        content: "\F425";
    }
 
    #navawards a::before {
        content: "\F5E7";
    }
 
    #navuserlist a::before {
        content: "\F4D0";
    }
 
    #navsearch a::before {
        content: "\F52a";
    }
 
    #navprofile a::before {
        content: "\F4e1";
    }
 
    #navpm a::before {
        content: "\F268";
    }
 
    #navpm a span {
        font-size: 0;
    }
 
    #navpm a span[data-last-unread]::before {
        content: "";
        top: -4px;
        right: -4px;
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 50%;
        position: absolute;
        animation: blinkColor 0.9s linear infinite;
        -moz-animation: blinkColor 0.9s linear infinite;
        -webkit-animation: blinkColor 0.9s linear infinite;
        background: var(--accent-color);
    }
 
    #navadmin a::before {
        content: "\F3E5";
    }
 
    #navlogout a::before {
        content: "\F1C3";
    }
 
    #navlogin a::before {
        content: "\F1BE";
    }
 
    #navregister a::before {
        content: "\F4DD";
    }
 
    #navrules a::before {
        content: "\F43E";
    }
 
    #pun-navlinks li.isactive {
        border: none;
    }


   #pun-navlinks #navrules, 
   #pun-navlinks #navextra1, 
   #pun-navlinks #navextra2, 
   #pun-navlinks #navextra3, 
   #pun-navlinks #navextra4, 
   #pun-navlinks #navextra5, 
   #pun-navlinks #navextra6, 
   #pun-navlinks #navextra7, 
   #pun-navlinks #navextra8, 
   #pun-navlinks #navextra9, 
   #pun-navlinks #navextra10 {
        display: inline-block !important;
    }

 
    /* STATISTICS */
 
    #onlinelist:not(.item5.statistics) {
        border-top-width: 1px;
        border-top-color: #eaeaea;
        padding-top: 1.5em;
    }
 
    #onlinelist:not(.item5.statistics)>div {
        margin-top: unset;
        line-height: unset;
        text-transform: unset;
        font-size: unset;
        color: unset;
    }
 
    #onlinelist:not(.item5.statistics) span {
        font-size: unset;
    }
 
    li#onlinelist:not(.item5.statistics)>div a:not(span a) {
        color: var(--link-color);
    }
 
    /* USERLIST */
 
    #pun-userlist .main tr {
        display: grid;
        border: 1px solid #e6e6e65c;
        border-radius: 5px;
        grid-template-areas:
            "username user_title"
            "relation num_posts"
            "registered last_visit";
        grid-template-columns: 1fr 1fr;
    }
 
    #pun-userlist .main tr:not(:last-of-type) {
        margin-bottom: 1em;
    }
 
    /* FORUM TOPIC LIST */
 
    .isub tbody tr,
    .forum tbody tr:not(.iredirect) {
        grid-template-columns: 80% 20%;
    }
 
    #pun-modviewforum .main tr {
        grid-template-columns: 80% 15% 5%;
    }
 
    .tcmod {
        grid-column: 3;
        grid-row: 1;
    }
 
    .isub tbody .tcl,
    .forum tbody .tcl {
        grid-row: 1;
        grid-column: 1 / 3;
    }
 
    .isub tbody .tcr,
    .forum tbody .tcr {
        grid-row: 2 / 4;
    }
 
    .isub tbody .tc2,
    .forum tbody .tc2 {
        grid-row: 2;
        justify-content: end;
    }
 
    .isub tbody .tc3,
    .forum tbody .tc3 {
        grid-row: 3;
        grid-column: 2;
    }
 
    /* PROFILE PAGE */
 
    #viewprofile tr {
        display: grid;
    }
 
    #viewprofile td#profile-left {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }
 
    #viewprofile td#profile-right {
        width: 100%;
        margin: 1em auto 0;
        text-align: center;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5em 1em;
        align-items: start;
    }
 
    #viewprofile li {
        padding: 0;
        margin: 0 0 2em;
    }
 
    #viewprofile li span {
        float: unset;
        margin-left: unset;
        width: 100%;
        box-sizing: border-box;
    }
 
    #profile-right li strong {
        padding-left: 0 !important;
        margin-top: 0.5em;
    }
 
    #filetable th.tc3.header {
        font-size: 0;
    }
 
    #filetable th.tc3.header::before {
        font-size: 12px;
        font-family: "bootstrap-icons";
        content: "\F392";
        margin-right: 0.2em;
    }
 
    #filetable td:nth-child(5) {
        width: 11% !important;
    }
 
    #profile10 #filetable .tc2 {
        width: 14% !important;
    }
 
    #pun-positive th.tc2,
    #pun-respect th.tc2 {
        font-size: 0;
    }
 
    #pun-positive th.tc2::before,
    #pun-respect th.tc2::before {
        font-size: 13px;
        font-family: 'bootstrap-icons';
        content: '\F6AA';
    }
 
    /* MESSAGES PAGE */
 
    #messages thead th:not(.pmtc24) {
        display: none !important;
    }
 
    #messages thead .pmtc24 {
        text-align: right;
        padding: 0 var(--padding) var(--padding) !important;
    }
 
    #messages .fs-box,
    #messages fieldset {
        padding: 0;
    }
 
    #messages fieldset legend {
        margin-left: var(--padding);
    }
 
    #pun-messages .hasicon tr {
        display: grid;
        align-items: start;
        grid-template-areas:
            "user . date check"
            "user topic topic topic";
        grid-template-columns: 52px 1fr 1fr auto;
        padding: var(--padding);
        gap: 0.5em;
    }
 
    #pun-messages #messages td.tc2.pmtc22 {
        grid-area: user;
        position: relative;
        width: 100% !important;
        overflow: visible !important;
        padding: 0;
    }
 
    #messages td.tc2.pmtc22>a {
        position: absolute;
        white-space: nowrap;
        top: 0;
        left: 58px;
        font-weight: 600;
    }
 
    #messages td.tcl.pmtcl1 {
        grid-area: topic;
        width: 100% !important;
        padding: 0;
    }
 
    #messages td.tc3.pmtc33 {
        grid-area: date;
        display: flex;
        width: 100% !important;
        justify-content: flex-end;
        padding: 0;
    }
 
    #messages td.tc2.pmtc24 {
        grid-area: check;
        width: 100% !important;
    }
 
    /* custom onoff */
    #notify-settings .inp2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
 
    #OnOff_Notify {
        display: none;
    }
 
    #OnOff_Notify+label {
        display: inline-block;
        width: 40px;
        height: 24px;
        position: relative;
        cursor: pointer;
        font-size: 0;
        vertical-align: middle;
    }
 
    #OnOff_Notify+label::before {
        content: "\F631";
        font-family: "bootstrap-icons";
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        height: 22px;
        border-radius: 12px;
        text-align: center;
        line-height: 22px;
        font-size: 14px;
        transition: all 0.3s ease;
        font-weight: 500;
        color: #fff;
        background: #c3c3c3;
    }
 
    #OnOff_Notify:checked+label::before {
        content: "\F18A";
        background: var(--accent-color) !important;
        color: #fff;
    }
 
    /* POST  */
 
    .post .container {
        grid-auto-columns: 100%;
    }
 
    .post .post-author {
        width: 100%;
        margin-top: unset;
        position: relative;
        padding-right: calc(20% + var(--padding));
        box-sizing: border-box;
    }
 
    .post h3 span {
        margin-left: unset;
    }
 
    .post-body {
        grid-column: 1;
        grid-row: 2;
    }
 
    .post-links {
        grid-column: 1;
        grid-row: 3;
    }
 
 
    .post span.bookmark {
        right: -14px !important;
    }
 
    .post .post-author .pa-avatar {
        position: absolute;
        top: var(--padding);
        right: var(--padding);
        max-width: 18%;
    }
 
    .pa-avatar img {
        width: unset;
        max-width: 100%;
        border-right: none;
    }
 
    .post .post-author li {
        text-align: left;
        margin: 0.3em 0;
    }
 
    .pa-online {
        width: fit-content;
    }
 
    li.pa-ua {
        justify-content: start !important;
    }
 
    #form-buttons tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
 
    #form-buttons td {
        min-width: 27px;
    }
 
    #tags .container {
        top: 80px !important;
        max-width: 100%;
    }
 
    .mod-awards-list #awards-content tr {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }
 
    .mod-awards-list #awards-content td:nth-of-type(3) {
        grid-row: 2;
        grid-column: 1 / 4;
    }
 
    .fr {
        display: block;
        float: unset !important;
        margin: 1em 0 0;
    }
 
 
    span#BookmCntToggle {
        top: 160px !important;
    }
 
    /*  MYBB MOBILE FIXES  */
 
    p.formsubmit {
        margin: 0 var(--padding) 0 !important;
    }
 
 
    div#pun {
        overflow-x: unset !important;
    }
 
    #pun div#pun-navlinks ul.container {
        height: 60px !important;
        z-index: 2 !important;
    }
 
    #pun-navlinks ul.container li {
        line-height: unset !important;
    }
 
    #pun div#pun-navlinks ul.container li a,
    #pun div#pun-navlinks ul.container li a:hover {
        background-image: none !important;
        background-color: #158176 !important;
        border-radius: 5px !important;
        height: unset !important;
        width: unset !important;
        -webkit-box-shadow: none !important;
        padding: 3px 4px !important;
        display: grid !important;
    }
 
    #pun div#pun-navlinks ul.container .isactive a {
        background: #0ecab6 !important;
    }
 
    .ismoderator div#pun-ulinks,
    div#pun-ulinks {
        background-color: unset !important;
        position: relative !important;
        background-image: none !important;
        width: unset !important;
        height: unset !important;
        right: unset !important;
        top: unset !important;
        margin-top: 6em !important;
        z-index: 1 !important;
    }
 
    #pun-ulinks ul.container {
        padding: 1em !important;
        border: 1px solid #78daca !important;
        background-color: var(--accent-color) !important;
        -webkit-box-shadow: none !important;
        top: unset !important;
        position: relative !important;
    }
 
    #pun-ulinks:hover ul.container,
    #pun-ulinks:focus ul.container {
        display: flex !important;
    }
 
    #pun-ulinks ul.container li {
        display: unset !important;
    }
 
    #pun-ulinks ul.container li a {
        display: inline-block !important;
        padding: .3em .7em !important;
        font-size: 10px !important;
    }
 
    div#pun-title {
        margin-bottom: 1em !important;
        overflow-x: unset !important
    }
 
    div#pun-title h1.title-logo {
        height: 4em !important;
        font-size: 1.5em !important;
        white-space: normal !important;
    }
 
    div#pun-title h1.title-logo span {
        white-space: normal !important;
    }
 
 
    div.linkst div.pagelink {
        margin-top: unset !important;
    }
 
    .forum td.tc2 {
        display: flex !important;
        width: unset !important;
    }
 
    div.post h3 span {
        background-color: unset !important;
    }
 
    #post textarea {
        font-size: 16px !important;
        max-width: 99% !important;
    }
 
    div#pun-index.punbb tbody.hasicon td.tcl:not(.isub .tcl) {
        padding-left: 1.5em !important;
    }
 
    /*  MYBB MOBILE FIXES END */
}
 
@media screen and (max-width: 400px) {
 
    input,
    select {
        max-width: 250px;
    }
}

/* ======================== FIXED DESKTOP DESIGN OVERRIDES ======================== */

html {
    min-width: var(--header-width);
}

body {
    background: var(--forum-bg) fixed;
    background-color: #332e2a;

    position: relative;
    margin: 0;

    font: 500 70% montserrat, verdana, arial, helvetica, sans-serif;
}


#pun,
div#pun {
    position: relative;
    width: var(--forum-width);
    min-width: var(--forum-width);
    max-width: var(--forum-width);
    margin: 483px auto 30px;
    overflow: visible;
    background-image: var(--forum-body);
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 1170px auto;
}

/* Disable the old turquoise header plate. */
#pun::before {
    display: none !important;
    content: none !important;
}

/* Header artwork: native 1364 x 497, centered over the 1170px forum body. */
#pun-title,
div#pun-title {
    position: absolute;
    top: -484px;
    left: 1px;
    width: 1170px;
    height: 497px;
    min-height: 497px;
    margin: 0;
    overflow: visible;
    z-index: 1;
}

#pun::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    width: calc(100% - 40px) !important;
    height: calc(100% - 50px) !important;
    top: 67px !important;
    left: 20px !important;
    padding: 1px;
    box-sizing: border-box;
    background: var(--linetelo);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

#pun-title::before {
    content: "";
    position: absolute;

    top: 0;
    left: 50%;

    width: 1364px;
    height: 497px;

    transform: translateX(-50%);

    background-image: var(--forum-logo);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 1364px 497px;

    pointer-events: none;
    z-index: 0;
}


#pun-title > * {
    position: relative;
    z-index: 1;
}

/* Hide the old text/custom-logo implementation: the full header PNG is used instead. */
#pun-title h1,
#pun.custom-logo #title-logo-tdr {
    background: none;
}

/* Footer artwork: native 1364 x 177 with transparent edges. */
#pun-about {
    position: relative;
    min-height: var(--footer-height);
    overflow: visible;
    z-index: 1;
    top: 50px;
}
#html-footer {
    position: relative;
    margin-top: -44px;
}

#html-footer .partners {
    position: relative;
    z-index: 5;
    width: 930px;
    max-width: 930px;
    height: 80px;
    margin: -35px 20px 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

#pun-about::before {
    content: "";
    position: absolute;
    z-index: 1;

    left: calc(50% + 1px);
    bottom: 0;

    width: var(--footer-width);
    height: var(--footer-height);

    transform: translateX(-50%);

    background-image: var(--forum-footer);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 1364px 177px;

    pointer-events: none;
}

#pun-about .container {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 150%;
    transform: translateY(-50px);
}

/* БыстроПлюсы для Топика */
.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}
div .post-rating p>a {
  text-align: center;
  outline: 1px solid transparent;
  font-weight: 700;
  background: url(https://forumstatic.ru/files/001b/a6/d4/26514.svg) no-repeat center;
  background-size: 38px auto;
  position: relative;
  padding-left: 1px;
  z-index: 100;
  width: 38px;
  height: 38px;
  text-align: center;
  font-size: 11px !important;
  display: inline-block;
  vertical-align: middle;
  line-height: 34px;
  letter-spacing: -1px;
  color: #336B5E;
}
div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}
div.post-vote {
    margin-bottom: 65px;
}
div.post-vote p>a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  z-index: 200;
  width: 23px;
  height: 23px;
  background: url(https://forumstatic.ru/files/0012/d8/04/75043.png?) no-repeat;
  display: block;
  background-size: 100%;
  margin-left: 29px;
  margin-top: 42px;
}
.post.dark-style div.post-vote p>a {
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}


#navprofiles {
  position: relative;
  z-index: 999;
}

#pun-navlinks.section .multiacc-profilemenu {
  position: absolute;
  top: 20px;
  right: 0px;
  width: max-content;
  height: auto;
  background: #f4f4f4;
  border-radius: 20px;
  border-inline: 1px solid #999;
  color: #333;
}

.multiacc-profilemenu li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  gap: 10px;
  width: 100%;
}

.multiacc-profilemenu li a {
  display: block;
  flex-grow: 1;
  text-align: left;
  padding-left: 20px;
  position: relative;
}

.multiacc-profilemenu li:first-child {
  background-color: #e0e0e0;
  font-weight: 700;
}

#pun-navlinks.section .multiacc-profilemenu li {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  font-size: 0.8rem;
  padding: 6px 16px 10px;
  border-bottom: 1px solid #64695c69;
  top: 0;
}

#pun-navlinks.section .multiacc-profilemenu li:last-child {
  border-bottom: 0;
}

#pun-navlinks.section .multiacc-profilemenu li:hover {
  box-shadow: inset 0px 0px 30px 3px rgba(43, 67, 62, 0.2);
}

#pun-navlinks.section .multiacc-profilemenu li a {
  color: #555;
}

#pun-navlinks.section .multiacc-profilemenu li a:hover {
  color: #888;
}

.multiacc-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.multiacc-dialog {
  z-index: 9999;
  padding: 10px;
  font-size: 0.8rem;
  background: #e8e8e8 !important;
  border: 1px solid #999;
  color: #333;
}

.multiacc-dialog > form {
  border: 1px solid #ccc;
  padding: 10px 10px 2px;
}

.multiacc-dialog input {
  padding: 4px 10px;
  border: 1px solid #b9bfb0;
}

.multiacc-dialog div {
  display: flex;
  justify-content: center;
}

.multiacc-dialog div:not(.multiacc-dialog div:last-child) {
  flex-direction: column;
}

.multiacc-dialog button {
  margin: 6px;
  padding: 4px 8px;
  background: #f4f4f4;
  color: #555;
  border-inline: 1px solid #999;
  border-block: 0;
  border-radius: 4px;
  cursor: pointer;
}

.multiacc-dialog button:hover {
  color: #444;
}


/* ==================================================
   МЕНЮ БЫСТРОЙ СМЕНЫ АККАУНТА
================================================== */

#navprofiles {
    position: relative;
    z-index: 100;
}


/* выпадающее меню */
#pun-navlinks.section .multiacc-profilemenu {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 0px);
    left: 50%;
    right: auto;
    width: 245px;
    height: auto;
    margin: 0px;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid
        color-mix(
            in srgb,
            var(--accent-color2) 55%,
            transparent
        );
    border-radius: var(--radius-medium);
    background: var(--main-white);
    color: var(--text-color);
    box-shadow:
        0 8px 20px rgb(62 21 14 / 22%),
        inset 0 0 0 2px rgb(255 255 255 / 45%);
    transform: translateX(-50%);
}


/* маленький указатель сверху */
#pun-navlinks.section .multiacc-profilemenu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 1px solid
        color-mix(
            in srgb,
            var(--accent-color2) 55%,
            transparent
        );
    border-left: 1px solid
        color-mix(
            in srgb,
            var(--accent-color2) 55%,
            transparent
        );
    background: var(--accent-color2);
    transform:
        translateX(-50%)
        rotate(45deg);
    z-index: 9;
}


/* общая строка меню */
#pun-navlinks.section .multiacc-profilemenu li {
    position: relative;
    top: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 35px;

    margin: 0;
    padding: 6px 9px;

    gap: 8px;

    box-sizing: border-box;

    border: 0;
    border-bottom: 1px solid
        color-mix(
            in srgb,
            var(--text-color) 12%,
            transparent
        );

    background: transparent;

    font-size: 10px;
    line-height: 1.2;

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* последняя строка без нижней линии */
#pun-navlinks.section .multiacc-profilemenu li:last-child {
    border-bottom: 0;
}


/* наведение на строку */
#pun-navlinks.section .multiacc-profilemenu li:hover {
    background:
        color-mix(
            in srgb,
            var(--main-blue) 10%,
            transparent
        );

    box-shadow: inset 3px 0 0 var(--main-blue);
}


/* ==================================================
   ДОБАВИТЬ АККАУНТ
================================================== */

#pun-navlinks.section .multiacc-profilemenu li:first-child {
    min-height: 38px;

    margin-bottom: 3px;

    border: 0;
    border-radius:
        calc(var(--radius-medium) - 2px)
        calc(var(--radius-medium) - 2px)
        var(--radius-small)
        var(--radius-small);

    background: var(--accent-color);
    color: var(--main-white);

    font-weight: 700;
    text-transform: uppercase;
}


/* не меняем фон первой строки как у обычной */
#pun-navlinks.section .multiacc-profilemenu li:first-child:hover {
    background: var(--main-blue);
    box-shadow: none;
}


/* ==================================================
   ССЫЛКИ
================================================== */

#pun-navlinks.section .multiacc-profilemenu li a {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    min-width: 0;
    padding: 0;

    flex: 1 1 auto;

    color: var(--link-color) !important;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none !important;
}


/* обычный аккаунт */
#pun-navlinks.section
.multiacc-profilemenu
li:not(:first-child)
a::before {
    content: "\f007";

    color: var(--main-blue);

    font-family: var(--fa);
    font-size: 11px;
    font-weight: normal;
    line-height: 1;
}


/* добавить аккаунт */
#pun-navlinks.section
.multiacc-profilemenu
li:first-child
a {
    color: var(--main-white) !important;
}


#pun-navlinks.section
.multiacc-profilemenu
li:first-child
a::before {
    content: "\f234";

    color: var(--main-white);

    font-family: var(--fa);
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
}


/* наведение на ссылку аккаунта */
#pun-navlinks.section
.multiacc-profilemenu
li:not(:first-child)
a:hover {
    color: var(--link-hover-color) !important;
}


/* ==================================================
   КНОПКА УДАЛЕНИЯ
================================================== */

#pun-navlinks.section .multiacc-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    margin: 0 0 0 auto;
    padding: 0;

    flex: 0 0 24px;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: var(--accent-color);

    font-size: 0;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}


/* корзина */
#pun-navlinks.section .multiacc-delete-btn::before {
    content: "\f1f8";

    font-family: var(--fa);
    font-size: 11px;
    font-weight: normal;
    line-height: 1;
}


/* наведение на удаление */
#pun-navlinks.section .multiacc-delete-btn:hover {
    background:
        color-mix(
            in srgb,
            var(--accent-color) 12%,
            transparent
        );

    color: var(--main-red);

    transform: scale(1.08);
}

/* ==================================================
   ДИАЛОГ ДОБАВЛЕНИЯ/УДАЛЕНИЯ АККАУНТА
================================================== */

.multiacc-dialog {
    z-index: 99999;

    width: min(90vw, 360px);

    padding: 6px;

    box-sizing: border-box;

    border: 1px solid var(--accent-color2);
    border-radius: var(--radius-medium);

    background: var(--main-white) !important;
    color: var(--text-color);

    font-size: 11px;

    box-shadow:
        0 12px 35px rgb(62 21 14 / 30%);
}


/* затемнение страницы */
.multiacc-dialog::backdrop {
    background: rgb(62 21 14 / 35%);
    backdrop-filter: blur(2px);
}


/* форма внутри */
.multiacc-dialog > form {
    padding: 14px;
    border: 1px solid
        color-mix(
            in srgb,
            var(--accent-color2) 35%,
            transparent
        );
    border-radius: calc(var(--radius-medium) - 2px);
    background: var(--profile-body-color);
}


/* строки формы */
.multiacc-dialog form > div {
    display: flex;
    justify-content: center;
    gap: 7px;
}


.multiacc-dialog form > div:not(:last-child) {
    flex-direction: column;
    margin-bottom: 10px;
}


/* поля */
.multiacc-dialog input {
    width: 100%;

    padding: 7px 9px;

    box-sizing: border-box;

    border: 1px solid
        color-mix(
            in srgb,
            var(--text-color) 20%,
            transparent
        );

    border-radius: var(--radius-small);

    background: var(--main-white);
    color: var(--text-color);

    font-size: 11px;
}


/* фокус поля */
.multiacc-dialog input:focus {
    border-color: var(--main-blue);
    outline: 2px solid
        color-mix(
            in srgb,
            var(--main-blue) 20%,
            transparent
        );
}


/* кнопки диалога */
.multiacc-dialog button {
    min-height: 28px;

    margin: 0;
    padding: 5px 11px;

    border: 1px solid
        color-mix(
            in srgb,
            var(--accent-color) 35%,
            transparent
        );

    border-radius: var(--radius-small);

    background: var(--accent-color);
    color: var(--main-white);

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.multiacc-dialog button:hover {
    background: var(--button-color-hover);
    color: var(
    --main-white);
    transform: translateY(-1px);
}


/* ==================================================
   СЧЁТЧИК СИМВОЛОВ
================================================== */

#plng {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;

    min-height: 20px !important;

    margin: 0 10px 0 0 !important;
    padding: 2px 4px 2px 7px !important;

    box-sizing: border-box !important;

    border: 1px solid rgb(255 255 255 / 18%) !important;
    border-radius: var(--radius-small) !important;

    background: rgb(255 255 255 / 10%) !important;
    color: var(--main-white) !important;

    font-family: var(--eng) !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    vertical-align: middle !important;
}


/* иконка карандаша */
#plng::before {
    content: "\f040";

    color: var(--main-white);

    font-family: var(--fa);
    font-size: 10px;
    font-weight: normal;
    line-height: 1;
}


/* само количество символов */
#plng > b {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    min-height: 16px;

    padding: 1px 5px;

    box-sizing: border-box;

    border-radius: calc(var(--radius-small) - 1px);

    background: var(--main-white);
    color: var(--accent-color);

    font-family: var(--eng);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;

    font-variant-numeric: tabular-nums;
}


/* ======================== REALTIME TOGGLE ======================== */

#realtime-toggle {
    position: relative;
    z-index: 2;

    width: auto;
    margin: 14px 18px 16px !important;
    padding: 0 !important;

    box-sizing: border-box;
    text-align: right !important;
}

#realtime-toggle a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-small);
    color: var(--closed-theme);
    background: var(--accent-color);
    text-decoration: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

#realtime-toggle a::before {
    content: "\f021";
    font-family: var(--fa);
    font-weight: 900;
    font-size: 0.85em;
}

#realtime-toggle a:hover {
    color: var(--main-white) !important;
    background-color: var(--button-color-hover);
}

/* ======================== TOOLTIP ========================  */

#tooltip {
    position: fixed !important;
    z-index: 999999 !important;

    display: none;
    max-width: 200px;
    padding: 5px 8px;
    box-sizing: border-box;

    color: var(--text-color);
    background: var(--main-white);

    border: 1px dotted var(--accent-color2);
    border-radius: var(--radius-small);

    box-shadow: 0 4px 12px rgba(62, 21, 14, 0.15);

    font-family: var(--rus);
    font-size: 11px;
    line-height: 1.35;
    text-align: center;

    pointer-events: none;
}