
/*
  Bohaterowie Nauki — custom phpBB child style
  Upload folder: /forum/styles/bohaterowie_nauki/
  Parent style: prosilver
*/

@import url("../../prosilver/theme/stylesheet.css");

:root {
  --bn-bg: #030915;
  --bn-bg-2: #071322;
  --bn-panel: rgba(8, 20, 36, 0.94);
  --bn-panel-2: rgba(12, 30, 52, 0.96);
  --bn-panel-3: rgba(17, 40, 68, 0.92);
  --bn-gold: #d4aa55;
  --bn-gold-2: #f0cf82;
  --bn-gold-dim: #8a692c;
  --bn-blue: #78aee8;
  --bn-blue-2: #3c7bbd;
  --bn-text: #eee5d4;
  --bn-muted: #bdb5a8;
  --bn-line: rgba(212, 170, 85, 0.42);
  --bn-line-soft: rgba(212, 170, 85, 0.18);
  --bn-shadow: rgba(0, 0, 0, 0.65);
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 17% 0%, rgba(44, 78, 118, 0.38), transparent 28rem),
    radial-gradient(circle at 82% 7%, rgba(190, 144, 55, 0.16), transparent 25rem),
    linear-gradient(180deg, #020610 0%, #07111e 43%, #030713 100%);
}

body {
  color: var(--bn-text);
  background:
    linear-gradient(180deg, rgba(4, 11, 22, 0.15), rgba(2, 6, 14, 0.82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 120px);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
}

#wrap, .wrap {
  max-width: 1448px;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 0 0 16px;
  background: transparent;
}

/* Header banner */
#page-header .headerbar {
  min-height: 158px;
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid var(--bn-line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background:
    linear-gradient(90deg, rgba(3,8,18,0.06), rgba(3,8,18,0.00)),
    url("./images/bn-forum-header.webp") center center / cover no-repeat !important;
  box-shadow: 0 20px 44px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.03);
}

#page-header .headerbar .inner {
  min-height: 158px;
  padding: 0;
}

/* The banner image already contains the title and atom emblem. Keep native phpBB title hidden. */
#site-description,
#site-description h1,
#site-description p,
#site-description .logo,
.site_logo,
#search-box {
  display: none !important;
}

/* Top navigation / phpBB navbar */
.navbar {
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid var(--bn-line);
  border-top-color: rgba(212,170,85,0.55);
  border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, rgba(12, 28, 48, .98), rgba(6, 15, 28, .98));
  color: var(--bn-text);
  box-shadow: 0 10px 26px rgba(0,0,0,0.30);
}

.navbar .inner {
  padding: 11px 18px;
}

.navbar a,
.navbar .username,
.navbar .dropdown-trigger {
  color: var(--bn-text) !important;
  font-weight: 600;
}

.navbar a:hover,
.navbar .dropdown-trigger:hover,
.linklist a:hover {
  color: var(--bn-gold-2) !important;
  text-decoration: none;
}

ul.linklist > li {
  color: var(--bn-muted);
}

.breadcrumbs .crumb a,
.breadcrumbs .crumb:before,
.breadcrumbs .crumb:after {
  color: var(--bn-muted) !important;
}

.breadcrumbs .crumb a:hover {
  color: var(--bn-gold-2) !important;
}

/* Generic typography */
a, a:link, a:visited {
  color: var(--bn-blue);
}

a:hover, a:active {
  color: var(--bn-gold-2);
  text-decoration: none;
}

h2, h3, .content h2, .panel h2 {
  color: var(--bn-gold-2);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}

/* Main forum blocks */
.forabg, .forumbg {
  margin: 16px 0;
  padding: 0;
  border: 1px solid var(--bn-line);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 26, 45, .96), rgba(7, 18, 33, .96));
  box-shadow: 0 18px 34px rgba(0,0,0,.36), inset 0 0 0 1px rgba(255,255,255,.02);
}

.forabg > .inner, .forumbg > .inner {
  padding: 0;
}

ul.topiclist {
  background: transparent;
}

ul.topiclist li.header {
  background: linear-gradient(180deg, rgba(15, 33, 56, .96), rgba(6, 18, 34, .96));
  border-bottom: 1px solid var(--bn-line);
  color: var(--bn-gold-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: Georgia, "Times New Roman", serif;
}

ul.topiclist li.header dl,
ul.topiclist li.header dt,
ul.topiclist li.header dd {
  color: var(--bn-gold-2) !important;
}

ul.topiclist li.row {
  min-height: 72px;
  border-top: 1px solid rgba(212,170,85,.11);
  border-bottom: 0;
  background: linear-gradient(90deg, rgba(9, 24, 43, .98), rgba(7, 17, 31, .98));
  color: var(--bn-text);
}

ul.topiclist li.row:nth-child(even) {
  background: linear-gradient(90deg, rgba(12, 30, 52, .98), rgba(7, 18, 32, .98));
}

ul.topiclist li.row:hover {
  background: linear-gradient(90deg, rgba(24, 53, 84, .98), rgba(11, 28, 50, .98));
}

ul.topiclist li.row:hover .forumtitle,
ul.topiclist li.row:hover .topictitle {
  color: #ffdc91 !important;
}

/* Forum titles and descriptions */
a.forumtitle, a.topictitle {
  color: var(--bn-gold-2) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22em;
  font-weight: 700;
  letter-spacing: .01em;
}

.forumtitle:hover, .topictitle:hover {
  color: #fff2bd !important;
}

li.row .list-inner,
li.row .lastpost,
li.row dd,
li.row dt {
  color: var(--bn-text);
}

li.row .responsive-show,
li.row .forum-description,
li.row .postdetails,
li.row .lastpost span,
li.row .lastpost a + span {
  color: var(--bn-muted);
}

/* Circular science emblem for rows */
ul.topiclist.forums dl.row-item dt .list-inner {
  position: relative;
  min-height: 58px;
  padding-left: 78px;
}

ul.topiclist.forums dl.row-item dt .list-inner:before {
  content: "⚛";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(212,170,85,.82);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(240,207,130,.22), rgba(5,15,28,.92) 62%);
  color: var(--bn-gold-2);
  font-size: 27px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 0 22px rgba(212,170,85,.10);
}

/* Topic/post count columns */
dd.topics, dd.posts, dd.views, dd.lastpost, dd.redirect, dd.mark {
  border-left: 1px solid rgba(212,170,85,.12);
}

dd.topics, dd.posts, dd.views {
  color: #fff1c7 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16em;
}

.lastpost a {
  color: var(--bn-gold-2) !important;
}

.lastpost a:hover {
  color: #fff2bd !important;
}

/* Panels: statistics, who is online, forms */
.panel, .post, .bg1, .bg2, .bg3, .cp-main .panel, .rules {
  border: 1px solid var(--bn-line-soft);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(10,25,43,.96), rgba(6,15,28,.96));
  color: var(--bn-text);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}

.panel h3, .stat-block h3, .statistics h3 {
  color: var(--bn-gold-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.content, .content p, .postbody, .postbody .content,
dd, dt, li, p, table.table1 tbody td {
  color: var(--bn-text);
}

/* Buttons */
.button, .button1, .button2, input.button1, input.button2, a.button1, a.button2,
input[type="submit"], input[type="button"], input[type="reset"] {
  border: 1px solid rgba(212,170,85,.72) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(238,193,104,.98), rgba(145,95,30,.98)) !important;
  color: #1a1207 !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.35);
}

.button:hover, .button1:hover, .button2:hover, input.button1:hover, input.button2:hover,
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover {
  border-color: var(--bn-gold-2) !important;
  background: linear-gradient(180deg, #ffd98b, #b98235) !important;
  color: #130d05 !important;
}

/* Search boxes and inputs */
input.inputbox, textarea.inputbox, select, .inputbox {
  border: 1px solid rgba(212,170,85,.35) !important;
  border-radius: 6px;
  background: rgba(2,9,18,.84) !important;
  color: var(--bn-text) !important;
}

input.inputbox:focus, textarea.inputbox:focus, select:focus {
  border-color: var(--bn-gold) !important;
  box-shadow: 0 0 0 3px rgba(212,170,85,.13);
}

/* Pagination */
.pagination li a, .pagination li span {
  border-color: rgba(212,170,85,.35);
  background: rgba(9,24,43,.95);
  color: var(--bn-text);
}

.pagination li.active span {
  background: var(--bn-gold);
  color: #130d05;
}

/* Dropdowns */
.dropdown .dropdown-contents {
  border-color: var(--bn-line);
  background: #071322;
  color: var(--bn-text);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}

/* Tables */
table.table1 thead th {
  color: var(--bn-gold-2);
  background: rgba(12, 31, 54, .96);
  border-bottom: 1px solid var(--bn-line);
}

table.table1 tbody tr {
  border-color: rgba(212,170,85,.13);
}

table.table1 tbody tr:hover, table.table1 tbody tr.hover {
  background: rgba(24,53,84,.68);
}

/* Footer */
#page-footer .navbar {
  border-radius: 10px;
  margin-top: 18px;
}

.copyright, .copyright a {
  color: var(--bn-muted) !important;
}

/* Hide some harsh default blue backgrounds */
.headerbar, .forabg, .forumbg, .panel {
  background-blend-mode: normal;
}

/* Responsive */
@media (max-width: 900px) {
  #wrap, .wrap {
    width: calc(100% - 18px);
  }
  #page-header .headerbar,
  #page-header .headerbar .inner {
    min-height: 118px;
  }
  #page-header .headerbar {
    background-position: left center !important;
  }
  ul.topiclist.forums dl.row-item dt .list-inner {
    padding-left: 62px;
  }
  ul.topiclist.forums dl.row-item dt .list-inner:before {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  a.forumtitle, a.topictitle {
    font-size: 1.08em;
  }
}

@media (max-width: 650px) {
  #page-header .headerbar,
  #page-header .headerbar .inner {
    min-height: 92px;
  }
  .navbar .inner {
    padding: 9px 11px;
  }
  dd.topics, dd.posts, dd.views, dd.lastpost {
    border-left: 0;
  }
}

/* Forum header v3: original images, separate Newton layer. */
#page-header { padding-top: clamp(18px, 4.5vw, 66px); }
#page-header .headerbar {
  position: relative;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0;
  overflow: visible !important;
  isolation: isolate;
  background: url("./images/bn-forum-banner-v2.png") center / 100% 100% no-repeat !important;
  box-shadow: none;
}
#page-header .headerbar .inner {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 2048 / 525;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  position: relative;
}
#page-header .headerbar::after {
  content: "";
  display: block;
  position: absolute;
  right: 1.5%;
  top: -22%;
  height: 122%;
  width: 28%;
  background: url("./images/bn-newton-v2.png") center top / 100% auto no-repeat;
  pointer-events: none;
  z-index: 2;
}
#page-header .headerbar #site-description,
#page-header .headerbar #search-box { display: none !important; }
@media (max-width: 650px) {
  #wrap, .wrap { width: calc(100% - 12px); }
}

/* v4: forum list, accessible category icons and navigation */
#wrap { border-color: rgba(212,170,85,.16); border-radius: 12px; }
.forabg,.forumbg { border-color: rgba(212,170,85,.22); box-shadow: 0 14px 35px rgba(0,0,0,.18); }
ul.topiclist li.header { padding: 12px 16px; border-bottom-color: rgba(212,170,85,.22); font-family: "Segoe UI",Arial,sans-serif; font-size: 11px; letter-spacing: .09em; }
ul.topiclist li.row { border-top-color: rgba(212,170,85,.10); transition: background-color .15s ease; }
ul.topiclist li.row dd { border-left-color: rgba(212,170,85,.10); }
ul.topiclist li.row:hover dd { border-left-color: rgba(212,170,85,.14); }
ul.topiclist.forums dl.row-item { background-image: none !important; padding: 14px 16px; }
ul.topiclist.forums dl.row-item dt .list-inner { min-height: 56px; padding: 5px 16px 5px 76px; font-size: 13px; line-height: 1.55; color: #c5cbd3; }
ul.topiclist.forums .forumtitle { display: inline-block; margin-bottom: 3px; font-size: 19px; line-height: 1.3; }
ul.topiclist.forums dl.row-item dt .list-inner::before {
 content: ""; left: 0; width: 52px; height: 52px; box-sizing: border-box;
 border: 1px solid rgba(212,170,85,.30); border-radius: 14px;
 background: #102238 url("./images/bn-faq.svg") center / 27px 27px no-repeat;
 box-shadow: none;
}
ul.topiclist.forums dl[class*="unread"] dt .list-inner::before { border-color: #edc573; background-color: #263145; box-shadow: 0 0 0 3px rgba(237,197,115,.08); }
ul.topiclist.forums dl[class*="unread"] dt .list-inner::after { content: ""; position: absolute; width: 9px; height: 9px; border: 2px solid #09182b; border-radius: 50%; background: #ffcf69; left: 42px; top: 5px; }
ul.topiclist.forums dl[class*="locked"] dt .list-inner::before { border-style: dashed; }
ul.topiclist.forums dd.topics,ul.topiclist.forums dd.posts { font-family: "Segoe UI",Arial,sans-serif; font-size: 14px; padding-top: 16px; color: #bdc6d3 !important; }
ul.topiclist.forums dd.lastpost { font-size: 12px; line-height: 1.5; padding-top: 7px; }
ul.topiclist.forums dd.lastpost > span { padding-left: 15px; }
.navbar { border-color: rgba(212,170,85,.22); box-shadow: none; }
.navbar .navlinks { border-top-color: rgba(212,170,85,.16); }
#nav-main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
#nav-main > li { float: none; margin: 0; }
#nav-main > li > a { display: inline-flex; align-items: center; gap: 4px; min-height: 42px; box-sizing: border-box; padding: 0 11px; border-radius: 7px; }
#nav-main > li > a:hover { background: rgba(212,170,85,.08); }
#nav-main #quick-links { margin-right: auto; }
#nav-main > li.bn-register > a { background: #e6bd70; color: #17202c !important; padding: 0 20px; }
#nav-main > li.bn-login > a { border: 1px solid rgba(212,170,85,.32); }
#nav-main a:focus-visible, a.forumtitle:focus-visible { outline: 2px solid #f0cf82; outline-offset: 3px; }
@media(max-width:900px) {
 ul.topiclist.forums dl.row-item { padding: 12px 10px; }
 ul.topiclist.forums dl.row-item dt .list-inner { padding-left: 64px; }
 ul.topiclist.forums .forumtitle { font-size: 17px; }
 ul.topiclist.forums dl.row-item dt .list-inner::before { width: 46px; height: 46px; background-size: 25px; }
}
@media(max-width:700px) {
 #nav-main { gap: 4px; }
 #nav-main > li > a { padding: 0 8px; font-size: 12px; }
 ul.topiclist.forums dl.row-item dt .list-inner { padding-right: 0; font-size: 12px; }
 ul.topiclist.forums dl.row-item dt .list-inner::after { left: 37px; }
}
@media(prefers-reduced-motion:reduce) { ul.topiclist li.row { transition: none; } }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=3&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=3"])::before { background-image: url("./images/bn-faq.svg"); }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=2&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=2"])::before { background-image: url("./images/bn-news.svg"); }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=10&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=10"])::before { background-image: url("./images/bn-rules.svg"); }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=4&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=4"])::before { background-image: url("./images/bn-strategy.svg"); }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=9&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=9"])::before { background-image: url("./images/bn-games.svg"); }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=7&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=7"])::before { background-image: url("./images/bn-ideas.svg"); }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=5&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=5"])::before { background-image: url("./images/bn-balance.svg"); }
ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href*="f=8&"] )::before, ul.topiclist.forums dl.row-item dt .list-inner:has(a.forumtitle[href$="f=8"])::before { background-image: url("./images/bn-bugs.svg"); }

/* BN v5: readable topic controls, profile on the left. */
.post .postprofile, .post .postprofile dt, .post .postprofile dd,
.post .postprofile strong, .post .postprofile .profile-rank { color:#dce3ed; }
.post .postprofile strong { font-weight:600; }
.post .postprofile a { color:#a9d1fa; }
a.username-coloured[style*="#AA0000" i] { color:#ff8278 !important; }
.button .icon, .button .icon::before, .button span,
.button1 .icon, .button2 .icon, .button1 span, .button2 span,
.button:hover .icon, .button:hover .icon::before, .button:hover span {
 color:#17202c !important; text-shadow:none !important; opacity:1;
}
a.button, a.button:visited, a.button:hover { color:#17202c !important; text-shadow:none; }
.button:focus-visible, .button1:focus-visible, .button2:focus-visible { outline:2px solid #ffe0a1; outline-offset:3px; }
input.inputbox, textarea.inputbox, .search-box input { color:#eee5d4 !important; }
input.inputbox::placeholder, textarea.inputbox::placeholder, .search-box input::placeholder { color:#abbacc !important; opacity:1; }
.post .signature { border-top-color:rgba(212,170,85,.22); }
.post .postprofile { border-color:rgba(212,170,85,.22); }
@media(min-width:701px) {
 .post.has-profile .postprofile { float:left; width:200px; box-sizing:border-box; border-left:0; border-right:1px solid rgba(212,170,85,.22); padding:8px 16px 8px 4px; margin:5px 0 10px; }
 .post.has-profile .postprofile dd, .post.has-profile .postprofile dt { margin-left:0; line-height:1.5; }
 .post.has-profile .postbody { float:right; width:calc(100% - 224px); }
 .post.has-profile .postprofile .avatar img { border-radius:8px; }
}
@media(max-width:700px) {
 .post.has-profile .postprofile { float:none; width:auto; border-left:0; border-right:0; border-bottom:1px solid rgba(212,170,85,.22); padding:8px 0; }
 .post.has-profile .postbody { float:none; width:auto; }
 .post.has-profile .postprofile .avatar { float:left; margin-right:10px; }
 .post.has-profile .postprofile .avatar img { max-height:48px; border-radius:6px; }
}

/* BN v6: compact author profile beside forum posts. */
.post.has-profile .postprofile > dd:not(.profile-rank):not(.profile-posts) { display:none !important; }
.post.has-profile .postprofile { min-height:0; }
.post.has-profile .postprofile .profile-rank { margin-top:3px; font-size:11px; line-height:1.4; color:#bac6d5; }
.post.has-profile .postprofile dt { font-size:13px; overflow-wrap:anywhere; }
.post.has-profile .postprofile a.avatar img { width:auto; height:auto; max-width:72px; max-height:72px; border-radius:8px; }
.post.has-profile .postprofile .avatar-container { margin-bottom:6px; }
@media(min-width:701px) {
 .post.has-profile .postprofile { width:140px; padding:6px 14px 6px 4px; }
 .post.has-profile .postbody { width:calc(100% - 164px); }
}
@media(max-width:700px) {
 .post.has-profile .postprofile a.avatar img { max-width:44px; max-height:44px; }
 .post.has-profile .postprofile .avatar-container { margin-bottom:0; }
}

/* BN v7: retain post count in the compact author profile. */
.post.has-profile .postprofile > dd.profile-posts { display:block !important; margin-top:6px; font-size:11px; line-height:1.4; }


/* BN v8: readable linked posts and message previews on dark panels. */
.post .content,
.post:target .content,
#preview .content,
#preview .postbody,
#preview .content p {
  color: var(--bn-text, #eee5d4);
}
.post h3 a.first-unread,
.post:target h3 a,
#preview h3,
#preview h3 a {
  color: var(--bn-blue, #78aee8);
}
.post:target h3 a:hover,
.post h3 a.first-unread:hover,
#preview h3 a:hover {
  color: var(--bn-gold-2, #f0cf82);
}

/* v82: shared site navigation on every forum page. */
.bn-site-topbar { box-sizing:border-box; width:100%; background:rgba(3,9,21,.96); border-bottom:1px solid rgba(212,170,85,.3); margin-bottom:8px; }
.bn-site-nav { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:24px; max-width:1448px; margin:0 auto; padding:14px 20px; font-family:Georgia,"Times New Roman",serif; }
.bn-site-brand { color:#f0cf82 !important; font-size:17px; font-weight:700; white-space:nowrap; text-decoration:none; }
.bn-site-links { display:flex; flex-wrap:nowrap; align-items:center; gap:24px; }
.bn-site-links a { color:#eee5d4 !important; font-size:14px; white-space:nowrap; text-decoration:none; }
.bn-site-links a:hover { color:#f0cf82 !important; }
@media(max-width:820px) {
 .bn-site-nav { flex-direction:column; align-items:stretch; gap:6px; padding:10px 12px; }
 .bn-site-brand { text-align:center; font-size:14px; }
 .bn-site-links { justify-content:space-between; gap:8px; }
 .bn-site-links a { display:flex; align-items:center; min-height:36px; font-size:11px; }
}

/* v83: match homepage navigation typography, colors and spacing. */
.bn-site-topbar { position:sticky; top:0; z-index:50; backdrop-filter:blur(12px); background:rgba(4,4,3,.78); border-bottom:1px solid rgba(242,184,75,.34); margin-bottom:0; }
.bn-site-nav { max-width:1200px; padding:14px 20px; gap:20px; }
.bn-site-brand { font-family:Georgia,"Times New Roman",serif; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#ffdf9a !important; font-size:15px; }
.bn-site-links { gap:16px; font-family:Arial,sans-serif; font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.bn-site-links a { font-family:Arial,sans-serif; font-size:13px; color:#d7bf8c !important; text-decoration:none !important; }
.bn-site-links a:hover { color:#ffdf9a !important; }
@media(max-width:820px) {
 .bn-site-topbar { position:relative; backdrop-filter:none; }
 .bn-site-nav { padding:10px 12px; gap:6px; }
 .bn-site-brand { font-size:14px; white-space:normal; }
 .bn-site-links { gap:8px; font-size:11px; letter-spacing:0; }
 .bn-site-links a { font-size:11px; min-height:36px; }
}

/* v85: clearer shared top menu. */

.bn-site-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; max-width:640px; gap:12px; margin:0 auto; font-family:Arial,sans-serif; }
.bn-site-nav { justify-content:center; }
.bn-site-links a { display:flex; align-items:center; justify-content:center; padding:8px 4px; font-family:Arial,sans-serif !important; font-size:13px !important; font-weight:600 !important; line-height:20px; letter-spacing:.07em; text-transform:uppercase; text-decoration:none !important; white-space:nowrap; color:#e4cc9b !important; border-radius:6px; transition:color .15s ease,background .15s ease; }
.bn-site-links a:hover { color:#ffdf9a !important; background:rgba(255,223,154,.07); }
.bn-site-links a:focus-visible { outline:2px solid #ffdf9a; outline-offset:2px; }
@media(max-width:820px) {
 .bn-site-nav { padding:6px 10px; gap:0; }
 .bn-site-links { gap:2px; }
 .bn-site-links a { font-size:10.5px !important; letter-spacing:0; padding:8px 0; min-height:36px; }
}

#quick-links .dropdown-contents li:has(> a[href="/"]),
#quick-links .dropdown-contents li:has(> a[href="./index.php"]) { display:none; }

/* v88: Newton protrudes into the dark top area; guest chat information. */
.bn-site-brand { display:none !important; }
#page-header { padding-top:clamp(6px,3vw,42px); }
#page-header .headerbar::after { top:-26%; height:126%; }
.bn-chat-guest { display:flex; align-items:flex-start; gap:18px; padding:22px 24px; margin:20px 0; border:1px solid rgba(212,170,85,.3); border-radius:12px; background:linear-gradient(135deg,rgba(17,40,68,.8),rgba(6,15,28,.96)); }
.bn-chat-icon { flex:0 0 auto; color:#f0cf82; font-size:30px; line-height:1.2; }
.bn-chat-guest h3 { margin:0 0 10px; padding:0; border:0; color:#f0cf82; font-family:Georgia,"Times New Roman",serif; font-size:20px; text-transform:none; }
.bn-chat-guest p { margin:0 0 7px; color:#eee5d4; font-size:14px; line-height:1.6; }
.bn-chat-guest .bn-chat-hint { color:#bdb5a8; font-size:13px; margin-bottom:0; }
@media(max-width:650px) {
 .bn-chat-guest { gap:12px; padding:16px; }
 .bn-chat-icon { font-size:24px; }
 .bn-chat-guest h3 { font-size:18px; }
 .bn-chat-guest p { font-size:13px; }
}

/* v90: whole topic/forum row opens its primary title link */
.topiclist li.row:has(a.forumtitle),
.topiclist li.row:has(a.topictitle) { cursor:pointer; }
.topiclist li.row input, .topiclist li.row select,
.topiclist li.row textarea { cursor:auto; }

/* v92: independent breadcrumbs, readable posting forms, Newton above the topbar */
#page-header .headerbar { isolation:auto; }
#page-header .headerbar::after { z-index:51; pointer-events:none; }
#nav-main > .bn-main-link { display:none; }
#quick-links > .dropdown-trigger { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:36px; padding:0 6px; }
#quick-links > .dropdown-trigger .fa-bars { font-size:20px; }
#nav-breadcrumbs { display:flex !important; flex-wrap:wrap; align-items:center; width:100%; max-width:none !important; margin:8px 0 0 !important; padding:8px 0 0; gap:8px; }
#nav-breadcrumbs > li.breadcrumbs { display:flex !important; flex-wrap:wrap; align-items:center; float:none !important; width:auto !important; max-width:100%; gap:0; margin:0; }
#nav-breadcrumbs .crumb { display:inline-flex !important; align-items:center; float:none !important; margin:0 !important; padding:0 !important; max-width:100%; }
#nav-breadcrumbs .crumb::before { content:"›" !important; display:inline-block; float:none; font-family:Arial,sans-serif; padding:0 10px; color:#c6b893 !important; }
#nav-breadcrumbs .crumb:first-child::before { display:none; }
#nav-breadcrumbs .crumb::after { display:none !important; }
#nav-breadcrumbs .crumb a { display:inline-flex !important; align-items:center; justify-content:flex-start !important; gap:4px; margin:0 !important; padding:4px 0 !important; min-height:0 !important; font-family:Arial,sans-serif !important; font-size:13px !important; font-weight:600 !important; line-height:1.5 !important; letter-spacing:0 !important; text-transform:none !important; white-space:normal !important; overflow-wrap:anywhere; color:#eadfc9 !important; }
#nav-breadcrumbs .crumb meta { display:none; }
#postform .panel, #postform fieldset, #postform label,
#postform fieldset dt, #postform fieldset dd,
#postform .fields1 label, #postform .fields2 label,
#postform .options, #postform .explain,
#postform .panel .small, #postform .panel .small strong {
 color:#e7e2d8 !important;
}
#postform fieldset dt label { color:#f2d69a !important; font-weight:600; }
#postform a { color:#f0cf82; }
#postform input.inputbox, #postform textarea.inputbox,
#postform select { color:#f4eee2 !important; background-color:#060e18; border-color:#8d7950; }
#postform input::placeholder, #postform textarea::placeholder { color:#adb6c1; opacity:1; }
#postform #tabs .tab > a { color:#26374b !important; }
#postform #tabs .activetab > a { color:#172b40 !important; }
#postform #tabs .tab > a:hover { color:#101e30 !important; }

/* v93: equally spaced top navigation, independent of native phpBB menus */
.bn-site-nav { display:flex; flex-direction:row; justify-content:center; align-items:center; }
.bn-site-nav > .bn-site-links { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; max-width:640px; margin:0 auto; padding:0; gap:0; align-items:center; }
.bn-site-links > a { box-sizing:border-box; display:flex !important; align-items:center; justify-content:center; text-align:center; min-width:0; min-height:36px; margin:0; }
.bn-site-links > a[href="/"] { order:-1; }
.topiclist li.row:has(a.forumtitle), .topiclist li.row:has(a.topictitle) { cursor:pointer; touch-action:pan-y; }
