/*************************************************************
CODE STRUCTURE BY BLANCHE
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/

@import url(style_cs.1780688326.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: #c4905b;
    --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: #bfaf94;
    --text-secondary: #8b7f6b;
    
    /* === ТЕКСТУРЫ === */
    --texture-url: url(https://forumstatic.ru/files/001c/b3/2a/99018.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/13430.png);
    --heading-texture: url(https://forumstatic.ru/files/001c/b3/2a/41324.jpg);
    --icon-mask: url(https://forumstatic.ru/files/001c/b3/2a/29277.svg);
    --author-bg: url(https://forumstatic.ru/files/001c/b3/2a/16201.jpg);
    --banner-bg: url(https://forumstatic.ru/files/001c/b3/2a/31513.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: linear-gradient(to bottom, #543f235e, #27242000);
    position: relative;
    padding: 5px;
    height: 30px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
    /* border: 1px solid #86786682; */
    /* border-bottom: none !important; */
    border-top: 1px solid var(--bronze-main);
}

#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(--text-primary);
}

#form-buttons td {
  font: 500 15px var(--mat);
  background-image: none !important;
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
    background: #373431;
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Cornerita';
    text-transform: lowercase;
    font-weight: 400;
    font-size: 14px;
}

#plng b,
#form-buttons td:hover {
  color: var(--spice-glow);
}

#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: "\ea66";
}

#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;
}



/*фоны в выпадающих списках в редактировании подписи */
div#font-area.container {
    background: var(--color-dark1) !important;
    width: 600px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px!important;
    top: 45px !important;
}
div#size-area.container {
    background: aliceblue;
    background: var(--color-dark1) !important;
    width: 50px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
    top: 45px !important;
}
div#image-area.container {
    background: var(--color-dark1) !important;
    width: 500px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
    top: 45px !important;
}
div#video-area.container {
    background: var(--color-dark1) !important;
    width: 300px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
    top: 45px !important;
}
div#color-area.container {
    background: var(--color-dark1) !important;
    width: 330px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
    top: 45px !important;
}
div#table-area.container {
    width: 220px !important;
    top: 45px !important
}
div#addition-area.container {
    background: var(--color-dark1) !important;
    width: 200px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
    top: 45px !important;
}
#color-area td img, #table-area td img {
    width: 20px;
    height: 20px;
    cursor: pointer !important;
}


/* 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%; font-size: 14px;}

/* 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-family: 'MTSans'!important;
    font-weight: 400!important;
    color: var(--bronze-main) !important;
    background: #302923c7!important;
    border-bottom: 1px solid var(--bronze-dark) !important;
    border-top: 1px solid var(--bronze-dark) !important;
}

/* 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: 400px auto 130px auto;
    padding: 0px 32px;
    position: relative;
    box-sizing: border-box;
    border-radius: 25px;
    outline-offset: 20px;
    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: 30%;
    margin: 10px auto;
    border-top: 1px solid var(--bronze-dark);
    text-align: right;
}


.atr .punbb .post-sig dt {
    border-top: 1px solid var(--color-grey-light);
}



/* 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;

}
.punbb .quote-box, .punbb .code-box, .punbb .hide-box {
    -webkit-appearance: none;
    background: linear-gradient(180deg, rgb(83 72 56), rgb(32 32 32));
    border-left: 2px solid var(--spice-glow);
    border-radius: 10px;
}

.post-content hr {
    border: 1px solid var(--text-secondary)!important;
}

/* B1.9 */
/***   ИМЯ ПОЛЬЗОВАТЕЛЯ В ЦИТАТЕ И КОДЕ   ***/
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: block;
    margin: auto auto 8px auto;
    padding: .5em 1.05em;
    font-weight: 600;
    font-style: normal;
    font-size: 1.1em;
    text-align: left;
    font-size: 12px;
    background: #373431;
    border-radius: 5px;
}



.atr .punbb .quote-box cite, .atr .punbb .code-box strong.legend {
    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-bottom: -20px;
    padding: 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: 0em 1em 5px 1em;
    border-left: 2px solid var(--bronze-main);
    border-radius: 10px;
    background: linear-gradient(to right, #543f235e, #27242000, #27242000) !important;
    margin-bottom: 12px;
}
#profile.formal.messages-container #post-form > .fs-box, #profile.formal.messages-container form#post .fs-box, #profile.formal.messages-container > .container > fieldset > .fs-box, #profile.formal.messages-container #messages fieldset > .fs-box, .fs-box.hashelp  {
    border: none !important;
    background: transparent !important;
}
/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
    padding: 5px 0;
}

/* 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: 38% !important;
    vertical-align: middle;
    text-align: left;
    padding: 0 20px;
    color: var(--text-secondary);
    font-family: 'MTSans';
}
#pun-online .main .tcl {padding: 6px 0 6px 30px; text-align: left; font-family: 'MTSans';}


/* C2.2 */
.punbb .main .tc3, .punbb .main .tc2, .punbb .main .tcmod {
    text-align: center;
    vertical-align: top !important;
    color: var(--text-secondary);
    width: 15%;
    /* opacity: .7; */
    font-family: 'MTSans', sans-serif;
}
#profile10 .tcr input {
    width: 90%!important;
}
.select-file {
    margin-top: 20px!important;
    padding: 10px 0;
}

.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: 12px;
    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;font-family: 'MTSans';}

/* 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);
    font-family: 'Cornerita', sans-serif;
    margin: 10px 0 27px 0;
    border-radius: 5px;
    border-bottom: 1px solid var(--bronze-main);
    background: linear-gradient(to top, #543f235e, #27242000);
}

.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: 2em 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 0em}
#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: 40px; 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: 21em;
  font-family: 'MTSans';
  }

/* C6.2 - Убираем display: inline (он ломает высоту), добавляем clear */
#profilenav {
  float: left;
  width: 13em;
  margin-left: -19.5em;
  margin-top: 60px;
}

/* C6.3 */
#profilenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}
#profilenav li a {
  display: block;     
  text-decoration: none; 
}

/* C6.4 */
#viewprofile ul, #profilenav ul { }

/* C6.5  */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 14px 0.5em 14px;
}

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 30px 0px 0 10px;
  position: relative;
  display: inline-block;
}

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  clear: both;          
  overflow: hidden;     
}

/* C6.8 */
#viewprofile li span {
    float: left;
    width: 14em;
    margin-left: -16em;
    padding: 0.5em 1em;
    font-weight: 600;
    font-family: 'MTSans', sans-serif;
    font-size: 14px;
}

/*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: 1em 0 3em 3em;
    border-radius: 10px;
    border-left: 2px solid var(--bronze-main);
}
  
/* 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-top: 10px !important; vertical-align: middle !important;}


/*****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,
#pun_wrap,
.punbb,
#pun-title,
#pun-title .container {
  overflow: visible !important;
}

#pun-title {
  position: relative;
  height: 205px;
  margin: 0;
  border: none;
  z-index: 0;
}

#pun-title h1 {
  display: none;
}

#pun-title .container {
  border: none;
}

#pun-title table {
  border: none;
  height: 100px;
  background: none;
  margin-top: -180px !important;
  margin-bottom: 60px;
  margin-left: 0;
  position: relative;
  z-index: 2;
}

#pun-title td.title-logo-tdl {
  border: none;
  width: 100%;
}

/* ===== ОСНОВНОЙ МЕТАЛЛ ===== */

#pun-title::before {
  content: "";
  position: absolute;

  left: 50%;
  top: -90px;

  width: 573px;
  height: 147px;

  background: linear-gradient(
    110deg,
    #1f140d 0%,
    #6e4422 18%,
    #c08a4a 36%,
    #fff1bd 50%,
    #b87436 64%,
    #4a2b18 82%,
    #1f140d 100%
  );

  background-size: 320% 100%;

  mask: url("https://forumstatic.ru/files/001c/b3/2a/77055.svg") center / contain no-repeat;
  -webkit-mask: url("https://forumstatic.ru/files/001c/b3/2a/77055.svg") center / contain no-repeat;

  opacity: 0;

  transform:
    translateX(-50%)
    scale(0.97);

  animation:
    duneLayerReveal 2.4s ease-out forwards,
    duneFlowSeamless 60s linear infinite 0s;

  z-index: 3;
}

/* ===== МЯГКОЕ СВЕЧЕНИЕ ===== */

.dune-glow-shell {
  position: absolute;

  left: 50%;
  top: -90px;

  width: 573px;
  height: 147px;

  transform:
    translateX(-50%)
    scale(0.97);

  pointer-events: none;

  z-index: 2;

  filter:
    blur(4px)
    drop-shadow(0 0 5px rgba(255, 238, 185, 0.42))
    drop-shadow(0 0 10px rgba(255, 176, 78, 0.22));

  opacity: 0;

  animation:
    duneGlowReveal 2.4s ease-out forwards,
    duneGlowShellOpacity 60s linear infinite 0s;
}

.dune-glow-inner {
  width: 100%;
  height: 100%;

  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 46%,
    rgba(255, 232, 170, 0.25) 49%,
    rgba(255, 250, 220, 0.8) 50%,
    rgba(255, 204, 120, 0.25) 51%,
    transparent 54%,
    transparent 100%
  );

  background-size: 320% 100%;

  mask: url("https://forumstatic.ru/files/001c/b3/2a/37508.svg?v=1") center / contain no-repeat;
  -webkit-mask: url("https://forumstatic.ru/files/001c/b3/2a/37508.svg?v=1") center / contain no-repeat;

  animation:
    duneFlowSeamless 60s linear infinite 0s;
}

/* ===== ПЕСЧИНКИ ===== */

.dune-particles {
  position: absolute;

  left: 50%;
  top: -75px;

  width: 573px;
  height: 147px;

  transform: translateX(-50%);

  pointer-events: none;

  z-index: 5;
}

.dune-particle {
  position: absolute;

  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: rgba(255, 214, 132, 0.9);

  box-shadow:
    0 0 6px rgba(255, 210, 120, 0.65),
    0 0 14px rgba(255, 140, 50, 0.35);

  opacity: 0;

  animation:
    duneParticleFly 2.6s ease-out forwards;
}

/* ===== РЕВОЛЮЦИЯ ===== */

.dune-revolution {
  position: absolute;

  left: 50%;
  top: 30px;

  width: 220px;
  height: 52px;

  transform:
    translateX(-50%)
    translateY(18px);

  opacity: 0;

  background:
    url("https://forumstatic.ru/files/001c/b3/2a/22279.svg?v=1")
    center / contain no-repeat;

  animation:
    duneRevolutionReveal 2.2s ease-out forwards;

  animation-delay: 2.2s;

  pointer-events: none;

  z-index: 8;

  filter:
    brightness(0)
    saturate(100%)
    invert(84%)
    sepia(27%)
    saturate(619%)
    hue-rotate(331deg)
    brightness(101%)
    contrast(94%)

    drop-shadow(0 0 8px rgba(246, 191, 144, 0.18));
}

/* ===== АНИМАЦИИ ===== */

@keyframes duneLayerReveal {

  0% {
    opacity: 0;

    transform:
      translateX(-50%)
      translateY(0px)
      scale(0.97);

    filter: blur(8px);
  }

  100% {
    opacity: 1;

    transform:
      translateX(-50%)
      translateY(0)
      scale(1);

    filter: blur(0);
  }
}

@keyframes duneGlowReveal {

  0% {
    opacity: 0;

    transform:
      translateX(-50%)
      translateY(0px)
      scale(0.97);
  }

  100% {
    opacity: 0.9;

    transform:
      translateX(-50%)
      translateY(0)
      scale(1);
  }
}

/* ПЛАВНЫЙ ПЕРЕЛИВ */

@keyframes duneFlowSeamless {

  0% {
    background-position: 120% 50%;
  }

  100% {
    background-position: -120% 50%;
  }
}

@keyframes duneGlowShellOpacity {

  0%, 100% {
    opacity: 0.35;
  }

  48%, 52% {
    opacity: 0.85;
  }
}

@keyframes duneParticleFly {

  0% {
    opacity: 0;

    transform:
      translate(0,0)
      scale(0.4);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;

    transform:
      translate(var(--dx), var(--dy))
      scale(var(--s));
  }
}

/* ПОЯВЛЕНИЕ РЕВОЛЮЦИИ */

@keyframes duneRevolutionReveal {

  0% {
    opacity: 0;

    transform:
      translateX(-50%)
      translateY(18px);

    filter:
      blur(6px)
      brightness(0)
      saturate(100%)
      invert(84%)
      sepia(27%)
      saturate(619%)
      hue-rotate(331deg)
      brightness(101%)
      contrast(94%);
  }

  100% {
    opacity: .5;

    transform:
      translateX(-50%)
      translateY(0);

    filter:
      blur(0)
      brightness(0)
      saturate(100%)
      invert(84%)
      sepia(27%)
      saturate(619%)
      hue-rotate(331deg)
      brightness(101%)
      contrast(94%)

      drop-shadow(0 0 8px rgba(246, 191, 144, 0.18));
  }
}








/* 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: fixed;
    left: 50%;
    margin-left: -800px;
    width: 1600px;
    height: 37px;
    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: -426px !important;
    background: var(--nav-bg) 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 {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 15px; 
    opacity: 0; /* Скрыто до срабатывания скрипта */
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    font-size: 11px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 400;
    z-index: 10;
    width: 460px;
    height: 22px;
    padding-top: 11px;    
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border: 1px solid #40362a;
    box-shadow: inset 0px -11px 11px 0 #00000038;
    background: var(--heading-texture) center center repeat, #252525; 

    /* Разделяем анимации: медленное появление + быстрый выезд/ховер */
    transition: opacity var(--fade-time) ease-out, top 0.5s ease;
    transition-delay: 0.4s; /* Твоя задержка появления */
    will-change: opacity, top;
}

/* Состояние после скрипта */
#pun-ulinks .container.fade-ready {
    opacity: 1; /* Базовая прозрачность */
    top: 20px;    /* Финальная позиция */
}

/* &#65039; Наведение (реактивное, без задержки) */
#pun-ulinks .container.fade-ready:hover {
    opacity: 1;
    top: 30px;
    transition: opacity 0.4s ease, top 0.4s ease;
    transition-delay: 0s; /* Мгновенная реакция на курсор */
}



/* 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 {    
    margin-bottom: -30px;
    margin-top: -1em;
    border-bottom: none;
}


/* D5 ПРИВЕТСТВИЕ */
/* D5.1 */
/* Сброс контейнера */
#pun-status .container {
    margin-top: -6em;
    margin-bottom: 1em;
    border-bottom: none;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* &#128221; Блок приветствия (строго по центру) */
.pun-greeting-wrap {
    width: 100%;
    text-align: center !important;
}

.pun-greeting-wrap span {
    color: var(--bronze-main);
    text-transform: lowercase;
    font-family: 'Cornerita';
    font-size: 10px !important;
    white-space: normal;
    display: inline-block;
    letter-spacing: 3px;
}

/* отступ для аватара */
span.item2 {
    margin-left: 10px;
}

/* &#128279; Блок иконок (под приветствием, справа, в одну строку) */
.pun-icons-wrap {
    width: 100%;
    text-align: right;
    margin-top: 25px;
    white-space: nowrap;
}

.pun-icons-wrap .status-right {
    float: right;
    font-size: 0 !important;
    padding: 0 10px;
    display: inline-block;
}

/* &#127787;&#65039; СКРЫВАЕМ ВСЁ ИЗНАЧАЛЬНО */
/* Скрываем спаны в контейнере ДО выполнения скрипта */
#pun-status .container > span,
#pun-status .container > div:not(.pun-greeting-wrap):not(.pun-icons-wrap) {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Скрываем спаны в обёртке ДО добавления класса fade-ready */
.pun-greeting-wrap span {
    opacity: 0;
    transition: opacity 1s ease-out;
}

/* &#9989; ПОКАЗЫВАЕМ ТОЛЬКО ПОСЛЕ ВЫПОЛНЕНИЯ СКРИПТА */
.pun-greeting-wrap.fade-ready span {
    opacity: 1;
}


/* D5.4 */
#pun-crumbs1 {
margin-top: 0;
overflow: hidden;
font-size: 1em;
font-family: Verdana, serif;
}

/* D5.5 */
#pun-crumbs1 p.container {
    padding: 2em 1em 0 1em;
    border-top: none;
    color: var(--bronze-main);
    font-family: 'Cornerita', sans-serif;
    font-size: 12px !important;
    margin-top: -4px !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 30px 0;
    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;
    font-family: 'MTSans';
}

.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: "\f70e"; /* Закрыт */
    font: 400 14px/1 'Material Symbols Outlined', sans-serif;
    color: var( --spice-glow)!important;
    margin-right: 16px;
    display: inline-block;
    vertical-align: middle;
}

/* Иконка открытого спойлера */
.post-content .spoiler-box > div.visible::before {
    content: "\f71a"; /* Открыт */
}

/***   ГРАНИЦЫ ТАБЛИЧЕК   ***/
.punbb .post-content td {border: 0px none transparent !important; padding: 0.0em 0.5em 0.4em 0.5em !important;}

#filetable tr.selected td {
    background-color: #52473d!important;
}
#pun-admain .adcontainer th {
    border-color: transparent!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-dark1);
}

.atr #pun_wrap #post .container[id$="-area"], .atr #video-area-tinp, .atr #image-area-tinp, .atr .pun-modal .modal-inner, .atr .inner, #post-sig .container[id$="-area"] {
    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(134 120 102);
    box-shadow: rgb(30 30 30 / 19%) 0px 0px 10px 1px inset;
    margin: 5px 0 !important;
    letter-spacing: 0.5px;
    display: inline-block;
}
.atr .punbb optgroup, .atr .punbb select, .atr .punbb input {
    background: rgb(189 189 189);
    box-shadow: rgb(124 124 124 / 19%) 0px 0px 10px 1px inset;
}
#mod-options {
    margin-top: 134px !important;
    width: 20px;
}

.required label, .inputfield label {
    font-size: 14px;
    font-family: 'MTSans';
    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, #episode-complete-btn, .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!important;
    border-left: 2px solid var(--color-gold1) !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    box-shadow: 0 0 10px rgb(75 69 55 / 20%)!important;
    color: var(--color-gold1) !important;
    font-family: 'MTSans'!important;
    text-transform: uppercase!important;
    letter-spacing: 0.05em;
    transition: all 0.3s ease !important;
    border-radius: 6px!important;
    margin: 10px 5px !important;
    cursor: default!important;
    backdrop-filter: blur(20px)!important;
    background: linear-gradient(to top left, #201e1c, #513d21, #2d261d) !important;
}

/***   КНОПКИ ПРИ НАВЕДЕНИИ   ***/
#episode-complete-btn:hover, #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)!important;
    background: linear-gradient(to top left, #201e1c, #654d2a, #2d261d)!important;
    border-left: 2px solid var(--spice-glow)!important;
    cursor: pointer!important;
    transform: translateY(-2px)!important;
    text-shadow: 1px 1px 5px var(--spice-glow)!important;
}


/* Принудительно показываем никнеймы в топике */
#topic-users-in .container {
    color: var(--text-secondary) !important;
    font-family: Cornerita, sans-serif;
    text-align: center !important;
    margin: 0px 5px 20px 5px;
    border-radius: 5px;
    border-bottom: 1px solid var(--bronze-main);
    background: linear-gradient(to top, #543f235e, #27242000);
}
.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: #00000000;
}
*::-webkit-scrollbar-thumb {
background: var( --bronze-dark);
}
*::-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;
    text-align: center;
}
#profileInfoModal .modal-close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    margin-top: -6px;
    margin-bottom: 2px;
}
#profileInfoModal .modal-body {
    flex: 1;
    overflow: hidden;
}
#profileInfoModal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.post-links .pl-info a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 5px;   
    padding: 2px 5px!important;
    margin-top:-12px !important;
    margin-right:-6px;
    text-decoration: none !important;
    position: relative !important;
    vertical-align: middle !important;
}

.post-links .pl-info a::after {
    content: "настройки профиля" !important;
}

.post-links .pl-info a::before {
    content: "\f835" !important; 
    font: 400 var(--icon-size)/1 'Material Symbols Outlined', sans-serif; 
    color: var(--icon-color) !important; 
}





/* =========================
   НАВИГАЦИЯ Фонарик © Legion
========================= */
.accordion {
    position: fixed; top: 209px; z-index: 9;
    font-family: 'Dune Rise'; text-transform: uppercase; font-size: 11px;
    width: 250px; color: #a67c52ab;
}
.accordion-content {
    display: block !important; background: #00000000; border-radius: 10px;
    position: absolute; top: -150px; left: -160px; width: 150px;
    z-index: 9999999; border: 1px solid transparent; box-shadow: none;
    transform: translateX(-50%); overflow: hidden; --x: 50%; --y: 50%;
    color: transparent !important;
    transition: border-color 0.9s ease, box-shadow 0.9s ease, background 0.9s ease;
}
.content-grid { padding: 30px 10px 10px 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: space-between; position: relative; z-index: 2; }
.menu-link {
    text-align: center; padding: 4px 6px 3px; border-radius: 4px;
    font-family: 'Cornerita'; display: flex; justify-content: center; font-size: 12px;
    flex: auto; text-transform: lowercase; 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: var(--text-secondary)!important; border-color: rgb(115 99 83 / 40%); }
.menu-link:hover { color: var(--spice-glow); background: rgba(226, 213, 183, 0.1); border-color: rgba(223,163,102,.4); }
.accordion-content.active { display: block !important; }

/* Заголовок навигации */
.nav-header {
    display: block;
    margin-top: 10px !important;
    font-size: 11px;
    color: #a67c52ab;
    text-transform: uppercase;
    position: fixed;
    z-index: 2;
    font-family: 'Dune Rise';
    letter-spacing: 0.05em;
    text-align: center;
    width: 150px;       
    left: 50%;
    transform: translateX(-50%);
}

/* =========================
   ОБЩИЕ БАЗОВЫЕ СТИЛИ (ОПТИМИЗИРОВАНО)
========================= */
/* Обёртки */
.accordion-quests { position: fixed; top: 209px; z-index: 9; width: 250px; }
.accordion-admins, .accordion-news { position: relative; top: -70px; z-index: 9; width: 150px; }
.accordion-quests, .accordion-admins, .accordion-news {
    font-family: 'Dune Rise'; text-transform: uppercase; font-size: 11px; color: #a67c5200;
}

/* Базовые стили карточек */
.accordion-content-quests, .accordion-content-admins, .accordion-content-news {
    display: block !important; background: #00000000; border-radius: 10px;
    position: absolute; top: -150px; z-index: 9999999;
    border: 1px solid transparent; box-shadow: none;
    transform: translateX(-50%); overflow: hidden; --x: 50%; --y: 50%;
    color: transparent !important;
    transition: border-color 0.9s ease, box-shadow 0.9s ease, background 0.9s ease;
}
.accordion-content-quests { left: 1156px; width: 150px; height: 170px; }
.accordion-content-admins { left: 950px; width: 200px; height: 170px; }
.accordion-content-news { left: 50px; width: 200px; height: 170px; }

/* &#128294; Фонарик (общий для всех) */
.accordion-content::before, .accordion-content-quests::before, 
.accordion-content-admins::before, .accordion-content-news::before {
    content: ""; position: absolute; inset: 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:hover::before, .accordion-content-quests:hover::before, 
.accordion-content-admins:hover::before, .accordion-content-news:hover::before { opacity: 1; }

/* Ховер карточек */
.accordion-content:hover, .accordion-content-quests:hover, 
.accordion-content-admins:hover, .accordion-content-news:hover {
    background: #050606; border-color: rgb(223 163 102 / 25%);
    box-shadow: 0 0 14px rgba(223,163,102,.08), -1px -1px 10px #00000069;
}

/* =========================
   ОЧЕРЕДЬ В КВЕСТАХ + ПОДСВЕТКА ИМЁН
========================= */
.content-grid-quests {
    padding: 10px; margin-top: 30px; display: flex; flex-direction: column; gap: 10px;
    overflow-y: auto; height: 110px; position: relative; z-index: 2; color: #ffffff00; text-transform: none;
}
.content-grid-quests::-webkit-scrollbar { width: 4px; }
.content-grid-quests::-webkit-scrollbar-track { background: transparent; border-radius: 5px; }
.content-grid-quests::-webkit-scrollbar-thumb { background: #070909ab; border-radius: 5px; transition: background 0.2s ease; }
.content-grid-quests::-webkit-scrollbar-thumb:hover { background: rgb(223 163 102 / 25%); }

.quest-link {
    color: transparent!important; text-decoration: none; font-size: 12px!important; font-family: 'Cornerita';
    transition: color 0.2s ease; position: relative; z-index: 2; padding-bottom: 7px; border-bottom: 1px solid transparent;
}
.quest-link:last-child { border-bottom: none; padding-bottom: 0; }
.accordion-content-quests:hover .quest-link { color: var(--text-secondary)!important; border-bottom: 1px solid rgb(223 163 102 / 25%); }
.quest-link:hover { color: var(--spice-glow); }

.quests-header { display: block; margin-top: -30px!important; font-size: 11px; color: #a67c52ab; text-transform: uppercase; position: fixed; z-index: 2; }

.content-grid-quests .topic-text { color: var(--navi-link); font-size: 12px; transition: color 0.2s ease; }
.content-grid-quests .topic-mark { color: transparent; font-weight: 400; transition: color 0.2s ease, text-shadow 0.2s ease; }
.content-grid-quests .topic-mark-my-turn {
    color: var(--spice-glow) !important; font-weight: 600;
    text-shadow: 0 0 6px rgba(223,163,102,.6), 0 0 14px rgba(223,163,102,.3);
    animation: spicePulse 2.5s ease-in-out infinite;
}
@keyframes spicePulse {
    0%, 100% { text-shadow: 0 0 6px rgba(223,163,102,.6), 0 0 14px rgba(223,163,102,.3); }
    50% { text-shadow: 0 0 10px rgba(223,163,102,.9), 0 0 22px rgba(223,163,102,.5), 0 0 35px rgba(223,163,102,.25); }
}
.accordion-content-quests:hover .topic-mark { color: var(--bronze-main); }
.accordion-content-quests:hover .topic-mark-my-turn { color: var(--spice-glow) !important; text-shadow: 0 0 8px rgba(223,163,102,.8), 0 0 18px rgba(223,163,102,.45); }
.content-grid-quests .topic-mark + .topic-mark::before, .content-grid-quests .topic-mark-my-turn + .topic-mark::before, .content-grid-quests .topic-mark + .topic-mark-my-turn::before { content: " / "; color: rgba(223,163,102,.3); margin: 0 2px; }
.post-content .highlight-text { background-color: var(--color-violet3) !important; color: #ffffff !important; padding: 2px 4px; border-radius: 5px; }

/* =========================
   АДМИНЫ
========================= */
.content-grid-admins {
    padding: 10px; margin-top: 0; display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: start; gap: 0 8px; height: auto; overflow: visible;
    position: relative; z-index: 2; color: #ffffff00; text-transform: none;
}
.content-grid-admins::after {
    content: ""; grid-column: 2; grid-row: 1 / span 2; width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(223,163,102,.25), transparent);
    align-self: stretch; margin: 4px 0; opacity: 0; transition: opacity 0.4s ease;
}
.accordion-content-admins:hover .content-grid-admins::after { opacity: 1; }

.admin-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 2px; }
.admin-avatar {
    width: 35px; height: 35px; border-radius: 50px; object-fit: cover; border: 2px solid #aa8862;
    background: #111; display: block; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.4s ease; opacity: 0;
}
.accordion-content-admins:hover .admin-avatar { opacity: 1; transform: scale(1.08); box-shadow: 0 0 14px rgba(170, 136, 98, .5); border-color: #c9a37a; }

.admin-name {
    display: block; margin-top: 19px; font-family: 'Dune Rise'; font-size: 13px; font-weight: 500;
    color: transparent !important; text-decoration: none; text-transform: uppercase;
    letter-spacing: 0.04em; transition: color 0.2s ease, text-shadow 0.2s ease;
}
.accordion-content-admins:hover .admin-name { color: var(--text-secondary) !important; }
.admin-name:hover { color: var(--spice-glow) !important; text-shadow: 0 0 9px rgba(223,163,102,.45); }

.admin-role {
    display: block; margin-top: 3px; font-family: 'Cornerita'; font-size: 12px;
    color: transparent; text-transform: lowercase; letter-spacing: 0.02em; transition: color 0.2s ease;
}
.accordion-content-admins:hover .admin-role { color: rgba(223,163,102,.55); }

.admins-header {
    display: block; margin-top: 135px !important; font-size: 11px; color: #a67c52ab;
    text-transform: uppercase; position: fixed; z-index: 2; font-family: 'Dune Rise';
    letter-spacing: 0.05em; text-align: center; width: 180px; left: 50%; transform: translateX(-50%);
}

/* =========================
   НОВОСТИ
========================= */
.content-grid-news {
    padding: 10px; margin-top: 0; display: flex; flex-direction: column; gap: 8px;
    overflow-y: auto; height: 130px; position: relative; z-index: 2; color: #ffffff00; text-transform: none;
}
.content-grid-news::-webkit-scrollbar { width: 4px; }
.content-grid-news::-webkit-scrollbar-track { background: #00000000; border-radius: 5px; }
.content-grid-news::-webkit-scrollbar-thumb { background: #00000000; border-radius: 5px; transition: background 0.3s ease; }
.accordion-content-news:hover .content-grid-news::-webkit-scrollbar-thumb { background: #070909ab; }
.content-grid-news::-webkit-scrollbar-thumb:hover { background: rgb(223 163 102 / 25%); }

.news-link {
    color: transparent !important; text-decoration: none; font-size: 12px !important; font-family: 'Cornerita';
    transition: color 0.2s ease; position: relative; z-index: 2; padding-bottom: 7px; border-bottom: 1px solid transparent;
}
.news-link:last-child { border-bottom: none; padding-bottom: 0; }
.accordion-content-news:hover .news-link { color: var(--text-secondary) !important; border-bottom-color: rgb(223 163 102 / 25%); }
.news-link:hover { color: var(--spice-glow) !important; }
.accordion-content-news, .accordion-content-news * { pointer-events: auto; }

.news-header {
    display: block; margin-top: -1px !important; font-size: 11px; color: #a67c52ab;
    text-transform: uppercase; position: fixed; z-index: 2; font-family: 'Dune Rise';
    letter-spacing: 0.05em; text-align: center; width: 180px; left: 50%; transform: translateX(-50%);
}


/* =========================
   АКТИВИСТЫ 
========================= */

/* 1. ЯКОРЬ (Родитель) */
.accordion-activists {
    position: relative;
    z-index: 9;
    top: 40px;        
    font-family: 'Dune Rise';
    text-transform: uppercase;
    font-size: 11px;
    width: 150px;
    color: #a67c5200;
}

/* 2. КОНТЕЙНЕР (Ребёнок) — позиционируется абсолютно */
.accordion-content-activists {
    display: block !important;
    background: transparent !important; 
    border: none !important;            
    box-shadow: none !important;        
    
    position: absolute;
    top: -148px;
    left: 503px;           /* &#8592; ПОЗИЦИЯ: ровно между 50px и 950px */
    width: 250px;          /* Ширина зоны (под 3 аватара) */
    height: 80px;          /* Высота зоны */
    z-index: 9999999;
    
    transform: translateX(-50%); /* Центрирование по точке left */
    overflow: visible;           /* Чтобы линия не обрезалась */
    cursor: default!important;
}

/* Контейнер для элементов (flex) */
.content-grid-activists {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 0px;
    height: 100%;
    position: relative;
}

/* Элемент активиста */
.activist-item {
    position: relative;
    width: 60px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Рамка аватара */
.activist-frame {
    position: absolute;
    inset: 0;
    width: 45px;
    height: 45px;
    border-radius: 50px;
    border: 2px solid #aa886224;
    background: transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

/* Картинка аватара (скрыта) */
.activist-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50px;
    object-fit: cover;
    opacity: 0;
    margin-left:-12px!important;
    transition: opacity 0.4s ease, transform 0.3s ease;
}

/* 3. ЛИНИЯ (Отдельный элемент) */
.activists-line {
    position: absolute;
    top: 50%;              /* Вертикально по центру */
    left: 35px;           /* Чуть шире аватаров */
    width: calc(100% - 83px); /* Длина линии */
    height: 3px;           /* Толщина линии */
    background: #aa886224; /* Сплошной цвет (без градиента) */
    transform: translateY(-50%);
    z-index: 3;            /* Поверх рамок */
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* === ЭФФЕКТЫ ПРИ НАВЕДЕНИИ НА ЗОНУ === */

/* Линия исчезает */
.accordion-content-activists:hover .activists-line {
    opacity: 0;
}

/* Рамки загораются */
.accordion-content-activists:hover .activist-frame {
    border-color: #c9a37a;
    box-shadow: 0 0 14px rgba(170, 136, 98, .5);
    transform: scale(1.08);
}

/* Аватары появляются */
.accordion-content-activists:hover .activist-avatar {
    opacity: 1;
    transform: scale(1.05);
    margin-left:-12px!important;
}

/* =========================
   ТУЛТИПЫ АКТИВИСТОВ
========================= */
.activist-item::after {
    content: attr(data-tooltip) !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(calc(-50% - 6px)) translateY(-5px) !important; /* &#8592; ИСПРАВЛЕНО */
    background: #1a1a1a !important;
    color: var(--bronze-main) !important;
    padding: 6px 12px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    font-family: 'Cornerita' !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    z-index: 1000 !important;
    border: 1px solid var(--bronze-main) !important;
    text-transform: lowercase !important;
    letter-spacing: 0.02em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transition-delay: 0.1s !important;
}

.activist-item:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(calc(-50% - 6px)) translateY(-8px) !important; /* &#8592; ИСПРАВЛЕНО */
}

/* =========================
   NC-21 // КОСМОПАНК (текстовый блок)
========================= */

/* Якорь — как у активистов, но выше на 200px */
.accordion-cosmo {
    position: relative;
    z-index: 9;
    top: -335px;           /* 40px + 200px выше активистов */
    font-family: 'Dune Rise';
    text-transform: uppercase;
    font-size: 11px;
    width: 150px;
    color: #9c7a58;
}

/* Контейнер текста — позиционирование как у активистов */
.accordion-content-cosmo {
    display: block !important;
    position: absolute;
    top: 0px;
    left: 480px;           /* тот же центр, что у активистов */
    width: 200px;
    z-index: 9999999;
    transform: translateX(-50%);
    text-align: center;
    cursor: default!important;
    overflow: visible;
}

/* Сам текст */
.cosmo-text {
    display: block;
    font-family: 'Cornerita';
    font-size: 12px;
    text-transform: lowercase;    /* маленькие буквы */
    color: #aa886259;             /* полупрозрачный, как рамки активистов */
    transition: color 0.4s ease, text-shadow 0.4s ease;
    letter-spacing: 0.03em;
    white-space: nowrap;
}



/* ПЛАВНОЕ ПОЯВЛЕНИЕ ЭЛЕМЕНТОВ ШАПКИ */
:root { --fade-time: 3s; }

/* 1. Глобальная группа (исключая #pun-ulinks, чтобы не ломать ховер) */
.news-header, .quests-header, .nav-header, .admins-header, .cosmo-text,
.accordion-activists,
.player-wrapper .controls button, .player-wrapper .marquee, 
.player-wrapper .track, .player-wrapper .volume {
    opacity: 0;
    transition: opacity var(--fade-time) ease-out;
    will-change: opacity;
}

/* 2. Появление глобальной группы */
.news-header.fade-ready, .quests-header.fade-ready, .nav-header.fade-ready, 
.admins-header.fade-ready, .cosmo-text.fade-ready,
.accordion-activists.fade-ready,
.player-wrapper.fade-ready .controls button, .player-wrapper.fade-ready .marquee,
.player-wrapper.fade-ready .track, .player-wrapper.fade-ready .volume {
    opacity: 1;
}

/* 3. Каскадные задержки (остальные элементы) */
.quests-header { transition-delay: 3s; }
.nav-header { transition-delay: 3s; }
.admins-header { transition-delay: 3s; }
.news-header.fade-ready { transition-delay: 3s; }
.cosmo-text { transition-delay: 1s; }
.accordion-activists { transition-delay: 4s; }
.player-wrapper .controls button { transition-delay: 1s; }



/******************************************************************
  Cтиль к скрипту: 
 "Всплываюшая таблица с вкладками, в топике, с инфой о персонаже"
******************************************************************/
/*Стиль иконки в мини-профиле*/
img.a-info{
  padding:2px;
  display:block!important;
  cursor:pointer;
  position:absolute;
  text-align:left!important;
}
/* Затемняющий фон */
#pre-wrap {
 margin:0;
 top:0;bottom:0;
 left:0;right:0;
 width:100%;
 height:100%;
 position:fixed;
 z-index:20000;
 background: rgba(0,0,0,.65);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
}
/*Подвижка иконки закрытия таблички*/
.my-tabs > img.close {
    float: right;
    margin: 5px -25px 0 0 !important;
    width: 12px;
    background: var(--bronze-dark);
    cursor: pointer;
}
/* Корневой таб(UL) */
.my-tabs{
 display:block;
 z-index:30000;
 position:absolute;
 max-height:700px;  /*максимальная высота таблички*/
}
/* Стиль "Ушка" вкладок */
.my-tabs>span{
    opacity: 0.5;
    color: var(--spice-glow);
    cursor: pointer;
    font-family: 'MTSans' !important;
    font-weight: 600;
    font-size: 14px;
    display: block !important;
    position: relative;
    z-index: 12;
    padding: 2px 10px 4px;
    height: 17px !important;
    margin-right: 2px;
    margin-left: -1px;
    margin-bottom: -4px !important;
    border-top: 1px solid;
    border-radius: 10px 10px 0 0;
    text-align: left;
    float: left;
    background: linear-gradient(to bottom, #543f23, #241f17) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    transform: translateY(0); /* исходная позиция */
}

/* === ЭФФЕКТ ПРИ НАВЕДЕНИИ === */
.my-tabs>span:hover{
    opacity: 0.85; /* чуть ярче при наведении */
    transform: translateY(-3px); /* приподнимаем на 3 пикселя */
    z-index: 15; /* чтобы вкладка была поверх соседних */
    
    /* Опционально: лёгкое свечение снизу для эффекта «парения» */
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.4),
        0 0 12px rgba(255,151,48,0.25); /* --spice-glow с прозрачностью */
    
    /* Опционально: чуть светлее граница */
    border-top-color: var(--spice-glow) !important;
}

/* Cдвиг самого первого "Уха" */
.my-tabs>span:first-child{
 margin-left: 8px;
}
/* Активное "Ушко" */
.my-tabs>span.selected{
 opacity:1;
 transform: translateY(-2px) !important;
 border-bottom-color:transparent!important;
}
/* Стиль вкладки(LI)*/
.my-tabs>.tab-a{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    vertical-align: middle;
    border-radius: 15px;
    border: 2px solid var(--bronze-dark) !important;
    border-width: 4px 7px 5px 7px;
    padding: 12px !important;
    background: linear-gradient(180deg, #3f362980, #1c1c1c, #1c1c1c), var(--texture-url);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
/*Отступ контента вкладки сверху*/
.tab-a .post-content{
 margin-top:1.4em;
 text-align:left;
 display:inline-block;
}



/*ПЛЕЕР ЧАСТЬ 2*/
.playerNode {
    position:absolute;
    right: 575px;
    top: 8px;
    z-index: 9;
    /*opacity:.5;
    transition: all 0.4s ease;*/
    cursor:pointer;
}
.playerNode:hover {
    opacity:1; 
} 

.player-wrapper {
    height: 16px;
    width: 140px;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background: transparent;
}

.play-pause.paused {
background-size: contain;
}

.play-pause {
    background: none;
    background-size: contain;
    border: 0;
    width: 25px;
    height: 25px;
    padding: 0;
    position: absolute;
    top: 1px;
    cursor:pointer;
}

.track, .volume {
    height: 100%;
    background: linear-gradient(0deg, transparent 0, transparent 50%, #be8b58 50%, transparent calc(50% + 1px), transparent);
    margin-left: 10px;
    position: relative;}

.track {
 width: calc(100% - 40px);
}

.volume {
    width: 20%;
}

.thumb {
    width: 8px;
    height: 8px;
    top: calc(50% - 4px);
    background: var(--bronze-main);
    border-radius: 50%;
    position: absolute;
}

.controls {
    position: absolute;
    top: -5px;
    left: -84px;
}

button.prev-track {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    position: absolute;
    left: -27px;
    top: 1px;
    cursor:pointer;
}

button.next-track {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    position: absolute;
    left: 23px;
    top: 1px;
    cursor:pointer;
}

button.loop-toggle {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    background-image: none;
    position: absolute;
    left: 47px;
    top: 1px;
    cursor:pointer;
    background-size: contain;

}
html {
-webkit-text-size-adjust: 100%;
}


button.prev-track:before {
    font-family: 'Material Symbols Outlined';
    content: '\f43a';
    color: var(--bronze-main);
    font-size:18px;
}


button.next-track:before {
content: '\e037';
    font-family: 'Material Symbols Outlined';
    color: var(--bronze-main);
    font-size:18px;
}


.play-pause:before {
content: '\e1a2';
    font-family: 'Material Symbols Outlined';
    color: var(--bronze-main);
    font-size:18px;
}
.play-pause.paused:before {
    content: '\e1c4';
    font-family: 'Material Symbols Outlined';
    color: var(--bronze-main);
    font-size:18px;
}

button.loop-toggle:before {
content: '\e863';
    font-family: 'Material Symbols Outlined';
    color: var(--bronze-main);
    font-size:18px;
}

/* &#127925; Бегущая строка */
.marquee-wrap {
    position: absolute;
    left: 300px; /* сдвиг вправо от кнопок управления */
    top: 50%;
    transform: translateY(-50%);
    width: 240px; /* ширина области прокрутки */
    height: 16px;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none; /* чтобы не мешала кликам */
    z-index: 1;
}

.marquee {
    display: inline-block;
    color: var(--bronze-main, #be8b58);
    font-size: 11px;
    line-height: 16px;
    font-family: inherit;
    will-change: transform;
}

@keyframes marquee-pingpong {
    0%   { transform: translateX(0); }
    100% { transform: translateX(var(--max-offset, 0)); }
}



/* === Индивидуальные фоны по ID пользователя === */
.post[data-user-id="2"] {
    --author-bg: url(https://i.pinimg.com/736x/fc/f7/8b/fcf78b7e71e66b54fd9fdec2f5cc9bec.jpg);
}