/* ==========================================================================
   1. UKŁAD GŁÓWNY STRONY, LINKI I KONTENERY (NEDDS24.PL)
   ========================================================================== */
body {
  background: #161514 url(../../../images/tlo.png) repeat left top;
  color: #d6cfc7;
  text-align: center;
  line-height: 1.4;
  margin: 0;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 13px;
  overflow-y: scroll;
}
a:link,
a:visited {
  color: #e6dfd5;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover,
a:active {
  color: #e2b879;
  text-decoration: none;
}
#container {
  color: #e6dfd5;
  text-align: left;
  margin: 0;
  min-width: 990px;
}
.wrapper {
  width: 85%;
  min-width: 970px;
  max-width: 1500px;
  margin: 0 auto;
}
#content {
  background: #181613 url(../../../images/tlo.png) repeat left top;
  color: #e6dfd5;
  width: auto !important;
  padding: 20px 10px;
  overflow: hidden;
}
.scaleimages img {
  max-width: 100%;
}
img {
  border: none;
}
img.attachment {
  border: 1px solid #4d4133;
  background: #141516;
  border-radius: 4px;
  padding: 3px;
}
hr {
  border: 0;
  width: 90%;
  color: #292b2d;
  background-color: #292b2d;
  height: 1px;
}
.clear {
  clear: both;
}
.float_left {
  float: left;
}
.float_right {
  float: right;
}
.hidden {
  display: none;
  float: none;
  width: 1%;
}
.hiddenrow {
  display: none;
}
.smalltext {
  font-size: 11px;
}
.largetext {
  font-size: 16px;
  font-weight: bold;
}
#debug {
  float: right;
  text-align: right;
  margin-top: 20px;
  font-size: 11px;
  color: #9e968c;
}

/* ==========================================================================
   2. NAGŁÓWEK, LOGO, PANEL UŻYTKOWNIKA I WYSZUKIWARKA
   ========================================================================== */
#logo {
  background: #0f0f0f;
  padding: 16px 0 18px 0;
  border-bottom: 1px solid #26221c;
}
.nd-navbar-top {
  position: relative !important;
  z-index: 990 !important;
  background: #181613 !important;
  border-bottom: 1px solid #6b563c !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7) !important;
}
.nd-logo-zone {
  padding: 22px 0 18px 0;
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(107, 17, 255, 0.08) 0%,
    transparent 65%
  );
}
.nd-logo-link {
  display: inline-block;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.nd-logo-link:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 14px rgba(162, 254, 253, 0.25));
}

#header ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
#header ul.menu li {
  margin: 0 7px;
  display: inline;
}
#logo ul.top_links {
  font-weight: bold;
  text-align: right;
  margin: -10px 5px 0 0;
}

#panel {
  background: #141311;
  border-bottom: 1px solid #3a3024;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
}
#panel .upper,
.nd-user-panel .upper {
  background: linear-gradient(180deg, #211e1a 0%, #191714 100%) !important;
  color: #d6cfc7;
  border-top: 1px solid #3a3024 !important;
  border-bottom: 1px solid #2b2620 !important;
  padding: 9px 14px;
  clear: both;
}
#panel .upper a:link,
#panel .upper a:visited {
  color: #e6dfd5;
  transition: color 0.2s ease;
}
#panel .upper a:hover,
#panel .upper a:active {
  color: #e2b879;
}
#panel .lower {
  background: #13110f;
  color: #b8b0a6;
  border-top: none;
  border-bottom: 2px solid #8d6d47;
  padding: 7px 14px;
  overflow: hidden;
  font-size: 12px;
}
#panel .lower a:link,
#panel .lower a:visited {
  color: #d6cfc7;
  transition: color 0.2s ease;
}
#panel .lower a:hover,
#panel .lower a:active {
  color: #e2b879;
}

/* Ikony FontAwesome w panelu użytkownika */
#panel .upper a.logout,
#panel .upper a.register,
#panel .upper a.login,
#panel .upper a.lost_password,
#panel .lower ul.panel_links a.usercp,
#panel .lower ul.panel_links a.modcp,
#panel .lower ul.panel_links a.admincp,
#panel .lower ul.user_links li a {
  background: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
#panel .upper a.logout,
#panel .upper a.register,
#panel .upper a.login,
#panel .upper a.lost_password {
  font-weight: bold;
  margin-left: 12px;
}
#panel .upper a.logout::after,
#panel .upper a.register::before,
#panel .upper a.login::before,
#panel .upper a.lost_password::before,
#panel .lower ul.panel_links a.usercp::before,
#panel .lower ul.panel_links a.modcp::before,
#panel .lower ul.panel_links a.admincp::before,
#panel .lower ul.user_links li a::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  color: #e2b879 !important;
}
#panel .upper a.logout::after {
  content: "\f2f5";
  color: #f87171 !important;
}
#panel .upper a.register::before {
  content: "\f234";
  color: #34d399 !important;
}
#panel .upper a.login::before {
  content: "\f2f6";
  color: #e2b879 !important;
}
#panel .upper a.lost_password::before {
  content: "\f084";
  color: #fbbf24 !important;
}
#panel .lower ul.panel_links {
  float: left;
}
#panel .lower ul.panel_links a.usercp::before {
  content: "\f007";
}
#panel .lower ul.panel_links a.modcp::before {
  content: "\f3ed";
  color: #34d399 !important;
}
#panel .lower ul.panel_links a.admincp::before {
  content: "\f085";
  color: #f87171 !important;
}
#panel .lower ul.user_links {
  float: right;
}
#panel .lower ul.user_links li {
  margin-left: 14px !important;
}
#panel .lower ul.user_links li a[href*="buddylist"]::before,
#panel .lower ul.user_links li a[onclick*="buddy"]::before {
  content: "\f0c0";
  color: #38bdf8 !important;
}
#panel .lower ul.user_links li a[href*="getnew"]::before {
  content: "\f0f3";
  color: #fbbf24 !important;
}
#panel .lower ul.user_links li a[href*="getdaily"]::before {
  content: "\f017";
  color: #a78bfa !important;
}
#panel .lower ul.user_links li a[href*="private.php"]::before {
  content: "\f2b6";
  color: #6b6358 !important;
  font-size: 13px !important;
  transition: color 0.2s ease, transform 0.2s ease;
}
#panel .lower ul.user_links li a[href*="private.php"]:hover::before {
  color: #9c9183 !important;
}
#panel .lower ul.user_links li:has(strong) a[href*="private.php"]::before,
#panel .lower ul.user_links li:has(b) a[href*="private.php"]::before,
body:has(#pm_notice)
  #panel
  .lower
  ul.user_links
  li
  a[href*="private.php"]::before,
body:has(.pm_alert)
  #panel
  .lower
  ul.user_links
  li
  a[href*="private.php"]::before {
  content: "\f0e0" !important;
  color: #e2b879 !important;
  font-size: 13px !important;
  text-shadow: 0 0 8px rgba(226, 184, 121, 0.65);
  display: inline-block;
  animation: nedds-pm-bounce 1.8s infinite;
}
#panel .lower ul.user_links li:has(strong) a[href*="private.php"],
#panel .lower ul.user_links li:has(b) a[href*="private.php"],
body:has(#pm_notice) #panel .lower ul.user_links li a[href*="private.php"],
body:has(.pm_alert) #panel .lower ul.user_links li a[href*="private.php"] {
  color: #e2b879 !important;
  font-weight: bold !important;
}
@keyframes nedds-pm-bounce {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  20% {
    transform: scale(1.22) rotate(-12deg);
  }
  40% {
    transform: scale(1.22) rotate(12deg);
  }
  60% {
    transform: scale(1.15) rotate(-6deg);
  }
  80% {
    transform: scale(1.15) rotate(6deg);
  }
}

/* Wyszukiwarka w nagłówku */
#search {
  border: 0;
  padding: 0;
  margin: -5px 0 0 0;
  float: right;
  display: inline-flex;
  align-items: center;
}
#search form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
#search input,
#search button {
  margin: 0 !important;
  height: 26px !important;
  line-height: 24px !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}
#search input.textbox {
  background: #24211c;
  color: #e6dfd5;
  border: 1px solid #6b563c;
  border-radius: 5px;
  padding: 0 10px !important;
  outline: 0;
}
#search input.textbox:hover,
#search input.textbox:focus {
  border-color: #e2b879;
  box-shadow: 0 0 0 2px rgba(226, 184, 121, 0.15);
}
#quick_login .remember_me input {
  vertical-align: middle;
  margin: -3px 0 0 5px;
}

/* ==========================================================================
   3. IKONY DZIAŁÓW, SUBFORÓW I WĄTKÓW
   ========================================================================== */
.forum_status {
  background-image: none !important;
  height: 36px;
  width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #181613;
  border: 1px solid #383026;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 5px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.forum_status::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 16px;
}
.forum_on {
  background: linear-gradient(
    180deg,
    rgba(141, 109, 71, 0.22) 0%,
    #1c1a17 100%
  );
  border-color: #8d6d47;
  box-shadow: 0 0 10px rgba(226, 184, 121, 0.15);
}
.forum_on::before {
  content: "\f086";
  color: #e2b879;
}
.forum_off::before {
  content: "\f086";
  color: #5c5349;
}
.forum_offclose::before {
  content: "\f023";
  color: #8c4a4a;
}
.forum_offlink::before {
  content: "\f08e";
  color: #8a8279;
}

.subforumicon {
  background-image: none !important;
  height: 6px;
  width: 6px;
  display: inline-block;
  margin: 0 7px 0 4px;
  vertical-align: middle;
  transform: rotate(45deg);
  border-radius: 1px;
}
.subforum_minion {
  background-color: #e2b879;
  border: 1px solid #fff3d6;
  box-shadow: 0 0 6px rgba(226, 184, 121, 0.65);
}
.subforum_minioff {
  background-color: #3d362e;
  border: 1px solid #5c5349;
}
.subforum_minioffclose {
  background-color: #6b3232;
  border: 1px solid #8c4a4a;
}
.subforum_miniofflink {
  background-color: #524d47;
  border: 1px solid #8a8279;
}

.thread_status {
  background-image: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  vertical-align: middle;
  position: relative;
}
.thread_status::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
}
.thread_status::before,
.thread_status.folder::before {
  content: "\f2b6";
  color: #5c5349;
}
.thread_status.newfolder::before {
  content: "\f0e0";
  color: #e2b879;
}
.thread_status.hotfolder::before {
  content: "\f658";
  color: #7a6347;
}
.thread_status.newhotfolder::before {
  content: "\f658";
  color: #e2b879;
}
.thread_status.hotfolder::after,
.thread_status.newhotfolder::after,
.thread_status.dot_hotfolder::after,
.thread_status.dot_newhotfolder::after {
  content: "\f06d";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 9px;
  position: absolute;
  bottom: 4px;
  right: 4px;
  color: #ff9800;
  background: #181613;
  border-radius: 50%;
  padding: 1px 2px;
  line-height: 1;
  pointer-events: none;
}
.thread_status.dot_folder::before,
.thread_status.dot_hotfolder::before {
  content: "\f1d8";
  color: #7a6e60;
}
.thread_status.dot_newfolder::before,
.thread_status.dot_newhotfolder::before {
  content: "\f1d8";
  color: #e2b879;
}
.thread_status[class*="closefolder"]::after,
.thread_status[class*="lockfolder"]::after {
  content: "\f023" !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size: 9px !important;
  position: absolute !important;
  bottom: 3px !important;
  right: 3px !important;
  color: #f87171 !important;
  background: #181613 !important;
  border: 1px solid rgba(248, 113, 113, 0.35) !important;
  border-radius: 50% !important;
  padding: 2px 2.5px !important;
  line-height: 1 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.thread_status.movefolder::before {
  content: "\f064";
  color: #8a8279;
}
.subject_new {
  font-weight: bold;
}

/* ==========================================================================
   4. TABELE, WIERSZE, OKRUSZKI NAWIGACYJNE I PAGINACJA
   ========================================================================== */
table {
  color: #b8b0a6;
  font-size: 13px;
}
.tborder {
  background: #141516;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #323436;
  border-radius: 6px;
  padding: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.tfixed {
  table-layout: fixed;
  word-wrap: break-word;
}
.thead {
  background: #2c2e2a url(../../../images/thead.png) repeat-x 50% 0;
  color: #e2b879;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
  padding: 14px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  border-bottom: 2px solid #e2b879;
  box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-bottom: 4px;
}
.thead a:link,
.thead a:visited {
  color: #f3e5d0;
  text-decoration: none;
}
.thead a:hover,
.thead a:active {
  color: #e2b879;
}
.thead2 {
  background: #1c1d1e;
  color: #e6dfd5;
  border-bottom: 1px solid #3a3c3e;
  padding: 8px 12px;
}
.tcat {
  background: #202122;
  color: #c59b60;
  border-top: 1px solid #2b2d2e;
  border-bottom: 1px solid #323436;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 600;
}
.tcat a:link,
.tcat a:visited {
  color: #e6dfd5;
}
.tcat a:hover,
.tcat a:active {
  color: #e2b879;
}
.trow1,
.trow2 {
  border-top: 1px solid #222325;
  border-bottom: 1px solid #292b2d;
  vertical-align: middle;
  padding: 11px 14px 11px 10px;
  color: #b5b8bc;
  line-height: 17px;
  overflow-wrap: break-word;
  transition: background-color 0.15s ease;
}
.trow1 {
  background: #18191a;
}
.trow2 {
  background: #1b1c1e;
}
tr:hover > td.trow1,
tr:hover > td.trow2 {
  background-color: #212224;
}
.trow_shaded {
  background: #252628;
  color: #9ea1a6;
  border: 0;
}
.no_bottom_border {
  border-bottom: 0;
}
.trow_deleted,
.post.deleted_post {
  background: #141214;
  opacity: 0.85;
}
.trow_selected,
tr.trow_selected td {
  background: #26231d;
  color: #f3e5d0;
  border-right-color: #c59b60;
  border-bottom-color: #c59b60;
}
.trow_selected a {
  color: #e2b879;
}
.trow_sep {
  background: #202122;
  color: #c59b60;
  border-top: 1px solid #2b2d2e;
  border-bottom: 1px solid #323436;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: bold;
}
.tfoot {
  border-top: 1px solid #323436;
  padding: 8px 10px;
  background: #202122;
  color: #d6cfc7;
}
.tfoot a:link,
.tfoot a:visited {
  color: #c59b60;
}
.tfoot a:hover,
.tfoot a:active {
  color: #e2b879;
}
.selectall {
  background: #24211c;
  border-bottom: 1px solid #8d6d47;
  color: #e2b879;
  padding: 6px;
  text-align: center;
  font-weight: bold;
}
.expcolimage {
  float: right;
  width: auto;
  vertical-align: middle;
  margin-top: 3px;
}
.tcat_menu > .expcolimage {
  margin-top: 0;
}

.bottommenu {
  background: #18191a;
  color: #b5b8bc;
  border: 1px solid #323436;
  border-top: 2px solid #8d6d47;
  border-radius: 6px;
  padding: 10px 14px;
}
.bottommenu a:link,
.bottommenu a:visited {
  color: #e6dfd5;
}
.bottommenu a:hover,
.bottommenu a:active {
  color: #e2b879;
}
.navigation {
  color: #8a8279;
  font-size: 12px;
  padding: 6px 2px;
}
.navigation a:link,
.navigation a:visited {
  color: #d6cfc7;
}
.navigation a:hover,
.navigation a:active {
  color: #e2b879;
}
.navigation .active {
  color: #e2b879;
  font-size: 12px;
  font-weight: bold;
}

.pagination {
  font-size: 11.5px;
  padding-top: 10px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.tfoot .pagination,
.tcat .pagination {
  padding-top: 0;
  margin-bottom: 0;
}
.pagination .pages {
  font-weight: bold;
  color: #b5b8bc;
  margin-right: 4px;
}
.pagination .pagination_current,
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 9px;
  margin: 0;
  border-radius: 5px;
  box-sizing: border-box;
  line-height: 1;
  transition: all 0.18s ease;
}
.pagination a:link,
.pagination a:visited {
  background: linear-gradient(180deg, #2b2824 0%, #1d1b18 100%);
  border: 1px solid #4d4133;
  color: #e6dfd5;
}
.pagination a:hover,
.pagination a:active {
  background: linear-gradient(180deg, #3b352d 0%, #26221c 100%);
  color: #ffffff;
  border-color: #c59b60;
  box-shadow: 0 0 6px rgba(197, 155, 96, 0.25);
}
.pagination .pagination_current {
  background: linear-gradient(180deg, #8d6d47 0%, #6b563c 100%);
  color: #ffffff;
  border: 1px solid #c59b60;
  font-weight: bold;
}
.pagination a.go_page {
  padding: 0 10px;
}
.pagination a.go_page img {
  display: none !important;
}
.pagination a.go_page::after {
  content: "\f0d7";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  color: #e2b879;
}

.thread_legend,
.thread_legend dd,
.forum_legend,
.forum_legend dt,
.forum_legend dd {
  margin: 0;
  padding: 0;
}
.thread_legend dd {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 5px;
  margin-right: 15px;
  color: #b8b0a6;
  font-size: 12px;
}
.forum_legend dd {
  float: left;
  margin-right: 12px;
  margin-top: 7px;
  color: #b8b0a6;
  font-size: 12px;
}
.forum_legend dt {
  margin-right: 6px;
  float: left;
}

/* ==========================================================================
   5. FORMULARZE, SELECT2 I UJEDNOLICONE PRZYCISKI DLA CAŁEGO FORUM
   ========================================================================== */
fieldset {
  background: #1c1d1e;
  color: #d6cfc7;
  padding: 14px 16px;
  border: 1px solid #323436;
  border-radius: 8px;
  margin: 0 0 12px 0;
}
fieldset.trow1,
fieldset.trow2 {
  background: #18191a;
  border-color: #323436;
}
fieldset legend {
  color: #e2b879;
  font-weight: bold;
  padding: 0 8px;
}
fieldset.align_right {
  text-align: right;
}
form {
  margin: 0;
  padding: 0;
}
form #message {
  width: 500px;
}
form#registration_form td.trow1,
form#registration_form td.trow2 {
  vertical-align: top !important;
  padding: 16px !important;
}
form#registration_form td {
  position: relative;
}
form#registration_form fieldset table td:first-child input.textbox {
  width: calc(100% - 14px) !important;
  box-sizing: border-box !important;
}
form#registration_form fieldset table td:last-child input.textbox {
  width: 100% !important;
  box-sizing: border-box !important;
}

input.textbox,
input[type="text"],
input[type="password"],
input[type="email"],
select {
  background-color: #181613 !important;
  color: #e6dfd5 !important;
  border: 1px solid #4d4133 !important;
  border-radius: 5px !important;
  padding: 6px 9px !important;
  outline: 0;
  font-size: 13px;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color-scheme: dark;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input.textbox:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus {
  border-color: #e2b879 !important;
  box-shadow: 0 0 0 2px rgba(226, 184, 121, 0.15) !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px #181613 inset !important;
  -webkit-text-fill-color: #e6dfd5 !important;
  border: 1px solid #6b563c !important;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #c59b60;
  cursor: pointer;
}
select option {
  background-color: #1c1a17;
  color: #e6dfd5;
  padding: 6px;
}
.thead input.textbox,
.thead select {
  padding: 3px 6px !important;
}

textarea,
textarea#message,
#quickreply_e textarea {
  background-color: #181613 !important;
  color: #e6dfd5 !important;
  border: 1px solid #4d4133 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-family: Tahoma, Verdana, Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color-scheme: dark;
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
}
textarea:focus,
textarea#message:focus,
#quickreply_e textarea:focus {
  border-color: #c59b60 !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(197, 155, 96, 0.15) !important;
}
textarea::-webkit-scrollbar,
select::-webkit-scrollbar {
  width: 8px;
}
textarea::-webkit-scrollbar-track,
select::-webkit-scrollbar-track {
  background: #12100e;
}
textarea::-webkit-scrollbar-thumb,
select::-webkit-scrollbar-thumb {
  background: #6b563c;
  border-radius: 4px;
}
input.error,
textarea.error,
select.error {
  border: 1px solid #ef4444 !important;
  color: #fca5a5;
}
input.valid,
textarea.valid,
select.valid {
  border: 1px solid #22c55e !important;
}
label.error {
  color: #f87171;
  margin: 5px 0;
  display: block;
  font-weight: bold;
  font-size: 11px;
}
.editor,
.editor_control_bar,
.post .editor_control_bar {
  background: #18191a;
  color: #e6dfd5;
  border: 1px solid #323436;
  border-radius: 6px;
}
.editor_control_bar,
.post .editor_control_bar {
  background: #202122;
  border-radius: 4px;
}

/* Select2 Dark Theme */
.select2-container .select2-choice,
.select2-container-multi .select2-choices {
  background: #1c1a17 !important;
  background-image: none !important;
  border: 1px solid #6b563c !important;
  color: #e6dfd5 !important;
  box-shadow: none !important;
}
.select2-container .select2-choice {
  height: 30px !important;
  line-height: 28px !important;
}
.select2-container .select2-choice .select2-arrow {
  background: #24211c !important;
  background-image: none !important;
  border-left: 1px solid #4d4133 !important;
}
.select2-drop,
.select2-drop-active {
  background: #1c1a17 !important;
  color: #e6dfd5 !important;
  border: 1px solid #6b563c !important;
}
.select2-search input {
  background: #141311 !important;
  color: #e6dfd5 !important;
  border: 1px solid #4d4133 !important;
}
.select2-results .select2-highlighted {
  background: rgba(141, 109, 71, 0.35) !important;
  color: #e2b879 !important;
}
.select2-results li.select2-searching,
.select2-results li.select2-no-results,
.select2-results li.select2-selection-limit,
.select2-results li.select2-more-results {
  background: #141311 !important;
  color: #b5b8bc !important;
  padding: 6px 10px !important;
}
.select2-container-multi .select2-choices {
  border-radius: 4px !important;
  padding: 3px 5px !important;
}
.select2-container-multi.select2-container-active .select2-choices {
  border-color: #e2b879 !important;
}
.select2-container-multi .select2-choices .select2-search-field input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: #e6dfd5 !important;
}
.select2-container-multi .select2-choices .select2-search-choice {
  background: #24211c !important;
  background-image: none !important;
  border: 1px solid #6b563c !important;
  color: #e6dfd5 !important;
  box-shadow: none !important;
  border-radius: 4px !important;
  padding: 4px 8px 4px 20px !important;
}

/* Ujednolicone przyciski dla całego forum */
input[type="submit"],
button[type="submit"]:not([name*="del"]):not(.ns-card-act):not(
    .ns-hist-del
  ):not(.nedds-hero-arrow):not(.nedds-hero-dot),
.button.primary {
  background: linear-gradient(135deg, #e2b879 0%, #c8974e 100%) !important;
  color: #12100e !important;
  border: 1px solid #f0cf99 !important;
  border-radius: 6px !important;
  padding: 7px 14px !important;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-weight: 800 !important;
  font-size: 12px !important;
  cursor: pointer !important;
  text-shadow: none !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: filter 0.15s ease;
}
input[type="submit"]:hover,
button[type="submit"]:not([name*="del"]):not(.ns-card-act):not(
    .ns-hist-del
  ):not(.nedds-hero-arrow):not(.nedds-hero-dot):hover,
.button.primary:hover {
  filter: brightness(1.08);
}

/* Czysty, nowoczesny styl przycisków (jak w series.php — bez podwójnych ramek i odblasków) */
button:not([class*="nedds-"]):not([class*="ns-"]),
input.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
button.downloadlink {
  height: 30px !important;
  line-height: 1 !important;
  padding: 0 14px !important;
  margin: 0 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  cursor: pointer;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 700 !important;
  background: #211f1c !important;
  border: 1px solid #3a342c !important;
  color: #ece6dd !important;
  border-radius: 7px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  outline: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    color 0.16s ease;
}
button:not([class*="nedds-"]):not([class*="ns-"]):hover,
input.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
button.downloadlink:hover,
button:not([class*="nedds-"]):not([class*="ns-"]).active {
  background: #2b2722 !important;
  border-color: #e2b879 !important;
  color: #e2b879 !important;
}
button:not([class*="nedds-"]):not([class*="ns-"]):active,
input.button:active,
input[type="submit"]:active,
input[type="button"]:active {
  background: #181614 !important;
}

a.button:link,
a.button:visited {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #2b2824 0%, #1d1b18 100%);
  color: #e6dfd5;
  border: 1px solid #4d4133;
  border-radius: 6px;
  padding: 6px 13px;
  margin: 2px 2px 6px 2px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}
a.button:hover,
a.button:active {
  background: linear-gradient(180deg, #3b352d 0%, #26221c 100%);
  color: #ffffff;
  border-color: #c59b60;
  transform: translateY(-1px);
}
a.button span {
  background-image: none !important;
  padding-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
a.button span::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  color: #c59b60;
}
a.button.new_thread_button span::before {
  content: "\f067";
}
a.button.new_reply_button span::before {
  content: "\f3e5";
}
a.button.closed_button span::before {
  content: "\f023";
  color: #f87171;
}
a.nedds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 16px;
  margin: 3px;
  background: linear-gradient(180deg, #2b2824 0%, #1d1b18 100%);
  color: #e6dfd5 !important;
  border: 1px solid #4d4133;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
a.nedds-btn i {
  color: #e2b879;
}
a.nedds-btn:hover {
  background: linear-gradient(180deg, #3b352d 0%, #26221c 100%);
  border-color: #e2b879;
  color: #ffffff !important;
  transform: translateY(-1px);
}
a.nedds-btn.nedds-btn-gold {
  background: linear-gradient(135deg, #e2b879 0%, #c8974e 100%);
  border-color: #f0cf99;
  color: #12100e !important;
}
a.nedds-btn.nedds-btn-gold i {
  color: #12100e;
}

/* ==========================================================================
   6. WIDOK POSTÓW, CYTATY, KODY I PRZYCISKI POSTBIT
   ========================================================================== */
#posts_container {
  padding: 0;
}
.post {
  overflow: hidden;
  background: #18191a;
  border-bottom: 1px solid #292b2d;
}
.post.classic {
  padding-top: 15px;
}
.post.unapproved_post {
  background: #2b1d1f;
}
.post.unapproved_post .post_author,
.post.classic.unapproved_post .post_author,
.post.unapproved_post .post_controls {
  border-color: #5c3a3e;
}
.ignored_post,
.deleted_post_hidden,
.deleted_post_collapsed {
  background: #141214;
  border-top: 2px solid #5c3a3e;
  border-bottom: 1px solid #292b2d;
  color: #9ea1a6;
  padding: 15px;
}
.ignored_post {
  border-top-color: #323436;
}
.post .post_author {
  border-bottom: 1px solid #323436;
  border-top: 2px solid #8d6d47;
  background: #141516;
  padding: 8px 10px;
  overflow: hidden;
}
.post.classic .post_author {
  border: 1px solid #323436;
  border-top: 2px solid #8d6d47;
  border-radius: 6px;
  background: #141516;
  float: left;
  width: 15%;
  margin: 0 1.5% 15px 0;
  padding: 10px 1%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.post .post_author div.author_avatar {
  float: left;
  margin-right: 8px;
}
.post.classic .post_author div.author_avatar {
  float: none;
  text-align: center;
  margin-bottom: 10px;
}
.post .post_author div.author_avatar img {
  padding: 4px;
  border: 1px solid #4d4133;
  border-radius: 6px;
  background: #1c1d1e;
}
.post .post_author div.author_information {
  float: left;
  padding: 4px 8px;
}
.post.classic .post_author div.author_information {
  float: none;
  padding: 0;
  text-align: center;
}
.post .post_author div.author_statistics {
  float: right;
  font-size: 11px;
  padding: 4px 10px 4px 5px;
  color: #b5b8bc;
  line-height: 1.5;
}
.post.classic .post_author div.author_statistics {
  border-top: 1px solid #292b2d;
  margin: 8px 0 0 0;
  padding: 8px 6px 3px 6px;
  float: none;
}
.post .post_head {
  font-size: 11px;
  color: #8a8279;
  border-bottom: 1px solid #242628;
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.post .post_head span.edited_post a,
.post .post_meta a {
  color: #c59b60;
}
.post_body {
  font-size: 14px;
  padding: 12px 0;
  line-height: 1.55;
  color: #e6dfd5;
}
.post.classic .post_content {
  float: left;
  width: 79%;
  padding: 0 1% 5px 1%;
}
.post_content {
  padding: 9px 10px 5px 10px;
}
.post_content .signature {
  margin: 12px 0 15px 0;
  color: #b5b8bc;
  border-top: 1px solid #292b2d;
  padding: 10px 0 4px 0;
}
.post .post_meta {
  margin: 6px 0;
  font-size: 11px;
  color: #8a8279;
}

blockquote,
.codeblock {
  background: #181613;
  border: 1px solid #4a3c2b;
  border-left: 3px solid #c59b60;
  border-radius: 6px;
  margin: 10px 0;
  padding: 10px 12px;
  color: #d6cfc7;
}
blockquote cite,
.codeblock .title {
  font-weight: bold;
  color: #e2b879;
  border-bottom: 1px solid #383026;
  font-style: normal;
  display: block;
  padding-bottom: 5px;
  margin: 0 0 8px 0;
}
blockquote cite > span {
  float: right;
  font-weight: normal;
  font-size: 11px;
  color: #9e968c;
}
.codeblock code {
  overflow: auto;
  max-height: 200px;
  display: block;
  font-family: Monaco, Consolas, Courier, monospace;
  font-size: 13px;
  color: #e6dfd5;
}

.post_controls {
  clear: both;
  background: #1f1e1c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  overflow: hidden;
}
.postbit_buttons > a:link,
.postbit_buttons > a:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #2b2824 0%, #1d1b18 100%);
  color: #e6dfd5;
  border: 1px solid #4d4133;
  border-radius: 6px;
  padding: 5px 10px;
  margin: 2px;
  font-size: 11.5px;
  font-weight: 600;
}
.postbit_buttons > a:hover {
  background: linear-gradient(180deg, #3b352d 0%, #26221c 100%);
  color: #ffffff;
  border-color: #c59b60;
  transform: translateY(-1px);
}
.postbit_buttons a span {
  background-image: none;
  padding-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.postbit_buttons a span::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  color: #c59b60;
}
.postbit_buttons a.postbit_email span::before {
  content: "\f0e0";
}
.postbit_buttons a.postbit_pm span::before {
  content: "\f1d8";
}
.postbit_buttons a.postbit_website span::before {
  content: "\f0ac";
}
.postbit_buttons a.postbit_find span::before {
  content: "\f002";
}
.postbit_buttons a.postbit_reputation_add span::before {
  content: "\f164";
  color: #4ade80;
}
.postbit_buttons a.postbit_edit span::before {
  content: "\f304";
}
.postbit_buttons a.postbit_quote span::before {
  content: "\f075";
}
.postbit_buttons a.postbit_multiquote span::before {
  content: "\f10d";
}
.postbit_buttons a.postbit_multiquote_on span::before {
  content: "\f00c";
  color: #4ade80;
}
.postbit_buttons a.postbit_report span::before {
  content: "\f024";
}
.postbit_buttons a.postbit_qrestore span::before {
  content: "\f2ea";
}
.postbit_buttons a.postbit_purgespammer span::before {
  content: "\f506";
}
.postbit_buttons a.postbit_qdelete span::before {
  content: "\f2ed";
  color: #f87171;
}
.postbit_buttons a.postbit_qdelete:hover {
  border-color: #ef4444;
  background: linear-gradient(180deg, #3b2020 0%, #261414 100%);
}
.postbit_buttons a.postbit_warn span::before {
  content: "\f071";
  color: #fbbf24;
}
.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
  display: none;
}
.postbit_buttons a.postbit_reply_pm span::before,
a[href*="private.php?action=send"][href*="do=reply"] span::before {
  content: "\f3e5" !important;
  color: #e2b879 !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  margin-right: 6px;
}
.postbit_buttons a.postbit_forward_pm span::before,
a[href*="private.php?action=send"][href*="do=forward"] span::before {
  content: "\f064" !important;
  color: #38bdf8 !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  margin-right: 6px;
}
.postbit_buttons a.postbit_delete_pm span::before,
a[href*="private.php?action=delete"] span::before {
  content: "\f1f8" !important;
  color: #f87171 !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  margin-right: 6px;
}
body:has(a[href*="action=send"][href*="pmid="]) .author_statistics,
body:has(a[href*="action=send"][href*="pmid="]) .post_statistics {
  margin-top: 10px !important;
  padding: 9px 11px !important;
  background: #141311 !important;
  border: 1px solid #2b2b2b !important;
  border-radius: 8px !important;
  text-align: left !important;
  font-size: 11.5px !important;
  line-height: 1.75 !important;
}
.pollbar {
  background: linear-gradient(90deg, #8d6d47 0%, #e2b879 100%);
  border: 1px solid #4d4133;
  border-radius: 4px;
  height: 10px;
}
.pollbar .percent {
  display: none;
}
.smilie {
  vertical-align: middle;
}
.smilie_pointer {
  cursor: pointer;
}

/* ==========================================================================
   7. ALERTY, POPUP MENU, JGROWL, BANER DOTACJI, WIDGET GOŚCI I STOPKA
   ========================================================================== */
.highlight {
  background: rgba(226, 184, 121, 0.22);
  color: #f3e5d0;
  border-bottom: 1px solid #e2b879;
  border-radius: 3px;
  padding: 1px 4px;
}
.pm_alert {
  background: linear-gradient(
    90deg,
    rgba(226, 184, 121, 0.14) 0%,
    #1c1a17 100%
  );
  border: 1px solid rgba(226, 184, 121, 0.35);
  border-left: 3px solid #e2b879;
  border-radius: 6px;
  color: #f3e5d0;
  text-align: center;
  padding: 8px 20px;
  margin-bottom: 15px;
  font-size: 12px;
}
.pm_alert a {
  color: #e2b879;
  font-weight: bold;
}
.red_alert,
div.error {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.16) 0%, #1c1a17 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-left: 3px solid #ef4444;
  border-radius: 6px;
  color: #fca5a5;
  padding: 10px 16px;
  margin-bottom: 15px;
  font-size: 12px;
}
.red_alert {
  text-align: center;
  padding: 5px 12px;
  margin-bottom: 10px;
  line-height: 1.3;
}
div.error p {
  margin: 0;
  color: #e6dfd5;
}
div.error p em {
  font-style: normal;
  font-weight: bold;
  padding-left: 24px;
  margin-bottom: 4px;
  display: block;
  color: #f87171;
  background: url(../../../images/error.png) no-repeat 0 50%;
}
.success_message {
  color: #4ade80;
  font-weight: bold;
  font-size: 11.5px;
  margin-bottom: 10px;
}
.error_message {
  color: #f87171;
  font-weight: bold;
  font-size: 11.5px;
  margin-bottom: 10px;
}
.online {
  color: #22c55e;
  font-weight: bold;
}
.offline {
  color: #8a8279;
}
.reputation_positive,
._plus {
  color: #4ade80;
  font-weight: bold;
}
.reputation_neutral,
._neutral {
  color: #9ca3af;
  font-weight: bold;
}
.reputation_negative,
._minus {
  color: #f87171;
  font-weight: bold;
}

.popup_menu {
  margin-top: 10px;
  z-index: 999;
  background: #1c1a17;
  border: 1px solid #6b563c;
  border-top: 2px solid #e2b879;
  border-radius: 6px;
  padding: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85);
}
.popup_menu:before {
  border-bottom: 6px solid #e2b879;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  width: 0;
  height: 0;
  content: "";
  display: block;
  left: 1.4em;
  bottom: 100%;
  position: absolute;
}
.popup_menu .popup_item_container {
  margin: 2px 0;
  text-align: left;
}
.popup_menu .popup_item {
  display: block;
  background: transparent;
  color: #d6cfc7;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.popup_menu .popup_item:hover {
  background: rgba(141, 109, 71, 0.32);
  color: #e2b879 !important;
  padding-left: 15px;
}

.jGrowl {
  z-index: 9999;
  color: #e6dfd5;
  font-size: 12px;
  position: fixed;
}
.jGrowl.top-right {
  right: 0;
  top: 0;
}
.jGrowl.bottom-right {
  right: 0;
  bottom: 0;
}
.jGrowl-notification,
.jGrowl-closer {
  background-color: #1c1a17;
  opacity: 0.96;
  width: 270px;
  padding: 12px 14px;
  margin: 10px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}
.jGrowl-notification .jGrowl-close {
  background: transparent !important;
  border: none !important;
  color: #9ea1a6;
  float: right;
  font-weight: bold;
  cursor: pointer;
}
.jGrowl .jGrowl-notification.jgrowl_success {
  border: 1px solid rgba(34, 197, 94, 0.45);
  border-left: 3px solid #22c55e;
}
.jGrowl .jGrowl-notification.jgrowl_error {
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-left: 3px solid #ef4444;
  color: #fca5a5;
}
.jGrowl .jGrowl-notification.jgrowl_process,
.jGrowl .jGrowl-closer {
  border: 1px solid #6b563c;
  border-left: 3px solid #e2b879;
  color: #e2b879;
  text-align: center;
  cursor: pointer;
}
.blocker {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
}
.blocker:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.modal,
div.jqi {
  width: 420px;
  max-width: 95%;
  text-align: left;
  background: #1c1a17;
  color: #e6dfd5;
  border: 1px solid #6b563c;
  border-top: 2px solid #e2b879;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}
.modal a.close-modal {
  position: absolute;
  top: -12.5px;
  right: -12.5px;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  background: url(../../../images/close.png) no-repeat 0 0;
}
div.jqi {
  padding: 8px;
  position: absolute;
}
div.jqi .jqititle {
  padding: 6px 10px;
  font-size: 14px;
  font-weight: bold;
  color: #e2b879;
  border-bottom: 1px solid #323436;
}
div.jqi .jqimessage {
  padding: 12px 10px;
  color: #d6cfc7;
}
div.jqi .jqibuttons {
  text-align: right;
  margin: 0 -8px -8px -8px;
  border-top: 1px solid #323436;
  background: #141311;
  border-radius: 0 0 6px 6px;
}
div.jqi .jqibuttons button {
  background: transparent !important;
  border: none !important;
  border-left: 1px solid #292b2d !important;
  color: #e2b879 !important;
  box-shadow: none !important;
}

/* Baner dotacji i okno edycji */
.nd-donation-banner {
  background: linear-gradient(135deg, #1f1c18 0%, #141311 100%);
  border: 1px solid rgba(226, 184, 121, 0.32);
  border-left: 3px solid #e2b879;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 14px auto;
  max-width: 960px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
}
.nd-donate-header-zone {
  text-align: left;
  margin-bottom: 12px;
}
.nd-donate-head-title {
  font-size: 14.5px;
  color: #f4efe8;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 4px 0;
}
.nd-donate-percentage {
  font-size: 17px;
  color: #e2b879;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(226, 184, 121, 0.45);
}
.nd-donate-head-sub {
  font-size: 12.5px;
  color: #b8b0a6;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nd-donate-head-sub i,
.nd-donate-head-sub b {
  color: #e2b879;
}
.nd-donate-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.nd-donate-progress-wrapper {
  flex: 1;
  background: #0e0d0c;
  border: 1px solid #332d25;
  border-radius: 20px;
  padding: 3px;
  position: relative;
  overflow: hidden;
  height: 20px;
}
.nd-donate-progress-bar {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #8d6d47 0%, #e2b879 60%, #f3d299 100%);
  transition: width 0.6s ease;
}
.nd-donate-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
  z-index: 2;
}
.nd-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #e2b879 0%, #c8974e 100%) !important;
  border: 1px solid #f0cf99 !important;
  color: #12100e !important;
  padding: 0 18px;
  height: 30px;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none !important;
  border-radius: 7px;
  white-space: nowrap;
}
.nd-donate-edit-btn {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border-radius: 7px !important;
  background: #23201c !important;
  border: 1px solid rgba(226, 184, 121, 0.45) !important;
  color: #e2b879 !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nd-donate-edit-btn:hover {
  background: #e2b879 !important;
  color: #12100e !important;
}
.nd-don-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.82);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.nd-don-modal-box {
  background: linear-gradient(180deg, #1e1b17 0%, #141311 100%);
  border: 1px solid #e2b879;
  border-radius: 12px;
  max-width: 540px;
  width: 100%;
  padding: 22px;
  color: #f5f0e8;
  position: relative;
  text-align: left;
  box-sizing: border-box;
}
.nd-don-modal-title {
  margin: 0 0 16px 0;
  color: #e2b879;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nd-don-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nd-don-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nd-don-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #9e968c;
  margin-bottom: 4px;
}
.nd-don-form input[type="text"] {
  width: 100% !important;
  box-sizing: border-box !important;
}
.nd-don-check {
  display: flex !important;
  align-items: center;
  gap: 7px;
  font-size: 12px !important;
  color: #e6dfd5 !important;
  cursor: pointer;
}
button.nd-don-close {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(226, 184, 121, 0.4) !important;
  color: #e2b879 !important;
  font-size: 17px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
}
button.nd-don-close:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}
button.nd-don-save-btn {
  margin-top: 4px !important;
  width: 100% !important;
  padding: 10px 16px !important;
}

/* Widget dla gości i stopka */
#registerdiv {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #1c1a17;
  border: 1px solid #4d4133;
  border-top: 2px solid #e2b879;
  border-radius: 8px;
  padding: 16px 18px;
  width: 320px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
  box-sizing: border-box;
}
#close-registerdiv {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #9ea1a6 !important;
  font-size: 18px !important;
  padding: 0 4px !important;
}
.register-title {
  color: #e2b879;
  font-size: 13.5px;
  font-weight: bold;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}
.register-text {
  color: #d6cfc7;
  font-size: 11.5px;
  margin: 0 0 10px 0;
  line-height: 1.45;
}
.register-actions {
  display: flex;
  gap: 8px;
}
.btn-auth {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 11.5px;
}
.btn-login {
  background: linear-gradient(180deg, #2b2824 0%, #1d1b18 100%);
  color: #e6dfd5 !important;
  border: 1px solid #4d4133;
}
.btn-register {
  background: linear-gradient(135deg, #e2b879 0%, #c8974e 100%);
  color: #12100e !important;
  border: 1px solid #f0cf99;
  font-weight: 800;
}

#wrapper2 {
  background: #141516;
  border-top: 2px solid #8d6d47;
  border-bottom: 1px solid #292b2d;
  color: #b5b8bc;
  width: 100%;
  overflow: hidden;
}
#footer2 {
  width: 85%;
  min-width: 970px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}
.footerFloat {
  flex: 1;
  text-align: left;
}
.footerFloat.footer-about {
  flex: 1.45;
}
.footerFloat h4 {
  color: #e2b879;
  font-size: 13.5px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #2b2d2e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footerFloat h4 i,
.footerFloat li a i {
  color: #c59b60;
}
.footerFloat p {
  font-size: 12px;
  line-height: 1.6;
  color: #9ea1a6;
  margin: 10px 0 0 0;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.footerFloat ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footerFloat li {
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.footerFloat li a {
  color: #b5b8bc;
  font-size: 12px;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footerFloat li a:hover {
  color: #e2b879;
  transform: translateX(4px);
}

#footer {
  clear: both;
}
#footer ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
#footer ul.menu li {
  margin: 0 14px 0 0;
  display: inline-block;
}
#footer ul.menu li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
#footer ul.menu li a::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 11.5px !important;
  color: #e2b879 !important;
}
#footer ul.menu li a[href*="contact.php"]::before {
  content: "\f0e0";
}
#footer ul.menu li a[href*="nedds24.pl"]::before,
#footer ul.menu li a[href*="index.php"]::before {
  content: "\f015";
}
#footer ul.menu li a[href="#top"]::before {
  content: "\f062";
}
#footer ul.menu li a[href*="archive"]::before {
  content: "\f187";
}
#footer ul.menu li a[href*="syndication.php"]::before {
  content: "\f09e";
}
#footer ul.menu li a[href*="privacy"]::before,
#footer ul.menu li a[href*="polityka"]::before {
  content: "\f3ed";
}
#footer .upper {
  background: #181613;
  border-top: 1px solid #6b563c;
  border-bottom: 1px solid #26221c;
  padding: 8px 10px;
  font-size: 12px;
  overflow: hidden;
}
#footer a {
  color: #d6cfc7;
}
#footer a:hover {
  color: #e2b879;
}
#footer .upper .language,
#footer .upper .theme {
  float: right;
  margin: -1px 0 0 15px;
}
#footer .upper .language select,
#footer .upper .theme select {
  padding: 3px 6px !important;
}
#footer .upper ul.bottom_links {
  float: left;
  margin: 4px 0 0 0;
}
#footer .lower {
  background: #141311;
  color: #9e968c;
  padding: 8px 10px 14px 10px;
  overflow: hidden;
  font-size: 11px;
}
#footer .lower a {
  color: #e6dfd5;
  font-weight: bold;
}
#footer .lower #current_time {
  float: right;
  color: #9e968c;
}

/* ==========================================================================
   8. PODFORA W 3 KOLUMNACH NA STRONIE GŁÓWNEJ (BEZ KROPEK LI)
   ========================================================================== */
ul.alt_sbc,
td.trow1 .smalltext ul,
td.trow2 .smalltext ul {
  list-style: none !important;
  margin: 5px 0 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 3px 12px !important;
}
ul.alt_sbc li,
td.trow1 .smalltext ul li,
td.trow2 .smalltext ul li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.alt_sbc li::marker,
td.trow1 .smalltext ul li::marker,
td.trow2 .smalltext ul li::marker {
  display: none !important;
  content: "" !important;
}
/* Ujednolicony przycisk zamknięcia X dla wszystkich okienek modalnych na forum */
#nd-don-modal button.nd-don-close,
button[class*="close"]:not(#close-registerdiv),
a.close-modal {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(226, 184, 121, 0.45) !important;
  color: #e2b879 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-indent: 0 !important;
}
#nd-don-modal button.nd-don-close:hover,
button[class*="close"]:not(#close-registerdiv):hover,
a.close-modal:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}
#nd-don-modal input[type="submit"],
#nd-don-modal button.nd-don-save-btn {
  width: auto !important;
  align-self: flex-end !important;
  padding: 0 22px !important;
  margin-top: 6px !important;
}

/* === SLIDER STRONY GŁÓWNEJ (WYGLĄD 1:1 JAK W STREFIE VIDEO + CZYSTE BOKI NA PC) === */
.nd-info-slider {
  position: relative;
  width: 100%;
  height: 350px;
  margin: 0 0 16px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(226, 184, 121, 0.28);
  background: #141311;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}
.nd-islide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141311;
}
.nd-islide.active {
  opacity: 1;
  pointer-events: auto;
}
a.nd-islide-banner {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  overflow: hidden;
  background: #141311;
}
img.nd-islide-fit-img {
  position: relative;
  z-index: 2;
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}
button.nd-islide-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: rgba(20, 21, 24, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f5f0e8 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
button.nd-islide-arrow:hover {
  background: #e2b879 !important;
  border-color: #e2b879 !important;
  color: #12100e !important;
}
button.nd-islide-arrow.prev {
  left: 16px !important;
}
button.nd-islide-arrow.next {
  right: 16px !important;
}
.nd-islide-dots {
  position: absolute !important;
  bottom: 16px !important;
  right: 22px !important;
  left: auto !important;
  transform: none !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}
.nd-islide-dot {
  width: 30px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
  cursor: pointer !important;
  transition: background 0.25s ease !important;
}
.nd-islide-dot:hover {
  background: rgba(255, 255, 255, 0.65) !important;
}
.nd-islide-dot.active {
  background: #fef08a !important;
  box-shadow: 0 0 10px rgba(254, 240, 138, 0.75) !important;
}
button.nd-islide-manage-btn {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  z-index: 10 !important;
  height: 30px !important;
  padding: 0 12px !important;
  border-radius: 7px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  background: rgba(20, 21, 24, 0.85) !important;
  border: 1px solid rgba(226, 184, 121, 0.45) !important;
  color: #f5f0e8 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
}
button.nd-islide-manage-btn:hover {
  background: #e2b879 !important;
  border-color: #e2b879 !important;
  color: #12100e !important;
}
.nd-sl-ed-item {
  background: #141311;
  border: 1px solid #3a3024;
  border-left: 3px solid #e2b879;
  border-radius: 8px;
  padding: 12px;
}
.nd-sl-ed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #e2b879;
  font-size: 12px;
}
.nd-sl-ed-acts {
  display: flex;
  gap: 4px;
}
.nd-sl-ed-acts button {
  height: 24px !important;
  padding: 0 8px !important;
}
@media (max-width: 768px) {
  .nd-info-slider {
    height: auto;
    aspect-ratio: 16 / 5.5;
  }
  img.nd-islide-fit-img {
    width: 100% !important;
    height: auto !important;
  }
}
img.nd-islide-fit-img {
  position: relative;
  z-index: 2;
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
/* Kompaktowa siatka w oknie "Więcej emotikonów" */
.modal table[border="0"] tr:first-child td,
.modal table[border="0"] tr:nth-child(2) td,
.modal table[border="0"] td.thead,
.modal table[border="0"] td.tcat {
    display: table-cell !important;
    width: auto !important;
    height: auto !important;
    padding: 8px 12px !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: default !important;
}

.modal table[border="0"] tr:nth-child(n+3) {
    display: inline !important;
}

.modal table[border="0"] td.trow1,
.modal table[border="0"] td.trow2 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 3px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background: #1c1d1f !important;
    border: 1px solid #2e3033 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

.modal table[border="0"] td.trow1:hover,
.modal table[border="0"] td.trow2:hover {
    background: #2a2722 !important;
    border-color: #e2b879 !important;
}

.modal table[border="0"] td.trow1:nth-child(even),
.modal table[border="0"] td.trow2:nth-child(even) {
    display: none !important;
}

/* Elegancki przycisk zamknięcia modala */
.modal a.close-modal {
    top: 8px !important;
    right: 22px !important;
    width: 26px !important;
    height: 26px !important;
    line-height: 24px !important;
    text-align: center !important;
    background: #23211e !important;
    border: 1px solid #e2b879 !important;
    border-radius: 6px !important;
    color: #e2b879 !important;
    font-size: 0 !important;
    text-indent: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
    z-index: 20 !important;
}
.modal a.close-modal::after {
    content: "×" !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #e2b879 !important;
}
.modal a.close-modal:hover {
    background: #e2b879 !important;
}
.modal a.close-modal:hover::after {
    color: #12100e !important;
}
