/**************************************************************
* LEGUME FOR NOTACROSS
* 12.2025
**************************************************************/

@charset "windows-1251";
@import url('style_cs.1766969216.css');

/* Import
-------------------------------------------------------------*/

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

/* Design Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700&family=Open+Sans:wght@300;400;600;700&family=Lato:wght@300;400;700&family=Montserrat:wght@300;400;500;700&family=PT+Sans:wght@400;700&family=PT+Serif:wght@400;700&family=Roboto+Slab:wght@300;400;700&family=Noto+Sans:wght@300;400;700&family=Russo+One&family=Oswald:wght@300;400;700&family=Alegreya:wght@200;400;700&family=Comforter&family=Great+Vibes&family=Andika:wght@400;700&family=Caveat&family=Playfair+Display:wght@400;700&family=Merriweather:wght@300;400;700&family=Roboto+Condensed:wght@300;400;700&family=Source+Sans+Pro:wght@300;400;600;700&family=Poppins:wght@300;400;500;700&family=Forum&display=swap&subset=cyrillic');


@font-face {
  font-family: "Yauza";
  src:
    url("https://forumstatic.ru/files/001c/98/41/23692.woff2") format("woff2"),
    url("https://forumstatic.ru/files/001c/98/41/71535.woff") format("woff"),
    url("https://forumstatic.ru/files/001c/98/41/43656.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;

}

:root, .beige {
    /* ===========================
       BASIC
    =========================== */
    --bg-image: url('https://notafiles.ru/nota/ui/02/1/bg.jpg');
    --bgnav: url('https://notafiles.ru/nota/ui/02/1/navlinks.png');
    --header: url('https://notafiles.ru/nota/ui/02/1/header.jpg');
    --bpost: url('https://notafiles.ru/nota/ui/02/1/post.png');
    --music: url('https://notafiles.ru/nota/ui/02/1/music.png');
    --catbg: url('https://notafiles.ru/nota/ui/02/1/cat.jpg');
    --catblur: url('https://notafiles.ru/nota/ui/02/1/fishes-blur.jpg');
    --noise: url('https://notafiles.ru/nota/ui/02/noise.png');
    --fishes: url(https://notafiles.ru/nota/ui/01/01/fishes.png);
    --fishes-black: url(https://notafiles.ru/nota/ui/01/fishes_black.png);
    --litter: url(https://forumstatic.ru/files/001c/57/ad/45275.jpg);
    --base-profile: url(https://forumstatic.ru/files/001c/57/ad/78733.jpg);

    --font: 'Roboto', arial, helvetica, sans-serif;
    --font1: verdana, 'Roboto', arial, helvetica, sans-serif;
    --font2: 'Roboto Slab', georgia, 'Times New Roman', serif;
    --font3: 'Open Sans', verdana, arial, helvetica, sans-serif;
    --font4: 'Yauza', verdana, arial, helvetica, sans-serif;
    --fa: 'Font Awesome 6 Pro';

    --bgcolor: 131, 124, 118;
    --text: 30, 30, 30;
     --pun-outer: 28, 26, 24, 0.5;
     --ulinks-bg: 24, 20, 19;
    --pun: 178, 176, 175;
    --navlinks: 178, 176, 175;
    --navlinks-bg: 18, 18, 18;
    --catbody: 187, 185, 184;
    --input: 200, 200, 200;
    --p-link: #a1a1a1;
    --button: 93, 67, 44;
    --button-h: 109, 82, 58;
    --pun-light: 190, 190, 190;
    --white: 256, 256, 256;
    --black: 0, 0, 0;
    --moon-bg: #393837;
    --gr-shop: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(203 202 201));

    --width: 1170px;
    --p-outer: 30px;
    --h-height: 380px;
    --b1: 8px;

    --acc1: 91, 44, 31;
    --acc2: 81, 34, 20;
    --acc3: 73, 73, 73;
    --acc4:  83, 83, 83;
    --acc5: 153, 153, 153;
    --acc6: 175, 175, 175;
    --acc7: 256, 256, 256;
    --acc8: 153, 73, 43; 

    --glass-warm-bg-top: rgb(47 43 40 / 45%);
    --glass-warm-bg-top: rgb(47 43 40 / 45%);
    --glass-text-color: rgb(232 232 232 / 50%);
  --glass-blur: 6px;
  --glass-shadow-outer:
    0 4px 10px rgba(0, 0, 0, 0.35);
  --glass-shadow-inner:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  --glass-font-size-xs: 10px;
  --glass-radius-sm: 8px;
  --scrollbar-size: 4px;
  --scrollbar-track-bg: rgba(255, 255, 255, 0.03);
  --scrollbar-thumb-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.08)
  );

  --scrollbar-thumb-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 6px rgba(0, 0, 0, 0.35);
  --scrollbar-radius: 10px;
  --glass-divider-height: 1px;
  --glass-divider-gradient: linear-gradient(90deg, rgb(104 104 104), rgba(255, 255, 255, 0))
  --glass-divider-glow:
    0 0 8px rgba(180, 110, 70, 0.35);
}

 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */

.blue {
    --bg-image: url('https://notafiles.ru/nota/ui/02/2/bg.jpg');
    --header: url('https://notafiles.ru/nota/ui/02/2/header.jpg');
    --bpost: url('https://notafiles.ru/nota/ui/02/2/post.png');
    --music: url('https://notafiles.ru/nota/ui/02/2/music.png');
    --catbg: url('https://notafiles.ru/nota/ui/02/2/cat.jpg');;


    --bgcolor: 122, 126, 129;
    --text: 30, 30, 30;
     --pun-outer: 17, 17, 17, 0.4;
     --ulinks-bg: 24, 20, 19;
    --pun: 169, 169, 169;
    --navlinks: 109, 114, 120;
    --navlinks-bg: 18, 18, 18;
    --catbody: 190, 190, 190;
    --input: 200, 200, 200;
    --p-link: #a1a1a1;
    --button: 93, 67, 44;
    --button-h: 109, 82, 58;
    --pun-light: 190, 190, 190;

    --acc1: 60, 94, 115;
    --acc2: 83, 115, 135;
    --acc3: 82, 82, 82;
    --acc4: 51, 51, 51;
    --acc5: 153, 153, 153;
    --acc6: 175, 175, 175;
    --acc7: 256, 256, 256;
    --acc8: 58, 122, 134; 
}

 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */

.violet {
    --bg-image: url('https://notafiles.ru/nota/ui/02/3/bg.jpg');
    --bgnav: url('https://notafiles.ru/nota/ui/02/3/navlinks.png');
    --header: url('https://notafiles.ru/nota/ui/02/3/header.jpg');
    --bpost: url('https://notafiles.ru/nota/ui/02/3/post.png');
    --music: url('https://notafiles.ru/nota/ui/02/3/music.png');
    --catbg: url('https://notafiles.ru/nota/ui/02/3/cat.jpg');
    --fishes: url(https://notafiles.ru/nota/ui/01/03/fishes.png);

    --catblur: #0c0c0c;
    --bgcolor: 19, 19, 19;
    --text: 170, 170, 170;
     --pun-outer: 7, 7, 7, 0.4;
     --ulinks-bg: 10, 10, 10;
    --pun: 20, 20, 20;
    --navlinks: 136, 136, 136;
    --navlinks-bg: 10, 10, 10;
    --catbody: 0, 0, 0, 0;
    --input: 30, 30, 30;
    --p-link: #a1a1a1;
    --button: 93, 67, 44;
    --button-h: 103, 77, 54;
    --pun-light:  20, 20, 20;
    --moon-bg: #252328;

    /* ===========================
       ACCENT
    =========================== */
    --acc1: 107, 115, 155;
    --acc2: 158, 165, 199;
    --acc3: 160, 160, 160;
    --acc4: 180, 180, 180;
    --acc5: 153, 153, 153;
    --acc6: 175, 175, 175;
    --acc7: 0, 0, 0;
    --acc8: 118, 110, 225;  
    --glass-shadow-inner:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */
 /* ==================================== */

.green {
    --bg-image: url('https://notafiles.ru/nota/ui/02/4/bg.jpg');
    --header: url('https://notafiles.ru/nota/ui/02/4/header.jpg');
    --bpost: url('https://notafiles.ru/nota/ui/02/4/post.png');
    --music: url('https://notafiles.ru/nota/ui/02/4/music.png');
    --catbg: url('https://notafiles.ru/nota/ui/02/4/cat.jpg');;


    --bgcolor: 122, 126, 129;
    --text: 30, 30, 30;
     --pun-outer: 17, 17, 17, 0.4;
     --ulinks-bg: 24, 20, 19;
    --pun: 169, 169, 169;
    --navlinks: 109, 114, 120;
    --navlinks-bg: 18, 18, 18;
    --catbody: 190, 190, 190;
    --input: 200, 200, 200;
    --p-link: #a1a1a1;
    --button: 49, 44, 93;
    --button-h: 84, 81, 111;

    /* ===========================
       ACCENT
    =========================== */
    --acc1: 75, 99, 63;
    --acc2: 78, 115 , 59;rgb
    --acc3: 82, 82, 82;
    --acc4: 51, 51, 51;
    --acc5: 153, 153, 153;
    --acc6: 175, 175, 175;
    --acc7: 256, 256, 256;
    --acc8: 65, 99, 43; 
}

  /* ========================================================= THEMES END HERE === */

html {
    background:
        var(--bgnav) repeat-x fixed,
        var(--bg-image) no-repeat center / cover fixed,
        rgb(var(--bgcolor));
    color: var(--text);
}


#pun_wrap {
    background: var(--header) top center no-repeat, rgb(var(--pun-outer));
    border-radius: var(--b1);
    width: var(--width);
    margin: 70px auto;
    padding: 410px 0px 120px 0px;
/*    box-shadow: 0px 0px 20px 0px #000000a1;
    border: 1px solid #ffffff17; */
}


/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  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
  }


/* hidden
-------------------------------------------------------------*/

.punbb:not(.punbb-admin) #pun-title,
#pun-title .title-logo-tdl,
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#pun-index h1,
#pun-announcement h2,
.punbb :not(#pun-statistic) #pun-main h1,
#pun-crumbs1 .container strong,
#pun-crumbs2 .container strong,
#pun-index thead,
#pun-status .item4,
.acchide,
#pun-userlist h1,
#pun-userlist h2,
#pun-profile h2,
#pun-viewtopic h2,
#post fieldset legend > span,
.sharelink,
#formkey,
#formetc,
#pun-searchposts h1,
#pun-searchposts h2,
#pun-searchtopics h1,
#pun-searchtopics h2,
#pun-modviewforum h1,
#pun-modviewforum h2,
#pun-viewforum h1,
#pun-viewforum h2,
.punbb .submitfield label,
.pa-gifts,
.stickytext,
.closedatafield,

.post-sig dt,
#pun-navlinks #navawards,
#pun-navlinks #navrules,
.modlist,
.tclcon:has(.modlist) > br:last-of-type,
#pun-ulinks #h-unanswered,
.pl-email.email,
.catleft,
.catright,
#pun-premoderation .pa-title,
#pun-premoderation .pa-ua,
#pun-premoderation .pa-posts,
#pun-premoderation .pa-respect,
#pun-premoderation li[class^="pa-fld"],
#pun-premoderation h2 {
    display: none;
}

.pl-email.email,  li.pl-reports {display: none;}

 /*  text
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
  font: normal 68.75% var(--font1);
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 1em var(--font1);
    border: 1px solid rgb(var(--text), .1);
    border-radius: 10px;  }

/* 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 h2 span, .punbb legend span, #pun-stats h2 span {
    font: 100 14px var(--font2);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: none;
  }

/* 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;
    border-radius: var(--b1);
}

/* A5.2 */
.punbb {
    width: 1050px;
    height: auto;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
    margin-bottom: 0.1em;
    width: 100%;
  }

/* A5.5 */
.punbb .category, .punbb .post {
    margin-top: -10px;
    background: none;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 30px;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border: none;
  }

.forum {
    margin-top: 20px;
}

/* A5.9 */
.punbb .container {
  border: none;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  border: none;
  }


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 0px 0px 0px 0px;
    margin: 0;
    width: 100%;
    overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: none;
  }

/* B1.3 */
.punbb .post-content p {
    margin: 0;
    line-height: 160%;
    padding: 4px 0;
    text-align: justify;
    word-break: break-word;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }


/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border:none;
  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;
  }

#pun-main::before {
    content: "";
    display: block;
    height: 20px;
    width: 1110px;
    position: relative;
    left: -30px;
    top: -10px;
    border-radius: 8px;
    background: var(--catblur);
}

#pun-index #pun-main::before, #pun-viewtopic #pun-main::before {display:none;}

/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
    width: 100%;
    height: auto;
    position: relative;
    font: 300 rgb(var(--font3));
    color: rgb(var(--pun));
    text-transform: uppercase;
    color: rgb(var(--text));
  }

/* B3.2 */
.multipage {
/*  margin-top: 3em; */
  }

/* B3.3 */
.linkst .pagelink {
    position: absolute;
    width: 400px;
    font-size: 9px;
    top: -20px;
    left: -25px;
}

/* B3.4 */
.linkst .postlink {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    gap: 32px;
    margin-top: 10px;
  }

#pun-viewtopic .linkst .pagelink {color: rgb(var(--white), .7); }
.violet .pagelink {
    color: rgb(var(--text));
}
.punbb .linkst
.postlink a, .subscribelink a {
    padding: 4px 20px;
    background: rgb(var(--acc1), .6);
    border-radius: 3px;
    color: #c1c1c1 !important;
    font: 700 9px var(--font3);
    letter-spacing: 1px;
}

.punbb .linkst
.postlink a:hover, .subscribelink a:hover, .punbb .linksb .postlink a:hover {background: rgb(var(--acc2));}


.punbb .linksb
.postlink a {
    padding: 4px 20px;
    background: rgb(var(--acc1), .6);
    border-radius: 3px;
    color: #c1c1c1 !important;
    font: 700 9px var(--font3);
    letter-spacing: 1px;
}

#pun-viewtopic .linkst {margin-top:20px; margin-bottom:-10px}

/* B3.5 */
.punbb .linksb {
   text-align: right;
   text-transform: uppercase;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
    float: right;
    font-weight: bold;
    display: flex;
    gap: 30px;
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 20px;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 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:none;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 10px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
    padding: 0 5px;
    margin: 0px;
    letter-spacing: normal;
    font: 500 11px var(--font3);
  }

/* 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;
    position: relative;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

.punbb #profile .fs-box .container {
    width: 1000px;
}

/* 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: bold
  }

/* 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;
color: rgb(var(--text));
  }

/* 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;
  }



#profile .post.toppost .pa-author {padding-top:0px;}

/* 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 */
#pun-index .tcl {
    overflow: hidden;
    text-align: justify;
    width: 640px;
    padding-right: 40px;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
    overflow: hidden;
    text-align: left;
    width: 30%;
    vertical-align: text-top;
  }

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 10%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: bold;
  }
#pun-index td.tc2,
#pun-index td.tc3 {
display: none;
}
/* 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:none;
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border:none;
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 3.2em
  }

#pun-index .category tbody {
    background: rgb(var(--acc7), .15);
    background-repeat: repeat;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 1030px;
    margin-bottom: 20px;
}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */

/* C3.2 */
.punbb .post h3 {
    border: none;
    position: relative;
    left: 30px;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
  }

/* C3.3 */
.punbb .post h3 span {
    width: 820px;
    position: relative;
    display: flex;
    padding: 10px 20px;
    flex-direction: row;
    justify-content: flex-end;
    top: 0px;
    gap: 12px;
    font: 700 10px var(--font3);
    text-transform: uppercase;
    border-radius: 8px 8px 0px 0px;
    align-items: center;
    flex-wrap: nowrap;
    background: rgb(var(--pun-light));
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.12 */
.punbb .post-box {
    padding: 10px;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* 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;
  }


/* Profile page
-------------------------------------------------------------*/

#pun-viewforum table tr, #pun-modviewforum table tr, #pun-searchtopics table tr, #pun-userlist table tr, #pun-statistic table tr, #pun-respect table tr, #pun-positive table tr, #pun-messages #messages table tr, .profile-awards-container table tr {
    display: flex;
    align-items: center;
    margin-top:8px;
    background: rgb(var(--catbody));
    border-radius: 8px;
}


/* Profile page
-------------------------------------------------------------*/

#pun-profile #profile .container {
    padding-left: 10em;
}

#viewprofile {
    flex-grow: 1;
}

#viewprofile-next {
    display: flex;
    gap: var(--32);
}

#viewprofile-next::after {
    display: none;
}

#viewprofile-next #profilenav {
    display: inline-block !important;
}

#pun-profile #profile #profilenav {
    float: left;
    width: 10em;
    margin-left: -10em;
}

#viewprofile-next #profilenav {
    padding-top: var(--16);
}

#viewprofile .container::after {
    display: none;
}

#viewprofile .container tr {
    display: flex;
    gap: 30px;
}

body #profile-left {
    padding: 16px !important;
    background: rgb(var(--catbg));
    border-radius: 5px;
    width: 180px;
}

#profilenav li {
    list-style: none;
}

#profilenav a {
    display: block;
    margin-bottom: 8px;
    color: rgb(var(--acc3), .7) !important;
    text-transform: uppercase;
    font: 700 9px var(--font3);
    background: rgb(var(--acc7), .2);
    padding: 3px 10px;
    border-radius: 5px;
}

#profilenav a:hover {
    background: rgb(var(--acc7), .4);
}

#profilenav li:not(:last-child) a {
    margin-right: var(--4);
}

#profilenav .isactive a {
    font-weight: 700;
}

#profile-right li {
    padding: 4px;
    margin: 4px;
    font: 300 11px var(--font);
}

#viewprofile li span {
    display: inline-block;
    min-width: 140px;
    font: 700 10px var(--font);
    text-transform: uppercase;
}

#viewprofile li strong {
    display: inline-block;
    font-weight: normal;
}

#profile-right li strong {
    padding-left: 2em;
    width: 400px;
}

#profile-left li {
    list-style: none;
}

#profile-left #profile-title {
    margin: 8px 0px;
}

#profile-left #pa-online {
    padding-top:  8px;
}

#profile-left #pa-avatar strong {
    display: none;
}

#pa-edit {
    display: none;
}


td.tc0.ft-image {
    border: 2px solid rgb(var(--light100));
}

#profile li {
    list-style: none;
}

#profile #select-hosting .infofield * {
    margin: 0;
}

.punbb #profile-signature ul {
    border: none;
    padding: 0;
}

.post-sig::before,
.punbb #profile-signature ul::before {
    content: '';
    display: block;
    margin: 16px auto 8px;
    width: 50%;
    height: 1px;
    border-top: 1px dotted rgb(var(--acc3), .2);
}


#pun-messages #profilenav {
    float: none;
    display: flex;
    justify-content: space-between;
    margin-right: 0;
}

#pun-messages #profilenav h2 {
    display: none;
}

#pun-messages #profilenav ul {
    display: inline-block;
    margin-bottom: var(--16);
}

#pun-messages #profilenav ul li {
    display: inline-block;
}

/* Messages page */

#pun-messages .post-author .pa-reg,
#pun-messages .post-author .pa-online,
#pun-messages .post-author .pa-last-visit {
    display: none;
}

#pun-messages #profilenav {
    float: none;
    display: flex;
    justify-content: space-between;
    margin-right: 0;
}

#pun-messages #profilenav h2 {
    display: none;
}

#pun-messages #profilenav ul {
    display: inline-block;
    margin-bottom: var(--16);
}

#pun-messages #profilenav ul li {
    display: inline-block;
}

#post .fs-box {
    display: flex;
    flex-direction: column;
}

#post .fs-box .inputfield.required {
    order: -1;
}

/* 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:none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border:none;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
display: none;
  }

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  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 {
    border-style: none;
    border-width: 0;
    margin: 0;
    position: fixed;
    top: 0px;
    width: var(--width);
    height: 41px;
    margin-left: -60px;
    background-color: rgb(var(--navlinks-bg));
    z-index: 999;
  }

/* D3.2 */
#pun-navlinks .container {
    font: 11px var(--font3);
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 35px;
  }

/* D.3 */
#pun-navlinks li {
  display: inline;
  padding-right: 1em;
  }

/* D3.4 */
#pun-navlinks li a {
    font-size: 11px;
    text-transform: uppercase;
    color: rgb(var(--navlinks));
  }

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
    margin-top: -95px;
    margin-left: -60px;
    position: sticky;
    top: 40px;
    z-index: 100;
    width: 1170px;
    padding-bottom: 20px;
    height: 10px;
    background-color: rgb(var(--ulinks-bg));
}

/* D4.2 */
#pun-ulinks .container {
    border: none;
    padding: 10px 40px 0px 30px;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
    display: inline;
    border: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 700;
    font-family: var(--font3);
  }

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em
  }

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border:none;
  padding-left: 0
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/


/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border:none;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

#pun-announcement {
   height:0px;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* 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: 1em;
  border:none;
  float: left;
  width: 100%;
  line-height: 130%;
  text-align: justify;
  }

/* D7.5 */
li#onlinelist div {
  border:none;
  padding: 0.7em 0 0 0;
  }

/* 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 {
  display: none;
  }

/* D8.4 */
#pun-about .container {
  border:none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }


/* D8.7 */
#pun-crumbs2 {
    font-weight: bold;
    overflow: hidden;
    margin-bottom: 0;
    border: none;
    margin-top: 20px;
    background: rgb(var(--pun));
    width: 1050px;
    padding: 10px 30px;
    margin-left: -30px;
    border-radius: 8px;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border:none;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border:none;
  }
.punbb-admin #pun-ulinks {
    width: 1110px;
    margin-left: -30px;
}

/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border:none;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border:none;
  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;
  }

/* ============ СКРОЛЛБАРЫ ============*/

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgb(153 153 153 / 55%) transparent;
}

/* WebKit */
*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track-bg);
  border-radius: var(--scrollbar-radius);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-bg);
  border-radius: var(--scrollbar-radius);
  box-shadow: var(--scrollbar-thumb-shadow);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.7)
  );
}


/* ==== icons ==== */


#pun-index tr div.icon {
    float: left;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgb(var(--acc3), .2);
    position: relative;
    left: -20px;
    top: 2px;
}

.punbb tr.inew div.icon {
    background-color: rgb(var(--acc8), 50%) !important;
}

.punbb tr.isticky div.icon {
    background-color: rgb(var(--acc8), 80%) !important;
}

.punbb tr.iclosed div.icon {
    background-color: rgb(var(--acc4), 10%) !important;
}



#pun-index .category .tclcon {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.punbb tbody.hasicon td.tcl {
    padding-left: 3.2em;
    width: 500px;
}


/*=== admin pages === */

.punbb-admin {
    margin-top: -300px;
    background-color: rgb(var(--pun));
}

.punbb-admin #pun-status{display:none;}

/* Rusff support block */

.title-logo-tdr {
    display: none;
}


/* Containers */

#pun .adcontainer {
    border: none;
    border-width: 0 1px 1px 1px;
    margin-bottom: 16px;
}


/* Files table fix */

.punbb-admin #filetable .tc3 {
    width: 10% !important;
}


/* Sticky elements */

#pun-adnav {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
}

#pun-adnav sup {
    display: none;
}

#pun-adnav li {
    list-style: none !important;
}

#adnav-standard > ul > li {
    padding: 0 0 4px;
}

#pun-adnav ul.adsubnav li {
    padding-left: 16px !important;
}

#adnav-standard > ul > li > a {
    display: block;
    padding: 4px 8px;
    box-sizing: border-box;
    position: relative;
    text-transform: uppercase;
    border-radius: 8px;
    background-color: rgb(var(--acc5), .38);
    font: 10px var(--font3);
}

#pun-adnav li.isactive > a {
    background: #333;
    color: #fff;
}

#pun-adnav li.item3:not(.isactive) > a,
#pun-adnav li.item-forms:not(.isactive) > a,
#pun-adnav li.item15:not(.isactive) > a,
#pun-adnav li.item20:not(.isactive) > a,
#pun-adnav li.item11:not(.isactive) > a,
#pun-adnav li.item22:not(.isactive) > a {
background-color: rgb(var(--acc1), .38);
    font: 10px var(--font3);
}

#pun-adnav li.item3 > a:after,
#pun-adnav li.item-forms > a:after,
#pun-adnav li.item15 > a:after,
#pun-adnav li.item20 > a:after,
#pun-adnav li.item11 > a:after,
#pun-adnav li.item22 > a:after {
content: '\f005';
    font: 700 8px var(--fa);
    margin-top: 2px;
    margin-left: 6px;
    float: right;
}

#adnav-standard > ul > li > a:hover {
    background: rgb(var(--acc8)) !important;
    color: #fff;
}

#pun-adnav .adsubnav {
    padding-left: 8px;
}

#pun-admain .submittop {
    position: -webkit-sticky;
    position: sticky;
    top: 56px;
    z-index: 7;
}

#pun-admain textarea, #pun-admain input, #pun-admain select, #pun-admain optgroup {
    font: 1em verdana, arial, helvetica, sans-serif;
    padding: 10px;
}

/* =========================================
   SOFT INPUT / TEXTAREA FOCUS
   ========================================= */

::selection {
    background: rgb(var(--acc3), 0.3);
    color:  rgb(var(--acc7), 0.8);;
}


input,
textarea,
select {
    outline: none;
}

/* обычное состояние */
input,
textarea {
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 10px;
    background: rgb(var(--input), 0.7);
    transition:
        background .25s ease;
}

/* фокус — мягкий */
input:focus,
textarea:focus {
   background: rgb(var(--input), 1.0);
}



/* Form Buttons
----------------------------------------------------------------------- */

#pun #form-buttons table,
#pun #form-buttons tbody {
    width: 100%;
}

#pun #form-buttons td img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#pun #form-buttons td {
    position: relative;
    display: flex;
    width: 30px;
    height: 24px;
    background: rgb(var(--acc3), .1);
    align-items: center;
    border-radius: 3px;
}

#pun #form-buttons td:hover {
    cursor: pointer;
    background: rgb(var(--acc7), .1);
}

#pun #form-buttons td#button-mask {
    background: none !important;
}

#form-buttons table tr {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 1rem;
}

#form-buttons td::before {
    font: 400 16px var(--fa);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

#button-font::before {
    content: '\f031';
}

#button-sticker::before {
    content: '\f86d';
}

#button-size::before {
    content: '\f894';
}

#button-bold::before {
    content: '\f032';
}

#button-italic::before {
    content: '\f033';
}

#button-underline::before {
    content: '\f0cd';
}

#button-strike::before {
    content: '\f0cc';
}

#button-left::before {
    content: '\f036';
}

#button-right::before {
    content: '\f038';
}

#button-center::before {
    content: '\f037';
}

#button-link::before {
    content: '\f0c1';
}

#button-spoiler::before {
    content: '\f518';
}

#button-image::before {
    content: '\f302';
}

.imgbb-container {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    float: right;
}

#button-video::before {
    content: '\f144';
}

#button-hide::before {
    content: '\f30d';
}

#button-quote::before {
    content: '\f27a';
}

#button-code::before {
    content: '\f121';
}

#button-color::before {
    content: '\f53f';
}

#button-table::before {
    content: '\f009';
}

#button-smile::before {
    content: '\f118';
}

#button-keyboard::before {
    content: '\f11c';
}

#button-addition::before {
    content: '\f0d7';
}

#button-mask::before {
    content: '\f630';
}

/* Additional buttons */

#button-transL::before {
    content: '\f891';
}

#button-justify::before {
    content: '\f039';
}

#button-indent::before {
    content: '\f878';
}

#button-image-2::before  {
    content: '\f03e' !important;
}

#form-buttons #button-image ~ #button-image::before {
    content: '\f03e' !important;
}

#button-float::before {
    content: '\f1fe';
}

#button-smile::before {
    content: '\f118';
}






/* Post
------------------------------------------------------------------ */

.post-content img {
    vertical-align: middle;
}

.post-content p {
    line-height: 160%;
    padding: var(--4) 0;
    text-align: justify;
    word-break: break-word;
}

.post-box .post-content ul {
    padding: 0.4rem 0 0.8rem 2.4rem;
}

.post-box .post-content ul ul {
    padding-top: var(--4);
    padding-bottom: 0;
}

.post-content li p {
    padding: 0 0 var(--4) 0;
}


/* Deleted text */

del {
    text-decoration:none;
    filter: blur(6px);
}

del:hover {
    filter: none;
}


/* Underlined text */

.bbuline {
    font-style: unset;
    text-decoration: underline;
    text-decoration-color: rgb(var(--primary400));
}


/* Highlighted text */

#pun .highlight-text {
    background-color: rgb(var(--warning));
    padding: 0.1rem 0.2rem 0.2rem;
}


/* Abbreviated text */

.post-content abbr {
    text-decoration: underline dotted rgb(var(--primary400));
    cursor: help !important;
}


/* Link */

.post-content a {
    font-weight: 700;
}


/* Marker */

.post-content ::marker {
    font-weight: 700;
    color: rgb(var(--acc1));
}


/* HR (divider) */

#pun .post-content hr {
opacity: 1;
    border-top: 1px dotted rgb(var(--text), .15);
    margin: v8px 0;
}


/* Table */

#pun .post-content td {
    border: none !important;
    padding: 8px !important;
    vertical-align: top;
}

/* ==== custom tags ==== */

.custom_tag_intend {
    display: inline-block;
    width: 2em;
    height: 2em;
}

.custom_tag_indent {
    display: inline-block;
    width: 2em;
    height: 2em;
}


#pun-admain textarea {
    margin-top: 2.2em !important;
    height: 400px;
}

.custom_tag_imgcopy {
display: inline-block;
    background: rgb(var(--dark900c) / .1);
    border-radius: 6px;
    font-family: monospace;
    font-size: 10px !important;
    padding: 0px 3px;
    margin-top: 10px;
    cursor: pointer;
    user-select: all;
    transition: background 0.2s ease, color 0.2s ease;
    width: 180px;
    height: 22px;
    overflow: clip;
}

.custom_tag_imgcopy p {font-size: 9px !important;}

.custom_tag_imgcopy:hover {
    background: rgb(var(--dark900c) / .2);
}
.custom_tag_imgcopy.copied {
  background: var(--pun-ok300, #c4f0c4);
  color: var(--text900, #000);
}


/* ===== Контейнер сетки + авто-нумерация ===== */
.custom_tag_acboard {
  /* палитра (можешь подстроить под тему) */
  --accent:#ef3f30;
  --bg:#ffffff;
  --text:#1a1a1a;
  --soft:#e6e6e6;
  --muted:#9a9a9a;

  font-family:"Roboto Slab",serif;
  max-width:960px;
  margin:0 auto;

  /* сетка без @media — адаптируется сама */
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:10px;

  /* запуск счётчика для авто-нумерации плашек */
  counter-reset: acday;
}

/* (опционально) заголовок блока */
.custom_tag_actitle {
  font-weight:900;
  font-size:22px;
  color:var(--accent);
  font-family:"Roboto Slab",serif;
  margin:0 0 10px 0;
}

/* ===== Общие базовые правила для плашек ===== */
.custom_tag_tileopen,
.custom_tag_tileclosed {
    position: relative;
    min-height: 94px;
    border-radius: 10px;
    color: rgb(var(--text900));
    padding: 12px 12px 12px 12px;
    transition: .2s ease;
    border: 3px solid rgb(var(--primary400) / .6);
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;

}

/* ховер эффект */
.custom_tag_tileopen:hover,
.custom_tag_tileclosed:hover {
  transform:translateY(-1px);
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

/* Заголовок темы */
.custom_tag_tileopen .tile__title,
.custom_tag_tileclosed .tile__title {
  margin:2px 0 0 0;
  font-weight:700;
  font-size:14px;
  line-height:1.45;
}

/* ===== Автонумерация: значок с номером слева ===== */
.custom_tag_tileopen::before,
.custom_tag_tileclosed::before {
    content: counter(acday);
    counter-increment: acday;
    position: absolute;
    left: 1px;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    /* border: 2px solid rgb(var(--primary400)); */
    background: rgb(var(--primary400) / .5);
}

/* ===== Состояния ===== */

/* ОТКРЫТО */
.custom_tag_tileopen {
background: rgb(var(--light100c) / .2);
}
.custom_tag_tileopen .tile__title { color:#3a2a28; }

/* ЗАКРЫТО: серое, текст скрыт */
.custom_tag_tileclosed {
    background: #77777782;
    border-color: transparent;
    opacity: 0.5;
}
.custom_tag_tileclosed::before {
  color:#bdbdbd;
  border-color:#d5d5d5;
  background:#f1f1f1;
}
.custom_tag_tileclosed .tile__title {
  color:transparent;
  text-shadow:none;
  user-select:none;
}
.custom_tag_tileclosed .tile__title::selection {
  background:transparent; color:transparent;
}

.custom_tag_tileclosed p {display: none;}


.custom_tag.custom_tag_tileopen, .custom_tag_tileopen p {
        font-size:14px;
    text-align:center;
    
}

/* бейдж «закрыто» (визуальный, можно убрать) */
.custom_tag_tileclosed::after {
  content:"закрыто";
  position:absolute; right:8px; bottom:8px;
  font-size:10px; letter-spacing:.4px; text-transform:uppercase;
  color:var(--muted);
  background:#fafafa;
  border:1px solid #e7e7e7;
  border-radius:6px;
  padding:2px 6px;
}



#coll {
        width: 48%;
}

#collhead {
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 1px dotted rgb(var(--dark900) / .12);
    padding: 10px 0px;
    font-family: var(--font);
    color: rgb(var(--primary400));
    margin: auto;
    margin-bottom: 5px;
    display: block;
    text-align: left;
    width:100%;
}

#collrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px dotted rgb(var(--dark900) / .12);
    margin-top: 20px;
}

#coll img {
    margin: 0px -12px;
}

.notgot {
    opacity: 0.3;
}

.caramel-fadeInBox {display:none!important;}

.custom_tag_wrn
{
    border-left: 4px solid #c13939;
    padding: 0px 16px;
    margin: 10px;
    font-style: italic;
}

.custom_tag_calendar {
    width: fit-content;
    background: var(--fishes);
    height: fit-content;
    border-radius: 12px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: var(--font);
    font-size: 16px;
    text-align: left;
    margin: auto;
}

.custom_tag_pass {
    width: 100%;
    background-color: #fff;
    background-image: url(https://notafiles.ru/nota/misc/pass.gif);
    background-position: center right;
    min-height: 120px;
    border-radius: 12px;
    padding: 20px;
    color: #ffffffdb;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: var(--font);
    font-size: 10px;
    margin: 20px 0px;
}

.custom_tag_pass::before {
    content: 'Пропускаю вопрос';
    font-size: 22px;
    text-transform: uppercase;
    border-bottom: 1px dotted #b52d3469;
    padding-bottom: 10px;
    width:100%;
    color: #c19034;
}

.custom_tag_week{
    width: fit-content;
    display: flex;
    padding: 2px;
    justify-content: space-evenly;
}

.custom_tag_day {
    width: 40px;
    height: 30px;
    border-radius: 5px;
    background: rgb(var(--dark900) / 0.1);
    margin: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3px;
}


.custom_tag_dayn {
    width: 40px;
    height: 30px;
    border-radius: 5px;
    background: rgb(var(--dark900) / 0.1);
    margin: 4px;
    opacity: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3px;
}

.custom_tag_dayb {
    width: 40px;
    height: 30px;
    border-radius: 5px;
    background: rgb(var(--primary400) / 0.7);
    color: rgb(var(--light100c));
    margin: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3px;
}

.custom_tag_day p, .custom_tag_dayn p, .custom_tag_dayb p {
line-height: 80%!important;
text-align:center!important;
}

.custom_tag_lin {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    margin: auto;
    gap: 20px;
}

.custom_tag_admi {
text-transform: uppercase;
    font-family: var(--font4);
    width: fit-content;
    height: fit-content;
    background: rgb(var(--acc7), 0.3);
    padding: 0px 12px 3px 12px;
    border-radius: 25px;
    border: 1px solid rgb(var(--acc3), 0.2);
    letter-spacing: 1px;
    margin-top: 10px;
}

.custom_tag_admi a, .custom_tag_admi span {
    font-size: 10px!important;
}

.custom_tag_nmb {
    width: 56px;
    height: 20px;
    font-family: var(--font);
    font-weight: 400;
    font-size: 14px;
    background-color: #b0b0b0;
    color: #585757;
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
    margin: auto;
}

.custom_tag_tb {display:flex;}

.custom_tag_lot {height: 64px; width: 64px; background-image: url(https://i.imgur.com/Fi4mfvu.png); margin: auto;}

.custom_tag_ver {
    display: flex;
    flex-direction: column;
    width: 230px;
}

.custom_tag_cast {
    width: 190px;
    height: 150px;
    font-size: 11px;
    text-transform: lowercase;
    padding: 0px 20px 20px;
    font-family: var(--font);
    background: rgb(var(--acc7), .1);
    border-radius: 0px 0px 3px 3px;
    box-shadow: 0 0 12px #0000000d, var(--glass-shadow-inner);
}

.custom_tag_csl {
    width: 200px;
    height: 160px;
    overflow-x: hidden;
    overflow-y: auto;
    font-weight: bold;
    padding: 0px 10px 0px 0px;
}

.custom_tag.custom_tag_ch {
    background: var(--litter);
    border-radius: 8px 8px 0px 0px;
    width: 214px;
    padding: 0;
    margin: 0;
    color: rgb(var(--white), .7);
    font: 700px 8px var(--font3) !important;
    text-transform: uppercase;
    padding: 0px 8px;
}

.custom_tag_hrd {
    width: 100%;
    background: url(https://forumstatic.ru/files/001c/57/ad/68978.png) repeat-x;
    height: 1px;
    padding: 6px 0px;
    margin: 5px 0 -10px 0;
}

.custom_tag_moder {
    color: rgb(var(--light100));
    background: rgb(var(--acc1) / .6);
    width: fit-content;
    padding: 3px 35px;
    border-radius: 25px;
    display: flex;
    margin-top: 10px;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.custom_tag_moder::before {
    content: 'от амс: ';
    margin-top: 6px;
        margin-bottom: -6px;
}


.custom_tag_taroth img {max-width:100px; max-height:100px;}

.custom_tag_hrd {
    width: 100%;
    background: url(https://forumstatic.ru/files/001c/57/ad/68978.png) repeat-x;
    height: 1px;
    padding: 6px 0px;
    margin: 5px 0 -10px 0;
}

.custom_tag_lst {
    width: 240px;
    height: 150px;
    font-size: 11px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 10px 20px;
    background: #28282814;
    border-radius: 20px;
    text-transform: lowercase;
    word-break: break-word;
}

.custom_tag_htpc {
    background: var(--fishes) center center repeat-y;
    width: 90%;
    height: auto;
    padding: 20px;
    margin: 20px auto 30px auto !important;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 0 12px #0000000d, var(--glass-shadow-inner);
}

.post-content .htpc {
    background: var(--fishes) center center repeat-y;
    width: 100%;
    height: auto;
    padding: 20px;
    margin: auto;
    border-radius: 20px;
    border: 1px solid rgb(var(--light100) / .1);
    display: flex;
    flex-direction: column;
}

.custom_tag_qr {
display:none;
} 

.post-content .ask {
    background: var(--fishes) center center repeat-y;
    width: 100%;
    height: auto;
    padding: 20px;
    margin: auto;
    border-radius: 20px;
    border: 1px solid rgb(var(--dark900) / .1);
    font-size: 20px !important;
    font-family: 'Roboto Slab';
    text-align: center;
}
.ask::before {
    content: 'Вопрос дня';
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 1px dotted rgb(var(--dark900c) / .5);
    padding-bottom: 10px;
}

.post-content .ask p {
    font-size: 16px !important;
    text-align: center;
    margin: 20px;
}

.fd, .nm {display: none;
}


#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
    display: none;
    position: fixed;
    background: rgb(var(--pun));
    padding: 20px;
    border-radius: 8px;
    color: rgb(var(--text));
    left: 50%;
    top: 50%;
    margin: -135px 0 0 -384px;
    width: 768px;
    z-index: 100;
    box-shadow: 0 0 40px #222;
    -webkit-box-shadow: 0 0 40px #222;
    -moz-box-shadow: 0 0 40px #222;
    -khtml-box-shadow: 0 0 40px #222;
}

.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    max-height: 62vh;
    margin: 12% auto 0;
    margin-top: 20vh;
    box-shadow: 0 0 14px rgba(0, 0, 0, .3);
    position: relative;
    background: rgb(var(--pun));
    z-index: 120000;
    overflow: hidden;
    border-radius: 8px;
}



/* ===== NEWS ===== */

#active-left, #active-right {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 200;
    width: 22%;
}

#active-left img, #active-right img {
    max-width: 56px;
    border-radius: 8px;
    filter: grayscale(100%);
    opacity: 0.8;
    filter: brightness(0.7) grayscale(100%);
}

#active-right img {margin: 2px -3px 3px 7px;}

#active-left img{    margin: 2px 9px 2px -5px;}

#active-left img:hover, #active-right img:hover {
    filter: none;
}

#activities {
    display: flex;
    justify-content: space-around;
}

#activities a {color: #fff;}


#newshell #activities a {
    color: #ddbb37;
    filter: drop-shadow(0 0 25px rgba(255, 225, 255));
    animation: nc-glow-pulse 1.8s ease-in-out infinite;
    transition: filter .25s ease;
}

#news-btn {
    padding: 15px 20px;
    font-family: var(--font2);
    background-color: #0000004a;
    width: auto;
    line-height: 90%;
    border-radius: 15px;
    margin: 0px 0px 20px 0px;
    text-align: center;
    font-weight: 200;
    display: flex;
    flex-direction: column;
}

#news-btn:hover{
background-color: #0000007d;
}

.news-head {
font-family: var(--font);
font-size: 18px;
color: #f1ad7c;
text-transform: uppercase;
}

.news-head a {
color: #f1ad7c;
}

#news-txt {
    width: 640px;
    padding: 25px 30px;
    font-family: var(--font1);
    background-color: #0000004a;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 200;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: row;
    border-radius: 12px;
    line-height: 20px;
}

#news, #newshell {
    width: 700px;
    margin: auto;
    min-height: 200px;
    color: #fff;
    background: #232a30 url(https://forumstatic.ru/files/001c/57/ad/18605.jpg?v=1) top center no-repeat;
    background-size: auto;
    padding: 30px;
    overflow: hidden;
    border-radius: 20px;
}

#newshell {
    background: #232a30 url(https://notafiles.ru/nota/misc/news_pumpkin.jpg) top center no-repeat;
}




.news-header {
font-family: arial;
    font-size: 40px;
    font-weight: 900;
    margin: 0px 0px 20px 0px;
    text-align: left;
}

#newshell .news-header {
        color: #ddbb37;
    filter: drop-shadow(0 0 25px rgba(255, 225, 255));
    animation: nc-glow-pulse 1.8s ease-in-out infinite;
    transition: filter .25s ease;
    
}
