@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=block");
/* FA icons */
@import url(https://forumstatic.ru/files/001a/e1/ae/88289.css);

@import url(style_cs.1790806466.css);

/* øðèôò çàãîëîâêîâ, ïîýòîìó îí çäåñü */

@font-face {
  font-family: "Oranienbaum";
  src:
    local("Oranienbaum"), url(https://forumstatic.ru/files/0014/65/a2/18593.ttf);
  font-display: block;
}

/* øðèôò íèêîâ + basic */

/* cyrillic */
@font-face {
  font-family: "Alegreya Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/alegreyasanssc/v26/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DrpG4idhMLJ_.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: "Alegreya Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/alegreyasanssc/v26/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DrpG4i1hMLJ_.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Alegreya Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/alegreyasanssc/v26/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DrpG4iNhMA.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* øðèôò ïëàøåê */

/* cyrillic-ext */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url(https://forumstatic.ru/files/001a/e1/ae/29566.woff2) format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url(https://forumstatic.ru/files/001a/e1/ae/94618.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url(https://forumstatic.ru/files/001a/e1/ae/62870.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url(https://forumstatic.ru/files/001a/e1/ae/13991.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* çàãîëîâêè âàó÷åðîâ */

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/bebasneue/v16/JTUSjIg69CK48gW7PXoo9Wlhyw.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* variables */

html[data-theme="base"] {
  color-scheme: light;
  --body-img: url(https://forumstatic.ru/files/001a/e1/ae/57746.png);
}

:root {
  --pun-width: 1050px;
  --padding: 30px;
  --header-height: 726px;

  --eng-title-font: "Oranienbaum";
  --regular-font: "Montserrat";
  --basic-font: "Alegreya Sans SC";
  --icon-font: "Font Awesome 7 Pro";

  /* äàëåå ïî óìîë÷àíèþ áàçîâàÿ òåìà */
  color-scheme: light;

  /* ======================== ÎÑÍÎÂÍÎÅ ======================== */
  --header: url(https://forumstatic.ru/files/001a/e1/ae/74365.png);
  --footer: url(https://forumstatic.ru/files/001a/e1/ae/54909.png);
  --body-img: url(https://forumstatic.ru/files/001a/e1/ae/65981.png);

  --body-color: #000;
  --pun-bg-color: #c4dac7;
  --scrollbar-color: #3a5643;

  --accent-color: #c59160;
  --accent-color-contrast: #af7d58;
  --text-on-accent: #fff;

  --accent-color-extra: #5ea669;
  --accent-color-contrast-extra: #477a4f;
  --text-on-accent-extra: #fff;

  /* --plain-border: #b6cec5; */
  --plain-border: #acc9b0;

  --selection-bg: #577a5c;
  --selection-color: #daebdd;

  /* ======================== ÒÅÊÑÒ ======================== */
  --text-color: #333f3a;
  --plain-text-color: #749278;

  --links-color: #4f8865;
  --links-hover: #8f5329;

  --error-bg: #d7787820;
  --error-border: #d5b3b3;
  --error-color: #dd6b6b;

  /* ======================== ÈÍÏÓÒÛ ======================== */
  --input-bg: #d7e4d8;
  --input-border: #a3bca6;
  --input-border-focus: #ccb29a;

  --btn-bg: #598f6a;
  --btn-color: #fff;
  --btn-border: #6ea37e;

  /* ======================== ÍÀÂÈÃÀÖÈß ======================== */
  --ulinks-a: #6a8a6f;
  --ulinks-a-hover: #c3864c;
  --ulinks-bg: #000;

  --navlinks-bg: #09120c;
  --navlinks-border: #042b22;
  --navlinks-bg-hover: #000;
  --navlinks-bg-active: #4b3616;
  --navlinks-a-active: #be854f;
  --navlinks-border-active: #714f2a;
  --navlinks-a: #548a5c;
  --navlinks-a-hover: #436b4c;

  --navprofile-bg: #d0e7d3;

  --welcome-strong: #996f40;

  /* ======================== ÁËÎÊÈ ======================== */
  --blocks-bg: #000;
  --blocks-color: #5b7a5f;
  --blocks-border: #042b22;

  /* ======================== ÊÀÒÅÃÎÐÈÈ È ÏÎÄÔÎÐÓÌÛ ======================== */
  --cat-bg: #d2e3d4;
  --cat-border: #b0cab7;
  --cat-outline: #b7d8bd;
  --cat-bg-img: url(https://forumstatic.ru/files/001a/e1/ae/58392.png);

  --hasicon-border: #c4dac7;

  --tclcon-title: #b58457;

  --tclcon-link: #fff;
  --tclcon-link-bg: #7cb084;
  --tclcon-link-bg-hover: #b58958;
  --tclcon-link-bg-hover: #fff;

  --tclcon-special-bg: #c5dcc9;
  --tclcon-lastpost: #6d8c75;

  --isticky-bg: #e0f9e4;

  --subforum-bg: #cde3d1;

  --avatar-border: #5e916578;

  --icon-new: url(https://forumstatic.ru/files/001a/e1/ae/41490.png);

  /* ======================== ÍÓÆÍÛÅ ======================== */
  --need-descr-bg: #82a988;
  --need-descr-color: #fff;
  --need-img-overlday: #82a988;

  --need-info-bg: #709576;
  --need-info-color: #dfede1;

  --need-link-bg: #4a8153;
  --need-link-color: #c6ebcb;

  /* ======================== ÑÒÀÒÈÑÒÈÊÀ ======================== */
  /* --stats-item-new-bg: #862514;
  --stats-item-new-color: #fff;
  --stats-item-new-hover: #000;

  --stats-pic: url(https://forumstatic.ru/files/001a/e1/ae/83776.png); */

  /* ======================== ÂÍÓÒÐÈ ÒÅÌÛ ======================== */
  --pagelink-bg: #d0e7d3;
  --pagelink-bg-hover: #dcf1de;
  /* --pagelink-strong-bg: #8cb1ae;
    --pagelink-strong-color: #fff; */

  --permalink-bg: #94ad97;
  --permalink-color: #e0f7e3;
  --permalink-link: #e0f7e3;

  --crumbs-bg: #d0e7d3;
  /* --crumbs-link: #7ac895; */

  --quote-bg: #b3c9b6;
  --quote-border: #a6bca9;

  /* ======================== ÏÐÎÔÈËÜ ======================== */
  --profile-bg: #e0e9e1;
  --profile-border: #9fb9a2;
  --profile-color: #46634d;
  --profile-inside-border: #c4dac750;
  --profile-status-bg: #5b8167;
  --profile-status-color: #61a977;
  --profile-ank-bg: #fff;
  --profile-no-bg: #acc3af;
  --profile-counters: #87b195;

  --profile-btn-bg: #d5ebd8;
  --profile-btn-border: #adcfb1;
  --profile-btn-color: #70a982;
  --profile-btn-hover-bg: #ecf7ee;

  --profile-offline-dot: #bbb;
  --profile-offline-dot-hover: #ccc;

  /* ======================== ÒÎÏÈÊÈ ======================== */
  --topic-border: #acc7af;

  --humanized-bg: #b88042;
  --humanized-color: #fff;

  --directive-bg: #000;
  --directive-color: #5b8d63;

  --topic-main-bg: #d7e7d9;

  --topic-mini-title-bg: #fff;
  --topic-mini-title-color: #588c67;

  --topic-block1-bg: #c4d9c6;
  --topic-block2-bg: #e0ede2;
  --topic-block1-border: #acccaf;
  --topic-block2-border: #c5dbc8;
  --topic-block3-bg: #d3ebd6;
  --topic-block3-border: #e1f8e4;

  /* ======================== ÂÀÓ×ÅÐÛ ======================== */
  --voucher-label-text: #fff;

  --voucher-bg: #edf4ee;
  --voucher-border: #c0ddc7;
  --voucher-watermark: #d4e4d6;
  --voucher-value-bg: #2a2a2a;
  --voucher-postit: #24a69c;
  --voucher-adrush: #72c778;
  --voucher-boostup: #ddc317;
  --voucher-faceid: #959595;
  --voucher-backup: #ee553e;
  --voucher-redesign: #3f96c3;
  --voucher-inmatch: #b98ad4;
  --voucher-plusvibe: #ee158b;
  --voucher-priceoff: #ff9b28;
  --voucher-chaton: #ff876f;

  --bank-earned-bg: #fff;

  /* ======================== ËÀÉÊÈ ======================== */
  --like-hover: #7eb58f;
  --like-hover-bg: #e7f7ea;

  /* ======================== GEMINI ÑÊÐÎËËÛ ======================== */
  --gemini-scroll-thumb: #85bb97;
  --gemini-scroll-track: #c3ddcc;

  /* ======================== ËÈ×ÍÛÅ ÑÒÐÀÍÈÖÛ ======================== */
  --char-title-color: #a1754e;
  --char-main-border: #ffffff30;
  --char-pic-border: #d7e6e16b;
  --char-twink-name: #fff;
  --char-tab-bg: #58866c;
  --char-tab-text: #fff;
  --char-tab-active-bg: #3ea561;
  --char-content-bg: #cee2d1;
  --char-block-bg: #d7e7d9;
  --char-block-border: #bcd4bf;
  --char-decor-label-text: #fff;
  --char-decor-label-bg: #8ec09f;
  --char-decor-img-border: #ffffff47;
  --char-line-text-bg: #ecf6ed;
  --char-line-text-color: #5c9971;
  --char-dropdown-color: #fff;
  --char-app-block-bg: #abceb0;
  --char-app-task-bg: #c4dac7;
  --char-app-task-color: #52815b;
  --char-app-game-item-bg: #85a18b;
  --char-app-game-item-color: #fff;
  --char-app-game-tab-bg: #85a18b;
  --char-app-game-counter: #fff;

  /* ======================== ÈÒÎÃÈ ÍÅÄÅËÈ ======================== */
  --weekly-label-bg: #73a080;
  --weekly-label-text: #f2fbf3;
  --weekly-players: #8fa292;
  --weekly-scroll-thumb: #88aea2;
  --weekly-scroll-track: #73a080;
  --weekly-header-bg: #73a080;
  --weekly-header-text: #f2fbf3;
  --weekly-popup-border: #73a080;
  --weekly-news-link-bg: #d7a063;
  --weekly-news-link: #fcefe1;
  --weekly-quote-mark: #b88042;
  --weekly-blocks-bg: #bed5c6;
  --weekly-blocks-color: #6d9072;
  --weekly-post-bg: #b5d1b9;
  --weekly-post-color: #4d6656;

  /* ======================== ÔÎÐÌÀ ÎÒÂÅÒÀ ======================== */
  --main-form-controls-bg: #bbd4bf;
  --main-form-controls-border: #adcbb1;
  --main-form-border: #b7cdcb;
  --main-form-counter: #719877;
  --main-form-btn-hover: #d4e9d7;

  /* ======================== ÑÑÛËÊÈ-ÊÍÎÏÊÈ ======================== */
  --post-links-icon: #9dc3a2;

  /* ======================== NOTIFICATION (jGrowl) ======================== */
  --jGrowl-bg: #a77c4b;
  --jGrowl-color: #fff;
  --jGrowl-link: #ebceae;

  /* ======================== ÀÍÊÅÒÀ ======================== */
  --anketa-bg: #a0b9a4;
  --anketa-border: #9bb29f;
  --anketa-header-border: #9bb29f90;
  --anketa-info-bg: #7aa881;
  --anketa-info-icon-bg: #c2d9c5;
  --anketa-icon-color: #74aa7c;
  --anketa-ocupation-bg: #618166;
  --anketa-runame-bg: #b08351;
  --anketa-runame-color: #fff;
  --anketa-bio-bg: #ccdfce;
  --anketa-bio-text: #5b7a5f;
  --anketa-pic-overlay: #abe4b254;
  --anketa-name-color: #bc8c56;
  --anketa-sur-color: #fff;
  --anketa-quote-color: #fff;
  --anketa-info-text: #fff;
  --anketa-proto-color: #fff;
  --anketa-sur-decoration: #ffffff60;

  /* ÃÎÑÒÅÂÀß */

  --gb-title: #ad804e;
  --gb-welcome: #fff;
  --gb-info: #7ec394;
  --gb-list-title-bg: #618c70;
  --gb-list-title: #fff;
  --gb-list-bg: #a2c2ab;
  --gb-list-a: #145b2f;

  /* SNS */
  --msg-bg: #f4fff6;
  --msg-mine-bg: #d8f0db;
  --msg-reply-bg: #d8f0db;
  --msg-mine-reply-bg: #bfdcc3;

  /* òàáëèöà */
  --gemtable-titles: #7e562e;
  --gemtable-names: #476a4d;
  --gemtable-names-hover: #71a179;

  --gemtable-links-bg: #000;
  --gemtable-links-border: #042b22;
  --gemtable-link-bg: #07291d;
  --gemtable-link-color: #5a8660;
  --gemtable-link-hover: #805d38;
  --gemtable-link-hover-col: #e2b98b;

  --gemtable-news-bg: #0d2e23;
  --gemtable-news-bg-hover: #57381a;

  --gemtable-news-text: #559068;
  --gemtable-news-text-hover: #efc791;

  --gemtable-news-title: #62ab79;
  --gemtable-news-title-hover: #efc791;

  --gemtable-news-date-line: #2b4a35;
  --gemtable-news-date-line-hover: #6d533b;

  /* ÌÀÃÀÇÈÍ */
  --store-item-bg: #fff;
  --store-item-border: #d4e8e1;

  --store-btn-bg: #9fcda5;
  --store-btn-border: #ffffff3d;

  --store-item-cart-bg: #c4dbd3;
  --store-item-cart-border: #9bb9af;
  --store-item-cart-outline: #88a99e;
  --store-item-cart-shadow: #84c8b491;

  /* gemgram */

  --gemgram-bg: #fff;
  --gemgram-borer: #00000020;
  --gemgram-av-border: #c4dac7;
  --gemgram-username: #6bb875;
  --gemgram-location: #86bd8e;
  --gemgram-music-bg: #e3efe4;
  --gemgram-music: #66a66b;
  --gemgram-pic-border: #c3d5cf;
}

html[data-theme="dark"] {
  color-scheme: dark;

  /* ======================== ÎÑÍÎÂÍÎÅ ======================== */
  --body-img: url(https://forumstatic.ru/files/001a/e1/ae/65981.png);
  --header: url(https://forumstatic.ru/files/001a/e1/ae/64033.png);
  --footer: url(https://forumstatic.ru/files/001a/e1/ae/54909.png);
  --body-color: #000;
  --pun-bg-color: #1a1f1c;
  --scrollbar-color: #354d39;

  --accent-color: #6d411c;
  --accent-color-contrast: #94663f;
  --text-on-accent: #ffe6d1;

  --accent-color-extra: #23452d;
  --accent-color-contrast-extra: #5c936d;
  --text-on-accent-extra: #cbeed6;

  --plain-border: #202b24;

  --selection-bg: #000;
  --selection-color: #83a286;

  /* ======================== ÒÅÊÑÒ ======================== */
  --text-color: #708174;
  --plain-text-color: #627a67;

  --links-color: #568464;
  --links-hover: #9f6e40;

  --error-bg: #d7787820;
  --error-border: #654848;
  --error-color: #b05353;

  /* ======================== ÈÍÏÓÒÛ ======================== */
  --input-bg: #181b19;
  --input-border: #2c3931;
  --input-border-focus: #453323;

  --btn-bg: #2b4934;
  --btn-color: #95c8a6;
  --btn-border: #40674d;

  /* ======================== ÍÀÂÈÃÀÖÈß ======================== */
  --ulinks-a: #6a8a6f;
  --ulinks-a-hover: #a5764a;
  --ulinks-bg: #000;

  --navlinks-bg: #09120c;
  --navlinks-border: #042b22;
  --navlinks-bg-hover: #000;
  --navlinks-bg-active: #4b3616;
  --navlinks-a-active: #be854f;
  --navlinks-border-active: #714f2a;
  --navlinks-a: #548a5c;
  --navlinks-a-hover: #436b4c;

  --navprofile-bg: #121612;

  --welcome-strong: #6a4833;

  /* ======================== ÁËÎÊÈ ======================== */
  --blocks-bg: #000;
  --blocks-color: #598067;

  /* ======================== ÊÀÒÅÃÎÐÈÈ È ÏÎÄÔÎÐÓÌÛ ======================== */
  --cat-bg: #222925;
  --cat-border: #33513e;
  --cat-outline: #2a362e;
  --cat-title: #85b7a7;
  --cat-bg-img: url(https://forumstatic.ru/files/001a/e1/ae/58392.png);

  --hasicon-border: #27322c;

  --tclcon-title: #9a6738;

  --tclcon-link: #a7d4ae;
  --tclcon-link-bg: #385a3d;
  --tclcon-link-bg-hover: #57381a;
  --tclcon-link-hover: #c1a784;

  --tclcon-special-bg: #1e231f;
  --tclcon-lastpost: #95b898;

  --isticky-bg: #263128;

  --subforum-bg: #161a17;

  --icon-new: url(https://forumstatic.ru/files/001a/e1/ae/41490.png);

  /* ======================== ÍÓÆÍÛÅ ======================== */
  --need-descr-bg: #2e4938;
  --need-descr-color: #8ec5a3;
  --need-img-overlday: #2e4938;

  --need-info-bg: #263a2d;
  --need-info-color: #689d7b;

  --need-link-bg: #1c2b21;
  --need-link-color: #5c9571;

  /* ======================== ÑÒÀÒÈÑÒÈÊÀ ======================== */
  /* --stats-item-new-bg: #862514;
    --stats-item-new-color: #efd2d2;
    --stats-item-new-hover: #000; */

  /* --stats-pic: url(https://forumstatic.ru/files/001a/e1/ae/83776.png); */

  /* ======================== ÂÍÓÒÐÈ ÒÅÌÛ ======================== */
  --pagelink-bg: #0f1310;
  --pagelink-bg-hover: #233628;
  --pagelink-strong-bg: #2d4f4d;
  --pagelink-strong-color: #a2cdc8;

  --permalink-bg: #2a332b;
  --permalink-color: #97b09a;
  --permalink-link: #97b09a;

  --crumbs-bg: #151a16;
  --crumbs-link: #2f4b4b;

  --quote-bg: #101311;
  --quote-border: #252b27;

  /* ======================== ÏÐÎÔÈËÜ ======================== */
  --profile-bg: #151716;
  --profile-border: #2b3d2e;
  --profile-color: #4f6357;
  --profile-inside-border: #22462e50;
  --profile-status-bg: #253328;
  --profile-status-color: #446752;
  --profile-ank-bg: #0d0f0e;
  --profile-no-bg: #232f26;
  --profile-counters: #2e4e3b;

  --profile-btn-bg: #131715;
  --profile-btn-border: #232a26;
  --profile-btn-color: #334a3f;
  --profile-btn-hover-bg: #141d15;

  --profile-offline-dot: #3a3a3a;
  --profile-offline-dot-hover: #474747;

  /* ======================== ÀÂÀÒÀÐÛ ======================== */
  --avatar-border: #233d3bad;

  /* ======================== ÒÎÏÈÊÈ ======================== */
  --topic-border: #262e2a;

  --humanized-bg: #5b381a;
  --humanized-color: #dfb08a;

  --directive-bg: #000;
  --directive-color: #214a2f;

  --topic-main-bg: #121614;

  --topic-mini-title-bg: #243f2d;
  --topic-mini-title-color: #99c8a7;

  --topic-block1-bg: #1c2920;
  --topic-block1-border: #304637;
  --topic-block2-bg: #1c211e;
  --topic-block2-border: #2b322e;
  --topic-block3-bg: #191f1b;
  --topic-block3-border: #2c3630;

  /* ======================== ÂÀÓ×ÅÐÛ ======================== */
  --voucher-label-text: #000;

  --voucher-bg: #212121;
  --voucher-border: #222b25;
  --voucher-watermark: #2e3931;
  --voucher-value-bg: #000000;
  --voucher-postit: #187870;
  --voucher-adrush: #2a5f2e;
  --voucher-boostup: #817400;
  --voucher-faceid: #5f5f5f;
  --voucher-backup: #731b0e;
  --voucher-redesign: #145171;
  --voucher-inmatch: #664778;
  --voucher-plusvibe: #80124e;
  --voucher-priceoff: #a85b00;
  --voucher-chaton: #a04a38;

  /* ======================== ÁÀÍÊ ======================== */
  --bank-earned-bg: #000;

  /* ======================== ËÀÉÊÈ ======================== */
  --like-hover: #6ca27c;
  --like-hover-bg: #2a4131;

  /* ======================== GEMINI ÑÊÐÎËËÛ ======================== */
  --gemini-scroll-thumb: #3e6c4c;
  --gemini-scroll-track: #3f4a44;

  /* ======================== ËÈ×ÍÛÅ ÑÒÐÀÍÈÖÛ ======================== */
  --char-title-color: #94663f;
  --char-main-border: #1dad2a61;
  --char-pic-border: #d7e6e144;
  --char-twink-name: 89ca9c#9cd5d1;
  --char-tab-bg: #315e43;
  --char-tab-text: #8deeb4;
  --char-tab-active-bg: #1d723c;
  --char-content-bg: #19271e;
  --char-block-bg: #243a2d;
  --char-block-border: #345140;
  --char-decor-label-text: #9fecbe;
  --char-decor-label-bg: #3a7657;
  --char-decor-img-border: #ffffff47;
  --char-line-text-bg: #131714;
  --char-line-text-color: #59896d;
  --char-app-block-bg: #22352a;
  --char-app-task-bg: #34483c;
  --char-app-task-color: #bedfcb;
  --char-app-game-item-bg: #16201a;
  --char-app-game-item-color: #ffffffc4;
  --char-app-game-tab-bg: #151a18;
  --char-app-game-counter: #ffffff42;

  /* ======================== ÈÒÎÃÈ ÍÅÄÅËÈ ======================== */
  --weekly-label-bg: #1c452b;
  --weekly-label-text: #51a770;
  --weekly-players: #5b412b;
  --weekly-scroll-thumb: #88ae92;
  --weekly-scroll-track: #48574f;
  --weekly-couple-hash: #546e6d;
  --weekly-header-bg: #1c452b;
  --weekly-header-text: #51a770;
  --weekly-popup-border: #408258;
  --weekly-news-link-bg: #744e2e;
  --weekly-news-link: #e5ac7d;
  --weekly-quote-mark: #a06a3c;
  --weekly-blocks-bg: #212a25;
  --weekly-blocks-color: #4b8063;
  --weekly-post-bg: #19211c;
  --weekly-post-color: #60876c;

  /* ======================== ÔÎÐÌÀ ÎÒÂÅÒÀ ======================== */
  --main-form-controls-bg: #161917;
  --main-form-controls-border: #202f26;
  --main-form-border: #202f26;
  --main-form-counter: #52785e;
  --main-form-btn-hover: #101111;

  /* ======================== ÑÑÛËÊÈ-ÊÍÎÏÊÈ ======================== */
  --post-links-icon: #283629;

  /* ======================== ÒÅÌÀ (êòî â òåìå) ======================== */
  --topic-users-icon: #9dbcac;

  /* ======================== BLOCKLIST ======================== */
  --panel-shadow: #000;

  /* ======================== NOTIFICATION (jGrowl) ======================== */
  --jgrowl-bg: #000;
  --jgrowl-text: #fff;

  /* ======================== ÀÍÊÅÒÀ ======================== */
  --anketa-bg: #2b4934;
  --anketa-border: #4a7457;
  --anketa-header-border: #6c977354;
  --anketa-info-bg: #3b6d4a;
  --anketa-info-icon-bg: #67a77a;
  --anketa-icon-color: #2b4934;
  --anketa-ocupation-bg: #476b52;
  --anketa-runame-bg: #866141;
  --anketa-runame-color: #eac09d;
  --anketa-bio-bg: #25382a;
  --anketa-bio-text: #79ab88;
  --anketa-pic-overlay: #538e6580;
  --anketa-name-color: #94663f;
  --anketa-sur-color: #88d19e;
  --anketa-quote-color: #b8cfbc;
  --anketa-info-text: #97caa6;
  --anketa-proto-color: #e7e7e7;
  --anketa-sur-decoration: #88d19ea8;

  /* ÃÎÑÒÅÂÀß */

  --gb-title: #ba7d4a;
  --gb-welcome: #dd985e;
  --gb-info: #7ebe92;
  --gb-list-title-bg: #2b5038;
  --gb-list-title: #8ad1a2;
  --gb-list-bg: #131d16;
  --gb-list-a: #68ac7e;

  /* SNS */
  --msg-bg: #111312;
  --msg-mine-bg: #192f22;
  --msg-reply-bg: #1c2620;
  --msg-mine-reply-bg: #264131;

  /* òàáëèöà */
  --gemtable-titles: #7e562e;
  --gemtable-names: #476a4d;
  --gemtable-names-hover: #71a179;

  --gemtable-links-bg: #000;
  --gemtable-links-border: #042b22;
  --gemtable-link-bg: #07291d;
  --gemtable-link-color: #5a8660;
  --gemtable-link-hover: #4b3616;
  --gemtable-link-hover-col: #a27f49;

  --gemtable-news-bg: #0d2e23;
  --gemtable-news-bg-hover: #57381a;

  --gemtable-news-text: #559068;
  --gemtable-news-text-hover: #cdaa7d;

  --gemtable-news-title: #62ab79;
  --gemtable-news-title-hover: #cdaa7d;

  --gemtable-news-date-line: #2b4a35;
  --gemtable-news-date-line-hover: #6d533b;

  /* ÌÀÃÀÇÈÍ */
  --store-item-bg: #171d19;
  --store-item-border: #1f2d24;

  --store-btn-bg: #1c3224;
  --store-btn-border: #ffffff1f;

  --store-item-cart-bg: #173a36;
  --store-item-cart-border: #ffffff21;
  --store-item-cart-outline: #366354;
  --store-item-cart-shadow: #0b1616d9;

  /* gemgram */

  --gemgram-bg: #070a0a;
  --gemgram-borer: #00000020;
  --gemgram-av-border: #365b56;
  --gemgram-username: #2d6a65;
  --gemgram-location: #667e76;
  --gemgram-music-bg: #1e312e;
  --gemgram-music: #749996;
  --gemgram-pic-border: #2e3939;
}

/* ======================== MOBILE ADAPTATION ======================== */

@media screen and (max-width: 540px) {
  /* iphone zoom fix */
  textarea,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  select {
    font-size: 16px;
    width: 100%;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  select {
    height: 32px;
  }

  html:not(.force-desktop) #pun-title table {
    background-image: url(https://forumstatic.ru/files/001a/e1/ae/85208.png);
  }

  html[data-theme="dark"]:not(.force-desktop) #pun-title table {
    background-image: url(https://forumstatic.ru/files/001a/e1/ae/29184.png);
  }

  html:not(.force-desktop) {
    .g-ruler {
      max-width: 100% !important;
    }

    #pun-about .item1 {
      bottom: -35px;
    }

    #BookmCntToggle,
    #panel-sticker {
      display: none !important;
    }

    #panel {
      top: 180px;
    }

    /* ==================== ÎÑÍÎÂÍÎÅ ==================== */

    #pun {
      margin: 0 auto 40px;
      padding: 0;
      border-radius: 0;
      width: 100%;
    }

    #pun-main {
      padding: 0 20px 0;
    }

    #pun-index #pun-main {
      padding: 0 8px 0;
    }

    /* Ñòðåëêè */
    #ToTop,
    #OnBottom,
    body:has(#pun-index) #ToTopMini,
    body:has(#pun-index) #OnBottomMini {
      z-index: 99999 !important;
      display: none !important;
    }

    #ToTopMini,
    #OnBottomMini {
      width: 17px;
      height: 70px;
      background: var(--accent-color);
      border-radius: 10px 0 0 10px;
      opacity: 0.7;
    }

    #ToTopMini {
      top: 35%;
    }

    #OnBottomMini {
      top: calc(35% + 80px);
    }

    #OnBottomMini::before,
    #ToTopMini::before {
      font-size: 12px;
      color: #fff;
    }

    #ToTopMini::before {
      top: 25px;
    }

    #OnBottomMini::before {
      bottom: 25px;
    }

    /* ==================== HEADER ==================== */
    #pun-title {
      background: var(--body-img);
      background-size: cover;
      padding-top: 100px;
      height: 100%;
      transition: all 300ms;
    }

    #pun-title table {
      display: block;
      width: 100%;
      height: auto;
      background-size: cover;
      background-position: center top;
      position: relative;
      top: auto;
      aspect-ratio: 540 / 269;
      transition: all 300ms;
    }

    #pun-announcement .player,
    .temp1,
    .temp2,
    .gemtable_players,
    .gemtable_flooders,
    .gemtable_post,
    .gemtable_ep,
    .gemtable_couple,
    .gemtable_link,
    .gemtable_admins,
    .gemtable_location,
    .gemtable_genre {
      display: none !important;
    }

    /* ==================== GEMTABLE NEWS ==================== */
    #pun-announcement {
      position: relative;
      background: var(--blocks-bg);
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
      height: 60px;
      margin-top: -1px;
    }

    .gemtable_news {
      position: absolute;
      top: 6px;
      left: 0;
      width: 100%;
      box-sizing: border-box;
      height: auto;
      padding-bottom: 5px;
    }

    .gemtable_news a {
      height: 40px;
      grid-template-columns: 40px 1fr;
      grid-template-rows: 1fr 1fr;
      align-items: center;
      width: 180px;
    }

    .gemtable_news_date {
      font-size: 11px;
      justify-content: center;
    }

    .gemtable_news_title {
      font-size: 8px;
    }

    .gemtable_news_desc {
      font-size: 7px;
    }

    /* ==================== ULINKS ==================== */

    /* ïëàâíîå ñõëîïûâàíèå îðèãèíàëüíîãî ulinks */
    #pun-ulinks {
      height: auto;
      position: sticky;
      top: 55px;
      margin: 0;
      overflow: hidden;
      max-height: 200px;
      opacity: 1;
      transition:
        max-height 0.25s ease,
        opacity 0.25s ease,
        padding 0.25s ease;
      z-index: 101;
    }

    body.is-scrolled #pun-ulinks {
      max-height: 0;
      opacity: 0;
      pointer-events: none;
    }

    #pun-ulinks .container {
      padding: 0 5px 5px;
      width: 100%;
      box-sizing: border-box;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 0 8px;
      border-radius: 0 0 10px 10px;
      border: 1px solid var(--blocks-border);
      border-top: none;
    }

    #pun-ulinks li {
      font-size: 8px;
      line-height: 2;
      margin: 0;
    }

    #pun-ulinks .item11,
    #h-bookmarks {
      color: var(--ulinks-a);
    }

    #pun-ulinks .item11:hover,
    #h-bookmarks:hover {
      color: var(--ulinks-a-hover);
    }

    #mobile-ulinks {
      position: relative;
      display: none;
    }

    body.is-scrolled #mobile-ulinks {
      display: inline-block;
    }

    #mobile-ulinks a::before {
      content: "\f0c9";
    }

    #mobile-ulinks > a {
      position: relative;
    }

    #pun-navlinks .container #mobile-ulinks .dropdown {
      left: auto;
      right: 0;
    }

    #mobile-ulinks.open .dropdown {
      transform: scaleY(1);
    }

    #pun-navlinks .container li#mobile-ulinks:hover ul {
      transform: scaleY(0);
    }

    #pun-navlinks .container li#mobile-ulinks.open ul {
      transform: scaleY(1);
    }

    #mobile-ulinks .dropdown li.item1 a:before {
      content: "\e6df";
    }

    #mobile-ulinks .dropdown li.item2 a:before {
      content: "\f06d";
    }

    #mobile-ulinks .dropdown li.item3 a:before {
      content: "\f7a9";
    }

    #mobile-ulinks .dropdown li.item4 a:before {
      content: "\e7b1";
    }

    #mobile-ulinks .dropdown li.item5 a:before {
      content: "\f093";
    }

    #mobile-ulinks .dropdown li.item6 a:before {
      content: "\f005";
    }

    #mobile-ulinks .dropdown li.item7:nth-of-type(3) a:before {
      content: "\f122";
    }

    #mobile-ulinks .dropdown li.item7:nth-of-type(11) a:before {
      content: "\f560";
    }

    #mobile-ulinks .dropdown li.item8 a:before {
      content: "\f0f3";
    }

    #mobile-ulinks .dropdown li.item9 a:before {
      content: "\f5db";
    }

    #mobile-ulinks .dropdown li.item10:before {
      content: "\f02e";
    }

    #mobile-ulinks .dropdown li.item11:before {
      content: "\f05e";
    }

    /* ==================== NAVLINKS ==================== */
    body.is-scrolled #pun-navlinks,
    #pun-navlinks {
      top: 20px;
      height: 35px;
      position: fixed;
      margin: 0;
      border-radius: 0;
      background: var(--ulinks-bg);
      width: 100%;
      box-sizing: border-box;
      padding: 0;
      border: 1px solid var(--blocks-border);
      display: flex;
      align-items: center;
      gap: 20px;
      border-top: none;
      outline: none;
    }

    body.is-scrolled #pun-navlinks {
      border-radius: 0 0 10px 10px;
    }

    body.is-scrolled #pun-navlinks::before {
      display: none;
      content: none;
    }

    #pun-navlinks .container {
      padding: 5px 0;
      box-sizing: border-box;
      justify-content: center;
    }

    #pun-navlinks .container > li > a {
      width: 12px;
      height: 12px;
      padding: 5px;
      font-size: 12px;
      border: 1px solid var(--navlinks-border);
    }

    #navlogin,
    #navlogout {
      position: static;
    }

    #pun-navlinks .container li ul {
      left: -10px;
      top: 35px;
      min-width: 180px;
      padding: 10px;
    }

    #pun-navlinks .container li ul ul {
      left: 80%;
      top: -5px;
    }

    #loginPopup,
    #settingsDropdown {
      top: 40px;
      left: 5px;
      right: 5px;
      width: -webkit-fill-available;
      box-sizing: border-box;
    }

    #pun-navlinks .container li#navprofile ul,
    #pun-navlinks .container li#navadmin ul {
      left: 50%;
      transform: translateX(-50%) scaleY(0);
      top: 35px;
    }

    #pun-navlinks .container li#navprofile.open ul,
    #pun-navlinks .container li#navadmin.open ul {
      transform: translateX(-50%) scaleY(1);
    }

    #pun-navlinks .container li:hover ul {
      transform: scaleY(0);
    }

    #pun-navlinks .container li.open ul {
      transform: scaleY(1);
    }

    #pun-navlinks .container li ul li.forms:hover ul {
      transform: scaleX(0) !important;
    }

    #pun-navlinks .container li ul li.forms.open ul {
      transform: scaleX(1) !important;
    }

    /* ==================== PUN-STATUS ==================== */
    body.is-scrolled #pun-status,
    #pun-status {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      margin: 0;
      height: 20px;
      box-sizing: border-box;
    }

    #pun-status .container {
      width: 100%;
      height: 20px;
      padding: 3px 10px;
      background: var(--blocks-bg);
      font-size: 8px;
      border-radius: 0;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      border: 1px solid var(--blocks-border);
      white-space: nowrap;
    }

    #pun-status .status_userava a img,
    #pun-status .status_userava::before {
      width: 15px;
      height: 15px;
    }

    #pun-status .item1,
    #pun-status .item2 {
      align-self: auto;
    }

    #pun-status .item2 {
      font-size: 0;
    }

    #pun-status .item2 strong {
      font-size: 8px;
    }

    #pun-status .item2 strong::before {
      font-family: var(--icon-font);
      content: "\f017";
      margin-right: 5px;
    }

    /* ==================== FOOTER ==================== */
    #pun-about p.container {
      width: 100%;
      height: 60px;
      margin-bottom: -35px;
      background-size: 100% auto;
    }

    .banners-content {
      padding: 0 10px;
      height: 20px;
      bottom: 0;
      width: auto;
      right: 10px;
      left: 10px;
    }

    .banners-content a img {
      max-height: 20px;
      width: auto;
    }

    /* ==================== CRUMBS ==================== */
    .crumbs {
      margin: 10px 20px;
      width: auto;
    }

    /* ==================== ÃËÀÂÍÀß: ÊÀÒÅÃÎÐÈÈ ==================== */
    #pun-index .category,
    #pun-stats {
      margin: 40px 0 15px;
    }

    #pun-index .category::before,
    #pun-stats::before {
      left: 30px;
    }

    #pun-index .category h2,
    #pun-stats h2 {
      right: 30px;
      left: unset;
      font-size: 12px;
      top: -15px;
    }

    #pun-index .category .container {
      grid-template-columns: 1fr;
      border-radius: 20px;
    }

    #pun-index .category .container::before {
      display: none;
    }

    #pun-index .category .hasicon tr {
      grid-template-columns: 1fr;
      padding: 15px;
      gap: 10px;
    }

    #pun-index .tcl .icon.inew::before {
      content: none;
    }

    .category td.tcr {
      grid-template-columns: auto 1fr;
      padding: 10px;
      gap: 3px 10px;
      border-radius: 8px;
    }

    .category td.tcr .lastpost {
      font-size: 8px;
    }

    .category td.tcr a.lastpost-link {
      font-size: 9px;
    }

    .punbb .user-avatar .avatar-image {
      width: 28px;
      height: 28px;
    }

    .punbb .user-avatar .isonline {
      width: 6px;
      height: 6px;
      top: 1px;
      left: 21px;
    }

    #pun-index .tclcon h3 {
      font-size: 15px;
    }

    #pun-index .tclcon {
      font-size: 7px;
    }

    #pun-index .tclcon .sub-links {
      gap: 3px;
    }

    #pun-index .tclcon .sub-links a.sub-link {
      padding: 3px 8px;
      font-size: 7px;
    }

    /* ==================== ÑÒÀÒÈÑÒÈÊÀ ==================== */
    #pun-stats {
      margin: 20px 8px 20px;
    }

    #pun-stats .statscon {
      grid-template-columns: 1fr;
      min-height: auto;
      border-radius: 20px;
    }

    #pun-stats .statscon::after {
      display: none;
    }

    #pun-stats .statscon::before {
      display: none;
    }

    #pun-stats .statscon .container {
      padding: 15px;
      display: grid;
      gap: 7px;
      grid-template-columns: 1fr 1fr;
    }

    #pun-stats li.item1,
    #pun-stats li.item2,
    #pun-stats li.item3,
    #pun-stats li.item4 {
      position: static;
      width: auto;
      margin: 0;
      display: block;
      font-size: 8px;
    }

    li#onlinelist {
      font-size: 9px;
      padding: 8px 10px;
      grid-column: 1 / 3;
    }

    li#onlinelist span {
      font-size: 10px;
    }

    li#onlinelist.users_24h {
      padding-block: 0;
    }

    /* ==================== VIEWFORUM + SEARCHTOPICS ==================== */
    #pun-searchtopics .tcl {
      width: 40%;
    }

    #pun-searchtopics .tc2 {
      width: 20%;
    }

    #pun-searchtopics thead,
    #pun-viewforum thead {
      display: none;
    }

    #pun-viewforum .category {
      border-radius: 12px;
      padding: 5px;
    }

    #pun-viewforum .category tbody tr {
      display: grid;
      align-items: center;
    }

    #pun-viewforum .category .tcl {
      grid-column: 1;
      grid-row: 1;
      width: unset;
    }

    #pun-viewforum .category .tcr {
      grid-column: 1 / 4;
      grid-row: 2;
      width: unset;
      justify-items: start;
    }

    #pun-viewforum .category .tc2 {
      grid-column: 2;
      grid-row: 1;
      width: unset;
    }

    #pun-viewforum .category .tc3 {
      grid-column: 3;
      grid-row: 1;
      width: unset;
    }

    #pun-searchtopics .forum .tc3::before,
    #pun-searchtopics .forum .tc2::before,
    #pun-viewforum .tc2::before,
    #pun-viewforum .tc3::before {
      font-family: var(--icon-font);
      font-weight: 300;
      font-size: 12px;
      margin-right: 4px;
    }

    #pun-searchtopics .forum .tc2::before {
      content: "\f3c5";
    }

    #pun-searchtopics .forum .tc3::before {
      content: "\f075";
    }

    #pun-viewforum .forum .tc2::before {
      content: "\f075";
    }

    #pun-viewforum .forum .tc3::before {
      content: "\f06e";
    }

    #pun-viewforum .category .tc2::before {
      content: "\f5db";
    }

    #pun-viewforum .category .tc3::before {
      content: "\f075";
    }

    /* SEARCHTOPICS ãðèä */
    #pun-searchtopics .forum tbody {
      display: grid;
      gap: 8px;
      font-family: var(--regular-font);
    }

    #pun-searchtopics .forum tbody tr {
      display: grid;
      grid-template-columns: 3fr 4fr 1fr;
      background: var(--topic-main-bg);
      border-radius: 12px;
    }

    #pun-searchtopics .forum .tcl {
      grid-column: 1 / 3;
      grid-row: 1;
      width: 100%;
      box-sizing: border-box;
    }

    #pun-searchtopics .forum .tc2 {
      grid-column: 1;
      grid-row: 2;
      width: auto;
      text-align: left;
    }

    #pun-searchtopics .forum .tc3 {
      grid-column: 3;
      grid-row: 1;
      width: 100%;
      box-sizing: border-box;
      text-align: right;
    }

    #pun-searchtopics .forum .tcr {
      grid-column: 2 / 4;
      grid-row: 2;
    }

    #pun-searchtopics .forum .tc2,
    #pun-searchtopics .forum .tcr {
      padding-top: 0;
    }

    /* VIEWFORUM ãðèä */
    #pun-viewforum tr.tr-divider.st {
      display: none;
    }

    #pun-viewforum .forum tbody {
      display: grid;
      gap: 8px;
      font-family: var(--regular-font);
    }

    #pun-viewforum .forum tbody tr {
      display: grid;
      grid-template-columns: 1fr 1fr 10fr;
      background: var(--topic-main-bg);
      border-radius: 12px;
    }

    #pun-viewforum .forum tbody tr.isticky {
      background: var(--isticky-bg);
    }

    #pun-viewforum .forum .tcl {
      grid-column: 1 / 4;
      grid-row: 1;
      width: 100%;
      box-sizing: border-box;
    }

    #pun-viewforum .forum .tc2 {
      grid-column: 1;
      grid-row: 2;
      width: auto;
      padding-top: 0;
      align-self: end;
    }

    #pun-viewforum .forum .tc3 {
      grid-column: 2;
      grid-row: 2;
      width: auto;
      padding-top: 0;
      align-self: end;
    }

    #pun-viewforum .forum .tcr {
      grid-column: 3;
      grid-row: 2;
      padding-top: 0;
    }

    #pun-viewforum .linksb {
      grid-template-columns: 1fr 1fr;
      justify-content: space-between;
    }

    #pun-viewforum .linksb noindex {
      grid-column: 2;
      place-self: end;
    }

    #pun-viewforum .linksb .subscribelink {
      grid-row: 2;
      grid-column: 1 / 3;
      place-self: end;
    }

    .gid3 #pun-viewtopic .linksb {
      margin-top: 10px;
    }

    /* ==================== USERLIST ==================== */
    #pun-userlist .formal fieldset .fs-box.inline {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }

    #pun-userlist .formal .infofield {
      grid-column: 1;
    }

    #pun-userlist .formal select,
    #pun-userlist .formal input[type="text"] {
      width: 100%;
      box-sizing: border-box;
    }

    .usertable .container {
      padding: 0 5px;
    }

    .usertable table {
      display: grid;
      gap: 8px;
    }

    .usertable tbody {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .usertable tr {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3px 0;
      padding: 12px;
      border-radius: 12px;
      justify-items: center;
      text-align: center;
    }

    .usertable td {
      padding: 3px 5px !important;
    }

    .usertable .tcl.username {
      display: grid;
      grid-template-columns: 1fr;
      justify-items: center;
      width: 100%;
      grid-column: 1 / 3;
    }

    .usertable .user-avatar .avatar-image {
      width: 40px;
      height: 40px;
    }

    .usertable .user-avatar .isonline {
      width: 8px;
      height: 8px;
      top: 2px;
      left: 38px;
    }

    .usertable .tc2.user_title {
      grid-column: 1 / 3;
    }

    .usertable .tc3.registered,
    .usertable .tc3.last_visit,
    .usertable .tc3.relation,
    .usertable .tc3.num_posts {
      font-size: 11px;
    }

    .usertable .tc3.last_visit::before,
    .usertable .tc3.registered::before,
    .usertable .tc3.num_posts::before,
    .usertable .tc3.relation::before {
      font-family: var(--icon-font);
      font-weight: 300;
      font-size: 12px;
      margin-right: 4px;
      display: unset;
    }

    .usertable .tc3.registered::before {
      content: "\f133";
    }

    .usertable .tc3.last_visit::before {
      content: "\f017";
    }

    /* ==================== SEARCH POSTS ==================== */
    #pun-searchposts .post > .container {
      display: grid;
      gap: 4px 0;
      padding: 10px;
    }

    #pun-searchposts .post-author {
      width: auto;
      padding: 0;
      background: none;
      outline: none;
    }

    #pun-searchposts .pa-author {
      margin: 0 auto;
    }

    #pun-searchposts .post-links {
      margin-top: 5px;
    }

    #pun-searchposts .post-author ul {
      display: flex;
      gap: 5px;
      align-items: center;
      padding: 0;
      background: none;
      box-shadow: none;
    }

    #pun-searchposts .post-content {
      font-size: 12px;
      line-height: 1.4;
    }

    #pun-searchposts .post-links a {
      font-size: 10px;
      padding: 4px 12px;
    }

    #pun-searchposts .post h3 {
      margin-bottom: 8px;
    }

    /* ==================== ÖÈÒÀÒÛ, ÊÎÄÛ ==================== */
    .quote-box cite,
    .code-box .legend a,
    .spoiler-box div[onclick] {
      font-size: 9px;
      padding: 8px 15px;
    }

    .qcn {
      white-space: nowrap;
    }

    blockquote,
    .blockcode {
      padding: 12px;
    }

    /* ==================== ÔÎÐÌÀ ÎÒÂÅÒÀ ==================== */
    #post-form .fs-box {
      padding: 12px 0;
    }

    #symbol-counter {
      font-size: 9px;
      padding: 8px;
    }

    #symbol-counter::before {
      content: "";
    }

    #form-buttons tr {
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }

    #form-buttons td {
      background: var(--topic-block3-bg);
    }

    .formsubmit {
      text-align: center;
      margin: 10px auto 0;
    }

    #post-form .formsubmit {
      margin-top: 0;
    }

    .longinput input {
      width: 100%;
      box-sizing: border-box;
    }

    div.grippie {
      display: none;
    }

    #tags .container {
      width: 96% !important;
      margin: 0 auto !important;
      box-sizing: border-box !important;
      right: 2% !important;
      left: 2% !important;
      top: 130px;
      z-index: 20;
    }

    .hvStickerPackModalInput {
      width: 100%;
      margin-bottom: 7px;
    }

    .hvStickerPackModalTab {
      padding: 3px 10px;
      margin: 3px 3px 0;
    }

    .hvStickerPackFavoriteBtn {
      display: none;
    }

    .post .bookmark {
      right: -20px !important;
      border-radius: 0;
    }

    /* ==================== ÌÎÄÀËÊÈ ==================== */
    .pun-modal .modal-inner {
      width: 95%;
      margin: 10% auto 0;
      padding: 15px;
      border-radius: 20px;
      max-height: 85vh;
      overflow-y: auto;
    }

    .gemini_user_form_modal-content {
      width: 95%;
      max-height: 85vh;
    }

    /* ==================== ÁÓÊÌÀÐÊÈ ==================== */
    #MyBookmarks {
      width: 250px !important;
    }

    /* ==================== PAGELINK ==================== */

    .pagelink strong,
    .pagelink a {
      width: 18px;
      height: 18px;
    }

    /* ==================== ÊÍÎÏÊÈ ==================== */
    .button,
    input[type="submit"],
    input[type="button"] {
      font-size: 8px;
      padding: 4px 10px;
      height: 25px;
    }

    /* ==================== ÏÎÑÒ È ÏÐÎÔÈËÜ ==================== */
    .hideprofile.topicpost {
      padding-top: 20px !important;
      margin-top: 0;
    }

    #pun-viewtopic .post-body {
      padding-top: 25px;
    }

    #pun-viewtopic .post h3 {
      position: relative;
      left: 0;
      margin-bottom: 15px;
      width: 100%;
    }

    #pun-viewtopic .post.hideprofile h3 {
      margin-bottom: -5px;
    }

    #pun-viewtopic .post.hideprofile.topicpost h3 {
      margin-top: 30px;
    }

    #pun-viewtopic .post h3 span:not(.copy-post-msg) {
      width: 100%;
      display: block;
      box-sizing: border-box;
    }

    .copy-post-msg {
      left: unset;
      right: 2px;
      top: 2px;
    }

    .punbb .post:not(#pun-searchposts .post:first-of-type) {
      padding-top: 20px;
    }

    .post > .container {
      grid-template-columns: 1fr;
      margin-left: 0;
      gap: 0;
    }

    .post > .container .post-body {
      grid-column: 1;
      grid-row: 2;
      min-width: 0;
      max-width: 100%;
    }

    .post > .container .post-content {
      margin: 15px 0;
      min-width: 0;
      max-width: 100%;
    }

    .punbb .fs-box,
    .fs-box.inline {
      padding-top: 15px;
    }

    .hideprofile.post > .container .post-body {
      grid-row: 1;
      margin-top: 0;
      padding-top: 0 !important;
    }

    .post > .container .post-links {
      grid-column: 1;
      grid-row: 3;
      justify-self: start;
      width: auto;
      padding: 0;
      background: var(--input-bg);
      border-radius: 10px;
      font-family: var(--regular-font);
      margin-top: -23px;
      z-index: 1;
    }

    .post-links ul {
      gap: 0;
    }

    .punbb .post-links li.pl-delete a,
    .punbb .post-links li.pl-edit a,
    .punbb .post-links li.pl-quote a,
    .punbb .post-links li.pl-quiet a,
    .punbb .post-links li.pl-mutualPR a {
      font-size: 0;
      padding: 4px 15px;
      height: 15px;
    }

    .punbb .post-links li:not(:last-of-type):not(.pl-email) {
      border-right: 1px solid var(--pun-bg-color);
    }

    .post-links li.pl-quiet a::before,
    .post-links li.pl-mutualPR a::before,
    .post-links li.pl-delete a::before,
    .post-links li.pl-edit a::before,
    .post-links li.pl-quote a::before {
      color: var(--links-color);
      font-family: var(--icon-font);
      font-weight: 300;
      font-size: 15px;
      margin: 0;
    }

    .post-author {
      width: auto;
      margin: 0 15px;
    }

    .preview-post-author {
      width: auto;
      margin: 0 auto;
    }

    .blockButton:before,
    .post-links .pl-email {
      left: -14px;
    }

    .preview-post-author ul,
    .post-author ul {
      display: grid;
      grid-template-columns: 110px 1fr 1fr 1fr 1fr;
      grid-template-rows: auto auto 1fr 15px auto auto;
      gap: 0 10px;
      padding: 0 7px;
      align-items: center;
    }

    .preview-post-author ul .preview-pa-fld1 .bg,
    .post-author ul .pa-fld1 .bg {
      width: calc(100% + var(--profile-bg-padding) * 2);
    }

    .preview-post-author .preview-pa-avatar,
    .post-author .pa-avatar {
      grid-row: 2 / 6;
      grid-column: 1;
      height: 110px;
      width: 110px;
    }

    .preview-post-author .preview-pa-avatar img,
    .post-author .pa-avatar img {
      height: 110px;
      width: 110px;
      object-fit: cover;
    }

    .preview-post-author .preview-pa-author,
    .post-author .pa-author {
      grid-row: 2;
      grid-column: 2 / 6;
      /* white-space: nowrap; */
      font-size: 13px;
      margin: 5px auto;
      line-height: 0.9;
    }

    .preview-post-author .preview-pa-title,
    .post-author .pa-title {
      grid-row: 3;
      grid-column: 2 / 6;
      margin: 0 10px;
      width: unset;
      box-sizing: border-box;
      font-size: 6px;
    }

    .preview-post-author .preview-pa-fld4,
    .post-author .pa-fld4 {
      grid-row: 6;
      grid-column: 1 / 6;
      position: relative;
      margin: 10px auto 0;
    }

    .preview-pa-fld4 a.anketa,
    .pa-fld4 a.anketa {
      position: absolute;
      right: -5px;
      top: -68px;
      width: calc(100% - 110px);
      font-size: 7px;
      white-space: nowrap;
      overflow: hidden;
      padding: 1px;
    }

    .preview-post-author .preview-pa-respect,
    .post-author .pa-respect,
    .preview-post-author .preview-pa-fld2,
    .post-author .pa-fld2,
    .preview-post-author .preview-pa-fld5,
    .post-author .pa-fld5,
    .preview-post-author .preview-pa-posts,
    .post-author .pa-posts {
      height: 30px;
      width: auto;
      grid-row: 5;
      padding: 0;
    }

    .preview-post-author .preview-pa-fld2,
    .post-author .pa-fld2,
    .preview-post-author .preview-pa-fld5,
    .post-author .pa-fld5,
    .preview-post-author .preview-pa-posts,
    .post-author .pa-posts,
    li.pa-respect > span:not(.fld-name),
    li.pa-fld2 .tokens {
      font-size: 8px;
    }

    .preview-post-author .preview-pa-posts,
    .post-author .pa-posts {
      grid-column: 2;
    }

    .preview-post-author .preview-pa-respect,
    .post-author .pa-respect {
      grid-column: 3;
    }

    .preview-post-author .preview-pa-fld5,
    .post-author .pa-fld5 {
      grid-column: 4;
    }

    .preview-post-author .preview-pa-fld2,
    .post-author .pa-fld2 {
      grid-column: 5;
    }

    .preview-post-author .preview-pa-fld3,
    .post-author .pa-fld3 {
      grid-row: 7;
      grid-column: 1 / 6;
      margin-left: -7px;
      margin-top: 10px;
    }

    .preview-post-author .preview-pa-fld3 .line,
    .post-author .pa-fld3 .line {
      width: calc(100% + 7px);
      box-sizing: border-box;
      border: 0 !important;
      padding-inline: 10px;
      background-size: cover !important;
    }

    /* .preview-post-author .preview-pa-fld1 .bg img,
        .post-author ul .pa-fld1 .bg img {
            object-position: top center;
            width: auto;
            object-fit: contain;
            flex-shrink: 0;
            pointer-events: none;
        } */

    /* .preview-post-author .preview-pa-fld1 .bg img:nth-child(even),
        .post-author ul .pa-fld1 .bg img:nth-child(even) {
            transform: scaleX(-1);
        }

        .preview-post-author .preview-pa-fld1 .bg img:nth-child(2),
        .post-author ul .pa-fld1 .bg img:nth-child(2),
        .preview-post-author .preview-pa-fld1 .bg img:nth-child(3),
        .post-author ul .pa-fld1 .bg img:nth-child(3),
        .preview-post-author .preview-pa-fld1 .bg img:nth-child(4),
        .post-author ul .pa-fld1 .bg img:nth-child(4) {
            margin-left: -1px;
        } */

    /* .preview-post-author .line .line-content,
        .post-author .line .line-content {
            position: relative;
            z-index: 2;
        }

        .preview-post-author .line .added-reflection,
        .post-author .line .added-reflection {
            position: absolute;
            top: 0;
            height: 100%;
            z-index: 0;
            pointer-events: none;
            display: block;
        }

        .line .added-reflection:nth-child(2),
        .line .added-reflection:nth-child(3) {
            margin-left: -1px;
        }

        .line .added-reflection:nth-child(1) {
            margin-left: -2px;
        } */

    .preview-pa-respect,
    .preview-pa-posts,
    .preview-pa-fld2,
    .preview-pa-fld5,
    li.pa-respect,
    li.pa-posts,
    li.pa-fld2,
    li.pa-fld5 {
      line-height: 1.4;
      margin: 0 0 10px;
    }

    .gid3 .preview-pa-respect .fld-name::before,
    .gid3 li.pa-respect .fld-name::before,
    .preview-pa-respect .fld-name a::before,
    li.pa-respect .fld-name a::before,
    .preview-pa-posts a::before,
    .preview-pa-fld2 .fld-name::before,
    .preview-pa-fld5 a::before,
    li.pa-posts a::before,
    li.pa-fld2 .fld-name::before,
    li.pa-fld5 a::before {
      font-size: 13px !important;
    }

    /* ïóñòûøêè */

    .post-author:not(:has(.pa-fld1)) ul {
      grid-template-columns: 110px 1fr 1fr;
      grid-template-rows: unset;
    }

    .post-author:not(:has(.pa-fld1)) .pa-posts,
    .post-author:not(:has(.pa-fld1)) .pa-respect {
      grid-row: 3;
    }

    .post-author:not(:has(.pa-fld1)) .pa-author {
      grid-row: 1;
      grid-column: 2 / 4;
    }

    .post-author:not(:has(.pa-fld1)) .pa-title {
      grid-row: 2;
      grid-column: 2 / 4;
    }

    .post-author:not(:has(.pa-fld1)) .pa-avatar {
      grid-row: 1 / 4;
    }

    /* ñìåíùèêè áåç ëç */

    .post-author:has(.pa-fld1):not(:has(.pa-fld4)) {
      grid-template-rows: unset;
    }

    .post-author:has(.pa-fld1):not(:has(.pa-fld4)) .pa-posts,
    .post-author:has(.pa-fld1):not(:has(.pa-fld4)) .pa-respect,
    .post-author:has(.pa-fld1):not(:has(.pa-fld4)) .pa-fld5,
    .post-author:has(.pa-fld1):not(:has(.pa-fld4)) .pa-fld2 {
      grid-row: 4;
    }

    .post-author:has(.pa-fld1):not(:has(.pa-fld4)) .pa-avatar {
      grid-row: 2 / 5;
    }

    .post-author:not(:has(.pa-fld4)) .pa-author {
      align-self: end;
    }

    /* ãîñòè */

    .post[data-group-id="2"] .post-author ul {
      grid-template-columns: 110px 1fr;
      grid-template-rows: auto auto;
    }

    .post[data-group-id="2"] .pa-author {
      grid-row: 1;
      grid-column: 2;
      align-self: end;
    }

    .post[data-group-id="2"] .pa-title {
      grid-row: 2;
      grid-column: 2;
      align-self: start;
    }

    .post[data-group-id="2"] .pa-avatar {
      grid-row: 1 / 3;
      grid-column: 1;
    }

    .post-author:has(.pa-fld1) .pa-avatar {
      margin: 0;
    }

    /* gpt */

    .post[data-user-id="2"] .pa-posts {
      grid-column: 3 !important;
    }

    .post[data-user-id="2"] .pa-respect {
      grid-column: 4 !important;
    }

    .post[data-user-id="2"] .post-author .pa-avatar,
    .post[data-user-id="2"] .post-author .pa-avatar img {
      height: 80px !important;
      width: 80px !important;
    }

    .post[data-user-id="2"] .post-author ul {
      grid-template-columns: 80px 1fr 1fr 1fr 1fr !important;
    }

    /*  */
    #like-all-btn,
    .subscribelink,
    .subscribelink a {
      font-size: 0;
      width: 45px;
      margin: 0;
      height: 25px;
    }

    #like-all-btn,
    .subscribelink a {
      padding: 0 15px;
    }

    #like-all-btn::before,
    .subscribelink a[data-subscribe="1"]::before,
    .subscribelink a[data-subscribe="0"]::before,
    .subscribelink a[href*="?unsub"]::before,
    .subscribelink a[href*="?sub"]::before {
      font-size: 13px;
      font-family: var(--icon-font);
      font-weight: 300;
    }

    .subscribelink a[data-subscribe="1"]::before,
    .subscribelink a[href*="?unsub"]::before {
      content: "\f1f6";
    }

    .subscribelink a[data-subscribe="0"]::before,
    .subscribelink a[href*="?sub"]::before {
      content: "\e62c";
    }

    #like-all-btn::before {
      content: "\f164";
    }

    #like-all-btn:has(#like-counter) {
      width: fit-content;
    }

    #like-all-btn span#like-counter {
      font-size: 10px;
    }

    .postlink .new-topic {
      padding: 0;
    }

    /* ==================== GEMINI TOPICS ==================== */
    .gemini_topic {
      max-width: 100%;
    }

    .gemini_topic_main {
      padding: 15px;
    }

    .gemini_topic_title {
      font-size: 1em;
    }

    .gemini_topic_humanized {
      font-size: 0.9em;
    }

    .gemini_topic_directive {
      font-size: 0.7em;
      padding: 3px 12px;
    }

    .gemini_topic_block1,
    .gemini_topic_block2 {
      padding: 10px;
    }

    /* ==================== GEMINI CHARACTER ==================== */

    #character.reveal-modal {
      display: none;
    }

    .gemini_character {
      width: 100% !important;
      height: 98%;
      margin: 0 !important;
      border-radius: 0 !important;
      transform: none !important;
      left: 0 !important;
      top: 0 !important;
      position: fixed !important;
    }

    .gemini_character_main {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
      border-radius: 0 !important;
      border: none !important;
      height: auto !important;
      position: relative !important;
    }

    .gemini_character_title {
      display: none;
    }

    .gemini_character_header {
      height: 110px;
      flex-shrink: 0;
      position: relative;
      background-size: cover;
      background-position: top center;
      border-radius: 0;
      display: grid;
      padding: 10px;
      box-sizing: border-box;
      gap: 10px;
      grid-template-columns: auto 1fr;
      align-items: center;
    }

    .gemini_character_header::before,
    .gemini_character_header::after {
      content: none !important;
    }

    .gemini_character_header:not(:has(.gemini_character_twink))
      .gemini_character_name_wrp {
      grid-row: 1 / 3;
    }

    .gemini_character_pic {
      width: 120px;
      height: 85px;
      top: 0;
      left: 0;
      position: relative;
      grid-column: 1;
      grid-row: 1 / 3;
    }

    .gemini_character_twinks {
      top: 0;
      left: 0;
      right: 0;
      height: 55px;
      gap: 5px;
      width: 100%;
      position: relative;
      grid-column: 2;
      grid-row: 2;
      justify-content: center;
    }

    .gemini_character_twink {
      width: 45px;
    }

    .gemini_twink_pic {
      height: 35px;
    }

    .gemini_twink_name {
      font-size: 7px;
      height: auto;
      margin-top: 2px;
    }

    .gemini_character_name_wrp {
      width: auto;
      position: relative;
      grid-row: 1;
      grid-column: 2;
      top: 0;
      left: 0;
    }

    .gemini_character_name {
      font-size: 11px;
    }

    .gemini_character .menu {
      top: 96px;
      z-index: 111;
      left: 0;
      right: 0;
      width: 100%;
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
      justify-content: center;
      flex-shrink: 0;
      padding-left: 140px;
      box-sizing: border-box;
    }

    .gemini_character .menu-links {
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .gemini_character .menu span {
      padding: 6px 10px;
      font-size: 0;
      border-radius: 12px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .gemini_character .menu span::before {
      font-size: 12px;
      margin-right: 0;
      font-weight: 300;
    }

    .gemini_character .menu .tabactive {
      background: var(--char-tab-active-bg);
    }

    .gemini_character .menu span[alt="#sm4"] {
      right: unset;
      top: unset;
      position: relative;
      background: var(--char-tab-bg);
      color: var(--char-tab-text);
    }

    .gemini_character #submenu {
      flex: 1;
      min-height: 0;
      background: var(--char-content-bg);
      padding: 20px 10px 10px;
      position: relative;
      height: auto !important;
      border-radius: 0;
      display: flex;
      flex-direction: column;
    }

    .gemini_character .submenutext {
      display: none;
      flex: 1;
      min-height: 0;
    }

    .gemini_character .submenutext.active {
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .gemini_character_decor {
      display: grid !important;
      grid-template-columns: 1fr;
      gap: 8px;
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      height: 100%;
      grid-template-rows: auto auto auto auto;
    }

    #gemini_character_bg {
      grid-column: 1;
      grid-row: unset;
    }

    #gemini_character_icons {
      grid-column: 1;
      grid-row: unset;
    }

    #gemini_character_lines_bg {
      grid-column: 1;
      grid-row: unset;
    }

    #gemini_character_lines_text {
      grid-column: 1;
      grid-row: unset;
    }

    .gemini_character_block {
      background: var(--char-block-bg);
      border: 1px solid var(--char-block-border);
      border-radius: 10px;
      padding: 6px 4px;
      display: flex;
      flex-direction: column;
    }

    .gc_content {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      justify-content: center;
      align-content: flex-start;
      margin-top: 10px;
    }

    #gemini_character_bg .gc_content {
      min-height: 100px;
    }

    #gemini_character_icons .gc_content {
      min-height: 16px;
    }

    #gemini_character_lines_bg .gc_content {
      min-height: 40px;
    }

    .gc_line_bg {
      height: 40px;
      width: 55px;
    }

    .gc_line_text {
      font-size: 9px;
      padding: 3px 5px;
      white-space: normal;
    }

    .gemini_vouchers {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      justify-items: center;
      flex: 1;
      overflow-y: auto;
      align-content: start;
      height: 99%;
      padding-bottom: 15px;
      box-sizing: border-box;
    }

    .gemini_headers {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      justify-items: center;
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      align-content: start;
      height: auto;
    }

    .gemini_headers img {
      width: 100%;
      height: 85px;
      object-fit: cover;
      border-radius: 15px;
    }

    .gemini_apps,
    .gemini_apps_content {
      height: 100%;
    }

    .gemini_apps_activity_wrp {
      margin-top: 10px;
    }

    .gemini_apps_game_wrp {
      margin: 10px !important;
      width: calc(100% - 15px);
      flex: 1;
      min-height: 0;
      height: 100%;
      border-radius: 25px;
      height: calc(100% - 120px);
    }

    .gemini_apps_game {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      padding: 5px;
      height: 100%;
      overflow-y: auto;
      justify-content: center;
    }

    /* .gemini_apps_game_wrp:has(.has-open) {
            height: 271px;
        } */

    .gemini_apps_game.has-open .gemini_app_game {
      width: calc(50% - 8px);
    }

    .gemini_apps_game.has-open {
      margin-top: 168px;
    }

    .gemini_app_game_fullitem {
      /* top: 93px; */
      top: 0;
      width: 100%;
      left: 0;
      /* background: #ffffff40; */
    }

    .gemini_app_game_item {
      background: var(--char-app-game-item-bg);
      color: var(--char-app-game-item-color);
      padding: 5px 10px;
      border-radius: 8px;
      font-size: 9px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .gemini_character .close-reveal-modal {
      top: 10px;
      right: 10px;
      z-index: 102;
      color: #fff !important;
    }

    .gemini_apps_dropdown {
      right: 10px;
      left: unset;
    }

    .gemini_character .submenutext.active {
      display: flex !important;
      flex-direction: column;
      min-height: 0;
    }

    /* ==================== ÁÀÍÊ ==================== */
    .gemini_bank_prices {
      grid-template-columns: 1fr;
    }

    .gemini_bank_price {
      font-size: 10px;
    }

    .gemini_bank_result {
      column-count: 1;
    }

    .gemini_bank_total {
      flex-wrap: wrap;
      gap: 10px;
    }

    .gemini_bank_total_item {
      font-size: 11px;
      padding: 4px 12px;
    }

    /* ==================== WEEKLY ÈÒÎÃÈ ÍÅÄÅËÈ ==================== */
    .weekly_stats,
    .weekly_intro {
      grid-template-columns: 1fr;
      justify-items: center;
      align-items: start;
    }

    .weekly_players,
    .weekly_post,
    .weekly_episode,
    .weekly_flooders,
    .weekly_couple,
    .weekly_insta,
    .weekly_news,
    .weekly_quotes,
    .weekly_graphic {
      grid-column: 1;
      grid-row: auto;
      width: 100%;
      box-sizing: border-box;
    }

    .weekly_intro .gemini_topic_block1 {
      border-width: 10px;
      padding: 0 5px;
    }

    .weekly_admin_emoji {
      transform: translateX(50%);
      left: 55%;
      bottom: 50%;
    }

    .gemini_weekly .weekly_quotes {
      height: auto;
      margin: -1px 0;
      border-radius: 0 !important;
      grid-column: 1 !important;
      height: auto;
    }

    .gemini_weekly:not(:has(.weekly_news)) .weekly_graphic {
      grid-column: 1;
      border-radius: 0 0 10px 10px;
    }

    .insta-item:first-of-type .insta-popup {
      left: 100%;
    }

    .insta-item:last-of-type .insta-popup {
      left: 0;
    }

    .weekly_quote {
      width: 80%;
      margin: 0 auto;
    }

    .weekly_news a {
      max-width: unset !important;
    }

    .weekly_quotes::before {
      content: "ñïèçäàíóëè";
      margin: 0 auto 10px;
      background: var(--weekly-header-bg);
      color: var(--weekly-header-text);
      padding: 4px 20px;
      line-height: 1;
      box-sizing: border-box;
      font-size: 10px;
      border-radius: 10px;
      text-align: center;
      width: fit-content;
      font-weight: 500;
      display: block;
    }

    .weekly_news {
      grid-row: 9;
      border-radius: 0 0 10px 10px;
    }

    .weekly_graphic {
      border-radius: 0;
    }

    .weekly_graphic > div {
      justify-content: center;
    }

    .weekly_graphic img:not(.graphic-popup img) {
      width: 75px;
    }

    .weekly_flooders,
    .weekly_couple {
      display: grid;
      justify-content: center;
      margin: 5px 0;
      margin: 0 0 15px;
    }

    .weekly_flooders::before {
      grid-column: 1 / 5;
    }

    .weekly_post {
      margin: 0 auto 15px;
      height: auto;
    }

    .couple_names,
    .couple_hash {
      text-align: center;
    }

    .weekly_insta::before {
      margin: 0 auto 5px;
    }

    /* ==================== ÃÎÑÒÅÂÀß ==================== */
    .gb-form-wrapper {
      grid-template-columns: 1fr;
    }

    .gb-form-left,
    #gbPicsContainer {
      justify-content: start;
    }

    #gemboardPreview {
      margin: 0 -15px 0;
      width: calc(100% + 30px);
      padding: 10px;
    }

    .gemini_gb {
      grid-template-columns: 1fr;
    }

    .gemini_gb_wrp {
      font-size: 11px;
      background-size: cover;
      background-position: unset;
    }

    .gemini_gb_welcome span {
      font-size: 14px;
    }

    .gemini_gb::before {
      display: none;
    }

    .gemini_gb_welcome,
    .gemini_gb_info,
    .gemini_gb_text,
    .gemini_gb_faces,
    .gemini_gb_controls {
      grid-column: 1;
      z-index: 1;
    }

    .gemini_gb_faces {
      grid-template-columns: 1fr;
    }

    .gemini_gb_wrp::after {
      bottom: 0;
      top: unset;
      transform: scaleY(-1);
    }

    .gemini_gb_wrp::before {
      right: unset;
      left: -123px;
    }

    .gemini_gb_info div:first-of-type {
      right: 0;
      left: unset;
    }

    .gemini_gb_info div:last-of-type {
      left: unset;
      right: 0;
    }

    .gemini_payment_type {
      justify-content: center;
      flex-wrap: wrap;
      width: 100%;
    }

    .gemini_gb_faces_date {
      word-break: break-word;
    }

    .gemini_gb_controls input[type="text"] {
      width: 100%;
    }

    .gemini_gb_controls .toggle {
      width: 114px;
    }

    .gemini_gb_controls .toggle-slider::before {
      width: 47px;
    }

    .gemini_gb_controls .toggle input:checked + .toggle-slider::before {
      transform: translateX(51px);
      width: 58px;
    }

    /* ==================== ÌÀÃÀÇÈÍ ==================== */
    .gemini_store_main {
      grid-template-columns: 1fr;
      gap: 15px;
    }

    .header-preview-full {
      display: none;
    }

    .gemini_store_left .tab-list {
      display: flex;
      flex-wrap: wrap;
      margin: 0;
      gap: 6px;
      justify-content: center;
    }

    .gemini_store_content {
      border-radius: 15px;
    }

    .gemini_store_left .tab-item {
      padding: 8px 12px;
      font-size: 10px;
      border-radius: 15px !important;
    }

    .gemini_store_left .tab-item.active {
      border: none;
      background: var(--accent-color);
      color: var(--text-on-accent);
    }

    .gemini_store_content .items-grid.vouchers-grid {
      grid-template-columns: 1fr;
    }

    .store-item.voucher-item {
      margin: 0 auto;
    }

    .gemini_store_content .items-grid {
      gap: 10px;
    }

    .icons-section .items-grid {
      height: 164px;
    }

    .backgrounds-section .items-grid {
      height: 346px;
    }

    .lines-sections .img-section .items-grid,
    .lines-sections .color-section .items-grid,
    .lines-sections .text-section .items-grid {
      height: 175px;
    }

    .img-section .store-item,
    .img-section .line-preview {
      width: 100%;
    }

    .cart-item-info {
      grid-template-columns: auto 1fr;
    }

    .cart-item-name {
      grid-row: 1;
    }

    .cart-item-preview {
      grid-row: 1;
    }

    .gemini-store-recipients,
    .gemini-store-contest-block {
      grid-row: unset;
      grid-column: 1 / 3;
    }

    .gemini-store-contest-block {
      display: block;
    }

    .cart-actions,
    .cart-total-row {
      flex-wrap: wrap;
      text-align: center;
    }

    .gemini-store-modal .voucher-columns {
      grid-template-columns: repeat(2, 1fr);
    }

    .gemini_store_main:has(.services-sections) .gemini_store_preview,
    .gemini_store_main:has(.vouchers-grid) .gemini_store_preview {
      opacity: 0;
      height: 0;
      margin-bottom: -30px;
    }

    .gemboard {
      max-height: 550px;
    }

    /* ==================== ÀÍÊÅÒÛ ==================== */
    .gemini_accepted {
      width: 90%;
      box-sizing: border-box;
      margin-top: 10px;
    }

    .gemini_accepted::before {
      top: -16px;
      font-size: 30px;
      white-space: nowrap;
    }

    .gemini_accepted::after {
      bottom: -40px;
      font-size: 60px;
    }

    .gemini_accepted_links a {
      display: block;
    }

    .gemini_user_wrp {
      width: 100%;
      max-width: 95%;
    }

    .post:not(:has(.gemini_user_form)) .gemini_user_wrp {
      margin: 25px auto 0;
    }

    .gemini_user_name_out {
      font-size: 55px;
      top: -43px;
    }

    .gemini_user {
      grid-template-columns: 1fr;
      justify-items: center;
      grid-template-rows: 50px 10px 90px auto auto auto;
      padding: 15px;
      gap: 15px;
      max-height: unset;
    }

    .gemini_user_header {
      height: 150px;
    }

    .gemini_user_sur {
      grid-column: 1;
      grid-row: 1;
      justify-self: center;
      transform: scale(0.7);
      transform-origin: bottom center;
    }

    .gemini_user_proto {
      grid-row: 2;
      grid-column: 1;
    }

    .gemini_user_pic {
      grid-column: 1;
      grid-row: 3;
      width: 100px;
      height: 100px;
    }

    .gemini_user_quote {
      grid-column: 1;
      grid-row: 4;
    }

    .gemini_user_info {
      grid-column: 1;
      grid-row: 5;
      margin: 0;
      flex-wrap: wrap;
      justify-content: center;
    }

    .gemini_user_info_main {
      grid-column: 1;
      grid-row: 6;
      flex-wrap: wrap;
      gap: 5px;
      justify-content: center;
    }

    .gemini_user_info_main > div {
      height: auto;
      text-align: center;
      width: 90%;
      max-width: unset;
      margin: 0;
    }

    .gemini_user_bio {
      grid-column: 1;
      grid-row: 7;
      margin-top: 0;
      margin-bottom: 0;
    }

    .gemini_user_bio_input,
    .gemini_user_btn,
    .gemini_user_toggle {
      grid-column: 1;
    }

    .gemini_user_toggle {
      flex-wrap: wrap;
      justify-content: center;
    }

    .gemini_user_form .toggle {
      margin-bottom: 0;
      width: 180px;
    }

    .toggle-option-left,
    .toggle-option-right {
      font-size: 9px;
      line-height: 1;
    }

    .toggle {
      height: 24px;
    }

    .toggle-slider {
      padding: 0 8px;
    }

    .toggle-slider::before {
      height: 20px;
    }

    .gemini_user_form .toggle-slider::before {
      width: 84px;
    }

    .gemini_user_form .toggle input:checked + .toggle-slider::before {
      transform: translateX(79px);
      width: 97px;
    }

    .custom-line-item .toggle,
    .custom-background-item .toggle,
    .custom-icon-item .toggle {
      width: 195px;
      text-align: center;
    }

    .custom-icon-item .toggle-slider::before {
      width: 87px;
    }

    .custom-icon-item .toggle input:checked + .toggle-slider::before {
      transform: translateX(75px);
      width: 116px;
    }

    .custom-background-item .toggle-slider::before {
      width: 87px;
    }

    .custom-background-item .toggle input:checked + .toggle-slider::before {
      transform: translateX(79px);
      width: 112px;
    }

    .custom-line-item .toggle-slider::before {
      width: 83px;
    }

    .custom-line-item .toggle input:checked + .toggle-slider::before {
      transform: translateX(82px);
      width: 109px;
    }

    .profile-settings-wrapper {
      justify-content: center;
    }

    .bio-toolbar {
      flex-wrap: wrap;
    }

    .gemini_needed_form .form-fields,
    .gemini_user_form .form-fields {
      grid-template-columns: 1fr;
    }

    .gemini_needed_form .gemini_user_bio_input,
    .gemini_needed_form .gemini_user_btn,
    .gemini_needed_form .gemini_user_toggle {
      grid-column: 1;
    }

    .field-group.gemini_needed_descr {
      grid-column: 1;
    }

    .custom-header-upload,
    .custom-line-color-inputs,
    .custom-line-image-upload,
    .custom-line-inputs,
    .custom-line-upload,
    .custom-background-upload,
    .custom-icon-upload {
      margin-inline: 7px;
    }

    .cart-item-type-line_text .cart-item-info {
      grid-template-columns: 1fr;
    }

    .cart-item-type-line_text .cart-item-name {
      grid-row: 2;
    }

    .gemini-store-text-preview {
      width: 100%;
    }

    /* ==================== ÍÓÆÍÛÅ ==================== */
    .gemini_needed_form .gemini_needed {
      margin-inline: 0;
    }

    .gemini_needed {
      grid-template-columns: 1fr 1fr;
      padding: 15px;
      gap: 8px;
    }

    .gemini_needed_who {
      grid-column: 1 / 3;
      grid-row: 1;
      max-width: unset;
    }

    .gemini_needed_who::before {
      white-space: nowrap;
    }

    .gemini_needed_pic {
      grid-column: 2;
      grid-row: 2 / 5;
    }

    .gemini_needed_pic img {
      height: auto;
      max-height: 100px;
    }

    .gemini_needed_name {
      grid-row: 2;
      grid-column: 1;
      max-width: unset;
    }

    .gemini_needed_age {
      grid-row: 3;
      grid-column: 1;
      max-width: unset;
    }

    .gemini_needed_proto {
      grid-row: 4;
      grid-column: 1;
      max-width: unset;
    }

    .gemini_needed_desc {
      grid-column: 1 / 3;
      grid-row: 5;
    }

    /* çàíÿòûå âíåõè */

    .gemini_faceclaims .form {
      flex-wrap: wrap;
    }

    .gemini_faceclaims .form input[type="button"] {
      margin: 0;
    }

    .gemini_faceclaims_names {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto 1fr auto auto 1fr;
    }

    .gemini_faceclaims_search {
      grid-column: 1 / 4;
      flex-wrap: wrap;
      grid-row: 1;
    }

    #gemini_names,
    #gemini_surnames {
      grid-template-columns: 1fr;
      grid-column: 1;
    }

    .gemini_faceclaims_search .gemini_topic_minititle,
    .gemini_faceclaims_names input,
    .gemini_faceclaims_names .gemini_topic_minititle {
      margin-inline: auto;
    }

    .gemini_wanted_pics {
      flex-wrap: wrap;
      gap: 10px;
    }

    .gemini_wanted_pics img {
      width: 45%;
      height: 100px;
    }

    .ping-grid-container {
      grid-template-columns: 1fr;
    }

    #ping_name,
    #ping_profile,
    #ping_post_date,
    #ping_post_link,
    #ping_until,
    #ping_comment {
      grid-column: 1 !important;
    }

    .gemini_faceclaims_list {
      grid-template-columns: 1fr;
      margin-top: 20px;
    }

    .gemini_faceclaims_search,
    .gemini_faceclaims_girls,
    .gemini_faceclaims_boys,
    .gemini_faceclaims_names {
      grid-row: unset;
      grid-column: unset;
      margin: 0;
    }

    .gemini_wanted {
      width: 100%;
      padding: 15px;
      border-radius: 15px;
    }

    /* ==================== GEMGRAM ==================== */
    .gemgram-form-container {
      grid-template-columns: 1fr;
    }

    .gemgram {
      width: 100%;
      padding: 20px 20px 50px;
      gap: 10px;
    }

    .gemgram_info {
      grid-template-columns: 50px auto;
      gap: 2px 15px;
    }

    .gemgram_ava {
      width: 45px;
      height: 45px;
      grid-row: 1 / 3;
    }

    .gemgram:has(.gemgram_music) .gemgram_ava {
      grid-row: 1 / 4;
    }

    .gemgram_ava img {
      width: 45px;
      height: 45px;
    }

    .gemgram_username {
      font-size: 14px;
      grid-column: 2;
    }

    .gemgram_location {
      grid-column: 2;
      grid-row: 2;
      font-size: 9px;
    }

    .gemgram_music {
      font-size: 9px;
      grid-column: 2;
      grid-row: 3;
      justify-self: unset;
      padding: 3px 10px;
    }

    /* ==================== SNS ==================== */

    #pun-viewtopic[data-forum-id="8"] #pun-ulinks,
    #pun-viewtopic[data-forum-id="23"] #pun-ulinks,
    #pun-viewforum[data-forum-id="8"] #pun-ulinks,
    #pun-viewforum[data-forum-id="23"] #pun-ulinks,
    #pun-post[data-forum-id="8"] #pun-ulinks {
      display: none;
    }

    #pun_wrap:has(#pun-viewtopic[data-forum-id="8"])::before,
    #pun_wrap:has(#pun-viewtopic[data-forum-id="23"])::before {
      display: none;
    }

    #pun_wrap:has(#pun-post[data-forum-id="8"])::before,
    #pun_wrap:has(#pun-viewforum[data-forum-id="8"])::before,
    #pun_wrap:has(#pun-viewforum[data-forum-id="23"])::before {
      font-size: 50px;
      left: unset;
      right: -48px;
      top: -54px;
      height: 50px;
      line-height: 1;
    }

    #pun_wrap:has(#pun-viewtopic[data-forum-id="8"]) #pun,
    #pun_wrap:has(#pun-viewtopic[data-forum-id="23"]) #pun,
    #pun_wrap:has(#pun-post[data-forum-id="8"]) #pun,
    #pun_wrap:has(#pun-viewforum[data-forum-id="8"]) #pun,
    #pun_wrap:has(#pun-viewforum[data-forum-id="23"]) #pun {
      border-radius: 15px !important;
      margin-top: 60px;
      padding: 5px;
    }

    body:has(#pun-viewtopic[data-forum-id="23"]),
    body:has(#pun-viewtopic[data-forum-id="8"]),
    body:has(#pun-post[data-forum-id="8"]),
    body:has(#pun-viewforum[data-forum-id="8"]),
    body:has(#pun-viewforum[data-forum-id="23"]) {
      background: var(--body-img);
    }

    #pun-post[data-forum-id="8"],
    #pun-viewtopic[data-forum-id="23"],
    #pun-viewtopic[data-forum-id="8"],
    #pun-viewforum[data-forum-id="8"],
    #pun-viewforum[data-forum-id="23"] {
      height: calc(90dvh - 20px);
    }

    #pun-viewtopic[data-forum-id="23"],
    #pun-viewtopic[data-forum-id="8"],
    #pun-viewforum[data-forum-id="8"],
    #pun-viewforum[data-forum-id="23"] {
      overflow-y: auto;
      border-radius: 15px;
    }

    #pun-viewforum[data-forum-id="23"],
    #pun-viewforum[data-forum-id="8"] {
      grid-template-columns: 1fr;
      gap: 10px 0;
    }

    #pun-viewtopic[data-forum-id="23"],
    #pun-viewtopic[data-forum-id="8"] {
      display: block;
      padding: 5px;
    }

    #pun-viewtopic[data-forum-id="23"] .post-content,
    #pun-viewtopic[data-forum-id="8"] .post-content {
      margin: 0 !important;
    }

    #pun-viewtopic[data-forum-id="8"]
      .post:not(.topicpost)
      > .container
      .post-body:before,
    #pun-viewtopic[data-forum-id="23"]
      .post:not(.topicpost)
      > .container
      .post-body:before {
      left: -8px;
      border-right-width: 4px;
    }

    #pun-viewtopic[data-forum-id="8"]
      .post.gtalk-mine:not(.topicpost)
      > .container
      .post-body:before,
    #pun-viewtopic[data-forum-id="23"]
      .post.gtalk-mine:not(.topicpost)
      > .container
      .post-body:before {
      left: unset;
      right: -8px;
      border-left-width: 4px;
    }

    #pun-post[data-forum-id="8"] #main-reply {
      height: 30dvh;
    }

    .gtalk-profile-interface {
      grid-column: 1;
      grid-row: 1;
      padding: 10px;
      gap: 10px;
      overflow-y: visible;
      height: auto;
      border-radius: 15px;
      grid-template-columns: 120px 1fr;
      margin-right: 10px;
    }

    .gtalk-profile-settings input,
    .gtalk-profile-settings button {
      grid-column: 1 / 3;
    }

    .gtalk-profile-settings #avatar-url {
      grid-row: 1;
      width: calc(100% - 50px);
    }

    .gtalk-profile-settings #upload-file-btn {
      grid-column: 2;
      grid-row: 1;
      font-size: 0;
      width: 45px;
    }

    .gtalk-profile-settings .gtalk-hint {
      display: none;
    }

    .gtalk_voice {
      gap: 0 5px;
    }

    .gtalk_voice::before {
      max-width: calc(100vw - 60px);
    }

    #upload-file-btn::before {
      font-family: var(--icon-font);
      content: "\f093";
      font-size: 15px;
      font-weight: 300;
    }

    #upload-file-btn.uploading::before {
      content: "\e1d4";
      animation: spin 1.2s linear infinite;
    }

    #pun-viewforum[data-forum-id="23"] #pun-main,
    #pun-viewforum[data-forum-id="8"] #pun-main {
      grid-column: 1;
      grid-row: 3;
      overflow: unset;
      margin-bottom: 0;
    }

    #pun-viewforum[data-forum-id="8"] #pun-crumbs1 {
      grid-column: 1;
      grid-row: auto;
    }

    #pun-viewforum[data-forum-id="23"] #pun-crumbs1 {
      padding-top: 15px;
    }

    #pun-viewtopic[data-forum-id="8"] #pun-crumbs1,
    #pun-viewtopic[data-forum-id="23"] #pun-crumbs1 {
      position: absolute;
      top: -25px;
      background: none;
      width: 100%;
      box-sizing: border-box;
      left: 0;
      white-space: nowrap;
      font-size: 0.7em;
    }
  }

  #pun-viewforum[data-forum-id="23"] tr:not(.isub) td,
  #pun-viewforum[data-forum-id="8"] tr:not(.isub) td {
    padding: 10px !important;
  }

  #pun-viewforum[data-forum-id="23"] .linkst,
  #pun-viewforum[data-forum-id="8"] .linkst {
    margin: 0 0 10px;
  }

  #pun-viewtopic[data-forum-id="8"] .linksb,
  #pun-viewtopic[data-forum-id="23"] .linksb,
  #pun-viewtopic[data-forum-id="8"] .modmenu,
  #pun-viewtopic[data-forum-id="23"] .modmenu,
  #pun-viewforum[data-forum-id="8"] .postlink.long .new-topic a,
  #pun-viewforum[data-forum-id="8"] .pagelink,
  #pun-viewforum[data-forum-id="23"] .postlink.long .new-topic a,
  #pun-viewforum[data-forum-id="23"] .pagelink {
    position: relative;
    top: unset;
    right: unset;
    left: unset;
    bottom: unset;
  }

  #pun-viewtopic[data-forum-id="8"] .linkst,
  #pun-viewtopic[data-forum-id="23"] .linkst {
    top: -56px;
    right: 20px;
  }

  #pun-viewtopic[data-forum-id="8"] .linkst .pagelink,
  #pun-viewtopic[data-forum-id="23"] .linkst .pagelink {
    max-width: 140px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    background: #00000060;
    border-radius: 10px;
    padding: 2px;
    border: 6px solid transparent;
    border-block-width: 3px;
    box-sizing: border-box;
  }

  #pun-viewtopic[data-forum-id="8"] .linkst .pagelink::-webkit-scrollbar,
  #pun-viewtopic[data-forum-id="23"] .linkst .pagelink::-webkit-scrollbar {
    scrollbar-width: thin !important;
    width: 2px !important;
    height: 2px !important;
    border-radius: 2px;
  }

  #pun-viewtopic[data-forum-id="8"] .linkst .pagelink::-webkit-scrollbar,
  #pun-viewtopic[data-forum-id="23"] .linkst .pagelink::-webkit-scrollbar {
    scrollbar-color: var(--gemini-scroll-thumb) var(--gemini-scroll-track);
    border-radius: 2px;
  }

  #pun-viewtopic[data-forum-id="8"] .linkst .pagelink::-webkit-scrollbar-track,
  #pun-viewtopic[data-forum-id="23"]
    .linkst
    .pagelink::-webkit-scrollbar-track {
    background-color: var(--gemini-scroll-track) !important;
    border-radius: 2px;
  }

  #pun-viewtopic[data-forum-id="8"] .linkst .pagelink::-webkit-scrollbar-thumb,
  #pun-viewtopic[data-forum-id="23"]
    .linkst
    .pagelink::-webkit-scrollbar-thumb {
    background-color: var(--gemini-scroll-thumb) !important;
    border-radius: 2px;
  }

  #pun-viewtopic[data-forum-id="8"] .pagelink .ellipsis,
  #pun-viewtopic[data-forum-id="8"] .pagelink strong,
  #pun-viewtopic[data-forum-id="8"] .pagelink a,
  #pun-viewtopic[data-forum-id="23"] .pagelink .ellipsis,
  #pun-viewtopic[data-forum-id="23"] .pagelink strong,
  #pun-viewtopic[data-forum-id="23"] .pagelink a {
    font-size: 8px;
    font-weight: 600;
    flex-shrink: 0;
    width: 13px;
    height: 13px;
  }

  #pun-viewtopic[data-forum-id="8"],
  #pun-viewtopic[data-forum-id="23"] {
    margin-bottom: 15px;
  }

  #pun-viewtopic[data-forum-id="8"] .topic,
  #pun-viewtopic[data-forum-id="23"] .topic {
    overflow: unset;
  }

  #pun-viewforum[data-forum-id="8"] .category .tcr {
    padding-top: 0;
  }

  #pun-viewforum[data-forum-id="23"] .forum tbody tr,
  #pun-viewforum[data-forum-id="8"] .forum tbody tr {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  #pun-viewforum[data-forum-id="23"] .forum .tcr,
  #pun-viewforum[data-forum-id="8"] .forum .tcr {
    grid-column: 2;
    grid-row: 1;
  }

  #pun-viewforum[data-forum-id="23"] .forum .tcl,
  #pun-viewforum[data-forum-id="8"] .forum .tcl {
    grid-column: 1;
  }

  #pun-post[data-forum-id="8"] #pun-navlinks,
  #pun-viewtopic[data-forum-id="8"] #pun-navlinks,
  #pun-viewforum[data-forum-id="8"] #pun-navlinks,
  #pun-viewtopic[data-forum-id="23"] #pun-navlinks,
  #pun-viewforum[data-forum-id="23"] #pun-navlinks {
    transform-origin: left;
    background: none;
    border: none;
  }

  #pun-post[data-forum-id="8"] #pun-navlinks,
  #pun-viewforum[data-forum-id="8"] #pun-navlinks,
  #pun-viewforum[data-forum-id="23"] #pun-navlinks {
    left: 20px !important;
    top: -56px !important;
  }

  #pun-viewtopic[data-forum-id="8"] #pun-navlinks,
  #pun-viewtopic[data-forum-id="23"] #pun-navlinks {
    left: 20px !important;
    top: -67px !important;
  }

  #pun-viewtopic[data-forum-id="8"] #pun-live-rusff,
  #pun-viewtopic[data-forum-id="23"] #pun-live-rusff {
    display: none;
  }

  #pun-post[data-forum-id="8"] #pun-navlinks .container,
  #pun-viewtopic[data-forum-id="8"] #pun-navlinks .container,
  #pun-viewforum[data-forum-id="8"] #pun-navlinks .container,
  #pun-viewtopic[data-forum-id="23"] #pun-navlinks .container,
  #pun-viewforum[data-forum-id="23"] #pun-navlinks .container {
    justify-content: flex-start;
    gap: 5px;
    margin-top: 12px;
  }

  #pun-post[data-forum-id="8"] #pun-status,
  #pun-viewtopic[data-forum-id="8"] #pun-status,
  #pun-viewforum[data-forum-id="8"] #pun-status,
  #pun-viewtopic[data-forum-id="23"] #pun-status,
  #pun-viewforum[data-forum-id="23"] #pun-status {
    display: none;
  }

  #pun-post[data-forum-id="8"] .crumbs,
  #pun-viewforum[data-forum-id="8"] .crumbs,
  #pun-viewforum[data-forum-id="23"] .crumbs {
    width: fit-content;
  }

  #pun-viewtopic[data-forum-id="23"] .crumbs,
  #pun-viewtopic[data-forum-id="8"] .crumbs {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 10px;
    height: 19px;
  }

  #pun-viewtopic[data-forum-id="8"] .post:not(.topicpost) > .container,
  #pun-viewtopic[data-forum-id="23"] .post:not(.topicpost) > .container {
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0;
    gap: 10px;
  }

  #pun-viewtopic[data-forum-id="23"] .post.topicpost .post-body,
  #pun-viewtopic[data-forum-id="8"] .post.topicpost .post-body {
    padding-top: 0;
  }

  #pun-viewtopic[data-forum-id="8"] .post.topicpost h3,
  #pun-viewtopic[data-forum-id="23"] .post.topicpost h3 {
    width: fit-content;
  }

  #pun-viewtopic[data-forum-id="8"] .post:not(.topicpost) h3,
  #pun-viewtopic[data-forum-id="23"] .post:not(.topicpost) h3 {
    position: absolute;
    width: auto;
    bottom: -17px;
    top: unset;
    right: unset;
    left: 121px;
  }

  #pun-viewtopic[data-forum-id="8"] .post.gtalk-mine:not(.topicpost) h3,
  #pun-viewtopic[data-forum-id="23"] .post.gtalk-mine:not(.topicpost) h3 {
    right: 121px;
    left: unset;
  }

  #pun-viewtopic[data-forum-id="8"] .post:not(.topicpost) .post-rating,
  #pun-viewtopic[data-forum-id="23"] .post:not(.topicpost) .post-rating {
    bottom: -28px;
  }

  .reaction-picker {
    bottom: -29px;
    left: 33px;
  }

  .gtalk-mine .reaction-picker {
    right: 33px;
    left: unset;
  }

  .reaction-picker-panel {
    left: -100px !important;
    right: unset !important;
  }

  .gtalk-mine .reaction-picker-panel {
    right: -100px !important;
    left: unset !important;
  }

  #pun-viewtopic[data-forum-id="23"] .post:not(.topicpost) .post-links li,
  #pun-viewtopic[data-forum-id="8"] .post:not(.topicpost) .post-links li {
    margin-top: 4px;
  }

  #pun-viewtopic[data-forum-id="23"] .post:not(.topicpost) .post-links li a,
  #pun-viewtopic[data-forum-id="8"] .post:not(.topicpost) .post-links li a {
    padding: 0 !important;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post.gtalk-mine:not(.topicpost)
    .post-links
    li.pl-quote,
  #pun-viewtopic[data-forum-id="23"]
    .post.gtalk-mine:not(.topicpost)
    .post-links
    li.pl-quote {
    right: 142px;
    left: unset;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post:not(.topicpost)
    .post-links
    li.pl-quote,
  #pun-viewtopic[data-forum-id="23"]
    .post:not(.topicpost)
    .post-links
    li.pl-quote {
    left: 142px;
    right: unset;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post:not(.topicpost)
    .post-links
    li.pl-edit,
  #pun-viewtopic[data-forum-id="23"]
    .post:not(.topicpost)
    .post-links
    li.pl-edit {
    right: unset;
    left: 158px;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post.gtalk-mine:not(.topicpost)
    .post-links
    li.pl-edit,
  #pun-viewtopic[data-forum-id="23"]
    .post.gtalk-mine:not(.topicpost)
    .post-links
    li.pl-edit {
    right: 158px;
    left: unset;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post:not(.topicpost)
    .post-links
    li.pl-delete,
  #pun-viewtopic[data-forum-id="23"]
    .post:not(.topicpost)
    .post-links
    li.pl-delete {
    right: unset;
    left: 178px;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post.gtalk-mine:not(.topicpost)
    .post-links
    li.pl-delete,
  #pun-viewtopic[data-forum-id="23"]
    .post.gtalk-mine:not(.topicpost)
    .post-links
    li.pl-delete {
    right: 178px;
    left: unset;
  }

  #pun-viewtopic[data-forum-id="23"] .post.topicpost .post-box,
  #pun-viewtopic[data-forum-id="8"] .post.topicpost .post-box {
    gap: 3px;
  }

  #pun-viewtopic[data-forum-id="23"] .post.topicpost,
  #pun-viewtopic[data-forum-id="8"] .post.topicpost {
    padding: 10px !important;
    margin-bottom: 0;
  }

  #pun-viewtopic[data-forum-id="8"] .post.topicpost .post-links,
  #pun-viewtopic[data-forum-id="23"] .post.topicpost .post-links {
    margin-top: -23px;
    text-align: left;
    position: relative;
    width: fit-content;
  }

  .gtalk-profile-avatar-img {
    width: 45px;
    height: 45px;
  }

  #pun-viewtopic[data-forum-id="23"]
    .post:not(.topicpost)
    > .container
    .post-body,
  #pun-viewtopic[data-forum-id="8"]
    .post:not(.topicpost)
    > .container
    .post-body {
    max-width: 90%;
    padding: 8px 12px;
    grid-row: 1;
    grid-column: 2;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post.gtalk-mine:not(.topicpost)
    > .container
    .post-body,
  #pun-viewtopic[data-forum-id="23"]
    .post.gtalk-mine:not(.topicpost)
    > .container
    .post-body {
    grid-column: 1;
  }

  #pun-viewtopic[data-forum-id="8"]
    .post.gtalk-mine:not(.topicpost)
    > .container,
  #pun-viewtopic[data-forum-id="23"]
    .post.gtalk-mine:not(.topicpost)
    > .container {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #pun-viewtopic[data-forum-id="23"] #post-form #main-reply,
  #pun-viewtopic[data-forum-id="8"] #post-form #main-reply {
    height: 60px;
  }

  #pun-viewtopic[data-forum-id="23"] #pun-main,
  #pun-viewtopic[data-forum-id="8"] #pun-main {
    display: block;
    padding: 0;
  }

  #pun-viewtopic[data-forum-id="8"]
    #post-form:has(form#post[action^="edit.php"]),
  #pun-viewtopic[data-forum-id="23"]
    #post-form:has(form#post[action^="edit.php"]) {
    grid-row: unset;
    position: unset;
    width: unset;
    height: auto;
  }

  #pun-viewtopic[data-forum-id="23"]
    form#post[action^="edit.php"]
    .areafield.required
    .resizable-textarea
    span,
  #pun-viewtopic[data-forum-id="8"]
    form#post[action^="edit.php"]
    .areafield.required
    .resizable-textarea
    span {
    display: grid;
  }

  #pun-viewtopic[data-forum-id="23"]
    form#post[action^="edit.php"]
    .inputfield.required.longinput,
  #pun-viewtopic[data-forum-id="8"]
    form#post[action^="edit.php"]
    .inputfield.required.longinput {
    grid-row: 2;
    margin-top: 10px;
    text-align: center;
    margin-bottom: 0;
  }

  #pun-viewforum[data-forum-id="23"] .forum tr.inew .tclcon::before,
  #pun-viewforum[data-forum-id="8"] .forum tr.inew .tclcon::before {
    width: 10px !important;
    height: 10px;
    padding: 0;
    display: inline-block;
  }

  .notification-type-toggle {
    margin-left: 50px;
    float: unset !important;
  }

  .notify-link {
    top: unset !important;
    left: unset !important;
  }

  .notify-link .unreads,
  #notify-link .unreads,
  li.nav-item-notifications .bubble {
    top: unset !important;
    position: relative !important;
    left: unset !important;
    right: unset !important;
    margin-left: 3px !important;
    display: unset !important;
  }

  .notify-link .unreads {
    min-width: 12px;
    display: inline-block !important;
    text-align: center;
  }

  #notify-link[data-number-unread="0"] .unreads {
    display: none !important;
  }

  .notify-link .unreads,
  #navpm .notify-link .unreads,
  #navprofile .notify-link .unreads {
    top: 8px;
    left: 0;
    right: unset;
    transform: scale(0.7);
  }

  #notify-link .unreads::before,
  li.nav-item-notifications .bubble::before {
    content: none !important;
  }

  /* ==================== VIEWPROFILE ==================== */
  #viewprofile {
    width: 95%;
  }

  #viewprofile tr {
    display: grid;
  }

  #profile-left {
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding: 90px 0 20px !important;
  }

  #viewprofile #pa-fld1 {
    width: 100%;
    border-radius: 30px 30px 0 0;
  }

  #viewprofile #pa-fld3 {
    position: relative;
    width: 100%;
    grid-row: 1;
    display: block !important;
  }

  #viewprofile #pa-fld3 .line {
    width: 100%;
    border-radius: 0;
    text-align: center;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
    z-index: 1;
  }

  #viewprofile #pa-fld3 .line::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    background-repeat: no-repeat !important;
    filter: blur(5px);
    z-index: -1;
    border-radius: inherit;
    top: -5px;
    left: -5px;
    width: 120%;
    height: 120%;
  }

  #profile-right {
    border-radius: 0 0 30px 30px;
    padding: 0 !important;
    display: grid;
  }

  #profile-right li:not(#pa-fld3):not(#pa-fld1) {
    padding: 15px;
  }

  #profile textarea,
  #profile
    input[type="text"]:not(input[name="num_posts"]):not(#lzEditor input) {
    width: 100%;
    box-sizing: border-box;
  }

  #profile1 .formsubmit,
  #profile1 #profilenav {
    grid-column: 1;
  }

  #profilenav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 5px;
    padding: 10px;
  }

  #profile4 fieldset .fs-box {
    grid-template-columns: 1fr;
    padding: 20px 0 0;
  }

  #profile4 img.avatardemo {
    grid-column: 1;
    grid-row: 1;
    margin-left: 0;
    justify-self: center;
    margin-bottom: 15px;
  }

  #profile5 td#button-mask,
  #profile5 td#button-code,
  #profile5 td#button-hide,
  #profile5 td#button-video {
    display: none;
  }

  #profile2 #birthday select {
    margin: 3px 0;
  }

  /* ==================== ËÇ ÐÅÄÀÊÒÎÐ ==================== */
  #lzCustomInterface {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  #lzPreview {
    order: 1;
    width: 100%;
    position: static;
  }

  #lzEditor {
    order: 2;
    width: 100%;
  }

  #lzCustomInterface #bgContainer,
  #lzCustomInterface #iconContainer,
  #lzCustomInterface #lineBgContainer,
  #lzCustomInterface #lineTextContainer {
    max-height: 150px;
  }

  /* ==================== ÒÀÁËÈÖÀ ÔÀÉËÎÂ ==================== */
  #filetable thead {
    display: none;
  }

  #filetable tbody tr {
    display: grid !important;
    padding: 15px;
    background: var(--topic-main-bg);
    border-radius: 15px;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
    gap: 5px;
  }

  #filetable td {
    width: unset !important;
    text-align: left;
  }

  .ft-uploaded,
  .ft-version {
    display: flex !important;
    gap: 5px;
  }

  #filetable .tcl {
    font-weight: 600;
    margin-bottom: 6px;
    padding: 0 !important;
  }

  #filetable .tc3,
  #filetable .tc2 {
    padding: 0 !important;
  }

  #filetable .ft-uploaded::before {
    content: "Çàãðóæåí: ";
  }

  #filetable .tc2:not(.ft-uploaded)::before {
    content: "Èçìåí¸í: ";
  }

  #filetable .tc3.checker::before {
    content: "óäàëèòü ";
  }

  #filetable .ft-version::before {
    content: "Âåðñèÿ: ";
  }

  #filetable .tc3:not(.ft-version):not(.checker)::before {
    content: "Ðàçìåð: ";
  }

  #filetable .tcr {
    margin: 4px 0;
    padding: 0 !important;
  }

  #filetable .tcr input {
    width: 100%;
    box-sizing: border-box;
  }

  #profile10 #filetable td.tc3.checker {
    text-align: right;
    padding: 0 !important;
    width: unset !important;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
  }

  #profile .submitend {
    margin-top: 0;
  }

  /* ìàñêà */
  #mask_dialog .inner {
    margin-top: 2%;
    border: 10px solid transparent;
    padding: 10px;
  }

  .hv-control,
  .hv-mask-block {
    flex-wrap: wrap;
  }

  .hv-masks-storage,
  .hv-form-block,
  .hv-preview-block {
    flex: unset;
  }

  .hv-masks-storage {
    order: 2;
    width: 100%;
  }

  .hv-form-block {
    order: 3;
  }

  .hv-preview-block {
    order: 1;
    margin: 0 auto;
    width: 90%;
  }

  /* ==================== ËÈ×ÍÛÅ ÑÎÎÁÙÅÍÈß ==================== */

  #pun-messages #profile > .container {
    grid-template-columns: 1fr;
  }

  #pun-messages .fs-box {
    padding-top: 15px;
  }

  #pun-messages:has(#post:not(#cfm-native-editor-stage #post)) #messages,
  #pun-messages .container > fieldset,
  #pun-messages #profilenav,
  #pun-messages #messages {
    grid-column: unset;
    grid-row: unset;
    margin: 0;
  }

  #pun-messages #messages .container tr {
    grid-template-columns: 4fr auto;
    border-radius: 10px;
    margin: 0 0 10px;
    border: 1px solid var(--plain-border);
  }

  #pun-messages .tc2.pmtc22 {
    grid-row: 2;
    grid-column: 1;
    grid-template-columns: 40px auto;
    place-items: unset;
    align-items: center;
  }

  #pun-messages #messages td.tc3 {
    grid-row: 1;
    grid-column: 2;
    font-size: 9px !important;
  }

  #pun-messages #messages td.tc2 {
    padding-top: 0;
  }

  #pun-messages .post-author {
    margin-bottom: 15px;
  }

  #pun-messages .pa-posts {
    grid-column: 2 / 4 !important;
  }

  #pun-messages .post-links {
    margin: 10px 0 0;
  }

  #pun-messages fieldset {
    padding: 10px;
  }

  #pun-messages thead,
  #pun-messages td#button-hide,
  #pun-messages td#button-mask {
    display: none;
  }

  #pun-messages .post h3 {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .chrome-url {
    display: none;
  }

  .mediateka-control-panel-row,
  .mediateka-brand {
    flex-wrap: wrap;
  }

  .chrome-content {
    padding: 15px;
  }

  fieldset:not(fieldset fieldset):not(#post-form fieldset) {
    padding: 0 15px 15px;
  }

  /* ===================== ÀÄÌÈÍÊÀ ==================== */

  #pun-adnav {
    float: unset !important;
    margin: 0 !important;
  }

  #pun-admain {
    padding: 0 !important;
  }

  #adnav-standard > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
  }

  #pun-admain1 form.adcontainer,
  #pun-admain2 form.adcontainer,
  #pun-admain-new form.adcontainer,
  #pun-admain1 div.adcontainer,
  #pun-admain2 div.adcontainer {
    padding: 10px !important;
  }

  #pun-admain fieldset .handle,
  #pun-admain fieldset p {
    border: none !important;
  }

  #pun-admain .adlabel {
    float: unset !important;
    margin-left: 0 !important;
  }

  .admin-advert-block {
    width: 100% !important;
    height: auto !important;
  }

  #pun-admain2 fieldset .subforums {
    margin-left: 0 !important;
  }

  #pun-admain .adcontainer td {
    word-break: break-word !important;
  }

  .gemini-bingo {
    border-radius: 15px;
  }

  .bingo-card {
    padding: 5px;
  }

  .gemini-bingo-title {
    font-size: 40px;
  }

  .bingo-card__item {
    min-width: 0;
    padding: 3px;
    font-size: 4px;
    overflow-y: auto;
  }

  .bingo-card__item.active::before {
    font-size: 50px;
  }
}

/* äëÿ óçêèõ îìåæåê */

@media screen and (max-width: 365px) {
  html:not(.force-desktop) {
    .preview-post-author ul,
    .post-author ul {
      gap: 0 5px;
    }

    .store-item.voucher-item,
    .store-item .gemini_voucher,
    .mediateka-right-col .gemini_voucher {
      width: 100% !important;
    }

    .store-item .voucher_value,
    .mediateka-right-col .voucher_value {
      width: 35%;
    }

    .store-item .voucher_info,
    .mediateka-right-col .voucher_info {
      width: 65%;
    }

    #profilenav li a {
      padding-inline: 3px;
    }

    .gemini_store_left .tab-item {
      padding: 4px 7px;
      font-size: 8px;
    }

    .voucher-option {
      font-size: 11px;
    }

    #pun_wrap:has(#pun-viewtopic[data-forum-id="8"])::before,
    #pun_wrap:has(#pun-viewtopic[data-forum-id="23"])::before,
    #pun_wrap:has(#pun-post[data-forum-id="8"])::before,
    #pun_wrap:has(#pun-viewforum[data-forum-id="8"])::before,
    #pun_wrap:has(#pun-viewforum[data-forum-id="23"])::before {
      font-size: 39px;
      top: -48px;
      height: 40px;
    }

    #pun-post[data-forum-id="8"] #pun-navlinks,
    #pun-viewtopic[data-forum-id="8"] #pun-navlinks,
    #pun-viewforum[data-forum-id="8"] #pun-navlinks,
    #pun-viewtopic[data-forum-id="23"] #pun-navlinks,
    #pun-viewforum[data-forum-id="23"] #pun-navlinks {
      left: 10px;
    }
  }
}

@media screen and (max-width: 320px) {
  html:not(.force-desktop) {
    #pun-navlinks .container {
      gap: 1px !important;
    }

    .post-author {
      margin: 0 auto;
    }

    .preview-post-author ul,
    .post-author ul {
      grid-template-columns: 90px 1fr 1fr 1fr 1fr;
      gap: 0 6px;
      padding: 0 3px;
    }

    .preview-post-author .preview-pa-avatar img,
    .post-author .pa-avatar img,
    .preview-post-author .preview-pa-avatar,
    .post-author .pa-avatar {
      height: 90px;
      width: 90px;
    }

    i#tuser {
      left: -29px;
    }

    .preview-post-author .preview-pa-fld3,
    .post-author .pa-fld3 {
      margin-left: -3px;
    }

    .preview-post-author .preview-pa-fld3 .line,
    .post-author .pa-fld3 .line {
      width: calc(100% + 3px);
    }

    .preview-pa-fld4 a.anketa,
    .pa-fld4 a.anketa {
      top: -62px;
      width: calc(100% - 85px);
      font-size: 5px;
    }
  }
}
