/* base quadra/qsdb forum template (c) legume · 1/2 */

@import url('style_cs.1792693643.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');   /* лес с оленем */
--bg-add: var(--rg-band-first);
--bg-fpost: var(--rg-band-first);
--text:          60, 69, 74;   /* графит */
--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;  /* рыжий акцент */
--link-hover:   98,  78, 62;
--label:        98,  98, 80;  /* названия форумов, олива */

--width: 940px;
--p-outer: 30px;
--h-outer: 20px;

--glass-blur: 14px;    --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);

/* общие токены блоков */
--rg-card: #e2e5e4;
--rg-panel: rgba(255, 255, 255, .6);
--rg-soft: rgba(30, 30, 32, .045);
--rg-txt: rgb(var(--text));
--rg-dim: rgba(var(--text), .5);
--rg-line: rgba(var(--text), .1);
--rg-line-2: rgba(var(--text), .12);
--rg-pill: rgba(74, 61, 51, .82);
--rg-pill-tx: #e9e4dc;
--rg-light: #e4e7e6;
--rg-light-tx: #4a3d33;
--rg-tan: #b5a491;
--rg-ink: #3b342e;
--rg-brown: #4a3d33;
--rg-plate: rgba(27, 27, 26, .92);
--rg-plate-tx: #d6d1c4;
--rg-accent: #b5825f;
--rg-serif: var(--font2, 'The Silver Editorial', serif);
--rg-sans: var(--font, 'Rubik', sans-serif);
--rg-caps: var(--font5, 'Jost', sans-serif);
--rg-instrument: 'Instrument Serif', Georgia, serif;
--rg-band-wanted: url(https://notahub.ru/media/ridge/img/909066.png);
--rg-band-first: url(https://notahub.ru/media/ridge/img/171748.png);

/* радиусы: только два */
--rg-r-s: 5px;
--rg-r: 8px;
}

/* === dark palette === */

.dark {
--bgcolor:      14,  14,  16;
--text:        226, 226, 230;
--pun:          35,  35,  34;
--pun-light:    31,  31,  31;
--catbody:      31,  31,  31;
--navlinks-bg:  24,  24,  27;
--ulinks-bg:    24,  24,  27;
--navlinks:    186, 186, 194;
--input:        31,  31,  30;
--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);

/* общие токены блоков */
--rg-card: #232322;
--rg-panel: rgba(255, 255, 255, .04);
--rg-soft: rgba(255, 255, 255, .025);
--rg-txt: rgba(var(--text), .84);
--rg-dim: rgba(var(--text), .45);
--rg-line: rgba(255, 255, 255, .06);
--rg-line-2: rgba(255, 255, 255, .08);
--rg-pill: rgba(20, 30, 31, .78);
--rg-light: #3a332d;
--rg-light-tx: #e4dfd7;
--rg-tan: #8f8170;
--rg-ink: #1e2526;
--rg-brown: #5c4a3c;
}

/* === 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 {
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);   /* низ под футером */
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 {    width: calc(var(--width) + (var(--p-outer) * 2));
background-repeat: no-repeat;
background-position: center;    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: var(--rg-r);
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: var(--rg-r);
background: rgb(var(--pun-light)) !important;
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: var(--rg-r);
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 === */

/* ширина колонок на главной */
#pun-index .tcl {
overflow: hidden;
text-align: left;}

.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; }

/* разрядка строк */
#pun-index .category table,
.punbb .forum table {
border-collapse: separate;}

/* ячейки прозрачные */
#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;
}

/* === post header === */

.punbb .post h3 {
border: none;
position: relative;
margin-top: 20px;
display: block;
width: 1000px;
margin-left: -30px;
border-radius: var(--rg-r-s);
}

.punbb .post h3 span {
display: flex;
width: 100%;
box-sizing: border-box;    flex-direction: row;
justify-content: flex-end;
gap: 12px;
align-items: center;
flex-wrap: nowrap;    text-transform: lowercase;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: var(--rg-r);
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: var(--rg-r-s);
}

#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: var(--rg-r-s);
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 {    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: var(--rg-r);
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 {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 === */

/* статистика */
#pun-stats {
margin-top: 0;
font-size: 11px;
border-radius: var(--rg-r-s);
}

#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: var(--rg-r-s);
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: var(--rg-r-s);
padding: 0 35px;
background: none;
line-height: 1.3;
text-align: left;
}

/* двоеточия */
#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;
}

/* гости */
#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: 400 11px / 1.6 var(--font);
text-align: justify;
color: rgb(var(--text));
}

#pun-stats .e4 a { color: rgb(var(--link), .7); }
#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; }

/* футер */

#pun-about {
font-size: 9px;
text-transform: uppercase;
color: rgba(var(--text), .45);
}

#pun-about .container {
border: none;
text-align: right;
line-height: 150%;}

/* копирайт */
#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 {
background: rgb(var(--acc7));
}

.punbb-admin #pun-navlinks .container {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 16px;
}

/* === 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; }

/* строка раздела */
/* две колонки */
#pun-index .category .tclcon {    grid-template-columns: 110px 420px;
column-gap: 50px;
align-items: center;
}

/* без иконок */

/* название + счётчики */
#pun-index .category .forum-title {
display: flex;padding: 0;
}

#pun-index .category .forum-title h3 { margin: 0; }

/* счётчики */
#pun-index .category .topics-and-posts {
display: flex;
gap: 12px;    font: 400 9px var(--font3);
text-transform: uppercase;
letter-spacing: .04em;
color: rgba(var(--text), .45);
}

/* иконки счётчиков */
#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"; }

/* описание и подразделы */

#pun-index .category .tclcon-text {
box-sizing: border-box;
width: 100%;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;    box-sizing: border-box;
width: 100%;border-radius: 0 0 var(--glass-radius-sm) var(--glass-radius-sm);
line-height: 1;
}

#pun-index .category .tclcon-links a {    border-radius: var(--rg-r);
background: rgb(103, 104, 85);
color: #f3f0e8;
font: 500 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(78, 79, 63);
color: #fff;
}

/* === forum & topic lists === */

.punbb .main .tcl h3 { margin: 0; }

/* курсив */
.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)); }

/* название раздела */
#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 .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: var(--rg-r);
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: var(--rg-r-s);
}

#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';}

/* липкое меню */

#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);   /* полоса меню */
border-bottom: 1px solid rgba(160, 155, 140, .18);
box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
#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 {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: var(--rg-r-s);
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; }

/* футер */

.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: var(--rg-r);
background: rgba(var(--white), .12);
overflow: hidden;
}

.sts-progress__fill {
position: relative;
height: 100%;
width: 0%;
border-radius: var(--rg-r);
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);
}

@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}
/* кириллица для Instrument Serif */
@font-face{font-family:'Instrument Serif';src:url(https://notahub.ru/media/ridge/reflection/fonts/Cormorant-Regular-cyr.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;size-adjust:95%}
@font-face{font-family:'Instrument Serif';src:url(https://notahub.ru/media/ridge/reflection/fonts/Cormorant-Italic-cyr.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap;unicode-range:U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;size-adjust:95%}
@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:var(--rg-instrument);
--rf-sans:'Jost',Arial,sans-serif;
--rf-ink:var(--rg-plate-tx);        /* светлый текст */
--rf-mute:#9a9586;       /* имена, подписи */
--rf-dim:#77736a;        /* мелкие подписи меню */
--rf-accent:var(--rg-accent);     /* рыжий акцент: активный пункт, Episode */
--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)); /* во всю ширину */

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)}

/* слоты */
.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)}

/* меню */
.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:var(--rg-r-s);
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;
border:1px solid var(--rf-plate-line)}
.rf-plate__date{font:400 23px/1 var(--rf-serif);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;display:flex;flex-direction:column;text-align:right}

.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:362px;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);}

/* -- navigation -- */
.rf-guide{position:absolute;left:800px;top:268px;width:190px}
.rf-guide__title{display:block;text-align:right;font:italic 400 25px/1 var(--rf-serif);}
.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);}
.rf-guide__text{font:400 8px/1.3 var(--rf-sans);color:var(--rf-ink);letter-spacing:.03em}
.rf-guide__sign{text-align:right;margin-top:9px;font:400 13px/1 var(--rf-serif);}

/* без родного заголовка */
body:has(.rf-head) #pun-title{display:none}

#pun-crumbs1{
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}
/* разделитель */

/* баннеры категорий */
#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)}

#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; }

/* ссылки под шапкой */
#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}

/* строки списков тем */
.punbb .main tbody td {
padding-top: 12px;
padding-bottom: 14px;
}

/* липкое меню */
#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; }

/* полоса под шапкой */
.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; }

/* шапка: правки */

/* main */
.rf-head #pun-navlinks li#navindex a,
.rf-head #pun-navlinks li#navindex a:hover{ color:var(--rf-accent) }
.rf-head #pun-navlinks li.isactive:not(#navindex) a{ color:var(--rf-mute) }
.rf-head #pun-navlinks li.isactive:not(#navindex) a:hover{ color:var(--rf-ink) }

/* 2. смена темы — у луны, как на макете */
.rf-theme{ position:absolute; left:503px; top:46px; width:170px; height:66px; z-index:4 }
.rf-theme__btn{ position:absolute; display:block; background:no-repeat 0 0/100% 100%;
border:0; border-radius:var(--rg-r-s); opacity:.6;
transition:opacity .25s, transform .25s, border-color .25s }
.rf-theme__btn--night{ left:-9px; top:4px; width:90px; height:57px;
background-image:url(https://notahub.ru/media/ridge/reflection/img/head/theme/theme-night.png) }
.rf-theme__btn--day{ left:86px; top:4px; width:82px; height:57px;
background-image:url(https://notahub.ru/media/ridge/reflection/img/head/theme/theme-day.png) }
.rf-theme__btn span{ position:absolute; font:italic 400 14px/1 var(--rf-serif); color:var(--rf-ink);
text-shadow:0 1px 4px rgba(0,0,0,.9); letter-spacing:.02em }
.rf-theme__btn--night span{ left:36px; bottom:3px }
.rf-theme__btn--day span{ right:8px; top:4px }
.rf-theme__btn:hover{ opacity:1; transform:translateY(-2px) }
html.dark .rf-theme__btn--night, html:not(.dark) .rf-theme__btn--day{ opacity:1 }

/* АМС */
.rf-ams{ left:438px; top:104px; width:64px; gap:9px; transform:rotate(4deg); transform-origin:100% 0; z-index:4 }
.rf-ams a{ font:400 16px/18px var(--rf-serif); color:#c2b8a6 }
.rf-ams a:hover, .rf-ams a:focus{ color:var(--rf-accent) }
.rf-amscard{ position:absolute; left:258px; top:92px; width:150px; z-index:6; padding:8px 10px 10px;
display:flex; flex-direction:column; gap:4px;
background:rgba(38,38,36,.95); border:1px solid var(--rf-plate-line); border-radius:var(--rg-r-s);
box-shadow:0 10px 24px rgba(0,0,0,.45);
opacity:0; transform:translateY(4px); pointer-events:none; transition:opacity .25s, transform .25s }
.rf-amscard.is-on{ opacity:1; transform:none; pointer-events:auto }
.rf-amscard__img{ display:block; height:auto; aspect-ratio:130/60; object-fit:cover;
border:1px solid var(--rf-plate-line); border-radius:var(--rg-r-s); margin-bottom:2px }
.rf-amscard__name{ font:italic 400 18px/1 var(--rf-serif); color:var(--rf-ink) }
.rf-amscard__q{ font:italic 400 13px/1.15 var(--rf-serif); color:var(--rf-accent) }
.rf-amscard__t{ font:400 9px/1.35 var(--rf-sans); color:var(--rf-mute); letter-spacing:.02em }
.rf-head a.rf-amscard__nick{ align-self:flex-end; font:400 10px/1 var(--rf-sans); letter-spacing:.06em;
color:#6e9db1; border-bottom:1px solid #426f84; padding-bottom:1px }
.rf-head a.rf-amscard__nick:hover{ color:var(--rf-ink) }
.rf-ams__ava{ display:none }

/* navigation */
.rf-guide__title{ cursor:pointer; color:#8e917a !important }
.rf-guide__menu{ position:absolute; right:0; bottom:calc(100% - 30px); width:190px; z-index:7;
display:grid; grid-template-columns:1fr 1fr; gap:2px 8px; padding:8px 10px 34px;
background:rgba(38,38,36,.95); border:1px solid var(--rf-plate-line); border-radius:var(--rg-r-s);
box-shadow:0 10px 24px rgba(0,0,0,.45);
opacity:0; transform:translateY(4px); pointer-events:none; transition:opacity .25s, transform .25s }
.rf-guide__menu a{ font:italic 400 14px/20px var(--rf-serif); color:var(--rf-mute); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.rf-guide__menu a:hover{ color:var(--rf-accent) }
.rf-guide__title:hover + .rf-guide__menu, .rf-guide__menu:hover, .rf-guide.is-open .rf-guide__menu,
.rf-guide__menu:focus-within{ opacity:1; transform:none; pointer-events:auto }
.rf-guide__title{ position:relative; z-index:8 }

/* 5. активисты — цвета и черты как на макете */
.rf-guide__names{ padding:0 4px 5px; }
.rf-guide__names a{ color:#8fa1ab !important }
.rf-ep__names{ padding-bottom:5px; }
.rf-ep__names a{ color:#8fa1ab }
.rf-guide__sign{ display:table; margin-left:auto; padding:0 2px 3px 8px; color:#8fa1ab; }
.rf-guide__names a:hover, .rf-ep__names a:hover{ color:var(--rf-ink) }

/* плашки */
.rf-plate{ background:rgba(54,54,51,.72); border-radius:var(--rg-r-s) }
.rf-plate__date{ color:#6e9db1 }

@media (prefers-reduced-motion:reduce){
.rf-theme__btn, .rf-amscard, .rf-guide__menu{ transition:none }
.rf-theme__btn:hover{ transform:none }
}

/* производительность */
html{ background:rgb(var(--bgcolor)) !important; }
html::before{ content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background:var(--bg-image) no-repeat center center / cover; transform:translateZ(0); }
#sts-sticknav, .rf-head #pun-navlinks li a{ backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }

/* кнопки в теме */
.punbb .postlink a, .punbb .postlink a:link, .punbb .postlink a:visited,
.punbb a.nota-like-all-btn, .punbb .subscribelink a, .punbb .subscribelink a:link, .punbb .subscribelink a:visited,
.punbb #post input.button, .punbb #post .formsubmit input.button{
display:inline-block; box-sizing:border-box; height:auto; min-height:0; margin:0;
padding:2px 14px 3px !important; border:0 !important; border-radius:var(--rg-r-s) !important;
background:#242424 !important; box-shadow:none !important; text-shadow:none !important;
color:#a89e95 !important; font:italic 400 19px/1.1 'Instrument Serif', Georgia, serif !important;
letter-spacing:.01em !important; text-transform:lowercase !important; cursor:pointer;
transition:color .2s, background .2s; }
.punbb .postlink a:hover, .punbb a.nota-like-all-btn:hover, .punbb .subscribelink a:hover, .punbb #post input.button:hover{ color:#d6d1c4 !important; background:#2e2e2d !important; }

/* форма ответа по краям */
.punbb #post.container{ padding-left:0 !important; padding-right:0 !important; }
.punbb #post fieldset{ padding-left:0 !important; padding-right:0 !important; }
.punbb #post .formsubmit{ padding-left:0 !important; padding-right:0 !important; margin-left:0 !important; }

/* кнопки в теме: светлая */
html:not(.dark) .punbb .postlink a, html:not(.dark) .punbb a.nota-like-all-btn, html:not(.dark) .punbb .subscribelink a, html:not(.dark) .punbb #post input.button, html:not(.dark) #pun-viewtopic .postlink a{ background:#d2ccc0 !important; color:#4a3d33 !important; box-shadow:inset 0 0 0 1px rgba(74,61,51,.18) !important; }
html:not(.dark) .punbb .postlink a:hover, html:not(.dark) .punbb a.nota-like-all-btn:hover, html:not(.dark) .punbb .subscribelink a:hover, html:not(.dark) .punbb #post input.button:hover, html:not(.dark) #pun-viewtopic .postlink a:hover{ background:#4a3d33 !important; color:#eee9df !important; }

/* активисты, постописцы */
.rf-guide__names a, .rf-ep__names a { position: relative; }
.rf-guide__names a::after, .rf-ep__names a::after {
position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
padding: 3px 7px; border-radius: var(--rg-r-s); background: rgba(54, 54, 51, .92); color: #d6d1c4;
font: 400 10px/1.2 var(--font5); letter-spacing: .04em; white-space: nowrap;
opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 20;
}
.rf-guide__names a::after { content: "постописец"; }
.rf-ep__names a::after { content: "активист"; }
.rf-guide__names a:hover::after, .rf-ep__names a:hover::after { opacity: 1; }

#tags .container {
position: absolute;
right: 6px;
top: 43px;
z-index: 2;
background: var(--nota-ql-modal-bg);
border-radius: var(--rg-r-s);
}

/* соцсеть  */

.chat-wrapper {
width: 391px;
position: relative;
padding-top: 1px;
padding-bottom: 5px;
margin: 0 auto 30px;
border-radius: var(--rg-r-s);
background: rgb(var(--canvas-tertiary));
box-shadow: 0px 4px 5px 0px rgb(0 0 0 / 17%);
}

.chat-wrapper:has(.soc-parameters) {
margin: 36px auto 30px;
}

.chat-wrapper div.chwrap {
width: 359px;
height: 443px;
box-sizing: border-box;
border-radius: var(--rg-r-s);
margin: 10px auto;
background: rgb(var(--white));
padding: 15px;
}

.soc-avatars {
width: 359px;
height: 51px;
padding: 10px 0;
background: rgb(var(--canvas-secondary));
margin: 20px auto -21px;
border-radius: var(--rg-r-s);
}

.soc-avatars img {
width: 30px;
height: 30px;
object-fit: cover;
margin-right: 7px;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, 1);
}

.soc-chat-wrapper {
/* width: 351px; */
margin: auto;
overflow: auto;
max-height: 372px;

display: flex;
flex-direction: column;
}

.left-msg,
.right-msg {
width: fit-content;
max-width: 221px;
position: relative;
font: var(--fw500) var(--fs11) var(--font-second-sa);
color: rgb(var(--text-primary));
background: rgb(var(--canvas-secondary));
padding: 10px !important;
margin-bottom: 20px !important;
}

.left-msg {margin-left: 40px;}
.right-msg {margin-right: 45px;}

.left-msg img.msg-av,
.right-msg img.msg-av{
width: 25px;
height: 25px;
border-radius: 50%;
border: 2px solid rgb(var(--canvas-primary));
position: absolute;
bottom: -1px;
}

.left-msg img:not(.msg-av),
.right-msg  img:not(.msg-av) {
max-width: 100%;
max-height: 100%;
object-fit: cover;
}

.left-msg img.msg-av {    left: -38px;}
.right-msg img.msg-av{    right: -38px;}

.left-msg>img,
.right-msg>img {
margin: 0px;
width: 100%;
height: auto;
border-radius: var(--rg-r);
}

.left-msg>img[alt="voice message"],
.right-msg>img[alt="voice message"] {
width: 188px;
}

[data-scheme="dark"] .left-msg>img[alt="voice message"],
[data-scheme="dark"] .right-msg>img[alt="voice message"] {filter: invert(1)}

.left-msg {
border-radius: var(--rg-r) var(--rg-r) var(--rg-r) 0px;
}

.right-msg {
border-radius: var(--rg-r) var(--rg-r) 0px var(--rg-r);
place-self: end;
}

.left-msg::after,
.right-msg::after {
content: attr(data-msgtime);
position: absolute;
width: max-content;
bottom: -13px;
font: var(--fw500) var(--fs9) var(--font-second-sa);
color: #737373;
}

.left-msg::after {
left: 0px;
}

.right-msg::after {
right: 0px;
}

.right-voice,
.left-voice {
font-style: italic;
color: rgba(142, 142, 142, 1);
}

.write-msg {
background: url(https://forumstatic.ru/files/001c/b8/3a/70764.png) center no-repeat;
height: 40px;
width: 314px;
margin: 8px 10px;
bottom: 0px;
}

[data-scheme="dark"] .write-msg {filter: invert(1);}

.soc-avatars a {
display: flex;
align-items: center;
margin: 5px 0 0 27px !important;
box-shadow: none !important;
}

.soc-avatars span {
font: var(--fw700) var(--fs13) var(--font-second-sa);
color: rgb(var(--text-primary), .8) !important;
position: relative;
display: block;
top: -10px;
}

.soc-avatars span::before {
content: attr(data-title);
font-weight: 400;
font-size: 10px;
line-height: 1;
position: absolute;
top: 19px;
left: 0px;
}

.soc-avatars a:hover {
box-shadow: none !important;
}

.socpost-wrapper {
width: 338px;
height: auto;
padding: 20px 10px;
position: relative;
margin: 16px auto;
border-radius: var(--rg-r-s);
background: rgb(var(--white));
box-shadow: 0px 3px 28px 0px rgba(0, 0, 0, 0.1);
}

.socpost-wrapper>img {
width: 290px;
height: 300px;
object-fit: cover;
border-radius: var(--rg-r);
margin: 15px 24px;

}

.low-cont a {
display: flex;
align-items: center;
box-shadow: none !important;
}

.low-cont a img {
width: 36px;
height: 36px;
object-fit: cover;
border: 2px solid white;
border-radius: 50%;
}

.low-cont a span {
font: var(--fw700) var(--fs13) var(--font-second-sa);
color: rgba(85, 85, 85, 1) !important;
position: relative;
margin-top: -15px;
margin-left: 5px;
}

.low-cont div {
display: flex;
gap: 5px;
}

.low-cont div p {
color: rgba(var(--text-primary), .6);
font: var(--fw700) var(--fs10) var(--font-second-sa) !important;
display: flex;
position: relative;
align-items: center;
flex-direction: row-reverse;
gap: 3px;
}

.low-cont div p:first-child {
margin-right: 10px !important;
}

.low-cont div p::before {
content: '';
width: 14px;
height: 14px;
position: relative;
display: block;
}

.low-cont div p:first-child::before {
background: url(https://forumstatic.ru/files/001c/b8/3a/91933.png) no-repeat center / contain;
}

.low-cont div p:last-child::before {
background: url(https://forumstatic.ru/files/001c/b8/3a/43452.png) no-repeat center / contain;
}
[data-scheme="dark"] .soc-mainpage-photoblock::before,
[data-scheme="dark"] .low-cont div p:last-child::before,
[data-scheme="dark"] .low-cont div p:first-child::before {filter: invert(1)}

.low-cont {
display: flex;
justify-content: space-between;
margin: 25px 24px 0px;
padding-bottom: 10px;
align-items: center;
border-bottom: 1px solid rgba(215, 215, 215, 1);
}

.socpost-wrapper>p {
font: var(--font-second) !important;
display: flex;
justify-content: space-between;
margin: 25px 24px 0px;
padding-bottom: 10px;
align-items: center;
width: 290px;
margin: 0 auto;
padding-bottom: 20px !important;
white-space: pre-line;
}

.chat-wrapper>img:first-of-type {
width: 75px;
height: 75px;
object-fit: cover;
margin: -35px 155px;
position: absolute;
border-radius: 50%;
border: 3px solid rgb(var(--canvas-secondary));
z-index: 2;
}

.chat-wrapper>img:last-of-type {
width: 100%;
height: 160px;
object-fit: cover;
position: absolute;
z-index: 0;
margin-top: -1px;
border-radius: var(--rg-r-s) var(--rg-r-s) 0 0;
filter: contrast(0.7) grayscale(0.4);
}

.soc-parameters {
position: relative;
z-index: 3;
display: flex;
flex-direction: row;
align-items: flex-end;
gap: 10px;
width: 317px;
padding: 80px 7px 7px 7px;
justify-content: space-evenly;
margin: 0px 30px 0px;
color: white;
}

.soc-parameters>p {
display: flex;
flex-direction: column;
color: white !important;
font: var(--fw400) var(--fs9) var(--font-second-sa) !important;
padding: 0px 11px !important;
letter-spacing: .5px;
align-items: center;
flex: 1;
text-shadow: 0px 2px 7px rgb(0 0 0);
color: white;
}

.soc-parameters>p>span {
font: var(--fw700) var(--fs14) var(--font-second-sa) !important;
text-shadow: 0px 2px 7px rgb(0 0 0);
color: white;
}

.soc-parameters>div {
position: absolute;
top: 47px;
font: var(--fw700) var(--fs14) var(--font-second-sa) !important;
text-shadow: 0px 2px 7px rgb(0 0 0);
}

.lastposts {
display: flex;
justify-content: space-between;
padding-bottom: 10px;
width: 304px;
margin: 0 17px;
border-bottom: 1px solid rgba(215, 215, 215, 1);
}

.lastphotos img {
width: 60px;
height: 65px;
object-fit: cover;
border-radius: var(--rg-r);
}

.lastposts>div:first-child>img {
width: 25px;
height: 25px;
object-fit: cover;
border-radius: 50%;
filter: grayscale(1);
border: 1px solid rgba(150, 150, 150, 1);
box-shadow: 0px 4px 19px 0px rgba(181, 181, 181, 1);
}

.lastposts>div:first-child {
width: 57px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.lastposts>div>span {
color: rgba(88, 88, 88, 1) !important;
font-size: 30px;
line-height: 75%;
}

.lastphotos {
width: 236px;
height: 70px;
display: flex;
overflow-y: hidden;
scroll-behavior: smooth;
white-space: nowrap;
gap: 7px;
}

.soc-mainpage-photoblock {
height: 390px;
margin: 0px 19px 10px;
width: 90%;
background: rgb(var(--white));
padding: 10px 10px 55px;
box-sizing: border-box;
border-radius: var(--rg-r-s);
position: relative;
}

.soc-mainpage-photoblock::before {
content: '';
background: url(https://forumstatic.ru/files/001c/b8/3a/76107.png) no-repeat center;
height: 47px;
width: 91%;
border-top: 1px solid rgb(var(--text-primary), .1);
position: absolute;
bottom: 0px;
left: 50%;
transform: translateX(-50%);
}

.soc-mainpage-photoblock div img {
width: 103px;
height: 103px;
border-radius: var(--rg-r-s);
object-fit: cover;
}

.soc-mainpage-photoblock div {
height: 326px;
margin: 0 5px;
overflow: auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
width: 100%;
background: rgb(var(--white));
padding-right: 5px;
box-sizing: border-box;
border-radius: var(--rg-r-s);
position: relative;
}

.soc-miniitems {
background: url(https://forumstatic.ru/files/001c/69/a5/61737.svg) center no-repeat;
width: 300px;
height: 28px;
position: absolute;
bottom: 15px;
left: 18px;
}

.low-cont a span::before {
content: attr(data-date);
font: var(--fw700) var(--fs10) var(--font-second-sa);
color: rgba(189, 189, 189, 1) !important;
position: absolute;
top: 17px;
}