@import url(https://forumstatic.ru/files/001c/52/c6/73890.css); /* */
@import url(style_cs.1759056953.css);

/*******************************************************
 
*******************************************************/
@import url('https://forumstatic.ru/files/001b/df/32/99049.css'); /*Font Awesome ver 6.5.1*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap'); /*Spectral and IBM Plex Sans*/

@font-face {
  font-family: 'Lighthaus';
  src: url('https://forumstatic.ru/files/001b/f5/7a/99597.eot'),
    url('https://forumstatic.ru/files/001b/f5/7a/53272.woff2') format('woff2'),
    url('https://forumstatic.ru/files/001b/f5/7a/80298.woff') format('woff'),
  url('https://forumstatic.ru/files/001b/f5/7a/84466.ttf') format('truetype'),
  url('https://forumstatic.ru/files/001b/f5/7a/39016.svg') format('svg');
  font-style: normal;
  font-weight: 400;
}

/******************************************************
 
*******************************************************/
:root {
  /**/
  --font-accent: Spectral;
  --font-basic: 'IBM Plex Sans';
  --font-ank: Lighthaus;
  --font-icon: fontawesome;

  /*   */
  --link-light: #9BC4C8;
  --link-light-hover: #65C2CA;
  --link-dark: #344246;
  --link-dark-hover: #205656;
  --text-basic-light: rgba(171, 205, 216, .7);
  --text-basic-dark: rgba(0, 3, 4, .7);
  --opacity-text-7: rgba(0, 3, 4, 0.70);
  --opacity-text-5: rgba(0, 3, 4, 0.50);

  /**/
  --bg-basic-right: linear-gradient(90deg, rgba(201.79, 198.49, 198.49, 0) 0%, rgba(99.79, 98.16, 98.16, 0.10) 100%);
  --bg-basic-left: linear-gradient(90deg, rgba(99.79, 98.16, 98.16, 0.10) 67%, rgba(201.79, 198.49, 198.49, 0) 100%);
  --bg-green-left: linear-gradient(90deg, rgba(7, 109, 109, 0.15) 0%, rgba(201.79, 198.49, 198.49, 0) 100%);
  --bg-red-right: linear-gradient(90deg, rgba(201.79, 198.49, 198.49, 0) 0%, rgba(109, 7, 7, 0.15) 100%);
  --bg-red-left: linear-gradient(90deg, rgba(109, 7, 7, 0.15) 0%, rgba(201.79, 198.49, 198.49, 0) 100%);
  --bg-turquoise-left: linear-gradient(90deg, rgba(201.79, 198.49, 198.49, 0) 0%, rgba(6, 153, 153, 0.15) 100%);
  --bg-turquoise-right: linear-gradient(90deg, rgba(6, 153, 153, 0.15) 0%, rgba(201.79, 198.49, 198.49, 0) 100%);
  --bg-darkgreen-left: linear-gradient(90deg, rgba(201.79, 198.49, 198.49, 0) 0%, rgba(6.59, 108.87, 108.87, 0.15) 100%);
  --bg-closed-left: linear-gradient(90deg, rgba(201.79, 198.49, 198.49, 0) 0%, rgba(17, 53, 53, 0.15) 100%);
  --bg-poll-left: linear-gradient(90deg, rgba(201.79, 198.49, 198.49, 0) 0%, rgb(6 153 100 / 15%) 100%);

  /* */
  --bg-basic: #000304;
  --bg-panel: #020F0F;

  /*  */
  --accent: #069999;               /*     */
  --glow: 40%;                     /*   */
  --pulse-dur: 3.2s;               /*   */
}

/* */
#forum_f8,
#forum_f6 {
  display: none;
}


/* */
.futuristic-panel .category > .container {
  display: grid;
  gap: 20px;
  grid-template-columns: 74% 24%;
}

.futuristic-panel .category tr {
  margin-right: 0;
}

.futuristic-panel .category-6 > .container {
  margin-right: 35px;
}

.category-6 table {
  grid-column: 1 / -1;
}

.right-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 20px;
}

.access-panel,
.scanresult-panel,
.entity-panel,
.arcane-frequency,
.spell-signature,
.impulse-activity,
.parasitic-mana,
.seer-protocol {
  background: var(--bg-panel);
  border: 1px solid #2D3D3D;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.access-panel::before,
.scanresult-panel::before,
.entity-panel::before,
.seer-protocol::before {
  content: '';
  background: url(https://forumstatic.ru/files/001c/52/c6/56722.png) no-repeat top left / contain;
  width: 34px;
  height: 100%;
  position: absolute;
  top: -0.8px;
  right: -34px;
}

.access-panel {
  padding: 32px 9px;
}

.access-panel__voice {
  height: 84px;
  overflow: hidden;
  border: 1px rgba(200, 255, 255, 0.20) solid;
  box-shadow: 0 0 8px 0 rgba(0, 255, 255, 0.20), inset 0 0 19px 0 rgba(0, 255, 255, 0.35);
  margin-bottom: 15px;
}

.access-panel__gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}

.access-panel__key {
  color: rgba(77.04, 179.24, 169.35, 0.60);
  display: flex;
  flex-wrap: wrap;
  gap: 13px 5px;
  margin-bottom: 20px;
  justify-content: space-between;
}

.panel-key__item {
  width: 53px;
  padding: 4px 0;
  background: #101516;
  box-shadow: -1px 0px 8px rgba(0, 255, 255, 0.20), inset 0 0 13px 0 rgba(0, 255, 255, 0.35);
  border-radius: 5px;
  border: 1px rgba(200, 255, 255, 0.20) solid;
  display: flex;
  justify-content: center;
  align-items: center;
}

.access-panel__scaning {
  display: flex;
  justify-content: center;
}

.scanresult-panel {
  padding: 25px 9px 25px;
  gap: 20px;
  color: var(--text-basic-light);
}

.scanresult-panel__title,
.entity-panel__title,
.arcane-frequency__title,
.spell-signature__title,
.impulse-activity__title,
.parasitic-mana__title,
.seer-protocol__title {
  text-transform: uppercase;
  font-size: 16px;
}

.scanresult-panel__img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border: 1px rgba(200, 255, 255, 0.20) solid;
  box-shadow: 0px 0px 8px rgba(0, 255, 255, 0.20), inset 0 0 13px 0 rgba(0, 255, 255, 0.35);
}

.scanresult-panel__characteristics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.characteristics__item {
  display: flex;
  gap: 10px;
}

.characteristics__title {
  font-size: 10px;
  flex-basis: 12%;
}

.characteristics__chart {
  background: url(https://forumstatic.ru/files/001c/52/c6/55948.svg) no-repeat left, url(https://forumstatic.ru/files/001c/52/c6/53555.svg) no-repeat right, url(https://forumstatic.ru/files/001c/52/c6/67692.svg);
  flex-basis: 100%;
  height: 10px;
  position: relative;
  padding: 3px 4px 3px;
}

.characteristics__load {
  background: #49AAAA;
  height: 100%;
  margin-top: 0.15px;
  opacity: .5;
}

.load-str {
  width: 40%;
}

.load-dex {
  width: 100%;
}

.load-con {
  width: 17%;
}

.load-int {
  width: 56%;
}

.load-wis {
  width: 32%;
}

.load-cha {
  width: 68%;
}

.entity-panel {
  padding: 35px 9px;
  gap: 30px;
  color: var(--text-basic-light);
}

.panel-health__title {
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.panel-health__chart {
  background: url(https://forumstatic.ru/files/001c/52/c6/69320.svg) no-repeat left, url(https://forumstatic.ru/files/001c/52/c6/90865.svg) no-repeat right, url(https://forumstatic.ru/files/001c/52/c6/40722.svg);
  width: 100%;
  height: 19px;
  margin-bottom: 5px;
  padding: 3px 4px 3px;
}

.panel-health__load {
  background: #49AAAA;
  height: 100%;
  margin-top: 0.15px;
  opacity: .5;
  width: 73%;
}

.panel-health__percent {
  font-size: 10px;
}

.entity-panel__img {
  width: 159px;
  border-radius: 96.5px;
  border: 1px rgba(200, 255, 255, 0.20) solid;
  box-shadow: 0px 0px 8px rgba(0, 255, 255, 0.20), inset 0 0 13px 0 rgba(0, 255, 255, 0.35);
  margin: 0 auto;
}

.entity-panel__information,
.arcane-frequency__information,
.spell-signature__information,
.parasitic-mana__information,
.seer-protocol__information {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 10px;
  text-transform: uppercase;
}

.entity-panel__chart {
  display: flex;
  justify-content: space-between;
}

.panel-chart__percent {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  position: relative;
  width: 51px;
  height: 51px;
  color: rgba(212, 210, 204, .4);
}

.percent60 {
  background: url(https://forumstatic.ru/files/001c/52/c6/40870.svg) no-repeat;
}

.percent75 {
  background: url(https://forumstatic.ru/files/001c/52/c6/77525.svg) no-repeat;
}

.percent30 {
  background: url(https://forumstatic.ru/files/001c/52/c6/85015.svg) no-repeat;
}

.arcane-frequency,
.spell-signature {
  padding: 17px 9px;
  color: var(--text-basic-light);
  gap: 17px;
}

.mana-flux__title {
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 5px;
}

.mana-flux__chart {
  position: relative;
  max-width: 190px;
}

.mana-flux__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 1px rgba(200, 255, 255, 0.20) solid;
  box-shadow: 0px 0px 8px rgba(0, 255, 255, 0.20), inset 0 0 13px 0 rgba(0, 255, 255, 0.35);
}

.mana-flux__descr {
  text-transform: uppercase;
  font-size: 10px;
  position: absolute;
  width: 193px;
  height: 158px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  color: var(--link);
  text-shadow: 0 0 4px #65C2CA;
}

.spell-signature__img,
.seer-protocol__img {
  border: 1px rgba(200, 255, 255, 0.20) solid;
  box-shadow: 0px 0px 8px rgba(0, 255, 255, 0.20), inset 0 0 13px 0 rgba(0, 255, 255, 0.35);
}

.impulse-activity {
  gap: 26px;
  color: var(--text-basic-light);
  padding: 30px 9px 26px;
}

.parasitic-mana {
  padding: 24px 9px;
  gap: 20px;
  color: var(--text-basic-light);
}

.parasitic-mana__img {
  opacity: .7
  border: 1px rgba(200, 255, 255, 0.20) solid;
  box-shadow: 0px 0px 8px rgba(0, 255, 255, 0.20), inset 0 0 13px 0 rgba(0, 255, 255, 0.35);
}

.seer-protocol {
  padding: 16px 9px;
  gap: 10px;
  color: var(--text-basic-light);
}

.seer-protocol__quote {
  font-size: 10px;
  text-align: right;
  padding-left: 10px;
}

.arcane-frequency::before,
.spell-signature::before,
.impulse-activity::before, 
.parasitic-mana::before {
  content: '';
  background: url(https://forumstatic.ru/files/001c/52/c6/93217.png) no-repeat center;
  position: absolute;
  width: 34px;
  height: 70%;
  right: -34px;
  top: 69px;
}

.impulse-activity::before, 
.parasitic-mana::before {
  height: 60%;
}

.arcane-frequency::after,
.spell-signature::after,
.impulse-activity::after, 
.parasitic-mana::after {
  content: '';
  position: absolute;
  background: url(https://forumstatic.ru/files/001c/52/c6/58456.png) no-repeat top left, url(https://forumstatic.ru/files/001c/52/c6/22317.png) no-repeat bottom left;
  width: 31px;
  height: calc(100% + 2px);
  top: -1px;
  right: -31px;
}

/* */
.searchtopics-active__container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-height: 300px;
  overflow: hidden;
}

.topics-active__item {
  border-radius: 5px;
  border: 1px rgba(52, 66, 70, 0.37) solid;
  padding: 5px 15px;
}

.topics-active__title {
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-accent);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topics-active__subtitle {
  font-size: 10px;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
  text-transform: uppercase;
}

.topics-active__descr {
  font-size: 10px;
  font-family: IBM Plex Sans;
  font-style: italic;
  font-weight: 300;
  text-transform: lowercase;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 4px;
}

.topics-active__switch {
  background: #9C9C9C;
  width: 40px;
  height: 11px;
  border: 1px solid var(--link-dark);
  border-radius: 21px;
  padding: 3px;
  display: flex;
  align-items: center;
  transition: all 0.8s ease;
}

.topics-active__circl {
  width: 7px;
  height: 7px;
  border-radius: 20px;
  border: 1px solid var(--link-dark);
  transition: transform 0.4s ease, background 0.4s ease;
  transform: translateX(26px);
}

.topics-active__item:hover .topics-active__switch {
  background: #0C3433;
}

.topics-active__item:hover .topics-active__circl {
  background: rgba(0, 255, 255, .50);
  transform: translateX(0);
}

/*   */
.removeprofile .post-body {
  grid-column: 1 / -1;
}

.removeprofile .post-author,
.removeprofile .pl-email,
.removeprofile .pl-website, 
.removeprofile .about-pers, 
.removeprofile .post-sig {
  display:none!important;
}

.post.removeprofile h3{
  display:none;
}

/* */
.custom_tag_tabtext {
  display: none;
}

.custom_tag_tabtext.active {
  display: block;
}

.synopsis {
  width: 75%;
  margin: 0 auto;
}

.synopsis__head {
  width: 70%;
  margin: 0 auto 25px;
  text-align: end;
}

.synopsis__head-top {
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.synopsis__head-title {
  font-family: var(--font-accent);
  font-size: 20px;
  text-align: end;
  text-transform: uppercase;
}

.synopsis__head-raiting {
  font-size: 16px;
  font-family: var(--font-accent);
  font-style: italic;
}

.synopsis__item,
.guide-to-magic__item {
  display: flex;
  gap: 20px;
}

.synopsis__item-text,
.guide-to-magic__item-text {
  padding-right: 20px;
  border-right: 1px solid rgba(8, 14, 14, .8);
}

.briefly-left .synopsis__item-text,
.briefly-left .guide-to-magic__item-text {
  padding-left: 20px;
  border-left: 1px solid rgba(8, 14, 14, .8);
  padding-right: 0;
  border-right: 0;
}

.synopsis__item-briefly,
.guide-to-magic__item-briefly {
  margin-top: 40px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-accent);
  line-height: 140%;
  width: 30%;
}

.briefly-left .synopsis__item-briefly {
  text-align: end;
}

.synopsis__item:not(:last-child),
.guide-to-magic__item:not(:last-child) {
  margin-bottom: 40px;
}

.guide-to-magic__item {
  width: 75%;
  margin: 0 auto;
}

.guide-to-magic__item.guide-to-magic__table {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.guide-to-magic__table-item {
  width: 50%;
}

.guide-to-magic__table-title {
  padding: 5px 10px 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(2, 15, 15, 0.30);
}

.table-title__yes {
  background: var(--bg-green-left);
}

.table-title__no {
  background: var(--bg-red-right);
}

.tabs-container.magic-guide {
  display: flex;
  gap: 20px;
}

.tabs-container.magic-guide:not(:last-child) {
  margin-bottom: 40px;
}

.magic-guide .tabs-header {
  margin-left: -35px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.magic-guide .custom_tag_tabtitle {
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
  padding: 4px 20px;
  color: var(--link-dark);
  cursor: pointer;
  background: var(--bg-basic-right);
  line-height: 140%;
  transition: all 0.8s ease;
  min-width: 238px;
}

.custom_tag_tabtitle.active {
  background: var(--bg-darkgreen-left);
}

.custom_tag_tabtitle:hover {
  background: var(--bg-turquoise-left);
}

.custom_tag_questionaryheader {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.custom_tag_questionaryheader::before {
  content: '';
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.77) 0%, rgba(0, 0, 0, 0.77) 100%), url(https://forumstatic.ru/files/001c/52/c6/84184.png) no-repeat top center;
  position: absolute;
  top: 0;
  left: -36px;
  width: calc(100% + 36px);
  height: 138px;
  z-index: -1;
}

.custom_tag_questionaryname {
  font-family: var(--font-ank);
  font-size: 30px;
  padding-top: 15px;
  text-transform: uppercase;
  color: var(--text-basic-light);
}

.custom_tag_questionarysubname {
  color: var(--text-basic-light);
}

.custom_tag_questionaryheader img.postimg {
  margin: 20px 20px 5px 20px;
}

.custom_tag_questionarycontainer:not(:last-child) {
  margin-bottom: 15px;
}

.custom_tag_questionarytext {
  background: var(--bg-basic-right);
  padding: 15px 15px 0;
}

.custom_tag_questionarycontainertitle {
  border-bottom: 1px solid rgba(2, 15, 15, .3);
  font-size: 16px;
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 140%;
  text-shadow: 3px 2px 4px rgba(0, 0, 0, 0.63);
  height: 13px;
  overflow: hidden;
  padding: 0 5px;
}

.post-content .custom_tag_questionarycontainertitle p {
  opacity: .3;
  text-align: end;
  padding: 0;
}

.custom_tag_questionaryplayercontainer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.custom_tag_questionaryplayeritem {
  width: 30%;
}

.custom_tag_questionaryitemtitle p {
  border-bottom: 1px solid rgba(2, 15, 15, .3);
  font-size: 16px;
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 140%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.busy-appearances__head-block {
  background: url(https://forumstatic.ru/files/001c/52/c6/41284.png) no-repeat center center / cover;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25), -4px 0 4px rgba(0, 0, 0, .08), 4px 0 4px rgba(0, 0, 0, .08);
  position: relative;
  border-bottom: 2px solid #080E0E;
  border-top: 2px solid #080E0E;
  color: var(--text-basic-light);
  text-align: center;
  text-transform: uppercase;
  padding: 25px 10px 20px;
}

.busy-appearances__title {
  font-size: 24px;
  font-family: var(--font-accent);
}

.busy-appearances__subtitle {
  font-size: 10px;
  margin-top: 6px;
  line-height: 140%;
}

.busy-appearances__subhead-block {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 12px;
}

.busy-appearances__h4 {
  text-transform: uppercase;
  color: var(--text-basic-light);
  font-size: 12px;
  flex-basis: 100%;
  display: flex;
  align-items: center;
}

.female-appearance__h4 {
  padding: 19px 50px 3px 0;
  justify-content: flex-end;
  background: url(https://forumstatic.ru/files/001c/52/c6/48192.png) no-repeat  center / cover;
}

.male-appearance__h4 {
  padding: 19px 0 3px 50px;
  background: url(https://forumstatic.ru/files/001c/52/c6/40894.png) no-repeat  center / cover;
}

.busy-appearances .busy-appearances__list-title p {
  text-align: center;
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 20px;
}

.busy-appearances__list {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.busy-appearances__item {
  flex-basis: 100%;
}

.busy-appearances__list .busy-appearances__item-left p {
  text-align: end;
}

.busy-appearances__head-block::before,
.busy-appearances__head-block::after {
  content: '';
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
}

.busy-appearances__head-block::before {
  top: -5px;
  background: url(https://forumstatic.ru/files/001c/68/5a/47195.png) no-repeat left, url(https://forumstatic.ru/files/001c/68/5a/39414.png) no-repeat right;
}

.busy-appearances__head-block::after {
    bottom: -5px;
    background: url(https://forumstatic.ru/files/001c/68/5a/71790.png) no-repeat left, url(https://forumstatic.ru/files/001c/68/5a/71345.png) no-repeat right;
}

.organization-descr_list:not(:last-child) {
  margin-bottom: 20px;
}

.organization-descr_h3 {
  text-transform: uppercase;
  font-family: var(--font-accent);
  padding: 6px 10px 5px;
  border-bottom: 1px solid rgba(2, 15, 15, 0.30);
  margin-bottom: 10px;
  font-weight: 600;
}

.organization-descr_h3.possible {
  background: var(--bg-green-left);
}

.organization-descr_h3.forbidden {
  background: var(--bg-red-left);
}

.organization-descr_h3.peculiarities {
  background: var(--bg-turquoise-right);
}

.guide-to-magic .organization-descr_list ul {
  list-style: none !important;
  padding: 0;
}

.guide-to-magic .organization-descr_list li {
  margin-bottom: 10px;
}

.organization-descr_list ul p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-content .custom_tag_questionaryname p,
.post-content .custom_tag_questionarysubname p,
.busy-appearances__title p, 
.busy-appearances__subtitle p, 
.custom_tag_questionaryplayeritem .custom_tag_questionaryitemtitle p,
.guide-to-magic__table-item .guide-to-magic__table-title p,
.post-content .custom_tag_tabtitle p,
.post-content .organization-descr_h3 p {
  padding: 0;
}

/**/
#html-footer > .container {
  height: 322px;
}

.footer-box {
  display: flex;
  margin-right: 35px;
  justify-content: space-between;
}

.footer-box__emblem {
  flex-basis: 70%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 28px;
}

.emblem-img {
  mix-blend-mode: luminosity;
}

.footer-box__info {
  display: flex;
}

.footer-box__decorate {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.footer-decorate__top {
  position: relative;
  z-index: 1;
  right: -1px;
}

.footer-decorate__crystal {
  position: absolute;
  top: 67px;
  right: -4px;
}

.footer-decorate__bottom {
  position: absolute;
  bottom: -2px;
}

.footer-decorate__bottom::before {
  content: '';
  background: url(https://forumstatic.ru/files/001c/52/c6/94443.png) no-repeat;
  width: 119px;
  height: 99px;
  position: absolute;
  top: -51px;
  right: 0;
}

.footer-box__container {
  background: url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 8px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 394px), var(--bg-panel);
  border: 1px solid #2D3D3D;
  border-left: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.footer-box__container::before {
  content: '';
  background: url(https://forumstatic.ru/files/001c/52/c6/64237.png) no-repeat;
  width: 58px;
  height: 172px;
  position: absolute;
  right: -59px;
}

.footer-box__container::after {
  content: '';
  background: url(https://forumstatic.ru/files/001c/52/c6/66423.png) no-repeat;
  width: 64px;
  height: 164px;
  position: absolute;
  right: -27px;
  bottom: 29px;
}

.footer-container__items {
  display: flex;
  padding: 46px 25px 35px 25px;
  justify-content: space-between;
  gap: 23px;
}

.footer-container__needed {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-needed__item {
  aspect-ratio: 1;
  width: 60px;
  border-radius: 50px;
  overflow: hidden;
  border: 2px solid #2C838A;
}

.footer-needed__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.6);
}

.footer-container__date {
  display: flex;
  flex-direction: column;
  color: #2C838A;
  justify-content: flex-end;
  gap: 5px;
  align-items: center;
}

.footer-date__line {
  margin-bottom: 10px;
  width: 1px;
  background: #2C838A;
  height: 100%;
  align-self: center;
  justify-self: center;
}

.footer-container__banners {
  padding: 10px;
  aspect-ratio: 1;
  height: 300px;
  background: url(https://forumstatic.ru/files/001c/52/c6/93433.png) no-repeat bottom left, url(https://forumstatic.ru/files/001c/52/c6/80922.png) no-repeat bottom right, url(https://forumstatic.ru/files/001c/52/c6/30874.png) no-repeat top left, url(https://forumstatic.ru/files/001c/52/c6/76423.png) no-repeat top right;
}

.banners-box {
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 3px;
  height: 100%;
  padding-right: 6px;
}

.banners-box a {
  opacity: .25;
}

.banners-box a:hover {
  transition: all 0.8s ease;
  opacity: 1;
}

.footer-container__signature {
  text-transform: uppercase;
  color: var(--text-basic-light);
  padding-bottom: 10px;
  position: relative;
}

.footer-container__signature::before {
  content: '';
  background: url(https://forumstatic.ru/files/001c/52/c6/74163.png) no-repeat;
  width: 171px;
  height: 64px;
  position: absolute;
  bottom: -28px;
  left: 20px;
}

.footer-signature__copy {
  font-family: var(--font-accent);
  font-size: 9px;
  font-weight: 600;
  line-height: 140%;
  text-align: center;
}

.footer-signature__copy a {
  color: var(--link-light-hover);
}

.footer-signature__copy-forum {
  text-align: center;
  font-size: 8px;
  line-height: 145%;
}

.footer-signature__copy-forum a {
  color: var(--link-light);
}

/* -*/
.scrollbuttons {
  position: fixed;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: 10000;
}

.go-up, 
.go-down {
  opacity: 0;
  position:absolute;
  z-index:9999;
  cursor:pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s;
  width: 30px;
  height: 30px;
  background: var(--bg-panel);
  border: 1px solid #2D3D3D;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.go-up.show, 
.go-down.show {
  opacity: 1;
}

.go-up {
  right: 10px;
  bottom: 50px;
}

.go-down {
  right: 10px;
  bottom: 10px;
}

/* */
.post[data-user-id="2"] .plash-wrap::before {
  background: linear-gradient(180deg, #060C0C 0%, rgba(6, 12, 12, 0) 50%, #060C0C 100%), url(https://forumstatic.ru/files/001c/52/c6/67420.gif) no-repeat center;
}

/* */
.reveal-modal-bg { 
  position: fixed; 
  height: 100%;
  width: 100%;
  background: #000;
  background: rgba(0,0,0,.8);
  z-index: 9999;
  display: none;
  top: 0;
  left: 0; 
}

.reveal-modal {
  display:none;
  visibility: visible;
  top: 100px;
  left: 50%;
  transform: translateX(-358px);
  position: fixed;
  z-index: 101;
}
	
.reveal-modal .close-reveal-modal {
  font-size: 24px;
  line-height: .5;
  position: absolute;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  top: 8px;
  right: 8px;
  color: var(--link-dark-hover);
  transition: color 0.8s ease;
}

.reveal-modal .close-reveal-modal:hover {
  color: var(--text);  
  transition: color 0.8s ease;
}

#pun-pages .character-container {
  margin: 0 auto;
  padding: 50px 0;
  width: 717px;
}

#character {
  width: 717px;
  height: 630px;
  top: 30px !important;
  z-index: 99999;
}

.character-container {
  position: relative;
}

.character-header {
  display: flex;
  justify-content: flex-end;
  padding: 30px 30px 0 20px;
  gap: 20px;
  background: url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat 8px 8px, url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat 8px calc(100% - 4px), var(--bg-panel);
  border: 1px solid #2D3D3D;
  max-width: 717px;
  position: relative;
  margin-bottom: 42px;
}

.character-header::before {
  content: '';
  position: absolute;
  background: url(https://forumstatic.ru/files/001c/52/c6/22573.png) no-repeat;
  width: 697px;
  height: 43px;
  bottom: -43px;
  right: 0;
}

.character-header__left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-basis: 100%;
  gap: 38px;
  z-index: 1;
}

.character-header__left::before {
  content: '';
  position: absolute;
  background: url(https://forumstatic.ru/files/001c/52/c6/72173.png) no-repeat;
  width: 212px;
  height: 151px;
  top: -43px;
  left: -23px;
  z-index: -1;
}

.character-header__name {
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-basic-light);
}

.character-header__stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.character-header__stats-item {
  flex-basis: 33.33%;
}

.stats-item__title {
  color: var(--text-basic-light);
  font-size: 8px;
  text-transform: uppercase;
  text-align: end;
  margin-bottom: 5px;
}

.stats-item__loader {
  background: url(https://forumstatic.ru/files/001c/52/c6/69320.svg) no-repeat left, url(https://forumstatic.ru/files/001c/52/c6/90865.svg) no-repeat right, url(https://forumstatic.ru/files/001c/52/c6/40722.svg);
  width: 100%;
  height: 19px;
  margin-bottom: 5px;
  padding: 3px 4px 3px;
  position: relative;
}

.stats-loader__color {
  background: #49AAAA;
  height: 100%;
  margin-top: 0.15px;
  opacity: .5;
}

.stats-loader__numbers {
  position: absolute;
  top: 2px;
  left: 50%;
  font-weight: 500;
  color: var(--text-basic-light);
  font-size: 12px;
}

.character-header__left,
.character-header__right {
  position: relative;
}

.character-header__right::before {
  content: '';
  position: absolute;
  background: url(https://forumstatic.ru/files/001c/52/c6/38988.png) no-repeat;
  width: 131px;
  height: 203px;
  top: -20px;
  right: -105px;
}

.character-header__right-img {
  width: 120px;
  height: 120px;
}

.character-images {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.5) grayscale(0.6);
}

.character-achievements {
  background: url(https://forumstatic.ru/files/001c/52/c6/72314.png);
  width: 687px;
  margin: -43px auto -100px;
  padding: 50px 20px 140px;
  box-shadow: 0px 0px 40px 21px rgba(0, 0, 0, 0.12) inset;
  border-radius: 0 0 20px 20px;
}

.character-achievements #tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 15px;
  position: relative;
}

.character-achievements #tabs::before {
  content: '';
  width: 100%;
  position: absolute;
  bottom: -5px;
  height: 2px;
  border-radius: 1px;
  background: #888C8C;
}

.inner-tab-underline {
  position: absolute;
  bottom: -5px;
  height: 2px;
  background: #0C3433;
  border-radius: 2px;
  transition: left 0.5s ease, width 0.5s ease;
  z-index: 0;
  pointer-events: none;
}


.character-achievements #tabs button {
  text-transform: uppercase;
  font-family: var(--font-accent);
  color: var(--link-dark);
}

.tab-content {
  display: none;
  height: 271px;
  overflow: auto;
}

.tab-content.active {
  display: block;
}

.general-container__top {
  display: flex;
  justify-content: space-between;
}

.gifts-item,
.awards-item {
  width: 175px;
}

.general-container__title {
  text-align: right;
  border-bottom: 1px solid rgba(2, 15, 15, .3);
  font-size: 16px;
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 140%;
  text-shadow: 3px 2px 4px rgba(0, 0, 0, 0.63);
  height: 13px;
  overflow: hidden;
  padding: 0 5px;
}

.general-container__title span {
  opacity: .3;
}

.gift-item,
.award-item {
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-basic-right);
  height: 115px;
  overflow: auto;
  gap: 15px;
}

.gift-images,
.award-images {
  width: 40px;
  height: 40px;
  object-fit: cover;
  filter: grayscale(1);
  transition: all 0.8s ease;
}

.loves-container {
  padding-top: 10px;
  padding-right: 5px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  height: 115px;
  overflow-x: hidden;
}

.love-item {
  border-radius: 5px;
  border: 1px rgba(52, 66, 70, 0.37) solid;
  display: flex;
  padding: 5px;
  gap: 10px;
  width: 256px;
}

.love-img {
  width: 33px;
  height: 33px;
}

.love-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-title {
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--link-dark-hover);
  letter-spacing: -0.6px;
}

.love-title del {
  text-decoration: line-through;
  filter: none;
}

.love-name {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 10px;
  margin-top: 2px;
}

.general-container__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.plaque-container {
  padding: 10px 5px 0 0;
  height: 106px;
  overflow-x: hidden;
}

.personal-plash__wrap {
  text-transform: uppercase;
  text-align: center;
  color: #889896;
  padding: 10px 4px 7px;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  background: var(--bg-panel);
  width: 256px;
  height: 43px;
  overflow: hidden;
}

.personal-plash__wrap:not(:last-child) {
  margin-bottom: 10px;
}

.personal-plaque {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .4;
}

.artefacts-container {
  padding: 20px 15px;
  width: 370px;
  display: flex;
  gap: 20px;
  overflow-y: auto;
}

.artefact-item {
  display: flex;
  width: 70px;
  height: 70px;
  border-radius: 5px;
  border: 1px rgba(52, 66, 70, 0.37) solid;
  justify-content: center;
  align-items: center;
}

.character-bottom {
  background: url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat calc(100% - 8px) 8px, url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat calc(100% - 8px) calc(100% - 4px), url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat 8px calc(100% - 4px), var(--bg-panel);
  border: 1px solid #2D3D3D;
  color: var(--text-basic-light);
  display: flex;
  justify-content: space-around;
  padding: 0 32px 20px;
  gap: 75px;
  position: relative;
  z-index: 1;
}

.character-bottom::before {
  content: '';
  position: absolute;
  background: url(https://forumstatic.ru/files/001c/52/c6/49810.png) no-repeat;
  width: 307px;
  height: 32px;
  left: -1px;
  top: -32px;
  z-index: -1;
}

.character-twins {
  text-transform: uppercase;
  margin-top: -10px;
}

.character-twins__title {
  font-family: var(--font-accent);
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 10px;
  font-size: 12px;
}

.twin-link {
  color: var(--link-light);
  font-size: 10px;
}

.twin-link:hover {
  color: var(--link-light-hover);
}

.character-quote {
  position: relative;
  padding-top: 10px;
}

.character-quote__icon {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 50px;
  position: absolute;
  left: -20px;
}

.character-quote__text {
  padding: 20px 0 0 0;
  font-style: italic;
  font-weight: 200;
  text-align: end;
  font-size: 12px;
}

.ingredients-box {
  display: flex;
  gap: 20px;
  position: relative;
}

.ingredients-list input {
  display: none;
}

.ingredients-list .item {
  display: none;
  position: absolute;
  width: 180px;
  right: 0;
  top: 0;
  padding: 10px;
  height: 236px;
  overflow: auto;
}

.ingredients-descr {
  height: 236px;
  border-radius: 5px;
  border: 1px rgba(52, 66, 70, 0.37) solid;
  flex-basis: 42.33%;
}

#ingredients-sagebrush:checked~.sagebrush__descr {
  display: block;
}

/* Extra additions
-------------------------------------------------------------*/

#poll-special table.poll1 {width:auto}


#poll-special td.tar {text-align:right !important}
div.pa-respect span {font-size:0.9em; vertical-align:top}
#pun-status .status-right {float:right;}
.post-content table {border-collapse:collapse; margin:0 0 0.8em}
.post-content .highlight-text {background-color:#ff0; color:#000}
.post-content .spoiler-box > blockquote {padding-top:1.4em; display:none}
.post-content .spoiler-box > blockquote.visible {display:block; overflow:auto}
.post-content hr {opacity:0.5; filter:alpha(opacity=50); margin-bottom:0.8em}
.post-content abbr {cursor:help}
.post-content ul {padding:0 0 1em 2.3em}
.post-content ul li {list-style:inherit; margin-bottom:0.3em}
.post-content ul li ul {padding-bottom:0}
.post-content ul li > p {padding-bottom:0.3em}
.post-content ul li > p:last-of-type {padding-bottom:0}
#color-area, #table-area, #keyboard-area {width:auto}
#keyboard-area {text-align:center; padding-bottom:4px}
#imageup-area {width:170px}
#imageattach-area {width:770px; height:200px; padding:0px !important}
#table-area div {margin-top:1em; text-align:center}
#table-layout {margin-right:0.5em}
#tags .container {position:absolute; right:6px; top:43px; z-index:2;}
#font-area, #size-area {right: unset !important;}
#font-area span, #font-area img, #size-area span, #size-area img {display:block; position:relative; top:0; left:0}
#font-area span, #font-area img {height:15px}
#size-area span, #size-area img {height:24px}
#font-area span, #size-area span {padding:1px 0}
#addition-area div {height:24px; vertical-align:middle}
#font-area img {width:100%; margin-top:-15px}
#size-area img {width:100%; margin-top:-24px}
#keyboard-span {text-align:center; padding-bottom:10px; width:auto}
#imageup-area input {font-size:0.8em}
#imageup-area p {padding:0; margin:0}
#imageup-title {margin-bottom:10px !important}
#imageup-submit {margin-top:10px !important}
#pun-messages #post-form div.container {padding-left:2.3em}
#similar-topics {margin-top:1em}
#similar-topics div.container {padding-top:1.1em}
#similar-topics td {border:0; padding:0}
#similar-topics td.st-tcl {width:60%}
#similar-topics td.st-tc2 {width:25%; padding-right:1em; text-align:right}
#similar-topics td.st-tcr {width:15%; padding-right:1em; text-align:right}
li.pa-ua {margin-top: 0.7em; display: flex; justify-content: center;}
#pun-online .tcl.action {width:25%}
.punbb .post.new-ajax > * {border-width: 3px;}
.punbb .post.new-ajax {display: none;}

#pun-index .isub .tcl {padding-left: 3em !important;}
#pun-main #subforums {padding: 1em 0 1em 1em; margin-bottom: 5px;}

.notify-parent {position: relative;}
.notify-bubble {
    background: lightblue;
    border-radius: 3px;
    color: black;
    font: bolder 12px/1.2 Tahoma;
    margin: 0;
    min-width: 14px;
    padding: 0 1px;
    position: absolute;
    text-align: center;
}

.notify-bubble:after {
    border-color: lightblue transparent;
    border-style: solid;
    border-width: 3px 3px 0;
    content: "";
    display: block;
    left: 5px;
    position: absolute;
    width: 0;
}

/* Statistic */
#pun-statistic .tc3 {width:15%;}
#pun-statistic .tc-username {width:unset;text-align:left;}
#pun-statistic .tc-title {width:25%;text-align:left;}
#pun-statistic .tc-registered {width:20%;}
#pun-statistic .tc-topic {width:50%;}


/* New profile style
-------------------------------------------------------------*/
#viewprofile td {border:0; padding:0; overflow:hidden}
#profile-name strong {font-size:1.2em}
#profile-left strong {font-weight:bold !important}
#profile-left {width:30%; padding-top:0 !important}
#profile-left li,
#profile-left li * {padding-left:0; margin-left:0}
#profile-right {width:70%}
#profile-right li strong {padding-left:2em}
#profile-signature {padding:1.5em 1.5em 1em 1.5em}
#profile-signature ul {border-style:dashed; border-width:1px 0 0 0; margin:0; padding:1em 1em 0 1em}

/** Video-Button
---------------------------------------------------------------*/
#video-host-list {margin-top:.3em; line-height:1.8em}
#video-area-msg, #image-source-list, #image-area-actions, #spoiler-sels {line-height:2em}

p[class="checkfield"] img, div[class="checkfield"] img, fieldset[class="radiofield"] img {height:auto; max-height:50px}
.pa-fld1 img, .pa-fld2 img, .pa-fld3 img, .pa-fld4 img, .pa-fld5 img, .pa-fld6 img, .pa-fld7 img, .pa-fld8 img, .pa-fld9 img, .pa-fld10 img, .pa-fld11 img, .pa-fld12 img, .pa-fld13 img, .pa-fld14 img, .pa-fld15 img, .pa-fld16 img, .pa-fld17 img, .pa-fld18 img, .pa-fld19 img, .pa-fld20 img {vertical-align:text-top}

/** Image-Button
---------------------------------------------------------------*/
#image-area-tcon-computer {margin:0 0 1em}
#image-area-tcon-computer td {border:none !important; padding:0}
#imageupload-left {width:140px}
#imageupload-right {padding-left:9px !important; background:transparent !important; max-width:380px}
#image-area-actions {text-align:right}
* html #imageQueue {height:expression( this.scrollHeight > 65 ? "66px" :"auto" )} /* sets max-height for IE */
* html #uploaded-images {height:expression( this.scrollHeight > 143 ? "144px" :"auto" )}
#imageQueue {max-height:72px; overflow-y:auto; margin-bottom:10px}
#uploaded-images {max-height:144px; overflow-y:auto}
#upload-button-container, #image-width, #image-thumb-width, #image-insert-format, #insert-all-images-container {margin-top:10px}
#insert-image-tip {margin-top:10px}
#upload-button-container img {cursor:pointer; width:120px; height:30px}
#image_upload_input {position:absolute; z-index:-1; left:-9999px}
#selected-image-width, #selected-thumb-width {width:6em}
#upload-button-container input[type=button] {font-weight:bold}
#image-width, #image-thumb-width, #image-insert-format strong {font-size:.9em}
.uploadQueueItem.error {border-color:rgba(255,0,0,0.25); background-color:rgba(255,0,0,0.08)}


/** jQuery plugins
---------------------------------------------------------------*/
.tipsy {padding:5px; font-size:11px; font-family:tahoma,helvetica,verdana,arial; position:absolute; z-index:100000;}
.tipsy-inner {padding:5px 8px 4px; background-color:black; color:white; max-width:200px; text-align:center; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px}
.tipsy-arrow {position:absolute; width:0; height:0; border:solid 5px; border-color:transparent transparent black transparent}
.tipsy-n .tipsy-arrow {top:0; left:50%; margin-left:-5px; border-top:0}
.tipsy-nw .tipsy-arrow {top:0; left:11px !important; border-top:0}
.tipsy-ne .tipsy-arrow {top:0; left:auto !important; right:11px; border-top:0}
.tipsy-s .tipsy-arrow {bottom:0; left:50%; margin-left:-5px; border-color:black transparent transparent transparent; border-bottom:0}
.tipsy-sw .tipsy-arrow {bottom:0; left:11px !important; border-color:black transparent transparent transparent; border-bottom:0}
.tipsy-se .tipsy-arrow {bottom:0; left:auto !important; right:11px; border-color:black transparent transparent transparent; border-bottom:0}
.tipsy-e .tipsy-arrow {top:50%; margin-top:-5px; left:auto !important;right:0; border-color:transparent transparent transparent black; border-right:0}
.tipsy-w .tipsy-arrow {top:50%; margin-top:-5px; left:0 !important; border-color:transparent black transparent transparent; border-left:0}
.jGrowl {z-index:9999; color:#fff; font-size:12px; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; position:fixed}
.jGrowl.top-left {left:0; top:0}
.jGrowl.top-right {right:0; top:0}
.jGrowl.bottom-left {left:0; bottom:0}
.jGrowl.bottom-right {right:0; bottom:0}
.jGrowl.center {top:0; width:50%; left:25%}
.jGrowl.center .jGrowl-closer,.jGrowl.center .jGrowl-notification {margin-left:auto; margin-right:auto}
.jGrowl-notification {background-color:#000; opacity:.9; filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); zoom:1; width:250px; padding:10px; margin:10px; text-align:left; display:none; border-radius:5px; min-height:40px}
.jGrowl-notification .ui-state-highlight,.jGrowl-notification .ui-widget-content .ui-state-highlight,.jGrowl-notification .ui-widget-header .ui-state-highlight {border:1px solid #000; background:#000; color:#fff}
.jGrowl-notification .jGrowl-header {font-weight:700; font-size:.85em}
.jGrowl-notification .jGrowl-close {background-color:transparent; color:inherit; border:none; z-index:99; float:right; font-weight:700; font-size:1em; cursor:pointer}
.jGrowl-closer {background-color:#000; opacity:.9; filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100)); zoom:1; width:250px; padding:10px; margin:10px; display:none; border-radius:5px; padding-top:4px; padding-bottom:4px; cursor:pointer; font-size:.9em; font-weight:700; text-align:center}
.jGrowl-closer .ui-state-highlight,.jGrowl-closer .ui-widget-content .ui-state-highlight,.jGrowl-closer .ui-widget-header .ui-state-highlight {border:1px solid #000; background:#000; color:#fff}
@media print {.jGrowl {display:none}}
.pun-modal {position:fixed; width:100%; height:100%; top:0; left:0; bottom:0; z-index:100000}
.pun-modal .modal-bg {position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.5); cursor:pointer; z-index:110000}
.pun-modal .modal-inner {width:700px; max-width:94%; height:auto; max-height:44em; margin:12% auto 0; box-shadow:0 0 14px rgba(0,0,0,.3); position:relative; z-index:120000; overflow:hidden}
.pun-modal h2,.pun-modal h1 {max-width:700px; margin:0!important}
.pun-modal .container {padding:.6em 1em; max-height:40em; overflow:auto}
.pun-modal .closer {position:absolute; font-size:1.5em!important; line-height:.8em; right:.4em; padding:.3em!important; margin:-.3em!important; cursor:pointer; background:none 0 transparent!important}
.noscroll {overflow:hidden!important}

/** Social icons
---------------------------------------------------------------*/
.social {background-image:url('/i/social.1.png'); background-repeat:no-repeat; float:left; display:block; margin:3px 5px; width:16px; height:16px}
.social-facebook {background-position:0 0}
.social-google {background-position:-26px 0}
.social-mailru {background-position:-52px 0}
.social-odnoklassniki {background-position:-78px 0}
.social-twitter {background-position:-104px 0}
.social-vkontakte {background-position:-130px 0}
.social-yandex {background-position:-156px 0}
.social-youtube {background-position:-182px 0}
.social-instagram {background-position:-312px 0}
.social-linkedin {background-position:-338px 0}
.social-reddit {background-position:-442px 0}
.social-share {background-position:-468px 0}
.social-tumblr {background-position:-546px 0}
.post-share-tip {width:164px; height:124px}
.post-share-legend {background:rgba(255,255,255,0.2); text-align:center}
.post-share-tip span {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; color:#fff; font-size:13px; line-height:27px}
.post-share-icons {padding:10px}
.post-share-tip a {margin: 5px 10px}

/** Avatars
---------------------------------------------------------------*/


.punbb .flag-i {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
  margin-right: 1em;
}
.punbb .pa-author .flag-i {
  margin-right: 0.5em;
}
.punbb .flag-i:before {
  content: '\00a0';
}


@font-face {
  font-family: 'mybb';
  src: url('./res/font/icons.woff2?3') format('woff2'),
       url('./res/font/icons.woff?3') format('woff'),
       url('./res/font/icons.ttf') format('truetype'),
       url('./res/font/icons.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
i[class^="icons-"]:before, i[class*=" icons-"]:before, .i[class*=" icons-"]:before, .i[class^="icons-"] {
  font-family: "mybb";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icons-search:before { content: '\e095'; } /* '' */
.icons-font:before { content: '\e800'; } /* ' ' */
.icons-size:before { content: '\e801'; } /* ' ' */
.icons-video:before { content: '\e802'; } /* ' ' */
.icons-image:before { content: '\e803'; } /* ' ' */
.icons-plus:before { content: '\e804'; } /* ' ' */
.icons-cancel:before { content: '\e805'; } /* ' ' */
.icons-minus:before { content: '\e806'; } /* ' ' */
.icons-star:before { content: '\e807'; } /* ' ' */
.icons-cog:before { content: '\e808'; } /* ' ' */
.icons-play:before { content: '\e809'; } /* ' ' */
.icons-pause:before { content: '\e80a'; } /* ' ' */
.icons-fast-fw:before { content: '\e80b'; } /* ' ' */
.icons-fast-bw:before { content: '\e80c'; } /* ' ' */
.icons-code:before { content: '\e80d'; } /* ' ' */
.icons-table:before { content: '\e80e'; } /* ' ' */
.icons-spoiler:before { content: '\e80f'; } /* ' ' */
.icons-calendar:before { content: '\e810'; } /* ' ' */
.icons-pencil:before { content: '\e811'; } /* ' ' */
.icons-hide:before { content: '\e812'; } /* ' ' */
.icons-list:before { content: '\e813'; } /* ' ' */
.icons-indent-left:before { content: '\e814'; } /* ' ' */
.icons-indent-right:before { content: '\e815'; } /* ' ' */
.icons-trash-empty:before { content: '\e816'; } /* ' ' */
.icons-off:before { content: '\e817'; } /* ' ' */
.icons-heart:before { content: '\e818'; } /* ' ' */
.icons-user:before { content: '\e819'; } /* ' ' */
.icons-left:before { content: '\e81a'; } /* ' ' */
.icons-center:before { content: '\e81b'; } /* ' ' */
.icons-right:before { content: '\e81c'; } /* ' ' */
.icons-italic:before { content: '\e81d'; } /* ' ' */
.icons-bold:before { content: '\e81e'; } /* ' ' */
.icons-comment:before { content: '\e81f'; } /* ' ' */
.icons-resize-full:before { content: '\e820'; } /* '  ' */
.icons-resize-small:before { content: '\e821'; } /* ' ' */
.icons-quote:before { content: '\e822'; } /* ' ' */
.icons-share:before { content: '\e823'; } /* ' ' */
.icons-smile:before { content: '\e824'; } /* ' ' */
.icons-youtube:before { content: '\e825'; } /* ' ' */
.icons-link:before { content: '\e826'; } /* ' ' */
.icons-volume-off:before { content: '\e827'; } /* ' ' */
.icons-volume-down:before { content: '\e828'; } /* ' ' */
.icons-volume:before { content: '\e829'; } /* ' ' */
.icons-volume-up:before { content: '\e82a'; } /* ' ' */
.icons-addition:before { content: '\e82b'; } /* ' ' */
.icons-infinity:before { content: '\e82c'; } /* ' ' */
.icons-facebook:before { content: '\f09a'; } /* '' */
.icons-strike:before { content: '\f0cc'; } /* '' */
.icons-underline:before { content: '\f0cd'; } /* '' */
.icons-mail:before { content: '\f0e0'; } /* ' ' */
.icons-keyboard:before { content: '\f11c'; } /* '' */
.icons-help:before { content: '\f128'; } /* '' */
.icons-vkontakte:before { content: '\f189'; } /* '' */
.icons-color:before { content: '\f1fb'; } /* '' */
.icons-odnoklassniki:before { content: '\f263'; } /* '' */
.icons-vimeo:before { content: '\f27d'; } /* '' */

.icons-cancel-outline:before { content: '\e82d'; } /* ' ' */
.icons-ok-outline:before { content: '\e82e'; } /* ' ' */



/******************************************************
 
*******************************************************/
@media (max-width: 1080px) {
  #pun-ulinks .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-bg {
    width: calc(100% + 20px);
  }

  .header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(167deg, rgba(0, 3, 4, 0) 60%, #000304 100%);
    pointer-events: none;
  }

  .header-navigation {
    left: 0;
  }

  .header-info {
    right: 0;
  }

  .header-navigation::after {
    display: none;
  }

  .header-navigation__pun-links {
    flex-basis: 100%;
    padding: 20px 30px 20px 30px;
  }

  .header-navigation__forum-name {
    top: 75px;
  }

  .header-info::before {
    background: url(https://forumstatic.ru/files/001c/52/c6/81973.png) no-repeat top left;
  }
}

@media (max-width: 1050px) {
  .footer-box__container::before {
    display: none;
  }
}

@media (max-width: 1030px) {
  .right-panel {
    margin-right: 30px;
  }
}

@media (max-width: 986px) {
  .panel-key__item {
    width: 43px;
  }

  .onlinelist div::before {
    width: 100%;
    top: 38px;
  }

  .users_24h div::before {
    top: 38px;
  }
  
 .custom_tag_questionaryplayeritem {
    width: 100%;
 }
}

@media (max-width: 876px) {
  .header-info {
    flex-direction: column;
    height: 140px;
  }

  .navigation-board {
    background: url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat calc(100% - 8px) calc(100% - 18px), url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat calc(100% - 64px) calc(100% - 18px), url(https://forumstatic.ru/files/001c/52/c6/44731.png) no-repeat calc(100% - 463px) calc(100% - 18px), url(https://forumstatic.ru/files/001c/52/c6/54675.png) no-repeat right top / cover;
  }

  .header-info__welcome {
    order: 2;
    flex-basis: auto;
    padding: 20px 0 0 0;
    margin: 0 auto; 
  }

  .header-quest__box::after {
    display: none;
  }

  .header-quest__about {
    text-align: center;
  }

  .punbb {
    margin: -120px auto 0;
    padding-top: 90px;
  }

  .news-container {
    flex-wrap: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    padding: 0 16px 12px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    justify-content: flex-start;
    margin: 25px auto;
    width: calc(100% - 20px);
    scrollbar-width: none;
  }

  .news-wrapper::-webkit-scrollbar {
    display: none;
  }

  .news-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .btn__right-board {
    display: none;
  }

  .onlinelist div, .users_24h div {
    font-size: 9px;
  }

  .custom_tag_questionaryheader img.postimg {
    margin: 20px 0 5px 0;
  }
}

@media (max-width: 835px) {
  #pun-stats {
    grid-template-columns: 1fr;
  }

  .searchtopics-active__container {
    display: none;
  }

  .info-theme {
    padding-left: 10px;
    grid-template-columns: 22% 35% auto;
  }
}

@media (max-width: 824px) {
  .header-navigation__pun-links {
    padding: 20px 40px 20px 0px;
  }
  
  .header-navigation__pun-links a {
    font-family: var(--font-icon);
  }

  #pun-navlinks span {
    font-size: 0;
  }

  #navindex a:before {
    content: '\f015'; 
    font-size: 18px;
  }

  #navuserlist a:before {
    content: '\f0c0'; 
    font-size: 18px;
  }

  #navsearch a:before {
    content: '\f002'; 
    font-size: 18px;
  }

  #navprofile a:before {
    content: '\f2bb'; 
    font-size: 18px;
  }

  #navpm a:before {
    content: '\f0e0'; 
    font-size: 18px;
  }

  #navadmin a:before {
    content: '\f085'; 
    font-size: 18px;
  }

  #navlogout a:before {
    content: '\f2f5'; 
    font-size: 18px;
  }

  #navlogin a:before {
    content: '\f090'; 
    font-size: 18px;
  }

  #navregister a:before {
    content: '\f234'; 
    font-size: 18px;
  }

  .pr-li a:before {
    content: '\f0f3'; 
    font-size: 18px;
  }

  #pun-ulinks .container {
    display: none;
  }

  #pun-ulinks.open .container {
    display: block;
    position: absolute;
    top: 50px;
    right: 3px;
    background: var(--bg-panel);
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 999;
    font-size: 16px;
    line-height: 140%;
  }

  #pun-ulinks .burger {
    display: flex;
    position: absolute;
    top: 18px;
    right: 38px;
  }

  .header-navigation__forum-name {
    top: 55px;
  }

  .close-btn-burger {
    font-size: 32px;
    cursor: pointer;
    color: var(--link-light);
    transition: color 0.8s ease;
    display: block;
    text-align: end;
  }

  .close-btn-burger:hover {
    color: var(--link-light-hover);
  }
}

@media (max-width: 790px) {
  .footer-box {
    justify-content: flex-end;
  }

  .footer-box__emblem {
    display: none;
  }
}

@media (max-width: 770px) {
  .header-info::before {
    display: none;
  }

  .post > .container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .post-author {
    margin-top: 15px;
    padding: 15px;
  }

  .post-author ul {
    grid-template-columns: 180px 1fr 1fr;
    gap: 0 20px;
  }

  .pa-author {
    grid-column: 2 / 4;
    padding: 0 7px 2px;
  }

  .pa-title {
    grid-column: 2 / 4;
    background: linear-gradient(270deg, #092727 0%, #084E55 100%);
    box-shadow: 0px 0px 17px 3px #01535ca6;
    border-radius: 10px;
    padding: 3px 8px 3px 8px;
  }

  .pa-avatar {
    grid-column: 1 / 2;
    grid-row: 1 / 8;
    margin: 0;
  }

  .pa-fld1 {
    grid-column: 2 / 4;
    margin-top: 20px;
  }

  .pa-posts,
  .pa-fld3 {
    grid-column: 2 / 3;
  }

  .pa-respect {
    grid-column: 3 / 4;
    grid-row: 4 / 5;
    justify-self: end;
    padding: 0 15px 0 0;
  }

  .pa-fld4 {
    grid-column: 3 / 4;
    justify-self: end;
    padding: 0 15px 0 0;
  }

  .pa-fld5,
  .pa-ip,
  .pa-fld2 {
    display: none;
  }

  .ind-online {
    width: 19px;
    height: 18px;
    left: -10px;
    top: -9px;
  }

  .indOnline {
    background: url(https://forumstatic.ru/files/001c/52/c6/29475.png) no-repeat;
    width: 19px;
    height: 18px;
    top: 0;
  }

  .ind-online::before {
    display: none;
  }

  .indOffline {
    background: url(https://forumstatic.ru/files/001c/52/c6/29475.png) no-repeat;
    width: 19px;
    height: 18px;
    top: 0;
    filter: grayscale(1);
  }

  .usertable .tc3.relation {
    display: none;
  }

  .custom_tag_questionaryheader::before {
    left: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .forum tr:not(.episode-topic) {
    flex-direction: column;
    border-radius: 0;
    gap: 5px;
  }

  .forum tr:not(.episode-topic) .tclcon {
    margin-right: 35px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(2, 15, 15, 0.10);
  }

  .synopsis__head {
    margin: 0 auto;
  }

  .synopsis__item,
  .guide-to-magic__item {
    gap: 0px;
    flex-direction: column-reverse;
  }

  .guide-to-magic__item.guide-to-magic__table {
    flex-direction: column;
  }

  .synopsis__item-briefly,
  .guide-to-magic__item-briefly {
    margin-top: 20px;
    width: 100%;
  }

  .synopsis__item.briefly-left,
  .guide-to-magic__item.briefly-left {
    flex-direction: column;
  }

  .synopsis__item-text,
  .guide-to-magic__item-text {
    border-top: 1px solid rgba(8, 14, 14, .8);
    border-right: 0;
    padding-right: 0;
    padding-top: 20px;
  }

  .briefly-left .synopsis__item-text,
  .briefly-left .guide-to-magic__item-text {
    border-left: 0;
    padding-left: 0;
  }

  .synopsis__item:not(:last-child),
  .guide-to-magic__item:not(:last-child) {
    margin-bottom: 20px;
  }

  .guide-to-magic__table-item {
    width: 100%;
  }

  .tabs-container.magic-guide {
    flex-direction: column;
  }

  .magic-guide .tabs-header {
    margin-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 660px) {
  .footer-box__decorate {
    display: none;
  }

  .footer-box__container {
    border-left: 1px solid #2D3D3D;
    background: url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 8px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 394px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 445px) calc(100% - 394px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 445px) calc(100% - 8px), var(--bg-panel);
  }

  .post h3 span {
    width: 50%;
  }

  .usertable .tc3.registered {
    display: none;
  }

  #pun-profile #profile > .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  #profilenav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .synopsis__head {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .header-quest__about {
    text-align: start;
    padding-left: 60px;
  }
}

@media (max-width: 627px) {
  .header-navigation__pun-links {
    padding: 20px 40px 70px 0px;
  }

  .header-navigation__pun-links::before,
  .header-navigation__pun-links::after {
    content: '';
  }

  .header-navigation__pun-links::before {
    background: url(https://forumstatic.ru/files/001c/52/c6/79540.png?v=1) no-repeat bottom;
    width: 152px;
    height: 31px;
    position: absolute;
    bottom: -31px;
  }

  .header-navigation__pun-links::after {
    background: url(https://forumstatic.ru/files/001c/52/c6/82132.png?v=1) no-repeat bottom;
    width: 109px;
    height: 31px;
    position: absolute;
    bottom: -31px;
    right: -1px;
  }

  #pun-ulinks.open .container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-content: center;
  }

  .close-btn-burger {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 2000;
  }

  .header-navigation__forum-name {
    right: 50%;
    transform: translate(50%);
    top: 63px;
  }

  .header-info {
    height: 50px;
  }

  .header-info__welcome {
    padding: 40px 10px 0 10px;
  }

  .navigation-board {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow-y: auto;
    background: #0C3433;
    z-index: 1000;
    padding: 15px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  #nav-toggle:checked ~ .navigation-board {
    transform: translateY(0);
    gap: 0;
  }

  .navigation-board-toggle {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #0C3433;
    color: var(--link-light);
    font-weight: bold;
    font-size: 26px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    font-family: var(--font-accent);
    font-style: italic;
  }

  .navigation-board .close-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--link-light);
    cursor: pointer;
    transition: color 0.8s ease;
  }

  .navigation-board .close-btn:hover {
    color: var(--link-light-hover);
  }

  #chfont {
    margin-bottom: 30px;
  }

  #chfontbut {
    width: 100%;
    text-transform: uppercase;
    font-weight: 500;
    cursor: auto;
    background: var(--bg-basic);
    padding: 8px 23px 8px 5px;
    border-radius: 0 5px 5px 0;
    height: auto;
    margin-bottom: 10px;
  }

  #chfontbut::before {
    content: ' ';
  }

  #chfont-settings {
    display: flex;
    background: none;
    box-shadow: none;
    border: none;
  }

  .btn__navigation-link {
    margin-bottom: 30px;
  }

  .spirit-navigation1 {
    width: 100%;
    cursor: auto;
    background: var(--bg-basic);
    padding: 8px 23px 8px 5px;
    border-radius: 0 5px 5px 0;
    height: auto;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500;
  }

  .spirit-navigation1::before {
    content: ' ';
    display: block;
  }

  #navigblock1 {
    display: block !important;
    position: relative;
    z-index: 0;
    top: 0;
  }

  .sslka {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .sslka a {
    font-size: 12px;
    text-align: left;
  }

  .navigation-board__right {
    order: 1;
    font-size: 16px;
    color: var(--text-basic-light);
    margin: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--link-dark-hover);
    width: 97%;
    text-align: center;
  }

  .navigation-board__right::before {
    content: '  :'; 
    display: block; 
    font-size: 10px; 
    margin-bottom: 5px;
  }

  .navigation-board__left {
    order: 2;
    flex-direction: column;
    flex-basis: 100%;
    align-self: baseline;
  }

  .btn__episode-decor,
  .btn__episode-decor.off {
    width: 100%;
    background: var(--bg-basic);
    padding: 8px 23px 8px 5px;
    border-radius: 0 5px 5px 0;
    height: auto;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 140%;
  }

  .btn__episode-decor::before {
    content: '   ';
  }

  .btn__episode-decor.off::before {
    content: '   ';
  }

  .btn__right-board {
    display: none;
  }

  .punbb {
    margin: -40px auto 0;
    padding-top: 30px;
  }
}

@media (max-width: 608px) {
  #pun-crumbs1 .container.crumbs {
    padding: 0 15px;
  }

  #pun-crumbs2 .container.crumbs {
    padding: 30px 0 25px 15px;
  }

  .statscon .container {
    grid-template-columns: 1fr repeat(4, auto) 1fr;
  }

  .statscon .item1,
  .statscon .item2,
  .statscon .item3,
  .statscon .item4 {
    padding: 20px 0 0 0;
    align-self: center;
    border-bottom: none;
  }

  .statscon .item1 {
    grid-column: 2 / 3;
  }

  .statscon .item2 {
    grid-column: 3 / 4;
  }

  .statscon .item3 {
    grid-column: 4 / 5;
  }

  .statscon .item4 {
    grid-column: 5 / 6;
  }

  .statscon .item1 span, 
  .statscon .item2 span, 
  .statscon .item3 span, 
  .statscon .item4 span {
    font-size: 0;
  }

  .statscon .item1::before {
    content: ': ';
    margin: 0 5px 5px 0;
  }

  .statscon .item2::before {
    content: ': ';
    margin: 0 5px 5px 0;
  }

  .statscon .item3::before {
    content: ': ';
    margin: 0 5px 5px 0;
  }

  .statscon .item4::before {
    content: ': ';
    margin: 0 5px 5px 0;
  }

  .statscon .onlinelist {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  .onlinelist div::before,
  .users_24h div::before {
    width: 90%;
  }

  .linkst, 
  .linksb {
    margin: 0 15px;
  }

  .forum {
    margin: 0 15px 0 17px;
  }

  .forum tr {
    grid-column: 1 / -1;
  }

  .post > .container {
    margin: 0 15px;
  }

  .post-sig {
    display: none;
  }

  .post-links {
    margin-left: 0;
  }

  #post-form,
  .formal {
    margin: 30px 0 0 15px;
  }

  #post .areafield.required {
    margin-right: 15px;
  }

  #userlist {
    padding: 0 15px;
  }

  .usertable {
    padding: 30px 15px 0;
  }

  #punbbsearch {
    padding: 30px 15px 0;
  }

  .section.online-list {
    padding: 15px 15px 0;
  }

  #profile {
    padding: 0 15px;
  }

  .removeprofile.post > .container {
    margin: 0 15px;
  }

  .busy-appearances__subhead-block,
  .busy-appearances__list {
    flex-wrap: wrap;
  }

  .busy-appearances__list .busy-appearances__item-left p,
  .busy-appearances__list .busy-appearances__item p {
    text-align: center;
  }
}

@media (max-width: 570px) {
  .footer-box__container {
    background: url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 8px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 354px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 331px) calc(100% - 354px), var(--bg-panel);
  }

  .footer-container__items {
    flex-direction: column;
  }

  .footer-container__needed {
    flex-direction: row;
  }

  .footer-container__date {
    flex-direction: row;
  }

  .footer-date__line {
    height: 1px;
    width: 100%;
    margin: auto 0;
  }

  .footer-container__banners {
    height: 140px;
    width: 300px;
  }

  .footer-container__signature::before {
    left: -20px;
  }

  .post-author ul {
    grid-template-columns: 130px 1fr 1fr;
  }

  .pa-avatar img {
    max-width: 130px;
    max-height: 130px;
  }

  .pers-name {
    font-size: 10px;
  }

  .pers-quote {
    display: none;
  }

  .usertable .tc3.posts,
  .usertable .tc3.num_posts {
    display: none;
  }

  #messages .pmtc33 {
    display: none;
  }
}

@media (max-width: 540px) {
  .magic-guide .custom_tag_tabtitle {
    min-width: 100%;
  }
}

@media (max-width: 500px) {
  img.gif, 
  .header-quest__about, 
  .header-quest__box::before {
    display: none;
  }

  .category h2 {
    background: #020F0F;
    padding: 5px 0;
    border: 1px solid #2D3D3D;
    margin: 20px 5px 10px;
  }

  .category tr {
    margin-right: 15px;
  }

  .category .tc2, .category .tc3 {
    display: none;
  }

  #pun-stats {
    margin: 35px 15px 0 0;
  }

  .footer-box {
    margin-right: 25px;
  }

  .linkst, 
  .linksb {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .linksb {
    flex-direction: column-reverse;
    margin-bottom: 10px;
  }

  .linksb .postlink {
    order: 2;
  }

  .linksb .pagelink {
    order: 3;
  }

  .linksb .subscribelink {
    order: 1;
    margin: 25px 0 0;
  }

  .post-links ul {
    gap: 10px;
  }

  #topic-users-in .container::before {
    width: 70%;
  }

  #image-area-tcon-computer tr {
    flex-direction: column;
  }
}

@media (max-width: 470px) {
  .custom_tag_questionaryheader img.postimg {
    margin: 20px 0 0;
  }

  .custom_tag_questionaryheader img.postimg:not(:first-child) {
      margin: 0;
  }
}

@media (max-width: 450px) {
  .category .tcr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 15px;
  }

  .user-avatar {
    grid-column: 2 / -1;
    justify-self: end;
    grid-row: 1 / 3;
    align-self: center;
  }

  .category .lastpost-link {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    margin-right: 50px;
    padding-top: 10px;
    border-top: 1px solid rgba(2, 15, 15, 0.30);
  }

  .category .lastpost {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    justify-self: end;
    padding-bottom: 5px;
  }

  .onlinelist div, 
  .users_24h div {
    font-size: 8px;
  }

  .onlinelist div::before, 
  .users_24h div::before {
    height: 25px;
  }

  .info-theme {
    grid-template-columns: 20% auto;
  }

  .theme-stats {
    display: none;
  }

  .last-mess {
    grid-column: 2 / 3;
  }

  .post h3 span {
    width: 96%;
  }

  .post-author ul {
    grid-template-columns: 100px 1fr 1fr;
  }

  .pa-author {
    text-align: center;
  }

  .pa-title {
    display: none;
  }

  .pa-avatar img {
    max-width: 100px;
    max-height: 100px;
  }

  .pa-respect,
  .pa-posts,
  .pa-fld3,
  .pa-fld4 {
    display: none;
  }

  .usertable .tc3.last_visit {
    display: none;
  }
}


@media (max-width: 400px) {
  .header-quest__box {
    margin-left: -30px;
  }

  #navindex a:before,
  #navuserlist a:before,
  #navsearch a:before,
  #navprofile a:before,
  #navpm a:before,
  #navadmin a:before,
  #navlogout a:before,
  #navlogin a:before,
  #navregister a:before,
  .pr-li a:before {
    font-size: 16px;
  }

  #chfont-settings {
    flex-direction: column;
  }

  #html-footer > .container {
    height: 282px;
  }

  .footer-box__container {
    background: url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 8px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 8px) calc(100% - 304px), url(https://forumstatic.ru/files/001c/52/c6/44731.png?v=1) no-repeat calc(100% - 241px) calc(100% - 304px), var(--bg-panel);
  }

  .footer-container__items {
    padding: 25px;
  }

  .footer-needed__item {
    width: 40px;
  }

  .footer-container__needed {
    justify-content: space-evenly;
  }

  .footer-container__signature::before {
      left: -60px;
  }

  .footer-container__banners {
    width: 210px;
  }

  #punbbsearch select#fld4 {
    font-size: 9px;
  }

  #messages thead .pmtc22,
  #messages thead .pmtcl1 {
    font-size: 8px;
  }

  #messages .user-avatar {
    display: none;
  }

  .statscon .item1 {
    text-align: left;
  }

  .statscon .item2 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    padding: 10px 0 0;
  }

  .statscon .item3 {
    text-align: end;
    grid-column: 5 / 6;
  }

  .statscon .item4 {
    padding: 10px 0 0;
    grid-row: 2 / 3;
    grid-column: 5 / 6;
  }

  .statscon .onlinelist {
    grid-row: 4 / 5;
  }
}

@media (max-width: 370px) {
  .header-navigation__pun-links {
    padding: 20px 10px 70px 10px;
  }

  #pun-ulinks .burger {
    top: 75px;
    right: 15px;
  }

  .header-navigation__forum-name {
    transform: translate(37%);
  }

  .statscon .item2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    padding: 10px 0 0 0;
  }

  .statscon .onlinelist {
    grid-row: 3 / 4;
  }

  .onlinelist div, .users_24h div {
    font-size: 7px;
  }

  .onlinelist div::before, 
  .users_24h div::before {
    width: 95%;
    height: 22px;
  }

  .subscribelink a {
    font-size: 10px;
    padding: 3px 10px 0px 57px;
  }

  .usertable td {
    padding: 10px 0;
  }

  .usertable .user-avatar {
    display: none;
  }
}