@font-face {
  font-family: "ParadoxData";
  src: url("../fonts/paradox/good_timing_bd.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ParadoxButton";
  src: url("../fonts/paradox/good_timing_bd.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ParadoxTitle";
  src: url("../fonts/paradox/good_timing_bd.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ParadoxBody";
  src: url("../fonts/paradox/Audiowide-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --px-bg: #04060b;
  --px-bg-2: #071016;
  --px-panel: rgba(12, 16, 26, 0.88);
  --px-panel-2: rgba(16, 22, 34, 0.94);
  --px-panel-3: rgba(21, 17, 35, 0.9);
  --px-line: rgba(174, 195, 226, 0.19);
  --px-line-soft: rgba(145, 120, 255, 0.18);
  --px-purple: #8f54ff;
  --px-purple-2: #c25cff;
  --px-ice: #edf6ff;
  --px-muted: #a8b4ca;
  --px-dim: #6f7890;
  --px-cyan: #7cf8ff;
  --px-emerald: #34f0c6;
  --px-crimson: #ff4d78;
  --px-gold: #ffd875;
  --px-radius: 8px;
  --px-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--px-bg) !important;
}

body.paradox-forum {
  min-height: 100%;
  margin: 0;
  color-scheme: dark;
  color: var(--px-ice);
  background:
    radial-gradient(circle at 8% 10%, rgba(116, 67, 209, 0.18), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(37, 239, 199, 0.11), transparent 24%),
    linear-gradient(120deg, #05040a 0%, #080914 46%, #061316 100%) !important;
  font-family: "ParadoxData", "Trebuchet MS", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

body.paradox-forum,
body.paradox-forum * {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

body.paradox-forum::before,
body.paradox-forum::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.paradox-forum::before {
  background-image:
    linear-gradient(rgba(132, 91, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 91, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.42;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 90%);
}

body.paradox-forum::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.65), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.58)),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.28) 72%, rgba(0, 0, 0, 0.82) 100%);
}

body.paradox-forum.effects-disabled::before {
  opacity: 0.18;
}

.paradox-effects {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

body.effects-disabled .paradox-effects {
  opacity: 0;
}

#footerfix,
#footer,
body.paradox-forum > .navigate_section {
  position: relative;
  z-index: 2;
}

a {
  color: var(--px-ice);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

a:hover,
a:focus {
  color: var(--px-emerald);
  text-decoration: none;
}

img {
  max-width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid rgba(160, 190, 230, 0.16);
}

::selection {
  color: #061012;
  background: var(--px-emerald);
}

@keyframes paradoxBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}

@keyframes paradoxScan {
  0% { transform: translateX(-120%); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes paradoxPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.paradox-neon-panel,
.cat_bar,
.title_bar,
.information,
.roundframe,
.windowbg,
.up_contain,
.description,
.generic_list_wrapper,
.pagesection,
.forumpost,
.post_wrapper,
#preview_section,
#poll_options,
#statistics,
#profileview,
#basicinfo,
#detailedinfo,
#tracking,
#creator,
#main_admsection,
.popup_window,
.tborder {
  border: 1px solid var(--px-line);
  border-radius: var(--px-radius);
  background:
    linear-gradient(135deg, rgba(42, 32, 68, 0.58), rgba(7, 18, 22, 0.78)),
    var(--px-panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body:not(.effects-disabled) .cat_bar,
body:not(.effects-disabled) .title_bar,
body:not(.effects-disabled) .roundframe,
body:not(.effects-disabled) .information,
body:not(.effects-disabled) .up_contain,
body:not(.effects-disabled) .windowbg,
body:not(.effects-disabled) .forumpost,
body:not(.effects-disabled) .generic_list_wrapper,
body:not(.effects-disabled) .tborder,
body:not(.effects-disabled) .popup_window {
  background:
    linear-gradient(var(--px-panel), var(--px-panel)) padding-box,
    linear-gradient(115deg, rgba(151, 78, 255, 0.8), rgba(124, 248, 255, 0.54), rgba(52, 240, 198, 0.72), rgba(255, 77, 120, 0.5), rgba(151, 78, 255, 0.8)) border-box;
  background-size: auto, 280% 280%;
  animation: paradoxBorderFlow 16s linear infinite;
}

body.effects-disabled .cat_bar,
body.effects-disabled .title_bar,
body.effects-disabled .roundframe,
body.effects-disabled .information,
body.effects-disabled .up_contain,
body.effects-disabled .windowbg,
body.effects-disabled .forumpost,
body.effects-disabled .generic_list_wrapper,
body.effects-disabled .tborder,
body.effects-disabled .popup_window {
  animation: none;
  border-color: rgba(174, 195, 226, 0.19);
  background:
    linear-gradient(135deg, rgba(30, 24, 48, 0.82), rgba(5, 17, 20, 0.9)),
    rgba(8, 12, 20, 0.96) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

#top_section {
  position: relative;
  z-index: 10000;
  overflow: visible;
  background: rgba(4, 5, 10, 0.82) !important;
  border-bottom: 1px solid rgba(122, 248, 255, 0.13);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

#top_section .inner_wrap,
#wrapper,
#header,
#footer .inner_wrap {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
}

#top_section .inner_wrap {
  position: relative;
  z-index: 10001;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: visible;
}

#top_info,
#top_section ul.floatleft {
  position: relative;
  z-index: 10002;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  overflow: visible;
}

#top_info > li,
#top_section li.welcome {
  position: relative;
  z-index: 10003;
  border: 1px solid rgba(168, 180, 202, 0.16);
  border-radius: 6px;
  background: rgba(18, 22, 34, 0.62);
  color: var(--px-muted);
  overflow: visible;
}

#top_info > li > a,
#top_section li.welcome {
  color: var(--px-muted);
  font-family: "ParadoxData", Arial, sans-serif;
  padding: 8px 12px;
}

#top_info > li:hover > a,
#top_info > li > a.active,
#top_info > li > a.open {
  color: var(--px-emerald);
  background: rgba(52, 240, 198, 0.08);
}

#search_form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

input,
button,
select,
textarea {
  color-scheme: dark;
  color: var(--px-ice);
  background: rgba(7, 11, 18, 0.72);
  border: 1px solid rgba(174, 195, 226, 0.2);
  border-radius: 6px;
  font-family: "ParadoxData", "Trebuchet MS", Arial, sans-serif;
  outline: none;
}

input,
select,
textarea {
  padding: 9px 11px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(124, 248, 255, 0.35);
}

select option,
select optgroup,
body.paradox-forum select option,
body.paradox-forum select optgroup {
  color: var(--px-ice) !important;
  background-color: #080d17 !important;
  font-family: "ParadoxData", "Trebuchet MS", Arial, sans-serif !important;
}

select option:hover,
select option:focus,
select option:checked,
body.paradox-forum select option:hover,
body.paradox-forum select option:focus,
body.paradox-forum select option:checked {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, rgba(143, 84, 255, 0.72), rgba(8, 25, 28, 0.92)) !important;
  background-color: #2a2143 !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(52, 240, 198, 0.68);
  box-shadow: 0 0 0 3px rgba(52, 240, 198, 0.08), 0 0 24px rgba(124, 248, 255, 0.12);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--px-emerald);
  width: 15px;
  height: 15px;
  padding: 0;
}

input[type="submit"],
input[type="button"],
button,
.button,
.quickbuttons > li > a,
.inline_mod_check,
.paradox-effects-toggle,
.paradox-banner-brand,
.paradox-banner-ucp,
.dropmenu li a,
#top_info > li > a {
  font-family: "ParadoxData", "ParadoxBody", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.button,
input[type="submit"],
input[type="button"],
button,
.quickbuttons > li > a,
.inline_mod_check {
  min-height: 34px;
  padding: 8px 14px;
  color: var(--px-ice);
  border: 1px solid rgba(172, 196, 230, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(62, 55, 88, 0.64), rgba(15, 31, 36, 0.62)),
    rgba(14, 18, 28, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.quickbuttons > li:hover > a,
.quickbuttons > li > a:focus {
  color: var(--px-emerald);
  border-color: rgba(52, 240, 198, 0.58);
  background:
    linear-gradient(135deg, rgba(111, 72, 190, 0.42), rgba(25, 82, 80, 0.36)),
    rgba(18, 23, 34, 0.96);
  box-shadow: 0 0 28px rgba(52, 240, 198, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button.active,
.button.active:hover {
  color: #071014;
  border-color: rgba(52, 240, 198, 0.82);
  background: linear-gradient(135deg, var(--px-emerald), var(--px-cyan));
}

#header.paradox-hero {
  position: relative;
  z-index: 10;
  display: block !important;
  margin: 28px auto 20px;
  background: transparent !important;
}

.paradox-banner {
  position: relative;
  width: 100%;
  flex: 1 1 100%;
  height: 238px;
  overflow: hidden;
  border: 1px solid rgba(194, 215, 255, 0.24);
  border-radius: 8px;
  background: #070b12;
  box-shadow: var(--px-shadow), 0 0 46px rgba(143, 84, 255, 0.12);
}

body:not(.effects-disabled) .paradox-banner {
  border-color: rgba(124, 248, 255, 0.34);
  box-shadow: var(--px-shadow), 0 0 54px rgba(143, 84, 255, 0.2), 0 0 42px rgba(52, 240, 198, 0.08);
}

.paradox-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 4, 11, 0.56), transparent 32%, transparent 70%, rgba(4, 11, 14, 0.6)),
    linear-gradient(to top, rgba(5, 5, 10, 0.64), transparent 42%);
}

.paradox-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  left: -40%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(124, 248, 255, 0.12), transparent);
  animation: paradoxScan 8.5s ease-in-out infinite;
}

body.effects-disabled .paradox-banner::after {
  display: none;
}

.paradox-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.paradox-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 16% 76%, rgba(143, 84, 255, 0.28), transparent 26%),
    radial-gradient(circle at 77% 22%, rgba(52, 240, 198, 0.12), transparent 28%);
  pointer-events: none;
}

.paradox-effects-toggle {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  height: 35px;
  padding: 0 16px;
  color: var(--px-ice);
  background: rgba(10, 15, 24, 0.82);
  border-color: rgba(52, 240, 198, 0.56);
  box-shadow: 0 0 22px rgba(52, 240, 198, 0.12);
}

.paradox-effects-toggle:hover {
  color: var(--px-emerald);
}

.paradox-banner-brand,
.paradox-banner-ucp {
  position: absolute;
  z-index: 5;
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ecfbff !important;
  border: 1px solid rgba(124, 248, 255, 0.28);
  border-radius: 6px;
  background: rgba(6, 10, 17, 0.78);
  box-shadow: 0 0 28px rgba(124, 248, 255, 0.08);
}

.paradox-banner-brand {
  left: 32px;
  bottom: 26px;
  padding: 0 18px;
  text-transform: uppercase;
}

.paradox-banner-brand-static {
  cursor: default;
  pointer-events: none;
}

.paradox-banner-ucp {
  right: 28px;
  bottom: 26px;
  padding: 0 16px;
}

.paradox-banner-brand:not(.paradox-banner-brand-static):hover,
.paradox-banner-ucp:hover {
  color: #071014;
  background: linear-gradient(135deg, rgba(52, 240, 198, 0.96), rgba(124, 248, 255, 0.92));
  border-color: rgba(52, 240, 198, 0.9);
}

#wrapper {
  position: relative;
  margin: 0 auto 28px;
  padding: 0;
  background: transparent !important;
}

.paradox-body-logo {
  position: absolute;
  top: -24px;
  left: -28px;
  z-index: 8;
  width: 58px;
  height: 58px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transform: rotate(-30deg);
  filter: drop-shadow(0 0 14px rgba(143, 84, 255, 0.42)) drop-shadow(0 0 10px rgba(124, 248, 255, 0.12));
}

#upper_section {
  margin-bottom: 14px;
  border: 1px solid rgba(174, 195, 226, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(43, 31, 70, 0.62), rgba(6, 19, 22, 0.78)),
    rgba(9, 13, 22, 0.88);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

#upper_section,
#inner_section,
#inner_wrap {
  background: transparent !important;
}

#inner_section {
  padding: 14px;
}

#inner_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(174, 195, 226, 0.12);
}

#inner_wrap .user {
  color: var(--px-muted);
  font-family: "ParadoxBody", "ParadoxData", Arial, sans-serif;
}

#inner_wrap .news {
  margin-left: auto;
  color: var(--px-muted);
}

#inner_wrap .news h2,
#inner_wrap .news p {
  display: inline;
  font-size: 12px;
}

#inner_wrap .news h2 {
  color: var(--px-emerald);
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
  text-transform: uppercase;
}

#main_menu {
  padding-top: 12px;
}

#main_menu > #mobile_user_menu.popup_container:not(.visible) {
  display: none !important;
}

.mobile_user_menu {
  display: none;
}

.dropmenu {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.dropmenu > li {
  position: relative;
  margin: 0;
  padding: 0;
  background: transparent;
}

.dropmenu li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 0 17px;
  color: #eaf3ff;
  border: 1px solid rgba(168, 180, 202, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(48, 40, 78, 0.42), rgba(11, 22, 27, 0.58)),
    rgba(13, 17, 27, 0.82);
  overflow: hidden;
}

.dropmenu li a::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(115deg, transparent, rgba(143, 84, 255, 0.9), rgba(52, 240, 198, 0.8), transparent);
  background-size: 250% 250%;
  opacity: 0;
  transition: opacity 180ms ease;
  animation: paradoxBorderFlow 8s linear infinite;
  z-index: -1;
}

.dropmenu li a:hover::before,
.dropmenu li a.active::before {
  opacity: 1;
}

body.effects-disabled .dropmenu li a::before {
  display: none;
}

.dropmenu li a:hover,
.dropmenu li a.active {
  color: #ffffff;
  border-color: rgba(52, 240, 198, 0.58);
  background:
    linear-gradient(135deg, rgba(88, 56, 151, 0.62), rgba(18, 63, 66, 0.54)),
    rgba(17, 22, 34, 0.94);
  box-shadow: 0 0 26px rgba(52, 240, 198, 0.12), inset 0 -2px 0 var(--px-emerald);
}

.dropmenu li ul,
#top_info .top_menu,
.top_menu {
  z-index: 10050 !important;
  min-width: 230px;
  border: 1px solid rgba(124, 248, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(16px);
}

#profile_menu,
#pm_menu,
#alerts_menu,
#top_info .top_menu.visible,
#top_info > li:hover .top_menu {
  z-index: 10060 !important;
}

.dropmenu li li a {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.navigate_section {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(174, 195, 226, 0.14);
  border-radius: 7px;
  background: rgba(7, 10, 17, 0.56);
}

.navigate_section ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.navigate_section ul li,
.navigate_section ul li a,
.navigate_section ul li em,
.navigate_section ul li span {
  color: var(--px-muted);
  font-family: "ParadoxBody", "ParadoxData", Arial, sans-serif;
}

.navigate_section ul li a:hover {
  color: var(--px-emerald);
}

#content_section {
  background: transparent !important;
  padding: 0;
}

#main_content_section {
  min-height: 420px;
}

.main_container {
  margin: 0 0 16px;
}

.cat_bar {
  margin-bottom: 8px;
  padding: 0;
  overflow: hidden;
}

.cat_bar .catbg,
.title_bar .titlebg,
.cat_bar h3,
.title_bar h3,
.cat_bar h4,
.title_bar h4 {
  min-height: 47px;
  margin: 0;
  padding: 14px 18px;
  color: var(--px-ice);
  background:
    linear-gradient(135deg, rgba(63, 45, 97, 0.74), rgba(8, 26, 29, 0.68));
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.cat_bar .catbg a,
.title_bar .titlebg a {
  color: var(--px-ice);
}

.cat_bar .desc {
  padding: 0 18px 14px;
  color: var(--px-muted);
  font-family: "ParadoxBody", "ParadoxData", Arial, sans-serif;
}

.up_contain {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(300px, 1fr) 250px minmax(330px, 0.76fr);
  gap: 20px;
  align-items: center;
  margin: 8px 0;
  padding: 16px;
  overflow: hidden;
}

.up_contain > .board_icon,
.up_contain > .info,
.up_contain > .board_stats,
.up_contain > .lastpost {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0;
}

.up_contain::before,
.windowbg::before,
.roundframe::before,
.forumpost::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(143, 84, 255, 0.14), transparent 26%),
    radial-gradient(circle at 100% 100%, rgba(52, 240, 198, 0.08), transparent 28%);
  opacity: 0.72;
}

.up_contain > *,
.windowbg > *,
.roundframe > *,
.forumpost > * {
  position: relative;
  z-index: 1;
}

.board_icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.board_icon a {
  width: 54px;
  height: 54px;
  display: block;
  background: url("../images/paradox/paradox-logo.png") center / contain no-repeat !important;
  transform: rotate(-30deg);
  filter: drop-shadow(0 0 11px rgba(143, 84, 255, 0.55));
  font-size: 0;
}

.board_icon a.board_off {
  opacity: 0.58;
  filter: grayscale(0.45) drop-shadow(0 0 8px rgba(124, 248, 255, 0.14));
}

.board_icon a.board_on {
  animation: paradoxPulse 2.7s ease-in-out infinite;
}

.info .subject,
.info .subject a,
.board_description strong,
.board_description b {
  color: var(--px-ice);
  font-family: "ParadoxData", "ParadoxBody", Arial, sans-serif;
  font-size: 18px;
}

.info .subject:hover,
.info .subject a:hover {
  color: var(--px-emerald);
}

.board_description {
  margin-top: 7px;
  color: var(--px-muted);
  font-family: "ParadoxBody", "ParadoxData", Arial, sans-serif;
  line-height: 1.5;
}

.board_stats {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  gap: 6px;
  color: var(--px-muted);
  text-align: left;
  border-left: 1px solid rgba(236, 245, 255, 0.54);
  border-right: 1px solid rgba(236, 245, 255, 0.54);
  padding: 0 44px;
  min-width: 250px;
  box-sizing: border-box;
}

.board_stats p,
.board_stats dt,
.board_stats dd {
  color: var(--px-muted);
  font-size: 12px;
}

.paradox-board-stats {
  display: grid;
  gap: 10px;
  margin: 0;
  width: 100%;
}

.paradox-board-stats span {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(18px, auto);
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.paradox-board-stats b {
  min-width: 0;
  overflow: hidden;
  color: var(--px-muted);
  font-weight: 700;
  white-space: nowrap;
}

.paradox-board-stats strong {
  color: var(--px-ice);
  font-size: 13px;
  text-align: right;
}

.lastpost {
  color: var(--px-muted);
  border-left: 0;
  padding-left: 4px;
  line-height: 1.5;
  min-width: 0;
  overflow-wrap: break-word;
}

.lastpost p {
  margin: 0;
}

.lastpost strong {
  display: inline;
  color: var(--px-ice);
}

.lastpost br {
  display: none;
}

.lastpost a {
  color: var(--px-ice);
}

.lastpost a:hover {
  color: var(--px-emerald);
}

#messageindex {
  overflow: hidden;
}

#messageindex #topic_header,
#messageindex #topic_container > .windowbg,
#messageindex #topic_container > .windowbg2,
#messageindex #topic_container > .approvebg {
  display: grid;
  grid-template-columns: 56px minmax(300px, 1fr) 250px minmax(230px, 0.64fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}

#messageindex #topic_header:has(> .moderation),
#messageindex #topic_container > .windowbg:has(> .moderation),
#messageindex #topic_container > .windowbg2:has(> .moderation),
#messageindex #topic_container > .approvebg:has(> .moderation) {
  grid-template-columns: 56px minmax(300px, 1fr) 250px minmax(230px, 0.64fr) 48px;
}

#messageindex #topic_header > .board_icon,
#messageindex #topic_header > .info,
#messageindex #topic_header > .board_stats,
#messageindex #topic_header > .lastpost,
#messageindex #topic_header > .moderation,
#messageindex #topic_container > .windowbg > .board_icon,
#messageindex #topic_container > .windowbg > .info,
#messageindex #topic_container > .windowbg > .board_stats,
#messageindex #topic_container > .windowbg > .lastpost,
#messageindex #topic_container > .windowbg > .moderation,
#messageindex #topic_container > .windowbg2 > .board_icon,
#messageindex #topic_container > .windowbg2 > .info,
#messageindex #topic_container > .windowbg2 > .board_stats,
#messageindex #topic_container > .windowbg2 > .lastpost,
#messageindex #topic_container > .windowbg2 > .moderation,
#messageindex #topic_container > .approvebg > .board_icon,
#messageindex #topic_container > .approvebg > .info,
#messageindex #topic_container > .approvebg > .board_stats,
#messageindex #topic_container > .approvebg > .lastpost,
#messageindex #topic_container > .approvebg > .moderation {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  box-sizing: border-box;
}

#messageindex #topic_header > .info,
#messageindex #topic_header > .board_stats,
#messageindex #topic_header > .lastpost,
#messageindex #topic_container .info,
#messageindex #topic_container .board_stats,
#messageindex #topic_container .lastpost,
#messageindex #topic_container .moderation {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 13px 14px;
  text-align: center;
}

#messageindex #topic_header > .board_icon,
#messageindex #topic_container > .windowbg > .board_icon,
#messageindex #topic_container > .windowbg2 > .board_icon,
#messageindex #topic_container > .approvebg > .board_icon {
  width: auto;
  height: auto;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 0 10px;
}

#messageindex #topic_container .info {
  flex-direction: column;
}

#messageindex #topic_header > .paradox-topic-title-head {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  white-space: nowrap;
}

#messageindex #topic_header > .paradox-topic-title-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#messageindex #topic_header > .paradox-topic-title-head .paradox-topic-title-separator {
  color: rgba(236, 245, 255, 0.58);
}

#messageindex #topic_header > .board_stats,
#messageindex #topic_container .board_stats {
  flex-direction: row;
  align-self: stretch;
  gap: 12px;
  padding: 13px 18px;
  border-left: 1px solid rgba(236, 245, 255, 0.48);
  border-right: 1px solid rgba(236, 245, 255, 0.48);
}

#messageindex .paradox-topic-stats-head,
#messageindex .paradox-topic-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  width: 100%;
  margin: 0;
  text-align: center;
}

#messageindex .paradox-topic-stats-head span,
#messageindex .paradox-topic-stats span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

#messageindex .paradox-topic-stats-head span + span::before,
#messageindex .paradox-topic-stats span + span::before {
  content: "/";
  margin-right: 14px;
  color: rgba(236, 245, 255, 0.54);
}

#messageindex #topic_container .info > div,
#messageindex .message_index_title,
#messageindex .message_index_title .preview,
#messageindex #topic_container .info p,
#messageindex #topic_container .lastpost p {
  width: 100%;
  float: none !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#messageindex #topic_container .icons.floatright {
  float: none !important;
  margin: 0 auto 6px;
  text-align: center;
}

#messageindex #topic_container .topic_pages {
  display: inline-flex;
  justify-content: center;
  margin: 6px auto 0;
}

#messageindex #topic_header .paradox-empty-topic-state {
  grid-column: 1 / -1;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 22px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 248, 255, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(13, 44, 45, 0.74), rgba(27, 18, 40, 0.78));
  border: 1px solid rgba(124, 248, 255, 0.38);
  box-shadow:
    inset 0 0 22px rgba(141, 79, 255, 0.1),
    0 0 20px rgba(124, 248, 255, 0.08);
}

#messageindex #topic_header .paradox-empty-topic-orb {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  background: var(--px-emerald);
  box-shadow:
    0 0 14px rgba(58, 255, 203, 0.8),
    0 0 30px rgba(141, 79, 255, 0.36);
}

#messageindex #topic_header .paradox-empty-topic-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

#messageindex #topic_header .paradox-empty-topic-copy strong {
  color: var(--px-ice);
  font-size: 1.08rem;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(124, 248, 255, 0.25);
}

#messageindex #topic_header .paradox-empty-topic-copy span {
  color: var(--px-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.children {
  grid-column: 2 / -1;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(174, 195, 226, 0.1);
  color: var(--px-muted);
}

.children a {
  color: var(--px-cyan);
}

.windowbg,
.roundframe,
.information,
.description,
.generic_list_wrapper {
  position: relative;
  margin-bottom: 14px;
  padding: 16px;
  color: var(--px-ice);
}

.windowbg2,
.windowbg3 {
  background:
    linear-gradient(135deg, rgba(35, 28, 55, 0.58), rgba(7, 18, 22, 0.7)),
    rgba(9, 13, 22, 0.88) !important;
}

.information,
.description {
  color: var(--px-muted);
  font-family: "ParadoxBody", "ParadoxData", Arial, sans-serif;
}

.roundframe h3,
.roundframe h4,
.windowbg h3,
.windowbg h4,
.information h3 {
  color: var(--px-ice);
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
}

table.table_grid,
.table_grid {
  width: 100%;
  color: var(--px-ice);
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table_grid th,
.table_grid td,
.windowbg th,
.windowbg td {
  border-color: rgba(174, 195, 226, 0.12) !important;
}

.table_grid th,
.title_bar th {
  color: var(--px-ice);
  background: rgba(23, 19, 38, 0.74);
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
}

.table_grid tr.windowbg,
.table_grid tr.windowbg2 {
  background: rgba(9, 13, 22, 0.82) !important;
}

.pagesection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
  padding: 10px 12px;
}

.pagelinks,
.buttonlist,
.buttonrow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pagelinks .current_page,
.pagelinks .nav_page,
.pagelinks .expand_pages {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(174, 195, 226, 0.2);
  border-radius: 6px;
  background: rgba(11, 16, 25, 0.78);
  color: var(--px-muted);
}

.pagelinks .current_page,
.pagelinks .nav_page:hover {
  color: #071014;
  background: linear-gradient(135deg, var(--px-emerald), var(--px-cyan));
}

.quickbuttons {
  gap: 7px;
}

.quickbuttons > li {
  margin: 0;
}

.quickbuttons > li > a {
  border-radius: 6px;
}

.forumpost {
  position: relative;
  overflow: hidden;
  margin: 0 0 15px;
  padding: 0;
}

.forumpost .cat_bar {
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(174, 195, 226, 0.13);
  border-radius: 7px 7px 0 0;
}

.forumpost .post_wrapper {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0;
  border: 0;
  border-radius: 0 0 7px 7px;
  background: transparent;
}

.poster {
  padding: 20px 14px 20px 16px;
  border-right: 1px solid rgba(174, 195, 226, 0.12);
  background: rgba(9, 10, 18, 0.42);
  text-align: center;
  overflow-wrap: break-word;
}

.poster h4,
.poster h4 a {
  color: var(--px-ice);
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
}

.poster h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 10px 0 6px;
  line-height: 1.18;
}

.poster h4 .paradox-poster-name,
.poster h4 .paradox-poster-name a {
  color: inherit !important;
}

.poster h4 .paradox-poster-name {
  min-width: 0;
}

.poster .paradox-poster-rank-icon {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.poster .paradox-poster-rank-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(143, 84, 255, 0.42));
}

.poster h4 .paradox-poster-name[style],
.poster .user_info .title[style],
.poster .user_info .membergroup[style],
.poster .user_info .postgroup[style] {
  text-shadow:
    0 0 10px currentColor,
    0 0 22px rgba(124, 248, 255, 0.14);
}

.poster .user_info .membergroup,
.poster .user_info .postgroup {
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
}

.poster .user_info {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.poster .user_info li {
  margin: 5px 0;
}

.poster .user_info .membergroup {
  margin-top: 2px;
}

.poster .user_info .postcount,
.poster .user_info .poster_ip {
  padding-left: 0;
}

.poster .paradox-poster-avatar {
  margin: 0 auto 10px;
  text-align: center;
}

.poster .paradox-poster-avatar a {
  display: inline-block;
}

#basicinfo .paradox-profile-name,
#basicinfo .paradox-profile-rank,
.profile_user_info .profile_username,
.profile_user_info .profile_username a,
.profile_user_info .profile_group {
  color: inherit !important;
}

#basicinfo .paradox-profile-name[style],
#basicinfo .paradox-profile-rank[style],
.profile_user_info .profile_username[style],
.profile_user_info .profile_group[style] {
  text-shadow:
    0 0 10px currentColor,
    0 0 22px rgba(124, 248, 255, 0.14);
}

.poster .avatar img {
  width: 81px;
  height: 81px;
  max-width: 81px !important;
  max-height: 81px !important;
  object-fit: cover;
  border: 1px solid rgba(124, 248, 255, 0.28);
  border-radius: 7px;
  box-shadow: 0 0 22px rgba(143, 84, 255, 0.18);
}

body img.avatar {
  max-width: 81px !important;
  max-height: 81px !important;
}

.postarea,
.moderatorbar {
  padding: 18px;
}

.postarea .inner {
  color: var(--px-ice);
  font-family: "ParadoxData", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.65;
}

.keyinfo h5,
.keyinfo h5 a {
  color: var(--px-ice);
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
}

.smalltext,
.middletext,
.modified,
.noticebox,
.infobox,
.errorbox {
  color: var(--px-muted);
}

.noticebox,
.infobox,
.errorbox {
  border: 1px solid rgba(174, 195, 226, 0.18);
  border-radius: 7px;
  background: rgba(11, 16, 25, 0.84);
}

.errorbox {
  border-color: rgba(255, 77, 120, 0.4);
  color: #ffdbe5;
}

.noticebox {
  border-color: rgba(255, 216, 117, 0.28);
}

.infobox {
  border-color: rgba(52, 240, 198, 0.28);
}

.codeheader,
.quoteheader {
  border: 1px solid rgba(174, 195, 226, 0.14);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: rgba(37, 30, 58, 0.8);
  color: var(--px-emerald);
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
}

.bbc_code,
.bbc_quote {
  border: 1px solid rgba(174, 195, 226, 0.14);
  border-radius: 0 0 7px 7px;
  background: rgba(3, 7, 12, 0.82);
  color: var(--px-ice);
}

.bbc_code {
  font-family: Consolas, "Lucida Console", monospace;
}

#info_center {
  margin-top: 18px;
}

#info_center .sub_bar {
  border-radius: 7px;
}

#info_center dl,
#info_center p,
#info_center li {
  color: var(--px-muted);
}

#info_center a {
  color: var(--px-ice);
}

#info_center a:hover {
  color: var(--px-emerald);
}

#footer {
  margin: 18px 0 0;
  padding: 18px 0 22px;
  color: var(--px-muted);
  border-top: 1px solid rgba(174, 195, 226, 0.12);
  background: rgba(3, 5, 9, 0.64) !important;
}

#footer .inner_wrap {
  margin: 0 auto;
}

#footer a {
  color: var(--px-muted);
}

#footer a:hover {
  color: var(--px-emerald);
}

#footer .paradox-footer-credit {
  display: block;
  margin-top: 7px;
  color: rgba(168, 180, 202, 0.78);
  font-family: "ParadoxData", "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
}

#footer .paradox-footer-credit span {
  color: var(--px-emerald);
}

#shoutbox,
.shoutbox,
#shoutbox_body,
#shoutbox_main {
  color: var(--px-ice);
}

.paradox-shoutbox-shell {
  margin: 12px 0 30px;
  border: 1px solid rgba(124, 248, 255, 0.22) !important;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(42, 32, 68, 0.42), rgba(5, 18, 22, 0.62)),
    rgba(7, 10, 18, 0.86) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.paradox-shout-titlebar {
  margin-bottom: 0;
}

.paradox-shout-titlebar .catbg {
  border-bottom-color: rgba(124, 248, 255, 0.42);
}

#shoutbox .windowbg,
.shoutbox .windowbg,
.shoutbox_body,
.paradox-shout-window {
  background:
    radial-gradient(circle at 8% 0%, rgba(143, 84, 255, 0.2), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(52, 240, 198, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(15, 20, 34, 0.92), rgba(7, 21, 25, 0.94)),
    rgba(9, 13, 22, 0.94) !important;
}

.paradox-shout-window {
  margin: 12px !important;
  padding: 0 !important;
  border: 1px solid rgba(145, 120, 255, 0.28) !important;
  border-radius: 8px;
}

.paradox-shout-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px !important;
}

.paradox-shout-content > hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(236, 245, 255, 0.38);
}

.paradox-shout-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(124, 248, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 14, 24, 0.9), rgba(11, 24, 28, 0.76));
}

.paradox-shout-status {
  display: inline-flex;
  align-items: center;
  min-width: 24px;
}

#shoutbox_status {
  display: none !important;
}

.paradox-shout-status img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.paradox-shout-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(168, 180, 202, 0.56);
}

.paradox-shout-actions a {
  color: var(--px-ice) !important;
  font-family: "ParadoxData", "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
}

.paradox-shout-actions a:hover {
  color: var(--px-emerald) !important;
}

.paradox-shout-log {
  width: 100%;
  min-height: 260px;
  height: 260px !important;
  max-height: 340px !important;
  margin: 0 !important;
  padding: 12px !important;
  overflow: auto !important;
  border: 1px solid rgba(124, 248, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(2, 6, 12, 0.72), rgba(4, 12, 16, 0.78)),
    rgba(3, 7, 13, 0.92);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.28);
  scrollbar-color: rgba(124, 248, 255, 0.55) rgba(8, 12, 20, 0.7);
}

#shoutbox table,
#shoutbox tr,
#shoutbox td {
  color: var(--px-ice);
  border-color: rgba(174, 195, 226, 0.1) !important;
}

#shoutbox_banned > table,
#shoutbox_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}

#shoutbox_table tbody,
#shoutbox_table thead {
  width: 100% !important;
}

#shoutbox_table .paradox-shout-row {
  width: 100%;
}

#shoutbox_table .paradox-shout-meta,
#shoutbox_table .paradox-shout-text {
  padding: 8px 10px !important;
  background: rgba(10, 16, 26, 0.66);
  border-top: 1px solid rgba(124, 248, 255, 0.12);
  border-bottom: 1px solid rgba(145, 120, 255, 0.16);
  vertical-align: top;
}

#shoutbox_table .paradox-shout-meta {
  width: 260px;
  text-align: right !important;
  border-left: 1px solid rgba(124, 248, 255, 0.16);
  border-radius: 7px 0 0 7px;
  white-space: normal;
}

#shoutbox_table .paradox-shout-text {
  width: auto;
  text-align: left !important;
  border-right: 1px solid rgba(145, 120, 255, 0.18);
  border-radius: 0 7px 7px 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

#shoutbox_table .paradox-shout-author {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  max-width: 100%;
  vertical-align: middle;
}

#shoutbox_table .paradox-shout-rank-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 5px rgba(124, 248, 255, 0.35));
}

#shoutbox_table .paradox-shout-user {
  color: var(--paradox-shout-user-color, var(--px-crimson)) !important;
  font-weight: 800;
  text-shadow: 0 0 8px color-mix(in srgb, var(--paradox-shout-user-color, var(--px-crimson)) 52%, transparent);
  overflow-wrap: anywhere;
}

#shoutbox_table .paradox-shout-meta a:not(.paradox-shout-user) {
  color: var(--px-crimson) !important;
  font-weight: 700;
}

#shoutbox_table .paradox-shout-time {
  display: inline-block;
  color: var(--px-emerald) !important;
  white-space: nowrap;
  margin-top: 2px;
  font-size: 0.92em;
}

.paradox-shout-message,
#shoutbox .smalltext,
#shoutbox_message,
#shoutbox textarea,
#shoutbox input {
  font-family: "ParadoxData", "Trebuchet MS", Arial, sans-serif !important;
}

#shoutbox_message,
#shoutbox textarea,
#shoutbox input[type="text"] {
  background: rgba(4, 8, 14, 0.86) !important;
  color: var(--px-ice) !important;
  border: 1px solid rgba(124, 248, 255, 0.32) !important;
  border-radius: 8px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(145, 120, 255, 0.08);
}

#shoutbox input[type="button"],
#shoutbox input[type="submit"] {
  color: var(--px-ice) !important;
}

#shoutbox .shoutbox_message_submit {
  min-width: 92px;
  height: 39px;
  border: 1px solid rgba(174, 195, 226, 0.22) !important;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(48, 57, 82, 0.94), rgba(18, 31, 39, 0.94)) !important;
}

#shoutbox .shoutbox_message_submit:hover {
  border-color: rgba(52, 240, 198, 0.62) !important;
  box-shadow: 0 0 18px rgba(52, 240, 198, 0.16);
}

#shoutbox .shoutbox_buttons img {
  width: 26px;
  height: 26px;
  padding: 4px;
  border: 1px solid rgba(174, 195, 226, 0.24);
  border-radius: 6px;
  background-color: rgba(12, 16, 26, 0.92) !important;
  background-size: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}

#shoutbox .shoutbox_buttons img:hover {
  border-color: rgba(124, 248, 255, 0.58);
  box-shadow: 0 0 16px rgba(124, 248, 255, 0.18);
}

.paradox-embed,
.autoembed,
.aevideo,
.aeme,
.embed {
  overflow: hidden;
  border: 1px solid rgba(124, 248, 255, 0.2);
  border-radius: 8px;
  background: rgba(5, 8, 14, 0.8);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.sceditor-container,
.sceditor-toolbar,
.sceditor-group {
  border-color: rgba(174, 195, 226, 0.16) !important;
  background: rgba(9, 13, 22, 0.92) !important;
}

.sceditor-toolbar {
  padding: 8px !important;
  overflow: visible !important;
}

.sceditor-button {
  width: 28px !important;
  height: 28px !important;
  margin: 2px !important;
  border: 1px solid rgba(174, 195, 226, 0.2) !important;
  border-radius: 6px !important;
  background: rgba(16, 22, 34, 0.92) !important;
  position: relative !important;
  overflow: visible !important;
}

.sceditor-button:hover,
.sceditor-button:focus,
.sceditor-button.active {
  border-color: rgba(52, 240, 198, 0.62) !important;
  background: rgba(32, 42, 58, 0.96) !important;
  box-shadow: 0 0 18px rgba(52, 240, 198, 0.13) !important;
}

.sceditor-button div {
  width: 16px !important;
  height: 16px !important;
  margin: 6px auto !important;
  background-image: url("../images/icons/editor_sprite.png") !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
  opacity: 0.95 !important;
  filter: invert(1) brightness(1.8) contrast(1.05) drop-shadow(0 0 3px rgba(124, 248, 255, 0.25));
}

.sceditor-button.has-icon div,
.text-icon .sceditor-button.has-icon div {
  background-image: url("../images/icons/editor_sprite.png") !important;
  background-repeat: no-repeat !important;
}

.sceditor-button svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  margin: 6px auto !important;
  fill: var(--px-ice) !important;
  filter: drop-shadow(0 0 4px rgba(124, 248, 255, 0.3));
}

.sceditor-button.disabled div {
  opacity: 0.28 !important;
}

.sceditor-button.disabled svg {
  fill: rgba(174, 195, 226, 0.34) !important;
  opacity: 0.38 !important;
}

.sceditor-button::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 120;
  transform: translateX(-50%) translateY(4px);
  max-width: 220px;
  padding: 6px 9px;
  border: 1px solid rgba(52, 240, 198, 0.45);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(13, 17, 29, 0.98), rgba(4, 16, 18, 0.98));
  box-shadow: 0 0 18px rgba(52, 240, 198, 0.16), 0 10px 24px rgba(0, 0, 0, 0.34);
  color: var(--px-ice);
  content: attr(data-sceditor-command);
  font: 12px/1.2 "ParadoxData", "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sceditor-button[title]::after {
  content: attr(title);
}

.sceditor-button[data-title]::after {
  content: attr(data-title);
}

.sceditor-button[data-tooltip]::after {
  content: attr(data-tooltip);
}

.sceditor-button-bold::after { content: "F\00E9lk\00F6v\00E9r"; }
.sceditor-button-italic::after { content: "D\0151lt"; }
.sceditor-button-underline::after { content: "Al\00E1h\00FAz\00E1s"; }
.sceditor-button-strike::after { content: "\00C1th\00FAz\00E1s"; }
.sceditor-button-subscript::after { content: "Als\00F3 index"; }
.sceditor-button-superscript::after { content: "Fels\0151 index"; }
.sceditor-button-left::after { content: "Balra igaz\00EDt\00E1s"; }
.sceditor-button-center::after { content: "K\00F6z\00E9pre igaz\00EDt\00E1s"; }
.sceditor-button-right::after { content: "Jobbra igaz\00EDt\00E1s"; }
.sceditor-button-justify::after { content: "Sorkiz\00E1r\00E1s"; }
.sceditor-button-font::after { content: "Bet\0171t\00EDpus"; }
.sceditor-button-size::after { content: "Bet\0171m\00E9ret"; }
.sceditor-button-color::after { content: "Sz\00EDn"; }
.sceditor-button-removeformat::after { content: "Form\00E1z\00E1s t\00F6rl\00E9se"; }
.sceditor-button-cut::after { content: "Kiv\00E1g\00E1s"; }
.sceditor-button-copy::after { content: "M\00E1sol\00E1s"; }
.sceditor-button-pastetext::after { content: "Egyszer\0171 sz\00F6veg beilleszt\00E9se"; }
.sceditor-button-bulletlist::after { content: "Felsorol\00E1s"; }
.sceditor-button-orderedlist::after { content: "Sz\00E1mozott lista"; }
.sceditor-button-indent::after { content: "Beh\00FAz\00E1s n\00F6vel\00E9se"; }
.sceditor-button-outdent::after { content: "Beh\00FAz\00E1s cs\00F6kkent\00E9se"; }
.sceditor-button-table::after { content: "T\00E1bl\00E1zat"; }
.sceditor-button-code::after { content: "K\00F3d"; }
.sceditor-button-quote::after { content: "Id\00E9zet"; }
.sceditor-button-horizontalrule::after { content: "Vonal"; }
.sceditor-button-image::after { content: "K\00E9p besz\00FAr\00E1sa"; }
.sceditor-button-email::after { content: "Email link"; }
.sceditor-button-link::after { content: "Link besz\00FAr\00E1sa"; }
.sceditor-button-unlink::after { content: "Link t\00F6rl\00E9se"; }
.sceditor-button-emoticon::after { content: "Emotikonok"; }
.sceditor-button-youtube::after { content: "YouTube"; }
.sceditor-button-date::after { content: "D\00E1tum"; }
.sceditor-button-time::after { content: "Id\0151"; }
.sceditor-button-ltr::after { content: "Balr\00F3l jobbra"; }
.sceditor-button-rtl::after { content: "Jobbr\00F3l balra"; }
.sceditor-button-print::after { content: "Nyomtat\00E1s"; }
.sceditor-button-maximize::after { content: "Teljes m\00E9ret"; }
.sceditor-button-source::after { content: "BBCode n\00E9zet"; }
.sceditor-button-flash::after { content: "Flash"; }
.sceditor-button-customformFields::after { content: "\0170rlap mez\0151"; }

.sceditor-button:hover::after,
.sceditor-button:focus::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sceditor-container iframe,
.sceditor-container textarea {
  background: rgba(4, 8, 14, 0.88) !important;
  color: var(--px-ice) !important;
}

/* SCEditor source mode must stay fully editable, not just visible. */
body.paradox-forum .sceditor-container {
  overflow: hidden;
}

body.paradox-forum .sceditor-container iframe,
body.paradox-forum .sceditor-container textarea {
  pointer-events: auto !important;
  user-select: text !important;
}

body.paradox-forum .sceditor-container textarea {
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  min-height: 260px;
  padding: 14px 15px !important;
  color: #f4f8ff !important;
  -webkit-text-fill-color: #f4f8ff !important;
  caret-color: var(--px-emerald) !important;
  cursor: text !important;
  resize: vertical;
  outline: none !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(141, 79, 255, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(6, 10, 18, 0.98), rgba(3, 20, 22, 0.98)) !important;
  font-family: "ParadoxData", Consolas, "Lucida Console", monospace !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  white-space: pre-wrap;
  tab-size: 4;
}

body.paradox-forum .sceditor-container textarea:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow:
    inset 0 0 0 1px rgba(52, 240, 198, 0.28),
    inset 0 0 24px rgba(124, 248, 255, 0.08) !important;
}

.generic_list_wrapper table,
.listlevel1,
.listlevel2,
.listlevel3 {
  color: var(--px-ice);
}

.admin_menu,
#admin_menu,
#adm_submenus,
.profile_pie {
  border-color: rgba(174, 195, 226, 0.14) !important;
}

.admin_menu a,
#admin_menu a,
.profile_menu a {
  color: var(--px-muted);
}

.admin_menu a:hover,
#admin_menu a:hover,
.profile_menu a:hover {
  color: var(--px-emerald);
}

.popup_window {
  color: var(--px-ice);
}

.popup_heading {
  color: var(--px-ice);
  background: rgba(37, 30, 58, 0.86);
  font-family: "ParadoxTitle", "ParadoxData", Arial, sans-serif;
}

.amt,
.new_posts,
.new_posts:visited,
.new_posts:hover {
  color: #061014 !important;
  background: linear-gradient(135deg, var(--px-emerald), var(--px-cyan)) !important;
  border-radius: 999px;
}

.main_icons,
.main_icons::before,
.main_icons::after {
  filter: hue-rotate(100deg) saturate(1.3) brightness(1.2);
}

.toggle_up,
.toggle_down {
  filter: hue-rotate(110deg) saturate(1.5) brightness(1.1);
}

.floatright,
.righttext {
  color: var(--px-muted);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(5, 8, 14, 0.76);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--px-purple), var(--px-emerald));
  border: 2px solid rgba(5, 8, 14, 0.9);
}

@media (max-width: 1240px) {
  .paradox-body-logo {
    display: none;
  }
}

@media (max-width: 900px) {
  #top_section .inner_wrap,
  #wrapper,
  #header,
  #footer .inner_wrap {
    width: min(100% - 18px, 1180px);
  }

  .paradox-banner {
    height: 190px;
  }

  .paradox-banner-brand {
    left: 16px;
    bottom: 18px;
  }

  .paradox-banner-ucp {
    right: 16px;
    bottom: 18px;
  }

  .paradox-body-logo {
    display: none;
  }

  .up_contain {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .board_stats,
  .lastpost,
  .children {
    grid-column: 2;
    border-left: 0;
    border-right: 0;
    padding-left: 0;
    text-align: left;
  }

  .board_stats {
    min-width: 0;
    padding-right: 0;
  }

  #messageindex #topic_header,
  #messageindex #topic_header:has(> .moderation),
  #messageindex #topic_container > .windowbg,
  #messageindex #topic_container > .windowbg:has(> .moderation),
  #messageindex #topic_container > .windowbg2,
  #messageindex #topic_container > .windowbg2:has(> .moderation),
  #messageindex #topic_container > .approvebg,
  #messageindex #topic_container > .approvebg:has(> .moderation) {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  #messageindex #topic_header > .board_stats,
  #messageindex #topic_header > .lastpost,
  #messageindex #topic_header > .moderation,
  #messageindex #topic_container .board_stats,
  #messageindex #topic_container .lastpost,
  #messageindex #topic_container .moderation {
    grid-column: 2;
    border-left: 0;
    border-right: 0;
    min-height: 0;
    padding: 8px 12px;
  }

  .forumpost .post_wrapper {
    grid-template-columns: 1fr;
  }

  .poster {
    border-right: 0;
    border-bottom: 1px solid rgba(174, 195, 226, 0.12);
  }
}

@media (max-width: 720px) {
  body.paradox-forum {
    font-size: 13px;
  }

  #top_section .inner_wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }

  #search_form {
    width: 100%;
    margin-left: 0;
  }

  #search_form input[type="search"] {
    min-width: 0;
    flex: 1;
  }

  .paradox-banner {
    height: 164px;
  }

  .paradox-effects-toggle {
    top: 10px;
    left: 10px;
    height: 31px;
    padding: 0 11px;
    font-size: 11px;
  }

  .paradox-banner-brand,
  .paradox-banner-ucp {
    min-height: 31px;
    font-size: 11px;
  }

  .paradox-banner-ucp {
    display: none;
  }

  .dropmenu {
    gap: 7px;
  }

  .dropmenu li a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .pagesection {
    align-items: flex-start;
    flex-direction: column;
  }
}

body.paradox-forum input:not([type="checkbox"]):not([type="radio"]):not([type="image"]):not([type="file"]),
body.paradox-forum textarea,
body.paradox-forum select,
body.paradox-forum .input_text,
body.paradox-forum .input_password {
  color-scheme: dark;
  color: #eaf3ff !important;
  -webkit-text-fill-color: #eaf3ff !important;
  background:
    linear-gradient(135deg, rgba(16, 12, 28, 0.96), rgba(5, 15, 18, 0.96)) !important;
  border-color: rgba(174, 195, 226, 0.28) !important;
  caret-color: var(--px-emerald) !important;
}

body.paradox-forum input:not([type="checkbox"]):not([type="radio"]):not([type="image"]):not([type="file"]):focus,
body.paradox-forum textarea:focus,
body.paradox-forum select:focus,
body.paradox-forum .input_text:focus,
body.paradox-forum .input_password:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background:
    linear-gradient(135deg, rgba(28, 18, 50, 0.98), rgba(6, 26, 27, 0.98)) !important;
  border-color: rgba(52, 240, 198, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(52, 240, 198, 0.1), 0 0 28px rgba(143, 84, 255, 0.18) !important;
}

body.paradox-forum input:-webkit-autofill,
body.paradox-forum input:-webkit-autofill:hover,
body.paradox-forum input:-webkit-autofill:focus,
body.paradox-forum textarea:-webkit-autofill,
body.paradox-forum textarea:-webkit-autofill:hover,
body.paradox-forum textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  caret-color: var(--px-emerald) !important;
  box-shadow: 0 0 0 1000px #101524 inset, 0 0 0 3px rgba(52, 240, 198, 0.1) !important;
  border-color: rgba(52, 240, 198, 0.62) !important;
}

body.paradox-forum input::placeholder,
body.paradox-forum textarea::placeholder {
  color: rgba(234, 243, 255, 0.52) !important;
  -webkit-text-fill-color: rgba(234, 243, 255, 0.52) !important;
}

/* Native selects need their own metrics; input styling clips selected text. */
body.paradox-forum select,
body.paradox-forum select.input_select,
body.paradox-forum .quickmod_check select,
body.paradox-forum .pagesection select,
body.paradox-forum #search_form select,
body.paradox-forum #message_index_jump_to_select,
body.paradox-forum select[name="qaction"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 120px;
  height: 36px !important;
  min-height: 36px !important;
  max-height: none !important;
  padding: 0 38px 0 12px !important;
  line-height: 34px !important;
  overflow: visible !important;
  color: #eef6ff !important;
  -webkit-text-fill-color: #eef6ff !important;
  text-indent: 0 !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: nowrap;
  background:
    linear-gradient(45deg, transparent 50%, rgba(124, 248, 255, 0.9) 50%),
    linear-gradient(135deg, rgba(124, 248, 255, 0.9) 50%, transparent 50%),
    linear-gradient(135deg, rgba(16, 12, 28, 0.96), rgba(5, 15, 18, 0.96)) !important;
  background-position:
    calc(100% - 17px) 15px,
    calc(100% - 12px) 15px,
    0 0 !important;
  background-size:
    5px 5px,
    5px 5px,
    100% 100% !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(174, 195, 226, 0.32) !important;
  border-radius: 6px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 16px rgba(124, 248, 255, 0.04) !important;
}

body.paradox-forum select:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(52, 240, 198, 0.72) !important;
  background:
    linear-gradient(45deg, transparent 50%, rgba(52, 240, 198, 1) 50%),
    linear-gradient(135deg, rgba(52, 240, 198, 1) 50%, transparent 50%),
    linear-gradient(135deg, rgba(28, 18, 50, 0.98), rgba(6, 26, 27, 0.98)) !important;
  background-position:
    calc(100% - 17px) 15px,
    calc(100% - 12px) 15px,
    0 0 !important;
  background-size:
    5px 5px,
    5px 5px,
    100% 100% !important;
  background-repeat: no-repeat !important;
}

body.paradox-forum select option,
body.paradox-forum select optgroup {
  color: #eef6ff !important;
  -webkit-text-fill-color: #eef6ff !important;
  background: #08101b !important;
  line-height: 1.45 !important;
  padding: 7px 10px !important;
}

body.paradox-forum select option:checked,
body.paradox-forum select option:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #261b42 !important;
}

body.paradox-forum #admin_content,
body.paradox-forum #admin_form_wrapper,
body.paradox-forum #main_content_section,
body.paradox-forum .content,
body.paradox-forum .roundframe .content,
body.paradox-forum fieldset,
body.paradox-forum dl.settings,
body.paradox-forum .settings,
body.paradox-forum .additional_row,
body.paradox-forum .flow_auto,
body.paradox-forum .generic_list,
body.paradox-forum .generic_list_wrapper,
body.paradox-forum .generic_list_wrapper .information,
body.paradox-forum .permission_groups,
body.paradox-forum .perm_groups,
body.paradox-forum ul.theme_options,
body.paradox-forum .windowbg.nopadding,
body.paradox-forum .windowbg.noup {
  color: var(--px-ice) !important;
  background:
    linear-gradient(135deg, rgba(24, 19, 39, 0.76), rgba(5, 16, 19, 0.84)),
    rgba(8, 12, 20, 0.92) !important;
  border-color: rgba(174, 195, 226, 0.16) !important;
}

body.paradox-forum.effects-disabled #admin_content,
body.paradox-forum.effects-disabled #admin_form_wrapper,
body.paradox-forum.effects-disabled #main_content_section,
body.paradox-forum.effects-disabled .content,
body.paradox-forum.effects-disabled .roundframe .content,
body.paradox-forum.effects-disabled fieldset,
body.paradox-forum.effects-disabled dl.settings,
body.paradox-forum.effects-disabled .settings,
body.paradox-forum.effects-disabled .additional_row,
body.paradox-forum.effects-disabled .flow_auto,
body.paradox-forum.effects-disabled .generic_list,
body.paradox-forum.effects-disabled .generic_list_wrapper,
body.paradox-forum.effects-disabled .generic_list_wrapper .information,
body.paradox-forum.effects-disabled .permission_groups,
body.paradox-forum.effects-disabled .perm_groups,
body.paradox-forum.effects-disabled ul.theme_options,
body.paradox-forum.effects-disabled .windowbg.nopadding,
body.paradox-forum.effects-disabled .windowbg.noup {
  background:
    linear-gradient(135deg, rgba(19, 16, 30, 0.92), rgba(5, 15, 17, 0.94)),
    rgba(7, 10, 17, 0.97) !important;
  box-shadow: none !important;
}

body.paradox-forum fieldset {
  border: 1px solid rgba(174, 195, 226, 0.18) !important;
  border-radius: 8px !important;
}

body.paradox-forum legend,
body.paradox-forum fieldset legend,
body.paradox-forum .table_caption,
body.paradox-forum tr.table_caption td {
  color: var(--px-ice) !important;
  background:
    linear-gradient(135deg, rgba(48, 39, 76, 0.9), rgba(8, 28, 29, 0.84)) !important;
  border: 1px solid rgba(124, 248, 255, 0.22) !important;
  border-radius: 6px !important;
}

body.paradox-forum dl.settings dt,
body.paradox-forum dl.settings dd,
body.paradox-forum .settings dt,
body.paradox-forum .settings dd,
body.paradox-forum .windowbg dl dt,
body.paradox-forum .windowbg dl dd {
  color: var(--px-ice) !important;
  background: transparent !important;
  border-color: rgba(174, 195, 226, 0.12) !important;
}

body.paradox-forum dl.settings dt span,
body.paradox-forum dl.settings dt strong,
body.paradox-forum dl.settings dd span,
body.paradox-forum dl.settings dd strong,
body.paradox-forum .settings dt span,
body.paradox-forum .settings dt strong,
body.paradox-forum .settings dd span,
body.paradox-forum .settings dd strong {
  color: var(--px-ice) !important;
}

body.paradox-forum dl.settings .smalltext,
body.paradox-forum .settings .smalltext,
body.paradox-forum fieldset .smalltext,
body.paradox-forum #admin_content .smalltext {
  color: var(--px-muted) !important;
}

body.paradox-forum tr.windowbg,
body.paradox-forum tr.windowbg2,
body.paradox-forum tr.windowbg3,
body.paradox-forum tr.bg,
body.paradox-forum tr.alternative,
body.paradox-forum tr.alternative2,
body.paradox-forum .table_grid tr,
body.paradox-forum .table_grid tbody,
body.paradox-forum .table_grid td,
body.paradox-forum .table_grid th,
body.paradox-forum .windowbg td,
body.paradox-forum .windowbg th {
  color: var(--px-ice) !important;
  background: rgba(7, 12, 19, 0.72) !important;
  border-color: rgba(174, 195, 226, 0.12) !important;
}

body.paradox-forum .table_grid tr:nth-child(even),
body.paradox-forum tr.windowbg:nth-of-type(even),
body.paradox-forum .bg.even {
  background: rgba(14, 20, 31, 0.78) !important;
}

body.paradox-forum .table_grid tr:hover,
body.paradox-forum tr.windowbg:hover {
  background: rgba(25, 36, 51, 0.86) !important;
}

body.paradox-forum hr,
body.paradox-forum .settings dd,
body.paradox-forum .settings dt {
  border-color: rgba(174, 195, 226, 0.14) !important;
}

/* Paradox captcha visibility: SMF's generated letters can be black/transparent. */
body.paradox-forum .verification_control {
  text-align: center;
}

body.paradox-forum .verification_control img[id^="verification_image"] {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px 12px;
  padding: 8px 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96), rgba(215, 243, 255, 0.9) 72%),
    linear-gradient(135deg, rgba(245, 250, 255, 0.96), rgba(185, 230, 244, 0.92));
  border: 1px solid rgba(124, 248, 255, 0.52);
  border-radius: 7px;
  box-shadow:
    0 0 20px rgba(124, 248, 255, 0.18),
    inset 0 0 18px rgba(141, 79, 255, 0.08);
  filter: drop-shadow(0 0 4px rgba(124, 248, 255, 0.35));
}

body.paradox-forum .verification_control a[id^="visual_verification"] {
  color: var(--px-ice) !important;
  text-shadow: 0 0 8px rgba(124, 248, 255, 0.35);
}

/* The forum does not use SMF topic/board follow notification popovers. */
body.paradox-forum .buttonlist .button_strip_notify,
body.paradox-forum .buttonlist .notify_dropdown,
body.paradox-forum .buttonlist .button_strip_notify + .notify_dropdown,
body.paradox-forum #mobile_action .button_strip_notify,
body.paradox-forum #mobile_action .notify_dropdown,
body.paradox-forum #mobile_action .button_strip_notify + .notify_dropdown {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Keep highlighted topic rows inside the Paradox dark visual system. */
body.paradox-forum #messageindex #topic_container > .windowbg,
body.paradox-forum #messageindex #topic_container > .windowbg2,
body.paradox-forum #messageindex #topic_container > .windowbg3,
body.paradox-forum #messageindex #topic_container > .approvebg,
body.paradox-forum #messageindex #topic_container > .approvebg2,
body.paradox-forum #messageindex #topic_container > .windowbg.sticky,
body.paradox-forum #messageindex #topic_container > .windowbg.locked,
body.paradox-forum #messageindex #topic_container > .windowbg.sticky.locked,
body.paradox-forum #messageindex #topic_container > .windowbg.approvetopic,
body.paradox-forum #messageindex #topic_container > .windowbg.approvepost {
  color: var(--px-ice) !important;
  background:
    radial-gradient(circle at 9% 50%, rgba(141, 79, 255, 0.18), transparent 36%),
    radial-gradient(circle at 86% 50%, rgba(53, 231, 174, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(12, 31, 42, 0.92), rgba(19, 14, 30, 0.94)) !important;
  border: 1px solid rgba(124, 248, 255, 0.34) !important;
  border-radius: 7px;
  box-shadow:
    inset 0 0 20px rgba(124, 248, 255, 0.07),
    inset 0 0 28px rgba(141, 79, 255, 0.08) !important;
}

body.paradox-forum #messageindex #topic_container > .windowbg:nth-of-type(even),
body.paradox-forum #messageindex #topic_container > .windowbg2:nth-of-type(even) {
  background:
    radial-gradient(circle at 10% 50%, rgba(141, 79, 255, 0.16), transparent 36%),
    radial-gradient(circle at 88% 50%, rgba(53, 231, 174, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(12, 34, 39, 0.92), rgba(18, 16, 32, 0.94)) !important;
}

body.paradox-forum #messageindex #topic_container > .windowbg:hover,
body.paradox-forum #messageindex #topic_container > .windowbg2:hover,
body.paradox-forum #messageindex #topic_container > .approvebg:hover {
  background:
    radial-gradient(circle at 9% 50%, rgba(141, 79, 255, 0.24), transparent 38%),
    radial-gradient(circle at 86% 50%, rgba(53, 231, 174, 0.19), transparent 36%),
    linear-gradient(135deg, rgba(16, 41, 53, 0.97), rgba(25, 17, 39, 0.98)) !important;
  border-color: rgba(124, 248, 255, 0.55) !important;
}

body.paradox-forum #messageindex #topic_container .message_index_title a,
body.paradox-forum #messageindex #topic_container .message_index_title span,
body.paradox-forum #messageindex #topic_container .info p,
body.paradox-forum #messageindex #topic_container .board_stats,
body.paradox-forum #messageindex #topic_container .lastpost,
body.paradox-forum #messageindex #topic_container .lastpost a {
  color: var(--px-ice) !important;
  text-shadow: 0 0 10px rgba(124, 248, 255, 0.12);
}

body.paradox-forum #messageindex #topic_container .board_stats,
body.paradox-forum #messageindex #topic_container .lastpost {
  background: rgba(5, 9, 16, 0.16) !important;
}

/* ParadoxMTA forum is Hungarian-only, so the public language switcher is hidden. */
body.paradox-forum #languages_form,
body.paradox-forum #language_select {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Post/board action dropdowns need to stay above pagination and inside the Paradox palette. */
body.paradox-forum .pagesection .pagelinks {
  position: relative;
  z-index: 1 !important;
}

body.paradox-forum .pagesection .buttonlist,
body.paradox-forum .buttonrow,
body.paradox-forum .quickbuttons {
  position: relative;
  z-index: 30 !important;
  overflow: visible;
}

body.paradox-forum .quickbuttons .post_options,
body.paradox-forum .buttonlist > .button,
body.paradox-forum .buttonlist > a {
  position: relative;
}

body.paradox-forum .quickbuttons .post_options:hover,
body.paradox-forum .quickbuttons .post_options:focus-within,
body.paradox-forum .buttonlist:hover,
body.paradox-forum .buttonrow:hover {
  z-index: 45000 !important;
}

body.paradox-forum .quickbuttons .post_options > ul,
body.paradox-forum .buttonlist .top_menu,
body.paradox-forum .buttonrow .top_menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  z-index: 46000 !important;
  min-width: 244px;
  max-width: min(320px, calc(100vw - 28px));
  margin: 0 !important;
  padding: 8px !important;
  overflow: visible !important;
  border: 1px solid rgba(124, 248, 255, 0.34) !important;
  border-radius: 8px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(141, 79, 255, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(14, 18, 32, 0.98), rgba(5, 24, 28, 0.98)) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.72),
    0 0 28px rgba(124, 248, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px);
}

body.paradox-forum .quickbuttons .post_options > ul {
  display: none;
  list-style: none;
}

body.paradox-forum .quickbuttons .post_options:hover > ul,
body.paradox-forum .quickbuttons .post_options:focus-within > ul {
  display: block !important;
}

body.paradox-forum .quickbuttons .post_options > ul li,
body.paradox-forum .buttonlist .top_menu .overview,
body.paradox-forum .buttonrow .top_menu .overview {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.paradox-forum .quickbuttons .post_options > ul a,
body.paradox-forum .buttonlist .top_menu a,
body.paradox-forum .buttonrow .top_menu a {
  width: 100%;
  min-height: 34px;
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px !important;
  padding: 8px 10px !important;
  color: var(--px-ice) !important;
  border: 1px solid rgba(174, 195, 226, 0.12) !important;
  border-radius: 6px !important;
  background:
    linear-gradient(135deg, rgba(34, 28, 54, 0.78), rgba(7, 18, 24, 0.78)) !important;
  text-align: left;
  text-decoration: none !important;
  white-space: normal;
}

body.paradox-forum .quickbuttons .post_options > ul a:hover,
body.paradox-forum .quickbuttons .post_options > ul a:focus,
body.paradox-forum .buttonlist .top_menu a:hover,
body.paradox-forum .buttonlist .top_menu a:focus,
body.paradox-forum .buttonrow .top_menu a:hover,
body.paradox-forum .buttonrow .top_menu a:focus {
  color: #ffffff !important;
  border-color: rgba(52, 240, 198, 0.58) !important;
  background:
    linear-gradient(135deg, rgba(87, 56, 151, 0.78), rgba(15, 75, 76, 0.72)) !important;
  box-shadow: 0 0 22px rgba(52, 240, 198, 0.12);
}

body.paradox-forum .quickbuttons .post_options > ul a strong,
body.paradox-forum .buttonlist .top_menu a strong,
body.paradox-forum .buttonrow .top_menu a strong,
body.paradox-forum .quickbuttons .post_options > ul a span,
body.paradox-forum .buttonlist .top_menu a span,
body.paradox-forum .buttonrow .top_menu a span {
  color: inherit !important;
}

/* Profile readability pass: inset text blocks and alternate rows per info group. */
body.paradox-forum #profileview {
  padding: 16px 18px !important;
}

body.paradox-forum #profileview #basicinfo {
  box-sizing: border-box;
  padding: 14px 16px !important;
}

body.paradox-forum #profileview #detailedinfo {
  box-sizing: border-box;
  padding-left: 16px !important;
}

body.paradox-forum #profileview #detailedinfo > dl.settings,
body.paradox-forum #profileview #detailedinfo > dl.settings.noborder,
body.paradox-forum #tracking dl.settings {
  display: grid !important;
  grid-template-columns: minmax(210px, 34%) minmax(280px, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 0 0 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(174, 195, 226, 0.12) !important;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 18, 28, 0.72), rgba(6, 18, 20, 0.66)) !important;
}

body.paradox-forum #profileview #detailedinfo > dl.settings dt,
body.paradox-forum #profileview #detailedinfo > dl.settings dd,
body.paradox-forum #tracking dl.settings dt,
body.paradox-forum #tracking dl.settings dd {
  float: none !important;
  width: auto !important;
  min-height: 32px;
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 8px 22px !important;
  overflow-wrap: anywhere;
  border: 0 !important;
  border-bottom: 1px solid rgba(174, 195, 226, 0.08) !important;
  box-sizing: border-box;
  line-height: 1.35;
}

body.paradox-forum #profileview #detailedinfo > dl.settings dt,
body.paradox-forum #tracking dl.settings dt {
  justify-content: flex-start;
  padding-left: 24px !important;
}

body.paradox-forum #profileview #detailedinfo > dl.settings dd,
body.paradox-forum #tracking dl.settings dd {
  justify-content: flex-start;
  padding-left: 28px !important;
}

body.paradox-forum #profileview #detailedinfo > dl.settings dt.clear,
body.paradox-forum #tracking dl.settings dt.clear {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

body.paradox-forum #profileview #detailedinfo > dl.settings dt:nth-of-type(odd),
body.paradox-forum #profileview #detailedinfo > dl.settings dd:nth-of-type(odd),
body.paradox-forum #tracking dl.settings dt:nth-of-type(odd),
body.paradox-forum #tracking dl.settings dd:nth-of-type(odd) {
  color: #f2f7ff !important;
  background: rgba(6, 15, 23, 0.34) !important;
}

body.paradox-forum #profileview #detailedinfo > dl.settings dt:nth-of-type(even),
body.paradox-forum #profileview #detailedinfo > dl.settings dd:nth-of-type(even),
body.paradox-forum #tracking dl.settings dt:nth-of-type(even),
body.paradox-forum #tracking dl.settings dd:nth-of-type(even) {
  color: #c6a8ff !important;
  background:
    linear-gradient(90deg, rgba(141, 79, 255, 0.17), rgba(8, 18, 26, 0.18)) !important;
}

body.paradox-forum #profileview #detailedinfo > dl.settings dt:nth-of-type(even) span,
body.paradox-forum #profileview #detailedinfo > dl.settings dd:nth-of-type(even) span,
body.paradox-forum #profileview #detailedinfo > dl.settings dt:nth-of-type(even) strong,
body.paradox-forum #profileview #detailedinfo > dl.settings dd:nth-of-type(even) strong,
body.paradox-forum #profileview #detailedinfo > dl.settings dt:nth-of-type(even) a:not(:hover),
body.paradox-forum #profileview #detailedinfo > dl.settings dd:nth-of-type(even) a:not(:hover),
body.paradox-forum #tracking dl.settings dt:nth-of-type(even) span,
body.paradox-forum #tracking dl.settings dd:nth-of-type(even) span,
body.paradox-forum #tracking dl.settings dt:nth-of-type(even) strong,
body.paradox-forum #tracking dl.settings dd:nth-of-type(even) strong,
body.paradox-forum #tracking dl.settings dt:nth-of-type(even) a:not(:hover),
body.paradox-forum #tracking dl.settings dd:nth-of-type(even) a:not(:hover) {
  color: #c6a8ff !important;
}

body.paradox-forum #profileview #basicinfo .profile_menu li:nth-child(even) a,
body.paradox-forum #profileview #basicinfo .profile_menu li:nth-child(even) span,
body.paradox-forum #profileview #basicinfo > a.infolinks:nth-of-type(even) {
  color: #c6a8ff !important;
}

@media (max-width: 900px) {
  body.paradox-forum #profileview #detailedinfo {
    padding-left: 0 !important;
  }

  body.paradox-forum #profileview #detailedinfo > dl.settings,
  body.paradox-forum #profileview #detailedinfo > dl.settings.noborder,
  body.paradox-forum #tracking dl.settings {
    grid-template-columns: 1fr;
  }

  body.paradox-forum #profileview #detailedinfo > dl.settings dt,
  body.paradox-forum #profileview #detailedinfo > dl.settings dd,
  body.paradox-forum #tracking dl.settings dt,
  body.paradox-forum #tracking dl.settings dd {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Clickable elements should feel alive, not just swap the cursor. */
body.paradox-forum a[href] {
  cursor: pointer;
}

body.paradox-forum a[href]:not(.button):not(.paradox-banner-brand):not(.paradox-banner-ucp):not(.paradox-effects-toggle):not(.board_on):not(.board_off):not(.board_on2):not(.board_redirect) {
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    filter 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

body.paradox-forum a[href]:not([style]):not(.button):not(.paradox-banner-brand):not(.paradox-banner-ucp):not(.paradox-effects-toggle):hover,
body.paradox-forum a[href]:not([style]):not(.button):not(.paradox-banner-brand):not(.paradox-banner-ucp):not(.paradox-effects-toggle):focus-visible {
  color: var(--px-emerald) !important;
  text-shadow:
    0 0 10px rgba(52, 240, 198, 0.45),
    0 0 20px rgba(124, 248, 255, 0.16);
}

body.paradox-forum a[href][style]:hover,
body.paradox-forum a[href][style]:focus-visible {
  filter: brightness(1.18) saturate(1.18);
  text-shadow:
    0 0 10px currentColor,
    0 0 22px rgba(124, 248, 255, 0.16);
}

body.paradox-forum .message_index_title a,
body.paradox-forum .info .subject a,
body.paradox-forum .lastpost a,
body.paradox-forum .poster h4 a,
body.paradox-forum #basicinfo a,
body.paradox-forum #detailedinfo a,
body.paradox-forum .navigate_section a,
body.paradox-forum .linktree a,
body.paradox-forum .profile_menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

body.paradox-forum .message_index_title a:hover,
body.paradox-forum .info .subject a:hover,
body.paradox-forum .lastpost a:hover,
body.paradox-forum .poster h4 a:hover,
body.paradox-forum #basicinfo a:hover,
body.paradox-forum #detailedinfo a:hover,
body.paradox-forum .navigate_section a:hover,
body.paradox-forum .linktree a:hover,
body.paradox-forum .profile_menu a:hover {
  transform: translateY(-1px);
}

body.paradox-forum .board_icon a {
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

body.paradox-forum .board_icon a:hover,
body.paradox-forum .board_icon a:focus-visible {
  transform: rotate(-30deg) scale(1.08);
  opacity: 1;
  filter:
    drop-shadow(0 0 13px rgba(143, 84, 255, 0.82))
    drop-shadow(0 0 20px rgba(52, 240, 198, 0.22));
}
