@font-face {
  font-family: 'Mont';
  src: url('https://forumstatic.ru/files/001c/8c/be/33563.eot');
  src:
    url('https://forumstatic.ru/files/001c/8c/be/33563.eot?#iefix')
      format('embedded-opentype'),
    url('https://forumstatic.ru/files/001c/8c/be/76200.woff2') format('woff2'),
    url('https://forumstatic.ru/files/001c/8c/be/61519.woff') format('woff'),
    url('https://forumstatic.ru/files/001c/8c/be/11253.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Mont';
  src: url('https://forumstatic.ru/files/001c/8c/be/76799.eot');
  src:
    url('https://forumstatic.ru/files/001c/8c/be/76799.eot?#iefix')
      format('embedded-opentype'),
    url('https://forumstatic.ru/files/001c/8c/be/66362.woff2') format('woff2'),
    url('https://forumstatic.ru/files/001c/8c/be/13406.woff') format('woff'),
    url('https://forumstatic.ru/files/001c/8c/be/13406.woff') format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --default-transition: all 0.4s ease-in-out;
  interpolate-size: allow-keywords;
  transition-behavior: allow-discrete;
  --black: rgb(31, 31, 31);
  --new-orange: rgb(211, 128, 38);
  --light-back: rgb(231, 231, 231);
  --little-brighter: #272727;
  --post-text: #bfbfbf;
  --permanent-white: rgb(231, 231, 231);
  --permanent-orange: rgb(211, 128, 38);
  --permanent-blue: rgb(38, 133, 211);
  --permanent-pink: rgb(211, 38, 124);
  --permanent-green: rgb(35, 180, 144);
}

:root:has(.light-toff) {
  --black: rgb(219, 219, 219);
  --new-orange: rgb(251, 155, 46);
  --light-back: rgb(38, 38, 38);
  --little-brighter: #e4e4e4;
  --post-text: rgb(42, 42, 42);
  --permanent-white: rgb(219, 219, 219);
  --permanent-orange: rgb(251, 155, 46);
  --permanent-blue: rgb(51, 156, 243);
  --permanent-pink: rgb(253, 53, 153);
  --permanent-green: rgb(59, 198, 163);
}

:root:has(.blue-toff) {
  --new-orange: rgb(38, 133, 211);
}

:root:has(.blue-toff.light-toff) {
  --new-orange: rgb(51, 156, 243);
}

:root:has(.pink-toff) {
  --new-orange: rgb(211, 38, 124);
}

:root:has(.pink-toff.light-toff) {
  --new-orange: rgb(253, 53, 153);
}

:root:has(.green-toff) {
  --new-orange: rgb(35, 180, 144);
}

:root:has(.green-toff.light-toff) {
  --new-orange: rgb(59, 198, 163);
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: var(--default-transition);
  outline: none;
  border: none;
}

@-moz-document url-prefix() {
  :root {
    scrollbar-width: thin;
    scrollbar-color: var(--new-orange) var(--light-back);
  }
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background-color: var(--light-back);
}

::-webkit-scrollbar-thumb {
  background-color: var(--new-orange);
  border-radius: 0px;
}
::selection {
  background-color: var(--new-orange);
  color: var(--light-back);
}

a {
  text-decoration: none;
  font-weight: 400;
  color: var(--light-back);
}

button {
  color: var(--light-back);
}

html {
  background-color: var(--black);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Mont';
  font-weight: 400;
  position: relative;
  color: var(--light-back);
}

#pun {
  width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
}

.punbb {
  min-height: 100dvh;
  width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

#html-header {
  height: 338px;
  position: relative;
  margin-bottom: 15px;
}

#header-img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  position: absolute;
  left: 810px;
  top: 40px;
}

#header-tvd {
  font-size: 2.44rem;
  font-weight: 700;
  position: absolute;
  top: 72px;
  left: 352px;
}

#pun-title {
  position: absolute;
  top: 201px;
  left: 352px;
  pointer-events: none;
}

#pun-title h1 {
  font-size: 4.77rem;
  font-weight: 700;
}

#header-player-ready {
  display: none;
}

#header-player-not-ready {
  position: absolute;
  top: 248px;
  left: 513px;
  display: none;
  align-items: flex-start;
  gap: 4px;
  display: flex;
}

.loading-audio {
  background-color: var(--light-back);
  width: 30px;
  height: 30px;
  opacity: 0.45;
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/37/33/12845.svg');
  mask-image: url('https://forumstatic.ru/files/001c/37/33/12845.svg');
}

#header-player-ready {
  position: absolute;
  left: 505px;
  top: 252px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#header-player-btn {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: transparent;
  position: relative;
  cursor: pointer;
  opacity: 0.7;
}
#header-player-btn:hover {
  opacity: 1;
}

#header-player-btn::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--light-back);
  -webkit-mask-size: contain;
  mask-size: contain;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  left: 2px;
  top: 2px;
}

#header-player-btn::before {
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/50711.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/50711.svg');
}

#header-player-btn.played::before {
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/37/33/36326.svg');
  mask-image: url('https://forumstatic.ru/files/001c/37/33/36326.svg');
}

#player__volume-bar::-webkit-slider-thumb {
  appearance: none;
  width: 0;
  height: 0;
}
#player__volume-bar::-moz-range-thumb {
  appearance: none;
  width: 0;
  height: 0;
}

#header-audio-volume {
  width: 17px;
  height: 17px;
  background-color: transparent;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  opacity: 0.7;
}

#header-audio-volume:hover {
  opacity: 1;
}

#header-audio-volume::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/37/33/84528.svg');
  mask-image: url('https://forumstatic.ru/files/001c/37/33/84528.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  left: 2px;
  top: 2px;
}

#player__volume-bar {
  width: 80px;
  height: 17px;
  background-color: transparent;
  appearance: none;
  cursor: pointer;
  transform: rotate(90deg);
  position: absolute;
  left: -4.5px;
  top: -51.5px;
  display: none;
}

#player__volume-bar-color {
  width: 80px;
  height: 1px;
  background-color: var(--light-back);
  pointer-events: none;
  position: absolute;
  left: -4px;
  top: -43.5px;
  transform: rotate(90deg);
  display: none;
}

.announcement-wrap {
  position: absolute;
  left: 0;
  top: 35px;
  max-height: 280px;
  overflow-y: auto;
}

.announce-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.announcement-wrap::before {
  position: absolute;
  content: '';
  pointer-events: none;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, #ffffff00 0%, var(--black) 100%);
  z-index: 1;
  opacity: 1;
}

#html-header:hover .announcement-wrap::before {
  opacity: 0;
}

.an-date {
  display: none;
}

.announce-item {
  padding-left: 12px;
  padding-right: 12px;
  max-width: 185px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
  opacity: 0.7;
}

.an-name {
  position: relative;
  font-size: 0.8rem;
}

.announce-item:hover {
  opacity: 1;
}

.an-name::after {
  position: absolute;
  content: '';
  bottom: 2px;
  left: -12px;
  width: 8px;
  height: 8px;
  border: 2px var(--new-orange) solid;
  background-color: transparent;
}

.announce-item:hover .an-name::after {
  background-color: var(--new-orange);
}

#pun-ulinks {
  position: relative;
  z-index: 100;
}

#pun-navlinks li,
#pun-ulinks li {
  list-style: none;
}

#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#pun-announcement h2 {
  display: none;
}

#pun-navlinks a {
  text-transform: uppercase;
  font-size: 1rem;
  position: relative;
  opacity: 0.7;
}

#pun-navlinks a::after {
  position: absolute;
  content: '';
  bottom: 3px;
  left: -18px;
  width: 10px;
  height: 10px;
  border: 2px var(--new-orange) solid;
  background-color: transparent;
}

#pun-navlinks a:hover {
  opacity: 1;
}

#pun-navlinks a:hover::after {
  background-color: var(--new-orange);
}

#pun-navlinks {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  order: -1;
}

#pun-navlinks .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 50px;
  width: 1100px;
  height: 60px;
  background-color: var(--black);
  padding-top: 5px;
  border-bottom: 2px var(--light-back) solid;
  margin: 0 auto;
}

#pun-ulinks {
  position: sticky;
  top: 60px;
  left: 0;
}

#pun-ulinks .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 1100px;
  margin: 0 auto;
  background-color: var(--black);
  height: 50px;
  position: relative;
}

#pun-ulinks a {
  position: relative;
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: 400;
}

#pun-ulinks a:before {
  content: '';
  width: 0;
  height: 2px;
  background-color: var(--new-orange);
  position: absolute;
  top: 21px;
  left: -2px;
}

#pun-ulinks a:hover:before {
  width: calc(100% + 4px);
}

#pun-ulinks a:hover {
  opacity: 1;
}

#navawards,
.divider {
  display: none;
}

#pun-status .container {
  text-align: center;
  font-size: 0.64rem;
  opacity: 0.5;
  margin-top: 40px;
  -webkit-text-size-adjust: none;
  font-size-adjust: none;
}

#pun-status .container a {
  font-weight: 700;
  position: relative;
  display: inline-block;
}

#pun-status .container a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  top: 14px;
  left: -2px;
  background-color: var(--light-back);
}

#pun-status .container a:hover::before {
  width: calc(100% + 4px);
}

#pun-status strong {
  font-weight: 400;
}

#pun-status .container .status-right {
  display: none;
}

.punbb-admin #pun-title {
  top: 125px;
}

.punbb-admin #pun-status {
  margin-top: 90px;
}

.title-logo-tdr {
  display: none;
}

#pun-crumbs1 strong,
#pun-crumbs2 strong {
  display: none;
}

#pun-crumbs1,
#pun-crumbs2 {
  padding: 40px 0;
  font-size: 0.8em;
}
#pun-crumbs1 *,
#pun-crumbs2 * {
  opacity: 0.75;
}
#pun-crumbs1 a,
#pun-crumbs2 a {
  font-weight: 700;
}
#pun-crumbs1 a:hover,
#pun-crumbs2 a:hover {
  opacity: 1;
}
#pun-crumbs1 em,
#pun-crumbs2 em,
.show_user_posts .post > h3 em {
  font-style: normal;
}

#header-links {
  position: absolute;
  left: 223px;
  top: 74px;
  font-weight: 900;
  width: 38px;
  height: 115px;
}

#header-arrows {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  transform: translateX(0) scale(1) rotate(0deg);
  padding: 50px 0;
  cursor: pointer;
}

@keyframes pulse {
  0% {
    transform: translateX(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateX(15px) scale(1.25) rotate(0deg);
  }
  100% {
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

@keyframes pulse-revert {
  0% {
    transform: translateX(0) scale(1) rotate(180deg);
  }
  50% {
    transform: translateX(-15px) scale(1.25) rotate(180deg);
  }
  100% {
    transform: translateX(0) scale(1) rotate(180deg);
  }
}
#header-arrows.revert {
  transform: translateX(0) scale(1) rotate(180deg);
}

#html-header:hover #header-arrows {
  animation: pulse 1.2s ease-in-out 0s infinite;
}

#html-header:hover #header-arrows.revert {
  animation: pulse-revert 1.2s ease-in-out 0s infinite;
}

#pun-main > h1 {
  display: none;
}

.category h2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  padding-top: 50px;
}

.category h2 span {
  position: relative;
  font-weight: 700;
  font-size: 2.44rem;
  order: -1;
  width: 1100px;
  text-align: center;
}

.category .container thead {
  display: none;
}

.category .container {
  margin-bottom: 20px;
}

.category table {
  width: 1050px;
  table-layout: fixed;
  overflow-x: hidden;
  overflow-y: visible;
}

.category tbody {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.category tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.category .tclcon {
  display: flex;
  flex-direction: column;
  width: 600px;
  gap: 8px;
  position: relative;
}

.category h3 {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
  position: relative;
}

.category h3 a {
  font-weight: 700;
  font-size: 1.95rem;
}

.category .tc2,
.category .tc3 {
  display: none;
}

.acchide {
  display: none;
}

.f_links {
  order: 1;
  display: flex;
  gap: 40px;
  position: absolute;
  left: 0;
  top: -38px;
  width: 1100px;
  border-bottom: 2px var(--light-back) solid;
  padding-bottom: 10px;
  justify-content: flex-end;
}

.f_links a {
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
  opacity: 0.7;
}

.f_links a::after {
  position: absolute;
  content: '';
  bottom: 4px;
  left: -12px;
  width: 8px;
  height: 8px;
  border: 2px var(--new-orange) solid;
  background-color: transparent;
}

.f_links a:hover {
  opacity: 1;
}

.f_links a:hover::after {
  background-color: var(--new-orange);
}

.f_desc {
  order: 3;
  font-size: 1rem;
  width: 550px;
  opacity: 0.5;
  text-align: justify;
}

.category .tcr span {
  font-size: 1rem;
}

.post {
  width: 1100px;
  margin: 50px auto;
}

.sharelink {
  display: none;
}

.post h3 span {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  border-bottom: 2px var(--light-back) solid;
  align-items: baseline;
  font-size: 0.8rem;
}

.post h3 span strong {
  opacity: 0.7;
  font-weight: 400;
}

.post h3 a {
  font-weight: 400;
}

.permalink {
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
  opacity: 0.7;
}

.permalink::after {
  position: absolute;
  content: '';
  bottom: 4px;
  left: -12px;
  width: 8px;
  height: 8px;
  border: 2px var(--new-orange) solid;
  background-color: transparent;
}

.permalink:hover {
  opacity: 1;
}

.permalink:hover::after {
  background-color: var(--new-orange);
}

.post .container {
  display: flex;
  gap: 20px;
  position: relative;
  justify-content: space-between;
  align-items: stretch;
}

.post-author > ul {
  display: grid;
  list-style: none;
  gap: 12px 0;
  grid-template-areas:
    'pr-header pr-header pr-header pr-header'
    'pr-author pr-author pr-author pr-author'
    'pr-avatar pr-avatar pr-avatar pr-avatar'
    'pr-status pr-status pr-status pr-status'
    'pr-money pr-mes pr-resp pr-post'
    'pr-lz pr-lz pr-lz pr-lz'
    'pr-pl pr-pl pr-pl pr-pl';
  position: sticky;
  grid-template-columns: repeat(4, 1fr);
  top: 110px;
  width: 240px;
  left: 0;
  overflow: hidden;
  justify-items: center;
  transform: rotate(0deg);
}

#pun-viewtopic .post-author > ul::before,
#pun-messages .post-author > ul::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border: 2px var(--new-orange) solid;
  z-index: 1;
  background-color: transparent;
}

#pun-viewtopic .post-author ul:has(.prof-header)::before {
  top: 10px;
  right: 10px;
}

#pun-viewtopic .post-author.online > ul::before,
#pun-messages .post-author.online > ul::before {
  background-color: var(--new-orange);
}

.post-author {
  position: relative;
}

.pa-fld4 {
  grid-area: pr-header;
}

.prof-header {
  height: 52px;
  width: 240px;
  object-fit: cover;
  object-position: 50% 50%;
  position: relative;
}

.prof-sticker {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  object-fit: contain;
  z-index: 1;
}

.plz-plaque p {
  z-index: 2;
  color: var(--permanent-white);
}

.post-author .plz-plaque p {
  font-size: 0.64rem;
}

.post-author:hover ul:has(.prof-sticker)::after {
  opacity: 0;
}

.pa-fld4::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 240px;
  height: 52px;
  background: linear-gradient(90deg, var(--black) 0%, transparent 100%);
  opacity: 1;
}

.post-author:hover .pa-fld4::after {
  opacity: 0;
}

.pa-author {
  grid-area: pr-author;
  position: relative;
  width: 240px;
}

.pa-author a,
.pa-author {
  color: var(--new-orange);
  font-weight: 700;
  font-size: 1.25rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 240px;
  display: block;
  text-align: center;
}

.pa-online {
  display: block;
  width: fit-content;
  background-color: var(--little-brighter);
  padding: 20px;
  font-size: 0.64rem;
  text-wrap: nowrap;
  position: fixed;
  right: 0px;
  top: 40px;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.post-author:has(.prof-header) .pa-online {
  top: 10px;
}

.post-author:has(.pa-author:hover) .pa-online {
  opacity: 1;
}

.pa-avatar {
  grid-area: pr-avatar;
  display: flex;
  width: 240px;
  justify-content: center;
}

.pa-title {
  grid-area: pr-status;
  font-size: 0.8rem;
  font-weight: 700;
  width: 240px;
  text-align: center;
  opacity: 0.5;
  position: relative;
}

.pa-fld1 {
  grid-area: pr-lz;
  background-color: var(--little-brighter);
  width: 188px;
  display: block;
  padding: 20px;
  font-size: 0.64rem;
  text-align: center;
  position: relative;
  margin-left: 52px;
  min-height: 76px;
  border-left: 2px var(--new-orange) solid;
}

.lz > a {
  color: var(--new-orange);
  font-weight: 700;
}

.lz {
  position: relative;
  z-index: 2;
}

.lz center a {
  color: var(--new-orange);
  font-weight: 700;
}

.pa-fld1 > a {
  display: block;
  width: 52px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -27px;
  z-index: -2;
  background-color: var(--little-brighter);
}

.prof-icon {
  position: absolute;
  top: calc(50% - 18px);
  left: 7px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.post-author:hover > ul .pa-fld1 > a {
  left: -52px;
}

.pa-fld1::before {
  position: absolute;
  content: '';
  top: 0;
  left: -52px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--black) 0%, transparent 100%);
  width: 240px;
  height: 100%;
  z-index: -1;
  opacity: 1;
}

.post-author:hover > ul .pa-fld1::before {
  opacity: 0;
}

.fld-name {
  display: none;
}

.pa-gifts,
.pa-awards {
  display: none;
}

.pa-posts {
  grid-area: pr-mes;
  position: relative;
  padding: 10px 0;
  font-size: 0.8rem;
  width: 60px;
  text-align: right;
  padding-right: 16px;
}

.pa-posts::before {
  content: '';
  background-color: var(--new-orange);
  position: absolute;
  width: 240px;
  left: -60px;
  top: 0;
  height: 100%;
  z-index: -1;
}

.pa-posts::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/59249.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/59249.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
}

.pa-respect {
  grid-area: pr-resp;
  padding: 10px 0;
  font-size: 0.8rem;
  width: 60px;
  text-align: right;
  position: relative;
  padding-right: 16px;
}

.pa-respect span {
  position: relative;
  pointer-events: none;
}

.pa-respect::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/74684.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/74684.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.pa-respect img {
  width: 60px;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 3;
  cursor: pointer;
}

.pa-fld3 {
  grid-area: pr-money;
  padding: 10px 0;
  font-size: 0.8rem;
  width: 60px;
  text-align: right;
  padding-right: 2px;
}

.pa-fld5 {
  grid-area: pr-post;
  width: 60px;
  text-align: right;
  padding: 10px 0;
  font-size: 0.8rem;
  position: relative;
  padding-right: 26px;
}

.pa-fld5::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/78602.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/78602.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
}

.pa-fld2 {
  grid-area: pr-pl;
}

.plz-plaque {
  width: 240px;
  text-align: center;
  font-size: 0.8rem;
  padding: 10px;
  position: relative;
  color: var(--permanent-white);
}

.plz-plaque p {
  position: relative;
  z-index: 1;
}

.plz-plaque::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 240px;
  height: 100%;
  background: linear-gradient(90deg, var(--black) 0%, transparent 100%);
  opacity: 1;
  z-index: 0;
}

#viewprofile .plz-plaque::after,
.post-author:hover .plz-plaque::after {
  opacity: 0;
}

.post-links {
  position: absolute;
  bottom: -30px;
}

.post-links ul {
  display: flex;
  list-style: none;
  gap: 10px;
  justify-content: flex-end;
  width: 1100px;
  top: 0;
  left: 0;
}

.post-links ul a {
  font-size: 0.8rem;
  opacity: 0.7;
  text-wrap: nowrap;
}

.post-links ul .pm {
  flex-grow: 1;
}

.post-links ul .email {
  flex-grow: 1000000;
}

.post-links ul a:hover {
  opacity: 1;
}

.post-body {
  width: 840px;
  color: var(--post-text);
}

.post-content {
  overflow-x: hidden;
}

.post-content a {
  color: var(--new-orange);
  position: relative;
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.post-content a:hover {
  color: var(--post-text);
  text-decoration-color: var(--new-orange);
}

.header-quote {
  opacity: 0.7;
  position: relative;
  width: 500px;
  margin: 120px auto 50px;
  display: block;
}

.header-quote p {
  font-size: 0.8rem;
  text-align: center;
}

.header-quote::before {
  content: '“';
  font-size: 4.77rem;
  position: absolute;
  left: -120px;
  top: 17px;
  width: 30px;
  height: 100%;
  line-height: 0;
}

.header-quote::after {
  content: '”';
  font-size: 4.77rem;
  position: absolute;
  right: -120px;
  top: 17px;
  width: 30px;
  height: 100%;
  line-height: 0;
}

.header-quote span {
  color: var(--new-orange);
  font-size: 1rem;
  text-align: center;
  display: block;
  margin-top: 5px;
}

.header-quote:hover {
  opacity: 1;
}

#arrow-top {
  position: fixed;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/83918.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat no-repeat;
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/83918.svg');
  mask-size: contain;
  mask-repeat: no-repeat no-repeat;
  right: max(20px, calc((100% - 1100px) / 2));
  bottom: 180px;
  width: 20px;
  height: 40px;
  z-index: 1000;
  cursor: pointer;
  transform: rotate(180deg);
  opacity: 0.5;
}

#arrow-down {
  position: fixed;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/83918.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat no-repeat;
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/83918.svg');
  mask-size: contain;
  mask-repeat: no-repeat no-repeat;
  right: max(20px, calc((100% - 1100px) / 2));
  bottom: 60px;
  width: 20px;
  height: 40px;
  z-index: 1000;
  cursor: pointer;
  opacity: 0.5;
}

.arrow-out #arrow-top,
.arrow-out #arrow-down {
  right: max(0px, calc((100% - 1140px) / 2));
}

#arrow-top:hover,
#arrow-down:hover {
  opacity: 1;
}

.user-avatar .avatar-image {
  width: 36px;
  height: 36px;
  background-size: cover;
  display: flex;
  filter: grayscale(1);
}

.user-avatar:hover .avatar-image {
  opacity: 1;
  filter: grayscale(0);
}

.user-avatar {
  grid-area: user-avatar;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.user-avatar a {
  display: block;
  position: relative;
  opacity: 0.7;
}

.user-avatar:hover a {
  opacity: 1;
}

.user-avatar a::before {
  position: absolute;
  content: '';
  bottom: 0px;
  left: -16px;
  width: 10px;
  height: 10px;
  border: 2px var(--new-orange) solid;
  background-color: transparent;
}

.user-avatar:has(.isonline) a::before {
  background-color: var(--new-orange);
}

.category .lastpost-link {
  grid-area: lastpost-link;
  text-align: justify;
  opacity: 0.7;
  font-weight: 700;
  overflow-x: hidden;
}

.category .inew h3 a {
  color: var(--new-orange);
}

.category .lastpost-link:hover {
  opacity: 1;
}

.category .lastpost {
  grid-area: lastpost;
  opacity: 0.5;
}

.category .tcr {
  display: grid;
  grid-template:
    'user-avatar lastpost-link'
    'user-avatar lastpost';
  grid-template-columns: 50px 400px;
  padding-top: 20px;
}

.need-block {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  margin: 120px auto 50px;
}

.best-block {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: 120px auto 50px;
}

.need-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.need-title {
  color: var(--new-orange);
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  width: 100%;
}

.need-text {
  background-color: var(--little-brighter);
  color: var(--light-back);
  padding: 20px;
  text-align: justify;
  height: 123px;
  overflow-y: scroll;
  font-size: 1rem;
}

.need-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  width: 360px;
  position: relative;
}

.need-wrap,
.best-post-wrap {
  position: relative;
  padding: 0 0 0 100px;
  width: 460px;
}

.best-couple {
  width: 460px;
  position: relative;
  height: 250px;
}

.couple-text {
  color: var(--new-orange);
  position: absolute;
  left: 330px;
  top: -3px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
  z-index: 1;
}

.couple-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;
}

#couple-img1 {
  position: absolute;
  top: 0px;
  left: 160px;
}

#couple-img2 {
  position: absolute;
  top: 100px;
  right: 50px;
}

.couple-name {
  position: absolute;
  width: 150px;
  text-align: center;
  padding: 10px 0;
  color: var(--new-orange);
  background-color: var(--little-brighter);
  font-weight: 700;
}

.couple-link:hover .couple-name {
  background-color: var(--new-orange);
  color: var(--light-back);
}

#couple-name1 {
  left: 55px;
  top: 20px;
}

#couple-name2 {
  left: 155px;
  bottom: 20px;
}

.need-reed {
  background-color: var(--new-orange);
  color: var(--light-back);
  padding: 10px 20px;
  font-size: 1rem;
  width: fit-content;
  cursor: pointer;
  font-weight: 700;
}

.need-wrap:hover .need-reed,
.best-post-wrap:hover .need-reed {
  background-color: var(--light-back);
  color: var(--new-orange);
}

#html-footer {
  position: relative;
}

#pun .quote-main,
#pun .answer-box {
  background-color: var(--little-brighter);
  padding: 20px;
  position: relative;
  margin: 40px 0 20px 0;
}

.quote-box blockquote,
.quote-box cite,
.quote-box > div {
  overflow-x: hidden;
}

.quote-main::before,
.answer-box::before {
  content: '”';
  font-size: 4.77rem;
  color: var(--light-back);
  position: absolute;
  right: 18px;
  top: -25px;
  opacity: 0.31;
}

.answer-box blockquote {
  border-top: 2px var(--post-text) solid;
  padding-top: 10px;
}

.answer-box cite {
  position: relative;
  text-transform: uppercase;
  position: relative;
  opacity: 0.7;
  display: inline-block;
  padding-left: 15px;
  font-style: normal;
}

.answer-box cite a {
  color: var(--post-text);
  text-decoration: none;
  font-weight: 400;
}

.answer-box cite::after {
  position: absolute;
  content: '';
  bottom: 6px;
  left: 0px;
  width: 10px;
  height: 10px;
  border: 2px var(--new-orange) solid;
  background-color: transparent;
}

.answer-box cite:hover {
  opacity: 1;
}

.answer-box cite:hover::after {
  background-color: var(--new-orange);
}

.spoiler-box {
  background-color: var(--little-brighter);
}

.spoiler-box > div {
  background-color: var(--little-brighter);
  padding: 20px 20px 20px calc(20px + 1.25em);
  position: relative;
  cursor: pointer;
}

.spoiler-box > div:hover {
  color: var(--new-orange);
}

.spoiler-box > div::before {
  content: '';
  position: absolute;
  left: 20px;
  top: calc(20px + 0.1em);
  transform-origin: 50% 50%;
  transform: rotate(0deg);
  width: 1em;
  height: 1em;
  background-color: var(--post-text);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/37715.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/37715.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat no-repeat;
  mask-repeat: no-repeat no-repeat;
}

.spoiler-box > div:hover::before {
  background-color: var(--new-orange);
}

.spoiler-box > blockquote {
  height: 0px;
  overflow: hidden;
  border-top: 2px transparent solid;
  padding: 0 20px;
}

.spoiler-box > blockquote > p {
  padding: 0;
}

.spoiler-box > blockquote.visible > p {
  padding: 20px 0;
}

.spoiler-box > blockquote.visible {
  height: fit-content;
  border-top: 2px var(--post-text) solid;
}

.spoiler-box div:has(+ blockquote.visible)::before {
  transform: rotate(180deg);
  bottom: calc(20px + 0.1em);
}

.post-author {
  margin-top: 20px;
}

.post-content > * {
  margin: 20px 0;
}

.code-box {
  background-color: var(--little-brighter);
  padding: 20px;
  position: relative;
}

.code-box::before {
  content: '</>';
  font-size: 1.56rem;
  color: var(--light-back);
  font-weight: 400;
  position: absolute;
  right: 18px;
  top: -16px;
  opacity: 0.31;
}

.code-box .legend,
.code-box .legend a {
  color: var(--new-orange);
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
  text-transform: uppercase;
}

.code-box .legend {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.code-box .legend:hover,
.code-box .legend:hover a {
  text-decoration-color: var(--light-back);
}

.code-box .blockcode {
  padding: 10px 20px 10px 0;
  overflow-y: scroll;
  overflow-x: hidden;
}

.code-box .blockcode pre {
  opacity: 0.7;
}

#pun-profile #profile {
  display: flex;
}

#pun-profile #profile {
	position: relative;
	padding-left: 220px;
}

#pun-profile #profilenav {
  width: fit-content;
  position: absolute;
  top: 0;
  left: 0;
}

#pun-profile h2 {
  display: none;
}

#profilenav ul {
	  display: flex;
  flex-direction: column;
	list-style: none;
	  gap: 20px;
}

#profilenav li {
	opacity: 0.7;
}

#profilenav li:hover {
	opacity: 1;
}

#pun-profile legend {
	display: none;
}

#pun-profile .fs-box {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin: 10px 0;
}

#pun-profile .inputfield,
#pun-profile .selectfield,
#pun-profile .datafield  {
	flex-grow: 1;
}

#pun-profile .selectfield .input{
	display: flex;
	gap: 20px;
}

#pun-profile .fs-box a {
	opacity: 0.7;
	margin-top: 6px;
	display: inline-block;
}

#pun-profile .fs-box a:hover {
	opacity: 1;
}

#pun-profile select,
#pun-profile input {
	width: 100%;
	height: 40px;
		margin-top: 6px;
}

#pun-profile .button {
	width: fit-content;
	margin-right: 20px;
}

#viewprofile-next #profilenav {
  display: none;
}

#profile-gifts {
  display: none;
}

#viewprofile tr {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

#viewprofile .container {
  margin: 20px auto;
}

#viewprofile #profile-title {
  padding-right: 20px;
  text-align: justify;
}

#profile-left {
  list-style: none;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 2px var(--new-orange) solid;
  justify-content: center;
  align-items: flex-start;
}

#profile-right {
  width: 800px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  row-gap: 20px;
  justify-content: stretch;
  align-items: stretch;
}

#profile-right li {
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

#profile-right li span,
#profile-right li span a {
  color: var(--light-back);
}

#profile-right li strong {
  color: var(--post-text);
}

#profile-name {
  color: var(--new-orange);
  font-size: 1.25rem;
}

#profile-title {
  color: var(--light-back);
  opacity: 0.7;
  font-size: 0.8rem;
}

#pa-online {
  color: var(--light-back);
  font-size: 0.8rem;
  opacity: 0.5;
}

#pa-edit a {
  color: var(--new-orange);
  font-weight: 700;
  opacity: 0.7;
}

#pa-edit a:hover {
  opacity: 1;
}

#pa-fld1 strong {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  width: 281px;
  gap: 0;
  background-color: var(--little-brighter);
}

#pa-fld1 .lz {
  flex-basis: 225px;
  flex-shrink: 0;
  flex-grow: 0;
  display: block;
  padding: 20px;
  color: var(--light-back);
  text-align: center;
  position: relative;
  min-height: 76px;
  border-left: 2px var(--new-orange) solid;
  font-size: 0.8rem;
}

#pa-fld1 strong > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px 10px;
  position: static;
  flex-basis: 56px;
  flex-shrink: 0;
  flex-grow: 0;
}

#pa-fld1 .prof-icon {
  position: static;
}

#profile-right #pa-gifts,
#profile-right #pa-awards {
  display: none;
}

#pa-email strong a,
#pa-posts strong a {
  font-size: 0.64rem;
  color: var(--new-orange);
  font-weight: 700;
  opacity: 0.7;
}

#pa-email strong a:hover,
#pa-posts strong a:hover {
  opacity: 1;
}

#pa-posts strong {
  display: flex;
  justify-content: center;
  align-items: first baseline;
  gap: 2px;
}

#pa-fld4 strong {
  position: relative;
}

.lz a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.lz a:hover {
  text-decoration-color: var(--light-back);
}

#profile-right #pa-invites {
  display: none;
}

#pa-avatar strong {
  display: none;
}

#profile-signature {
  padding-top: 20px;
  margin-left: 298px;
  border-left: 2px var(--new-orange) solid;
  width: 802px;
  overflow-x: hidden;
}

.post-sig dt {
  display: none;
}

input.button {
  background-color: var(--new-orange);
  outline: none;
  border: none;
  font-weight: 700;
  padding: 10px;
  cursor: pointer;
}

input.button:hover {
  background-color: var(--light-back);
  color: var(--new-orange);
}

.pa-reg {
  display: none;
}

#pun-searchposts .pa-replies {
  display: none;
}

#pun-searchposts .pa-author {
  background-color: var(--little-brighter);
  padding: 20px;
  margin-top: -10px;
}

body .bubble {
  background: var(--new-orange);
}
body .bubble:after {
  border-color: var(--new-orange) transparent;
}

input,
textarea {
  padding: 10px;
  background-color: var(--little-brighter);
  font-size: 1rem;
  color: var(--light-back);
}

textarea {
  width: 100%;
}

#formkey,
#formetc {
  display: none;
}

select {
  background: var(--little-brighter);
  color: var(--light-back);
  padding: 10px 26px 10px 10px;
  border-radius: 0;
  font-family: 'Mont';
  font-size: 1rem;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('https://forumstatic.ru/files/001c/8c/be/83918.svg');
  background-size: 26px 16px;
  background-position: right;
  background-repeat: no-repeat;
  cursor: pointer;
}

.light-toff select {
  background-image: url('https://forumstatic.ru/files/001c/8c/be/61118.svg');
}

.loading {
  display: none;
}

.custom_tag_h1 {
  color: var(--new-orange);
  font-weight: 700;
  font-size: 1.56rem;
  text-align: center;
  background-color: var(--little-brighter);
  padding: 20px;
  position: relative;
}

.custom_tag_h1::before {
  content: '#';
  font-size: 1.95rem;
  color: var(--light-back);
  font-weight: 400;
  position: absolute;
  right: 18px;
  top: -18px;
  opacity: 0.31;
}

.custom_tag_h2 {
  font-weight: 700;
  font-size: 1.25rem;
  text-align: right;
  padding: 10px 20px;
  border-bottom: 2px var(--new-orange) solid;
}

#pun-live-rusff {
  display: none;
}

.topic h2 {
  display: none;
}

.linkst {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.postlink a {
  opacity: 0.7;
  font-size: 0.8rem;
}

.postlink a:hover {
  opacity: 1;
}

.pagelink {
  font-size: 0.8rem;
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 7px;
}

.pagelink a {
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  font-weight: 700;
}

.pagelink strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--new-orange);
}

.pagelink span {
  font-size: 1rem;
  font-weight: 700;
}

.pagelink a:hover {
  color: var(--new-orange);
  text-decoration-color: var(--light-back);
}

.post-content img {
  max-width: 100%;
}

.modmenu .container > span {
  display: none;
}

#pun-stats .container {
  display: flex;
  list-style: none;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

#pun-stats .container span {
  font-size: 0.8rem;
}

#pun-stats .container a {
  text-wrap: nowrap;
  font-size: 1rem;
}

#pun-stats .container span a,
#pun-stats .container .item4 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  font-weight: 700;
  opacity: 0.7;
}

#pun-stats .container span a:hover,
#pun-stats .container .item4 a:hover {
  text-decoration-color: var(--new-orange);
  opacity: 1;
}

#pun-stats .container .onlinelist {
  width: 100%;
  text-align: justify;
}

#pun-stats .container .users_24h {
  width: 100%;
  text-align: justify;
}

#pun-stats h2,
#pun-stats .statistics,
#pun-stats .stats-crumbs {
  display: none;
}

#panel {
  position: absolute;
  top: 0px;
  right: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
  font-weight: 400;
}

#panel-content {
  background: var(--little-brighter);
  width: 300px;
  height: 200px;
  padding: 20px;
  pointer-events: none;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
#panel.visible #panel-content {
  opacity: 1;
  pointer-events: auto;
}
#panel-sticker {
  background-color: var(--new-orange);
  padding: 10px;
  cursor: pointer;
  color: var(--light-back);
  pointer-events: auto;
}
#blockUsers > li {
  display: flex;
  align-items: center;
  gap: 6px;
}

#blockUsers > li > strong {
  cursor: pointer;
  font-size: 1.56rem;
  color: var(--new-orange);
  font-weight: bold;
}
ul#blockUsers {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.blockButton {
  position: absolute;
  top: 3px;
  left: 260px;
  width: 120px;
  height: 20px;
}
.blockButton:before {
  content: 'Â ÷¸ðíûé ñïèñîê';
  cursor: pointer;
  top: 0px;
  left: 0px;
  position: absolute;
  height: 100%;
  text-wrap: nowrap;
  opacity: 1;
  z-index: 2;
  font-size: 0.8rem;
  font-size-adjust: none;
  -webkit-text-size-adjust: none;
  opacity: 0.7;
}
.blockButton:hover::before {
  opacity: 1;
}
.post[data-user-id='1'] .blockButton:before {
  display: none;
}

#header-nav {
  width: 807px;
  height: 275px;
  background-color: var(--black);
  position: absolute;
  left: 70px;
  top: -42px;
  z-index: 1;
  max-width: 0;
  overflow-x: hidden;
  transition: max-width 0.8s ease-in-out;
  cursor: auto;
  border-bottom: 2px var(--new-orange) solid;
}

#header-nav.nav-visible {
  max-width: 807px;
}

#design-text {
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 0.7;
  position: absolute;
  left: 20px;
  top: 20px;
}

.des-light {
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/95718.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/95718.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  width: 36px;
  height: 36px;
  cursor: pointer;
  opacity: 0.7;
  position: absolute;
  left: 130px;
  top: 5px;
}

.des-light:hover {
  opacity: 1;
}
.des-dark {
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/43794.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/43794.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  width: 36px;
  height: 36px;
  cursor: pointer;
  opacity: 0.7;
  position: absolute;
  left: 180px;
  top: 5px;
}

.des-dark:hover {
  opacity: 1;
}

.des-color {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 16px;
  cursor: pointer;
}

.des-orange {
  background-color: var(--permanent-orange);
  left: 270px;
}

.des-blue {
  background-color: var(--permanent-blue);
  left: 310px;
}

.des-pink {
  background-color: var(--permanent-pink);
  left: 350px;
}

.des-green {
  background-color: var(--permanent-green);
  left: 390px;
}

.des-dark.chosen,
.des-light.chosen {
  background-color: var(--new-orange);
}

#arr-text {
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  position: absolute;
  left: 20px;
  top: 60px;
  width: 500px;
}

#arr-text span {
  opacity: 0.7;
}

#arr-text-in {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
  background-color: transparent;
  padding-left: 20px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

#arr-text-out {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
  background-color: transparent;
  padding-left: 29px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

#arr-text-out:hover,
#arr-text-in:hover {
  opacity: 1;
}

#arr-text-out.chosen,
#arr-text-in.chosen {
  text-decoration-color: var(--new-orange);
}

.header-ul {
  position: absolute;
  top: 0px;
  left: 500px;
  list-style: none;
  text-transform: uppercase;
  font-size: 1rem;
  background-color: var(--little-brighter);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  width: 200px;
}

.header-ul a {
  opacity: 0.7;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.header-ul a:hover {
  opacity: 1;
  text-decoration-color: var(--new-orange);
}

.header-font {
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  position: absolute;
  left: 20px;
  top: 72px;
  display: flex;
  gap: 0px;
  width: 500px;
  align-items: baseline;
  justify-content: flex-start;
}

.header-font span {
  opacity: 0.7;
}

.header-font-minus,
.header-font-plus {
  background: transparent;
  font-size: 1.56rem;
  font-weight: 400;
  opacity: 0.7;
  cursor: pointer;
  padding: 20px;
}

.header-font-minus:hover,
.header-font-plus:hover {
  opacity: 1;
}

.header-font-minus:disabled,
.header-font-plus:disabled {
  pointer-events: none;
  opacity: 0.4;
}

.header-font .header-font-number {
  opacity: 1;
  color: var(--new-orange);
  font-weight: 700;
  width: 30px;
  text-align: center;
  font-size: 1.25rem;
}

.header-font-text {
  text-transform: none;
  font-size: 0.8rem;
}

.header-font-plus {
  transform: translateY(2.4px);
}

.font-toff-10 .post-content p,
.font-toff-10 textarea {
  font-size: 10px;
}

.font-toff-11 .post-content p,
.font-toff-11 textarea {
  font-size: 11px;
}

.font-toff-12 .post-content p,
.font-toff-12 textarea {
  font-size: 12px;
}

.font-toff-13 .post-content p,
.font-toff-13 textarea {
  font-size: 13px;
}

.font-toff-14 .post-content p,
.font-toff-14 textarea {
  font-size: 14px;
}

.font-toff-15 .post-content p,
.font-toff-15 textarea {
  font-size: 15px;
}

.font-toff-16 .post-content p,
.font-toff-16 textarea {
  font-size: 16px;
}

.font-toff-17 .post-content p,
.font-toff-17 textarea {
  font-size: 17px;
}
.font-toff-18 .post-content p,
.font-toff-18 textarea {
  font-size: 18px;
}
.font-toff-19 .post-content p,
.font-toff-19 textarea {
  font-size: 19px;
}

.font-toff-20 .post-content p,
.font-toff-20 textarea {
  font-size: 20px;
}

.font-toff-21 .post-content p,
.font-toff-21 textarea {
  font-size: 21px;
}

.font-toff-22 .post-content p,
.font-toff-22 textarea {
  font-size: 22px;
}

.font-toff-23 .post-content p,
.font-toff-23 textarea {
  font-size: 23px;
}

.font-toff-24 .post-content p,
.font-toff-24 textarea {
  font-size: 24px;
}

.font-toff-25 .post-content p,
.font-toff-25 textarea {
  font-size: 25px;
}

.font-toff-26 .post-content p,
.font-toff-26 textarea {
  font-size: 26px;
}

.font-toff-27 .post-content p,
.font-toff-27 textarea {
  font-size: 17px;
}
.font-toff-28 .post-content p,
.font-toff-28 textarea {
  font-size: 18px;
}
.font-toff-29 .post-content p,
.font-toff-29 textarea {
  font-size: 29px;
}
.font-toff-30 .post-content p,
.font-toff-30 textarea {
  font-size: 30px;
}

.profile-short .post-author .pa-fld4,
.profile-short .post-author .pa-fld2 {
  display: none;
}

.profile-short-lz .post-author .pa-fld1 {
  display: none;
}

.profile-short #pun-viewtopic .post-author ul:has(.prof-header)::before {
  top: 0px;
  right: 0px;
}

#profile-short-text {
  position: absolute;
  left: 20px;
  top: 140px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  width: 500px;
}

#profile-short-text-lz {
  position: absolute;
  left: 20px;
  top: 180px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  width: 500px;
}

#profile-short-text span,
#profile-short-text-lz span,
#header-lapslock span {
  opacity: 0.7;
}

#profile-short-off,
#profile-short-off-lz,
#lapslock-on {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
  background-color: transparent;
  padding-left: 20px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

#profile-short-on,
#profile-short-on-lz,
#lapslock-off {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
  background-color: transparent;
  padding-left: 29px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

#profile-short-on:hover,
#profile-short-off:hover,
#profile-short-on-lz:hover,
#profile-short-off-lz:hover,
#lapslock-off:hover,
#lapslock-on:hover {
  opacity: 1;
}

#profile-short-on.chosen,
#profile-short-off.chosen,
#profile-short-on-lz.chosen,
#profile-short-off-lz.chosen,
#lapslock-off.chosen,
#lapslock-on.chosen {
  text-decoration-color: var(--new-orange);
}

#header-lapslock {
  position: absolute;
  left: 20px;
  top: 220px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  width: 500px;
}

.banners-wrapper {
  width: 1100px;
  height: 67px;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.banners-wrapper::before {
  content: '';
  position: absolute;
  background-color: var(--new-orange);
  width: 1100px;
  height: 2px;
  bottom: -20px;
  left: 0px;
}

@keyframes banners {
  0%,
  1%,
  100% {
    transform: translateY(0);
  }
  50%,
  51% {
    transform: translateY(calc(-100% + 67px));
  }
}

.banners {
  position: absolute;
  top: 0;
  left: 0;
  width: 940px;
  animation: banners 16s ease-in-out infinite;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
}

.banners a {
  width: 88px;
  height: 31px;
  overflow: hidden;
  display: block;
  position: relative;
  display: block;
}

.banners-top {
  position: absolute;
  right: 39px;
  top: 18px;
}

.banners,
.banners-top {
  opacity: 0.7;
}

.banners:hover,
.banners-top:hover {
  opacity: 1;
}

#html-footer .container {
  border-bottom: 2px var(--new-orange) solid;
  margin-bottom: 20px;
}

.usertable h2,
.usertable thead,
#pun-userlist .formal h2 {
  display: none;
}

.usertable tbody {
  width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.usertable {
  margin: 20px 0;
}

.usertable tr {
  display: flex;
  gap: 6px;
  width: 360px;
  flex-direction: column;
  background-color: var(--little-brighter);
  padding: 20px;
  position: relative;
  color: var(--post-text);
}

.usertable tr .tcl {
  display: flex;
  flex-direction: column;
}
.usertable tr span.usersname {
  order: -1;
  text-align: center;
}

.usertable tr span.usersname a {
  color: var(--new-orange);
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  padding-left: 28px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.usertable tr span.usersname a:hover {
  text-decoration-color: var(--new-orange);
}

.usertable tr span.usersname a:hover {
  opacity: 1;
}

.usertable .user-avatar .avatar-image {
  position: absolute;
  left: 0px;
  top: 24px;
  width: 60px;
  height: 60px;
}

.usertable .user-avatar a::before {
  display: none;
}

.usertable tr span.usersname a::before {
  content: '';
  position: absolute;
  left: -0px;
  bottom: 2.4px;
  width: 14px;
  height: 14px;
  background-color: transparent;
  border: 2px var(--new-orange) solid;
}

.usertable tr:has(.isonline) span.usersname a::before {
  background-color: var(--new-orange);
}

.usertable tr .tc2,
.usertable tr .tc3 {
  padding-left: 80px;
}
.usertable tr .relation {
  padding-left: 172px;
  position: relative;
  display: block;
  font-weight: 700;
  pointer-events: none;
}

.usertable tr .relation::before {
  position: absolute;
  content: 'Óâàæåíèå:';
  bottom: 0px;
  left: 80px;
  font-weight: 400;
}

.usertable tr .num_posts {
  padding-left: 185px;
  position: relative;
  display: block;
  font-weight: 700;
  pointer-events: none;
}

.usertable tr .num_posts::before {
  position: absolute;
  content: 'Ñîîáùåíèé:';
  bottom: 0px;
  left: 80px;
  font-weight: 400;
}

.usertable tr .registered {
  position: relative;
  padding-left: 164px;
  display: block;
  font-weight: 700;
  pointer-events: none;
}

.usertable tr .registered::before {
  position: absolute;
  content: 'Ñ íàìè ñ:';
  bottom: 0px;
  left: 80px;
  font-weight: 400;
}

.usertable tr .last_visit {
  position: relative;
  padding-left: 172px;
  display: block;
  font-weight: 700;
  pointer-events: none;
}

.usertable tr .last_visit::before {
  position: absolute;
  content: 'Áûë(à) òóò:';
  bottom: 0px;
  left: 80px;
  font-weight: 400;
}

.usertable tr .user_title {
  opacity: 0.5;
  font-size: 0.8rem;
}

#userlist .fs-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#userlist .fs-box input {
  width: 275px;
  height: 40px;
  margin-top: 6px;
  color: var(--post-text);
}

#userlist legend {
  padding: 20px 0 10px;
  display: block;
  font-weight: 700;
  color: var(--post-text);
}

#userlist .fs-box .input select {
  width: 265px;
  height: 40px;
  margin-top: 6px;
  color: var(--post-text);
}

#userlist .fs-box .infofield {
  width: 1100px;
  padding: 10px 0;
  font-size: 0.8rem;
}

#userlist label {
  font-size: 0.8rem;
}

.postlink.long {
  display: flex;
  gap: 10px;
  opacity: 1;
}

#pun-viewforum .forum h2 {
  display: none;
}

#pun-viewforum .forum tr {
  display: flex;
  width: 1100px;
  padding: 10px 0;
  justify-content: flex-start;
  align-items: center;
}

#pun-viewforum .forum tbody tr:hover {
  background-color: var(--little-brighter);
}

#pun-viewforum .forum th {
  text-align: center;
  color: var(--post-text);
  font-size: 0.8rem;
}

#pun-viewforum .forum td {
  text-align: justify;
}

#pun-viewforum .forum th.tcr {
  width: 420px;
}

#pun-viewforum .forum .tcl {
  width: 420px;
}

#pun-viewforum .forum .tc2,
#pun-viewforum .forum .tc3 {
  width: 130px;
  text-align: center;
}

#pun-viewforum .forum tbody .tcr {
  width: 420px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  gap: 6px;
}

.byuser-username {
  font-weight: 400;
}

#pun-viewforum .forum .tcl a,
#pun-viewforum .forum .tcr a {
  opacity: 0.7;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

#pun-viewforum .forum table {
  border-bottom: 2px var(--new-orange) solid;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

#pun-viewforum .forum .tcl a:hover,
#pun-viewforum .forum .tcr a:hover {
  opacity: 1;
  text-decoration-color: var(--new-orange);
}

.modmenu strong a {
  font-size: 0.8rem;
  display: block;
  margin-bottom: 20px;
  opacity: 0.5;
}

.modmenu strong a:hover {
  opacity: 1;
}

#pun-viewforum .category tr {
  background-color: var(--little-brighter);
  width: 1100px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#pun-viewforum .category .tcl {
  width: 500px;
}

#pun-viewforum .category .tcl h3 a {
  font-size: 1.56rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

#pun-viewforum .category .tcl h3 a:hover {
  text-decoration-color: var(--new-orange);
}

#pun-index .subforums,
.modlist {
  display: none;
}

#pun-viewforum .category .tcr {
  padding: 0;
}

#pun-viewforum .category .tclcon {
  display: flex;
  justify-content: center;
  align-items: center;
}

#pun-viewforum .category .tclcon br,
#pun-viewforum .category .tcr br {
  display: none;
}

#pun-viewforum .category tbody {
  gap: 40px;
  margin-top: 20px;
}

#pre_placement > a {
  top: 0px;
  right: 0px;
}

.table_GamePosts {
  width: 1100px;
}

.table_GamePosts th {
  font-weight: 700;
  color: var(--new-orange);
  font-size: 1rem;
  text-transform: uppercase;
}

.table_GamePosts tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.table_GamePosts tr a {
  opacity: 0.7;
  font-weight: 700;
}

.table_GamePosts tbody tr:has(td):hover {
  background-color: var(--little-brighter);
}

.table_GamePosts tr a:hover {
  opacity: 1;
}

.table_GamePosts th.aa {
  width: 550px;
  text-align: center;
}

.table_GamePosts .bb,
.table_GamePosts .aa {
  width: 250px;
}

.table_GamePosts .aa a {
  padding: 0 6px;
}

.table_GamePosts .bb {
  text-align: center;
}

.subscribelink {
  opacity: 0.7;
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: right;
}

.subscribelink:hover {
  opacity: 1;
}

.tr-divider.imp {
  color: var(--new-orange);
  font-weight: 700;
}

#pun-viewforum .tr-divider.imp:hover,
#pun-viewforum .tr-divider.st:hover {
  background-color: transparent;
}

#pun-viewforum .tr-divider.st {
  font-size: 0;
  border-bottom: 2px var(--new-orange) solid;
  margin-bottom: 20px;
}

#pun-viewforum .forum .tcl {
  padding-left: 16px;
  position: relative;
}

#pun-viewforum .stickytext {
  display: none;
}

#pun-viewforum .forum td.tcl::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 4.6px;
  width: 10px;
  height: 10px;
  border: 2px var(--new-orange) solid;
  background-color: var(--new-orange);
}
#pun-viewforum .forum .iclosed .tcl::before {
  background-color: transparent;
}

#pun-viewforum .forum .inew .tcl a {
  color: var(--new-orange);
  opacity: 1;
}

#pun-viewforum .closedatafield {
  display: none;
}

.pl-reports {
  display: none;
}

.theme-wrapper {
  position: relative;
  overflow: hidden;
  width: 1100px;
  max-height: 786px;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 1100px;
  object-fit: cover;
  height: 786px;
  z-index: -1;
}
.hero-text {
  color: var(--permanent-white);
  padding: 60px 40px;
  text-align: justify;
}

#pun .hero-title {
  color: var(--new-orange);
  text-align: center;
  font-weight: 700;
  font-size: 1.56rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#pun .hero-subtitle {
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}

#pun .hero-links {
  text-align: right;
  margin-bottom: 20px;
  font-size: 1rem;
}
#pun .hero-links a,
#pun .theme-half-list a,
#pun .face-block a {
  text-decoration: underline;
  text-decoration-color: var(--new-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  color: var(--permanent-white);
  opacity: 0.7;
  font-size: 1rem;
}

#pun .hero-links a {
  padding-left: 10px;
}

#pun .face-block a {
  color: var(--light-back);
}

#pun .hero-links a:hover,
#pun .theme-half-list a:hover,
#pun .face-block a:hover {
  color: var(--new-orange);
  opacity: 1;
}
.theme-flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.theme-half-list {
  display: flex;
  flex-direction: column;
  width: 500px;
  height: 280px;
  overflow-x: hidden;
  overflow-y: scroll;
  margin-top: 20px;
  padding-right: 20px;
}

#pun .theme-half-list p,
#pun .face-block p {
  display: flex;
  gap: 6px;
  font-size: 1rem;
}

.theme-half-name {
  opacity: 0.7;
}

.theme-half-fill {
  flex-grow: 1;
  border-bottom: 3px var(--permanent-white) dotted;
  transform: translateY(-6px);
}

.face-block .theme-half-fill {
  border-bottom: 3px var(--light-back) dotted;
}

.theme-half-title {
  text-align: center;
  font-weight: 700;
  color: var(--new-orange);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.theme-half-subtitle {
  font-weight: 700;
  color: var(--new-orange);
  margin-top: 10px;
}

.post:has(.theme-wrapper) .post-author,
.post:has(.theme-wrapper) .post-sig,
.post:has(.theme-wrapper) h3 {
  display: none;
}
.post:has(.theme-wrapper) .post-content {
  width: 1100px;
  padding: 0;
  margin-top: -20px;
}

#filter-faces {
  width: 100%;
  margin: 20px 0 0;
  padding-right: 40px;
}

input::placeholder {
  color: var(--light-back);
  opacity: 0.5;
  font-size: 1rem;
  text-align: center;
}

.face-block-wrapper {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.face-block {
  width: 540px;
  padding: 20px;
  background-color: var(--little-brighter);
  display: flex;
  flex-direction: column;
  border-left: 2px var(--new-orange) solid;
}

.face-block-title {
  font-weight: 700;
  color: var(--new-orange);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

#pun .face-block p:has(.hidden) {
  display: none;
}

#filter-face-cancel {
  position: absolute;
  bottom: 51px;
  right: 39px;
  background-color: transparent;
  color: var(--new-orange);
  font-size: 1.95rem;
  cursor: pointer;
  padding: 10px;
  opacity: 0.7;
}

#filter-face-cancel:hover {
  opacity: 1;
}

#punbbsearch .fs-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#punbbsearch legend {
  display: none;
}

#punbbsearch .inputfield,
#punbbsearch .selectfield {
  flex-grow: 1;
}

#punbbsearch .inputfield input,
#punbbsearch .selectfield select {
  width: 100%;
  margin-top: 6px;
  height: 40px;
}

#punbbsearch .infofield {
  margin: 10px 0;
}

.infofield {
	color: var(--post-text);
	  text-align: justify;
}

.lapslock,
.lapslock .face-block-title,
.lapslock .theme-half-title,
.lapslock #pun .hero-title,
.lapslock #pun .hero-subtitle,
.lapslock #pun-navlinks a,
.lapslock .f_links a,
.lapslock .permalink,
.lapslock .answer-box cite,
.lapslock .code-box .legend,
.lapslock .code-box .legend a,
.lapslock #design-text,
.lapslock #arr-text,
.lapslock .header-ul,
.lapslock .header-font,
.lapslock .header-font-text,
.lapslock #profile-short-text,
.lapslock #profile-short-text-lz,
.lapslock #header-lapslock,
.lapslock .table_GamePosts th,
.lapslock a,
.lapslock button,
.lapslock select,
.lapslock input.button {
  text-transform: lowercase;
}

.lapslock #header-player-ready {
  left: 488px;
}

.lapslock #header-player-not-ready {
  left: 496px;
}

.pun-modal {
  position: fixed;
  left: max(20px, calc(50% - 400px));
  top: max(20px, calc(50dvh - 298px));
  background-color: var(--little-brighter);
  z-index: 1000;
  width: 800px;
  max-width: calc(100% - 40px);
}

.jGrowl {
  z-index: 100001;
}

.jGrowl-notification {
  display: none;
}

.jGrowl-notification,
.jGrowl-closer,
.notification-spoiler {
  width: min(400px, calc(100% - 40px));
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  opacity: 1;
}
.notification {
  min-height: 50px;
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 20px;
  border-left: 2px var(--new-orange) solid;
  color: var(--permanent-white);
}
.notification-spoiler {
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.jGrowl-notification .jGrowl-close {
  font-size: 1.25rem;
  font-weight: 400;
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  color: var(--new-orange);
}
.jGrowl-notification .jGrowl-close:hover {
  opacity: 1;
}
.jGrowl-notification .jGrowl-header {
  font-size: 16px;
  padding-bottom: 10px;
  opacity: 0.7;
}
.jGrowl-notification a,
.jGrowl-notification em.guest-link {
  color: var(--permanent-white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.jGrowl-notification a:hover {
  text-decoration-color: var(--new-orange);
}

.notification .no-sound::before {
  content: '';
}

.pun-modal .modal-bg {
  display: none;
}
.unread-notifications .modal-inner {
  padding: 20px;
}

.modal-inner h2 {
  font-size: 1.25rem;
  text-align: center;
  font-weight: 700;
  color: var(--new-orange);
  margin-bottom: 10px;
}

.modal-inner .closer {
  padding-left: 10px;
  opacity: 0.7;
  cursor: pointer;
}

.modal-inner .closer:hover {
  opacity: 1;
}

.unread-notifications .container {
  padding: 0;
  overflow: hidden;
}
.unread-notifications #notifications-info {
  padding: 0.6em 1em;
}
.unread-notifications #notifications-settings,
.unread-notifications .notifications-block-title {
  clear: both;
}
.unread-notifications #notifications-settings .font-icon {
  vertical-align: middle;
  font-size: 1.3em;
  text-decoration: none;
}
.unread-notifications #notifications-settings #settings-sound {
  position: relative;
  padding-right: 18px;
}

.unread-notifications #notifications-settings #settings-sound a::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/37/33/84528.svg');
  mask-image: url('https://forumstatic.ru/files/001c/37/33/84528.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  right: 0px;
  top: 5px;
}

.unread-notifications #notifications-settings #settings-sound.disabled {
  overflow-x: hidden;
}

.unread-notifications
  #notifications-settings
  #settings-sound.disabled
  a::before {
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/58990.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/58990.svg');
}

#notifications-settings #settings-telegram a {
  padding-right: 18px;
  position: relative;
}

#notifications-settings #settings-telegram a::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/52155.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/52155.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  right: 0px;
  top: 0px;
}

#notifications-settings {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

#notifications-settings > * {
  opacity: 0.7;
}

#notifications-settings > *:hover {
  opacity: 1;
}

.notifications-block-title a {
  opacity: 0.7;
  padding-right: 10px;
}

.notifications-block-title a:hover {
  opacity: 1;
}

#notifications-settings #settings-telegram,
#notifications-settings #settings-sound {
  height: 23.5px;
  overflow-y: hidden;
}

.unread-notifications #notifications-settings #settings-advanced {
  order: 10;
}

.unread-notifications #notifications-settings #settings-advanced a {
  padding-right: 18px;
  position: relative;
}

.unread-notifications #notifications-settings #settings-advanced a::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  background-color: var(--light-back);
  -webkit-mask-image: url('https://forumstatic.ru/files/001c/8c/be/11961.svg');
  mask-image: url('https://forumstatic.ru/files/001c/8c/be/11961.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  right: 0px;
  top: 5px;
}
.unread-notifications #notifications-settings #settings-back a::before {
  content: '\f014';
}
.unread-notifications #notifications-advanced #settings-enabled {
  float: right;
}

.unread-notifications .notification-item {
  display: grid;
  grid-template-areas:
    'not-left not-right not-delete'
    'not-left not-time not-delete';
  grid-template-columns: 60px 1fr 20px;
}

.unread-notifications .notification-left {
  grid-area: not-left;
}

.unread-notifications .notification-right {
  grid-area: not-right;
  text-align: justify;
  padding-left: 20px;
}

.notification .notification-right {
  margin-left: 70px;
  text-align: justify;
}

.unread-notifications .notification-right a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.unread-notifications .notification-right a:hover {
  text-decoration-color: var(--new-orange);
}

.unread-notifications .delete-notification {
  grid-area: not-delete;
  position: relative;
  width: 20px;
}

.unread-notifications .delete-notification::before {
  position: absolute;
  content: '&#215;';
  top: -1px;
  right: 5px;
  font-size: 1.25rem;
  color: var(--new-orange);
  font-weight: 700;
  opacity: 0;
}

.unread-notifications .notification-item:hover .delete-notification::before {
  opacity: 1;
}

.unread-notifications .time-ago {
  grid-area: not-time;
  padding-left: 20px;
  opacity: 0.7;
}

.unread-notifications #notifications-advanced #advanced-setting-list {
  padding: 0.3em 1em 0.8em;
  position: relative;
}
.unread-notifications #advanced-setting-list {
  display: block;
}
.unread-notifications #advanced-setting-list li {
  display: block;
  padding: 2px 0;
  clear: both;
}
.unread-notifications .setting-input {
  vertical-align: middle;
}
.unread-notifications .setting-input input {
  float: left;
  margin: 2px 0 0 1px;
}
.unread-notifications .setting-title {
  display: block;
  margin-left: 24px;
}
.unread-notifications .setting-title .setting-description {
  display: block;
  margin-top: 0.2em;
  font-size: 0.95em;
  opacity: 0.6;
}
.unread-notifications .setting-title .marker-new {
  position: absolute;
  margin: -0.3em 0 0 0.2em;
  color: red;
  font-weight: 700;
}
.unread-notifications .notifications-block-title {
  margin-bottom: 5px;
}
.unread-notifications .notifications-block-title span {
  font-weight: 700;
}
.unread-notifications #notifications-wrap,
.unread-notifications #notifications-advanced {
  overflow-y: scroll;
  overflow-x: hidden;
  clear: both;
  max-height: min(500px, calc(100dvh - 136px));
}

.unread-notifications #notifications-stored tbody {
  display: flex;
  flex-direction: column;
}

.unread-notifications #notifications-stored tbody tr {
  padding: 5px 0;
}

.unread-notifications #notifications-stored tbody tr:hover {
  background-color: var(--black);
}

.unread-notifications #notifications-wrap #clear-stored {
  float: right;
}
.unread-notifications #notifications {
  margin: 0 0 0 -1px;
}
.unread-notifications #notifications tbody tr:first-child td,
.unread-notifications #notifications-stored tbody tr:first-child td {
  border-top: none 0 transparent;
}
.unread-notifications #notifications tbody tr:last-child td {
  border-bottom: none 0 transparent;
}
.unread-notifications td {
  border-left: none 0 transparent;
  cursor: pointer;
}
.unread-notifications #notifications-wrap .font-icon {
  font: normal 400 1.2em 'MyBB Notifications Icon';
  text-decoration: none;
}
.notification-left {
  float: left;
  height: 60px;
}
.notification-left .notification-image {
  display: inline-block;
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center;
}
.notification-right img {
  vertical-align: middle;
}
.notify-link {
  position: relative;
}
#notify-link[data-number-unread='0'] .unreads {
  display: none;
}
#notify-link .unreads,
#navpm .unreads {
  display: block;
  position: absolute;
  top: -0.8em;
  right: -1em;
  height: 15px;
  min-width: 15px;
  padding: 0 2px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 8px;
  font:
    bold 11px Tahoma,
    Verdana;
  line-height: 14px;
  cursor: pointer;
  color: #fff;
  background: red;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  text-shadow: none;
  z-index: 1;
}
@media screen and (max-width: 540px) {
  .notify-link {
    top: -10px;
    left: 10px;
  }
  #navprofile .notify-link .unreads,
  #navpm .notify-link .unreads {
    font-size: 1.3em;
    line-height: 18px;
    height: 20px;
    min-width: 20px;
    border-radius: 10px;
  }
  .unread-notifications .modal-inner {
    margin-top: 5%;
    margin-top: 10vh;
    width: auto;
    max-width: 94vw;
  }
  .unread-notifications #notifications-wrap,
  .unread-notifications #notifications-advanced {
    max-height: 40em;
    max-height: 65vh;
  }

  #pun .punbb #pun-main .unread-notifications .modal-inner .closer {
    position: absolute;
  }
}

@media (max-width: 480px) {
  #notifications-settings #settings-telegram a,
  #notifications-settings #settings-sound {
    width: 13px;
    overflow-x: hidden;
    display: block;
    color: transparent;
  }

  #notifications-settings #settings-telegram a::before {
    top: 3px;
  }
  .unread-notifications #notifications-settings #settings-sound a::before {
    top: 3px;
  }
}

.jGrowl-message {
  text-align: justify;
  color: var(--permanent-white);
}

#jGrowl .jGrowl-message a,
#jGrowl .jGrowl-notification a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  position: relative;
  z-index: 2;
}

#jGrowl .jGrowl-message a:hover,
#jGrowl .jGrowl-notification a:hover {
  text-decoration: var(--new-orange);
}

#jGrowl .jGrowl-notification {
  color: var(--permanent-white);
  font-family: 'Mont';
}
