/* Parallax RP — modern phpBB child theme */
:root {
  --px-bg: #07070b;
  --px-surface: rgba(20, 19, 30, .88);
  --px-surface-2: #181622;
  --px-surface-3: #211d2d;
  --px-border: rgba(255, 255, 255, .085);
  --px-border-strong: rgba(185, 104, 255, .34);
  --px-text: #f8f7fb;
  --px-muted: #9995a8;
  --px-accent: #a94cff;
  --px-accent-2: #d16cff;
  --px-accent-soft: rgba(169, 76, 255, .13);
  --px-radius: 18px;
  --px-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--px-bg); }
body {
  margin: 0;
  color: var(--px-text);
  background: radial-gradient(900px 500px at 88% -10%, rgba(142, 50, 255, .16), transparent 66%), radial-gradient(700px 420px at 2% 22%, rgba(81, 49, 150, .1), transparent 65%), var(--px-bg);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
.wrap { width: min(1240px, calc(100% - 40px)); max-width: none; margin: 0 auto; padding: 20px 0 48px; background: transparent; border: 0; box-shadow: none; }
a, .postlink, .postlink:visited, .icon, .button .icon { color: var(--px-accent-2); }
a:hover, .postlink:hover, .forumtitle:hover, .topictitle:hover { color: #fff; text-decoration: none; }
:focus-visible { outline: 2px solid #dca9ff !important; outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--px-text); letter-spacing: -.025em; }
h2 { margin: 26px 0 16px; font-size: clamp(24px, 3vw, 36px); font-weight: 750; }
h3 { border-color: var(--px-border); }

.headerbar {
  position: relative; min-height: 76px; margin: 0; overflow: hidden;
  border: 1px solid var(--px-border); border-radius: 16px;
  background: rgba(16, 15, 23, .9);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
}
.headerbar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(169, 76, 255, .09), transparent 42%); pointer-events: none; }
.headerbar .inner, .site-description { min-height: 76px; }
.site-description { display: flex; align-items: center; padding: 0 24px; }
.site-description #logo { display: none; }
.site-description .site_logo { display: none; }
.site-description h1 { position: relative; z-index: 2; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto; white-space: normal; border: 0; font-size: 25px; font-weight: 780; letter-spacing: -.035em; }
.site-description h1 a { color: #fff; }
.site-description h1 a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; border-radius: 50%; background: var(--px-accent); box-shadow: 0 0 16px rgba(169,76,255,.8); vertical-align: middle; }
.site-description > p:not(.skiplink) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.headerbar .search-header { position: absolute; top: 18px; right: 18px; z-index: 3; opacity: .88; }

.navbar {
  margin: 12px 0 0; padding: 3px 8px; color: var(--px-text); border: 1px solid var(--px-border); border-radius: 14px;
  background: rgba(16, 15, 23, .88); box-shadow: 0 12px 32px rgba(0,0,0,.18); backdrop-filter: blur(18px);
}
.nav-main > li > a, .nav-main > li > div > a { padding: 10px 8px; font-weight: 650; }
.nav-breadcrumbs { border-top: 1px solid var(--px-border); }
.breadcrumbs, .responsive-hide, .row .small, .post-info, .pagination, .stat-block p, .postprofile dd, .postprofile dt { color: var(--px-muted); }
#page-body { padding-top: 10px; }
.action-bar { margin: 18px 0; }

.forabg, .forumbg {
  margin: 18px 0; padding: 0; overflow: hidden; border: 1px solid var(--px-border); border-radius: var(--px-radius);
  background: var(--px-surface); box-shadow: 0 15px 45px rgba(0, 0, 0, .2);
}
.forabg .inner, .forumbg .inner { margin: 0; }
.forabg .header, .forumbg .header { padding: 13px 18px; background: linear-gradient(90deg, rgba(169,76,255,.16), rgba(169,76,255,.03)); border-bottom: 1px solid var(--px-border); }
ul.topiclist li.header { color: #c8c4d0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
ul.topiclist li.header a { color: #fff; font-weight: 750; }
ul.topiclist.forums, ul.topiclist.topics { background: transparent; background-image: none; }
ul.topiclist li.row { min-height: 76px; color: var(--px-muted); background: rgba(255,255,255,.012); border-color: var(--px-border); transition: background .18s ease; }
ul.topiclist li.row:nth-child(even) { background: rgba(255,255,255,.025); }
ul.topiclist li.row:hover { background: var(--px-accent-soft); }
ul.topiclist li.row:hover dd, ul.topiclist li.row:hover dt { border-color: transparent; }
ul.topiclist li.row dd, ul.topiclist li.row dt { color: var(--px-muted); }
.forum-image, .forum-status { margin-top: 8px; }
.forum-status i, .topic-status i { color: var(--px-accent); }
.forumtitle, .topictitle { color: var(--px-text); font-size: 15px; font-weight: 720; letter-spacing: -.01em; }
.forum-description { margin-top: 4px; color: var(--px-muted); font-size: 13px; }
.subforums { margin-top: 6px; color: #b8b3c2; }
.subforum.read { color: var(--px-accent-2); }

.panel, .bg1, .bg2, .bg3, .post, .dropdown .dropdown-contents, .panel-container .panel, .panel-container .cp-mini { color: var(--px-text); background: var(--px-surface-2); }
.panel, .post, .dropdown .dropdown-contents { border: 1px solid var(--px-border); border-radius: 14px; }
.post { margin-bottom: 14px; box-shadow: 0 12px 35px rgba(0,0,0,.16); }
/* Language CSS restores the online ribbon after our background shorthand.
   Keep it in one corner instead of letting it tile across the message. */
.post.online { background-repeat: no-repeat; background-position: right top; }
.rtl .post.online { background-position: left top; }
.postbody, .content, .postprofile, .postprofile strong, .panel-container, .panel-container h2, .panel-container h3, table.table1 td, .stat-block, .stat-block h3 { color: var(--px-text); }
.signature, .postbody .content, .postprofile, hr, .dropdown li, .dropdown li li { border-color: var(--px-border); }
.username-coloured { font-weight: 750; }

.button, .button1, .button2, .button3, a.button1, a.button2, input.button1, input.button2, input.button3 {
  min-height: 36px; padding: 7px 13px; color: var(--px-text); border: 1px solid var(--px-border); border-radius: 10px;
  background: var(--px-surface-3); box-shadow: none; font-weight: 680; transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.button:hover, .button:focus, a.button1:hover, a.button2:hover, input.button1:hover, input.button2:hover { color: #fff; border-color: var(--px-border-strong); background: #322244; transform: translateY(-1px); }
.button1, a.button1, input.button1 { color: #fff; border-color: #bd72ff; background: linear-gradient(135deg, #9140e6, #b04dff); }
.inputbox, input.inputbox, textarea.inputbox, select, .search-box .inputbox { min-height: 39px; color: var(--px-text); border: 1px solid var(--px-border); border-radius: 10px; background: #12111a; }
.inputbox:focus, input.inputbox:focus, textarea.inputbox:focus, select:focus { color: #fff; border-color: var(--px-accent); background: #15131e; box-shadow: 0 0 0 3px rgba(169,76,255,.12); }
.inputbox::placeholder { color: #716c7d; opacity: 1; }
.pagination li a, .pagination li.ellipsis span { color: var(--px-text); border-color: var(--px-border); background: var(--px-surface-3); }
.pagination li.active span { color: #fff; border-color: var(--px-accent); background: var(--px-accent); }
.dropdown-extended .header, .dropdown-extended .footer { background: var(--px-surface-3); }
.rules { border-radius: 12px; background: rgba(169,76,255,.12); border-color: var(--px-border-strong); }
.stat-block { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--px-border); border-radius: 14px; background: rgba(18,17,26,.72); }
.copyright { color: #74707e; }

@media (max-width: 700px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 16px); padding-top: 8px; }
  .headerbar, .headerbar .inner, .site-description { min-height: 66px; }
  .headerbar { border-radius: 13px; }
  .site-description { padding: 0 16px; }
  .site-description h1 { font-size: 21px; }
  .headerbar .search-header { display: none; }
  .navbar { border-radius: 12px; }
  .forabg, .forumbg { border-radius: 14px; }
  ul.topiclist li.row { min-height: 68px; }
  .forumtitle, .topictitle { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
