@charset "UTF-8";
/*************************************************************
A - SETUP
**************************************************************/
/* A1 Import the colour scheme
-------------------------------------------------------------*/
@import url("//fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("//use.fontawesome.com/releases/v5.15.1/css/all.css");
@import url("//forumstatic.ru/files/001c/a9/d4/84915.css?v=7");
@import url(style_cs.1772588634.css);
/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/
/* A2.1 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  position: relative;
}

/* A2.2 */
body {
  /*position: relative;*/
  background: var(--body-bg);
  background-size: auto 100%, auto 100%, auto;
  color: var(--text-color);
}

/* A2.3 */
.punbb ul,
.punbb dl,
.punbb li,
.punbb dd,
.punbb dt {
  padding: 0;
  list-style: none;
}

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
}

table,
tbody,
thead,
tfoot,
tr,
th,
td {
  color: inherit;
  line-height: inherit;
}

.post-content td {
  border-color: var(--border-color);
}

.post-content .spoiler-box > div,
.post-content .spoiler-box > div.visible {
  background: none !important;
  padding-left: 0 !important;
}

.post-content .spoiler-box > div:before {
  display: inline-flex;
  content: "\f105";
  margin-right: 10px;
  font-family: "Font Awesome 7 Pro";
  font-weight: 300;
}

.post-content .spoiler-box > div.visible:before {
  content: "\f107";
}

/* A2.6 */
.checkfield input[type=checkbox],
.radiofield input[type=radio] {
  margin: 0 0.3em;
}

/* A2.7 */
p[class=checkfield] *,
div[class=checkfield] *,
fieldset[class=radiofield] * {
  height: 1.8em;
  vertical-align: middle;
}

input,
textarea,
select {
  padding: 5px;
  background-color: var(--muted-container-bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  outline: none;
}

input[type=text],
textarea {
  background-color: var(--muted-container-bg-color);
  font-family: "Roboto", sans-serif;
  color: var(--user-post-text-color, var(--post-text-color));
  font-size: var(--user-post-font-size, 0.85em);
}

textarea {
  padding: 10px;
  line-height: 150%;
}

button,
input.button,
input[type=submit],
input[type=reset],
input[type=button] {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1em;
  padding: 2px 15px;
  background-color: var(--secondary-color);
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  cursor: pointer;
  transition: 0.5s;
}

button:hover,
input.button:hover,
input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover {
  background-color: var(--secondary-color-70);
  transform: scale(1.02);
}

.areafield {
  padding: 10px 0;
}

/* A3 Text setup
-------------------------------------------------------------*/
/* A3.1 */
body {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 150%;
}

/* 3.3 */
/* A3.4 */
.punbb h1,
.punbb h2 {
  margin: 10px 0 20px 0;
  font-size: 1.5em;
  font-weight: normal;
  text-align: center;
  color: var(--category-text-color);
}

.punbb .pun-modal h2 {
  margin: 10px 0 20px 0 !important;
}

.punbb h1 span:before,
.punbb h1 span:after,
.punbb h2 span:before,
.punbb h2 span:after {
  content: "";
  flex: 1 1 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.punbb h1 span:after,
.punbb h2 span:after {
  background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.punbb h1 span,
.punbb h2 span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.punbb h3,
.punbb h4,
.punbb table,
.punbb th {
  font-size: 1em;
  font-weight: normal;
}

/* A3.5 */
.punbb legend span {
  font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

/* A3.7 */
.punbb address,
.punbb em {
  font-style: normal;
}

/* A3.8 */
.punbb .post-content em {
  font-style: italic;
}

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
}

/* Links setup
-------------------------------------------------------------*/
a {
  text-decoration: none;
  color: var(--link-color);
  transition: 0.5s;
}

a:hover {
  color: var(--link-color--hover);
}

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/
/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 */
#pun {
  position: relative;
  width: 1000px;
  margin: 60px auto;
  padding: 25px;
  background-color: var(--container-bg-color);
  box-shadow: 0 0 15px var(--glow-color);
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
}

/* A5.3 */
#pun-redirect,
#pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

/* A5.4 */
/* A5.5 */
.punbb .category,
.punbb .post {
  margin: 5px 0;
  padding: 10px 0;
}

.category .container > table > tbody,
.forum .container > table > tbody {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
}

.category .container > table > thead {
  display: none;
}

.category .container > table > tbody > tr {
  display: flex;
  flex-direction: column;
  width: calc(50% - 5px);
  gap: 5px;
  padding: 0;
  background: url(https://forumstatic.ru/files/001c/a9/d4/81250.png) 1px 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/36415.png) calc(100% - 1px) 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/93204.png) 1px calc(100% - 1px) no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/22750.png) calc(100% - 1px) calc(100% - 1px) no-repeat, var(--muted-container-bg-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color);
}

.punbb .container tr.inew {
  border-color: var(--accent-color);
}
.punbb .container tr.inew .icon-new:after,
.punbb .container tr.inew .intd h3 a:after {
  content: "\e87a";
  display: inline-flex;
  margin-left: 1em;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  color: var(--accent-color);
  font-family: "Font Awesome 7 Pro";
  font-weight: 100;
}

.category .tclcon {
  min-height: 66px;
}
.category .isub .tclcon {
  min-height: auto;
}

.category .tc2,
.category .tc3 {
  display: none;
}

.category .tcr {
  position: relative;
  text-align: right;
  padding: 5px 15px !important;
  margin-top: auto;
}

.punbb .category .no-topic .tcr {
  display: none;
}

.forum .container > table > tbody > tr {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.forum .container > table thead,
.forum .container > table th {
  display: none;
}

.forum .tc2,
.forum .tc3 {
  width: 10%;
  text-align: center;
}

.forum .tcr {
  width: 40%;
  text-align: right;
}

#pun-searchtopics .tcr {
  width: 30%;
}

.forum .tcr .byuser {
  display: block;
}

.punbb .post {
  scroll-margin-top: 65px;
}

.category .container > table > tbody > tr:last-child:nth-child(odd) {
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.category .container > table > tbody > tr:last-child:nth-child(odd) .tcl {
  width: 65%;
}
.category .container > table > tbody > tr:last-child:nth-child(odd).no-topic .tcl {
  width: 100%;
}
.category .container > table > tbody > tr:last-child:nth-child(odd).no-topic:not(.isub) .tcl {
  text-align: center;
}
.category .container > table > tbody > tr:last-child:nth-child(odd) .tcr {
  width: 35%;
  margin-top: inherit;
}

.punbb .category ~ .forum h2 {
  position: relative;
  left: 0;
  height: auto;
  width: auto;
  line-height: inherit;
  font-size: 0;
}
.punbb .category ~ .forum h2 span.item1 {
  gap: 0;
}
.punbb .category ~ .forum h2 span.item1:before {
  display: none;
}
.punbb .category ~ .forum h2 span.item1:after {
  content: "\0421\043f\0438\0441\043e\043a\0020\0442\0435\043c\0020\0440\0430\0437\0434\0435\043b\0430";
  font-size: 24px;
  height: 100%;
  position: relative;
  width: 100%;
  background: none;
  text-align: center;
  display: block;
  left: 0;
  top: 0;
}
.punbb .category ~ .forum h2 span.item2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 30px;
  text-align: center;
  user-select: none;
  pointer-events: none;
  color: transparent;
}

/* A5.6 */
.punbb #pun-category1,
.punbb .toppost,
.punbb .topicpost {
  margin-top: 0;
}

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
}

/* A5.8 */
/* A5.9 */
/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/
/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/
/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid var(--border-color);
  width: 100%;
  margin: 5px 0;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0.5em 0;
}

.post-content hr {
  border-color: var(--border-color);
  background-color: var(--border-color);
}

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom;
}

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
}

/* B1.6 */
.punbb .post-content .blockcode,
.punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  height: auto !important;
  padding-bottom: 1em;
}

/* B1.8 */
.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  margin: 10px 2px;
  padding: 5px 15px;
  background-color: var(--container-bg-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}

/* B1.9 */
.punbb .quote-box cite,
.punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 0;
}

/* B2 Information boxes
-------------------------------------------------------------*/
/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
}

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
}

/* B3 Pagination and posting links
-------------------------------------------------------------*/
/* B3.1 */
.punbb .linksb,
.punbb .linkst {
  display: flex;
  padding: 15px 0;
}

#pun-viewforum.punbb .linksb {
  flex-direction: row-reverse;
}

/* B3.2 */
.multipage {
  margin: 15px 0;
}

/* B3.3 */
.linksb .pagelink,
.linkst .pagelink {
  margin-right: auto;
}

/* B3.4 */
.linksb .postlink,
.linkst .postlink {
  display: flex;
  gap: var(--gap);
  margin-left: auto;
}

.linksb .postlink.long,
.linkst .postlink.long {
  width: auto;
}

.linksb .postlink span,
.linkst .postlink span {
  background: var(--secondary-color);
  padding: 1px 10px;
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/
/* C1 Form layout
-------------------------------------------------------------*/
/* C1.1 */
.punbb .formal .container {
  padding: 15px 0;
}

#reply-form__additional {
  margin: 0 0 15px;
}
#reply-form__additional #plng__container {
  font-family: "Roboto", sans-serif;
  padding: 1px 10px;
  display: inline-flex;
  width: auto;
  gap: var(--gap);
  font-size: 0.75em;
  background: var(--secondary-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  border: 1px solid var(--muted-container-bg-color);
}
#reply-form__additional #plng__container .plng-legend {
  font-weight: bold;
}

#form-buttons td#button-smile {
  display: none;
}

#button-sticker {
  background: url(/i/form_buttons.3.png) no-repeat 50% -437px !important;
}

.punbb #tags .container {
  padding: 15px;
  background-color: var(--container-bg-color);
  border: 1px solid var(--border-color);
  top: 82px;
}

/* C1.2 */
/* C1.3 */
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
  margin: 0 10px 0 0;
}

/* C1.4 */
.punbb fieldset {
  padding: 15px 0;
  margin: 0;
  border: none;
}

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0;
  font-size: 1.1em;
}

/* C1.7 */
.punbb fieldset fieldset {
  margin: 0;
  padding: 0 0 8px 0;
}

/* C1.10 */
.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
  float: left;
  margin-right: 1em;
}

/* C1.11 */
.punbb .inline .infofield {
  clear: both;
}

/* C1.12 */
.punbb .datafield br {
  display: none;
}

/* C1.13 */
.punbb .required label,
.punbb .datafield span.input {
  font-weight: bold;
}

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
}

/* C1.15 */
.punbb .areafield span.input,
.punbb p.longinput span.input {
  display: block;
}

/* C1.16 */
.punbb textarea,
.punbb .longinput input {
  width: 64%;
  margin: 0;
}

/* C1.17 */
.punbb .hashelp {
  position: relative;
}

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
}

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
}

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
}

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
}

/* C2 Table layout
-------------------------------------------------------------*/
/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 100%;
  padding: 10px;
}

#pun-statistic .container th,
#pun-online .online-list th {
  text-align: center;
  padding: 5px 10px;
}

#pun-online .tcl.action {
  width: 50% !important;
}

.punbb .forum .tcl {
  padding-left: 0;
}

/* C2.2 */
.punbb .main .tcmod {
  text-align: center;
  width: 10%;
}

/* C2.4 */
#pun-userlist .main .tcl {
  width: 30%;
}

#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%;
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .main .tc3.registered {
  width: 20%;
}

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space: normal;
}

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}

/* C2.8 */
#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em;
}

/* C2.11 */
.punbb .post-content td {
  padding: 15px !important;
}

.punbb .main td {
  padding: 15px;
}

/* C2.12 */
.punbb .main th {
  padding: 15px;
}

/* C2.15 */
.punbb div.icon {
  height: 0;
  line-height: 0;
  margin-top: 0.1em;
  width: 0;
}

/* C2.16 */
.punbb table div.icon {
  font-size: 1.05em;
  position: absolute;
  margin-left: -2.2em;
}

.stickytext {
  background: var(--accent-color);
  padding: 1px 10px;
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
}

/* C3 Topics
-------------------------------------------------------------*/
/* C3.1 */
.punbb .post .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  gap: 25px;
}

.punbb .post .container:after {
  display: none;
}

/* C3.2 */
.punbb .post h3 {
  padding: 0 0 10px 0;
  width: calc(100% - 250px);
}

.punbb .post.hideprofile h3 {
  width: 100%;
}

/* C3.3 */
.punbb .post h3 span {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 25px;
  align-items: center;
}

.punbb .post h3 .permalink {
  margin-right: auto;
  order: -2;
}

.punbb .post h3 span strong {
  height: 1.5em;
  text-align: right;
  padding-right: 3px;
}

.punbb .post h3 span strong:before {
  content: "#";
}

/* C3.4 */
.punbb .post h3 .sharelink {
  background: var(--secondary-color);
  padding: 1px 10px;
  margin-left: 0;
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  transition: 0.5s;
}

.punbb .post h3 .sharelink:hover {
  background-color: var(--secondary-color-70);
  transform: scale(1.02);
}

/* C3.5 */
#profile-left {
  width: 100% !important;
  max-width: 225px;
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#viewprofile #profile-left {
  background: url(https://forumstatic.ru/files/001c/a9/d4/81250.png) 1px 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/36415.png) calc(100% - 1px) 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/93204.png) 1px calc(100% - 1px) no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/22750.png) calc(100% - 1px) calc(100% - 1px) no-repeat, var(--muted-container-bg-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color);
}

.punbb .post .post-author {
  display: flex;
  position: relative;
  align-items: flex-start;
  text-align: center;
}

.punbb .post .post-author ul {
  position: sticky;
  top: 65px;
  width: 225px;
  padding: 15px;
  margin-top: -35px;
  background: url(https://forumstatic.ru/files/001c/a9/d4/81250.png) 1px 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/36415.png) calc(100% - 1px) 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/93204.png) 1px calc(100% - 1px) no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/22750.png) calc(100% - 1px) calc(100% - 1px) no-repeat, var(--muted-container-bg-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color);
}

/* C3.7 */
.pa-author {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}

.pa-author #tuser {
  height: 1em;
  width: 1em;
  font-size: 0.9em;
  color: var(--secondary-color);
  transition: 0.5s;
  position: absolute;
  top: 5px;
  right: 15px;
  font-weight: normal;
}

/* C3.9 */
.pa-title {
  padding-bottom: 0.4em;
  font-weight: bold;
}

.pa-online {
  line-height: 0.8em;
  padding-left: 0.4em;
  margin-top: 0.7em;
}

.pa-positive {
  grid-area: positive;
}

.pa-respect {
  grid-area: respect;
}

#pa-avatar,
.pa-avatar {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 182px;
  height: 182px;
  border-radius: 50%;
  background-color: var(--primary-color);
  overflow: hidden;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}

#pa-avatar img,
.pa-avatar img {
  max-width: 100%;
  max-height: 100%;
  transition: 0.5s;
}

#viewprofile-next.no-avatar #pa-avatar:hover strong,
#pa-avatar:hover img,
.pa-avatar:hover img {
  transform: scale(1.05);
}

#viewprofile #pa-avatar > div {
  padding: 0 !important;
  width: 100%;
  height: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

#profile-left li#pa-avatar {
  margin-left: auto;
}

.punbb .user-avatar .avatar-image {
  border-radius: 0 !important;
  border: 1px solid var(--border-color);
}

.avatar-image[style*="default_avatar."] {
  background-image: url(https://upforme.ru/uploads/001c/a9/d4/2/239341.png) !important;
}

#viewprofile-next.no-avatar #pa-avatar strong {
  background-image: url(https://upforme.ru/uploads/001c/a9/d4/2/239341.png) !important;
  background-size: 100% 100%;
  font-size: 0;
  display: block;
  width: 100%;
  height: 100%;
  color: transparent;
  transition: 0.5s;
}

/* C3.11 */
.punbb .post-body {
  width: calc(100% - 250px);
  margin-top: 2px;
  background: var(--muted-container-bg-color);
  padding: 15px;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}

.punbb .post-box {
  font-family: "Roboto", sans-serif;
  color: var(--user-post-text-color, var(--post-text-color));
  font-size: var(--user-post-font-size, 0.85em);
}

.hideprofile .post-body {
  width: 100%;
}

/* C3.12 */
.punbb .post-box {
  padding: 5px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.punbb .post-rating {
  margin-top: auto;
}

.punbb .post-rating .container {
  padding: 1px 10px !important;
  font-size: 0.75em;
  background: var(--secondary-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  border: 1px solid var(--muted-container-bg-color) !important;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

/* C3.14 */
.punbb .post-links {
  width: 100%;
}

/* C3.15 */
.punbb .post-links ul {
  display: flex;
  gap: var(--gap);
  align-items: center;
  padding: 0 65px 0 3px;
}

.punbb .post-links .email {
  display: none;
}

.punbb .post-links .pm {
  order: 999;
}

.punbb .post-links .profile {
  margin-left: auto;
  display: block;
  order: 998;
}

.punbb .post-links .pl-share {
  display: none;
}

/* C3.17 */
/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

/* C4 Moderator menu
-------------------------------------------------------------*/
/* C4.1 */
.punbb .modmenu .container {
  padding: 15px 0;
  text-align: right;
}

/* C4.2 */
.punbb .modmenu strong,
.punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
}

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
}

/* C5 Message boxes
-------------------------------------------------------------*/
/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em;
}

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
}

/* C6 Profile
-------------------------------------------------------------*/
/* C6.1 */
#profile .container {
  padding-left: 18.6em;
}

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
}

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}

/* C6.4 */
#viewprofile ul,
#profilenav ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
}

/* C6.5 */
#viewprofile h2,
#profilenav h2 {
  background: transparent;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
}

/* C6.6 */
#viewprofile h2 span,
#profilenav h2 span {
  padding: 0 5px;
  position: relative;
}

/* C6.7 */
#viewprofile li,
#setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
}

#viewprofile #profile-name {
  text-align: center;
}

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
}

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
}

/* C6.10 */
#viewprofile li strong,
#viewprofile li div,
#setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
}

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

/* C7 User list
-------------------------------------------------------------*/
/* C7.1 */
#pun-userlist .formal,
#pun-userlist .formal .container {
  margin-bottom: 0;
}

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 15px 0;
}

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/
/* D1 Logo and description
-------------------------------------------------------------*/
/* D1.1 */
#pun-title {
  margin: 1px -25px 0;
  height: 272px;
  background: var(--header-bg);
  background-position: bottom center;
}

/* D1.2 */
#pun-title h1 {
  display: none;
}

/* D1.3 */
/* D1.4 */
#pun-title h1 span {
  font-size: 1.5em;
}

#pun-title table {
  display: none;
}

/* D2 Page navigation
-------------------------------------------------------------*/
/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  padding: 0;
}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline;
}

/* D2.4 */
#pun-pagelinks li a,
#pun-pagelinks a:link,
#pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float: left;
  width: 100%;
}

/* D2.5 */
#pun-pagelinks a:active,
#pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}

#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}

/* D3 Forum navigation
-------------------------------------------------------------*/
/* D3.1 */
#pun-navlinks {
  margin: -318px -25px 262px;
  background-color: var(--navlinks-bg-color);
  text-align: left;
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border-color);
  z-index: var(--zindex-navlinks);
}

/* D3.2 */
#pun-navlinks .container {
  padding: 15px;
}

/* D.3 */
#pun-navlinks li {
  display: inline;
  padding-right: 1em;
}

/* D3.4 */
#pun-navlinks li a {
  font-size: 1.1em;
  color: var(--navlinks-color);
}

/* D4 User links
-------------------------------------------------------------*/
/* D4.1 */
#pun-ulinks {
  z-index: var(--zindex-ulinks);
  margin: 0 -25px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  text-transform: lowercase;
  position: sticky;
  top: 50px;
  background: color-mix(in srgb, var(--container-bg-color) 70%, transparent);
}

/* D4.2 */
#pun-ulinks .container {
  padding: 10px;
}

/* D4.3 */
#pun-ulinks li,
#pun-ulinks li a {
  display: inline;
  white-space: nowrap;
}

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em;
}

/* D4.5 */
#pun-ulinks li.item1,
#pun-ulinks li.item1 a {
  padding-left: 0;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/
/* D5.1 */
#pun-status,
#pun-status .container {
  margin-bottom: 0;
}

/* D5.2 */
#pun-status .container {
  padding: 15px 0;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
}

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
}

/* D5.5 */
#pun-crumbs1 p.container {
  padding: 15px 0;
}

/* D5.6 */
/* D6 Announcement
-------------------------------------------------------------*/
/* D6.1 */
#pun-announcement h2 {
  display: none;
}

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
}

/* D6.3 */
#pun-announcement .container {
  padding: 15px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.news-list__row {
  padding: 10px;
  background: color-mix(in srgb, var(--secondary-color) 45%, var(--container-bg-color));
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}

/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
#pun-stats .container {
  padding: 15px 0;
}

/* D7.2 */
#pun-stats li.item1,
#pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
}

/* D7.3 */
#pun-stats li.item3,
#pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
}

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  float: left;
  width: 100%;
  line-height: 130%;
}

/* D7.5 */
li#onlinelist div {
  padding: 0.7em 0 0 0;
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/
/* D8.1 */
#pun-qjump {
  margin: 0;
  width: 50%;
  position: relative;
  float: left;
}

/* D8.2 */
#pun-qjump .container {
  background: transparent;
  padding: 0.8em 1em;
}

/* D8.3 */
#pun-about {
  margin-top: 0;
}

/* D8.4 */
#pun-about .container {
  text-align: right;
  line-height: 150%;
  padding: 15px 0;
}

/* D8.5 */
#pun-about p span {
  display: block;
  padding-left: 50%;
}

/* D8.6 */
#pun-crumbs2 {
  padding-top: 15px;
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  position: relative;
  height: 0;
  z-index: 1;
}

/* D8.9 */
/* D9 Help file
-------------------------------------------------------------*/
/* D9.1 */
#pun-help .formal .info-box h3.legend {
  padding-bottom: 0;
  margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  font-size: 1.1em;
}

/* D9.3 */
#pun-help .formal p,
#pun-help .formal dd {
  margin-bottom: 1em;
}

/* D9.4 */
#pun-help .formal ul,
#pun-help .formal dl {
  padding: 0 0 0 1em;
}

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top;
}

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

/* D9.8 */
#pun-help .formal .parsedmsg,
#pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
}

/* D9 Admin
-------------------------------------------------------------*/
.punbb-admin #pun-admain fieldset .handle,
.punbb-admin #pun-admain fieldset p {
  border-color: var(--muted-container-bg-color);
  background-color: var(--muted-container-bg-color);
}

.punbb-admin #pun-admain2 fieldset .handle,
.punbb-admin #pun-admain2 fieldset p {
  background-color: var(--border-color);
}

.punbb-admin #pun-admain fieldset,
.punbb-admin .adcontainer {
  border: none;
  padding: 0;
}

.punbb-admin #pun-admain a {
  color: var(--link-color);
}

.punbb-admin #pun-admain a:hover,
.punbb-admin #pun-admain .isactive a {
  color: var(--link-color--hover);
}

.punbb-admin #pun-admain legend span {
  color: var(--text-color);
  background-color: var(--border-color);
}

.punbb-admin .adformal {
  border: none;
}

.punbb-admin #pun-admain input[type=button],
.punbb-admin #pun-admain input[type=submit] {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1em;
  padding: 2px 15px;
  background-color: var(--secondary-color);
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  cursor: pointer;
  transition: 0.5s;
}

.punbb-admin .adformal h2,
.punbb-admin #pun-adnav h2 {
  background-color: var(--border-color);
}

.punbb-admin #pun-admain textarea,
.punbb-admin #pun-admain input,
.punbb-admin #pun-admain select,
.punbb-admin #pun-admain optgroup {
  font-size: 0.9em;
}

.punbb-admin #pun-admain .adcontainer th {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.punbb-admin #filetable {
  font-family: "Roboto", sans-serif;
  color: var(--post-text-color);
  font-size: 0.85em;
}

.punbb-admin .tagify {
  --tag-bg: var(--container-bg-color);
  --tags-border-color: var(--border-color);
  --tags-hover-border-color: var(--border-color);
}

.punbb-admin #pun-admain1 div.adcontainer,
.punbb-admin #pun-admain2 div.adcontainer {
  padding: 5px 15px;
}

.punbb-admin #pun-admain .adcontainer td {
  border-color: var(--border-color);
}

.punbb-admin .tags-save {
  color: inherit;
  margin-top: 15px !important;
}

/* D10 Modal
-------------------------------------------------------------*/
.pun-modal .modal-inner {
  background: var(--container-bg-color);
}

/* D11 Misc
-------------------------------------------------------------*/
.punbb .user-avatar .isonline {
  background: transparent !important;
  border-radius: 0 !important;
  bottom: 5px;
  top: auto !important;
}
.punbb .user-avatar .isonline:before {
  content: "\f6b5";
  font-family: "Font Awesome 7 Pro";
  font-weight: 900;
  font-size: 0.8em;
  color: var(--link-color--hover);
}

.advert-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
}

*::-webkit-scrollbar,
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: var(--muted-container-bg-color);
}

*::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--muted-container-bg-color);
  }
}
.go-up,
.go-down {
  position: fixed;
  left: calc(100% - 75px);
  cursor: pointer;
  width: 75px;
  height: 50%;
  z-index: 999;
}

.scroll-arrow__inside {
  display: flex;
  opacity: 0;
  transition: 0.5s ease;
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
}

.scroll-arrow__inside:before {
  content: "\f062";
  margin: 15px 0;
}

.go-up {
  top: 0;
}
.go-up .scroll-arrow__inside {
  align-items: flex-start;
  background: linear-gradient(0deg, transparent, var(--secondary-color));
  justify-content: center;
  height: 100%;
}
.go-up:hover .scroll-arrow__inside {
  opacity: 1;
}

.go-down {
  bottom: 0;
}
.go-down .scroll-arrow__inside {
  align-items: flex-end;
  background: linear-gradient(180deg, transparent, var(--secondary-color));
  justify-content: center;
  height: 100%;
}
.go-down .scroll-arrow__inside:before {
  content: "\f063";
}
.go-down:hover .scroll-arrow__inside {
  opacity: 1;
}

br {
  height: 0;
  line-height: 0;
}

.lastedit {
  display: none;
}

#pun-live-rusff {
  display: none !important;
}

.reactions-root {
  display: none;
}

.return-form__container {
  display: flex;
  justify-content: center;
}

#s-block {
  position: absolute;
  margin-top: -2em;
  right: 25px;
}

body .hvStickerPackModal {
  background-color: var(--container-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 0;
  z-index: 1000;
}

.punbb #sTheme,
.punbb #isk {
  border-color: var(--border-color);
  border-radius: 0;
}

.punbb #isk {
  height: 25px;
}

.button.cancel,
.button.return-form {
  /*display:none;*/
}

.left-column,
.right-column {
  width: 45%;
  padding: 5px 15px;
  background-color: var(--container-bg-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}

.left-column {
  float: left;
  margin-right: 10px;
}

.right-column {
  float: right;
  margin-left: 10px;
}

.custom_tag.header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 0.25em 0;
  text-align: center;
  font-size: 2em;
  font-family: "Cormorant Garamond", serif;
  color: var(--category-text-color);
}
.custom_tag.header:before, .custom_tag.header:after {
  content: "";
  flex: 1 1 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color));
}
.custom_tag.header:after {
  background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.subheader {
  text-align: center;
  font-size: 1.5em;
  margin: 0.1em 0;
  font-family: "Cormorant Garamond", serif;
  cursor: default;
  background: var(--secondary-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  border: 1px solid var(--muted-container-bg-color);
}

.subheader p {
  padding: 0 !important;
}

.custom_tag_float[direction=right] {
  float: right;
  margin: 0 0 0 10px;
}

.custom_tag_float[direction=left] {
  float: left;
  margin: 0 10px 0 0;
}

.forum-description {
  font-family: "Roboto", sans-serif;
  color: var(--post-text-color);
  font-size: 0.85em;
  min-height: 3em;
  max-height: 3em;
  overflow-y: auto;
  cursor: default;
  position: relative;
  line-height: 1.5em;
}

.no-topic .forum-description {
  max-height: 56px;
}

.forum-description-links {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  gap: 10px;
}

.forum-description__catalog-banners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
}

.forum-description-links a {
  display: block;
  background: var(--primary-color);
  padding: 0px 10px;
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
}
.forum-description-links a.description-link--accent {
  background: var(--accent-color);
}

.admin-link:before {
  content: "\00BB\00A0";
}

.game-section-notify {
  display: none;
}

.isguest .game-section-notify {
  display: block;
}

.isguest .game-section-notify .container {
  padding: 10px;
  background: url(https://forumstatic.ru/files/001c/a9/d4/81250.png) 1px 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/36415.png) calc(100% - 1px) 1px no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/93204.png) 1px calc(100% - 1px) no-repeat, url(https://forumstatic.ru/files/001c/a9/d4/22750.png) calc(100% - 1px) calc(100% - 1px) no-repeat, var(--muted-container-bg-color);
  text-align: center;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color);
  font-family: "Roboto", sans-serif;
  color: var(--user-post-text-color, var(--post-text-color));
  font-size: var(--user-post-font-size, 0.85em);
}

#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner {
  background-color: var(--container-bg-color);
}

/* Notify
-------------------------------------------------------------*/
.notify-link .unreads {
  background: var(--accent-color);
  border-radius: 50%;
  margin-left: 5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1em;
  height: 1em;
  padding-bottom: 3px;
}

[data-number-unread="0"] .notify-link .unreads {
  display: none;
}

.notification-type-toggle {
  margin-right: 1em;
}

.notifications-block-title {
  display: flex;
}

.notifications-block-title a {
  margin-left: auto;
}

#notifications-stored {
  border-spacing: 0 10px;
}

.notification-item {
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color);
}

.notification-right {
  font-family: "Roboto", sans-serif;
  color: var(--user-post-text-color, var(--post-text-color));
  font-size: var(--user-post-font-size, 0.85em);
}

/* D11 Library
-------------------------------------------------------------*/
.library {
  min-height: 200px;
  display: flex;
  position: relative;
  margin-bottom: 25px;
}

.library .menu {
  width: 20%;
  flex: none;
}

.library .menu .submenu {
  padding-left: 15px;
  font-size: 0.8em;
}

.library .menu .submenu a {
  display: block;
}

.library .menu .submenu .submenu-delimiter {
  border-bottom: 1px solid;
  font-weight: bold;
  display: inline-block;
  padding-top: 5px;
}

.library .content {
  flex: 1 1 auto;
  padding: 5px;
}

.library .content .content-tab {
  display: none;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
}

.library .content .content-tab > div {
  margin-bottom: 25px;
  scroll-margin-top: 65px;
}

.library .preloader {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0.33s, opacity 0.33s linear;
  background-color: var(--container-bg-color);
}

.library .preloader-inner {
  font-size: 50px;
}

.library .preloader.hide {
  visibility: hidden;
  opacity: 0;
}

.library a {
  cursor: pointer;
}

.library a.active {
  color: var(--category-text-color);
}

/* D15 Character directory
-------------------------------------------------------------*/
#forum_f8 {
  width: 100%;
  position: relative;
  flex-direction: row;
}

.category #forum_f8 .tcl {
  width: 60%;
}

#forum_f8 .tc2,
#forum_f8 .tc3 {
  display: none;
}

#forum_f8 .subforums {
  font-size: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  padding: 0;
}

#forum_f8 .subforums em {
  display: none;
}

#forum_f8 .subforums a {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 65px;
  height: 65px;
  background: var(--primary-color);
  color: var(--text-color);
  margin: 2px 6px;
  transition: 1s;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  line-height: 8px;
  text-transform: lowercase;
  text-align: center;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}

#forum_f8 .forum-description {
  width: 100%;
}

#forum_f8 .subforums a:hover {
  transform: scale(1.05);
}

#forum_f8 .subforums a:before {
  content: "";
  font-size: 26px;
  width: 100%;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
}

/* колдуны */
#forum_f8 .subforums a[href*="id=7"]:before {
  content: "\f6b7";
}

/* ведьмы */
#forum_f8 .subforums a[href*="id=12"]:before {
  content: "\f6e7";
}

/* вампиры */
#forum_f8 .subforums a[href*="id=14"]:before {
  content: "\f748";
}

/* оборотни */
#forum_f8 .subforums a[href*="id=15"]:before {
  content: "\f702";
}

/* тёмные феи */
#forum_f8 .subforums a[href*="id=11"]:before {
  content: "\e607";
  font-family: "Font Awesome 7 Pro";
}

/* демоны */
#forum_f8 .subforums a[href*="id=13"]:before {
  content: "\e391";
  font-family: "Font Awesome 7 Pro";
}

/* персонал */
#forum_f8 .subforums a[href*="id=10"]:before {
  content: "\e0cd";
}

.category #forum_f8 .tcr {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  flex-direction: column;
}

#forum_f8 .lastpost-link {
  background: var(--secondary-color);
  padding: 3px 15px;
  display: inline-block;
  margin-bottom: 5px;
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
}

#forum_f8 .lastpost-link:hover {
  background-color: var(--secondary-color-70);
  transform: scale(1.02);
}

#forum_f8 .lastpost-link:before {
  display: none;
}

#forum_f8 .user-avatar {
  display: none;
}

.game-groups-counter {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 20px;
  right: 3px;
  background: var(--secondary-color);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  outline: 1px solid var(--muted-container-bg-color);
  font-weight: bold;
  font-size: 14px;
  padding-bottom: 2px;
}

.category #forum_f8 .tcr br {
  display: none;
}

/* Header title
-------------------------------------------------------------*/
#pun-title .title-logo,
#pun-title #title-logo-table {
  display: none;
}

.pun-title__container {
  height: 54px;
  text-align: left;
  position: sticky;
  top: 0;
  margin: -25px -25px 0;
  padding: 0 25px;
  background-color: var(--navlinks-bg-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  border-bottom: 1px solid var(--border-color);
  z-index: var(--zindex-navlinks);
}
.pun-title__container:before {
  content: "";
  background: url(https://forumstatic.ru/files/001c/a9/d4/87021.png);
  height: 62px;
  width: 62px;
  position: absolute;
  top: -31px;
  left: calc(50% - 31px);
}
.pun-title__container a {
  color: var(--navlinks-color);
}

.navigation-group {
  margin-right: auto;
}

.usermenu-group button {
  padding: 0;
  background: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  color: inherit;
  gap: 10px;
  flex-direction: row-reverse;
}

.usermenu-group button:hover {
  transform: none;
}

.usermenu-avatar {
  margin: -2px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  vertical-align: top;
  background-color: var(--primary-color);
  font-weight: normal;
  --size: 30px;
  width: var(--size);
  height: var(--size);
  font-size: calc(var(--size) / 2);
  border: 1px solid var(--border-color);
}

.usermenu-label {
  transition: margin-right 0.1s;
}

.guest-menu,
.navigation-menu {
  display: flex;
  flex-direction: row;
  gap: var(--gap);
}

.navigation-menu {
  margin-right: 20px;
}

.navigation-menu > li > a {
  padding: 0 5px;
}

.guest-menu > li > a {
  display: inline-block;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  padding: 3px 15px;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.5s;
  background: var(--secondary-color);
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
}

.guest-menu > li > a:hover {
  transform: scale(1.05);
}

.forum-title {
  float: left;
  vertical-align: top;
  font-size: 18px;
  font-weight: normal;
  margin: 0 15px 0 0;
  line-height: 34px;
}

/* Loading
-------------------------------------------------------------*/
#loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: var(--zindex-loader);
  background: var(--body-bg);
  background-size: auto 100%, auto 100%, auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: auto;
}

.content-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}

.loading-overlay__spinner,
.content-loader__spinner {
  font-size: 50px;
}

.changes-loaded #loading-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Dropdown
-------------------------------------------------------------*/
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--zindex-dropdown);
  min-width: 160px;
  background: var(--container-bg-color);
  list-style: none;
  text-align: left;
  color: var(--text-color);
  padding: 5px 0 !important;
  border: 1px solid var(--border-color);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu > li > a,
.dropdown-menu > li > button,
.dropdown-menu > li > span {
  padding: 5px 15px;
  display: flex;
  width: 100%;
  border-radius: 0;
  border: 0;
  background: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: none;
  text-align: left;
  font-weight: normal;
  text-decoration: none;
  cursor: pointer;
  align-items: center;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > button:hover {
  background: var(--secondary-color);
}

.dropdown-separator {
  margin: 8px 0;
  background-color: var(--border-color);
  height: 1px;
}

li > a.has-icon {
  padding-left: 40px;
}

a.has-icon .link-icon {
  float: left;
  margin-left: -25px;
  margin-top: 2px;
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

/* Character fields
-------------------------------------------------------------*/
#pa-fld1 .fld-name,
.pa-fld1 .fld-name,
#pa-fld1 > br,
.pa-fld1 > br {
  display: none;
}

#pa-fld1 a,
.pa-fld1 a {
  display: flex;
  background: var(--primary-color);
  padding: 1px 10px;
  margin: 20px 0 10px;
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  color: var(--text-color);
  font-size: 0.7em;
  justify-content: center;
  align-items: center;
}

#pa-fld1 .race-icon:before,
.pa-fld1 .race-icon:before {
  content: "";
  position: absolute;
  width: 2em;
  height: 2em;
  left: calc(50% - 1em);
  top: -1.25em;
  background: var(--muted-container-bg-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
}

#pa-fld1 .race-icon,
.pa-fld1 .race-icon {
  position: relative;
  padding-top: 8px;
}

[intel*=topic-house-icon],
[intel*=topic-race-icon] {
  width: 1em;
  height: 1em;
  display: inline-flex;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

[intel*=topic-race-icon]:before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
}

[intel*=topic-house-icon]:before {
  font-family: "Font Awesome 7 Pro";
  font-weight: 100;
  font-weight: 300;
}

[intel*=witch]:before,
#pun .race-icon.witch:before {
  content: "\f6e7";
}

[intel*=warlock]:before,
#pun .race-icon.warlock:before {
  content: "\f6b7";
}

[intel*=vampire]:before,
#pun .race-icon.vampire:before {
  content: "\f748";
}

[intel*=werewolves]:before,
#pun .race-icon.werewolves:before {
  content: "\f702";
}

[intel*=fairy]:before,
#pun .race-icon.fairy:before {
  content: "\e607";
  font-family: "Font Awesome 7 Pro";
}

[intel*=daemons]:before,
#pun .race-icon.daemons:before {
  content: "\e391";
  font-family: "Font Awesome 7 Pro";
}

[intel*=staff]:before,
#pun .race-icon.staff:before {
  content: "\e0cd";
}

[intel*=butterfly]:before {
  content: "\e811";
}

[intel*=legacy]:before {
  content: "\e800";
}

[intel*=fist]:before {
  content: "\f6de";
}

/* D15 Templates
-------------------------------------------------------------*/
.char-temp {
  position: relative;
  margin: 25px auto;
  width: 600px;
  height: 600px;
  padding: 25px;
  text-align: justify;
  letter-spacing: 0.2px;
  overflow: hidden;
  box-sizing: content-box;
  background-color: var(--container-bg-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}

.char-temp > p {
  display: none;
}

.custom_tag_template {
  width: 100%;
  height: 100%;
}

.custom_tag_template > br,
.custom_tag_template > p {
  display: none;
}

.char-temp .char-temp-bg {
  height: calc(100% + 50px);
  width: 200px;
  background: var(--container-bg-color);
  position: relative;
  overflow: hidden;
  right: -425px;
  top: -25px;
}

.char-temp .char-temp-bg::after {
  content: "";
  display: block;
  background: url(https://upforme.ru/uploads/001c/a9/d4/5/210634.png);
  position: absolute;
  top: 75px;
  height: 75%;
  width: 200px;
  transform: scale(1.5);
  filter: contrast(200%) blur(2px);
  mix-blend-mode: multiply;
  opacity: 0.3;
}

.char-temp .char-temp-icon {
  position: absolute;
  z-index: 1;
  right: 50px;
  top: 30px;
  width: 190px;
  height: 190px;
  padding: 10px;
  background: var(--primary-color);
  border: 2px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 2px var(--border-color), 0 0 0 10px var(--container-bg-color);
  border-radius: 100%;
  box-sizing: border-box;
}

.char-temp .char-temp-icon img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  margin: 0 !important;
  transition: 0.5s;
}

.char-temp .char-temp-icon img:hover {
  transform: scale(1.1);
}

.char-temp .char-temp-body {
  width: 360px;
  height: 510px;
  overflow: auto;
  padding: 0 50px;
  position: absolute;
  top: 120px;
  left: -10px;
  box-sizing: content-box;
  scrollbar-width: thin;
  scrollbar-color: var(--muted-container-bg-color) transparent;
  font-size: 13px;
}

.char-temp .char-temp-body::-webkit-scrollbar {
  width: 5px;
}

.char-temp .char-temp-body::-webkit-scrollbar-thumb {
  background: var(--muted-container-bg-color);
  border-radius: 10px;
}

.char-temp .char-temp-header {
  position: absolute;
  top: 20px;
  left: 40px;
  width: 350px;
  height: 200px;
}

.char-temp .char-temp-header > p {
  display: none;
}

.char-temp .char-temp-name {
  font: 700 30px "Cormorant Garamond", serif;
  color: var(--category-text-color);
  margin: 0px 0px 5px;
  letter-spacing: -1px;
  line-height: 30px;
}

.char-temp .char-temp-desc {
  max-width: fit-content;
  padding: 2px 10px;
  border: 1px solid var(--secondary-color);
  background: var(--muted-container-bg-color);
  font-size: 10px;
  text-transform: uppercase;
  text-align: right;
  box-sizing: content-box;
}

.char-temp .char-temp-bg p,
.char-temp .char-temp-icon p,
.char-temp .char-temp-name p,
.char-temp .char-temp-desc p {
  padding: 0;
  margin: 0;
}

.char-temp #radio-1:checked ~ .char-temp-bg label[for=radio-1],
.char-temp #radio-2:checked ~ .char-temp-bg label[for=radio-2],
.char-temp #radio-3:checked ~ .char-temp-bg label[for=radio-3],
.char-temp #radio-4:checked ~ .char-temp-bg label[for=radio-4] {
  background: var(--primary-color);
  border-left: 5px solid var(--container-bg-color);
  color: var(--category-text-color);
}

.char-temp.staff .char-temp-icon,
.char-temp.staff .char-temp-bg {
  background-color: var(--group-staff);
}

.char-temp.staff .char-temp-name {
  color: var(--group-staff);
}

.char-temp.staff .char-temp-bg::after {
  background: url(https://i.imgur.com/Ojkw5Ch.png);
}

.char-temp.staff #radio-1:checked ~ .char-temp-bg label[for=radio-1],
.char-temp.staff #radio-2:checked ~ .char-temp-bg label[for=radio-2],
.char-temp.staff #radio-3:checked ~ .char-temp-bg label[for=radio-3],
.char-temp.staff #radio-4:checked ~ .char-temp-bg label[for=radio-4] {
  background: var(--group-staff);
}

.custom_tag_radio {
  display: none;
}

.char-temp .char-temp-bg label {
  position: absolute;
  display: block;
  bottom: 20px;
  z-index: 1;
  background-color: var(--container-bg-color);
  border-radius: 0;
  padding: 7px 20px;
  font-size: 25px;
  cursor: pointer;
  color: var(--link-color);
  font-family: "Cormorant Garamond", serif;
}

.char-temp .char-temp-bg label.custom_tag_label:nth-child(1) {
  bottom: 145px;
}

.char-temp .char-temp-bg label.custom_tag_label:nth-child(2) {
  bottom: 103px;
}

.char-temp .char-temp-bg label.custom_tag_label:nth-child(3) {
  bottom: 61px;
}

.char-temp .char-temp-body {
  display: none;
}

.char-temp #radio-1:checked ~ .temp-bio {
  display: block;
}

.char-temp #radio-2:checked ~ .temp-appearance {
  display: block;
}

.char-temp #radio-3:checked ~ .temp-character {
  display: block;
}

.char-temp #radio-4:checked ~ .temp-about {
  display: block;
}

.char-temp-h3 {
  font-variant: small-caps;
  font-weight: bold;
  font-size: 18px;
  text-align: right;
}

.punbb .post-content .char-temp-h3 p {
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .char-temp {
    max-width: calc(100% - 56px);
    height: auto;
  }
  .custom_tag_template {
    max-width: 100%;
  }
  .char-temp .char-temp-bg {
    position: absolute;
    right: auto;
    margin: -25px -25px 0;
    width: 100%;
    height: 555px;
  }
  .char-temp .char-temp-bg::after {
    left: 45px;
  }
  .char-temp .char-temp-icon {
    position: relative;
    right: auto;
    margin: 0 auto;
    top: 0;
  }
  .char-temp .char-temp-header {
    max-width: 100%;
    position: relative;
    left: 0;
    max-width: 100%;
    height: auto;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 200px;
  }
  .char-temp .char-temp-body {
    position: relative;
    top: 0;
    left: 0;
    padding: 0 15px 0 0;
    max-width: 100%;
    height: auto;
  }
  .char-temp .char-temp-name {
    text-align: center;
  }
}
/* D16 Episode template
-------------------------------------------------------------*/
.episode-template table {
  position: relative;
  margin: 14px 2px !important;
  padding: 0;
  background: var(--container-bg-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
  width: calc(100% - 4px) !important;
}

.episode-template table tr:first-child img.postimg {
  width: 100%;
  max-width: 650px;
  margin: 0;
}

.episode-template table tr:first-child td > p {
  display: block;
  margin: -15px;
  padding: 0 !important;
}

.punbb #mask_dialog .inner {
  background: var(--muted-container-bg-color);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
}
.punbb #mask_dialog .hv-preview-block {
  flex: 0 0 180px;
  max-width: 180px;
}
.punbb #mask_dialog .hv-preview-block .hv-preview-avatar {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  background-color: var(--primary-color);
  overflow: hidden;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
  padding: 0;
}
.punbb #mask_dialog .hv-preview-block img {
  max-width: 180px;
  max-height: 180px;
}
.punbb #mask_dialog .hv-mask-block {
  gap: var(--gap);
}

#navprofiles {
  position: relative;
  z-index: var(--zindex-dropdown);
}

.pun-title__container .multiacc-profilemenu {
  display: none;
  position: absolute;
  left: -100%;
  margin-left: -12px;
  top: -9px;
  background: var(--container-bg-color);
  list-style: none;
  text-align: left;
  color: var(--text-color);
  padding: 5px 0;
  border: 1px solid var(--border-color);
  width: calc(100% + 15px);
}
.pun-title__container .multiacc-profilemenu.open {
  display: block;
}
.pun-title__container .multiacc-profilemenu li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  gap: var(--gap);
  width: 100%;
  transition: 0.5s;
}
.pun-title__container .multiacc-profilemenu li:first-child {
  font-weight: 700;
  background: var(--primary-color);
}
.pun-title__container .multiacc-profilemenu li:hover {
  background: var(--secondary-color);
}
.pun-title__container .multiacc-profilemenu li a {
  display: block;
  flex-grow: 1;
  text-align: left;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}
.pun-title__container .multiacc-profilemenu a.multiacc-active {
  color: var(--link-color--hover);
}
.pun-title__container .multiacc-profilemenu .multiacc-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0;
  position: relative;
  transition: 0.5s;
}
.pun-title__container .multiacc-profilemenu .multiacc-delete-btn:hover {
  color: color-mix(in srgb, var(--text-color), red);
  opacity: 0.7;
}
.pun-title__container .multiacc-profilemenu .multiacc-delete-btn:before {
  content: "\f00d";
  font-size: 16px;
  font-family: "Font Awesome 7 Pro";
  font-weight: 100;
}

.multiacc-dialog {
  z-index: var(--zindex-modal);
  padding: 10px;
  background: var(--container-bg-color) !important;
  color: var(--text-color);
  border-color: var(--border-color);
  border-radius: 0;
}
.multiacc-dialog div {
  display: flex;
  justify-content: center;
}
.multiacc-dialog div:not(.multiacc-dialog div:last-child) {
  flex-direction: column;
}
.multiacc-dialog form {
  border: 0;
  padding: 0 15px;
}
.multiacc-dialog input {
  border-color: var(--border-color);
}
.multiacc-dialog label {
  padding: 10px 0;
  font-weight: bold;
}
.multiacc-dialog .multiacc-buttons-container {
  margin-top: 25px;
}
.multiacc-dialog .multiacc-buttons-container button {
  cursor: pointer;
  color: var(--text-color);
}

.post-content .join-room p {
  padding: 0;
  margin: 0;
}

.join-room {
  cursor: pointer;
  text-align: center;
  font-size: 0.75em;
  background: var(--secondary-color);
  border: 1px solid var(--muted-container-bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color-70);
  transition: 0.5s;
  line-height: 115%;
  font-family: "Cormorant Garamond", serif;
}

.join-room:hover {
  background: var(--secondary-color-70);
}

/* appearance list */
.isguest .appearance-template {
  display: none;
}

.appearance-list table {
  margin-top: -2em !important;
}

.appearance-list thead tr th {
  font-weight: bold;
}

.appearance-template .appearance-template__container > * {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap);
  padding-bottom: 1em !important;
  border-bottom: 1px solid var(--border-color);
}

.appearance-template__container input {
  flex: 1 1 auto;
}

.appearance-template button {
  color: var(--link-color);
  margin-right: 2px;
}

@media (max-width: 768px) {
  .appearance-template .appearance-template__container > * {
    flex-wrap: wrap;
  }
}
.modal {
  --modal-background: var(--body-bg-color);
  --modal-color: var(--text-color);
  --modal-btn-background: var(--secondary-color);
  --modal-btn-primary-background: var(--accent-color);
  --modal-btn-color: var(--text-color);
  --modal-btn-primary-color: var(--link-color);
}

.modal .btn:hover {
  --modal-btn-background: var(--secondary-color-70) !important;
}

.modal .btn.btn-primary:hover {
  --modal-btn-primary-background: var(--primary-color) !important;
}

body.modal-open .modal-content {
  left: 50%;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
  #pun {
    width: auto;
    max-width: 100%;
    margin: 12px;
    padding: 0 12px 12px;
  }
  .punbb .container,
  .punbb .main,
  .punbb .section {
    max-width: 100%;
  }
  .punbb h1 span,
  .punbb h2 span,
  .header {
    gap: 10px;
  }
  #pun-title {
    background: none;
    height: 0;
    margin: 25px 0 0;
  }
  #pun-navlinks {
    margin: 0 -12px 12px;
  }
  .pun-title__container {
    margin: 0 -12px -25px;
    flex-wrap: wrap;
    height: auto;
    min-height: 54px;
    gap: 10px;
    padding: 10px 12px;
    flex-direction: column-reverse;
  }
  .pun-title__container:before {
    display: none;
  }
  .navigation-group {
    width: 100%;
  }
  .navigation-menu {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #pun-navlinks .container,
  #pun-qjump .container {
    padding: 10px 12px;
  }
  #pun-crumbs1 p.container,
  #pun-stats .container,
  #pun-ulinks .container,
  #pun-status .container,
  #pun-about .container,
  #pun-crumbs2 {
    padding: 10px 0;
  }
  #pun-navlinks li,
  #pun-ulinks li,
  #pun-ulinks li a {
    display: inline-block;
    padding: 0;
    white-space: normal;
  }
  #pun-navlinks li a,
  #pun-ulinks li a {
    display: inline-block;
    padding: 4px 8px;
  }
  #pun-ulinks {
    margin: 0 -12px;
    max-width: calc(100% + 24px);
  }
  #pun-pagelinks {
    position: static;
    margin: 0 -12px 12px;
    width: auto;
  }
  #pun-pagelinks li a,
  #pun-pagelinks a:link,
  #pun-pagelinks a:hover {
    float: none;
    width: auto;
    margin-left: 0;
    height: auto;
    line-height: 1.3;
    padding: 8px 12px;
  }
  #pun-status span {
    white-space: normal;
  }
  #pun-crumbs1,
  #pun-crumbs2 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .punbb .main table {
    table-layout: auto;
  }
  .category .container > table > tbody,
  .forum .container > table > tbody {
    gap: 8px;
  }
  .category .container > table > tbody > tr,
  .forum .container > table > tbody > tr {
    width: 100%;
  }
  .category .container > table > tbody > tr:last-child:nth-child(odd) {
    flex-direction: column;
  }
  .category .container > table > tbody > tr:last-child:nth-child(odd) .tcl,
  .category .container > table > tbody > tr:last-child:nth-child(odd) .tcr {
    width: 100%;
  }
  .category .container > table > tbody > tr:last-child:nth-child(odd) .tcr {
    text-align: right;
  }
  .punbb .main th,
  .punbb .main td,
  .punbb .main .tcl,
  .punbb .main .tcr {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  #form-buttons td {
    display: inline-block;
    width: 2em;
  }
  #button-sticker {
    height: 1.5em;
  }
  .punbb #tags .container {
    position: relative;
    top: 10px;
    margin-bottom: 15px;
    display: block;
  }
  .punbb #table-area table {
    margin: 0 auto;
  }
  .punbb #table-area td {
    display: initial;
  }
  .punbb .category .tc2,
  .punbb .category .tc3 {
    display: none;
  }
  .forum-description {
    max-height: none;
  }
  .punbb .post {
    padding: 6px 0;
  }
  .punbb .post .container {
    overflow: hidden;
    gap: 10px;
  }
  .punbb .post-body {
    width: 100%;
    margin: 0 2px 2px;
    padding: 10px;
  }
  .punbb .post .post-author {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }
  #profile-left {
    position: static;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 10px;
  }
  .punbb #profile-right {
    width: 100%;
    text-align: center;
  }
  .punbb #viewprofile table {
    table-layout: fixed;
  }
  #viewprofile li {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  #viewprofile li span {
    display: block;
    width: 100%;
    float: none;
    margin: 0;
    padding: 15px 0;
  }
  .punbb #profile-right li strong {
    padding: 0;
  }
  .punbb .post .post-author ul {
    position: static;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: max-content 1fr 1fr;
    grid-template-rows: max-content 1fr max-content;
    grid-template-areas: "avatar author  author" "avatar title   title" "avatar house   house" "avatar posts  posts" "avatar respect  respect" "avatar online online" "avatar ip ip" "character character   character";
    gap: 0 var(--gap);
  }
  #pa-avatar,
  .pa-avatar {
    width: 120px;
    height: 120px;
  }
  .pa-avatar {
    grid-area: avatar;
  }
  .pa-title {
    grid-area: title;
  }
  .pa-author {
    grid-area: author;
    margin: 3px 0;
  }
  .pa-respect,
  .pa-positive {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gap);
  }
  .pa-respect .fld-name,
  .pa-positive .fld-name {
    display: none;
  }
  .pa-respect span,
  .pa-positive span {
    flex: 1 1 auto;
    padding: 0 0.5em;
    display: inline-flex;
    gap: var(--gap);
    justify-content: center;
    align-items: center;
    background-color: var(--container-bg-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 0 1px var(--muted-container-bg-color);
  }
  .pa-respect span:before {
    content: "\f004";
    font-size: 0.75em;
    font-family: "Font Awesome 7 Pro";
    font-weight: 100;
  }
  .pa-posts {
    margin-top: 5px;
    grid-area: posts;
    padding: 0 0.5em;
    display: inline-flex;
    gap: var(--gap);
    justify-content: center;
    align-items: center;
    background-color: var(--container-bg-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 0 1px var(--muted-container-bg-color);
  }
  .pa-posts .fld-name {
    display: none;
  }
  .pa-posts:before {
    content: "\f4b6";
    font-size: 0.75em;
    font-family: "Font Awesome 7 Pro";
    font-weight: 100;
  }
  .pa-fld1 {
    grid-area: character;
  }
  .pa-fld2 {
    grid-area: character;
  }
  .pa-ip {
    grid-area: ip;
    font-size: 10px;
  }
  .pa-ua {
    display: none !important;
    grid-area: ua;
  }
  .punbb li.pa-ua {
    margin: 0;
  }
  .pa-ua .user-agent [class^=ua-icon-]:before {
    width: 0.5em;
    font-size: 1em;
    margin-left: 0.7em;
  }
  .pa-online {
    grid-area: online;
    margin: 10px 0;
  }
  .pa-awards {
    display: none;
  }
  .punbb .post h3 {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .punbb .post-content,
  .punbb .post-content p,
  .punbb .post-content div {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .punbb .post-content img,
  .punbb .post-content iframe,
  .punbb .post-content video {
    max-width: 100%;
    height: auto;
  }
  .punbb .post-content .scrollbox,
  .punbb .post-content table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .punbb .post-links ul {
    flex-wrap: wrap;
    padding: 0 3px 0 3px;
  }
  .punbb .post-links ul a {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .punbb .post-links ul a:before {
    font-size: 24px;
    font-family: "Font Awesome 7 Pro";
    font-weight: 100;
  }
  .punbb .post-links ul .pl-edit a {
    font-size: 0;
  }
  .punbb .post-links ul .pl-edit a:before {
    content: "\f044";
  }
  .punbb .post-links ul .pl-quote a {
    font-size: 0;
  }
  .punbb .post-links ul .pl-quote a:before {
    content: "\e14c";
  }
  .punbb .post-links ul .pl-reports a {
    font-size: 0;
  }
  .punbb .post-links ul .pl-reports a:before {
    content: "\f05e";
  }
  .punbb .post-links ul .pl-delete a {
    font-size: 0;
  }
  .punbb .post-links ul .pl-delete a:before {
    content: "\f1f8";
  }
  #pun-stats li.item1,
  #pun-stats li.item2,
  #pun-stats li.item3,
  #pun-stats li.item4,
  li#onlinelist {
    float: none;
    clear: none;
    width: 100%;
    text-align: left;
  }
  #pun-qjump {
    width: 100%;
    float: none;
  }
  #pun-about .container {
    text-align: left;
  }
  #pun-about p span {
    padding-left: 0;
  }
  .library {
    display: block;
    min-height: 0;
  }
  .library .menu,
  .library .content {
    width: 100%;
    flex: none;
  }
  .library .menu {
    margin-bottom: 10px;
  }
  .left-column,
  .right-column {
    width: 100%;
    float: none;
    margin: 0 0 10px 0;
  }
  .custom_tag_float[direction=right],
  .custom_tag_float[direction=left] {
    float: none;
    margin: 0 0 10px 0;
  }
  input,
  select,
  textarea,
  button,
  input[type=text],
  input[type=submit],
  input[type=reset],
  input[type=button] {
    max-width: 100%;
  }
  textarea {
    min-height: 120px;
  }
  .category #forum_f8 {
    flex-direction: column;
  }
  .category #forum_f8 .tcr,
  .category #forum_f8 .tcl {
    width: 100%;
  }
  .category #forum_f8 .tcr {
    text-align: center;
    align-items: center;
  }
  .category #forum_f8 .subforums {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 0;
    white-space: nowrap;
  }
  .category #forum_f8 .subforums > :not(a) {
    display: none;
  }
  .category #forum_f8 .subforums a {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 0;
  }
  .category #forum_f8 .subforums a:before {
    font-size: 20px;
  }
  .go-up,
  .go-down {
    display: none;
  }
  #pun-viewforum .forum .container > table > tbody > tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "subject subject" "author author";
  }
  #pun-viewforum .forum .container > table > tbody > tr td {
    width: 100%;
    padding: 10px;
  }
  #pun-viewforum .forum .container > table > tbody > tr .tcl {
    grid-area: subject;
  }
  #pun-viewforum .forum .container > table > tbody > tr .tc2 {
    display: none;
    grid-area: answers;
    width: 100%;
  }
  #pun-viewforum .forum .container > table > tbody > tr .tc3 {
    display: none;
    grid-area: views;
  }
  #pun-viewforum .forum .container > table > tbody > tr .tcr {
    grid-area: author;
  }
  #pun-searchtopics .forum .container > table > tbody > tr {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    grid-template-areas: "subject subject" "forum answers" "author author";
    border-bottom: 1px solid var(--border-color);
  }
  #pun-searchtopics .forum .container > table > tbody > tr td {
    width: 100%;
    padding: 10px;
  }
  #pun-searchtopics .forum .container > table > tbody > tr .tcl {
    grid-area: subject;
  }
  #pun-searchtopics .forum .container > table > tbody > tr .tc2 {
    grid-area: forum;
    width: 100%;
  }
  #pun-searchtopics .forum .container > table > tbody > tr .tc3 {
    grid-area: answers;
    width: 100%;
  }
  #pun-searchtopics .forum .container > table > tbody > tr .tcr {
    grid-area: author;
  }
  .punbb #profile .container {
    padding: 0;
  }
  .punbb #profile #profilenav {
    float: none;
    width: 100%;
    margin-left: 0;
    display: block;
  }
  .punbb #profile #profilenav ul {
    padding: 15px 0;
  }
  .punbb .main #messages .tcr,
  .punbb .main #messages .tc1,
  .punbb .main #messages .tc2,
  .punbb .main #messages .tc3,
  .punbb .main #messages .tcl {
    width: 100%;
    padding: 15px 10px;
  }
  .punbb .main #messages .pmtcl1,
  .punbb .main #messages .pmtc33,
  .punbb .main #messages .pmtc24,
  .punbb .main #messages .pmtc22 {
    width: 100% !important;
  }
  .punbb .main #messages thead .tcr,
  .punbb .main #messages thead .tc1,
  .punbb .main #messages thead .tc2,
  .punbb .main #messages thead .tc3,
  .punbb .main #messages thead .tcl {
    padding: 10px 0;
  }
  .punbb .main #messages table .hasicon tr {
    background-color: var(--container-bg-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
  }
  .punbb .main #messages table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "subject subject" "author author" "date delete";
  }
  .punbb .main #messages table tr .pmtcl1 {
    grid-area: subject;
    text-align: left;
  }
  .punbb .main #messages table tr .pmtc22 {
    grid-area: author;
    text-align: left;
  }
  .punbb .main #messages table tr .pmtc33 {
    grid-area: date;
    text-align: left;
  }
  .punbb .main #messages table tr .pmtc24 {
    grid-area: delete;
    padding: 15px 10px !important;
    display: flex;
    justify-content: flex-end;
  }
  #pun-online.punbb th.tcl {
    width: 100% !important;
  }
  #pun-online.punbb .tcl.action {
    width: 100% !important;
  }
  #pun-online.punbb .tc3 {
    padding: 10px;
  }
  #pun-userlist.punbb .main table .tcl,
  #pun-userlist.punbb .main table .tc2,
  #pun-userlist.punbb .main table .tc3.registered,
  #pun-userlist.punbb .main table th,
  #pun-userlist.punbb .main table td {
    width: 100%;
    padding: 5px 10px;
  }
  #pun-userlist.punbb .main table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "username username" "title title" "posts relation" "registered lastVisit";
    margin-bottom: 10px;
    text-align: center;
  }
  #pun-userlist.punbb .main table .username {
    grid-area: username;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #pun-userlist.punbb .main table .user_title,
  #pun-userlist.punbb .main table .title {
    grid-area: title;
    text-align: center;
    padding: 0 10px;
  }
  #pun-userlist.punbb .main table .relation {
    grid-area: relation;
  }
  #pun-userlist.punbb .main table .posts {
    grid-area: posts;
  }
  #pun-userlist.punbb .main table .registered {
    grid-area: registered;
  }
  #pun-userlist.punbb .main table .last_visit {
    grid-area: lastVisit;
  }
  #pun-userlist.punbb .main table tbody tr {
    background-color: var(--container-bg-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 0 1px var(--muted-container-bg-color), 0 0 0 2px var(--secondary-color-70);
  }
  #pun-respect .main table .tcl,
  #pun-respect .main table .tc2,
  #pun-respect .main table .tc3,
  #pun-respect .main table .tcr,
  #pun-respect .main table th,
  #pun-respect .main table td {
    width: 100% !important;
    padding: 5px 10px;
  }
  #pun-respect .main table tr {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    grid-template-areas: "who who" "when what" "for_what for_what" "topic topic";
  }
  #pun-respect .main table tr .tcl {
    grid-area: when;
  }
  #pun-respect .main table tr .tc2 {
    grid-area: what;
    text-align: center;
  }
  #pun-respect .main table tr .tc3 {
    grid-area: who;
  }
  #pun-respect .main table tr .tc4 {
    grid-area: for_what;
  }
  #pun-respect .main table tr .tcr {
    grid-area: topic;
  }
  #pun-respect .main table tbody tr {
    border-bottom: 1px solid var(--border-color);
  }
}
@media (max-width: 450px) {
  .forum-description-links {
    flex-wrap: wrap;
  }
}

/*# sourceMappingURL=style.css.map */
