/*  L2 Valiant — тёмная тема форума.
    Наследует разметку prosilver, переопределяет цвета под дизайн сайта.
*/

@import url("../../prosilver/theme/normalize.css");
@import url("../../prosilver/theme/base.css");
@import url("../../prosilver/theme/utilities.css");
@import url("../../prosilver/theme/common.css");
@import url("../../prosilver/theme/links.css");
@import url("../../prosilver/theme/content.css");
@import url("../../prosilver/theme/buttons.css");
@import url("../../prosilver/theme/cp.css");
@import url("../../prosilver/theme/forms.css");
@import url("../../prosilver/theme/icons.css");
@import url("../../prosilver/theme/colours.css");
@import url("../../prosilver/theme/responsive.css");

/* ------------------------------------------------------------------ основа */

html { background: #0a0b0f; }

body {
  background: #0a0b0f;
  color: #c3c6cf;
  font-family: Manrope, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 15px;
}

h1, h2, h3, h4 { font-family: Philosopher, Georgia, serif; color: #e8e6e0; }

a, a:link, a:visited { color: #e8c766; }
a:hover, a:active { color: #f6e2a6; }

.wrap {
  background-color: #0d0f15;
  border: 1px solid #22273300;
  max-width: 1180px;
}

#page-body { color: #c3c6cf; }
.inner { border-radius: 0; }

/* ----------------------------------------------------------------- шапка */

.headerbar,
.navbar,
.forumbg,
.forabg,
.headerbar > .inner {
  background-image: none !important;
}

.headerbar {
  background: linear-gradient(180deg, #14171f 0%, #0f1219 100%) !important;
  border: 1px solid #262b38;
  border-radius: 12px;
  color: #e8e6e0;
}

.site-description h1,
.site-description h1 a {
  font-family: Cinzel, Philosopher, Georgia, serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e8c766 !important;
}
.site-description p { color: #8b8f9c; }

/* Логотип phpBB меняем на эмблему сервера */
.site_logo {
  background-image: url("/assets/img/emblem.png") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 58px !important;
  height: 58px !important;
  filter: drop-shadow(0 0 10px rgba(201, 162, 39, .3));
}
.logo { padding: 8px 12px 0 0; }

.navbar {
  background: #12151c !important;
  border: 1px solid #262b38;
  border-radius: 10px;
}
.navbar ul.linklist { border-color: #262b38; }
.nav-breadcrumbs .crumb a, .navbar .linklist li a { color: #c3c6cf; }
.navbar .linklist li a:hover { color: #e8c766; }
.dropdown-extended .header, .dropdown-extended .footer { background: #12151c; border-color: #262b38; color: #c3c6cf; }
.dropdown .dropdown-contents { background: #14171f; border-color: #2b3140; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.dropdown-contents a { color: #c3c6cf; }
.dropdown li { border-color: #262b38; }
.dropdown .pointer-inner { border-color: #14171f transparent; }
.dropdown .pointer { border-color: #2b3140 transparent; }

/* --------------------------------------------------- заголовки разделов */

.forabg, .forumbg {
  background: #171b24 !important;
  border: 1px solid #262b38;
  border-radius: 10px;
  margin-bottom: 14px;
}

ul.topiclist li.header dt {
  color: #d8b855;
  font-family: Philosopher, Georgia, serif;
  font-size: 16.5px;
  text-transform: none;
}
ul.topiclist li.header dd {
  color: #7e8393;
  font-size: 12px;
  letter-spacing: .4px;
}
ul.topiclist li.header dt a, ul.topiclist li.header dd a { color: #e8c766; }

ul.topiclist li { color: #c3c6cf; }
ul.topiclist dd { border-left-color: #22273a; }

li.row {
  background: #101319;
  border-top: 1px solid #1c212c;
  border-bottom: 1px solid #0b0d12;
}
li.row:hover { background: #151922; }
li.row strong { color: #e8e6e0; }
li.row dt a.forumtitle, li.row dt a.topictitle {
  color: #e6e3da;
  font-family: Philosopher, Georgia, serif;
  font-size: 17px;
  text-shadow: none;
}
li.row dt a.forumtitle:hover, li.row dt a.topictitle:hover { color: #e8c766; }
li.row .topic-poster, li.row .responsive-show, li.row dd.posts,
li.row dd.topics, li.row dd.views, li.row .lastpost { color: #8b8f9c; }
ul.topiclist li.row dt .list-inner { color: #9aa0ad; }

.bg1 { background-color: #101319; }
.bg2 { background-color: #12161e; }
.bg3 { background-color: #171b24; }

/* ------------------------------------------------------------ содержимое */

.panel {
  background-color: #12161e;
  border: 1px solid #262b38;
  border-radius: 10px;
  color: #c3c6cf;
}
.panel h2, .panel h3 { color: #e8e6e0; }

.post { border-radius: 10px; }
.post.bg1, .post.bg2 { border: 1px solid #262b38; }
.postbody, .content, .content p, .postbody .content { color: #c8cbd4; }
.postbody h3, .postbody h3 a { color: #e8e6e0; }
.content h2, .panel h2 { border-bottom-color: #262b38; color: #e8e6e0; }

.postprofile {
  background: #0d1016;
  border: 1px solid #1e232e;
  border-radius: 8px;
  color: #8b8f9c;
}
.postprofile strong { color: #c3c6cf; }
.online { background-image: none; }

.signature { border-top-color: #262b38; color: #8b8f9c; }
blockquote {
  background: #0e1117;
  border-color: #2b3140;
  color: #b9bcc6;
}
blockquote cite { color: #e8c766; }
.codebox {
  background: #0a0c11;
  border-color: #2b3140;
  color: #c3c6cf;
}
.codebox p { border-bottom-color: #2b3140; color: #8b8f9c; }
.codebox code { color: #9fd6a8; }

.rules {
  background: #251f12;
  border: 1px solid #5c4a24;
  border-radius: 8px;
  color: #d6a34a;
}
.error { color: #d1584f; }
.notice { border-top-color: #262b38; }

/* ----------------------------------------------------------- таблицы, cp */

.table1 thead th {
  background: #171b24;
  color: #d8b855;
  border-bottom: 1px solid #262b38;
  font-family: Philosopher, Georgia, serif;
}
.table1 tbody tr { border-color: #1c212c; background: #101319; }
.table1 tbody tr:hover, .table1 tbody tr.hover { background: #151922; color: #e8e6e0; }
.table1 td { color: #b9bcc6; }

.cp-menu { background: transparent; }
.cp-main .panel { background: #12161e; }
.navigation a {
  background: #12161e;
  border: 1px solid #262b38;
  color: #c3c6cf;
  border-radius: 8px;
}
.navigation a:hover { background: #171b24; color: #e8c766; }
.navigation .activetab > a { background: #1c2130; color: #e8c766; border-color: #4a4224; }
.tabs .tab > a { background: #12161e; color: #c3c6cf; border-color: #262b38; }
.tabs .activetab > a { background: #1c2130; color: #e8c766; }
.mini-post-list, .cp-mini { background: #0d1016; border-color: #1e232e; }

/* -------------------------------------------------------------- формы */

input, textarea, select,
.inputbox, .inputbox:hover, .inputbox:focus {
  background-color: #0c0e14;
  border-color: #2b3140;
  color: #dfe0e5;
  border-radius: 8px;
}
.inputbox:focus { border-color: #c9a227; box-shadow: 0 0 0 3px rgba(201,162,39,.12); }
input::placeholder, textarea::placeholder { color: #6d7280; }

.button, .button1, .button2, a.button1, a.button2, input.button1, input.button2 {
  background: #191d27 !important;
  border: 1px solid #333a4a !important;
  color: #dfe0e5 !important;
  border-radius: 8px;
  text-shadow: none;
}
.button:hover, .button1:hover, .button2:hover,
a.button1:hover, a.button2:hover, input.button1:hover, input.button2:hover {
  background: #20252f !important;
  border-color: #c9a227 !important;
  color: #e8c766 !important;
}
.button.button-secondary, .button-search {
  background: #191d27 !important;
  color: #dfe0e5 !important;
}
.button-search-end { border-radius: 0 8px 8px 0; }

.pagination li a, .pagination li.ellipsis span {
  background: #12161e;
  border-color: #2b3140;
  color: #c3c6cf;
}
.pagination li.active span {
  background: #1c2130;
  border-color: #4a4224;
  color: #e8c766;
}
.pagination li a:hover, .pagination .dropdown-visible a.dropdown-trigger {
  background: #20252f;
  border-color: #c9a227;
  color: #e8c766;
}

.search-header, .search-box .inputbox { background: #0c0e14; }
.search-header { border-color: #2b3140; }

/* ----------------------------------------------------------- иконки, низ */

.row-item .icon, .row-item:before { color: #4f5666; }
.forum_unread .icon, .topic_unread .icon,
.forum_unread_subforum .icon, .topic_unread_hot .icon,
.topic_unread_mine .icon, .sticky_unread .icon, .announce_unread .icon,
.global_unread .icon { color: #c9a227; }
.forum_read .icon, .topic_read .icon, .sticky_read .icon,
.announce_read .icon, .global_read .icon { color: #495064; }
.forum_link .icon { color: #7d8496; }
.icon.icon-red, .icon.icon-blue, .icon.icon-green, .icon.icon-orange { color: #b9a05a; }
.stat-block h3, .online-list { color: #8b8f9c; }

.copyright { color: #6d7280; padding: 18px 0 24px; }
.copyright a { color: #8b8f9c; }
.footer-row { color: #6d7280; }

hr { border-color: #262b38; }
.divider { border-top-color: #262b38; border-bottom-color: #0b0d12; }

/* Кнопка «назад на сайт» встраивается в навбар шаблоном prosilver */
.linklist .site-home a::before { color: #c9a227; }

@media (max-width: 700px) {
  .wrap { padding: 0 8px; }
  .headerbar, .navbar { border-radius: 8px; }
}
