/* base quadra/qsdb forum template (c) legume
   part 1/2 — palette, reset, layout, forms */

@import url('style_cs.1792052377.css'); /* bust 1787958671088 */

/* === 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@100;200;300;400;700&family=Roboto+Mono:wght@300;400;500;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&family=Jost:wght@300;400;500;700&family=Yeseva+One&display=swap&subset=cyrillic&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Great+Vibes&display=swap&family=Kurale&display=swap');


/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

@font-face {
    font-family: "Material Icons";
    font-style: normal;
    font-weight: normal;
    src: local("Material Icons"),
         url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format("woff2");
}

@font-face {
    font-family: "Rubik";
    src: url(https://notahub.ru/media/ridge/fonts/Rubik.ttf) format("truetype");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rubik";
    src: url(https://notahub.ru/media/ridge/fonts/Rubik-Italic.ttf) format("truetype");
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
  font-family: 'The Silver Editorial';
  src: url('https://notahub.ru/media/ridge/fonts/TheSilverEditorial-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Silver Editorial';
  src: url('https://notahub.ru/media/ridge/fonts/TheSilverEditorial-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* === light palette === */

:root {

    --font: 'Rubik', arial, helvetica, sans-serif;
    --font1: verdana, arial, helvetica, sans-serif;
    --font2: 'The Silver Editorial', 'Kurale', 'Times New Roman', serif;
    --font3: 'Open Sans', verdana, arial, helvetica, sans-serif;
    --font4: 'Roboto Mono', 'Courier New', monospace;
    --font5: 'Jost', 'Roboto Mono', monospace;
    --fa: 'Font Awesome 6 Pro';
    --icons: 'Material Icons';


    --bgcolor:       76,  74,  71;  
    --bg-image: url('https://notahub.ru/media/ridge/reflection/img/bg.webp?v=3');   /* Re:flection: лес с оленем */
    --bg-add: url(https://notahub.ru/media/ridge/img/655305.png);
    --bg-fpost: url(https://notahub.ru/media/ridge/img/655305.png);
    --text:          60, 69, 74;   /* Re:flection: графит с макета */
    --pun:          225, 226, 226;
    --pun2:        205, 207, 207;
    --pun3:        213, 214, 214;
    --pun-light:  248, 248, 249;
    --header-img: url('https://notahub.ru/media/ridge/img/810469.png');
    --header: 22, 21, 25;
    --catbody:      255, 255, 255;
    --navlinks-bg:  255, 255, 255;
    --ulinks-bg:    255, 255, 255;
    --navlinks:      60, 60, 64;
    --input:        255, 255, 255;
    --white:        255, 255, 255;

    --on-acc:       255, 255, 255;


    --acc1:  40,  40,  42;
    --acc2:  28,  56,  58;
    --acc3:  90,  90,  96;
    --acc4: 142, 127, 122;
    --acc5: 150, 150, 156;
    --acc6: 183, 184, 184;
    --acc7:   10,   10,   10;
    --acc8:  60,  60,  64;
    --sticky: 90, 90, 96;


    --link:        136, 111, 90;  /* Re:flection: рыжий акцент */
    --link-hover:   98,  78, 62;
    --label:        98,  98, 80;  /* названия форумов, олива */


    --width: 940px;
    --p-outer: 30px;
    --h-outer: 20px;
    --b1: 5px;


    --glass-blur: 14px;
    --glass-radius-sm: 10px;
    --glass-shadow-outer: 0 4px 20px rgba(0, 0, 0, 0.25);
    --glass-shadow-inner: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.08);

    --scrollbar-size: 6px;
    --scrollbar-track-bg: rgba(0, 0, 0, 0.03);
    --scrollbar-thumb-bg: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.14));
    --scrollbar-thumb-bg-hover: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.22));
    --scrollbar-thumb-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    --scrollbar-radius: 10px;
}


/* === dark palette === */

.dark {
    --bgcolor:      14,  14,  16;
    --text:        226, 226, 230;
    --pun:          35,  35,  34;
    --pun-light:    31,  31,  35;
    --catbody:      31,  31,  35;
    --navlinks-bg:  24,  24,  27;
    --ulinks-bg:    24,  24,  27;
    --navlinks:    186, 186, 194;
    --input:        31,  31,  35;
    --white:       255, 255, 255;
    --on-acc:       20,  20,  22;


    --acc1:        228, 228, 233;
    --acc2:        62, 54, 47;
    --acc3:        150, 150, 158;
    --acc4:        55, 55, 55;
    --acc5:         96,  96, 104;
    --acc6:         214,  214, 214;
    --acc7:        10, 10, 10;
    --acc8:        190, 190, 198;
    --sticky:      150, 150, 158;


    --link:        165, 148, 130;
    --link-hover:  185, 168, 150;
    --label:       170, 168, 150;


    --glass-shadow-outer: 0 6px 28px rgba(0, 0, 0, 0.5);
    --glass-shadow-inner: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.09);

    --scrollbar-track-bg: rgba(255, 255, 255, 0.04);
    --scrollbar-thumb-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12));
    --scrollbar-thumb-bg-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.25));
    --scrollbar-thumb-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}


/* === icon base === */


#pun-index .category .topics::before,
#pun-index .category .posts::before,
.post-links a::before,
.post-rating p.container::before,
.post-vote p.container::before,
.spoiler-box > div::before {
    font-family: var(--icons);
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

#form-buttons td::before {
    font-family: var(--fa);
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;}


/* === base reset === */

strong {
    font-weight: 700;
}

html {
    background: var(--bg-image) no-repeat center center / cover fixed,
                rgb(var(--bgcolor));
    color: rgb(var(--text));
}

html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

#pun-ulinks li,
#pun-ulinks li a {
    -webkit-text-size-adjust: none;
    line-height: 1;
}


#pun_wrap {
    background: rgba(var(--pun));
    box-shadow: var(--glass-shadow-outer), var(--glass-shadow-inner);
    border-radius: var(--b1);
    box-sizing: border-box;
    width: calc(var(--width) + var(--p-outer) * 2);
    margin: 60px auto;
    padding: 0 var(--p-outer);   /* Re:flection: низ закрывает футер, хвост не нужен */
    overflow: visible!important;
}


.punbb * { margin: 0; }


.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
    padding: 0;
    list-style: none;
}


.punbb img { border: none; }


.punbb .main table {
    table-layout: fixed;
    width: 100%;
}


.checkfield input[type="checkbox"], .radiofield input[type="radio"] { margin: 0 0.3em; }


p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
    height: 1.8em;
    vertical-align: middle;
}


.punbb:not(.punbb-admin) #pun-title,
#pun-title .title-logo-tdl,
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#pun-index > #pun-main > 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,
.stickytext,
.closedatafield,
.post-sig dt,
.modlist,
.pl-email.email,
li.pl-reports {
    display: none;
}


/* === typography === */


body { font-size: 100.01%; }


.punbb { font: normal 68.75% var(--font1); }


.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
    font-size: 1em;
    font-weight: normal;
}


.punbb h1 span, .punbb h2 span, .punbb legend span, #pun-stats h2 span {
    font: 300 14px var(--font2);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(var(--text), .8);
}


.punbb pre {
    font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}


.punbb address, .punbb em { font-style: normal; }


.punbb .post-content em { font-style: italic; }


.punbb .post-content em.bbuline {
    font-style: normal;
    text-decoration: underline;
}


.punbb a { text-decoration: none; }


/* === links === */

.punbb a,
.punbb a:link,
.punbb a:visited,
.punbb-admin #pun-admain a,
.punbb-admin #pun-admain a:link,
.punbb-admin #pun-admain a:visited {
    color: rgb(var(--link));
    transition: color .2s ease;
}

.punbb a:hover,
.punbb a:focus,
.punbb a:active,
.punbb-admin #pun-admain a:hover,
.punbb-admin #pun-admain a:focus,
.punbb-admin #pun-admain a:active {
    color: rgb(var(--link-hover));
}


.punbb li.isactive a,
.punbb li.isactive a:link,
.punbb li.isactive a:visited {
    color: rgb(var(--text));
}


#pun-navlinks a,
#pun-navlinks a:link,
#pun-navlinks a:visited {
    color: rgb(var(--white), .75);
    font-style: italic;
}

#pun-navlinks a:focus,
#pun-navlinks a:active { color: rgb(var(--link)); }

#pun-navlinks li.isactive a { color: rgb(var(--link)); }


.post-content a:hover { text-decoration: underline; }


#pun-about a,
#pun-about a:link,
#pun-about a:visited { color: rgb(var(--white), .4); }

#pun-about a:hover { color: rgb(var(--link)); }


.punbb optgroup { font-weight: bold; }


/* === clearfix & hidden === */


#pun:after,
.punbb .container:not(.post .container):after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

.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;
    position: absolute;
    left: -9999px;
    overflow: hidden;
}


/* === page layout === */


#pun {
    width: var(--width);
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--b1);
    background: rgb(var(--pun));
}

.punbb {
    width: 100%;
    height: auto;
}

#pun-redirect, #pun-maint {
    margin: 50px 20% 12px 20%;
    width: auto;
    float: none;
}

.punbb .section, .punbb .main {
    margin-bottom: 0.1em;
    width: 100%;
}

.punbb .category, .punbb .post {
    margin-top: 0.4em;
    border-radius: var(--glass-radius-sm);
    margin-bottom: 20px;
}

.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
    margin-top: 0;
}

#pun-main [id^="pun-category"] > h2,
#pun-stats > h2 {
    aspect-ratio: 1000 / 70;
    width: calc(var(--width) + (var(--p-outer) * 2));
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    padding: 0;
    margin-left: calc(-1 * var(--p-outer));
}

#pun-main [id^="pun-category"] > h2 span,
#pun-stats > h2 span,
#pun-main div.catleft,
#pun-main div.catright { display: none; }


#pun-category3> h2 { background-image: url('https://notahub.ru/media/ridge/img/24734.png'); }


.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border: none;
}

.punbb .container { border: none; }

.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
    border: none;
}


#pun-title { display: none; }


/* === form fields === */

.punbb textarea, .punbb optgroup {
    font: 12px var(--font1);
    border: 1px solid rgba(var(--text), .12);
    border-radius: 10px;
    background: rgb(var(--pun-light));
    color: rgb(var(--text));
}

.punbb input, .punbb select {
    font: 400 11px var(--font5);
    border: 1px solid rgba(var(--text), .12);
    border-radius: 10px;
    background: rgb(var(--pun-light));
    color: rgb(var(--text));
}

.dark ::selection {
    background: rgba(165, 148, 130, .55);
    color: #fff;
}
.dark textarea::selection,
.dark input::selection {
    background: rgba(165, 148, 130, .55);
    color: #fff;
}

#pun-post .topic { margin-top: 30px; }

.forum { margin-top: 20px; }


/* === post content === */


.punbb .post-content {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: visible;
}

.punbb .post-sig dt { display: none; }

.punbb .post-content p {
    margin: 0;
    line-height: 160%;
    padding: 4px 0;
    text-align: justify;
    word-break: break-word;
}

.punbb .post-content img { vertical-align: text-bottom; }
.punbb .post-content img.postimg { vertical-align: middle; }

.punbb .post-content .scrollbox {
    width: 100%;
    overflow: auto;
}


.punbb .info-box {
    padding: 1.1em 1.7em 1em 1.7em;
    border: none;
    margin: 0 0 1.1em 0;
    background: rgba(var(--acc7), .02);
    border-radius: var(--glass-radius-sm);
}

.punbb .info-box * { padding: 0 0 0.7em 0; }

.punbb #pun-main .info-box .legend {
    font-size: 1.1em;
    font-weight: bold;
}


/* === pagination === */


.punbb .linkst {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    position: relative;
    padding: 10px 0 14px;
    color: rgb(var(--text));
    text-transform: uppercase;
}

.linkst .pagelink {
    font-size: 9px;
    color: rgba(var(--text), .55);
}

.linkst .postlink {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    margin-left: auto;
}


.punbb .linkst .postlink a,
.punbb .linksb .postlink a,
.subscribelink a {
    display: inline-block;
    padding: 5px 20px;
    background: rgba(var(--acc1), .9);
    border-radius: 20px;
    color: rgb(var(--on-acc)) !important;
    font: 700 9px var(--font3);
    letter-spacing: 1px;
    transition: background .2s ease;
}

.punbb .linkst .postlink a:hover,
.punbb .linksb .postlink a:hover,
.subscribelink a:hover { background: rgb(var(--acc2)); }

#pun-viewtopic .linkst { margin-top: 20px; }

.punbb .linksb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 14px 0;
    text-transform: uppercase;
}

.linksb .pagelink {
    font-size: 9px;
    color: rgba(var(--text), .55);
position: absolute;
}

.linksb .postlink {
    display: flex;
    gap: 12px;
    margin-left: auto;
    font-weight: bold;
}


.subscribelink {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}


/* === form layout === */

.punbb .formal .container { padding: 1.7em 2.3em 1.1em 2.3em; }
.punbb .formsubmit { padding: 0 0 0 1.7em; margin: 1em 0 0 0; }
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span { margin: 0 0.6em 0 0; }

.punbb fieldset {
    border: none;
    padding: 0 18px;
    margin: 0 0 1em 0;
}

.punbb fieldset legend {
    padding: 0;
    margin: 0 0 0 10px;
    font-size: 1.1em;
}

.punbb fieldset legend span {
    padding: 0 5px;
    margin: 0;
    letter-spacing: normal;
    font: 500 11px var(--font3);
}

.punbb fieldset fieldset {
    border-style: none;
    margin: 0;
    padding: 0 0 8px 0;
}

.punbb .fs-box {
    padding: 1em 0 0.8em 0;
    position: relative;
}

.punbb .fs-box p, .punbb .fs-box fieldset { padding: 0 0 0.8em 0; }

.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
    float: left;
    margin-right: 1em;
}

.punbb .inline .infofield { clear: both; }
.punbb .datafield br { display: none; }

.punbb .required label, .punbb .datafield span.input { font-weight: bold; }
.punbb .datafield span.input a { font-weight: normal; }

.punbb .areafield span.input, .punbb p.longinput span.input {
    display: block;
    padding: 0;
    height: 100%;
}

.punbb textarea, .punbb .longinput input {
    width: 64%;
    margin: 0;
    color: rgb(var(--text));
}


.punbb .areafield textarea,
#main-reply {
    box-sizing: border-box;
    width: 100%;
    min-height: 220px;
    padding: 16px 18px;
    background: rgb(var(--input));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius-sm);
    color: rgb(var(--text));
    font: 400 13px/165% var(--font);
    resize: vertical;
}

.punbb .hashelp { position: relative; }

.punbb .helplinks {
    display: block;
    position: absolute;
    top: 1em;
    right: 0;
    font-weight: normal;
    width: 36%;
}

.punbb #profile .helplinks { top: 1.5em; }
.punbb .helplinks span { display: block; padding-bottom: 0.2em; }

#pun-post .formal .info-box li {
    padding-left: 4px;
    list-style-type: square;
    list-style-position: inside;
    line-height: 1.5;
    margin: 0;
}

#post .fs-box { display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px; }
#post .fs-box .inputfield.required { order: -1; }


/* === tables === */


/* на главной ячеек .tc2/.tc3 нет (их убирает скрипт), поэтому
   ширина делится только между названием и последним сообщением */
#pun-index .tcl {
    overflow: hidden;
    text-align: left;
    width: 66%;
    padding-right: 30px;
}


.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    text-align: center;
    width: 7%;
}

.punbb .main .tcr {
    overflow: hidden;
    text-align: left;
    width: 31%;
    vertical-align: middle;
}

#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl { width: 40%; }

#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 { text-align: left; width: 20%; }
#pun-searchtopics .main .tc2 { width: 10%; }

#pun-debug table .tcl { width: 15%; white-space: normal; }
#pun-debug .tcr { width: 90%; white-space: normal; }

#pun-index .tcl h3 { font-size: 1.2em; font-weight: bold; }

.punbb td span.youposted {
    font-weight: bold;
    margin-left: -1em;
    position: absolute;
}

.punbb td .modlist { display: block; padding-top: 0.3em; }

.punbb .main td { border: none; padding: 0.8em 1em; }


.punbb .main th {
    border: none;
    padding: 8px 1em;
    font: 700 9px var(--font3);
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(var(--text), .4);
    text-align: left;
}

.punbb .main th.tc2, .punbb .main th.tc3 { text-align: center; }

.punbb .main .tcl { border: none; }
.punbb tbody.hasicon td.tcl { padding-left: 3.2em; }


/* Строки разведены по вертикали через border-spacing: <tr> нельзя
   двигать margin-ом, это единственный способ. border-collapse: separate
   обязателен, иначе border-spacing игнорируется (атрибут cellspacing="0"
   в разметке движка CSS-ом перебивается). */
#pun-index .category table,
.punbb .forum table {
    border-collapse: separate;
    border-spacing: 0 14px;
}

/* Сами ячейки прозрачные: светлой карточкой теперь работает не строка,
   а блок описания .tclcon-text (см. ниже) */
#pun-index .category tbody td,
.punbb .forum tbody td {
    background: none;
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
}

#pun-index .category .container,
.punbb .forum .container {
    padding: 0 20px 10px;
}

/* Картинка справа от категории — ВРЕМЕННО ОТКЛЮЧЕНА.
   Чтобы вернуть: раскомментировать блок ниже. Своя картинка на
   категорию задаётся переменной:
       #pun-category2 .container { --cat-image: url('...'); }
   без неё берётся фон страницы (--bg-image).
   Псевдоэлемент перебивает клирфикс .container:after — для категорий
   он не нужен, внутри только таблица, плавающих блоков нет.

#pun-index .category .container {
    position: relative;
    padding-right: 230px;
}

#pun-index .category .container::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    bottom: 14px;
    width: 200px;
    border-radius: var(--glass-radius-sm);
    background: var(--cat-image, var(--bg-image)) no-repeat center / cover;
    pointer-events: none;
    visibility: visible;
    height: auto;
    font-size: 0;
}
*/


/* === post header === */


.punbb .post h3 {
    border: none;
    position: relative;
    margin-top: 20px;
    display: block;
    width: 1000px;
    margin-left: -30px;
    border-radius: 0px;
}

.punbb .post h3 span {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 20px;
    flex-direction: row;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    font: 700 10px var(--font4);
    text-transform: lowercase;
    letter-spacing: normal;
    color: rgba(var(--text), .75);
    background: rgba(var(--acc7), .8);
}


.punbb .post h3 strong {
    text-align: right;
    font-weight: 700;
}

.punbb .post-box { padding: 10px; }
.punbb fieldset .post-box { margin-bottom: 0.8em; }
.punbb .clearer { clear: both; height: 0; font-size: 0; }


/* === moderator menu === */

.punbb .modmenu input { margin-left: 1em; }


.punbb .modmenu .container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    padding: 10px 0;
    font-size: 11px;
    color: rgba(var(--text), .6);
}

.punbb .modmenu .container strong { font-weight: 400; }

.punbb .modmenu select {
    padding: 4px 8px;
    font: 400 10px var(--font3);
    text-transform: uppercase;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: rgba(var(--acc7), .04);
    cursor: pointer;
}

.punbb .modmenu span { margin-left: auto; }


/* === info boxes === */

.punbb .info .container { padding: 0.8em 1em; }
.punbb .info .container .backlink { padding-top: 0.8em; }


/* === userlist === */

#pun-userlist .formal, #pun-userlist .formal .container {
    border-bottom: none;
    margin-bottom: 0;
}

#pun-userlist .usertable .container { padding: 0 2.3em 2.3em 2.3em; border: none; }
#pun-userlist .usertable table { border: none; }

#pun-pagelinks li a span { display: block; margin: 0 1em; }


#pun-navlinks li { display: inline; padding-right: 1em; }

#pun-navlinks li a:hover {
    font: 400 12px var(--font2);
    color: rgb(var(--white), .7);
    font-style:italic;
} 

/* === profile === */

#profile .post.toppost .pa-author { padding-top: 0; }


#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 {
    background: rgba(var(--acc7), .02);
}

#pun-viewforum table tbody tr:hover, #pun-modviewforum table tbody tr:hover,
#pun-searchtopics table tbody tr:hover, #pun-userlist table tbody tr:hover,
#pun-messages #messages table tbody tr:hover {
    background: rgba(var(--acc7), .05);
}

#pun-profile #profile .container {
    padding-left: 10em;
    position: relative;
    min-height: 500px;
}

#viewprofile { flex-grow: 1; }
#viewprofile-next { display: flex; gap: 32px; }
#viewprofile-next::after { display: none; }
#viewprofile-next #profilenav { display: inline-block !important; padding-top: 16px; }

#pun-profile #profile #profilenav {
    float: left;
    width: 10em;
    margin-left: -10em;
}

#viewprofile .container::after { display: none; }
#viewprofile .container tr { display: flex; gap: 30px; }

#profilenav li { list-style: none; }

#profilenav a {
    display: block;
    margin-bottom: 8px;
    color: rgba(var(--acc3), .8) !important;
    text-transform: uppercase;
    font: 700 9px var(--font3);
    background: rgba(var(--acc7), .05);
    padding: 3px 10px;
    border-radius: 5px;
}

#profilenav a:hover { background: rgba(var(--acc7), .1); }
#profilenav li:not(:last-child) a { margin-right: 4px; }
#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; }

#profile-left li { list-style: none; }
#profile-left #profile-title { margin: 8px 0; }
#profile-left #pa-online { padding-top: 8px; }
#profile-left #pa-avatar strong { display: none; }
#pa-edit { display: none; }
#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 rgba(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: 16px; }
#pun-messages #profilenav ul li { display: inline-block; }

#pun-messages .post-author .pa-reg,
#pun-messages .post-author .pa-online,
#pun-messages .post-author .pa-last-visit { display: none; }

body #profile-left {
    padding: 16px !important;
    background: rgb(var(--pun-light), .4);
    border-radius: 5px;
    width: 180px;
    box-shadow: 0px 5px 12px #0000000f;
    font: 400 10px var(--font4);
    height: min-content;
}


/* === navigation === */


#pun-pagelinks {
    position: absolute;
    top: -15px;
    left: 0;
    margin: 0;
    border: none;
    padding: 0;
    width: 100%;
}

#pun-pagelinks .container { background: transparent; border: none; padding: 0; }
#pun-pagelinks .container li { display: inline; }

#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%;
}

#pun-pagelinks a:active, #pun-pagelinks a:focus { position: relative; margin: 0; }


#pun-navlinks,
#pun-ulinks {
    width: auto;
    margin-left: calc(-1 * var(--h-outer));
    margin-right: calc(-1 * var(--h-outer));
}

#pun-navlinks {
    border: none;
    position: absolute;
    top: 35px;
    height: 44px;
    width: calc(var(--width) + (var(--h-outer) * 2));
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#pun-navlinks .container {
    display: flex;
    align-items: center;
    height: 44px;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0 var(--h-outer);
    gap: 12px;
}

#pun-navlinks li a {
    text-transform: lowercase;
    font: 400 12px var(--font2);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 2px 12px;
    border-radius: 20px;
    background: rgb(var(--acc7), .4);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 0 0 1px rgb(255 255 255 / 10%);
    transition: font .25s ease, color .25s ease, opacity .25s ease;
}


#pun-navlinks li a img { opacity: .7; max-height: 14px; }

/* === nav labels === */

#navindex a span,
#navuserlist a span,
#navsearch a span,
#navprofile a span,
#navpm a span,
#navadmin a span,
#navlogout a span,
#navregister a span,
#navlogin a span,
#navawards a span { display: none; }

#navindex    a::before { content: "main"; }
#navuserlist a::before { content: "users"; }
#navsearch   a::before { content: "search"; }
#navprofile  a::before { content: "profile"; }
#navpm       a::before { content: "mess."; }
#navadmin    a::before { content: "ams"; }
#navlogout   a::before { content: "logout"; }
#navregister a::before { content: "join"; }
#navlogin    a::before { content: "login"; }
#navawards   a::before { content: "awards"; }


/* === user links === */

#pun-ulinks {
    position: absolute;
    top: 368px;
    z-index: 100;
    padding: 4px 0;
    width: var(--width);
}

#pun-ulinks .container {
    border: none;
    padding: 8px var(--h-outer);
    display: flex;
    justify-content: center;
    width: var(--width);
    gap: 10px;
}

#pun-ulinks li, #pun-ulinks li a {
    display: inline;
    border: none;
    white-space: nowrap;
    text-transform: lowercase;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--font5);
    color: rgb(var(--acc6));
}

#pun-ulinks li a:hover {
    color: rgb(var(--white), .8);
}

#pun-ulinks li a { padding: 0 0.3em 0 0.6em; }
#pun-ulinks li.item1, #pun-ulinks li.item1 a { border: none; padding-left: 0; }


/* === welcome & crumbs === */

#pun-status {
    padding-top: 14px;
    font-size: 11px;
    color: rgba(var(--text), .7);
}

#pun-status .container { padding: 0; text-align:center;}

#pun-status .item1,
#pun-status .item2 {text-transform:lowercase; }

#pun-crumbs1,
#pun-crumbs2 {
  margin:0;padding:6px 16px;text-align:center;
  font:400 17px/20px 'Instrument Serif',Georgia,serif; color:#1e1e1d;
  display:flex;justify-content:center;align-items:center;gap:10px;
}

#pun-crumbs1 .container,
#pun-crumbs2 .container { padding: 6px 0;     margin-left: -12px;}

#pun-crumbs1 em,
#pun-crumbs2 em {
    font-size: 0;
    display: inline-flex;
    align-items: center;
}

#pun-crumbs1 em::before,
#pun-crumbs2 em::before {
    font-family: var(--fa);
    color: rgb(var(--link));
    opacity: .5;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    content: '\e5d6';   /* звёздочка, как у значка онлайна */
    padding: 0px 10px;
    position: relative;
    top: -1px;
}

#pun-break1 {
    margin: -2px 1em;
    border: none;
    height: 0;
    position: relative;
    z-index: 1;
}


#pun-announcement .container { padding: 14px 0; }


.lastedit {display:none;}

/* === statistics === */

/* Re:flection: статистика по макету — четыре счётчика в строку
   акцентом, ниже «активны (…)» и «посетили за сутки (…)» со списками.
   Подписи счётчиков и скобки рисуются CSS-ом поверх штатной разметки. */
#pun-stats {
    margin-top: 0;
    font-size: 11px;
    border-radius: 0;
}

#pun-stats .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 10px;
    row-gap: 0;
    box-sizing: border-box;
    padding: 22px 20px 26px;
    background: none;
}

/* четыре показателя: сообщений · пользователей · тем · последним прибыл */
#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
    flex: 0 0 auto;
    float: none;
    clear: none;
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0 0 30px;
    padding: 0;
    border-radius: 0;
    background: none;
    white-space: nowrap;
    font: 500 10px/1.2 var(--font);
    color: rgb(var(--link));
}

#pun-stats li.item2 { order: 1; }
#pun-stats li.item3 { order: 2; }
#pun-stats li.item1 { order: 3; }
#pun-stats li.item4 { order: 4; }

/* штатные подписи («тем - », «смс - »…) прячем, ставим свои */
#pun-stats li.item1 > span,
#pun-stats li.item2 > span,
#pun-stats li.item3 > span,
#pun-stats li.item4 > span { font-size: 0; }

#pun-stats li.item1 > span::before,
#pun-stats li.item2 > span::before,
#pun-stats li.item3 > span::before,
#pun-stats li.item4 > span::before { font-size: 10px; color: rgb(var(--link)); }

#pun-stats li.item1 > span::before { content: "тем:"; }
#pun-stats li.item2 > span::before { content: "сообщений:"; }
#pun-stats li.item3 > span::before { content: "пользователей:"; }
#pun-stats li.item4 > span::before { content: "последним прибыл:"; }

#pun-stats li.item1 strong,
#pun-stats li.item2 strong,
#pun-stats li.item3 strong,
#pun-stats li.item4 strong { font-weight: 500; }

#pun-stats li.item4 strong a { color: rgb(var(--link)); }

/* «активны» и «посетили за сутки» */
#pun-stats li.item5,
#pun-stats li.item6,
#pun-stats li#onlinelist {
    order: 5;
    flex: 1 1 100%;
    float: none;
    width: auto;
    margin: 0 0 14px;
    border: none;
    border-radius: 0;
    padding: 0 35px;
    background: none;
    line-height: 1.3;
    text-align: left;
}

/* голые «: » между счётчиком и списком гасим размером шрифта div-а */
#pun-stats li#onlinelist > div { border: none; padding: 0; font-size: 0; }

#pun-stats li#onlinelist .e1,
#pun-stats li#onlinelist .e2,
#pun-stats li#onlinelist .e3 { font: 600 11px/1.3 var(--font); color: rgb(var(--text)); }

#pun-stats .e1 a,
#pun-stats li#onlinelist > div > a:first-child {
    font-weight: 600;
    color: rgb(var(--text));
    text-transform: lowercase;
}

/* «0 гостей» &#8594; «гостей: 0», в скобках через запятую */
#pun-stats li#onlinelist .e2,
#pun-stats li#onlinelist .e3 { display: inline-flex; }
#pun-stats li#onlinelist .e2-2,
#pun-stats li#onlinelist .e3-2 { order: -1; }
#pun-stats li#onlinelist .e2-2::after,
#pun-stats li#onlinelist .e3-2::after { content: ":\00a0"; }
#pun-stats .e2-1,
#pun-stats .e3-1 { font-weight: 600; }

#pun-stats li#onlinelist .e1::after { content: "\00a0("; }
#pun-stats li#onlinelist .e2::after { content: ",\00a0"; }
#pun-stats li#onlinelist .e3::after { content: ")"; }

/* имена — с новой строки */
#pun-stats .e4,
#pun-stats li#onlinelist > div > span:not([class]) {
    display: block;
    margin-top: 6px;
    font: 500 10px/1.3 var(--font);
    color: rgb(var(--text));
}

#pun-stats .e4 a { color: rgb(var(--text)); }
#pun-stats .e4 a:hover { color: rgb(var(--link)); }


/* === footer === */

#pun-qjump { margin: 0; border: none; width: 50%; position: relative; float: left; }
#pun-qjump .container { border: none; background: transparent; padding: 0.8em 1em; }

/* Re:flection: старая футер-картинка (#pun-about::before) снята —
   футер теперь блок .rf-foot из «HTML низ», копирайт лежит поверх него */

#pun-about {
    font-size: 9px;
    text-transform: uppercase;
    color: rgba(var(--text), .45);
}

#pun-about .container {
    border: none;
    text-align: right;
    line-height: 150%;
    padding: 12px 0 0;
}

/* копирайт ложится поверх футер-картинки: её ::before поднят
   отрицательным margin-bottom, поэтому тексту нужен свой слой */
#pun-about p span {
    display: block;
    z-index: 10;
    position: relative;
    color: rgb(var(--white), .7);
}

#pun-about { position: relative; z-index: 2; }
#pun-about .container { padding: 8px 14px 0 0; }


#pun-crumbs2 {
    font-weight: bold;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 0;
    border: none;
}

#pun-crumbs2 .container { padding: 12px 0; }

#pun-break4 { margin: -2px 1em; border: none; position: relative; height: 0; z-index: 1; }
div.punbb-admin #pun-about .container { border: none; }

.punbb-admin #pun-ulinks {
    position: relative;
    top: -5px;
    background: rgb(var(--acc7), .7);
    width: var(--width);
    margin: 0px;
}

.punbb-admin #pun-navlinks {
    position: relative;
    top: -5px;
    background: rgb(var(--acc7));
    width: var(--width);
    margin: 0px;
}


/* === help page === */

#pun-help .formal .info-box h3.legend { border: none; padding-bottom: 0; margin-bottom: 0.8em; }
#pun-help .formal .info-box h3.legend span { padding-bottom: 0.6em; display: block; border: none; font-size: 1.1em; }
#pun-help .formal p, #pun-help .formal dd { margin-bottom: 1em; }
#pun-help .formal ul, #pun-help .formal dl { padding: 0 0 0 1em; }
#pun-help .formal li { padding: 0; line-height: 130%; }
#pun-help .formal li * { vertical-align: text-top; }
#pun-help .formal dt span { font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace; }
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode { padding-bottom: 0; }


/* === scrollbars === */

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--acc4), .5) transparent;
}

*::-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: var(--scrollbar-thumb-bg-hover);
}


/* === status icons === */


.punbb table div.icon {
position: absolute;
    margin-left: -60px;
    margin-top: 4px;
}

@keyframes newico-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1px); }
}


.punbb tr.inew div.icon {
    width: 41px;
    height: 76px;
    background: url(https://notahub.ru/media/ridge/img/52110.gif)!important;
    box-shadow: 0px 1px 4px hwb(0deg 0% 100% / 20%);
    animation: newico-float 2.6s ease-in-out infinite;
 }

.punbb .forum tr.inew div.icon {height:22px!important;}

.punbb #profile tr.inew div.icon {height:22px!important;}

.punbb tr.isticky div.icon { background-color: rgba(var(--sticky), .9) !important; }
.punbb tr.iclosed div.icon { background-color: rgba(var(--acc6), .5) !important; }
.punbb tr.iredirect div.icon { background-color: rgba(var(--acc6), .3) !important; }

/* Строка раздела: слева название со счётчиками, справа описание.
   &#9888;&#65039; Считаемся с разметкой ПОСЛЕ скрипта из «HTML низ»: он убирает
   ячейки .tc2/.tc3 и заворачивает <h3> вместе со счётчиками в новый
   div.forum-title. Поэтому колонку задаём ему, а не заголовку —
   на голом <h3> ширина бы не сработала. */
/* Re:flection: две колонки — название слева, описание справа */
#pun-index .category .tclcon {
    display: grid;
    grid-template-columns: 110px 420px;  
    column-gap: 50px;
    align-items: center;
}

/* иконки-гифки на главной не нужны, место под них тоже */


/* .forum-title создаёт скрипт из «HTML низ»: заголовок + счётчики */
#pun-index .category .forum-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0;
}

#pun-index .category .forum-title h3 { margin: 0; }

/* счётчики тем/сообщений, собранные тем же скриптом */
#pun-index .category .topics-and-posts {
    display: flex;
    gap: 12px;
    margin-top: 5px;
    font: 400 9px var(--font3);
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(var(--text), .45);
}

/* Подписи «thems:/sms:» приходят из скрипта в «HTML низ» — прячем их
   и ставим иконки. Свойства шрифта иконок — в секции «Иконки» выше;
   там же text-transform: none, без него лигатура сломалась бы, потому
   что у .topics-and-posts стоит uppercase. */
#pun-index .category .topics-and-posts b { display: none; }

#pun-index .category .topics::before,
#pun-index .category .posts::before {
    font-size: 12px;
    margin-right: 4px;
    vertical-align: -2px;
    color: rgba(var(--text), .45);
}

#pun-index .category .topics::before { content: "forum"; }
#pun-index .category .posts::before  { content: "textsms"; }


/********************************************************************
   Описание раздела и ссылки на подразделы
   -------------------------------------------------------------
   &#9888;&#65039; САМО ПО СЕБЕ НЕ ПОЯВИТСЯ. Разметку нужно вписать руками в поле
   «Описание» каждого раздела (админка &#8594; Форумы):

     <div class="tclcon-text">
       <p><b>метка</b></p>
       <p>текст описания раздела</p>
     </div>
     <div class="tclcon-links">
       <a href="/viewtopic.php?id=1">подраздел</a>
       <a href="/viewtopic.php?id=2">ещё один</a>
     </div>

   Блок ссылок необязателен. Если не добавлять ни одного блока,
   описание останется обычным текстом — вёрстка не сломается.
********************************************************************/

#pun-index .category .tclcon-text {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 5px;
    font-size: 10px;
    line-height: 140%;
    text-align: justify;
    color: rgba(var(--text), .7);
}

/* абзацы в строку — метка и текст читаются одной фразой */
#pun-index .category .tclcon-text p {
    display: inline;
    padding: 0;
}

#pun-index .category .tclcon-text p b {
    font-weight: 500;
    text-transform: lowercase;
    color: rgb(var(--link));
}

/* точка-разделитель после метки, но не после последнего абзаца */
#pun-index .category .tclcon-text p b::after {
    content: "//";
    margin: 0 4px 0 4px;
    font-weight: 400;
}

#pun-index .category .tclcon-text p:last-of-type b::after { content: none; }


#pun-index .category .tclcon-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    margin-top: -34px;
    padding: 0 10px 10px;
    border-radius: 0 0 var(--glass-radius-sm) var(--glass-radius-sm);
    line-height: 1;
}

#pun-index .category .tclcon-links a {
    padding: 5px 9px;
    border-radius: 20px;
    background: rgb(var(--acc4), .6);
    color: rgba(var(--white), .9);
    font: 400 10px var(--font);
    text-transform: lowercase;
    letter-spacing: .3px;
}

#pun-index .category .tclcon-links a::before { content: none; padding: 0; }

#pun-index .category .tclcon-links a:hover {
    background: rgb(var(--acc2));
    color: rgb(var(--pun3));
}


/* === forum & topic lists === */


.punbb .main .tcl h3 { margin: 0; }

/* font-style ПОСЛЕ сокращения font: шорткат сбрасывает начертание
   в normal, поставленный выше курсив был бы затёрт */
.punbb .main .tcl h3 a {
    font: 400 18px var(--font2);
    font-weight: bold;
    text-transform: lowercase;
    color: rgb(var(--link));
    letter-spacing: 0.05em;
}

.punbb .main .tcl h3 a:hover { color: rgb(var(--link-hover)); }

/* Re:flection: название раздела на главной — курсив Instrument Serif
   (шрифт подключён в head.css шапки). С новыми сообщениями — тёмная плашка */
#pun-index .category .forum-title h3 a {
    display: inline-block;
    font: italic 400 30px/1 'Instrument Serif', Georgia, serif;
    letter-spacing: -0.01em;
    text-transform: lowercase;
    color: rgb(var(--label));
}

#pun-index .category .forum-title h3 a:hover { color: rgb(var(--link)); }

#pun-index .category tr.inew .forum-title h3 a {
    padding: 2px 12px 3px;
    background: rgb(36, 36, 36);
    color: rgb(168, 158, 149);
}

#pun-index .category tr.inew .forum-title h3 a:hover { color: rgb(var(--pun)); }


#pun-index .category .tclcon {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(var(--text), .55);
}


#pun-index .tclcon > a {
    font: 700 9px var(--font3);
    text-transform: uppercase;
    letter-spacing: .02em;
}

#pun-index .tclcon > a::before {
    content: "\203A";
    opacity: .6;
    padding: 0 4px;
}

.punbb .forum .tclcon > a {
    font: 400 13px var(--font);
    text-transform: none;
    letter-spacing: normal;
    color: rgb(var(--text));
}

.punbb .forum .tclcon > a:hover { color: rgb(var(--link)); }


.punbb .main .tcr {
    font-size: 10px;
    line-height: 1.5;
    color: rgba(var(--text), .55);
}

.punbb .main .tcr .user-avatar {
    float: left;
    margin-right: 18px;
}

span.lastpost {
    margin-left: 18px;
    text-transform: lowercase;
}

.punbb .user-avatar {
    float: none!important;
}

.punbb .main .tcr .avatar-image {
    border-radius: 50%;
    height: 36px;
    width: 36px;
    opacity: 0.85;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-clip: border-box;
    background-color: rgb(var(--link));
    float: left;
    border: 3px solid rgb(var(--link));
}

.punbb .main .tcr .isonline {
    display: flex;
    position: absolute;
    left: -21px;
    top: 32px;
    width: 16px;
    height: 16px;
    background: rgb(var(--link));
    border-radius: 50%;
    z-index: 10;
    transform: translateX(-50%);
    animation: none !important;
    justify-content: center;
}

.punbb .main .tcr .isonline::before {
    font-family: var(--fa);
    content: '\e5d6';
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    color: rgb(var(--pun));
}


.byuser { color: rgba(var(--text), .45); }


.punbb .main .tc2, .punbb .main .tc3 {
    font-size: 11px;
    color: rgba(var(--text), .45);
}


/* === input focus === */

::selection {
    background: rgba(var(--acc4), 0.3);
    color: rgb(var(--acc2));
}

input, textarea, select { outline: none; }

input, textarea {
    color: rgb(var(--text));
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(var(--input), 0.9);
    transition: background .25s ease, border-color .25s ease;
}

input:focus, textarea:focus {
    background: rgb(var(--input));
    border-color: rgba(var(--acc1), .4);
}


/* === editor 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: 24px;
    height: 24px;
    background: rgba(var(--acc7), .04);
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

#pun #form-buttons td:hover {
    cursor: pointer;
    background: rgba(var(--acc7), .09);
}


#form-buttons table tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 10px;
    padding: 6px;
    border-radius: var(--glass-radius-sm);
    background: rgba(var(--acc7), .02);
}

#form-buttons td::before {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

/* РЕГУЛЯТОР РАЗМЕРА И ШРИФТА В ПОСТАХ
===========================================*/
#chfont {
    position: absolute;
    top: -274px;
    right: 2px;
    text-align: center;
    line-height: 22px;
    -moz-opacity: .8;
    opacity: .8;
    z-index: 999999;
}
#chfont:hover {
    opacity: 1; /*убирает прозрачность при наведении*/
    -moz-opacity: 1;
}
#chfontbut {
    width: 26px; /*ширина*/
    height: 26px; /*высота*/
    float: left;
     /*рамка вокруг иконки*/
    cursor: pointer;
    position: relative;
}

#chfontbut:before {    content: '\e245';
    position: relative;
    font-size: 18px;
    color: var(--cl3);
    font-family: 'Material Icons';
    padding: 0px 0px;
    top: -27px;
}

#chfontbut::after {/*крестик на иконке*/
    display: none;
    position: absolute;
    content: 'x';
    top: -1px;
    right: -2px;
    color: var(--cl4); /*цвет крестика*/
    line-height: 7px; /*высота строки*/
    font-size: 10px; /*размер крестика*/
}
#chfont.active #chfontbut::after {
    display: block;
}
#chfont select {/*поле выбора вида шрифта*/
    display: none;
    background-color: var(--cl3); /*цвет фона*/
    color: var(--cl); /*цвет текста*/
     /*отступ снизу*/
    margin: 0px 0px 5px;
    cursor: pointer;
}
#chfontsize {/*индикатор размера шрифта*/
    width: 24px; /*ширина*/
    float: right;
    display: none;
}
#chfont.active select,
#chfont.active #chfontsize {
    display: block;
}
.fsizeplus,
.fsizeminus {/*кнопки плюса и минуса*/
    background-color: var(--cl3); /*цвет фона*/
    border: solid 1px var(--cl3); /*стиль, цвет и ширина линий*/
    color: var(--cl); /*цвет плюса и минуса*/
    cursor: pointer;
}
.fsizeplus::after {
    content: '+';
}
.fsizeminus::after {
    content: '-';
}
.fsize {
   /*поле показывающее размер шрифта*/
   background-color: var(--cl3); /*цвет фона*/
   color: var(--cl); /*цвет цифр*/
   margin: 2px 0px 2px;
}


#button-graffiti_rusff { display: none !important; }


#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: '\f070'; }
#button-image::before     { content: '\f03e'; }
#button-video::before     { content: '\f03d'; }
#button-hide::before      { content: '\f023'; }
#button-quote::before     { content: '\f10e'; }
#button-code::before      { content: '\f121'; }
#button-color::before     { content: '\f53f'; }
#button-table::before     { content: '\f00a'; }
#button-smile::before     { content: '\f118'; }
#button-size::before      { content: '\f034'; }
#button-font::before      { content: '\f031'; }
#button-keyboard::before  { content: '\f11c'; }
#button-addition::before  { content: '\f067'; }
#button-clear::before     { content: '\f12d'; }
#button-hideprofile::before {
    content: '\f070'; /* fa-eye-slash */
}

#button-transL::before{content:'\f891';}
#button-ChangeСase::before{content:'\f866';}
#button-justify::before{content:'\f039';}
#button-indent::before{content:'\f1dd'}
#button-image2::before, #form-buttons #button-image~#button-image::before{content:'\f03e'!important;}
#button-float::before{content:'\f1fe'}
#button-sticker::before {content: '\f118';}

/* =============================================================
   Липкое меню (#pun-navlinks + #pun-ulinks), порт механики с hv2026.
   У темы оба блока position:absolute поверх шапки #nch — CSS-only
   sticky тут не работает, см. hv-sticknav.js: скрипт при скролле
   переносит сами блоки (не копии) в фиксированную панель.
   ============================================================= */

#sts-sticknav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: auto;
    max-width: 100%;
    padding: 6px 30px 7px;
    margin-left: -30px;
    height: auto;
    z-index: 900;
    background: rgba(27, 27, 26, .95);   /* Re:flection: тон полосы меню в шапке */
    border-bottom: 1px solid rgba(160, 155, 140, .18);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
    backdrop-filter: blur(10px);
}
#sts-sticknav.is-on { display: block; overflow: visible; }

#sts-sticknav .sts-sticknav__inner {
    width: 562px;
    margin: 0 auto;
}

#sts-sticknav #pun-navlinks, #sts-sticknav #pun-ulinks {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    box-sizing: border-box !important;
}
#sts-sticknav #pun-navlinks h2, #sts-sticknav #pun-ulinks h2 { display: none; }

#sts-sticknav #pun-navlinks .container,
#sts-sticknav #pun-ulinks .container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    list-style: none;
}
#sts-sticknav #pun-ulinks .container { justify-content: space-around; margin-top: 5px; line-height: 1; }

#sts-sticknav #pun-navlinks li, #sts-sticknav #pun-ulinks li {
    display: block; float: none; margin: 0; padding: 0; border: 0; background: none; height: auto;
}

#sts-sticknav #pun-navlinks a,
#sts-sticknav #pun-navlinks a:link,
#sts-sticknav #pun-navlinks a:visited {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-shadow: none;
    width: auto;
    height: auto;
    font: italic 400 20px/22px 'Instrument Serif', Georgia, serif;
    text-transform: none;
    text-decoration: none;
    color: #9a9586 !important;
}
#sts-sticknav #pun-navlinks a::before, #sts-sticknav #pun-navlinks a::after { content: none; }
#sts-sticknav #pun-navlinks a span { display: inline; font: inherit; color: inherit; }
#sts-sticknav #pun-navlinks li.isactive a { color: #b5825f !important; }

#sts-sticknav #pun-ulinks li a {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    font: 400 10px/1 'Jost', Arial, sans-serif;
    letter-spacing: .03em;
    text-transform: lowercase;
    white-space: nowrap;
    text-decoration: none;
    color: #9a9586 !important;
}

#sts-sticknav #pun-navlinks a:hover,
#sts-sticknav #pun-ulinks li a:hover { color: #d6d1c4 !important; }


/* =============================================================
   Re:flection: футер — footer.webp во всю ширину колонки,
   по центру сетка кнопок 88&#215;31 4&#215;3. Разметка .rf-foot — в «HTML низ».
   ============================================================= */

.rf-foot {
    position: relative;
    top:2px;
    box-sizing: border-box;
    width: calc(var(--width) + var(--p-outer) * 2);
    height: 180px;
    margin: -26px 0 0 calc(-1 * var(--p-outer));   /* под строку копирайта #pun-about */
    border-radius: 0 0 var(--b1) var(--b1);
    background: #1b1b1a url(https://notahub.ru/media/ridge/reflection/img/footer.webp) 0 0 / 100% 100% no-repeat;
}

.rf-foot__btns {
    position: absolute;
    left: 340px;
    top: 12px;
    display: grid;
    grid-template-columns: repeat(4, 88px);
    grid-auto-rows: 31px;
    gap: 22px 12px;
}

.rf-foot__btns a, .rf-foot__btns img { display: block; width: 88px; height: 31px; }
.rf-foot__btns a { transition: filter .2s; }
.rf-foot__btns a:hover { filter: brightness(1.15); }

.sts-progress {
    width: 620px;
    height: 40px;
    position: absolute;
    top: 250px;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: var(--glass-radius-sm);
    background: rgba(var(--acc7), .58);
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.sts-progress__tags {
    display: flex;
    justify-content: center;
    gap: 6px;
    font: 500 10px var(--font2);
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(var(--white), .8);
    flex-wrap: nowrap;
    flex-direction: row;
}

.sts-progress__sep {
    font-style: normal;
    opacity: .4;
}

.sts-progress__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 380px;
}

.sts-progress__track {
    position: relative;
    flex: 1 1 auto;
    height: 8px;
    border-radius: 20px;
    background: rgba(var(--white), .12);
    overflow: hidden;
}

.sts-progress__fill {
    position: relative;
    height: 100%;
    width: 0%;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(var(--link), .8), rgb(var(--link)));
    transition: width 1.2s ease;
    overflow: hidden;
}

.sts-progress__fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: sts-progress-shine 2.6s linear infinite;
}

@keyframes sts-progress-shine {
    0%   { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}

.sts-progress__pct {
    flex: none;
    font: 400 16px var(--font4);
    color: rgb(var(--white), .8);
    min-width: 30px;
    text-align: right;
    margin-left: 20px;
}

.sts-progress__cap {
    margin-top: 6px;
    text-align: center;
    font: 400 9px var(--font);
    font-style: italic;
    text-transform: lowercase;
    color: rgba(var(--white), .5);
}

/* Re:flection · шапка | legume */
@font-face{font-family:'Instrument Serif';src:url(https://notahub.ru/media/ridge/reflection/fonts/InstrumentSerif-Regular.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url(https://notahub.ru/media/ridge/reflection/fonts/InstrumentSerif-Italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Jost';src:url(https://notahub.ru/media/ridge/reflection/fonts/Jost-VariableFont_wght.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}

.rf-head{
  --rf-serif:'Instrument Serif',Georgia,serif;
  --rf-sans:'Jost',Arial,sans-serif;
  --rf-ink:#d6d1c4;        /* светлый текст */
  --rf-mute:#9a9586;       /* имена, подписи */
  --rf-dim:#77736a;        /* мелкие подписи меню */
  --rf-accent:#b5825f;     /* рыжий акцент: активный пункт, Episode */
  --rf-plate:rgba(28,28,27,.88);
  --rf-plate-line:rgba(160,155,140,.28);
  position:relative;width:1000px;height:432px;overflow:hidden;
  margin:0 0 0 calc(-1 * var(--p-outer, 30px)); /* во всю ширину #pun_wrap, как баннеры категорий */
  
  background:#1b1b1a url(https://notahub.ru/media/ridge/reflection/img/head/full.webp) 0 0/1000px 432px no-repeat;
  font-family:var(--rf-sans);color:var(--rf-ink);line-height:1.2;text-align:left;
border-radius: var(--b1) var(--b1) 0px 0px;
}
.rf-head *{box-sizing:border-box}
.rf-head a{text-decoration:none;color:inherit;transition:color .2s}
.rf-head a:hover{color:var(--rf-ink)}

/* -- слоты с картинками (вариант выбирает JS, по умолчанию первый) -- */
.rf-slot{position:absolute;display:block;background:no-repeat 0 0/100% 100%}
.rf-slot--left {left:11px; top:14px; width:269px;height:260px}
.rf-slot--mid  {left:267px;top:290px;width:320px;height:127px}
.rf-slot--right{left:592px;top:240px;width:199px;height:127px}
.rf-slot--mugs {left:307px;top:128px;width:129px;height:123px;background-image:url(https://notahub.ru/media/ridge/reflection/img/head/anim.webp)}
.rf-slot--road {left:787px;top:29px; width:204px;height:249px;background-image:url(https://notahub.ru/media/ridge/reflection/img/head/anim2.webp)}

/* чашки = переключатель день/ночь (скрипт theme toggle в HTML-верх) */
.rf-slot--mugs{cursor:pointer}

/* -- меню: штатные #pun-navlinks + #pun-ulinks, перенесены в шапку скриптом -- */
.rf-nav{position:absolute;left:238px;top:10px;width:562px;height:auto;padding:3px 10px 7px;
  z-index:5} /* фон под меню нарисован в full.webp */
.rf-head #pun-navlinks,.rf-head #pun-ulinks{display:block;position:static;inset:auto;width:auto;height:auto;min-height:0;max-height:none;margin:0;padding:0;
  background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:auto}
.rf-head #pun-navlinks h2,.rf-head #pun-ulinks h2{display:none}
.rf-head #pun-navlinks .container,.rf-head #pun-ulinks .container{display:flex;justify-content:space-between;align-items:baseline;
  margin:0;padding:0;background:none;border:0;box-shadow:none;width:100%;height:auto;min-height:0;list-style:none}
.rf-head #pun-navlinks li,.rf-head #pun-ulinks li{display:block;margin:0;padding:0;border:0;background:none;float:none}
.rf-head #pun-navlinks li a,.rf-head #pun-ulinks li a{display:inline;margin:0;padding:0;border:0;border-radius:0;
  background:none;box-shadow:none;text-shadow:none;height:auto;width:auto;text-transform:none;min-width:0}
.rf-head #pun-navlinks li a::before,.rf-head #pun-navlinks li a::after{content:none}
.rf-head #pun-navlinks li a{display:block;font:italic 400 20px/22px var(--rf-serif);letter-spacing:0;color:var(--rf-mute)}
.rf-head #pun-navlinks li a span{font:inherit;color:inherit;display:inline}
.rf-head #pun-navlinks li.isactive a{color:var(--rf-accent)}
.rf-head #pun-navlinks li a:hover,.rf-head #pun-ulinks li a:hover{color:var(--rf-ink)}
.rf-head #pun-ulinks .container{justify-content:space-around;margin-top:5px;line-height:1}
.rf-head #pun-navlinks li,.rf-head #pun-ulinks li{line-height:inherit;height:auto}
.rf-head #pun-ulinks li a{font:400 7.5px/1 var(--rf-sans);letter-spacing:.02em;color:var(--rf-dim);text-transform:lowercase;white-space:nowrap}
.rf-head #pun-ulinks .bubble{font:500 7px/1 var(--rf-sans);color:var(--rf-accent);background:none;padding:0 0 0 2px;position:static}

/* -- плашки слева -- */
.rf-plates{position:absolute;left:50px;top:214px;width:175px;display:flex;flex-direction:column;gap:15px}
.rf-plate{display:flex;align-items:center;height:26px;padding:0 8px;background:var(--rf-plate);
  border:1px solid var(--rf-plate-line)}
.rf-plate__date{font:400 23px/1 var(--rf-serif);color:var(--rf-mute);letter-spacing:-.03em;margin-right:8px}
.rf-plate__text{flex:1;text-align:center}
.rf-plate__top{display:block;font:500 8.5px/1.1 var(--rf-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--rf-ink)}
.rf-plate__bot{display:block;font:500 7.5px/1.1 var(--rf-sans);letter-spacing:.1em;color:var(--rf-mute)}
a.rf-plate:hover{border-color:var(--rf-accent)}

/* -- АМС столбиком у лого -- */
.rf-ams{position:absolute;left:440px;top:100px;width:60px;display:flex;flex-direction:column;gap:7px;text-align:right}
.rf-ams a{font:400 15px/18px var(--rf-serif);color:var(--rf-mute)}
.rf-ams a:hover{color:var(--rf-accent)}
.rf-ams__ava{position:absolute;left:307px;top:150px;width:130px;height:60px;
  background:no-repeat 0 0/100% 100%;border:1px solid var(--rf-plate-line);
  opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s;pointer-events:none}
.rf-ams__ava.is-on{opacity:1;transform:none}

/* -- Episode -- */
.rf-ep{position:absolute;left:600px;top:356px;width:190px}
.rf-ep__head{display:flex;align-items:baseline;gap:14px;padding-left:28px}
.rf-ep__title{font:400 14px/1 var(--rf-serif);color:var(--rf-accent)}
.rf-ep__quote{font:400 9px/1.1 var(--rf-sans);color:var(--rf-ink);letter-spacing:.06em;text-align:right}
.rf-ep__names{display:flex;justify-content:space-between;margin-top:10px}
.rf-ep__names a{font:400 13px/1 var(--rf-serif);color:var(--rf-mute)}

/* -- navigation -- */
.rf-guide{position:absolute;left:800px;top:248px;width:190px}
.rf-guide__title{display:block;text-align:right;font:italic 400 25px/1 var(--rf-serif);color:var(--rf-mute)}
.rf-guide__names{display:flex;justify-content:space-between;margin:14px 0 9px;padding-right:10px}
.rf-guide__names a{font:400 13px/1 var(--rf-serif);color:var(--rf-mute)}
.rf-guide__text{font:400 8px/1.3 var(--rf-sans);color:var(--rf-ink);letter-spacing:.03em}
.rf-guide__sign{display:block;text-align:right;margin-top:9px;font:400 13px/1 var(--rf-serif);color:var(--rf-mute)}

/* родной заголовок форума не нужен, когда стоит наша шапка */
body:has(.rf-head) #pun-title{display:none}

/* Re:flection · главная: плашка-крошки и баннеры категорий | legume */

/* -- плашка «>>strangers» = крошки -- */
#pun-crumbs1{
  background:#e4e4e2;display:block;
}
#pun-crumbs1 .container{
  margin:0;padding:6px 16px;text-align:center;
  font:400 17px/20px 'Instrument Serif',Georgia,serif; color:#1e1e1d;
  display:flex;justify-content:center;align-items:center;gap:10px;
}
#pun-crumbs1 strong{display:none}
#pun-crumbs1 a{color:inherit}
/* разделитель — звёздочка, как в нижних крошках (правило «welcome & crumbs») */

/* -- баннеры категорий: название нарисовано на картинке -- */
#pun-main [id^="pun-category"] > h2,
#pun-stats > h2{aspect-ratio:1000 / 90;background-size:100% 100%}
#pun-category1 > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/cat/k1.webp)}
#pun-category2 > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/cat/k2.webp)}
#pun-category3 > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/cat/k3.webp)}
#pun-category4 > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/cat/k4.webp)}
#pun-category5 > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/cat/k5.webp)}
#pun-category6 > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/cat/k6.webp)}
#pun-category7 > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/cat/k7.webp)}
#pun-stats > h2{background-image:url(https://notahub.ru/media/ridge/reflection/img/stats.webp)}

/* =============================================================
   Re:flection: плотные строки разделов (по референсу заказчика).
   Иконка | название / описание / пилюли | последнее сообщение.
   Иконка только у разделов с новыми сообщениями (tr.inew).
   ============================================================= */
#pun-index .category table,
.punbb .forum table { border-spacing: 0; }
#pun-index .category tbody td {
    padding-top: 14px;
    padding-bottom: 14px;
    vertical-align: top;
    border-bottom: 1px solid rgba(var(--text), .12);
}
#pun-index .category tbody tr:last-child td { border-bottom: 0; }
#pun-index .category tbody.hasicon td.tcl { padding-left: 86px; position: relative; }
#pun-index .category div.icon {
    display: block;
    position: absolute;
    left: 0px;
    top: 14px;
    margin: 0;
    width: 60px;
    height: 60px;
    background: none !important;
    box-shadow: none;
    animation: none;
}
/* новое сообщение — гифка; без новых — пусто */
#pun-index .category tr.inew div.icon {
    height: 60px !important;
    background: url(https://upforme.ru/uploads/001c/cf/84/2/199109.gif) no-repeat center / 60px 60px !important;
}
#pun-index .category .tclcon { display: block; }
#pun-index .category .forum-title {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
}
#pun-index .category .forum-title h3 a { font-size: 24px; }
#pun-index .category .topics-and-posts { margin-top: 0; }
#pun-index .category .tclcon-text {
    padding: 4px 0 0;
    font-size: 9.5px;
    line-height: 1.45;
}
#pun-index .category .tclcon-text:has(+ .tclcon-links) { padding-bottom: 0; }
#pun-index .category .tclcon-links { margin-top: 8px; padding: 0; gap: 6px; }
#pun-index .category .tclcon-links a { padding: 4px 10px; font-size: 9.5px; }
#pun-index .tcl { width: 74%; padding-right: 24px; }
#pun-index .tcr { width: 26%; vertical-align: middle !important; }
#pun-index .category .tcr .lastpost-link {
    display: block;
    font: 400 15px/1.1 'Instrument Serif', Georgia, serif;
    color: rgb(var(--label));
    white-space: nowrap; text-overflow: ellipsis;
}
#pun-index .category .tcr br { display: none; }
#pun-index .category .tcr .user-avatar {
    float: left !important;
    position: relative;
    margin: 0 12px 0 0;
}
#pun-index .category .tcr .isonline {     left: 21px;
    top: 30px; }
#pun-index .category .tcr .lastpost-link,
#pun-index .category .tcr span.lastpost { overflow: hidden; }
#pun-index .category .tcr span.lastpost { display: block; margin-left: 0; font-size: 9px; }

/* Re:flection: пользовательские ссылки — под шапкой, в светлой полосе
   (переносит head.js: #pun-ulinks ставится перед #pun-status) */
#pun-ulinks.rf-ulinks{display:block;position:static;inset:auto;width:calc(100% + var(--p-outer) * 2);margin:0 0 0 calc(-1 * var(--p-outer));
  height:auto;min-height:0;max-height:none;padding:8px 16px 2px;background:#e4e4e2;border:0;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;z-index:auto;box-sizing:border-box}
#pun-ulinks.rf-ulinks h2{display:none}
#pun-ulinks.rf-ulinks .container{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;
  margin:0;padding:0;background:none;border:0;box-shadow:none;width:auto;height:auto;list-style:none}
#pun-ulinks.rf-ulinks li{display:block;margin:0;padding:0;border:0;background:none;float:none;height:auto;line-height:1.3}
#pun-ulinks.rf-ulinks li a{display:inline;margin:0;padding:0;border:0;background:none;box-shadow:none;text-shadow:none;
  height:auto;width:auto;min-width:0;font:400 11px/1.3 'Jost',Arial,sans-serif;letter-spacing:.04em;
  text-transform:lowercase;color:#3c3c3a;white-space:nowrap}
#pun-ulinks.rf-ulinks li a:hover{color:#886f5a}
#pun-ulinks.rf-ulinks .bubble{font:500 10px/1 'Jost',Arial,sans-serif;color:#886f5a;background:none;padding:0 0 0 2px;position:static}
#pun-ulinks.rf-ulinks li a::before,#pun-ulinks.rf-ulinks li a::after{content:none}

/* Re:flection: разрядка строк в списках тем (поиск, разделы) —
   аватарка 42px + значок онлайна под ней не наползают на соседей */
.punbb .main tbody td {
    padding-top: 12px;
    padding-bottom: 14px;
}

/* Re:flection: липкое меню — без размытой подложки у пунктов,
   пользовательские ссылки на всю ширину плашки (1000px) в одну строку */
#sts-sticknav #pun-navlinks li a,
#sts-sticknav #pun-ulinks li a {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
#sts-sticknav .sts-sticknav__inner #pun-ulinks {
    width: 1000px !important;
    max-width: none !important;
    margin-left: calc((100% - 1000px) / 2) !important;
}
#sts-sticknav #pun-ulinks .container { justify-content: center; gap: 0 22px; flex-wrap: nowrap; }

/* Re:flection: светлая полоса под шапкой (ссылки, «привет», крошки) —
   в тёмной теме своя, тёмная */
.dark #pun-ulinks.rf-ulinks,
.dark #pun-crumbs1 { background: #232322; }
.dark #pun-status {
    margin-left: calc(-1 * var(--p-outer));
    box-sizing: border-box;
    background: #232322;
}
.dark #pun-crumbs1 .container,
.dark #pun-crumbs1 em::after { color: #d6d1c4; }
.dark #pun-ulinks.rf-ulinks li a { color: #a8a294; }
.dark #pun-ulinks.rf-ulinks li a:hover { color: #b5825f; }
