/* ============================================================
   ÏÎÄÊËÞ×ÅÍÈß
   ============================================================ */
@import url(style_cs.1791111435.css);

@font-face {
  font-family: "Constantia";
  src: url("https://forumstatic.ru/files/001a/0f/73/80953.ttf");
}

/* ============================================================
   ÁÀÇÎÂÛÅ ÑÁÐÎÑÛ
   ============================================================ */
html, body { margin: 0; padding: 0; }

.punbb * {
  margin: 0;
  -webkit-text-size-adjust: 100%;
}

.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}

.punbb img { border: none; }

.punbb .main table {
  table-layout: fixed;
  width: 100%;
  border: none;
}
.punbb .main table thead { display: none; }
.punbb .main table tbody,
.punbb .main table tbody tr,
.punbb .main table tbody tr td { border: none; }

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] { margin: 0 0.3em; }

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle;
}

body { font-size: 98%; }

.punbb { font: normal 14px var(--font-main); }

.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em var(--font-main);
}

.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
}

.punbb h1 span, .punbb h2 span, .punbb legend span { font-size: 1.1em; }

.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

.punbb address, .punbb em { font-style: normal; }
.punbb .post-content em { font-style: italic; }
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}
.punbb a { text-decoration: underline; }
.punbb optgroup { font-weight: bold; }

.punbb-admin #pun-admain {
    background-color: var(--bg-page);
}

.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a,
.punbb-admin #pun-admain a:link,
.punbb-admin #punbb-admain a:visited {
  text-decoration: none;
}

/* Î÷èñòêà îáòåêàíèÿ */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0.0;
  font-size: 0;
}

/* Ñêðûòûå ýëåìåíòû */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

/* ============================================================
   ÍÎÂÛÅ ÑÒÈËÈ (êàñòîìíûå)
   ============================================================ */

/* --- Êíîïêè ïåðåêëþ÷åíèÿ ò¸ìíîé/ñâåòëîé òåìû --- */
.themes-buttons-wrap {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 50px;
  width: 100px;
  background-color: var(--bg-brown);
  border-radius: 0 0 var(--radius-lg) 0;
}
.themes-buttons-wrap span {
  font-size: 30px;
  cursor: pointer;
}
#lighttheme { color: var(--bg-light-brown); }

/* --- Ìóëüòèàêêàóíòû --- */
.pa-gifts { display: none; }

#navprofiles {
  position: relative;
  z-index: 999;
}

#pun-navlinks.section .multiacc-profilemenu {
  position: absolute;
  top: 20px;
  right: 0;
  width: max-content;
  height: auto;
  background: var(--bg-panel-light);
  border: 1px solid var(--border-dark);
  color: var(--text-main);
  border-radius: 0 !important;
}

.multiacc-profilemenu li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  gap: 10px;
  width: 100%;
}

.multiacc-profilemenu li a {
  display: block;
  flex-grow: 1;
  text-align: left;
  padding-left: 20px;
  position: relative;
}

.multiacc-profilemenu li:first-child {
  background-color: var(--bg-panel-gray-light);
  font-weight: 700;
}

#pun-navlinks.section .multiacc-profilemenu li {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  font-size: 0.8rem;
  padding: 6px 16px 10px;
  border-bottom: 1px solid var(--border-menu);
  top: 0;
  width: auto;
}
#pun-navlinks.section .multiacc-profilemenu li:last-child { border-bottom: 0; }
#pun-navlinks.section .multiacc-profilemenu li:hover {
  box-shadow: var(--shadow-menu-hover);
}
#pun-navlinks.section .multiacc-profilemenu li a {
  color: var(--text-muted);
  padding: 0;
}
#pun-navlinks.section .multiacc-profilemenu li a:hover { color: var(--text-muted-hover); }

.multiacc-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.multiacc-dialog {
  z-index: 9999;
  padding: 10px;
  font-size: 0.8rem;
  background: var(--bg-panel-gray) !important;
  border: 1px solid var(--border-dark);
  color: var(--text-main);
}
.multiacc-dialog > form {
  border: 1px solid var(--border-light);
  padding: 10px 10px 2px;
}
.multiacc-dialog input {
  padding: 4px 10px;
  border: 1px solid var(--border-input);
}
.multiacc-dialog div {
  display: flex;
  justify-content: center;
}
.multiacc-dialog div:not(.multiacc-dialog div:last-child) {
  flex-direction: column;
}
.multiacc-dialog button {
  margin: 6px;
  padding: 4px 8px;
  background: var(--bg-panel-light);
  color: var(--text-muted);
  border-inline: 1px solid var(--border-dark);
  border-block: 0;
  border-radius: 4px;
  cursor: pointer;
}
.multiacc-dialog button:hover { color: #444; }

/* --- Øàïêà --- */
.header-wrap {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 400px;
}

.quots-and-admins-block,
.image-block {
  width: 95%;
  height: 95%;
  margin: 0 17px !important;
}

.quots-and-admins-block {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 1fr 2fr 3fr 1fr;
}
.quots-and-admins-block h1 {
  font-family: var(--font-heading);
  font-size: 2.5em !important;
  text-align: center;
  color: var(--color-primary);
}
.quots-and-admins-block .h1-mob { display: none; }

#quot-and-news { display: block; }
#admins { display: none; }
#quot-and-news hr {
  margin: 5px;
  border: solid 1px var(--border-divider);
}

.qute, .news, #admins .admins-list {
  overflow: scroll;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

::-webkit-scrollbar { height: 7px; width: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 4px;
}

.qute { height: 120px; }
.news { height: 140px; }

.buttons-block {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 5px !important;
  height: 50px;
  text-align: center;
}
.buttons-block button {
  height: 40px;
  width: 190px;
  border-radius: var(--radius-md);
  border: none;
  background-color: var(--color-primary);
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 1em;
  cursor: pointer;
  margin: 0 10px;
  transition: .4s;
}
.buttons-block button:hover { background-color: var(--color-primary-hover); }

.image-block {
  height: 90%;
  width: 95%;
  border-radius: var(--radius-xl);
  margin: 0 auto !important;
  background-size: cover;
  background-position: center;
}

#admins, #quot-and-news { transition: .5s; }

#admins .admins-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 272px;
}
#admins .admin-card {
  height: 45%;
  width: 45%;
  text-align: center;
  color: var(--text-heading);
  margin: 10px auto;
}
#admins .admin-card .avatar-wrap {
  display: block;
  width: 100%;
  height: 85px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 5px;
  transition: .5s;
  filter: grayscale(60%);
  opacity: .7;
}
#admins .admin-card .avatar-wrap:hover {
  filter: grayscale(0%);
  opacity: 1;
}
#admins .admin-card h2 {
  font-family: var(--font-heading);
  font-weight: bold;
  text-transform: uppercase;
}

/* --- Ïðîôèëü â ïîñòàõ --- */
.pa-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 14px;
}
.pa-fld3 img { width: 100%; }

.pa-fld1 {
  margin: 0 8% !important;
  padding: 3px 0 !important;
  width: 84%;
  border: solid 2px var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: var(--text-gold);
}
.pa-fld2 > .bonus {
  margin: 10px 8% !important;
  padding: 3px 0 !important;
  width: 40%;
  border: solid 2px var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: var(--color-accent);
}
.post-img-Sp {
  display: block;
  position: relative;
  top: 69px;
  left: 135px;
  padding: 6px 26px !important;
  border: solid 2px var(--border-color) !important;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.pa-avatar img {
  margin: 0 8%;
  width: 84%;
}
.pa-posts, .pa-respect {
  display: block;
  width: 40%;
  text-align: center;
  float: left;
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 12px;
  color: var(--color-accent);
  text-transform: uppercase;
}
.pa-posts {
  margin-left: 8% !important;
  margin-right: 4% !important;
}
.pa-respect { margin-left: 1% !important; }

.pa-online {
  display: block;
  font-family: var(--font-ui);
  font-weight: bold;
  font-size: 14px;
  color: var(--color-accent);
  text-align: center;
  padding: 5px !important;
  border: none !important;
  margin-top: 53px !important;
  margin-bottom: 10px !important;
}

.post-body { border: none !important; }

.punbb .post-content .quote-box {
  margin: 20px 5px !important;
  padding: 15px 30px !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-quote);
}
.punbb .post-content .quote-box blockquote p {
  margin: 0 !important;
  line-height: 180% !important;
}

.image-top { display: none; }

#pun-main table div.tclcon {
  margin-left: 20px !important;
  padding-left: 0 !important;
}
#pun-main table div.tclcon h3 a {
  text-transform: uppercase;
  font-size: 18px;
}

.forum-image {
  position: relative;
  top: -22px;
  height: 130px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.links > a, .header > a {
  color: var(--text-menu) !important;
  transition: .4s;
}
.links > a:hover, .header > a:hover {
  color: var(--text-light-hover) !important;
}
.header { margin-bottom: 5px !important; }
.header > a {
  text-transform: uppercase !important;
  font-size: 20px;
}
.links > a {
  font-size: 12px;
  margin: 0 5px;
}

#pun-main .subforums { display: none; }

.sub-menu {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  position: absolute;
  margin: 0 auto !important;
  overflow: hidden;
  width: 46%;
  height: 0;
  z-index: 999 !important;
  border-radius: var(--radius-md);
  background-color: var(--color-primary);
}
.sub-menu li {
  padding: 10px 0 !important;
  width: 100%;
  text-align: center;
}
.sub-menu li a {
  color: var(--text-light) !important;
  text-align: center;
  transition: .4s;
}
.sub-menu li:hover {
  transition: .5s;
  background-color: var(--color-secondary);
}

#pun-navlinks li a { transition: .3s; }

.banner-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 15px;
}
.banner-block a {
  margin: 5px;
  opacity: .7;
  transition: .7s;
}
.banner-block a:hover { opacity: 1; }
.banner-block a img { height: 30px; }

.punbb fieldset { border: none !important; }

.formsubmit input[type="submit"],
.formsubmit #priv-btn input[type="button"],
#pun-reputation .inner input[type="button"],
#SubmitMPst,
.dice {
  height: 40px;
  width: 190px;
  border-radius: var(--radius-md);
  border: none;
  background-color: var(--color-primary);
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 1em;
  cursor: pointer;
  margin: 0 10px;
  transition: .4s;
}
.formsubmit input[type="submit"]:hover,
.formsubmit #priv-btn input[type="button"]:hover,
.dice:hover { background-color: var(--color-primary-hover); }
.dice { margin-left: 0.4em !important; }

.forum-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin: 10px 0 !important;
}
.forum-links a {
  text-transform: uppercase;
  font-weight: 900;
  font-size: 14px;
  margin: 0 5px 0 0;
  transition: .4s;
}

.punbb table div.icon { height: 50px; width: 50px; }

.reactions-container { display: none !important; }

p[class="checkfield"] img,
div[class="checkfield"] img,
fieldset[class="radiofield"] img { margin: 10px; }

.punbb legend span,
#viewprofile h2 span,
#profilenav h2 span,
.punbb-admin #pun-admain legend span { color: var(--text-heading); }

#viewprofile ul, #profilenav ul { border: none !important; }
.post-content td { border-color: transparent !important; }

#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner,
#movePostsTable,
.pun-modal.move_posts_form .modal-inner {
  background-color: var(--bg-page);
  border-radius: var(--radius-xl);
  padding: 10px;
}
.pun-modal.move_posts_form .modal-inner {
  height: 90vh !important;
  overflow-y: auto;
  margin-top: 1vh !important;
}

.lastedit { display: none !important; }

#random-quote p em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.snowflake {
  position: fixed;
  background: var(--color-primary);
  background-image: url(https://forumstatic.ru/files/001a/0f/73/58252.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 var(--radius-md);
  top: 0;
  left: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
}

.zmeya-img {
  width: 100%;
  height: 90px;
  position: relative;
}
.zmeya-img img {
  width: 260px;
  margin: auto !important;
  display: block;
}

.tunnel { display: none; }

#vk-button {
  width: 60px;
  height: 60px;
  position: fixed;
  right: -20px;
  top: 165px;
  background-color: var(--bg-page);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  cursor: pointer;
  opacity: .8;
  transition: all .3s;
}
#vk-button:hover { right: 0; opacity: 1; }
#vk-button img {
  width: 40px;
  height: 40px;
  margin-top: 10px;
  margin-left: 10px;
}

.hint, .map-hint {
  display: none;
  position: absolute;
  left: -100px;
  top: 16px;
  color: blanchedalmond;
  background-color: black;
  padding: 6px;
}
.map-hint { left: -54px; }
.hint p, .map-hint p { padding: 0; margin: 0; }
#vk-button:hover .hint,
#open-map:hover .map-hint { display: block; }

.pl-quote a[title="Îòâåòèòü íà ñîîáùåíèå"],
.pl-reports a { display: none !important; }

#main-reply {
  padding: 10px;
  box-sizing: border-box;
  background-color: var(--bg-panel);
}

/* ============================================================
   ÑÒÈËÈ ÈÇ style_cs.1791111435.css (îáúåäèíåíû)
   ============================================================ */

#tags .container {
  background: var(--bg-panel);
  margin: 0;
  padding: 10px;
  box-shadow: 0 5px 5px black;
}

.pun-modal .modal-inner {
  background: var(--color-secondary);
  overflow-y: scroll !important;
  height: 95%;
}

html, body {
  background-image: url("https://forumstatic.ru/files/0018/8e/2a/99824.webp");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

a { transition: .4s; }
a:hover { color: var(--color-accent-hover) !important; }

#pun { background-color: var(--bg-page); }

.punbb fieldset legend span { color: var(--color-accent); }

/* Èêîíêè ñîîáùåíèé */
.punbb table div.icon {
  float: left;
  display: block;
  width: 109px;
  height: 109px;
  border-style: none;
  background-image: url("https://forumstatic.ru/files/0018/8e/2a/49718.webp");
  background-repeat: no-repeat;
  position: relative;
}
tr.inew div.icon {
  background-image: url("https://forumstatic.ru/files/0018/8e/2a/37285.webp");
  background-repeat: no-repeat;
}
tr.isticky div.icon {
  background-image: url("https://forumstatic.ru/files/0018/8e/2a/37285.webp");
  background-repeat: no-repeat;
}
tr.iclosed div.icon {
  background-image: url("https://forumstatic.ru/files/0018/8e/2a/59012.webp");
  background-repeat: no-repeat;
}
tr.iredirect div.icon {
  background-image: url("https://forumstatic.ru/files/0018/8e/2a/49718.webp");
  background-repeat: no-repeat;
}
#pun-main table div.tclcon { padding-left: 110px; }

/* Âûäåëåíèå òåêñòà */
::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ============================================================
   ÁÀÇÎÂÀß Â¨ÐÑÒÊÀ
   ============================================================ */
#pun {
  margin: 50px auto;
  width: 60vw;
  position: relative;
  border-radius: var(--radius-xl);
  padding: 20px;
}

.punbb {
  float: left;
  width: 100%;
  height: auto;
}

#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

.punbb .section, .punbb .main { margin-bottom: 1em; }
.punbb .category, .punbb .post { margin-top: 0.4em; }
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost { margin-top: 0; }
#pun-post .topic { margin-top: 1em; }

.punbb .container {
  border-style: solid;
  border-width: 1px;
}

.punbb .section h2,
#pun-main h1,
#pun-main h2,
#pun-stats h2,
#pun-debug h2 {
  padding: 0.5em 1em;
  text-align: center;
  border-radius: var(--radius-lg);
  font-size: 19px;
  text-transform: uppercase;
  font-weight: bold;
}

#pun-main h2 {
  background-color: var(--bg-panel);
  color: var(--text-heading);
}

/* ============================================================
   ÊÎÍÒÅÍÒ
   ============================================================ */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #888;
  width: 250px;
  margin: 5px 0;
}
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  text-align: justify;
}
.punbb .post-content img { vertical-align: text-bottom; }
.punbb .post-content img.postimg { vertical-align: middle; }

.punbb .post-content .blockcode,
.punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
}
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}
.punbb .post-content .quote-box {
  margin: 0.4em 1.8em 1.4em 1.8em;
  padding: 1em;
  border-style: solid;
  border-width: 1px;
}
.punbb .post-content .code-box {
  margin: 5px !important;
  padding: 15px 30px !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-quote);
  background-color: var(--bg-panel);
}
.punbb .quote-box cite,
.punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 0;
}

/* Èíôîáîêñû */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
}
.punbb .info-box * { padding: 0 0 0.7em 0; }
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
}

/* Ïàãèíàöèÿ */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
}
.multipage { margin-top: 3em; }
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
}
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
}
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
}
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
}
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold;
}
.subscribelink {
  clear: both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}

/* ============================================================
   ÔÎÐÌÛ
   ============================================================ */
.punbb .formal .container { padding: 1.7em 2.3em 1.1em 2.3em; }
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
}
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span { margin: 0 0.6em 0 0; }

.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0;
}
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em;
}
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
}
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0;
}
.punbb .fs-box { padding: 1em 0 0.8em 0; }
.punbb .fs-box p,
.punbb .fs-box fieldset { padding: 0 0 0.8em 0; }

.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
  float: left;
  margin-right: 1em;
}
.punbb .inline .infofield { clear: both; }
.punbb .datafield br { display: none; }
.punbb .required label,
.punbb .datafield span.input { font-weight: bold; }
.punbb .datafield span.input a { font-weight: normal; }
.punbb .areafield span.input,
.punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%;
}
.punbb textarea,
.punbb .longinput input {
  width: 64%;
  margin: 0;
}
.punbb .hashelp { position: relative; }
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
}
.punbb #profile .helplinks { top: 1.5em; }
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
}
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   ÒÀÁËÈÖÛ
   ============================================================ */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
}
.punbb .main .tc2,
.punbb .main .tc3,
.punbb .main .tcmod {
  text-align: center;
  width: 10%;
}
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
}
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl { width: 40%; }
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}
#pun-debug table .tcl {
  width: 15%;
  white-space: normal;
}
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}
#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: bold;
}
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}
.punbb td .modlist {
  display: block;
  padding-top: 0.3em;
}
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0.8em 1em;
}
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
}
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
}
.punbb tbody.hasicon td.tcl { padding-left: 3.2em; }

.punbb div.icon {
  border-style: solid;
  border-width: 0.6em 0.6em 0.6em 0.6em;
  height: 0;
  line-height: 0.0;
  margin-top: 0.1em;
  width: 0;
}
.punbb table div.icon {
  font-size: 1.05em;
  position: absolute;
  margin-left: -2.2em;
}

/* ============================================================
   ÒÅÌÛ (ÏÎÑÒÛ)
   ============================================================ */
.punbb .post .container {
  margin-top: -1px;
  padding-bottom: 1px;
}

.punbb .post h3 span {
  padding: 3px 10px;
  display: block;
  background-color: var(--bg-panel);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 25px;
}
.punbb .post h3 strong {
  float: right;
  width: auto;
  text-align: right;
  font-weight: normal;
}

.punbb .post .post-author {
  float: left;
  width: 250px;
  overflow: hidden;
  background-color: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding-bottom: 12px;
}
.punbb .post .post-author ul,
.punbb .post .post-author p {
  list-style-type: none;
  line-height: 140%;
}

.pa-author {
  color: var(--text-author);
  font-family: var(--font-serif);
  text-align: center;
  font-size: 1.6em;
  font-weight: bold;
  padding: 5px 0 !important;
}
.pa-author a {
  text-decoration: none !important;
  color: var(--text-author) !important;
}

li.pa-title {
  padding-bottom: 0.4em;
  font-weight: bold;
  text-align: center;
  color: var(--text-gold);
}

li.pa-online {
  line-height: 0.8em;
  border-left-style: solid;
  border-left-width: 0.7em;
  padding-left: 0.4em;
  margin-top: 0.7em;
}

.punbb .post-body {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0 1px 0;
}
.punbb .post-box { padding: 1em; }
.punbb fieldset .post-box { margin-bottom: 0.8em; }

.punbb .post-links { margin-left: 19em; }
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
}
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
}
.pl-email, .pl-website { float: left; }
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

/* ============================================================
   ÌÎÄÅÐÀÒÎÐÑÊÎÅ ÌÅÍÞ
   ============================================================ */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
}
.punbb .modmenu strong,
.punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}
.punbb .modmenu .container strong { float: left; }
.punbb .modmenu input { margin-left: 1em; }

/* ============================================================
   ÑÎÎÁÙÅÍÈß / ÈÍÔÎ-ÁÎÊÑÛ
   ============================================================ */
.punbb .info .container { padding: 0.8em 1em; }
.punbb .info .container .backlink { padding-top: 0.8em; }

/* ============================================================
   ÏÐÎÔÈËÜ
   ============================================================ */
#profile .container { padding-left: 18.6em; }

#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
}
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}

#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
}
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
}
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
}
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
}
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
}
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
}
#viewprofile li strong,
#viewprofile li div,
#setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
}
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

/* ============================================================
   ÑÏÈÑÎÊ ÏÎËÜÇÎÂÀÒÅËÅÉ
   ============================================================ */
#pun-userlist .formal,
#pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
}
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
}

/* ============================================================
   ËÎÃÎÒÈÏ È ÎÏÈÑÀÍÈÅ
   ============================================================ */
#pun-title {
  display: none;
  margin: 0;
  border-style: solid solid none solid;
  border-width: 1px 1px 0 1px;
}
#pun-title h1 {
  display: block;
  height: 40px;
  padding: 2em 1em 0 1em;
}
#pun-title .container {
  border-style: none solid none solid;
}
#pun-title h1 span { font-size: 1.5em; }

#pun-title table {
  border: none;
  height: 40px;
  width: 100%;
}
#pun-title td.title-logo-tdl {
  border: none;
  width: 100%;
}
#pun-title td.title-logo-tdr {
  border: none;
  width: 468px;
}

/* ============================================================
   ÍÀÂÈÃÀÖÈß ÏÎ ÑÒÐÀÍÈÖÀÌ
   ============================================================ */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
}
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0;
}
#pun-pagelinks .container li { display: inline; }
#pun-pagelinks li a,
#pun-pagelinks a:link,
#pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float: left;
  width: 100%;
}
#pun-pagelinks a:active,
#pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}
#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}

/* ============================================================
   ÍÀÂÈÃÀÖÈß ÔÎÐÓÌÀ
   ============================================================ */
#pun-navlinks, #pun-navlinks .container {
  border-style: none;
  border-width: 0;
  margin: -25px 0 0 0;
}
#pun-navlinks .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.7em 1em;
  text-align: center;
  background-color: transparent;
}
#pun-navlinks li {
  display: inline;
  padding: 0 .7em;
}
#pun-navlinks li a {
  font-family: var(--font-ui);
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text-heading);
}
#pun-navlinks li a:hover {
  text-decoration: none;
  color: var(--color-secondary);
  text-shadow: 0 0 5px white;
}

/* ============================================================
   ÑÑÛËÊÈ ÏÎËÜÇÎÂÀÒÅËß
   ============================================================ */
#pun-ulinks {
  margin-top: 0;
  text-align: center;
}
#pun-ulinks .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  border-top: none;
  padding: 0.7em 1em;
}
#pun-ulinks li,
#pun-ulinks li a {
  display: inline;
  white-space: nowrap;
  text-decoration: none;
}
#pun-ulinks li a {
  padding: 0 0.4em;
  font-weight: bold;
  font-family: var(--font-ui);
  color: var(--text-heading);
  transition: .4s;
}
#pun-ulinks li.item1,
#pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0;
  transition: .4s;
}
#pun-ulinks li.item1:hover,
#pun-ulinks li.item1 a:hover {
  color: var(--color-secondary);
  text-shadow: 0 0 5px white;
}

/* ============================================================
   ÏÐÈÂÅÒÑÒÂÈÅ È ÕËÅÁÍÛÅ ÊÐÎØÊÈ
   ============================================================ */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
}
#pun-status .container { padding: 0.8em 1em 1em 1em; }
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
}
#pun-status a {
  font-weight: bold;
  text-decoration: none;
}

#pun-crumbs1 {
  display: block;
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
}
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
}
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
}

/* ============================================================
   ÎÁÚßÂËÅÍÈß
   ============================================================ */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  position: relative;
  font-weight: bold;
  border: none;
}
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
}

/* ============================================================
   ÑÒÀÒÈÑÒÈÊÀ
   ============================================================ */
#pun-stats .container { padding: 0.8em 1em; }
#pun-stats li.item1,
#pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
}
#pun-stats li.item3,
#pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
}
li#onlinelist {
  margin-top: 1em;
  border-top-style: solid;
  border-top-width: 1px;
  float: left;
  width: 100%;
  line-height: 130%;
}
li#onlinelist div { padding: 0.7em 0 0 0; }

/* ============================================================
   ÁÛÑÒÐÛÉ ÏÅÐÅÕÎÄ / Î ÔÎÐÓÌÅ / ÍÈÆÍÈÅ ÊÐÎØÊÈ
   ============================================================ */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
}
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
}
#pun-about { margin-top: 0; }
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
}
#pun-about p span {
  display: block;
  padding-left: 50%;
}
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
}
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
}
#pun-break4 {
  margin: -2px 1em;
  border-style: solid none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
}
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
}

/* ============================================================
   ÑÏÐÀÂÊÀ
   ============================================================ */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
}
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
}
#pun-help .formal p,
#pun-help .formal dd { margin-bottom: 1em; }
#pun-help .formal ul,
#pun-help .formal dl { padding: 0 0 0 1em; }
#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}
#pun-help .formal li * { vertical-align: text-top; }
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}
#pun-help .formal .parsedmsg,
#pun-help .formal .parsedmsg .incode { padding-bottom: 0; }

/* ============================================================
   ÖÂÅÒÎÂÛÅ ÑÕÅÌÛ (CS)
   ============================================================ */

/* CS1 Ôîíû è öâåòà òåêñòà */
.punbb .section .container,
.punbb .post-body,
.punbb .post-links,
.punbb td.tc2,
.punbb td.tc3,
.punbb .formal fieldset .post-box,
#viewprofile li strong,
#viewprofile li div,
#setmods dd,
.punbb .info-box,
.punbb #pun-main .info-box .legend {
  background-color: transparent;
  color: var(--text-dark);
}

.punbb .main .container,
.punbb .post .container,
.punbb .post h3,
.punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: var(--text-main);
}

#pun-stats h2,
.punbb .main h1,
.punbb .main h2,
#pun-debug h2,
.punbb-admin #pun-admain h2 {
  background-color: transparent;
  color: var(--text-heading);
}

#pun-title, #pun-title .container,
.punbb .modmenu .container {
  background-color: transparent;
  color: var(--text-main);
}

.punbb legend span,
#viewprofile h2 span,
#profilenav h2 span,
.punbb-admin #pun-admain legend span {
  background-color: transparent;
  color: #005EAB;
}

.punbb .post h3 span,
.punbb th,
#viewprofile li,
#setmods dl {
  background-color: transparent;
  color: var(--text-main);
}

.punbb .quote-box,
.punbb .code-box {
  background-color: transparent;
  color: var(--text-main);
}

.offline li.pa-online strong { font-weight: normal; }

/* CS2 Ãðàíèöû */
.container { border: transparent; }

#pun-ulinks li,
#pun-announcement h2 span,
li#onlinelist,
#pun-help .formal .info-box h3.legend span {
  border-color: transparent;
}

#pun-ulinks li a,
#pun-announcement h2,
li#onlinelist div,
#pun-help .formal .info-box h3.legend {
  color: var(--text-heading);
  transition: .4s;
}

#pun-ulinks li a:hover,
#pun-announcement h2:hover,
li#onlinelist div:hover,
#pun-help .formal .info-box h3.legend:hover {
  color: var(--color-accent-hover);
}

.punbb .divider { border-color: transparent; }

/* CS3 Ññûëêè */
.punbb a,
.punbb a:link,
.punbb a:visited,
.punbb-admin #pun-admain a,
.punbb-admin #pun-admain a:link,
.punbb-admin #punbb-admain a:visited {
  color: var(--color-accent);
}

.punbb li.isactive a,
.punbb li.isactive a:link,
.punbb li.isactive a:visited {
  color: var(--text-main);
}

.punbb a:hover,
.punbb a:focus,
.punbb a:active,
.punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover,
.punbb-admin #punbb-admain a:focus,
.punbb-admin #punbb-admain a:active {
  color: var(--text-link-alt);
}

#pun-navlinks a {
  color: var(--text-link-alt);
  text-decoration: none;
}
#pun-navlinks a:hover,
#pun-navlinks a:focus,
#pun-navlinks a:active {
  color: var(--text-link-alt);
  text-decoration: underline;
}
#pun-pagelinks a:active,
#pun-pagelinks a:focus {
  background-color: var(--text-main);
  color: var(--text-link-alt);
}

/* CS4 Èêîíêè ñòàòóñà ïîñòîâ */
div.icon { border-color: #E6E6E6 #DEDEDE #DADADA #E2E2E2; }
tr.iredirect div.icon { border-color: #F7F7F7 #F7F7F7 #F7F7F7 #f7f7f7; }
div.inew { border-color: #0080D7 #0065C0 #0058B3 #0072CA; }

#pun-main div.catleft,
#pun-main div.catright { display: none; }