/*************************************************************
CODE STRUCTURE BY BLANCHE
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/

@import url(style_cs.1778647261.css);
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0");
@import url("https://kit-pro.fontawesome.com/releases/v5.15.1/css/pro.min.css");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

@font-face {
    font-family: 'Verdana Regular';
    src: url('https://www.dropbox.com/scl/fi/md02cutjfm1kpnrbqxl1r/Verdana.eot');
    src: url('https://www.dropbox.com/scl/fi/md02cutjfm1kpnrbqxl1r/Verdana.eot?#iefix') format('embedded-opentype'),
    url('https://www.dropbox.com/scl/fi/7bji001ju7akg6ihmq8ql/Verdana.woff') format('woff'),
    url('https://www.dropbox.com/scl/fi/g9jk858ere5zb55tc8hth/Verdana.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    }
@font-face {font-family: Romul; /* Имя шрифта */
src: url(https://forumstatic.ru/files/0019/d0/45/85305.ttf); /* Путь к файлу со шрифтом */}
    
    
@font-face {
  font-family: Neon Absolute Sans;
  font-weight: 500;
  src: url("https://forumstatic.ru/files/001c/3d/c8/73512.woff") format("woff");
}

@font-face {
    font-family: 'philosopher';
    src: url('/files/001b/8d/56/92777.eot');
    src: url('/files/001b/8d/56/92777.eot?#iefix') format('embedded-opentype'),
         url('/files/001b/8d/56/12113.woff2') format('woff2'),
         url('/files/001b/8d/56/48070.woff') format('woff'),
         url('/files/001b/8d/56/49670.ttf') format('truetype'),
         url('/files/001b/8d/56/31837.svg#philosopherregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'cappuccicons';
    src: url('//source.cappuccicons.com/cappuccicons.eot');
    src: url('//source.cappuccicons.com/cappuccicons.eot#iefix') format('embedded-opentype'), url('//source.cappuccicons.com/cappuccicons.ttf') format('truetype'), url('//source.cappuccicons.com/cappuccicons.woff') format('woff'), url('//source.cappuccicons.com/cappuccicons.svg#cappuccicons') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'recolors_personal_useregular';
    src: url('/files/001b/8d/56/16332.eot');
    src: url('/files/001b/8d/56/16332.eot?#iefix') format('embedded-opentype'),
         url('/files/001b/8d/56/75744.woff2') format('woff2'),
         url('/files/001b/8d/56/83078.woff') format('woff'),
         url('/files/001b/8d/56/74037.ttf') format('truetype'),
         url('/files/001b/8d/56/17124.svg#recolors_personal_useregular') format('svg');
    unicode-range: U+0041-007F, U+0400-04FF;  
    font-weight: normal;
    font-style: normal;
}

@font-face {font-family: 'cinzel_decorativeregular';
    src: url('https://forumstatic.ru/files/001b/c7/5d/63207.eot');
    src: url('https://forumstatic.ru/files/001b/c7/5d/63207.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/001b/c7/5d/83378.woff2') format('woff2'),
         url('https://forumstatic.ru/files/001b/c7/5d/96331.woff') format('woff'),
         url('https://forumstatic.ru/files/001b/c7/5d/94846.ttf') format('truetype'),
         url('https://forumstatic.ru/files/001b/c7/5d/96831.svg#cinzel_decorativeregular') format('svg');
    font-weight: normal; font-style: normal;}

@font-face {font-family: 'danceregular';
    src: url('https://forumstatic.ru/files/001b/a7/18/57810.eot');
    src: url('https://forumstatic.ru/files/001b/a7/18/57810.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/001b/a7/18/72901.woff2') format('woff2'),
         url('https://forumstatic.ru/files/001b/a7/18/44867.woff') format('woff'),
         url('https://forumstatic.ru/files/001b/a7/18/47870.ttf') format('truetype'),
         url('https://forumstatic.ru/files/001b/a7/18/40756.svg?v=1#danceregular') format('svg');
    font-weight: normal; font-style: normal;}

@font-face {font-family: 'Myriad Pro';
    src: url('/files/0015/e5/b7/68495.eot');
    src: url('/files/0015/e5/b7/68495.eot?#iefix') format('embedded-opentype'),
         url('/files/0015/e5/b7/90961.woff2') format('woff2'),
         url('/files/0015/e5/b7/24719.woff') format('woff'),
         url('/files/0015/e5/b7/92838.ttf') format('truetype'),
         url('/files/0015/e5/b7/59688.svg#Myriad Pro') format('svg');
    font-weight: normal;
    font-style: normal;}

@font-face {font-family: 'ralewayregular';
    src: url('/files/001b/a7/bb/64030.eot');
    src: url('/files/001b/a7/bb/64030.eot?#iefix') format('embedded-opentype'),
         url('/files/001b/a7/bb/15520.woff2') format('woff2'),
         url('/files/001b/a7/bb/79061.woff') format('woff'),
         url('/files/001b/a7/bb/79423.ttf') format('truetype'),
         url('/files/001b/a7/bb/50514.svg#ralewayregular') format('svg');
    font-weight: normal; font-style: normal;}
    
@font-face { font-family: 'jost'; 
src: local("jost"), url(https://forumstatic.ru/files/001c/47/24/87792.ttf); }
@font-face { font-family: 'beron'; 
src: local("beron"), url(https://forumstatic.ru/files/001c/47/24/25363.ttf); }
@font-face { font-family: 'inter';
src: local("inter"), url(https://forumstatic.ru/files/001c/3f/af/56893.ttf);}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Roboto:wght@100;300;400;500;700;900&display=swap');

@font-face {
    font-family: 'Cornerita';
    src: url('https://forumstatic.ru/files/001c/b3/2a/23853.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cornerita';
    src: url('https://forumstatic.ru/files/001c/b3/2a/23853.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MTSans';
    src: url('/files/001c/b3/2a/63958.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'MTSans';
    src: url('/files/001c/b3/2a/52641.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'MTSans';
    src: url('/files/001c/b3/2a/49541.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MTSans';
    src: url('/files/001c/b3/2a/58500.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'MTSans';
    src: url('/files/001c/b3/2a/64435.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'MTSans';
    src: url('/files/001c/b3/2a/51434.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}


@font-face {
    font-family: 'Dune Rise';
    src: url('https://forumstatic.ru/files/001c/b3/2a/99384.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Опционально: улучшает загрузку текста */
}
/***************************************/

:root {
    --color-light1: #f1f1f1;
    --color-light2: #dbdbdb;
    --color-light3: #c9c9c9;
    --color-grey-light: #b1b6ba;
    --color-grey1: #6e7981;
    --color-grey2: #253340;
    --color-dark1: #1c1c1c; /* цвет тела внутри */

    --color-dark2: #0d1010;
    --color-violet1: #93ddec;
    --color-violet2: #5ec1e5;
    --color-violet3: #0084b4;
    --color-gold1: #a58f5e;
    --color-yellow1: #d4a017;
    --back-cat: #ffffff42;
    --sand-base: #c2a47c;
    --sand-light: #e8d5b7;
    --sand-dark: #8b6f47;
    --bronze-main: #a67c52;
    --bronze-dark: #3f3629;
    --rust: #a0522d;
    --spice-glow: #ff9730;
    --holy-blue: #1a4d7a;
    --blood-rite: #6b2737;
    --void-black: #0a0a0a;
    --parchment: #f4e4c1;
    --text-primary: #e8d5b7;
    --text-secondary: #a69a7c;
    
    /* === ТЕКСТУРЫ === */
    --texture-url: url(https://forumstatic.ru/files/001c/b3/2a/73161.png);
    --body-bg: url(https://upforme.ru/uploads/001c/b3/2a/2/969512.png);
    --pun-top-border: url(https://forumstatic.ru/files/001c/b3/2a/59243.png);
    --pun-bottom-border: url(https://forumstatic.ru/files/001c/b3/2a/53192.png);
    --pun-pattern: url(https://forumstatic.ru/files/001c/b3/2a/66826.png);
    --nav-bg: url(https://forumstatic.ru/files/001c/b3/2a/13120.png);
    --heading-texture: url(https://forumstatic.ru/files/001c/b3/2a/14863.jpg);
    --icon-mask: url(https://forumstatic.ru/files/001c/b3/2a/29277.svg);
    --author-bg: url(https://abrakadabra.fun/uploads/posts/2021-12/1640233099_7-abrakadabra-fun-p-strogie-chernie-oboi-na-telefon-7.jpg);
    --banner-bg: url(https://forumstatic.ru/files/0016/d5/6a/94850.png);
    
    /* === ЭФФЕКТЫ === */
    --engrave-shadow: 1px 1px 0 var(--bronze-dark), -1px -1px 0 var(--sand-light);
    --holy-glow: 0 0 8px rgba(212, 160, 23, 0.4);
    --back-cat: #ffffff42;
    
    /* === ШРИФТЫ === */
    --font-header: 'Cinzel Decorative', 'Romul', serif;
    --font-body: 'Verdana Regular', 'MTSans', sans-serif;
    --font-tech: monospace;
    
    /* === ИКОНКИ === */
    --mat: "Material Symbols Outlined";
    --mat1: "Material Symbols Rounded";
    --faw: "Font Awesome 5 Pro";
    
    /* === МАСШТАБ === */
    --2: calc(var(--16) / 8);
}


/* CUSTOM FORM-BUTTONS WITH WRITTEN SYMBOLS © BLANCHE. free for use only with copy */
#form-buttons {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin: 0px 0px -1px 0px;
    background: var(--back-cat);
    position: relative;
    padding: 5px;
    height: 30px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
}

#form-buttons table {
  width: 100% !important;
}

#form-buttons tr {
  width: 100%;
  display: flex;
  height: 18px;
  justify-content: space-between;
}

#plng,
#form-buttons td {
    display: flex;
    justify-content: center;
    gap: 3px;
    align-items: center;
    height: 18px;
    box-sizing: border-box;
    color: var(--color-light);
}

#form-buttons td {
  font: 500 15px var(--mat);
  background-image: none !important;
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
    font-size: 12px;
    background: var(--back-cat);
    border-radius: 5px;
    color: var(--color-dark1);
    text-transform: lowercase;
}

#plng b,
#form-buttons td:hover {
  color: var(--color-violet3);
}

#form-buttons td img {
  z-index: 9;
}

#form-buttons td:before {
  position: absolute;
}

#button-font:before {
  content: "\e264";
}

#button-size:before {
  content: "\eae2";
}

#button-bold:before {
  content: "\e238";
}

#button-italic:before {
  content: "\e23f";
}

#button-underline:before {
  content: "\e249";
}

#button-strike:before {
  content: "\e257";
}

#button-transL:before {
  content: "\e8e2";
}

#button-indent:before {
  content: "\e23e";
}

#button-left:before {
  content: "\e236";
}

#button-center:before {
  content: "\e234";
}

#button-right:before {
  content: "\e237";
}

#button-justify:before {
  content: "\e235";
}

#button-link:before {
  content: "\e157";
}

#button-spoiler:before {
  content: "\e875";
}

#button-sspoiler:before {
  content: "\ef9e";
}

#button-image:before {
  content: "\e412";
}

#button-imagetwo:before {
  content: "\e3f4";
}

#button-video:before {
  content: "\e1c4";
}

#button-hide:before {
  content: "\e898";
}

#button-quote:before {
  content: "\e625";
}

#button-code:before {
  content: "\ead1";
}

#button-html:before {
  content: "\ef54";
}

#button-color:before {
  content: "\e40a";
}

#button-dice:before {
  content: "\eb40";
}

#button-table:before {
  content: "\f088";
}

#button-smile:before {
  content: "\e87d";
  display: none;
}

#button-sticker:before {
  content: "\e813";
}

#button-keyboard:before {
  content: "\f028";
}

#button-addition:before {
  content: "\e145";
}

#button-mask:before {
  content: "\e853";
}

#floatbut:before {
  content: "\e3b5";
}

#button-ChangeСase:before {
  content: "\e262";
}

td#button-smile {
    background: url(/i/form_buttons.3.png) no-repeat 50% -437px;
    display: none;
}

/* === Иконки для кнопок рейтинга и голосования === */
div.post-rating a::before,
div.post-vote a::before {
    display: inline-block;
    font-family: 'Material Symbols Outlined', 'icomoon', 'FontAwesome', sans-serif;
    font-weight: normal !important; /* Иконки могут ломаться при жирном начертании */
    font-style: normal;
    line-height: 1;
    vertical-align: middle;
}
/* === Перебиваем размер шрифта кнопок рейтинга === */
#pun-viewtopic div.post-rating a,
#pun-viewtopic div.post-vote a,
body div.post-rating a,
body div.post-vote a {
    font-size: 1em !important; /* 1em надёжнее, чем 100% */
    line-height: 1 !important;
    vertical-align: middle !important;
}
div.post-rating a::before { 
    content: "\e87d"; margin-right: 4px; font-size: 16px;
}
div.post-vote a::before  { 
    content: "\e560"; margin-right: 4px; font-size: 16px;
}

div.post-vote p {
    padding: 3px 0px !important;
    transform: translateX(15px) !important;
}

/* Меняем иконку для проставленной репутации */
.post-rating a.rating-done::before {
    content: "\f292" !important;
    font-family: 'FontAwesome', 'icomoon', sans-serif;
}
/* Скрываем старую иконку только для лайкнутых постов */
.mylike .post-rating a::before {
    content: "" !important;
    display: none !important;
}
/* tags */
#tags .container,
#float {
    overflow-y: auto;
    padding: 10px !important;
    height: 179px;
    font: 500 11px/15px var(--font);
    text-transform: lowercase;
    z-index: 99999;
    top: 35px !important;
    margin: 0px 0px 0 6px;
    color: var(--color-dark);
    background: var(--color-gray2);
    border-radius: 5px;
    border: 1px solid #f2f2f2;
}

#font-area {
  display: flex;
  flex-wrap: wrap;
  border-radius: 0 0 0 10px;
  gap: 4px 15px;
  flex-direction: column;
}

#font-area div,
#size-area div,
#addition-area div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: all 0.5s;
  margin: -5px;
  padding: 5px;
  position: relative;
  border-radius: 5px;
}

#font-area div:hover,
#size-area div:hover,
#addition-area div:hover {
  background: var(--color-light);
  color: var(--color-dark);
}

#font-area div img,
#size-area div img {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

#font-area span,
#size-area span,
#addition-area div {
  height: auto !important;
}

#uploaded-images img {
  object-fit: cover;
}

#image-area,
#color-area,
#video-area,
#spoiler-area {
  height: auto !important;
}

#spoiler-area a,
#image-area a {
  color: inherit;
}

#float {
  left: 43%;
  z-index: 2;
  height: auto;
  position: absolute;
  display: none;
}


/* A2 Deal with browser defaults and wonkiness */
/* A2.1  */
html, body {margin: 0; padding: 0}


/***   ФОН ФОРУМА   ***/
body {
    background: var(--body-bg), var(--void-black);
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    background-repeat: no-repeat;
    color: var(--text-primary);
}



/* A2.2 */
.punbb * {margin: 0;}

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {padding: 0; list-style: none;}

/* A2.5 */
.punbb .main table {table-layout: fixed; width: 100%;}

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em!important;box-shadow: none !important;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {height: 1.8em; vertical-align: middle;}


 /* A3 Text setup */
/* A3.1 */
body {font-size: 100.01%;}

/* A3.2 */
.punbb {font: normal 68.75% verdana, arial, helvetica, sans-serif;}

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table {font-weight: normal; }

.punbb th, .punbb thead {font-size: 0px !important; font-family: Tahoma, Arial; font-weight: 400;
text-transform: lowercase; background-color: transparent; opacity:0.7;}


/* A3.6 */
.punbb pre {font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace}

/* A3.7 */
.punbb address, .punbb em {font-style: normal;}

/* A3.8 */
.punbb .post-content em {font-style: italic;}

/* A3.9 */
.punbb .post-content em.bbuline {font-style: normal; text-decoration: underline;}



/* A3.10 */
.punbb a {text-decoration: none; transition: 0.2s linear!important; -webkit-transition: 0.2s linear!important; -moz-transition: 0.2s linear; transition: 0.2s linear;}

/* A3.11 */
.punbb optgroup {font-weight: bold;}


/* A4 Float clearing and hidden items */
/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden;
  }



/* A5 Basic page layout and borders  */
/* A5.1  */

/***   ТЕЛО ФОРУМА   ***/
#pun {
    width: 1060px;
    margin: 300px auto 130px auto;
   /* padding: 0px 36px;*/
    position: relative;
    box-sizing: border-box;
    border-radius: 25px;
    outline-offset: 70px;
    outline: 1px solid var(--bronze-dark);
    background: 
        var(--pun-top-border) top center no-repeat,
        var(--pun-bottom-border) bottom center no-repeat,
        var(--pun-pattern) repeat;
    background-size: 1060px auto, 1060px auto, 1060px auto;
    box-shadow: 
        inset 0 0 40px rgba(0,0,0,0.6),
        0 0 20px rgba(166, 124, 82, 0.2);
}

.atr #pun {
    background: 
        url(https://forumstatic.ru/files/001c/b3/2a/10366.png) top center no-repeat,
        url(https://forumstatic.ru/files/001c/b3/2a/17441.png) bottom center no-repeat,
        url(https://forumstatic.ru/files/001c/b3/2a/38617.png) repeat;
    background-size: 1060px auto, 1060px auto, 1060px auto;
}

/* A5.2 */
.punbb {float: left; width: 100%; height: auto;}



/* A5.3 */

/***   ПЕРЕАДРЕСАЦИЯ   ***/
body.redirect-page #pun {
margin-top:15%; 
overflow:hidden;
text-align: center;
}
body.redirect-page h1 {margin: 1em auto auto !important;}



/* A5.4 */
.punbb .section, .punbb .main {
    margin-bottom: 0.7em;
}

/* A5.5 */
.punbb .category {margin-top: 0.4em;}
.punbb .post {padding-top: 0px; background: transparent; }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {margin-top: 0;}

/* A5.7 */
#pun-post .topic {margin-top: 1em;}

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {border-style: none; border-width: 0px;}

/* A5.9 */
.punbb .container {border-style: none; border-width: 0px;}



/*****B - MAIN CONTENT - GENERAL*****/
/* B1.1 */
.punbb .post-content {width:100%; margin:0; padding:0; overflow:hidden;}



/* B1.2 */
/***   ПОДПИСЬ   ***/
.punbb .post-sig dt {
    display: block;
    width: 80%;
    margin: 10px auto;
    border-top: 1px solid var(--color-grey-light);
    text-align: right;
}






/* B1.3 */
.punbb .post-content p {padding: 0.7em 0.7em 0.8em 0.8em; line-height: 150%;}

/* B1.4 */
.punbb .post-content img {vertical-align: text-bottom;}
.punbb .post-content img.postimg {margin: 0.2em 0px !important; border-radius: 10px;}

/* B1.5 */
.punbb .post-content img.postimg {vertical-align:middle; width:auto; max-width:100%; height:auto;}

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {width: 100%; overflow: hidden;}


/* B1.7 */
.punbb .post-content .scrollbox {width: 100%; max-height:190px; overflow: auto;}

/* B1.8 */
/***   ЦИТАТА И КОД   ***/

.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 1em 1em 1em 1em;
    padding: 1em 1.2em;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.punbb .quote-box, .punbb .code-box, .punbb .hide-box {
    -webkit-appearance: none;
    background: #ffffff42;
    box-shadow: inset 4px 0px 0 var(--color-violet1);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 10px;
}


/* B1.9 */
/***   ИМЯ ПОЛЬЗОВАТЕЛЯ В ЦИТАТЕ И КОДЕ   ***/
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: block;
    margin: auto auto 8px auto;
    padding: 0 1.05em;
    font-weight: 600;
    font-style: normal;
    font-size: 1.1em;
    text-align: left;
    background: var(--color-violet1);
}




/* B2 Information boxes */
/* B2.1 */
.punbb .info-box {margin: 0 0 1.1em 0; padding: 1.1em 1.7em 1em 1.7em; border-style:none; border-width:0px;}

/* B2.2 */
.punbb .info-box * {padding: 0 0 0.7em 0;}

/* B2.3 */
.punbb #pun-main .info-box .legend {font-size: 1.1em; font-weight: bold;}


/* B3 Pagination and posting links */
/* B3.1 */
.multipage {background:transparent;}

#pun-main .linkst {
width: 100%; 
font-family: Tahoma, sans-serif;
}

.linkst .pagelink {
display: inline-block;
width: 20em;
margin: 0.2em auto;
padding: 0.5em;
font-size: 0;
}

.linkst .postlink {
    display: none;
    font-size: 0;
}

.punbb .linksb {
width: 100%; 
font-family: Tahoma, sans-serif; 
margin-bottom: -10px;
}

/* Скрыть кнопку Ответить */
.postlink:not(.long) a[rel="nofollow"] {
    display: none!important;
}

.linksb .pagelink {
    display: inline-block;
    width: 20em;
    margin: 0.2em auto;
    padding: 0.5em;
    font-size: 1.1em;
    font-weight: 400;
    padding: 0em 1em;
    color: var(--color-grey1);
    font-family: 'Cornerita', sans-serif;
}

.linksb .postlink {
    float: right;
/*    display: none;*/
}


/*** НОМЕР АКТИВНОЙ СТРАНИЦЫ ***/
.linkst .pagelink strong, .linksb .pagelink strong {
padding: 0 0.2em;
font-weight:700;
}


/* B3.8 */
/***   ПОДПИСКА НА ТЕМУ  ***/
/* Скрываем текст */
.subscribelink {clear:both; padding-top: 0.3em; padding-bottom: 0.5em; }
.punbb .linksb .subscribelink {
font-size: 0px !important;
    text-align: right;
    margin-right: 10px;
}

/*****C - MAIN CONTENT - SPECIFIC*****/
/* C1 Form layout */
/* C1.1 */
.punbb .formal .container {padding: 0em 1em 1.1em 2.3em;}

/* C1.2 */
.punbb .formsubmit {margin: 1em 0 0 0; padding: 0 0 0 1.7em;}

/* C1.4 */
.punbb fieldset {margin: 0 0 1em 0; padding: 0 18px 0 18px; border-style:none; border-width:0px; border-color: transparent;}

/* C1.5 */
.punbb fieldset legend {
margin: 0 0 0 10px;
padding: 0;  
font-size: 1.2em; 
font-family: Arial, sans-sefir;
}

.punbb legend span, #viewprofile h2 span, .punbb-admin #pun-admain legend span {
font-weight: 600; 
}
.punbb legend span, .punbb legend strong {
font-size: 0px;
}

/* C1.6 */
.punbb fieldset legend span {margin: 0 0 0 -15px; padding: 0 5px;}

/* C1.7 */
.punbb fieldset fieldset {margin: 0; padding: 0 0 8px 0; border-style:none;}

/* C1.8 */
.punbb .fs-box {padding: 1em 0 0.8em 0;}

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
    /* font-size: 14px;
    font-family: 'Cornerita', sans-serif;
    color: var(--color-violet3); */
}

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {float: left; margin-right: 1em;}
.punbb .inline .inputfield {margin-bottom:10px; margin-top: -10px;}


/* C1.11 */
.punbb .inline .infofield {clear:both;}

/* C1.12 */
.punbb .datafield br {display:none;}

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {font-weight: 100;}

/* C1.14 */
.punbb .datafield span.input a {font-weight: normal;}

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {display: block; padding: 0 12em 0 0;
  height: 100%; /* For IE */  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {width: 64%; margin: 0;}

/* C1.17 */
.punbb .hashelp {position: relative;}

/* C1.18 */
.punbb .helplinks {display: block; position: absolute; top: 1em; right: 0; width: 36%; font-weight: normal;}

/* c1.19 */
.punbb #profile .helplinks {top: 1.5em;}

/* C1.20 */
.punbb .helplinks span {display: block; padding-bottom: 0.2em;}

/* C1.21 */
#pun-post .formal .info-box li {margin: 0; padding-left: 4px; list-style-type: square; list-style-position: inside; line-height: 1.5;}


/* C2 Table layout */
/* C2.1 */
.punbb .main .tcl {
    overflow: hidden;
    width: 43% !important;
    vertical-align: middle;
    text-align: left;
    padding: 0 20px;
    color: var(--text-secondary);
}
#pun-online .main .tcl {padding: 6px 0 6px 30px; text-align: left;}


/* C2.2 */
.punbb .main .tc3, .punbb .main .tc2, .punbb .main .tcmod {
    text-align: center;
    vertical-align: middle !important;
    color: var(--text-secondary);
    width: 15%;
    opacity: .7;
}

.atr .punbb .main .tc3, .atr .punbb .main .tc2, .atr .punbb .main .tcmod  {color: var(--color-grey1);}
.forum .tclcon > a, .forum .tcr a {
    display: block;
}
.forum .tclcon .byuser:before {
    content: 'создал:';
    opacity: .7;
}
.forum .intd {
    display: block;
    align-items: center;
    vertical-align: middle !important;
    margin-top: 10px;
}
.forum .tcr .byuser:before {
    content: 'пост от:';
    opacity: .7;
}

/* === TC2 и TC3: Иконки таблицы на главной перемещаем вниз слева === */
#pun-index .category table tr .tc2,
#pun-index .category table tr .tc3 {
    display: flex !important;
    position: absolute;
    bottom: 12px;
    padding: 0;
    margin: 0;
    border: none;
    width: auto;
    font-size: 10px;
    color: var(--text-secondary);
    align-items: center;
    gap: 4px;
    z-index: 2;
    font-family: 'Cornerita';
}
.atr #pun-index .category table tr .tc2,
.atr #pun-index .category table tr .tc3 {
    color: var(--color-grey1);
}

/* Позиционирование слева */
#pun-index .category table tr .tc2 { left: 48px; }
#pun-index .category table tr .tc3 { left: 92px; }

/* Иконки (исправлена опечатка conte &#8594; content) */
#pun-index .category table tr .tc2::before {
    content: "\e032";
    margin-right: 2x;
    font: 500 14px/1 'Material Symbols Outlined', 'icomoon', 'FontAwesome', sans-serif;
}

#pun-index .category table tr .tc3::before {
    content: "\e0bf";
    margin-right: 2px;
    font: 400 14px/1 'Material Symbols Outlined', 'icomoon', 'FontAwesome', 'icon', sans-serif;
}

/* Цифры */
#pun-index .category table tr .tc2 span,
#pun-index .category table tr .tc3 span {
    font-weight: 600;
    color: #222;
}

/***   ШИРИНА БЛОКОВ НА ГЛАВНОЙ СТРАНИЦЕ   ***/
#pun-index #pun-main .tcl {width: 70% !important; padding-right: 0px; overflow: hidden; text-align: justify;}
#pun-index #pun-main .tcr {
    width: 51% !important;
    vertical-align: bottom;
    text-align: left;
    margin-top: -24px;
    margin-right: 30px;
    padding-top: 20px;
    border-top-right-radius: 27px;
    border-top: 1px solid var(--bronze-dark);
    border-right: 1px solid var(--bronze-dark);
}


/***   УБИРАЕМ ФОРУМ-СООБЩЕНИЙ НА ГЛАВНОЙ СТРАНИЦЕ   ***/
#pun-index #pun-main thead {display:none;}



/* C2.4 */
#pun-userlist .main .tcl, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {width: 38%;}
#pun-searchtopics .main .tcl, #pun-searchtopics .main .tcr {font-size:1em;}

/* C2.5 */
#pun-userlist .main .tc2 {width: 20%; vertical-align:middle; text-align: left;}
#pun-searchtopics .main .tc2 {
    text-align: left;
    padding-left: 10px;
}

/* C2.6 */
#pun-debug table .tcl {width: 15%; white-space:normal;}

/* C2.7 */
#pun-debug .tcr {width: 90%; white-space: normal;}

/* C2.8 */
#pun-index .tcl h3 {
    margin: 0em 0.2em 0.5em 0em;
    padding: 0.5em;
    border-bottom: 1px solid var(--bronze-dark);
    border-left: 1px solid var(--bronze-dark);
    border-bottom-left-radius: 27px;
}
.atr #pun-index .tcl h3 {
    box-shadow: 0px 1px 0px #e0e0e0;
    border-bottom: 1px solid var( --color-grey1);
    border-left: 1px solid var(--color-grey1);
}

/* C2.9 */
.punbb td span.youposted {position: absolute; margin-left: -1em; font-weight: bold;}

/* C2.10 СКРЫВАЕМ МОДЕРАТОРОВ В ОПИСАНИИ ФОРУМА */
.punbb td .modlist {display: none; padding-top: 0.3em;}

/* C2.11 */
.punbb .main td {padding: 0.5em 0.6em; border: none;}

/* C2.12 */
.punbb .main th {padding: 0.4em 1em 0.4em 1em; border: none;}

/* C2.13 */
.punbb div.icon {float: left; display:block;padding-right: 20px;}
.punbb .main .tcl {border-left-style: none; border-left-width: 0;}



 /* C3 Topics */
/* C3.1 */
.punbb .post .container {
margin: auto 0.5em; 
padding-bottom: 1px;
border-style: none; 
border-color: transparent; 
border-width: 0px; 
}

/* C3.2 */
/***   ДАТА И НОМЕР ПОСТА   ***/
.punbb .post h3 {
    width: auto;
    padding: 6px 10px 4px 10px;
    font-size: 1em;
    color: var(--text-secondary);
    background: rgba(26, 21, 16, 0.6);
    backdrop-filter: blur(15px);
    font-family: 'Cornerita', sans-serif;
    margin: 10px 0 15px 0;
    border-radius: 0;
    border-left: 3px solid var(--bronze-main);
    border-right: 3px solid var(--bronze-main);
}

.atr .punbb .post h3 {
    background: var(--back-cat);
    color: var(--color-grey1);
    border-left: 3px solid var(--color-light1);
    border-right: 3px solid var(--color-light1);
}
/* C3.3 */
.punbb .post h3 span {display: block;}

/* C3.4 */
.punbb .post h3 strong {
    float: right;
    font-weight: 100;
    text-align: right;
    margin-right: 0 !important;
}

/* C3.5 */
.punbb .post .post-author {
float: left; 
margin: 0em 0 2em 0px;
overflow: hidden; 
}


/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {line-height: 150%;}


/* C3.8 */
.pa-author strong {
font-weight: 600;
}


/* C3.9 */
li.pa-online {line-height:110%; border-left-style: none; margin-top: 0.7em;}


/* C3.11 */
.punbb .post-body {margin-left: 20em; padding: 0 0 1px 0; border-left-style: none; border-left-width: 0px; border-color: transparent;}

/* C3.12 */
.punbb .post-box {padding: 0 0em 0em 2em}
#profile .post-box {padding-right: 0em !important;}


/*C3.13 */
.punbb fieldset .post-box {margin-bottom: 0.8em;}

/* C3.14 */
/* КНОПКИ ОТВЕТ И РЕДАКТИРОВАНИЕ В ПОСТАХ */
.punbb .post-links {
    margin-left: 20em;
    border-left-style: none;
    border-left-width: 0px;
    border-color: transparent;
    font-weight: 400;
    font-family: monospace, sans-serif;
    padding: 0 10px;
}

/* C3.15 */
.punbb .post-links ul {margin-left: -21em; margin-top: 20px; border-top-color: transparent; border-top-style: none; border-top-width: 0px; text-align: right; background: transparent;}

/* C3.16 */
.punbb .post-links li {
    display: inline-block;
    position: relative;
    transition: border-left-color 0.3s ease-in-out;
    z-index: 1;
}

.punbb .post-links li.pl-delete,
.punbb .post-links li.pl-edit.edit-ajax,
.punbb .post-links li.pl-quote {
    padding: 4px 0 2px 8px !important;
}
.pl-email.profile, .pl-email.email, .pl-email.pm, .punbb .post-links li {
    padding: 4px 6px 2px 6px!important;
}

/* C3.17 */
.pl-email, .pl-website {float: left;}

/* C3.18 */
.punbb .clearer {clear: both; height: 0; font-size: 0;}


/* C4 Moderator menu */
/* C4.1 */
.punbb .modmenu .container {padding: 0 1em; font-weight: 100 !important;}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {height: 1.8em; line-height: 1.8em;}


/* C4.3 */
.punbb .modmenu .container strong {float: left;}

/* C4.4 */
.punbb .modmenu input {margin-left: 1em;}


/* C5 Message boxes */
/* C5.1 */
.punbb .info .container {padding: 0.8em 1em;}
/* C5.2 */
.punbb .info .container .backlink {padding-top: 1.1em !important;}


/* C6 Profile */
/*** C6.2 ***/
/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {

  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px 0em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 10px 0px  0 30px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }
  
/* C7 User list */
/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {margin-bottom: 0; border-bottom: none;}

/* C7.2 */
#pun-userlist .usertable .container {padding: 0 2.3em 2.3em 2.3em; border-top: none;}

/* C7.3 */
/***   ПОЛОСА-РАЗДЕЛИТЕЛЬ ПОЛЬЗОВАТЕЛЕЙ   ***/
#pun-userlist .usertable table {border: none;}
#pun-userlist .usertable td, #pun-message .forum td, #pun-messages .main td {
border-bottom: 1px solid rgba(0,0,0,0.07); padding: 10px;}


/*****D - PUNBB SECTIONS OTHER THAN MAIN CONTENT*****/
/* D1.1 */
#pun-title {margin: 0; border-style: none; border-width: 0px;}

/* D1.2 */
#pun-title h1 {display: none; padding: 2em 1em 0 1em;}

/* D1.3 */
#pun-title .container {border-style: none;}

/* D1.4 */
#pun-title h1 span  {font-size: 0.8em;}



/***   ШАПКА   ***/
#pun-title table {
border: none;
height: 100px;
background: url(...) no-repeat;
margin-top: -145px!important;
margin-bottom: 60px;
margin-left: 370px;
position: top center;
}

#pun-title td.title-logo-tdl {
	border: none;
	width: 100%;
}




/* D2 Page navigation */
/* D2.1 */
#pun-pagelinks {position: absolute; width: 100%; top: -15px; left: 0; margin: 0; padding: 0; border: none; }

/* D2.2 */
#pun-pagelinks .container {padding: 0; border: none; background: transparent;}

/* D2.3 */
#pun-pagelinks .container li {display: inline;}

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
float:left; display: block; width: 100%; height: 2em; margin-left: -9999px; padding: 0; line-height: 2em; font-size: 1.2em; }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {position:relative; margin: 0;}
#pun-pagelinks li a span {display:block; margin: 0 1em;}

/* D3 Forum navigation */
/* D3.1 */
#pun-navlinks {
width: 100%; margin:auto; 
text-align:center;
background: transparent; 
}



/* D3.2 */

/***   МЕНЮ НАВИГАЦИИ 1   ***/
#pun-navlinks .container {
    position: relative;
    left: 50%;
    margin-left: -760px;
    width: 1520px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: 'MTSans';
    font-size: 16px;
    border-radius: 0px 0px 10px 10px;
    margin-top: -324px !important;
    background: url(https://forumstatic.ru/files/001c/b3/2a/13120.png) no-repeat center top;
    background-size: 100% auto;
    z-index: 10 !important;
}



/* D.3.3 */
#pun-navlinks li {padding-right: 0em; }
#pun-navlinks li:last-child {padding-right: 0;}

/* D3.4 */
#pun-navlinks li a {letter-spacing: 0.03em;}

/* D4 User links */
/* D4.1 */
#pun-ulinks  {
margin: auto;
padding: 15px 2em 10px 2em;
text-align:center;
background: transparent;
}



/* D4.2 */

/***   МЕНЮ НАВИГАЦИИ 2   ***/
#pun-ulinks .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-grow: 1;
    flex-wrap: nowrap;
    margin: auto;
    font-size: 11px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 400;
    padding: 10px;
    border-radius: 10px;
    outline-offset: 1px;
    position: relative;
    margin-top: 240px !important;
    margin-bottom: -10px;
}




/* D4.3*/
#pun-ulinks li, #pun-ulinks li a {border-left-style: none; border-left-width: 0px; white-space: nowrap;}

/* D4.4 */
#pun-ulinks li a {padding: 0 1.1em 0 1.1em;}

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {padding-left: 0; border-left-style: none; border-left-width: 0;}


/* D5 Welcome box and Top Breadcrumbs */
/* D5.1 */
#pun-status, #pun-status .container {margin-bottom: 0; margin-top:1em; border-bottom: none;}

/* D5.2 */
#pun-status .container {padding: 0em 0.5em 0.7em 0.5em; font-size: 1em;}

/* D5.3 */
#pun-status span {
    white-space: nowrap;
    margin-right: 0.5em;
    color: var(--bronze-main);
    font-family: 'Cornerita', sans-serif;
    font-size: 12px !important;
}
.atr
#pun-status span {
    color: var(--color-grey2);
}

/* D5.4 */
#pun-crumbs1 {
margin-top: 0;
overflow: hidden;
font-size: 1em;
font-family: Verdana, serif;
}

/* D5.5 */
#pun-crumbs1 p.container {
    padding: 1em 1em 0.8em 1em;
    border-top: none;
    color: var(--text-secondary);
    font-family: 'Cornerita', sans-serif;
    font-size: 12px !important;
}
.atr #pun-crumbs1 p.container {
    color: var(--color-grey1);
}
/* D5.6 */
#pun-break1 {position: relative; z-index: 1; height: 0; margin: 0 1em; border-style: none; border-width: 0px;}

/* D6 Announcement */
/* D6.1 */
#pun-announcement h2 {display: none;}

/* D6.2 */
#pun-announcement h2 span {display: none;}

/* D6.3 */
#pun-announcement {margin: auto;}

#pun-announcement .container {
margin: 0px auto auto;
padding: 1em 1.5em;
}


/* D7 статистика */
#pun-stats .container {padding: 0.8em 1em 0em 1em;}
#pun-stats ul.container {
    text-align: center;
    margin: -1px 60px 0 60px;
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 15px solid var(--spice-glow);
    border-top: 1px solid #3f3629;
    border-bottom: 1px solid #3f3629;
    border-right: 1px solid #3f3629;
    background: linear-gradient(to top left, #342e25, #272420, #272420);
    box-shadow: 4px 4px 5px 0 #00000021;
    /*--cut-size: 15px;*/
    border-top-right-radius: 0px !important;
    border-radius: 20px;
    clip-path: polygon(var(--cut-size) 0%, 100% 0%, 100% calc(100% - var(--cut-size)), calc(100% - var(--cut-size)) 100%, var(--cut-size) 100%, 0% calc(100% - var(--cut-size)), 0% var(--cut-size));
    -webkit-clip-path: polygon(var(--cut-size) 0%, 100% 0%, 100% calc(100% - var(--cut-size)), calc(100% - var(--cut-size)) 100%, var(--cut-size) 100%, 0% calc(100% - var(--cut-size)), 0% var(--cut-size));
}



/***   АКТИВНЫ И ПОСЕТИЛИ ЗА СУТКИ   ***/
li#onlinelist {
float: left;
width: 100%;
margin-top: 1em;
padding: 0.5em 0 0 0;
border-top-style: none;
border-top-width: 0px;
line-height: 130%;
}

#onlinelist {text-align:left;}


/* D8 Quick Jump - About - Bottom Breadcrumbs */
/* D8.1 */
#pun-qjump {position: relative; float: left; width: 50%; margin: 0; border: none;}

/* D8.2 */
#pun-qjump .container {padding: 0.8em 1em; border: none; background: transparent;}

/* D8.3 */
#pun-about {margin-top: 0; margin-right: 0.2em; margin-bottom:0;}

/* D8.4 */
#pun-about .container {
    padding: 0.5em 1em;
    line-height: 150%;
    border-top-style: none;
    font-weight: 600;
    text-align: center;
    background-color: transparent;
    font-family: 'Cornerita';
    text-transform: lowercase;
    font-size: 10px;
    color: var(--bronze-main);
}

/* D8.5 */
#pun-about p span {display:block; padding-left: 50%;}

/* D8.6 */
#pun-crumbs2 {
margin-top: 0;
overflow: hidden;
font-size: 1em;
}

/* D8.7 */
#pun-crumbs2 .container {
    padding: 0.8em 1em;
    border-bottom: none;
    color: var(--text-secondary);
    font-family: 'Cornerita', sans-serif;
    font-size: 12px !important;
}

/* D8.8 */
#pun-break4 {position: relative; z-index: 1; display: none; height: 0; margin: -2px 1em; border-style: none; border-width: 0px;}

/* D8.9 */
div.punbb-admin #pun-about .container {border-top-style: none; border-top-width: 0px;}

/* D9 Help file */
/* D9.1 */
#pun-help .formal .info-box h3.legend {margin-bottom: 0.8em; padding-bottom: 0; border-bottom-style: none; border-bottom-width: 0px;}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {display: block; padding-bottom: 0.6em; border-bottom-style: none; border-bottom-width: 0px; font-size: 1.1em;}



/*** всякое ***/
#pun-main div.catleft, #pun-main div.catright {display: none}
.punbb #pun-main .info-box .legend, .punbb .info-box, #setmods dd, #viewprofile li div, #viewprofile li strong, .punbb .formal fieldset .post-box, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb .post .container, .punbb .main .container {background: transparent}
.offline li.pa-online strong {font-weight: normal;}
.punbb .formal fieldset .post-box, .punbb .info-box, .punbb .divider, 
.punbb .container, .punbb .post, .punbb .post-body, #pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, #pun-ulinks li, #pun-ulinks li a,
#pun-announcement h2 span, #pun-announcement h2, li#onlinelist, li#onlinelist div, #pun-help .formal .info-box h3.legend, #pun-help .formal .info-box h3.legend span {border-color: transparent;}
.punbb td, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .post-links ul, .post-links, .usertable table {border: none;}


.punbb .main .tcr span {
    overflow: hidden;
    font-weight: 100;
    color: var(--text-secondary);
    text-shadow: 1px 1px 1px var(--color-dark2);
    text-transform: none;
    display: block;
    margin-top: 3px;
}

.atr .punbb .main .tcr span {    
    color: var(--color-grey1);
    text-shadow: 1px 1px 1px #e0e0e0;
}


#keyboard-span input, #keyboard-span input[type="button"] {
text-shadow:none; box-shadow:none; 
background:#fff; color:#333 !important; 
border: 1px solid #a7a7a7 !important; 
font-family: Tahoma, Verdana, sans-serif !important; 
font-weight:400 !important;
}
#imageupload-left input[type=button] { width:auto !important; } 


/***  ЗАПЛАТКА ДЛЯ ПОЛЯ ОТВЕТА ***/
textarea#main-reply {
text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%; 
-webkit-text-size-adjust: 100%;
}


.lastedit, li#navawards, .pl-share, .sharelink, .pa-invites, #pun-live-rusff, .pa-gifts {display:none;}



/***   СПОЙЛЕР — ИКОНКИ ВМЕСТО КАРТИНОК   ***/
.spoiler-box>div[onclick]>p {
display:inline-block;
margin:0!important;
padding:0!important;
}

/* Убираем старые фоновые изображения */
.post-content .spoiler-box > div {
    background: none !important;
    padding-left: 0 !important;
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Добавляем иконку закрытого спойлера */
.post-content .spoiler-box > div::before {
    content: "\e8f5"; /* Закрыт */
    font: 400 14px/1 'Material Symbols Outlined', sans-serif;
    color: var(--color-violet3) !important;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}

/* Иконка открытого спойлера */
.post-content .spoiler-box > div.visible::before {
    content: "\e8f4"; /* Открыт */
}

/***   ГРАНИЦЫ ТАБЛИЧЕК   ***/
.punbb .post-content td {border: 0px none transparent !important; padding: 0.0em 0.5em 0.4em 0.5em !important;}



/***   ПЕРЕМЕЩЕНИЕ СООБЩЕНИЙ - РАЗДЕЛИТЕЛЬ   ***/
div.Select_Topics .container tr {border-bottom: 1px solid rgba(0,0,0,0.15); }



/***   ЗАПЛАТКИ ДЛЯ ЗАКЛАДКИ   ***/
#MyBookmarks .container, .editBookmark {
border: 1px solid #cdc3aa;
background: #cdc3aa;
box-shadow: 0 1px 5px #000;
}
#MyBookmarks .container {padding: 2em 1em 1em !important;}


/***   ЦВЕТНАЯ ВСТАВКА НА ИКОНКЕ ЗАКЛАДКИ   ***/
#BookmCntToggle.default-style {
    color: #010103 !important;
    background: #a89c80 !important;
}

/***   ЗАКЛАДКА В ТЕМЕ  ***/
.post .bookmark {
    color: #a26f00!important;
}

/***   ЗАГОЛОВОК ЗАКЛАДОК   ***/
#MyBookmarks h2, #MyBookmarks h1 {
margin: auto;
padding: 8px 1em !important; 
background-image: none;
background-color: #d4ccb7;
border-radius: 0px;
outline-offset: 0px;
} 



/*** ЦВЕТ ПОЛОС В ГОЛОСОВАНИИ ***/
table.poll2 {margin-left:40px;}
#poll-special td h1 {
margin: auto 0 !important; 
padding:1px !important;
background: #3c6567 !important; 
}



/***   ФОН ДЛЯ ВЫСКАКИВАЮЩИХ ОКОН   ***/
#pun_wrap #post .container[id$="-area"] {max-height:264px; overflow:auto;}
#pun_wrap #post .container[id$="-area"], #video-area-tinp, #image-area-tinp, .pun-modal .modal-inner, .inner, #post-sig .container[id$="-area"] {
    max-height: 264px;
    overflow: auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border: none !important;
    background: var(--color-light3);
}



/***   МОДЕРАТОРСКОЕ МЕНЮ - ПОЛЯ ВВОДА   ***/
.punbb optgroup, .punbb select, .punbb input {
    padding: 2px 10px;
    outline: none;
    border: none;
    color: var(--color-dark2);
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Cornerita';
    background: rgb(189 189 189);
    box-shadow: rgb(124 124 124 / 19%) 0px 0px 10px 1px inset;
    margin: 5px 0 !important;
    letter-spacing: 0.5px;
    display: inline-block;
}
#mod-options {
    margin-top: 134px !important;
    width: 20px;
}

.required label, .inputfield label {
    /* color: var(--color-violet3); */
    font-size: 14px;
    font-family: 'Cornerita';
    margin: 10px 0 0 0 !important;
    display: inline-block;
}

input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: rgb(164 164 164 / 45%) !important;
    color: fieldtext !important;
}

/***   ТЕЛО ПОСТА ТЕКСТ   ***/
.post-box {text-align: justify; }
.punbb .post-content p {font-size: 1.1em; }

.var .punbb .post-content p {color: var(--color-dark2);}



/***   КНОПКИ   ***/
#viewprofile-next #pa-edit a, 
.input[class="button"], 
.input[type="button"], 
.punbb .formsubmit input, 
#reputationButtonSend.button, 
#reputationButtonCancel.button, 
.punbb .formsubmit a, 
.punbb .formsubmit span, 
.punbb optgroup, 
input[class="button submit"], 
input[type="button"], 
input[type="submit"], 
.button {
    padding: 8px 16px;
    border-left: 2px solid var(--sand-base);
    font-weight: 700 !important;
    font-size: 11px !important;
    background: linear-gradient(90deg, rgba(233, 203, 142, 0.2), transparent);
    box-shadow: 0 0 10px rgba(233, 203, 142, 0.2);
    color: var(--sand-base);
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    font-family: 'MTSans';
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease !important;
}

/***   КНОПКИ ПРИ НАВЕДЕНИИ   ***/
#viewprofile-next #pa-edit a:hover, 
.input[class="button"]:hover, 
.input[type="button"]:hover, 
.punbb .formsubmit input:hover, 
.punbb .formsubmit a:hover, 
.punbb .formsubmit span:hover, 
#reputationButtonSend.button:hover, 
#reputationButtonCancel.button:hover, 
.punbb optgroup:hover, 
input[class="button submit"]:hover, 
input[type="button"]:hover, 
input[type="submit"]:hover, 
.button:hover {
    color: var(--spice-glow);
    box-shadow: var(--holy-glow);
    border-left: 2px solid var(--spice-glow);
    cursor: pointer;
}


/* Принудительно показываем никнеймы в топике */
#topic-users-in .container {
    color: var(--text-secondary) !important;
    font-family: Cornerita, sans-serif;
    text-align: center !important;
    border-radius: 0;
    margin: 5px;
    background: rgba(26, 21, 16, 0.6);
    backdrop-filter: blur(15px);
    border-left: 3px solid var(--bronze-main);
    border-right: 3px solid var(--bronze-main);
}
.atr #topic-users-in .container {
    color: var(--color-grey1) !important;
    background: var(--back-cat);
    border-left: 3px solid var(--color-light1);
    border-right: 3px solid var(--color-light1);
}

#topic-users-in, 
#topic-users-in a,
#topic-users-in span,
#topic-users-in a:after {
    font-size: 12px !important;
    display: contents;
    /* position: static !important; */
    /* left: auto !important; */
    /* width: auto !important; */
    /* height: auto !important; */
    /* overflow: visible !important; */
  margin-left: auto;
}

#topic-users-in {
  letter-spacing: 0.5px;
  margin: 10px 0;
}

#topic-users-in span {
  font-weight: normal !important;
}

/***   ЦВЕТНОЙ СКРОЛЛ   ***/
*::-webkit-scrollbar {
width:5px;
height:5px;
background: rgba(0,0,0, 0.1);
}
*::-webkit-scrollbar-thumb {
background: var( --color-grey1);
}
*::-webkit-scrollbar-corner {background: transparent;}

/* Модальное окно для быстрого редактирования доп.полей @Legoon */
#profileInfoModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
}
#profileInfoModal .modal-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1000px!important;
    height: 85vh;
    background: #050505;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#profileInfoModal .modal-header {
    padding: 7px 16px 0px 16px;
    background: #050505!important;
    font-weight: bold;
    color: #b1b1b1!important;
    text-align: center;
}
#profileInfoModal .modal-close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    color: #b1b1b1!important;
    margin-top: -6px;
    margin-bottom: 2px;
}
#profileInfoModal .modal-body {
    flex: 1;
    overflow: hidden;
}
#profileInfoModal iframe {
    width: 100%;
    height: 100%;
    border: none;
}




/* Очередь постов в шапке */

.tab-news {
    width: 294px;
    border: 1px solid #41414130;
    border-radius: 10px;
    position: absolute;
    z-index: 9;
    top: -235px;
    right: -110px;
    backdrop-filter: blur(39px);
    height: 140px;
    box-shadow: -1px -1px 10px #00000069;
}

.tab-news div {
    text-transform: none;
    font-family: var(--main-font);
    margin: 15px;
    display: flex;
    gap: 10px;
    overflow-y: auto;
    flex-direction: column;
    height: 113px;
    color: #ffffff;
}

.tab-news a:not(:last-child) {
    border-bottom: 1px dashed #414141;
    margin: 0 10px 0 0;
    padding-bottom: 9px;
}

.tab-news a {
    color: var(--navi-link);
    text-decoration: none;
    font-size: 10px;
    transition: color 0.2s;
    cursor: pointer;
}

.tab-news div::-webkit-scrollbar {
    width: 4px;
}

.tab-news div::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.tab-news div::-webkit-scrollbar-thumb {
    background: #414141;
    border-radius: 5px;
}

.tab-news div::-webkit-scrollbar-thumb:hover {
    background: #666;
}



/* === Стиль для текста из [mark] === */
.post-content .highlight-text {
    background-color: var(--color-violet3) !important;
    color: #ffffff !important;
    padding: 2px 4px;
    border-radius: 5px;
}

/* Обычное имя (чужая очередь) */
.tab-news .topic-mark {
    color: #bbbbbb;
}

/* Ваша очередь */
.tab-news .topic-mark-my-turn {
    color: #e24444; 
    font-weight: bold;
    text-shadow: 0 0 5px rgb(255 32 32);
    animation: pulse-my-turn 2s infinite;
}

@keyframes pulse-my-turn {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.tab-news .loading {
    color: #666;
    font-style: italic;
}


/*Навигация*/
.accordion {
    position: absolute;
    z-index: 9;
    top: -109px;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0;
    border-radius: 0;
    display: flex;
    height: 27px;
    justify-content: center;
    align-items: center;
    width: 154px;

}
.accordion-btn {
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    color: #fff;
    padding: 6px 10px 4px;
    border-radius: 7px;
    font-family: math;
    box-shadow: 5px 5px 10px #16121040;
    font-size: 12px;
    font-style: normal;
    background: linear-gradient(to right, #252525, #353535b5);
}
.accordion-btn.active {
    background-position-x: 100%;
}
/* Контейнер меню */
.accordion-content {
    display: none;
    
    /* Изначально: Черный фон, чтобы сливаться с темнотой */
    background: #00000000; 
    border-radius: 7px;
    position: absolute;
    top: -109px;
    width: 250px;
    z-index: 9999999;
    left: 50%;
    
    /* Изначально: Черные или прозрачные границы, чтобы не было видно каркаса */
    border: 1px solid #00000000; 
    box-shadow: none; /* Убираем тени, чтобы не выдавать присутствие */
    
    transform: translateX(-50%);
    overflow: hidden;
    
    /* Переменные для фонарика */
    --x: 0px;
    --y: 0px;
    
    /* Плавное появление самой карточки при открытии */
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* Слой "Фонарик" (подсветка от курсора) */
.accordion-content::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    /* Градиент: центр светлый, края черные */
    background: radial-gradient(
        180px circle at var(--x) var(--y), 
        rgba(226, 213, 183, 0.15) 0%, /* Золотистое свечение в центре */
        rgba(0, 0, 0, 0.95) 100%      /* Почти черные края */
    );
    
    pointer-events: none;
    z-index: 1;
    opacity: 0; /* Изначально скрыт */
    transition: opacity 0.4s ease;
}

.accordion-content.active {display: block;}
.content-grid {
    padding: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: space-between;
}


/* === ЭФФЕКТ ПРИ НАВЕДЕНИИ НА КАРТОЧКУ === */

/* 1. Включаем фонарик */
.accordion-content:hover::before {
    opacity: 1;
}

/* 2. Меняем бордеры на яркие (золотые) */
.accordion-content:hover {
    background: #111111; /* Фон становится чуть светлее черного, но все еще темным */
}

/* Ссылки внутри меню */
.menu-link {
    text-align: center;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: var(--main-font);
    display: flex;
    justify-content: center;
    font-size: 11px;
    flex: auto;
    text-transform: none;
    
    /* Изначально: Черный текст и черные рамки (невидимые) */
    color: #1a1a1a00 !important;
    border: 1px solid #1a1a1a00;
    background: transparent;
    
    position: relative;
    z-index: 2; /* Поверх слоя затемнения */
    transition: all 0.4s ease;
}

/* При наведении на КАРТОЧКУ, ссылки становятся видимыми (серыми/белыми) */
.accordion-content:hover .menu-link {
    color: #9f9f9f !important; /* Обычный цвет текста */
    border-color: #414141; /* Обычный цвет рамок */
}

/* При наведении на КОНКРЕТНУЮ ссылку */
.menu-link:hover {
    color: #ffffff !important; /* Белый текст */
    background: rgba(226, 213, 183, 0.1); /* Легкий золотой фон */
}



