/*************************************************************
A - SETUP
**************************************************************/

/* A1 Імпорти (мають стояти першими, без нічого між ними) */
@import url(style_cs.1794160022.css);
@import url('https://forumstatic.ru/files/001a/28/10/55678.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Andika&family=Manrope:wght@400;500;700;800&display=swap');


/* A2 Скидання стандартних стилів браузера
-------------------------------------------------------------*/

html { margin: 0; padding: 0; }

.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;
}


/* A3 Текст
-------------------------------------------------------------*/

body {
  position: relative;
  width: 1000px;
  margin: 0 auto;
  padding: 25px 0 40px 0;
}

.punbb { font: normal 68.75% verdana, arial, helvetica, sans-serif; }

.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
}

.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 { font-size: 1.1em; }

.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 optgroup { font-weight: bold; }


/* A4 Очищення float і приховані елементи
-------------------------------------------------------------*/

#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0;
  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;
}

li#navawards,
#pun-announcement h2,
.lastedit,
.modlist,
#pun-main div.catleft, #pun-main div.catright,
#pun_wrap #pun #pun-title.section #logo-table tbody { display: none; }

#pun th { font-size: 0; }
#pun-stats h2 span { visibility: hidden !important; }
.post-content td { border: none !important; }


/* A5 Розмітка сторінки
-------------------------------------------------------------*/

#pun {
  margin: auto;
  position: relative;
  width: 1000px;
}

.punbb {
  width: 950px;
  margin-left: 25px;
}

/* вікно переадресації */
#pun-redirect {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  border: 0 none !important;
}
#pun-redirect * { border: 0 none; }
#pun-redirect .main-title { display: none; }
#pun-redirect.punbb .info .container {
  display: inline-block;
  margin-top: 5%;
  width: 469px;
  height: 100px;
  font-size: 10px;
}

.punbb .section, .punbb .main { margin-bottom: 1em; }
.punbb .category, .punbb .post { margin-top: 0.4em; }
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost { margin-top: 0; }
#pun-post .topic { margin-top: 1em; }

#pun-main h1, .punbb .section h2, #pun-stats h2, #pun-debug h2 {
  padding: 12px 1em;
}

.punbb .post { padding-top: 45px; }
#html-header { position: relative; }


/*************************************************************
B - ОСНОВНИЙ КОНТЕНТ
**************************************************************/

/* B1 Текст постів, підписи, цитати
-------------------------------------------------------------*/

.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align: justify;
}

.punbb .post-sig dt {
  display: block;
  border: none;
  width: 250px;
  margin: 5px 0;
}

.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
}

.punbb .post-content img { vertical-align: text-top; }
.punbb .post-content img.postimg { vertical-align: middle; }

.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 97%;
  overflow: hidden;
  margin: 10px;
}

.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.4em 1.8em;
  padding: 3px;
  font-size: 10px;
}

.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.3em;
  font-style: normal !important;
  margin: 5px 0 0 15px;
}


/* B2 Інфо-блоки
-------------------------------------------------------------*/

.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  margin: 0 0 1.1em 0;
}
.punbb .info-box * { padding: 0 0 0.7em 0; }
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
}


/* B3 Сторінки і кнопки відповіді
-------------------------------------------------------------*/

.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
}

.multipage { margin-top: 3em; }

.linkst .pagelink {
  position: absolute;
  top: -5.1em;
  left: 1em;
  width: 24em;
}

.linkst .postlink {
  position: absolute;
  top: -5.1em;
  right: 1em;
  width: 16em;
  text-align: right;
}

.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
}

.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
}

.linksb .postlink {
  float: right;
  width: 16em;
}

.subscribelink {
  clear: both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}


/*************************************************************
C - ОКРЕМІ СТОРІНКИ
**************************************************************/

/* C1 Форми
-------------------------------------------------------------*/

.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 {
  padding: 0 18px;
  margin: 0 0 1em 0;
}
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em;
}
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  font-size: 10px;
}
.punbb fieldset fieldset {
  margin: 0;
  padding: 0 0 8px 0;
}

.punbb .fs-box { padding: 1em 0 0.8em 0; }
.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 12em 0 0;
}

.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
}

.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: square inside;
  line-height: 1.5;
  margin: 0;
}


/* C2 Таблиці (головна, список тем)
-------------------------------------------------------------*/

.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
}

.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: right;
  width: 6%;
  font-size: 11px;
}

.punbb .main .tcr {
  overflow: hidden;
  text-align: center;
  width: 25%;
  font-size: 10px;
  letter-spacing: 1px;
  font-family: arial;
}
.punbb .main .tcr a {
  font-weight: 600;
  font-size: 11px;
}

#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-debug table .tcl {
  width: 15%;
  white-space: normal;
}
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}

#pun-index .tcl h3 { font-size: 1.2em; }

.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}

.punbb td .modlist { display: none; }

.punbb .main td { padding: 0.8em 1em; }
.punbb .main th { padding: 5px 1em 6px 1em; }

.punbb td div.tclcon {
  padding-left: 5px;
  text-align: justify;
  font-family: helvetica, arial, sans-serif;
  letter-spacing: 1px;
  font-size: 11px;
  line-height: 12px;
  width: 440px;
}

.punbb div.icon {
  float: right;
  display: block;
  width: 35px;
  height: 35px;
  margin-left: 0 !important;
}


/* C3 Пости
-------------------------------------------------------------*/

.punbb .post .container {
  margin-top: -1px;
  padding-bottom: 1px;
}

.punbb .post h3 span {
  display: block;
  padding: 27px 40px 15px 15px;
  margin-left: 2em;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 1px;
}

.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
}

.punbb .post .post-author {
  float: left;
  width: 220px;
  margin: 12px 0 12px 5px !important;
  padding-top: 15px;
  padding-bottom: 45px;
  overflow: visible !important;
  text-align: center;
}

.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
}

.punbb .post .post-author > ul {
  margin: -16px 0 -48px 0 !important;
  padding: 40px 0 10px 0 !important;
}

.pa-author {
  text-decoration: none;
  margin-top: -28px;
  margin-bottom: 19px;
  text-align: center;
}
.pa-author a {
  font-size: 16px;
  font-family: Pistilli;
  font-weight: 500;
  letter-spacing: 1px;
}

li.pa-online {
  line-height: 0.8em;
  padding-left: 0.4em;
  margin-top: 0.7em;
}

.punbb .post-body {
  margin-left: 24em !important;
  padding: 0;
}

.punbb .post-box { padding: 1em; }
.punbb fieldset .post-box { margin-bottom: 0.8em; }

.punbb .post-links {
  margin-left: 24em;
  margin-top: 0;
}

.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -29em;
  background: transparent;
  text-align: right;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 1px;
}
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
}

.pl-email, .pl-website { float: left; }

.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

/* лз-анкета */
li.pa-fld1 {
  text-align: center;
  font-family: 'Noto Serif Display', serif;
  font-size: 12px;
  font-weight: 800;
  margin-top: 5px;
}

/* лз-текст */
li.pa-fld2 {
  margin: 0 15px;
  padding: 5px;
  text-align: justify;
  text-align-last: center;
  border-radius: 8px;
}
li.pa-fld2 a { font-weight: bold; }

/* гроші */
li.pa-fld3 {
  margin: 2px 15px 0 15px !important;
  padding: 2px 5px;
  text-align: right;
  font-family: 'Noto Serif Display', serif;
  font-size: 10px;
  font-weight: 800;
  border-radius: 8px;
}


/* C4 Меню модератора
-------------------------------------------------------------*/

.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
}
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}
.punbb .modmenu .container strong { float: left; }
.punbb .modmenu input { margin-left: 1em; }


/* C5 Повідомлення
-------------------------------------------------------------*/

.punbb .info .container { padding: 0.8em 1em; }
.punbb .info .container .backlink { padding-top: 0.8em; }


/* C6 Профіль
-------------------------------------------------------------*/

#profile .container { padding-left: 18.6em; }

#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
}
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}

#viewprofile ul, #profilenav ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
}

#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 14px -0.6em 14px;
}
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 950px 0 5px;
  position: relative;
}

#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
}

#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
}

#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
}

#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
}

.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}


/* C7 Список учасників
-------------------------------------------------------------*/

#pun-userlist .formal, #pun-userlist .formal .container { margin-bottom: 0; }
#pun-userlist .usertable .container { padding: 0 2.3em 2.3em 2.3em; }


/*************************************************************
D - ІНШІ РОЗДІЛИ
**************************************************************/

/* D1 Шапка
-------------------------------------------------------------*/

#pun-title {
  display: none;   /* лого тепер у шапці з HTML */
}
#pun-title h1 {
  display: block;
  margin: 0;
}
#pun-title .container { padding: 0.2em 1em 0.8em 1em; }
#pun-title h1 span { display: none; }

#pun-title table {
  border: none;
  width: 100%;
}
#pun-title td.title-logo-tdl {
  border: none;
  width: 100%;
}
#pun-title td.title-logo-tdr {
  border: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 468px;
  vertical-align: top;
}


/* D2 Навігація сторінок
-------------------------------------------------------------*/

#pun-pagelinks {
  position: absolute;
  top: 0;
  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 {
  display: block;
  float: left;
  width: 100%;
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
}
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}
#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}


/* D3 Меню форуму
-------------------------------------------------------------*/

#pun-navlinks {
  position: relative;
  z-index: 2;
  margin: 0;
}
#pun-navlinks, #pun-navlinks .container {
  text-transform: lowercase;
  font-family: 'Noto Serif Display', serif;
  font-style: italic;
  text-align: center;
  font-weight: 700 !important;
  font-size: 15px;
}
#pun-navlinks .container { padding: 16px 0 0; }
#pun-navlinks li {
  display: inline;
  padding: 0 7px;
}


/* D4 Посилання користувача
-------------------------------------------------------------*/

#pun-ulinks {
  margin: 0;
  font-size: 10px;
  text-align: center;
}
#pun-ulinks .container { padding: 2px 0.5em 10px; }
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  white-space: nowrap;
}
#pun-ulinks li a {
  font-family: 'Noto Serif Display', serif;
  font-size: 11px;
  text-transform: lowercase;
  padding: 2px 5px;
  font-weight: 500 !important;
}


/* D5 Привітання і хлібні крихти
-------------------------------------------------------------*/

#pun-status {
  margin: 0;
  text-align: center !important;
}
#pun-status .container {
  margin-bottom: 0;
  padding: 0.8em 1em 1em 1em;
  text-align: center;
  font-family: 'Noto Serif Display', serif;
  font-size: 12px !important;
  text-transform: lowercase;
}
#pun-status .container li, #pun-status .container p { display: inline; }
#pun-status .item2 { margin-left: 10px; }
#pun-index #pun-status .container.item1 { font-size: 20px !important; }
#pun-status span {
  white-space: nowrap;
  margin-right: 0;
}

#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
}
#pun-crumbs1 p.container {
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
}

#pun-break1 {
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
}


/* D6 Оголошення
-------------------------------------------------------------*/

#pun-announcement .container { padding: 4.3em 1em 1em 1em; }


/* D7 Статистика
-------------------------------------------------------------*/

#pun-stats .container {
  padding: 3em 1em;
  text-align: justify;
}
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
}
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
}

li#onlinelist {
  margin-top: 1em;
  float: right;
  width: 100%;
  line-height: 150%;
}
li#onlinelist div { padding: 0.7em 0 0 0; }


/* D8 Швидкий перехід, футер, нижні крихти
-------------------------------------------------------------*/

#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 { margin-top: 0; }
#pun-about .container {
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
}
#pun-about p span {
  display: block;
  padding-left: 50%;
}

#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
}
#pun-crumbs2 .container {
  padding: 0.8em 1em;
  font-size: 1.1em;
}

#pun-break4 {
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
}


/* D9 Довідка
-------------------------------------------------------------*/

#pun-help .formal .info-box h3.legend {
  padding-bottom: 0;
  margin-bottom: 0.8em;
}
#pun-help .formal .info-box h3.legend span {
  display: block;
  padding-bottom: 0.6em;
  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; }


/*************************************************************
E - НОВИЙ ДИЗАЙН: ШАПКА, КАТЕГОРІЇ, ФУТЕР, КНОПКИ
**************************************************************/

/* E1 Тіло форуму
-------------------------------------------------------------*/

#pun {
  border-radius: 14px;
  padding-bottom: 0;
}

#pun-announcement .container {
  padding: 0 1em;
  text-align: center;
  font-family: 'Noto Serif Display', serif;
  font-size: 12px;
}

#pun-index #pun-crumbs1 { display: none; }


/* E2 Шапка (блок #tg-header з HTML верхнього колонтитула)
-------------------------------------------------------------*/

#html-header { position: static; }
html:not(.tg-ready) #tg-header { visibility: hidden; }

#tg-header {
  position: relative;
  width: 1000px;
  height: 380px;
  margin: 0 0 20px -25px;
  font-family: 'Manrope', sans-serif;
}

.tg-panel {
  position: absolute;
  left: 300px;
  top: 18px;
  width: 400px;
  height: 336px;
  box-sizing: border-box;
  padding: 40px 30px 0;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}

.tg-tab {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 22px;
  line-height: 22px;
  padding: 0 34px;
  white-space: nowrap;
  font: 800 8px 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tg-tab-bottom {
  top: 352px;
  border-radius: 0 0 10px 10px;
  font: italic 600 13px 'Noto Serif Display', serif;
  text-transform: lowercase;
  letter-spacing: 0;
  padding: 0 20px;
}

.tg-side {
  position: absolute;
  writing-mode: vertical-rl;
  padding: 14px 4px;
  font: italic 600 12px 'Noto Serif Display', serif;
  text-transform: lowercase;
}
.tg-side-l { left: -22px; bottom: 105px; transform: rotate(180deg); border-radius: 0 6px 6px 0; }
.tg-side-r { right: -22px; top: 22px; border-radius: 0 6px 6px 0; }

.tg-title small {
  display: block;
  margin-bottom: -6px;
  font: italic 500 14px 'Noto Serif Display', serif;
}
.tg-title b {
  display: block;
  white-space: nowrap;
  font: 400 72px/0.95 'Noto Serif Display', serif;
  font-stretch: 62.5%;
  letter-spacing: -2px;
  text-transform: lowercase;
}

.tg-episode { margin-top: 14px; }
.tg-ep-head { margin-bottom: 6px; }
.tg-ep-head span { font: italic 600 17px 'Noto Serif Display', serif; margin-right: 10px; }
.tg-ep-head a { font: italic 500 14px 'Noto Serif Display', serif; }
.tg-episode p {
  font-size: 9.5px;
  line-height: 1.4;
  margin: 0;
}
.tg-episode p a { font: italic 600 12px 'Noto Serif Display', serif; margin-left: 4px; }

/* кружечки — сюди можна вставити <img> з аватаркою */
.tg-avas { position: absolute; display: flex; gap: 5px; }
.tg-avas { flex-direction: column; }
.tg-avas-l { left: 280px; top: 30px; }
.tg-avas-r { left: 690px; top: 130px; }

.tg-avas a {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid;
  overflow: hidden;
  box-sizing: border-box;
}
.tg-avas a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* стрічка оновлень */
.tg-updates {
  position: absolute;
  left: 50px;
  top: 270px;
  width: 900px;
  box-sizing: border-box;
  padding: 8px 10px 0;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.tg-upd-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.tg-upd-track::-webkit-scrollbar { height: 2px; }
.tg-updates a {
  flex: none;
  padding: 6px 15px;
  border-radius: 20px;
  white-space: nowrap;
  font: 700 12px 'Noto Serif Display', serif;
}


/* E3 Перемикач теми і кнопки вгору/вниз
-------------------------------------------------------------*/

#tg-swap {
  position: absolute;
  top: 8px;
  right: 18px;
  z-index: 3;
  cursor: pointer;
  text-align: center;
  font: 22px/1 serif;
  user-select: none;
}
#tg-swap small {
  display: block;
  margin-top: 3px;
  font: 600 7px 'Manrope', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#tg-swap .tg-sun { display: none; }
html.tg-dark #tg-swap .tg-sun { display: inline; }
html.tg-dark #tg-swap .tg-moon { display: none; }

#tg-scroll {
  position: fixed;
  top: 50%;
  left: calc(50% + 530px);
  transform: translateY(-50%);
  z-index: 50;
}
#tg-scroll a {
  position: relative;
  display: block;
  width: 58px;
  height: 60px;
  margin: 0 0 22px;
  border: 3px solid;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  text-decoration: none;
}
#tg-scroll a span {
  position: absolute;
  left: -12px;
  top: 18px;
  padding: 2px 6px;
  transform: rotate(-6deg);
  font: italic 600 12px/1 'Noto Serif Display', serif;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
#tg-scroll a span small {
  display: block;
  font: 600 5.5px 'Manrope', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* E4 Категорії на головній
-------------------------------------------------------------*/

.punbb .category { margin-bottom: 22px; }

#pun-main h2 {
  width: auto;
  height: 48px;
  margin: 0;
  padding: 0;
  font-size: 0 !important;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}
#pun-main h2 span, #pun-main h2 span a {
  font: 400 30px/48px 'Noto Serif Display', serif;
  font-stretch: 62.5%;
  letter-spacing: -1px;
  text-transform: lowercase;
}
#pun-index #pun-main h2 span, #pun-index #pun-main h2 span a {
  font-size: 50px;
  line-height: 52px;
}

.punbb .main th { padding: 0 !important; height: 0; }

#pun-index .main .tc2, #pun-index .main .tc3 { display: none; }
#pun-index .main th.tcl { width: 72%; }
#pun-index .main th.tcr { width: 28%; }
#pun-index .main td.tcl { width: 72%; padding: 0; vertical-align: top; }
#pun-index .main td.tcr {
  width: 28%;
  padding: 20px 18px;
  text-align: left;
  vertical-align: middle;
  font: 500 9.5px/1.6 'Manrope', sans-serif;
  letter-spacing: .5px;
}
#pun-index .main td.tcr a {
  display: block;
  font: 800 9px 'Manrope', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#pun-index td div.tclcon {
  width: auto;
  min-height: 78px;
  margin-left: 100px;
  padding: 22px 26px 22px 10px;
  text-align: left;
  letter-spacing: 0;
  font: 400 10px/1.5 'Manrope', sans-serif;
}
#pun-index .tclcon h3 { margin: 0 0 8px !important; }
#pun-index .tclcon h3 a {
  margin: 0;
  font: italic 600 22px 'Noto Serif Display', serif;
  letter-spacing: 0;
  text-transform: lowercase;
}
#pun-index .tclcon > b {
  display: block;
  margin-bottom: 3px;
  font: 800 8px 'Manrope', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
#pun-index .tclcon > b + br { display: none; }

/* плашки під описом: <div class="desklink"><a href="...">гостевая</a>...</div> */
.desklink, .f-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.desklink a, .f-pills a {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  font: 700 9.5px 'Noto Serif Display', serif !important;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* плашка new / old messages — зліва від назви */
#pun-index .main td.tcl { position: relative; }
#pun-index div.icon {
  position: absolute;
  left: 22px;
  top: 50%;
  float: none;
  width: 68px;
  height: 78px;
  margin: -39px 0 0 0 !important;
  border-radius: 3px;
  text-align: center;
  font: italic 400 30px/1 'Noto Serif Display', serif;
}
#pun-index div.icon::before { content: "Old"; display: block; padding-top: 14px; }
#pun-index div.icon::after { content: "messages"; display: block; font-size: 13px; }
#pun-index tr.inew div.icon::before { content: "New"; }


/* E5 Футер
-------------------------------------------------------------*/

#pun-about { margin: 0; }
#pun-about p.container {
  text-align: center;
  font: 400 10px 'Manrope', sans-serif;
  padding: 10px 1em;
}

#html-footer {
  width: 1000px;
  min-height: 60px;
  margin: 10px 0 0 -25px;
  padding: 28px 16px 16px;
  box-sizing: border-box;
  border-radius: 0 0 14px 14px;
}
.tg-partners {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 14px;
  border-radius: 10px;
}
.tg-partners img { flex: none; width: 88px; height: 31px; }



/* E6 Профіль у пості (картка)
   pa-fld1 — ім'я, вік · pa-fld2 — опис · pa-fld3 — валюта
-------------------------------------------------------------*/

.punbb .post .post-author {
  position: relative;
  width: 230px;
  margin: 12px 0 12px 5px !important;
  padding: 34px 0 44px !important;
  border: none !important;
  border-radius: 8px;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  background-color: var(--cat-band) !important;
  background-image:
    radial-gradient(circle at 85% 0%, var(--blob) 0, var(--blob) 22px, transparent 60px),
    radial-gradient(circle at 15% 100%, var(--blob) 0, var(--blob) 18px, transparent 55px) !important;
}
.punbb .post .post-author > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0 9px !important;
  padding: 12px 12px 14px !important;
  background: var(--card);
  border-radius: 6px;
  text-align: center;
}
.post-author ul > li { display: none; width: 100%; padding: 0; margin: 0; }

/* статус і ім'я */
.punbb .post-author li.pa-title {
  display: block; order: 1;
  margin: 0 !important;
  font: 500 8px 'Manrope', sans-serif !important;
  letter-spacing: 1px;
  text-transform: lowercase;
  color: var(--muted);
}
.punbb .post-author li.pa-author {
  display: block; order: 2;
  margin: 0 0 8px !important;
  font: 700 21px/1.1 'Noto Serif Display', serif;
  text-transform: lowercase;
}
.punbb .post-author li.pa-author a { font: inherit; letter-spacing: -.3px; color: var(--title) !important; }
.punbb .post-author li.pa-author .acchide { display: none; }

/* аватар */
.punbb .post-author li.pa-avatar {
  display: block; order: 3;
  min-height: 100px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--pill-bg);
}
.punbb .post-author li.pa-avatar img { display: block; width: 100%; height: auto; max-width: none; }

/* fld1 — ім'я, вік */
.punbb .post-author li.pa-fld1 {
  display: block; order: 4;
  margin: 10px 0 2px !important;
  font: 700 15px 'Noto Serif Display', serif;
  text-transform: lowercase;
  color: var(--title);
}
/* fld2 — опис; жирний текст підсвічується акцентом */
.punbb .post-author li.pa-fld2 {
  display: block; order: 5;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  font: 500 9.5px/1.55 'Manrope', sans-serif;
  text-align: center;
  color: var(--text);
}
.punbb .post-author li.pa-fld2 b,
.punbb .post-author li.pa-fld2 strong { color: var(--accent); }

/* плитки: повідомлення, репутація, позитив, валюта */
.punbb .post-author li.pa-posts,
.punbb .post-author li.pa-respect,
.punbb .post-author li.pa-positive,
.punbb .post-author li.pa-fld3 {
  display: block;
  width: calc(25% - 3px);
  margin: 0 !important;
  padding: 6px 0 5px !important;
  border: none !important;
  border-radius: 6px;
  background: var(--pill-bg) !important;
  font: 600 9px 'Manrope', sans-serif !important;
  text-align: center !important;
  text-transform: none;
  color: var(--muted) !important;
}
.punbb .post-author li.pa-posts { order: 6; }
.punbb .post-author li.pa-respect { order: 7; }
.punbb .post-author li.pa-positive { order: 8; }
.punbb .post-author li.pa-fld3 { order: 9; }
.punbb .post-author li.pa-respect a { color: var(--muted) !important; font-weight: 600; }
.punbb .post-author .pa-posts .fld-name,
.punbb .post-author .pa-respect .fld-name,
.punbb .post-author .pa-positive .fld-name { display: none; }

.punbb .post-author li.pa-posts::before,
.punbb .post-author li.pa-respect::before,
.punbb .post-author li.pa-positive::before,
.punbb .post-author li.pa-fld3::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 3px;
  background: var(--title);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.punbb .post-author li.pa-posts::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.5h12v8.5H7l-3.5 3v-3H2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.5h12v8.5H7l-3.5 3v-3H2z'/%3E%3C/svg%3E"); }
.punbb .post-author li.pa-respect::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7h3v7.5h-3zM5.5 7l3-5.5c1.2 0 2.2 1 1.8 2.6L9.8 6.5h4.4l-1.6 8H5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7h3v7.5h-3zM5.5 7l3-5.5c1.2 0 2.2 1 1.8 2.6L9.8 6.5h4.4l-1.6 8H5.5z'/%3E%3C/svg%3E"); }
.punbb .post-author li.pa-positive::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1a7 7 0 110 14A7 7 0 018 1zm0 2.2a4.8 4.8 0 100 9.6 4.8 4.8 0 000-9.6z'/%3E%3Ccircle cx='8' cy='8' r='2.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1a7 7 0 110 14A7 7 0 018 1zm0 2.2a4.8 4.8 0 100 9.6 4.8 4.8 0 000-9.6z'/%3E%3Ccircle cx='8' cy='8' r='2.4'/%3E%3C/svg%3E"); }
.punbb .post-author li.pa-fld3::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 1C8 1.5 3.5 5.5 3.3 11.6L1.5 14.6l.9.5 1.8-2.6C10 12 14 7.8 14.5 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 1C8 1.5 3.5 5.5 3.3 11.6L1.5 14.6l.9.5 1.8-2.6C10 12 14 7.8 14.5 1z'/%3E%3C/svg%3E"); }

/* online — внизу картки */
.punbb .post-author li.pa-online {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0;
  color: var(--band-text);
  opacity: .75;
}
.punbb .post-author li.pa-online::after {
  content: "online";
  font: italic 400 21px/1 'Noto Serif Display', serif;
}


/* fld4 — смуга внизу картки: «великий текст | маленький текст» */
.punbb .post-author li.pa-fld4 {
  display: block;
  order: 10;
  width: auto;
  flex: 1 1 100%;
  margin: 10px -12px -14px !important;
  padding: 9px 12px 10px !important;
  border-radius: 0 0 6px 6px;
  background-color: var(--tab-bg);
  background-image:
    radial-gradient(circle at 92% 50%, var(--blob) 0, var(--blob) 14px, transparent 34px),
    radial-gradient(circle at 6% 40%, var(--blob) 0, var(--blob) 8px, transparent 24px);
  color: var(--tab-text);
  font: 500 8px/1.4 'Manrope', sans-serif;
  letter-spacing: .5px;
  text-align: center;
  text-transform: lowercase;
}
.punbb .post-author li.pa-fld4::first-line {
  font: 700 14px/1.5 'Noto Serif Display', serif;
  letter-spacing: 0;
}
.punbb .post-author li.pa-fld4 a { color: var(--tab-text) !important; }