/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1787443959.css);

@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

@import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&family=Golos+Text:wght@400..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Pragmatica */

@font-face {
    font-family: 'Pragmatica Book';
    src: local("Pragmatica Book"), url(https://forumstatic.ru/files/001b/f5/f1/73578.ttf);
}

@font-face {
    font-family: 'Pragmatica Medium';
    src: local("Pragmatica Medium"), url(https://forumstatic.ru/files/001b/f5/f1/48927.ttf);
}

@font-face {
    font-family: 'Pragmatica Bold';
    src: local("Pragmatica Bold"), url(https://forumstatic.ru/files/001b/f5/f1/82928.ttf);
}


@font-face {
    font-family: 'QUISAS-SVG-SVG';
    font-style: normal;
    font-weight: normal;
    src: local('QUISAS-SVG-SVG'), url('https://forumstatic.ru/files/001c/b1/c6/61669.woff') format('woff');
}


@font-face {
    font-family: 'VOYAGE-BOLD';
    font-style: normal;
    font-weight: normal;
    src: local('VOYAGE-BOLD'), url('https://forumstatic.ru/files/001c/b1/c6/90946.woff') format('woff');
}

@font-face {
    font-family: 'VOYAGE-REGULAR';
    font-style: normal;
    font-weight: normal;
    src: local('VOYAGE-REGULAR'), url('https://forumstatic.ru/files/001c/b1/c6/49580.woff') format('woff');
}

@font-face {
    font-family: 'miamanueva';
    font-style: normal;
    font-weight: normal;
    src: local('miamanueva'), url('https://forumstatic.ru/files/001c/b1/c6/47469.woff') format('woff');
}

@font-face {
    font-family: 'Screpka';
    font-style: normal;
    font-weight: normal;
    src: local('Screpka'), url('https://forumstatic.ru/files/001c/b1/c6/45373.woff') format('woff');
}

@font-face {
    font-family: 'Salwey';
    font-style: normal;
    font-weight: normal;
    src: local('Salwey'), url('https://forumstatic.ru/files/001c/b1/c6/11792.woff') format('woff');
}

@font-face {
    font-family: 'Massivertical';
    font-style: normal;
    font-weight: normal;
    src: local('Massivertical'), url('https://forumstatic.ru/files/001c/b1/c6/66564.woff') format('woff');
}

@font-face {
    font-family: 'ForestSmooth';
    font-style: normal;
    font-weight: normal;
    src: local('ForestSmooth'), url('https://forumstatic.ru/files/001c/b1/c6/49972.woff') format('woff');
}

@font-face {
    font-family: 'Daneehand';
    font-style: normal;
    font-weight: normal;
    src: local('Daneehand'), url('https://forumstatic.ru/files/001c/b1/c6/59851.woff') format('woff');
}

@font-face {
    font-family: 'Czizh';
    font-style: normal;
    font-weight: normal;
    src: local('Czizh'), url('https://forumstatic.ru/files/001c/5b/2f/83800.woff') format('woff');
}

@font-face {
    font-family: 'copilot';
    font-style: normal;
    font-weight: normal;
    src: local('copilot'), url('https://forumstatic.ru/files/001c/5b/2f/58578.woff') format('woff');
}

@font-face {
    font-family: 'Conkordia';
    font-style: normal;
    font-weight: normal;
    src: local('Conkordia'), url('https://forumstatic.ru/files/001c/5b/2f/34929.woff') format('woff');
}

@font-face {
    font-family: 'Carmen';
    font-style: normal;
    font-weight: normal;
    src: local('Carmen'), url('https://forumstatic.ru/files/001c/5b/2f/11022.woff') format('woff');
}

@font-face {
    font-family: 'Vertiger';
    font-style: normal;
    font-weight: normal;
    src: local('Vertiger'), url('https://forumstatic.ru/files/001c/5b/2f/22254.woff') format('woff');
}

@font-face {
    font-family: 'UrbanSlavic';
    font-style: normal;
    font-weight: normal;
    src: local('UrbanSlavic'), url('https://forumstatic.ru/files/001c/5b/2f/77931.woff') format('woff');
}

@font-face {
    font-family: 'Frantz';
    font-style: normal;
    font-weight: normal;
    src: local('Frantz'), url('https://forumstatic.ru/files/001c/5b/2f/94236.woff') format('woff');
}

@font-face {
    font-family: 'SturkopfGrotesk';
    font-style: normal;
    font-weight: normal;
    src: local('SturkopfGrotesk'), url('https://forumstatic.ru/files/001c/5b/2f/76793.woff') format('woff');
}

@font-face {
    font-family: 'Serpantin';
    font-style: normal;
    font-weight: normal;
    src: local('Serpantin'), url('https://forumstatic.ru/files/001c/5b/2f/67618.woff') format('woff');
}

@font-face {
    font-family: 'SantaCatarina';
    font-style: normal;
    font-weight: normal;
    src: local('SantaCatarina'), url('https://forumstatic.ru/files/001c/5b/2f/71999.woff') format('woff');
}

@font-face {
    font-family: 'Rosemaria';
    font-style: normal;
    font-weight: normal;
    src: local('Rosemaria'), url('https://forumstatic.ru/files/001c/5b/2f/50314.woff') format('woff');
}

@font-face {
    font-family: 'Riviera';
    font-style: normal;
    font-weight: normal;
    src: local('Riviera'), url('https://forumstatic.ru/files/001c/5b/2f/97187.woff') format('woff');
}

@font-face {
    font-family: 'Pelmeshka';
    font-style: normal;
    font-weight: normal;
    src: local('Pelmeshka'), url('https://forumstatic.ru/files/001c/5b/2f/21357.woff') format('woff');
}

@font-face {
    font-family: 'PassionsConflict';
    font-style: normal;
    font-weight: normal;
    src: local('PassionsConflict'), url('https://forumstatic.ru/files/001c/5b/2f/65053.woff') format('woff');
}

@font-face {
    font-family: 'Moyenage';
    font-style: normal;
    font-weight: normal;
    src: local('Moyenage'), url('https://forumstatic.ru/files/001c/5b/2f/20516.woff') format('woff');
}

@font-face {
    font-family: 'Gardenia';
    font-style: normal;
    font-weight: normal;
    src: local('Gardenia'), url('https://forumstatic.ru/files/001c/5b/2f/57264.woff') format('woff');
}

@font-face {
    font-family: 'epos';
    font-style: normal;
    font-weight: normal;
    src: local('epos'), url('https://forumstatic.ru/files/001c/5b/2f/65642.woff') format('woff');
}

@font-face {
    font-family: 'copilot';
    font-style: normal;
    font-weight: normal;
    src: local('copilot'), url('https://forumstatic.ru/files/001c/5b/2f/96466.woff') format('woff');
}

@font-face {
    font-family: 'Bimbo-Whiteboard';
    font-style: normal;
    font-weight: normal;
    src: local('Bimbo-Whiteboard'), url('https://forumstatic.ru/files/001c/5b/2f/63858.woff') format('woff');
}

@font-face {
    font-family: 'Bimbo-Sharpie';
    font-style: normal;
    font-weight: normal;
    src: local('Bimbo-Sharpie'), url('https://forumstatic.ru/files/001c/5b/2f/40053.woff') format('woff');
}


@font-face {
    font-family: 'Deutsch Gothic';
    font-style: normal;
    font-weight: normal;
    src: local('Deutsch Gothic'), url('https://forumstatic.ru/files/001c/5b/2f/89018.woff') format('woff');
}

@font-face {
    font-family: 'Visitor';
    font-style: normal;
    font-weight: normal;
    src: local('Visitor'), url('https://forumstatic.ru/files/001c/5b/2f/58058.woff') format('woff');
}


@font-face {
    font-family: 'Neue';
    font-style: normal;
    font-weight: normal;
    src: local('Neue'), url('https://forumstatic.ru/files/001c/5b/2f/30387.woff') format('woff');
}

@font-face {
    font-family: 'Neue Light';
    font-style: normal;
    font-weight: normal;
    src: local('Neue Light'), url('https://forumstatic.ru/files/001c/5b/2f/61245.woff') format('woff');
}

@font-face {
    font-family: 'Manege';
    font-style: normal;
    font-weight: normal;
    src: local('Manege'), url('https://forumstatic.ru/files/001c/5b/2f/50918.woff') format('woff');
}

@font-face {
    font-family: 'Helmswald';
    font-style: normal;
    font-weight: normal;
    src: local('Helmswald'), url('https://forumstatic.ru/files/001c/5b/2f/29012.woff') format('woff');
}


@font-face {
    font-family: 'Cheque';
    font-style: normal;
    font-weight: normal;
    src: local('Cheque'), url('https://forumstatic.ru/files/001c/5b/2f/17581.woff') format('woff');
}

@font-face {
    font-family: 'Journalism';
    font-style: normal;
    font-weight: normal;
    src: local('Journalism'), url('https://forumstatic.ru/files/001c/5b/2f/76556.woff') format('woff');
}

@font-face {
    font-family: 'Screpka';
    font-style: normal;
    font-weight: normal;
    src: local('Screpka'), url('https://forumstatic.ru/files/001c/5b/2f/45373.woff') format('woff');
}

@font-face {
    font-family: 'Salwey';
    font-style: normal;
    font-weight: normal;
    src: local('Salwey'), url('https://forumstatic.ru/files/001c/5b/2f/11792.woff') format('woff');
}

@font-face {
    font-family: 'Massivertical';
    font-style: normal;
    font-weight: normal;
    src: local('Massivertical'), url('https://forumstatic.ru/files/001c/5b/2f/66564.woff') format('woff');
}

@font-face {
    font-family: 'ForestSmooth';
    font-style: normal;
    font-weight: normal;
    src: local('ForestSmooth'), url('https://forumstatic.ru/files/001c/5b/2f/49972.woff') format('woff');
}

@font-face {
    font-family: 'Daneehand';
    font-style: normal;
    font-weight: normal;
    src: local('Daneehand'), url('https://forumstatic.ru/files/001c/5b/2f/59851.woff') format('woff');
}

@font-face {
    font-family: 'Czizh';
    font-style: normal;
    font-weight: normal;
    src: local('Czizh'), url('https://forumstatic.ru/files/001c/5b/2f/83800.woff') format('woff');
}

@font-face {
    font-family: 'copilot';
    font-style: normal;
    font-weight: normal;
    src: local('copilot'), url('https://forumstatic.ru/files/001c/5b/2f/58578.woff') format('woff');
}

@font-face {
    font-family: 'Conkordia';
    font-style: normal;
    font-weight: normal;
    src: local('Conkordia'), url('https://forumstatic.ru/files/001c/5b/2f/34929.woff') format('woff');
}

@font-face {
    font-family: 'Carmen';
    font-style: normal;
    font-weight: normal;
    src: local('Carmen'), url('https://forumstatic.ru/files/001c/5b/2f/11022.woff') format('woff');
}

@font-face {
    font-family: 'Vertiger';
    font-style: normal;
    font-weight: normal;
    src: local('Vertiger'), url('https://forumstatic.ru/files/001c/5b/2f/22254.woff') format('woff');
}

@font-face {
    font-family: 'UrbanSlavic';
    font-style: normal;
    font-weight: normal;
    src: local('UrbanSlavic'), url('https://forumstatic.ru/files/001c/5b/2f/77931.woff') format('woff');
}

@font-face {
    font-family: 'Frantz';
    font-style: normal;
    font-weight: normal;
    src: local('Frantz'), url('https://forumstatic.ru/files/001c/5b/2f/94236.woff') format('woff');
}

@font-face {
    font-family: 'SturkopfGrotesk';
    font-style: normal;
    font-weight: normal;
    src: local('SturkopfGrotesk'), url('https://forumstatic.ru/files/001c/5b/2f/76793.woff') format('woff');
}

@font-face {
    font-family: 'Serpantin';
    font-style: normal;
    font-weight: normal;
    src: local('Serpantin'), url('https://forumstatic.ru/files/001c/5b/2f/67618.woff') format('woff');
}

@font-face {
    font-family: 'SantaCatarina';
    font-style: normal;
    font-weight: normal;
    src: local('SantaCatarina'), url('https://forumstatic.ru/files/001c/5b/2f/71999.woff') format('woff');
}

@font-face {
    font-family: 'Rosemaria';
    font-style: normal;
    font-weight: normal;
    src: local('Rosemaria'), url('https://forumstatic.ru/files/001c/5b/2f/50314.woff') format('woff');
}

@font-face {
    font-family: 'Riviera';
    font-style: normal;
    font-weight: normal;
    src: local('Riviera'), url('https://forumstatic.ru/files/001c/5b/2f/97187.woff') format('woff');
}

@font-face {
    font-family: 'Pelmeshka';
    font-style: normal;
    font-weight: normal;
    src: local('Pelmeshka'), url('https://forumstatic.ru/files/001c/5b/2f/21357.woff') format('woff');
}

@font-face {
    font-family: 'PassionsConflict';
    font-style: normal;
    font-weight: normal;
    src: local('PassionsConflict'), url('https://forumstatic.ru/files/001c/5b/2f/65053.woff') format('woff');
}

@font-face {
    font-family: 'Moyenage';
    font-style: normal;
    font-weight: normal;
    src: local('Moyenage'), url('https://forumstatic.ru/files/001c/5b/2f/20516.woff') format('woff');
}

@font-face {
    font-family: 'Gardenia';
    font-style: normal;
    font-weight: normal;
    src: local('Gardenia'), url('https://forumstatic.ru/files/001c/5b/2f/57264.woff') format('woff');
}

@font-face {
    font-family: 'epos';
    font-style: normal;
    font-weight: normal;
    src: local('epos'), url('https://forumstatic.ru/files/001c/5b/2f/65642.woff') format('woff');
}

@font-face {
    font-family: 'copilot';
    font-style: normal;
    font-weight: normal;
    src: local('copilot'), url('https://forumstatic.ru/files/001c/5b/2f/96466.woff') format('woff');
}

@font-face {
    font-family: 'Bimbo-Whiteboard';
    font-style: normal;
    font-weight: normal;
    src: local('Bimbo-Whiteboard'), url('https://forumstatic.ru/files/001c/5b/2f/63858.woff') format('woff');
}

@font-face {
    font-family: 'Bimbo-Sharpie';
    font-style: normal;
    font-weight: normal;
    src: local('Bimbo-Sharpie'), url('https://forumstatic.ru/files/001c/5b/2f/40053.woff') format('woff');
}


@font-face {
    font-family: 'Deutsch Gothic';
    font-style: normal;
    font-weight: normal;
    src: local('Deutsch Gothic'), url('https://forumstatic.ru/files/001c/5b/2f/89018.woff') format('woff');
}

@font-face {
    font-family: 'Visitor';
    font-style: normal;
    font-weight: normal;
    src: local('Visitor'), url('https://forumstatic.ru/files/001c/5b/2f/58058.woff') format('woff');
}


@font-face {
    font-family: 'Neue';
    font-style: normal;
    font-weight: normal;
    src: local('Neue'), url('https://forumstatic.ru/files/001c/5b/2f/30387.woff') format('woff');
}

@font-face {
    font-family: 'Neue Light';
    font-style: normal;
    font-weight: normal;
    src: local('Neue Light'), url('https://forumstatic.ru/files/001c/5b/2f/61245.woff') format('woff');
}

@font-face {
    font-family: 'Manege';
    font-style: normal;
    font-weight: normal;
    src: local('Manege'), url('https://forumstatic.ru/files/001c/5b/2f/50918.woff') format('woff');
}

@font-face {
    font-family: 'Helmswald';
    font-style: normal;
    font-weight: normal;
    src: local('Helmswald'), url('https://forumstatic.ru/files/001c/5b/2f/29012.woff') format('woff');
}


@font-face {
    font-family: 'Cheque';
    font-style: normal;
    font-weight: normal;
    src: local('Cheque'), url('https://forumstatic.ru/files/001c/5b/2f/17581.woff') format('woff');
}

@font-face {
    font-family: 'Journalism';
    font-style: normal;
    font-weight: normal;
    src: local('Journalism'), url('https://forumstatic.ru/files/001c/5b/2f/76556.woff') format('woff');
}





@font-face {
  font-family: 'Amelia-script';
  font-style: normal;
  font-weight: 400;
  src: url('https://forumstatic.ru/files/001c/c4/02/55550.otf');
}


:root {
    --base-bg: #C2B7A6 url(https://forumstatic.ru/files/001c/c4/02/24049.png);
    --pun: #dadada;
    --text: #000;
    --sec-text: #666;
    --accent: #BF7140;
    --accent2: #615931;
    --navi-link: #FFFFFF;
    --navi-link-hov: #ddd;
    --main-font: Golos Text;
    --sec-font: Noto Serif Display;
    --plash-font: Noto Serif;
    --head: url(https://forumstatic.ru/files/001c/c4/02/26233.png);
    --profile-bg: #f2f2f2;
    --quote: #F2F2F2;
    --bord: #c7c7c7;
    --pun-bord: #dadada;
    --category: url(https://forumstatic.ru/files/001c/c4/02/56935.png);
    --tab-text: #262626;
    --cfoot: url(https://forumstatic.ru/files/001c/c4/02/46859.png);
    --pf-bg: #e8e8e8;
    --tab-link: #60684B;
    --cat-bg: #DBDFC8;
    --cat-bord: #E3E3E3;
    --pf-font: Andika;
    --link-bg: #EEEDED;
    --old: url(https://forumstatic.ru/files/001c/c4/02/21994.png);
    --new: url(https://forumstatic.ru/files/001c/c4/02/44004.png);
    --news-block: #DCDCDC;
    --day-butt: url(https://forumstatic.ru/files/001c/c4/02/90134.png);
    --night-butt: url(https://forumstatic.ru/files/001c/c4/02/59437.png);

    --view-new: #60684B;
    --view-old: #666666;
    --view-imp: #BF7140;
    --view-x: #666666;

    --g-book: url(https://forumstatic.ru/files/001c/c4/02/32737.png);
    
}




.dark {
    --base-bg: #4C5A6B url(https://forumstatic.ru/files/001c/c4/02/53770.png);
    --pun: #535151;
    --text: #dbdbdb;
    --sec-text: #C3C3C3;
    --accent: #F1CCAA;
    --accent2: #EFB682;
    --navi-link: #D2D2D2;
    --navi-link-hov: #EFB682;
    --head: url(https://forumstatic.ru/files/001c/c4/02/73817.png);
    --profile-bg: #535151;
    --quote: #504e4e;
    --bord: #414141;
    --pun-bord: #535151;
    --category: url(https://forumstatic.ru/files/001c/c4/02/85131.png);
    --tab-text: #E1E1E1;
    --cfoot: url(https://forumstatic.ru/files/001c/c4/02/90863.png);
    --pf-bg: #4C4C4C;
    --tab-link: #EFB682;
    --cat-bg: #595959;
    --cat-bord: #7C7A7A;
    --link-bg: #4E4E4E;
    --old: url(https://forumstatic.ru/files/001c/c4/02/53476.png);
    --new: url(https://forumstatic.ru/files/001c/c4/02/13746.png);
    --news-block: #535151;
    --day-butt: url(https://forumstatic.ru/files/001c/c4/02/73083.png);
    --night-butt: url(https://forumstatic.ru/files/001c/c4/02/25022.png);

    --view-new: #F1CCAA;
    --view-old: #C3C3C3;
    --view-imp: #60684B;
    --view-x: #C3C3C3 ;

    --g-book: url(https://forumstatic.ru/files/001c/c4/02/42105.png);
    
}




/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border: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;}

/* 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%;
    position: initial !important;
}

/* A3.2 */
.punbb {
    font: normal 11px var(--main-font), Verdana;
    color: var(--text);
}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 12px verdana, arial, helvetica, sans-serif;
    background: var(--profile-bg);
    border: 1px solid var(--bord);
    outline: none;
    color: var(--text);
}
/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h1 span, .punbb legend span {
    font-size: 11px;
}

/* A3.6 */
.punbb pre {
    font: 1em/140% var(--main-font);
    font-weight: 400;
}

/* 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: underline
  }

/* 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 {
    margin: auto;
    width: 1200px;
    margin-top: 30px;
    margin-bottom:20px;
    background: var(--pun);
    position: relative;
}


/* A5.2 */
.punbb {
    float: none;
    width: auto;
    height: auto;
    margin: 0px 50px;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
 min-height: 100px;
  }

#pun-redirect {
    border: 0 none!important;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    background: var(--base-bg) fixed top center/cover;
}
    #pun-redirect *{
      border:0 none;
    }
    #pun-redirect .main-title {
      display:none;
    }
#pun-redirect.punbb .info .container {
    text-align: center;
    display: block;
    margin: 5% auto;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--main-font);
    padding: 30px 0px;
    height: auto;
    border: 0 !important;
    text-transform: lowercase;
    width: 900px;
    font-weight: 500;
    margin-top: 120px;
    color: var(--tab-text);
}
#pun-redirect.punbb .info .container a {
    color: var(--red-accent) !important;
}

#pun-redirect.punbb .info .container a:hover {
    color: var(--tab-text) !important;
}



/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.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 none none none;
  border-width: 0px 0px 0px 0px;
  }

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-debug h2 {
    font-family: var(--main-font);
    font-size: 10px !important;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    text-align: center;
    width: auto;
    letter-spacing: 0.6px;
    text-transform: lowercase;
    margin: -20px 0px 20px 0px;
}


#pun-main h1 {
    display: none;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: justify;
}

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    text-align: center;
    border-top: 1px dotted #707070;
    width: auto;
    margin: 20px 50px;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0 0 0 0px;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 1em 0px 1em 0px;
    padding: 15px 20px 15px 20px;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    font-size: 12px;
    font-family: inter;
    text-transform: uppercase;
    font-style: normal;
    letter-spacing: 0;
    color: var(--accent);
    font-weight: 600;
}




/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* 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 */
.punbb .linkst {
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 0px 5px !important;
    position: relative;
    padding: 0 0px;
}

/* B3.2 */
.multipage {
  margin-top: 1em;
  }

/* B3.4 */
.linkst .postlink {
    text-align: right;
}

/* B3.5 */
.punbb .linksb {
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: none;
    margin-top: 13px;
}

/* B3.6 */
.linksb .pagelink {
    float: left;
    width: auto;
    text-align: left;
}

/* B3.7 */
.linksb .postlink {
    float: right;
    width: auto;
}

/* B3.8 */
.subscribelink {
    clear: both;
    display: flex;
    float: right;
    background: var(--quote);
    padding: 5px 15px 6px;
    text-transform: lowercase;
    transition: all .4s linear 0s !important;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 0em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
    border-style: solid;
    border-width: 1px;
    padding: 0;
    margin: 0 0 1em 0;
}

/* C1.5 */
.punbb fieldset legend {
    padding: 0;
    margin: 0;
    font-size: 0;
}

/* C1.6 */
.punbb fieldset legend span {
    padding: 0;
    margin: 0;
    font-size: 0;
    font-family: var(--main-font);
    text-transform: uppercase;
}

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* 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: 400 !important;
    font-family: var(--main-font);
    margin-bottom: 0;
    display: inline-flex;
    text-transform: uppercase;
}

.punbb .required label strong, .punbb .datafield span.input strong {
    font-weight: 400 !important;
}

/* 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;
  font-weight: normal;
  width: 36%;
  }

/* 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 {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  text-align: left;
  width: 45%;
  }

/* C2.2 */
#pun-viewforum .tc2, #pun-viewforum .tc3, #pun-viewforum .tcmod {
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
    width: 8%;
}


/* C2.3 */
.punbb .main .tcr {
    overflow: hidden;
    text-align: left;
    width: 30%;
}

#pun-index .tcr {
    text-transform: none;
    width: 35%;
    position: relative;
    text-align: left;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
}

/* C2.4 */
#pun-userlist .main .tcl, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
    background-color: transparent;
    width: 40%;
    text-transform: lowercase;
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: center;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* C2.8 названия подфорумов*/ 
#pun-index .tcl h3 {
    font-family: var(--main-font);
    font-weight: 400;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

#pun-index .tcl {
    width: 70%;
    position: relative;
    overflow: visible;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
    border-style: solid none none solid;
    border-width: 1px 0 0 1px;
    padding: 10px 0;
}

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
    border-style: none none none solid;
    border-width: 0 0 0 1px;
    padding: 0.4em 1em 0.4em 1.5em;
  }

/* C2.13 */
.punbb .main .tcl {
      border-left-style: none;
      border-left-width: 0
      }

    * html .tclcon {height: 1px}

/* C2.14 */
#pun-index td div.tclcon {
    margin: 0 50px 0 20px;
    text-align: justify;
    position: relative;
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 0;
    letter-spacing: 0;
    text-transform: lowercase;
    color: var(--sec-text);
}


/* C2.15 */
.punbb div.icon {
    height: 54px;
    float: right;
    display: block;
    background: var(--old);
    width: 87px;
    margin: 10px 0 10px 20px;
    opacity: .5;
}

.punbb div.icon.inew {
    background: var(--new);
    opacity: 1;
}


#pun-messages .main .tc2 {
  text-align: center;
  }
  

 /* C3 Topics

-------------------------------------------------------------*/
#pun-title, #pun-navlinks {
  border-color: #202021 ;
}

/* CS2.1 */
.punbb .container, .punbb .post-body {
  border-color:  transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border-style: none;
    border-width: 0;
  }

/* CS2.3 */
.punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;

  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.post-links ul, .post-links, .usertable table {
  border-color: transparent;

  }

/* CS2.5 */
.punbb th {
  border-color: transparent ;

  }

/* CS2.6 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;

  }


/* C3.1 */
.punbb .post .container {
    border: none;
}

/* C3.2 */
#pun-viewtopic .post h3 {
    text-align: center;
    margin: 17px 0;
}

.post h3 span strong:before {
    content: '#';
}

/* C3.3 */
.punbb .post h3 span {
    display: flex;
    font: 400 11px var(--main-font);
    height: auto;
    align-items: center;
    background: var(--quote);
    margin-left: 0;
    padding: 5px 15px;
    border: 1px solid #c7c7c791;
    width: auto;
    text-transform: lowercase;
    justify-content: space-between;
}


/* C3.4 */
.punbb .post h3 strong {
    float: right;
    width: auto;
    text-align: right;
    font-weight: normal;
    order: 2;
}

.punbb .post .post-author {
    float: left;
    width: 230px;
    font-size: 11px;
    margin: 0;
    font-family: var(--main-font);
    margin-bottom: 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}


/* C3.6 */
.punbb .post .post-author p {
    padding: 0 0 10px 0;
    line-height: 160%;
}

/* C3.7 */
.pa-author {
    text-transform: lowercase;
    text-align: center;
    margin: 0;
    font-style: italic;
    font-size: 19px;
    font-family: noto sans;
}

/* C3.8 */
.pa-author a {
    font-weight: 400 !important;
    font-size: 19px;
}



/* C3.9 */
li.pa-title {
    font-size: 9px;
    font-weight: 200;
    font-family: var(--main-font);
    letter-spacing: 0;
    text-align: center;
    margin: 0 5px;
    text-transform: lowercase;
    color: var(--sec-text);
}


/* C3.11 */
.punbb .post-body {
    margin-left: 250px;
    border-left-style: solid;
    border-left-width: 1px;
    padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box {
    padding: 0px;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
}

/* C3.15 */
.punbb .post-links ul {
    text-align: right;
    font-size: 11px;
    font-family: var(--main-font);
    font-weight: 400;
    text-transform: lowercase;
    padding: 0;
    margin: 10px 10px 10px 0;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* 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: 10px 0 0;
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
}

/* 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: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* 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 {
    margin: 0;
    padding: 0;
}

/* 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: 0 5px;
  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 {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
    padding: 0 2.3em 2.3em 2.3em;
    border-top: none;
}

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
    margin: 0;
    border-style: none none none none;
    border-width: 0px 0px 0 0px;
}

/* D1.2 */
#pun-title h1 {
  display : block;}

/* D1.3 */
#pun-title .container {
  border-style: none none none none;}


/* D1.4 */
#pun-title h1 span  {
  display: none;}

#pun-title h1 span  {
  font-size: 1.5em;}


/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: 55px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline}

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;}

/* 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 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
}

#pun-navlinks .container {
    padding: 0px;
}

#pun-navlinks li {
    display: inline;
    margin: 0;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    margin: 0;
    padding: 0;
    margin-top: 56px;
}

/* D4.2 */
#pun-ulinks .container {
    /* border: 1px solid red; */
    padding: 0px;
    height: auto;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
    display: inline-block;
}

/* D4.4 */
#pun-ulinks li a {
    padding: 0px 6px;
}

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0;
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
    font-size: 10px;
    font-family: var(--main-font);
    font-weight: 200;
    letter-spacing: 0;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-transform: lowercase;
    gap: 3px;
    width: 200px;
    position: absolute;
    top: 325px;
    /* border: 1px solid red; */
    left: 710px;
    flex-direction: column;
    color: #d1ccc4;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }




/* D5.4 */
#pun-crumbs1 {
    font-weight: 400;
}

/* D5.5 */
#pun-crumbs1 p.container {
    height: auto;
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    margin-top: 16px;
    color: var(--sec-text);
    text-align: center;
}


#pun-crumbs1 p.container a, #pun-crumbs2 p.container a {
    font-weight: 400;
    transition: 1s;
}


#pun-crumbs1 p.container a:hover, #pun-crumbs2 p.container a:hover {
    transition: 1s;
    font-weight: 400;
}


/* D5.6 */
#pun-break1 {
    margin: 0 1em;
    border-style: solid none;
    border-width: 1px 0;
    height: 0;
    margin: 0px 0 0 0 !important;
    position: relative;
    z-index: 1;
}

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
    padding: 0;
    text-align: center;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: absolute;
    top: 468px;
    z-index: 9;
    background: var(--news-block);
    width: 1100px;
    border-radius: 10px;
    border: 1px solid var(--bord);
    box-shadow: 0 2px 5px #00000029;
}


/* D7 Statistics
-------------------------------------------------------------*/
#pun-stats .container {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0px;
    padding: 15px 20px;
    font-family: var(--main-font);
    text-transform: lowercase;
    background: var(--pf-bg);
    border: 1px solid var(--bord);
    border-width: 0 1px 1px 1px;
    gap: 0px 40px;
}

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
    text-align: right;
    line-height: 150%;
}

/* D7.4 */
li#onlinelist {
    margin-top: 0;
    border-top-style: solid;
    border-top-width: 1px;
    float: left;
    width: 100%;
    line-height: 130%;
}

/* D7.5 */
li#onlinelist div {
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0;
    text-align: justify;
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  margin-bottom: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;}

/* D8.5 */
#pun-about p span {
    display: block;
    margin-top: -23px;
    font-size: 9px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
    position: absolute;
    width: 100%;
}

/* D8.6 */
#pun-crumbs2 {
  font-weight: 400;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    margin-top: 16px;
    color: var(--sec-text);
    text-align: center;
    margin: 0 0 30px 0px;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style:  none;
  border-width: 0px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }



/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: none;
  border-bottom-width: 0px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: none;
  border-bottom-width: 0px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }


#pun-status .status-right {
display: none;
}

.punbb th {
    font-size: 11px !important;
    color: var(--sec-text);
}

#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}

html * {
    box-sizing: border-box;
}


.pa-ip {
    font-size: 9px;
    margin-top: 5px;
}

#pun-index .category h2, #pun-stats h2 {
    width: auto;
    height: 61px;
    -webkit-text-size-adjust: 100%;
    display: flex;
    padding: 0 !IMPORTANT;
    justify-content: center;
    gap: 0;
    text-transform: none !important;
    position: relative;
    margin: 0;
    flex-direction: column;
    align-items: center;
    z-index: 9;
    background: var(--category);
}

#pun-index .category h2 span, #pun-stats h2 span {
    -webkit-text-size-adjust: 100%;
    font-size: 11px;
    font-family: noto serif;
    position: relative;
    font-weight: 400;
    text-transform: uppercase;
    padding: 1px 20px;
    letter-spacing: 0;
    gap: 10px;
    color: var(--text);
    display: flex;
    background: var(--cat-bg);
    border: 1px solid var(--cat-bord);
    border-radius: 4px;
}


#pun-index .category table tr {
    margin: 10px 0;
    -webkit-appearance: none;
    display: flex;
    gap: 0 30px;
    align-items: center;
    position: relative;
}

#pun-index .category table tr + tr {
    margin: 10px 0;
}

#pun-viewforum .tcr {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0px 10px;
}



.postlink.long {
    width: auto !important;
}

.forum tr {
    margin: 10px 0;
    display: flex;
    gap: 16px;
    font: 400 11px var(--main-font);
    align-items: center;
    background: var(--quote);
    text-transform: lowercase;
    padding: 0 20px;
    border: 1px solid var(--bord);
}





.topic a.sharelink {
    float: right;
    margin-left: 1em;
    display: none;
}


.reactions-root {
    display: none;
}




#profile .container fieldset legend span {
    padding: 0;
    margin: 0;
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
}


 #pun-main h2 span {
    font-size: 0px;
}


#html-header {
    color: var(--tab-text);
}






.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    width: 8%;
}




.html-box {
    height: 60px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    margin: 0 10px;
    padding-bottom: 2px;
    align-items: center;
}
.html-box a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px;
    text-transform: uppercase;
    background: var(--link-bg);
    justify-content: center;
    border-radius: 10px;
    position: relative;
    flex-shrink: 0;
    border: 1px solid var(--bord);
    transform: scale(1.0);
}

.html-box a:hover {
    transform: scale(1.04);
}


#tooltip {position: absolute; 
background: var(--accent); z-index: 999;
max-width: 200px; border: none; border-radius: 10px; box-shadow: 0 0 0px 1px rgba(0,0,0,.05) inset; font-family: var(--main-font); font-size: 11px; display: none; color: #efeee4; text-align: center; padding: 6px 22px; font-weight: 400;}

.dark #tooltip {
    background: #b08b55;
}

#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}



.sered {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

#pun .answer-box, #pun .code-box, #pun .hide-box {
    padding: 15px 20px !important;
    position: relative;
}


#pun-admain .adlabel {
    width: 18em !important;
}


#pun-index .tcl h3 a {
    font-size: 20px;
    font-family: var(--pf-font);
    font-weight: 400;
    text-transform: lowercase;
}


#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}

#plng {
    font-size: 10px !important;
    font-weight: 400 !important;
    margin-top: 0px !important;
    display: flex;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 5px;
    font-family: var(--main-font);
    padding: 0px 20px;
    border: 1px solid var(--bord);
    background: var(--profile-bg);
    align-items: center;
}


.post-content .spoiler-box > div {
    background: transparent !important;
    position: relative;
    padding: 10px;
    font-family: var(--main-font);
}

.spoiler-box {
    padding: 0 !important;
}



#form-buttons td {
    background-image: none !important;
    position: relative;
    width: 26px;
    height: 26px;
    margin: 5px 0px 5px 0px;
}


#pun-index .category table tr td {
padding: 0;
}

.punbb .post-content .scrollbox {
    width: 100%;
    max-height: 12em !important;
    overflow: auto;
}


.punbb .post-content blockquote p {
padding: 5px 0 5px 0;
}



.post-content .spoiler-box > div.visible {
    border-bottom: 1px solid var(--bord);
}


.post-content .spoiler-box > blockquote.visible {
    padding: 10px 20px;
}


.post-content .spoiler-box>div:before {
    content: '\f070';
    font-family: 'FontAwesome';
    font-size: 11px;
    transition: all .5s ease-in-out 0s;
    align-items: center;
    margin-right: 10px;
    color: var(--sec-text);
    opacity: .5;
}

.post-content .spoiler-box > div.visible:before {
    content: '\f06e';
    opacity: 1;
}




select#mod-options {
    font-family: var(--main-font);
    font-size: 10px;
    text-transform: uppercase;
    padding: 0px 15px;
    margin: 0;
}

.pa-respect img {
display: none;
}


#pun-profile #viewprofile ul {
    width: 100%;
    border: 1px solid var(--bord);
    margin: 0;
    padding: 0;
}

#viewprofile #profile-left {
    text-transform: lowercase;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    background: #f2f2f269;
    font-size: 12px;
    font-family: var(--main-font);
    padding: 20px !IMPORTANT;
    color: #383636 !important;
    border-right: 1px solid var(--bord);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}


#profile-right {
    justify-content: center;
    gap: 10px;
    width: auto !important;
    border-radius: 0;
    padding: 20px !important;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex: 1;
}


#viewprofile #profile-left li strong, #viewprofile #profile-left li strong a {
    color: var(--sec-text);
}


#profile-right li {
    justify-content: center;
    text-align: center;
    padding: 10px 10px !important;
    font-size: 11px;
    background: #00000008;
    border: 1px solid #0000000a;
    gap: 6px;
    font-family: var(--main-font);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    align-items: center;
}

#profile-right #pa-fld1 {
    width: 100%;
}

#profile-right .pers_plash {
    background-image: none;
    background-repeat: no-repeat;
    width: 200px;
    height: 40px;
    position: relative;
    padding: 0 !important;
    margin: 0 !IMPORTANT;
}


#profile-right  .pers_plash_text {
    font-size: 7px !IMPORTANT;
    margin: 0 20px !important;
}

#pun #profile-right li span {
    float: none;
    margin: 0;
    width: auto;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    padding: 0 !important;
}


#profile-right li strong {
    padding: 0 !important;
    text-transform: none;
}


.post-content hr {
    opacity: 0.5;
    border: none;
    margin-bottom: 0.8em;
    background: var(--head);
    height: 2px !important;
    box-shadow: 0px 0px 0px 1px var(--accent);
}

#pun-index .datetime, #pun-index .byuser {
    font-size: 10px;
    font-weight: 400;
    color: var(--sec-text);
    text-transform: lowercase;
}

#html-header a {
    color: var(--tab-link);
}

#html-header a:hover {
    color: var(--tab-text);
}


.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
    margin: 0 0.3em;
    accent-color: var(--accent);
}



#post-form .container {
    padding: 0;
}



.tcr-wrap {
    display: flex;
    flex-direction: column;
    text-transform: none;
    gap: 2px;
}


#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}


.Add {
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 10px;
    font-family: var(--main-font);
    letter-spacing: 0;
    color: #29292b;
    font-weight: 300;
    font-style: normal;
}

.tms, .mssg {
font-size: 0;
}

.tms:before {
    position: relative;
    display: block;
    font-weight: 600;
    content: '\f07b';
    font-size: 9px;
    font-family: 'FontAwesome';
    color: var(--sec-text);
}

.mssg:before {
    position: relative;
    display: block;
    content: '\f27a';
    font-weight: 600;
    font-size: 9px;
    font-family: 'FontAwesome';
    color: var(--sec-text);
}

.Tems_And_messages {
    display: flex;
    gap: 6px;
    align-items: center;
}





.forum .tclcon > a, .forum .tcr a {
    display: block;
}


.forum .tclcon .byuser:before {
    content: 'создал:';
    color: var(--sec-text);
    opacity: .7;
}


.forum .intd {
    display: flex;
    align-items: center;
}


.forum .tcr .byuser:before {
    content: 'последнее сообщение от:';
    color: var(--sec-text);
    opacity: .7;
}


.pagelink, .new-poll a, .new-topic a, .postlink span a {
    background: var(--quote);
    padding: 5px 10px;
    text-transform: lowercase;
    font-size: 10px;
    font-family: var(--main-font);
    color: var(--text);
}



.pagelink strong {
    background: var(--base-bg2);
    padding: 1px 4px 1px 3px;
    border: 1px solid var(--bord);
}


.punbb .category .container {
    background: var(--pf-bg);
    border: 1px solid var(--bord);
}

#pun-index td div.tclcon ul.links {
    padding: 0 !important;
    margin: 6px 0 0 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#pun-index td div.tclcon ul.links a {
    color: var(--sec-text);
    letter-spacing: .5px;
    background: var(--link-bg);
    border-radius: 20px;
    padding: 1px 10px 2px;
    border: 1px solid var(--pun-bord);
}



#pun-index td div.tclcon ul.links a:hover {
    color: var(--navi-link);
    background: var(--accent);
}



.statscon .container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
}

.statsinfo {
  grid-column: 2;
  grid-row: 1 / 3;
}

#onlinelist.item5.onlinelist {
  grid-column: 1;
  grid-row: 1;
}

#onlinelist.item5.users_24h {
  grid-column: 1;
  grid-row: 2;
}

#pun-stats .statsinfo {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    flex-direction: column;
    align-items: flex-start;
}


#html-footer {
    margin-bottom: 0;
}




#pun-index .tcr {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 10px;
  align-items: start;
}
#pun-index .user-avatar {
  grid-column: 1;
  grid-row: 1 / 3; 
}

#pun-index .tcr > br {
  display: none;
}

#pun-index .tcr .lastpost-link {
  grid-column: 2;
  grid-row: 1;
  display: block;
}
#pun-index .tcr .lastpost {
    grid-column: 2;
    grid-row: 2;
    display: block;
    margin-top: -5px;
}




#pun-stats .statsinfo strong {
    color: var(--accent);
}

.post-author ul {
    margin: 40px 14px 14px;
    line-height: 160%;
    background: var(--profile-bg);
    padding: 10px;
}

/*Фоны*/
.post-author:after {
    content: '';
    display: block;
    top: 0px;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(https://forumstatic.ru/files/001c/c4/02/12312.png);
    z-index: -1;
}




/*Профиль*/
.pa-fld1 img {
    width: 30px;
}

.pa-fld1 {
    position: absolute;
    left: 50%;
    top: -23px;
    transform: translateX(-50%);
    background: var(--pun);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    border-radius: 100%;
    border: 1px solid var(--bord);
    align-items: center;
}


.punbb .post .container {
    margin: 30px 0 0 0;
}

.lz a.name {
    display: block;
    background: #ddd;
    font-family: var(--main-font);
    font-size: 10px;
    color: var(--sec-text) !important;
    padding: 2px 0;
    border: 1px solid var(--cat-bord);
}

.lz a.name:hover {
    background: var(--accent);
    color: var(--profile-bg) !important;
}

.lz p {
    padding: 0 !important;
    text-align: center;
    font-family: var(--main-font);
    margin: 6px 0;
    font-size: 9px!important;
}


.lz .fd {
    font-size: 10px;
    font-family: var(--main-font);
    color: var(--sec-text);
    font-weight: 600;
}

.lz {
    margin: 5px 0;
}


.lz .fd::after {
    content: '';
    background: var(--pun);
    height: 2px;
    display: block;
    border-radius: 2px;
    border: 1px solid var(--bord);
    opacity: .6;
}


.pa-posts, .pa-respect, .pa-fld4 {
    display: inline-block;
    padding: 5px;
    width: calc(40% - 15px);
    flex-direction: column;
    font-size: 9px;
    text-transform: lowercase;
}



.pa-posts .fld-name, .pa-respect .fld-name, .pa-fld4 .fld-name {
    line-height: 10px;
    font-weight: 600;
}


.pa-fld3 {
    margin: 0 0 -10px -10px;
        height: 32px;
    width: 202px;
}


.plank {
    height: 32px;
    position: relative;
    width: 202px;
    padding: 0 !important;
}

.ptext {
    padding: 0 !important;
    position: relative;
    z-index: 1;
    color: #fff !important;
    width: 202px;
    height: 32px;
    text-align: center;
    align-items: center;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.plank img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 202px;
    height: 32px;
}


.ptext span {
    text-transform: uppercase;
    font-family: inter;
    font-size: 8px;
    line-height: 8px;
}


.ptext p {
    text-transform: lowercase;
    font-family: inter;
    font-size: 8px;
    padding: 0 !important;
}


.punbb .code-box strong.legend {
    margin: 0 0 5px 0;
    padding: 2px 10px;
    display: block;
    background: #ffffff87;
}



/*Таблица*/
.best-ep {
    display: flex;
    position: absolute;
    flex-direction: column;
    /* border: 1px solid red; */
    top: 53px;
    left: 91px;
    height: 79px;
    gap: 4px;
    align-items: flex-start;
    transform: rotate(-1deg);
}


.best-ep span {
    padding: 2px 10px;
    background: #BFC2B0;
    border: 1px solid #E9E9E9;
    color: var(--tab-text);
    text-transform: uppercase;
    font-family: noto serif;
    font-size: 7px;
    border-radius: 4px;
}


.best-ep ep {
    display: block;
    font-family: var(--sec-font);
    font-size: 8px;
    letter-spacing: .3px;
    /* border: 1px solid red; */
    width: 122px;
    margin-top: 10px;
    text-align: center;
}


.best-ep ep a {
color: var(--tab-text) !important;
}


.best-ep ep a:hover {
color: var(--accent) !important;
}


.best-ep name {
    display: block;
    font-family: var(--sec-font);
    font-style: italic;
    font-size: 14px;
    /* border: 1px solid red; */
    width: 124px;
    text-align: center;
    margin-top: 3px;
}




.needed-span {
    position: absolute;
    /* border: 1px solid red; */
    top: 168px;
    left: 64px;
    height: 17px;
    transform: rotate(-1deg);
    width: 154px;
    background: #BFC2B0;
    border: 1px solid #E9E9E9;
    color: var(--tab-text);
    text-transform: uppercase;
    font-family: noto serif;
    font-size: 7px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.needed, .needed2, .needed3, .needed4  {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    position: absolute;
    top: 199px;
    /* border: 1px solid red; */
    left: 27px;
    width: 36px;
    height: 36px;
}


.needed div, .needed2 div, .needed3 div, .needed4 div    {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 100%;
}


.needed img, .needed2 img, .needed3 img, .needed4 img {
    filter: grayscale(100%);
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.needed div:after, .needed2 div:after, .needed3 div:after, .needed4 div:after {
    content: "";
    background: var(--accent2);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 100%;
    transition: all .6s ease-in-out 0s;
    mix-blend-mode: soft-light;
    opacity: .3;
}


.needed div:hover img, .needed2 div:hover img, .needed3 div:hover img, .needed4 div:hover img {
    filter: grayscale(100%);
}

.needed div:hover:after, .needed2 div:hover:after, .needed3 div:hover:after, .needed4 div:hover:after {
    opacity: 1;
}


.needed2 {
    left: 92px;
}


.needed3 {
    left: 156px;
}
.needed4 {
    left: 221px;
}


.best-post {
    display: flex;
    position: absolute;
    flex-direction: column;
    /* border: 1px solid red; */
    top: 275px;
    left: 70px;
    height: 131px;
    gap: 4px;
    align-items: flex-start;
    width: 170px;
}


.best-post span {
    padding: 1px 10px;
    background: #BFC2B0;
    border: 1px solid #E9E9E9;
    color: var(--tab-text);
    text-transform: uppercase;
    font-family: noto serif;
    font-size: 7px;
    border-radius: 4px;
    transform: rotate(-1deg);
    margin-left: -12px;
}


.best-post text {
    line-height: 13px;
    height: 100px;
    overflow-y: auto;
    margin: 5px;
    font-family: var(--main-font);
    font-size: 9px;
    text-align: justify;
    padding-right: 7px;
}


.best-post a {
    font-family: noto serif;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 600;
}


.best-activs {
    position: absolute;
    /* border: 1px solid red; */
    left: 939px;
    height: 65px;
    top: 117px;
    width: 89px;
    transform: rotate(-3.5deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    font-style: italic;
    font-family: noto serif;
}


.best-activs-s {
    position: absolute;
    /* border: 1px solid red; */
    top: 192px;
    left: 939px;
    height: 17px;
    width: 97px;
    background: #E6DED1;
    border: 1px solid #E3e3e3;
    color: var(--tab-text);
    text-transform: uppercase;
    font-family: noto serif;
    font-size: 7px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.best-activs2 {
    position: absolute;
    /* border: 1px solid red; */
    left: 1020px;
    height: 65px;
    top: 273px;
    width: 89px;
    transform: rotate(3.5deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    font-style: italic;
    font-family: noto serif;
}


.best-activs-s2 {
    position: absolute;
    /* border: 1px solid red; */
    top: 359px;
    left: 1024px;
    height: 17px;
    width: 97px;
    background: #E6DED1;
    border: 1px solid #E3e3e3;
    color: var(--tab-text);
    text-transform: uppercase;
    font-family: noto serif;
    font-size: 7px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Навигация */
.accordion {
    position: absolute;
    z-index: 9;
    top: 392px;
    left: 200px;
    height: 60px;
    align-items: center;
    width: 130px;
    font-size: 0;
}

.accordion-btn {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
    will-change: transform;
    cursor: pointer;
}
    
    /* Наклон влево на 10 градусов при наведении */
    .accordion-btn:hover {
        transform: rotate(-10deg);
    }

.accordion-btn span {
    padding: 1px 10px;
    background: #e6ded1;
    border: 1px solid #e3e3e3;
    color: var(--tab-text);
    text-transform: uppercase;
    font-family: noto serif;
    font-size: 7px;
    border-radius: 4px;
    transform: rotate(-3.5deg);
    margin-left: 23px;
    margin-top: -23px;
    position: absolute;
}


.accordion-btn imj {
    background: url(https://forumstatic.ru/files/001c/c4/02/58108.png);
    width: 124px;
    height: 71px;
    display: block;
}


    .accordion-btn.active {
        background-position-x: 100%;
    }

.accordion-content {
    background: var(--cat-bg);
    border-radius: 10px;
    position: absolute;
    bottom: 61px;
    width: 275px;
    border: 1px solid var(--cat-bord);
    z-index: 9999999;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transform-origin: bottom center;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    pointer-events: none;
}

    .accordion-content.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .content-grid {
        padding: 10px;
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }

.menu-link {
    text-align: center;
    color: #dadada !important;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--main-font);
    display: flex;
    justify-content: center;
    font-weight: 400;
    font-size: 9px;
    text-transform: uppercase;
    background: var(--accent2);
    flex: auto;
}

    .menu-link:hover {
        background: var(--accent);
    }




.go-up {
    background: url(https://forumstatic.ru/files/001c/c4/02/56360.png);
    height: 71px;
    width: 82px;
}

.go-down {
    background: url(https://forumstatic.ru/files/001c/c4/02/41253.png);
    height: 92px;
    width: 86px;
}



#viewprofile .container tr {
    display: flex;
    align-items: stretch;
}




#profile-left #profile-name { order: 1; }
#profile-left #profile-title { order: 2; }
#profile-left #pa-avatar { order: 3; }
#profile-left #pa-fld2 { order: 4; } /* теперь идёт после аватара */
#profile-left #pa-online { order: 5; }
#profile-left #pa-edit { order: 6; }


#profile-left #profile-name strong {
    text-align: center;
    position: relative;
    margin: 0;
    font-style: italic;
    font-size: 19px;
    font-family: noto sans;
    color: var(--accent) !important;
    padding: 0;
    font-weight: 400 !important;
}
#profile-left #profile-title strong {
    font-size: 9px;
    font-family: var(--main-font);
    letter-spacing: 0;
    text-align: center;
    margin: 0 !important;
    text-transform: lowercase;
    color: var(--sec-text);
    font-weight: 400 !important;
    padding: 0;
}


#profile-left #pa-avatar div {
    padding: 0;
    margin: 5px;
}

#profile-left #pa-fld2 span {
display: none;
}

#profile-left #pa-fld2 strong .lz {
    margin: 0 !important;
    padding: 0;
}

#profile-left #pa-fld2 strong .lz .fd {
    margin: 0;
    padding: 0 !important;
}

#profile-left #pa-fld2 strong .lz .fd::after {
    margin-top: 5px;
}

#profile-left #pa-online strong {
    font-weight: 300 !important;
    font-size: 8px;
    text-transform: uppercase;
}


span.day-month {
    font-size: 11px;
    font-family: 'Noto Serif Display';
    font-style: italic;
    color: var(--tab-text);
    font-weight: 600;
}

.news-content .title {
    font-family: var(--plash-font);
    font-style: italic;
    font-size: 11px;
    font-weight: 600;
}
.news-content .description {
    font-family: var(--main-font);
    font-size: 10px;
    text-transform: lowercase;
    color: var(--tab-text);
}


.news-badge {
  animation: gentle-pulse 2s ease-in-out infinite;
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 8px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 1px 6px;
    border-radius: 10px;
    font-family: var(--main-font);
    letter-spacing: 0.5px;
    box-shadow: 2px 2px 9px rgb(181 85 24 / 75%);
}

@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}


.banners-box {
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    margin: -125px 0 0px 0;
    /* border: 1px solid red; */
    left: 154px;
    height: 111px;
    width: 478px;
    overflow-y: auto;
    gap: 5px;
}


.banners-box img {
    opacity: .7;
    transition: all .7s ease-in-out 0s;
}

.banners-box img:hover {
    opacity: 1;
}

/*Переключение*/
#stylelist {
    gap: 0;
    margin: 0;
    padding: 0px;
    overflow: hidden;
    width: 121px;
    list-style-type: none;
    display: flex;
    height: 65px;
    flex-direction: row;
    opacity: 1;
    justify-content: flex-start;
    /* border: 1px solid red; */
}
#stylelist li[data="light"] a, #stylelist li[data="dark"] a {
    font-size: 0;
    display: flex;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    width: 57px;
    height: 55px;
    background: var(--day-butt);
}

#stylelist li[data="dark"] a {
    background: var(--night-butt);
    width: 61px;
    height: 61px;
    margin-left: -20px;
}


.des-swap {
    position: absolute;
    top: 397px;
    /* border: 1px solid red; */
    left: 641px;
    z-index: 4;
}

#stylelist li[data="light"] a,
#stylelist li[data="dark"] a {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

#stylelist li[data="light"] a:hover,
#stylelist li[data="dark"] a:hover {
  transform: translateY(-8px);
  animation: bounceUp 0.4s ease;
}

@keyframes bounceUp {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px); 
  }
  100% {
    transform: translateY(-8px); 
  }
}


/*Темное*/

.dark #pun-navlinks a {
    background: #343434;
}

.dark #pun-navlinks a:hover {
    background: #475160;
}


.dark .best-ep span,
.dark .needed-span,
.dark .best-post span,
.dark .best-activs-s,
.dark .best-activs-s2,
.dark .accordion-btn span {
    background: var(--cat-bg);
    border: 1px solid var(--cat-bord);
}


.dark #pun-announcement .container {
    border: 1px solid #C1AC99;
}

.dark .html-box a {
    border: 1px solid #C1AC99;
}

.dark .news-badge {
    background: #a36b4b;
    box-shadow: 2px 2px 9px rgb(152 104 76 / 64%);
}

.dark .accordion-btn imj {
    background: url(https://forumstatic.ru/files/001c/c4/02/55100.png);
}

.dark .forum tr {
    background: var(--pf-bg);
    border: 1px solid var(--bord);
}

.dark .lz a.name {
    background: var(--pf-bg);
    border: 1px solid var(--cat-bord);
}

.dark .punbb .post h3 span {
    background: var(--pf-bg);
    border: 1px solid var(--bord);
}

.dark .punbb .code-box strong.legend {
    background: var(--pf-bg);
}

.dark .button {
    background-color: var(--bord) !important;
}

.dark .button:hover {
    background-color: #605f5f !important;
}

.dark #viewprofile #profile-left {
    background: #4e4e4e;
}




/* ==========================================================
   Universal Forum Night Dimmer
========================================================== */

#night-dimmer-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transition: opacity .2s ease;
}

/* button */
#night-dimmer-btn {
    position: absolute;
    width: 31px;
    height: 31px;
    top: 20px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000000;
    right: 20px;
    font-size: 20px;
    transition: background .2s ease, transform .15s ease;
    background: #BFC2B0;
    border: 1px solid #E9E9E9;
    color: var(--tab-text);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#night-dimmer-btn:hover {
  transform: translateY(-8px);
  animation: bounceUp 0.4s ease;
}






/* modal */
#night-dimmer-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
  z-index: 1000001;
}

#night-dimmer-box {
    position: relative;
    background: var(--tab-text);
    padding: 22px 24px;
    border-radius: 10px;
    width: 260px;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    color: var(--cat-bord);
    text-align: center;
    border: 1px solid var(--sec-text);
}

#night-dimmer-title {
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: .5px;
    opacity: .8;
    text-transform: lowercase;
    font-family: var(--main-font);
}

#night-dimmer-slider {
  width: 100%;
  margin: 10px 0;
}

#night-dimmer-percent {
  font-size: 13px;
  opacity: .7;
  margin-top: 6px;
}

#night-dimmer-close {
    position: absolute;
    top: 10px;
    right: 14px;
    cursor: pointer;
    opacity: 1;
    font-size: 13px;
    transition: opacity .2s ease;
    font-family: var(--main-font);
    background: var(--accent2);
    width: 17px;
    height: 17px;
    border-radius: 3px;
    color: var(--link-bg);
}

#night-dimmer-close:hover {
  opacity: 1;
}


.dark #night-dimmer-btn {
    background: var(--bord);
    border: 1px solid var(--cat-bg);
    color: var(--tab-text);
}

.dark #night-dimmer-box {
    background: var(--link-bg);
    color: var(--tab-text);
    border: 1px solid var(--cat-bg);
}

.dark #night-dimmer-close {
    background: var(--bord);
    color: var(--tab-text);
}

.dark .lz a.name:hover {
    background: var(--bord);
    color: var(--tab-text) !important;
}

#pun-viewtopic #pun-main {
    background: var(--pf-bg);
    padding: 20px 30px;
    color: var(--text);
    position: relative;
    margin-top: 0;
    border: 1px solid var(--bord);
}


.dark .menu-link {
    background: var(--bord);
}

.dark .menu-link:hover {
    background: var(--cat-bord);
}




/*Перенесено */

/*****************
Стиль "Тихой Цитаты"
*****************/
.quiet-quote{
  position:relative;
  display: table;
  margin: 4px 15px 0px 19px!important; /*Отступы*/
  font-style: italic;
  font-size: 11px;
  color: #695f5f;
  /*text-align:justify;
  border:red solid 1px;*/
}
.quiet-quote>p{
  line-height:normal!important;
}
.quiet-quote:before, /*Шрифт, Цвет, Размер иконок*/
.quiet-quote:after{
  font-size: 17px;
  display: inline-block;
  position:absolute;
  z-index:1000;
  font-weight: 900;
  color: #695f5f; /*Цвет Кавычек*/
  font-family:System, Arial, sans-serif;
}
.quiet-quote:before{
  content: "\201C";  /*Код левой кавычки к Тихой цитате*/
  left:-13px;
  top:5px;
}
/*Код правой кавычки к Тихой цитате
Cкрыл Правую кавычку
.quiet-quote:after{
  content: "\201D"; 
  right: -15px;
  bottom: -20px;
} */  
/*************************
/END//Стиль "Тихой Цитаты"
*************************/

.reveal-modal-bg { 
	position: fixed; 
	height: 100%;
	width: 100%;
	background: #000;
	background: rgba(0,0,0,.8);
	z-index: 100;
	display: none;
	top: 0;
	left: 0; 
	}
.reveal-modal {
	visibility: hidden;
	top: 100px; 
	left: 50%;
	width: fit-content;
	position: absolute;
	z-index: 101;
	transform: translateX(-50%);
	}

	
.reveal-modal .close-reveal-modal {
	font-size: 22px;
	line-height: .5;
	position: absolute;
	top: 8px;
	right: 11px;
	color: #aaa;
	text-shadow: 0 -1px 1px rbga(0,0,0,.6);
	font-weight: bold;
	cursor: pointer;
        text-decoration: none;
}
.menu span {
    cursor: pointer;
    display: block;
    margin: 7px 0;
    padding: 11px;
    text-align: left;
    width: 150px;
}
.menu-links {
    float: left;
    margin-right: 15px;
}
#submenu {
    display: inline-block;
}
#submenu, .menu span {
        border-radius: 5px;
	background: #efeff0;
}
.menu .tabactive {
	color: #000000;
        background: #777777;
}
#submenu {
	padding: 7px;
	height: 180px;
	font-size: 12px;
	width: 595px;
}    
.submenutext {
	display: none; 
	height: 40px;
}

/*ls*/

.ls {
padding: 20px;
width: 1036px;
height: 990px;  
background: #e8e8e8;
box-sizing: border-box;
margin: 0 auto;  
}

.ls_content {
    background: #d4d4d0;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.ls_top {
    background: url(https://forumstatic.ru/files/0019/d4/9a/91059.jpg) no-repeat top center;
    padding: 25px 0 0 20px;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.ls_top h5 {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.ls_icon {
    border-radius: 100%;
    background: #e8e8e8;
    border: 1px solid #9d9d9d;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25), inset 0 0 4px 0 rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls_icon img {
    max-width: 20px;
    max-height: 20px;
}

.ls_info span {
    box-shadow: inset 1px 1px 0 0 rgba(0, 0, 0, 0.75), 1px 1px 0 0 rgba(133, 143, 119, 0.5);
    background: #292f22;
    border-radius: 25px;
    padding: 5px 10px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    text-transform: lowercase;
    color: #e8e8e8;
    display: inline-block;
}

.ls_ava {
    border: 1px solid #fff;
    width: 180px;
    height: 180px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ls_ava img {
    max-width: 100%;
    max-height: 100%;
}

.ls_info {
    height: 104px;
}

.ls_info p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-transform: lowercase;
    text-align: justify;
    color: #464646;
    max-height: 60px;
    overflow: auto;
}

.ls_bottom {
    display: flex;
    justify-content: space-between;
}

.ls_side {
    padding: 9px 0 9px 11px;
    width: 467px;
    height: 638px;
    background: #e8e8e8;
    box-sizing: border-box;
}

.ls_side_inner {
    height: 620px;
    overflow: auto;
}

.punbb .social {
    display: none;
    }

.spisok_rol, .tvin {
    background: var(--pun-bg);
    border-radius: 20px;
    margin: auto !important;
width: 600px;
}


/* Модальное окно для быстрого редактирования доп.полей @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: 800px;
    height: 85vh;
    background: #050505;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#profileInfoModal .modal-header {
    padding: 7px 16px 0px 16px;
    background: #050505;
    font-weight: bold;
    color: #b9bc9f;
    text-align: center;
}
#profileInfoModal .modal-close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    color: #b9bc9f;
    margin-top: -6px;
    margin-bottom: 2px;
}
#profileInfoModal .modal-body {
    flex: 1;
    overflow: hidden;
}
#profileInfoModal iframe {
    width: 100%;
    height: 100%;
    border: none;
}



.punbb .category {
    margin-top: 14px;
}



/*Внехи*/
.face-list {
    background: url(https://forumstatic.ru/files/001c/c4/02/92805.png);
    width: 980px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 550px;
}
.face-card {
    background: #f7f7f4;
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 236px;
    box-sizing: border-box;
}

.f-list > fandom a {
    color: #ffffff !important;
}

.fl-s {
    overflow-y: auto;
}

.face-card > span {
    display: block;
    font-family: var(--main-font);
    font-size: 31px;
    font-weight: 700;
    color: #696969;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.f-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.face-card > .f-list:last-child {
    margin-bottom: 0;
}

.f-list > fandom {
    display: block;
    background: #b08b55;
    color: #ffffff;
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 4px;
    width: auto;
    text-align: center;
    margin-bottom: 9px;
    letter-spacing: 1px;
}

.f-list > list {
    display: block;
    width: 100%;
    text-align: left;
}

.f-list > list > em {
    display: block;
    font-family: var(--main-font);
    font-size: 10px;
    color: #4a4a55;
    font-style: normal !important;
    text-transform: lowercase;
}



/*Правила*/
.rules {
    background: url(https://forumstatic.ru/files/001c/c4/02/86747.png);
    width: 980px;
    height: 627px;
    display: flex;
    padding: 20px;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
}


.r-block {
    background: #E7E7E7;
    border: 1px solid #9E7946;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.r-block span {
    font-family: var(--main-font);
    font-size: 16px;
    color: #9E7946;
    font-weight: 600;
}


.r-block text {
    white-space: break-spaces;
    color: #4c4c4c;
}



/*Новости*/
.durka-news {
    position: relative;
    z-index: 1;
    width: 970px;
    height: auto;
    display: flex;
    gap: 20px;
    background: url(https://forumstatic.ru/files/001c/c4/02/51055.png?v=1) top no-repeat, #DDDDDD;
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.durka-left-col {
    width: 580px;
    height: auto;
    background: #E7E7E7;
    padding: 20px 25px 0 25px;
    position: relative;
    margin-top: 112px;
    margin-left: 34px;
}

.durka-main-title-badge {
    border: 2px solid #e9e9e9e9;
    background: #BFC2B0;
    color: #262626;
    padding: 4px 10px;
    border-radius: 10px;
    display: inline-block;
    font-size: 17px;
    font-weight: normal;
    font-family: var(--main-font);
    position: absolute;
    top: -53px;
    left: 0;
    transform: rotate(-2deg);
}

.durka-sub-title-badge {
    position: absolute;
    color: var(--cat-bord);
    padding: 3px 15px 4px;
    background: #74683d;
    display: inline-flex;
    text-transform: lowercase;
    border-radius: 15px;
    border: 1px solid #fff;
    margin: -30px 0 0 0;
}

.durka-news-item {
    font-size: 11px;
    text-align: justify;
    overflow-y: auto;
    height: auto;
    /* border: 1px solid red; */
    white-space: break-spaces;
    text-transform: none;
    overflow-x: hidden;
}


.durka-right-col {
    width: 325px;
    height: auto;
    /* background: #E7E7E7; */
    /* padding: 20px 25px 0 25px; */
    position: relative;
    margin-top: 112px;
    margin-right: 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.durka-widget-section {
    background: #E7E7E7;
    padding: 16px 18px 13px 18px;
}
    
.durka-badge-title {
    position: absolute;
    color: var(--cat-bord);
    padding: 3px 15px 4px;
    background: #74683d;
    display: inline-flex;
    text-transform: lowercase;
    border-radius: 15px;
    border: 1px solid #fff;
    margin: -30px 0 0 0;
}

    .durka-regulars-grid {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 5px;
    }

    .durka-regular-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
    }

.durka-regular-img {
    width: 58px;
    height: 58px;
}

.durka-regular-img div img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

    .durka-regular-name {
        font-family: 'Times New Roman', serif;
        font-style: italic;
        color: #888888;
        font-size: 13px;
    }

    .durka-active-users {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

.durka-pill {
    background-color: #e5e5e5;
    padding: 2px 14px;
    border-radius: 30px;
    color: #777777;
    font-style: italic;
    font-size: 13px;
    font-family: var(--sec-font);
    border: 1px solid #d8d8d8;
}

.durka-episode-title {
    font-style: italic;
    font-size: 16px;
    text-align: center;
    font-family: var(--sec-font);
    display: block;
    margin-top: 2px;
}
.durka-best-post-text {
    font-size: 11px;
    color: #444444;
    font-family: var(--main-font);
    padding: 0 !important;
}

.durka-best-post-name {
    font-style: italic;
    color: #b85f3a;
    display: block;
    font-family: var(--sec-font);
    font-size: 14px;
    margin-top: 4px;
    text-align: right;
}




.dark .gb-links a {
    color: #f0dcc2 !important;
    background: #444444;
}

.dark .gb-ams a {
    background: #615931;
    border: 1px solid #c3c3c2;
}



.dark .gb-ams span {
    color: #F0DCC2;
    background: #444444;
}

.dark .gb-list {
    background: #535151;
    border: 1px solid #D0D0D0;
}

.dark .gb-list span, .dark .gb-list data, .dark .gb-need span {
    background: #343434;
    color: #eeeded;
}


.dark .durka-news {
    background: url(https://forumstatic.ru/files/001c/c4/02/25969.png) top no-repeat, #535151;
}

.dark .durka-main-title-badge {
    border: 2px solid #8e8e8e;
    background: #595959;
    color: #E8E8E7;
}

.dark .durka-sub-title-badge,
.dark .durka-badge-title {
    color: #F0F0F0;
    background: #343434;
    border: 1px solid #535151;
}


.dark .durka-left-col,
.dark .durka-widget-section {
    background: #3E3E3E;
}


.dark .durka-pill {
    background-color: #343434;
    border: 1px solid #524f4f;
}


.dark .durka-best-post-text {
    color: #d9d9d9;
}


.durka-news a {
    font-weight: 400 !important;
}



/* гостевая - форма придержания / legume*/
#role-reservation-box {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 6px;
    background: rgba(128, 128, 128, 0.05);
    clear: both;
    position: absolute;
    top: 137px;
    width: 303px;
    left: 200px;
}


h3.role-res-title {
    margin: 9px 0 !important;
    color: #fff !important;
    font-family: var(--main-font);
    font-weight: 400 !important;
}


.role-res-grid {
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 5px !important;
    flex-wrap: wrap;
}

.role-res-input {
    flex: auto;
    padding: 5px !important;
    border: 1px solid rgba(128,128,128,0.4) !important;
    border-radius: 4px;
    box-sizing: border-box;
    background: var(--quote) !important;
    color: var(--sec-text) !important;
    text-transform: lowercase;
    width: 80px;
    font-size: 10px !important;
    font-family: var(--main-font) !important;
}
#res_char.role-res-input {
    flex: auto;
}



.role-res-button {
    flex: 1 1 100%;
    cursor: pointer;
    transition: all .2s linear 0s;
    border: none !important;
    box-shadow: none !important;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-size: 8px;
    color: #e8e8e8 !important;
    background: var(--tab-text);
    padding: 3px 10px 4px;
    border-radius: 4px;
    text-align: center;
    font-weight: 400 !important;
    letter-spacing: .5px;
}
.role-res-button:hover {
    background: var(--accent2);
}












/*Страница*/

.durka-main-wrapper {
    width: 966px;
    margin: 0;
    padding: 20px 6px;
    display: flex;
    gap: 10px;
    background: url(https://forumstatic.ru/files/001c/c5/d9/12911.png) top no-repeat, #DDD;
    height: 664px;
    border: 1px solid #ddd;
}

.durka-sidebar-left {
    background: #E7E7E7;
    width: 210px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 80px;
    height: 554px;
    position: relative;
    border: 1px solid #D2D2D2;
    padding: 13px;
}

.durka-profile-card {
    background: #e7e7e7;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #D2D2D2;
}

.durka-avatar-placeholder {
    width: 100px;
    height: 100px;
    background-color: #555555;
    border-radius: 8px;
    margin: -64px auto 9px;
    display: block;
    border: 1px solid #ddd;
    flex-shrink: 0;
    overflow: hidden;
}

.durka-username-text {
    display: block;
    width: 100%;
    padding: 8px;
    background: #615931;
    color: #ddd;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 7px;
    font-family: var(--main-font);
    font-size: 10px;
}

.durka-section-title {
    color: #454545;
    font-style: italic;
    text-align: center;
    margin-bottom: 10px;
    font-family: var(--plash-font);
    font-size: 14px;
}

.durka-list-content {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 11px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: var(--main-font);
    height: 60px;
    overflow-y: auto;
}

        .durka-list-content li::before {
            content: "•";
            color: #6b6b3d;
            margin-right: 5px;
        }

.durka-episode-card {
    border: 1px solid #cbcbcb;
    background: #FBFBFB;
    padding: 4px 10px;
    margin: 0px;
    border-width: 1px;
}


.durka-episode-desc {
    font-size: 10px;
    color: var(--sec-text);
}

.durka-hidden-awards {
    display: none;
    background: #ddd;
    padding: 15px;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #d2d2d2;
    margin: 0;
    position: absolute;
    left: 0;
    width: 200px;
    top: auto;
    bottom: 52px;
}

        .durka-hidden-awards.durka-active {
            display: block;
        }

.durka-awards-images {
    display: flex;
    flex-direction: row;
    gap: 6px;
    flex-wrap: wrap;
}

.durka-awards-image-item {
    width: 50px;
    height: auto;
    border-radius: 4px;
}

.durka-left-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background: #615931;
    color: #ddd;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    font-family: var(--main-font);
    font-size: 10px;
    margin-top: auto;
}

        /* Центральная колонка */
        .durka-center-column {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

.durka-row {
    position: relative;
    display: flex;
    gap: 9px;
    margin-top: 140px;
}

.durka-header-title {
    margin-top: -11px !important;
    margin-bottom: 0;
    display: block;
    width: auto;
    padding: 3px 18px;
    background: #615931;
    color: #ddd;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    font-family: var(--main-font);
    font-size: 10px;
    border: 1px solid #ddd;
    text-align: center;
}
.durka-gray-container {
    padding: 0;
    position: relative;
    background: #E7E7E7;
    border: 1px solid #D2D2D2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    height: 245px;
}

.durka-twin-block {
    margin: 10px;
    height: 220px;
    width: 230px;
    overflow-y: auto;
    padding-right: 5px;
}

.durka-twin-list {
    list-style: none;
    padding: 0;
    font-size: 10px;
    line-height: 2;
    color: #333;
}

.durka-twin-list li {
    display: block;
    justify-content: flex-start;
}
        /* Фоны профиля */
.durka-profile-bg-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 9px;
    height: 210px;
    margin-top: 10px;
}

        .durka-img-placeholder {
            width: 100%;
            height: 120px;
            background-color: #1a1a1a;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
            font-size: 12px;
        }

.durka-plashki-block {
    height: 197px;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 0 0;
    overflow-y: auto;
    padding-right: 5px;
}

        .durka-plashka-item {
            background-color: #1a1a1a;
            padding: 15px;
            border-radius: 4px;
            text-align: center;
            color: white;
        }

.durka-page-bg-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    overflow-y: auto;
    height: 197px;
    padding-right: 5px;
}
.durka-page-bg-block img {
    width: 220px;
}


.durka-sidebar-right {
    background: #E7E7E7;
    width: 210px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 80px;
    height: 554px;
    position: relative;
    border: 1px solid #D2D2D2;
    align-items: center;
}


.durka-header-title-aw {
    margin-top: -11px !important;
    margin-bottom: 0;
    display: block;
    width: auto;
    padding: 3px 18px;
    background: #615931;
    color: #ddd;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    font-family: var(--main-font);
    font-size: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.durka-award-item {
    border: 1px solid #D0C6BA;
    display: flex;
    align-items: center;
    background: #DDD9D7;
    border-radius: 10px;
    width: 200px;
    height: 75px;
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}

        .durka-award-title {
            font-weight: bold;
            text-transform: uppercase;
            font-size: 14px;
            margin-bottom: 2px;
        }

.durka-award-desc {
    font-size: 11px;
    color: var(--text);
    line-height: 1.3;
    z-index: 2;
    position: relative;
}

.durka-award-num {
    line-height: 1;
    margin-left: 10px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    color: #9e7946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 127px;
    opacity: 0.5;
    z-index: 1;
}




.durka-main-wrapper .durka-episode-title {
    font-size: 11px;
    text-align: left;
    font-family: var(--main-font);
    display: block;
    margin-top: 2px;
    color: #9E7946;
    font-style: normal;
}



.durka-row2 {
    position: relative;
    display: flex;
    gap: 9px;
    margin-top: 0;
}

.durka-row2 .durka-gray-container {
    padding: 0;
    position: relative;
    background: #E7E7E7;
    border: 1px solid #D2D2D2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    height: 231px;
}


.durka-profile-bg-block img {
    width: 220px;
}
.durka-awards-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 5px;
}



/*Страница темная*/
.dark .durka-main-wrapper {
    background: url(https://forumstatic.ru/files/001c/c5/d9/17745.png?v=1) top no-repeat, #4c4c4c;
    border: 1px solid #3e3e3e;
}

.dark .durka-sidebar-left,
.dark .durka-gray-container, 
.dark .durka-row2 .durka-gray-container,
.dark .durka-sidebar-right {
    background: #535151;
    border: 1px solid #404040;
}


.dark .durka-username-text,
.dark .durka-header-title,
.dark .durka-header-title-aw,
.dark .durka-left-btn {
    background: #444444;
    color: #D5D5D5;
    border: 1px solid #404040;
}


.dark .durka-section-title {
    color: #EFB682;
}

.dark .durka-list-content {
    color: #C5C5C5;
}

.dark .durka-episode-card {
    border: 1px solid #C1AC99;
    background: #444444;
}

.dark .durka-award-item {
    border: 1px solid #9e794645;
    background: #2E2E2E;
}


.guestbook::after {
    content: 'я под столом';
    font-family: var(--main-font);
    color: #fff;
    font-size: 7px;
    transform: rotate(10deg);
    display: block;
    position: absolute;
    bottom: 27px;
    right: 159px;
}

.dark .gbl {
    color: #C8C8C8;
}


.dark .role-res-input {
    color: #e8e8e8 !important;
}

.dark .role-res-button {
    background: var(--bord);
}


.dark .face-card {
    background: var(--bord);
}

.dark .f-list > list > em {
    color: var(--navi-link);
}


/* ====== СТИЛИ ДЛЯ ГЕНЕРАТОРА ОРГ-КОДОВ ====== */

/* Оверлей (затемнение фона) */
.anketa-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

/* Диалоговое окно */
.anketa-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -135px 0px 0px -384px;
    width: 768px;
    z-index: 10000;
    box-shadow: rgb(34, 34, 34) 0px 0px 40px;
    background: var(--pun);
    border-radius: 8px;
    font-family: "Golos Text", sans-serif;
}

/* Внутреннее содержимое диалога */
.anketa-dialog-content {
    padding: 25px;
    text-align: center;
}

/* Заголовок диалога */
.anketa-dialog-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 500;
    font-family: "Golos Text", sans-serif;
}

/* Контейнер кнопок в диалоге */
.anketa-dialog-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Уведомления */
.anketa-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-family: "Golos Text", sans-serif;
}

/* Уведомления об ошибке */
.anketa-notification-error {
    background: #dc3545;
}

/* Подсветка текстового поля */
.anketa-textarea-highlight {
    border: 2px solid #28a745 !important;
}

/* Анимация для уведомлений */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}



#pun-edit .post-box {
    padding: 10px 20px;
    background: var(--pf-bg);
    border: 1px solid var(--bord);
}



#font-area {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    overflow-y: auto;
}


#font-area div {
    flex: 1;
    background: var(--pf-bg);
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid var(--bord);}

#font-area div {
    background: var(--pf-bg);
    padding: 3px 10px  4px !IMPORTANT;
    border: 1px solid var(--bord);
    text-align: left;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    transition: background-color 0.2s, border-color 0.2s;
    border-radius: 10px;
}









.rsp_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    flex-direction: row-reverse;
}



.punbb .post-rating a:hover:before, .punbb .post-vote a:hover:before {
    color: var(--text);
}

.punbb .post-rating a:hover:before {
    color: var(--text) !important;
}

.punbb .post-vote a {
    color: transparent !important;
    height: auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    align-self: stretch;
    font-size: 0 !important;
}

.punbb .post-rating a {
    height: auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    color: var(--text) !important;
    gap: 5px;
}



.punbb .post-rating a:before {
    content: "\f004";
    font: 10px FontAwesome;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all .4s linear 0s;
    color: var(--accent);
}


.punbb .post-rating p, .punbb .post-vote {
    line-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 0 10px;
    margin: 0 !important;
    background: var(--quote);
    align-self: stretch;
    border-radius: 5px;
    color: var(--text);
    font-family: var(--main-font);
    font-size: 7px;
}


.punbb .post-vote .container {
    margin-right: 0 !important;
    margin: 0;
    padding: 0 !important;
}

.punbb .post-vote a:before {
    content: "\f075";
    font: 10px FontAwesome;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all .4s linear 0s;
    color: var(--sec-text);
}

#button-dice::before {
    content: '\f522';
}


#button-dice::after {
    display: none;
}



/*Страницы форма*/
/* ===== Основной контейнер ===== */
.yp-form-container {
    background: var(--quote);
    padding: 20px;
    border-radius: 0;
    border: 1px solid var(--bord);
}

.yp-form-container h2,
.yp-form-container h3 {
    margin-top: 0;
}

/* ===== Поля формы ===== */
.yp-form-group {
    margin-bottom: 15px;
}

.yp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.yp-form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--bord);
    border-radius: 4px;
    background: var(--pf-bg);
    box-sizing: border-box;
}

/* ===== Кнопки добавления ===== */
.yp-btn {
    background: var(--accent);
    color: var(--navi-link);
    padding: 8px 10px;
    border: none;
    cursor: pointer;
    font-size: 11px;
    margin-bottom: 10px;
    font-family: var(--main-font);
}

.yp-btn:hover {
    opacity: 0.9;
}

.yp-btn-danger {
    background: var(--sec-text);
    width: 18px;
    height: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* ===== Кнопка генерации ===== */
.yp-btn-generate {
    width: 100%;
    padding: 15px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    margin-top: 20px;
    color: var(--navi-link);
    border: none;
    cursor: pointer;
    background: var(--accent2);
    font-family: var(--main-font);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.yp-btn-generate:hover {
    background-color: #96a87d;
}

/* ===== Повторяющиеся блоки ===== */
.yp-repeatable-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative;
}

.yp-repeatable-item input {
    margin-bottom: 10px;
}

.yp-row-inputs {
    display: flex;
    gap: 10px;
}

.yp-row-inputs > div {
    flex: 1;
}

/* ===== Textarea для вывода ===== */
textarea#yp-output {
    width: 100%;
    height: 150px;
    font-family: var(--main-font);
    margin-top: 10px;
    border: 1px solid var(--bord);
    border-radius: 4px;
    padding: 10px;
    box-sizing: border-box;
    background: var(--quote);
}

/* ===== Тёмная тема ===== */
.dark .yp-btn {
    background: var(--bord);
    color: var(--navi-link);
}

.dark .yp-repeatable-item {
    background: var(--cat-bg);
    border: 1px solid var(--bord);
    color: var(--navi-link);
}

.dark .yp-btn-danger {
    background: var(--bord);
}

.dark .yp-btn:hover {
    opacity: 0.9;
}

.dark .yp-btn-generate {
    background: var(--bord);
}


/*КОнец формы*/



.durka-avatar-placeholder img{
    object-fit: cover;
    object-position: center;
    width: 100px;
}


.ep-list {
    display: flex;
    flex-direction: column;
    height: 270px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    gap: 5px;
}

.durka-awards-image-item img {
    width: 50px;
}


.dur-ka-head {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
}


.dur-ka-head-img{
    position: absolute;
    background-image: url('https://upforme.ru/uploads/001c/b1/c6/8/928073.png');
    width: 964px;
    height: 200px;
    left: 1px;
    top: 1px;
}


#dice-form button {
    color: var(--navi-link) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    font-family: var(--main-font) !important;
    font-size: 10px !important;
    padding: 5px 10px !important;
    background: var(--accent2) !important;
    border: none !important;
}

#dice-form button:hover {
opacity: .8;
}

div[onclick="bbcode('[html]','[/html]');"] {
    display: none;
}


td.notification-item  {
    border-style: solid none none solid;
    border-width: 1px 0 0 1px;
    padding: 20px !important;
}


.pa-last-visit {
display: none;
}


.stickytext, .closedatafield {
display:  none;
}