/* =============================================================
   classicmercforum.com.au - vBulletin 4.x skin
   Blue-white automotive palette: classifieds blue, white, silver chrome
   Period accuracy is the brief. Do not "improve" this CSS.
   ============================================================= */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  color: #26313b;
  line-height: 1.4;
}

a { color: #005EB8; text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: #4a5b7a; }

/* ============ OUTER WRAPPER ============ */
.outer-wrap {
  width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border-left: 1px solid #8aa7c2;
  border-right: 1px solid #8aa7c2;
  box-shadow: 0 0 0 1px rgba(47, 93, 132, 0.18), 0 0 22px rgba(27, 62, 94, 0.24);
  position: relative;
}

/* ============ TOP NAV STRIP ============ */
.top-nav {
  background: #e5eef7;
  color: #35475a;
  font-size: 10px;
  padding: 4px 10px;
  border-bottom: 1px solid #a7bbcf;
}
.top-nav a { color: #005EB8; }
.top-nav .right { float: right; }

/* ============ HEADER ============ */
.site-header {
  background: #050505;
  color: #ffffff;
  padding: 14px 32px 15px 32px;
  border-top: 1px solid #242424;
  border-bottom: 4px solid #0072ce;
  min-height: 74px;
  position: relative;
}
.site-header::after {
  content: none;
}
.site-header .logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
  text-shadow: 0 1px 0 #1f1f1f;
}
.site-header .logo::before {
  content: none;
}
.site-header .logo-link {
  text-decoration: none;
  display: inline-block;
  padding-right: 0;
}
.site-header .logo-link:hover .logo {
  color: #ffffff;
}
.site-header .logo-link:visited {
  text-decoration: none;
}
.site-header .logo .accent {
  color: #0072ce;
}
.site-header .tagline {
  font-size: 16px;
  color: #aeb4bb;
  font-family: Tahoma, Geneva, sans-serif;
  font-style: italic;
  padding: 4px 0 0 0;
  letter-spacing: 0;
}
.site-header .established {
  color: #c7cbd0;
  font-style: normal;
  font-weight: bold;
  margin-left: 24px;
  font-size: 16px;
  letter-spacing: 1px;
}

/* ============ USER STRIP ============ */
.user-strip {
  background: #eef5fb;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #a7bbcf;
  padding: 6px 10px;
  font-size: 11px;
  color: #46586a;
}
.user-strip .right { float: right; }
.user-strip a { color: #005EB8; }
.user-strip .mark-read {
  color: #5d7894;
  margin-left: 4px;
}

/* ============ MAIN NAV BAR ============ */
.main-nav {
  background: #005EB8;
  border-top: 1px solid #3b8ed0;
  border-bottom: 1px solid #003f7f;
  padding: 0;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.main-nav li {
  padding: 7px 14px;
  border-right: 1px solid #267bc1;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.main-nav li a {
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  font-family: Tahoma, sans-serif;
  letter-spacing: 0;
}
.main-nav li a:hover { color: #ffffff; text-decoration: none; background: transparent; }
.main-nav li.active { background: #003f7f; }

/* ============ BREADCRUMBS ============ */
.breadcrumb {
  background: #ffffff;
  padding: 8px 10px;
  font-size: 11px;
  color: #607080;
  border-bottom: 1px solid #d3e0ec;
}
.breadcrumb a { color: #005EB8; }
.breadcrumb .sep { color: #8aa7c2; padding: 0 4px; }

/* ============ FORUM PAGE TITLE ============ */
.page-title-bar {
  padding: 10px 10px 6px 10px;
}
.page-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 15px;
  color: #26313b;
  font-weight: bold;
  margin: 0;
}
.page-subtitle {
  font-size: 11px;
  color: #8aa7c2;
  font-style: italic;
  margin-top: 2px;
}

/* ============ CATEGORY BLOCK (forum index) ============ */
.category {
  margin: 8px 6px;
  border: 1px solid #9fb3c6;
  background: #ffffff;
  clear: none;
  overflow: hidden;
  box-shadow: 0 1px 0 #ffffff;
}
.category-header {
  background: linear-gradient(180deg, #f6f8fa 0%, #d9e2ea 100%);
  color: #26313b;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 8px;
  letter-spacing: 0;
  text-transform: none;
  border-top: 1px solid #ffffff;
  border-bottom: 2px solid #005EB8;
}
.category-header::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: -5px;
  background: url("forum-assets/avatars/_default.jpg") center / contain no-repeat;
  border: 0;
  box-shadow: none;
}
.category-header .right {
  float: right;
  font-weight: normal;
  font-size: 10px;
  color: #50667a;
}

.forum-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.forum-table thead th {
  background: #e5eef7;
  color: #26313b;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  text-align: left;
  border-bottom: 1px solid #a7bbcf;
}
.forum-table thead th.center { text-align: center; }
.forum-table tbody tr {
  border-bottom: 1px solid #d8e5f1;
}
.forum-table tbody tr:nth-child(odd) { background: #ffffff; }
.forum-table tbody tr:nth-child(even) { background: #f2f7fc; }
.forum-table tbody tr:hover { background: #e7f1fa; }
.forum-table td {
  padding: 7px 8px;
  vertical-align: top;
  font-size: 11px;
}
.forum-table td.icon-cell {
  width: 36px;
  text-align: center;
}
.forum-table td.stats-cell {
  width: 110px;
  text-align: center;
  color: #50667a;
  font-size: 10px;
}
.forum-table td.last-post-cell {
  width: 220px;
  font-size: 10px;
  color: #50667a;
}
.forum-table td.last-post-cell a { color: #005EB8; }
.forum-table .forum-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
}
.forum-table tbody tr:nth-child(2n) .forum-title::after {
  content: " (2 viewing)";
  color: #5d7894;
  font-size: 10px;
  font-weight: normal;
}
.forum-table .forum-desc {
  font-size: 10px;
  color: #5d656c;
  margin-top: 3px;
  font-style: italic;
}
.forum-table .sub-forums {
  font-size: 10px;
  color: #65798c;
  margin-top: 4px;
}
.forum-table .sub-forums a { color: #005EB8; }

/* Thread status icons (CSS-only, classic vB4 muted style) */
.folder-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #ffffff url("forum-assets/avatars/_default.jpg") center / 18px 18px no-repeat;
  border: 1px solid #9fb3c6;
  border-radius: 2px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.folder-icon::before {
  content: none;
}
.folder-icon.no-new {
  background-color: #ffffff;
  border-color: #9fb3c6;
}
.folder-icon.new {
  background-color: #f4f8fc;
  border-color: #005EB8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.folder-icon.new::before { border-color: #7892aa; }
.folder-icon.locked {
  background-color: #eef2f5;
  border-color: #7892aa;
}
.folder-icon.locked::before { border-color: #7892aa; }
.folder-icon.locked::after {
  content: none;
}
.folder-icon.sticky {
  background-color: #f4f8fc;
  border-color: #005EB8;
}
.folder-icon.sticky::before { border-color: #7892aa; }
.folder-icon.hot {
  background-color: #e5eef7;
  border-color: #005EB8;
}
.folder-icon.hot::before { border-color: #005EB8; }
.folder-icon.redirect {
  background-color: #ffffff;
  border-color: #7892aa;
}
.folder-icon.redirect::before { border-color: #7892aa; }
.folder-icon.redirect::after {
  content: none;
}
.folder-icon.category {
  width: 22px;
  height: 22px;
  background-color: #f4f8fc;
  border-color: #7c9ab6;
}
.folder-icon.category::before { border-color: #7c9ab6; }

/* ============ THREAD LIST TABLE (subforum view) ============ */
.thread-list {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.thread-list thead th {
  background: #e5eef7;
  color: #26313b;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 8px;
  text-align: left;
  border-bottom: 1px solid #a7bbcf;
}
.thread-list thead th.center { text-align: center; }
.thread-list tbody tr {
  border-bottom: 1px solid #d8e5f1;
}
.thread-list tbody tr:nth-child(odd) { background: #ffffff; }
.thread-list tbody tr:nth-child(even) { background: #f2f7fc; }
.thread-list tbody tr:hover { background: #e7f1fa; }
.thread-list tbody tr.sticky-row { background: #e7eef5 !important; }
.thread-list tbody tr.locked-row td .thread-title { color: #65798c; font-style: italic; }
.thread-list td {
  padding: 7px 8px;
  vertical-align: top;
  font-size: 11px;
}
.thread-list td.thread-icon-cell {
  width: 32px;
  text-align: center;
}
.thread-list td.replies-cell,
.thread-list td.views-cell {
  width: 60px;
  text-align: center;
  font-size: 11px;
  color: #50667a;
}
.thread-list td.last-post-cell {
  width: 200px;
  font-size: 10px;
  color: #50667a;
}
.thread-list .thread-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
}
.thread-list tbody tr:nth-child(5n) .thread-title::after,
.thread-list tbody tr.sticky-row:nth-child(2n) .thread-title::after {
  content: " (2 viewing)";
  color: #5d7894;
  font-size: 10px;
  font-weight: normal;
  font-style: normal;
}
.thread-list .sticky-prefix {
  color: #005EB8;
  font-weight: bold;
}
.thread-list .thread-meta {
  font-size: 10px;
  color: #65798c;
  margin-top: 3px;
}
.thread-list .pagination-inline {
  display: inline-block;
  font-size: 10px;
  color: #5d656c;
  margin-left: 6px;
}
.thread-list .pagination-inline a {
  padding: 1px 4px;
  background: #ffffff;
  border: 1px solid #b6cce0;
  color: #005EB8;
  margin: 0 1px;
}

/* ============ INDIVIDUAL THREAD (post view) ============ */
.thread-tools-bar {
  background: #ffffff;
  border: 1px solid #a7bbcf;
  margin: 8px 6px 0 6px;
  padding: 4px 8px;
  font-size: 11px;
  color: #46586a;
  box-shadow: inset 0 1px 0 #f7f9fb;
  overflow: hidden;
}
.thread-tools-bar .right { float: right; }
.thread-tools-bar a { color: #005EB8; }

.thread-tools-bar select {
  font-size: 10px;
  border: 1px solid #a7bbcf;
  background: #ffffff;
  padding: 1px;
  color: #26313b;
}

.post-block {
  margin: 8px 6px;
  border: 1px solid #a7bbcf;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7);
  overflow: hidden;
}
.post-block:nth-of-type(odd) {
  background: #ffffff;
}
.post-block:nth-of-type(even) {
  background: #f2f7fc;
}

.post-date-strip {
  background: #e5eef7;
  border-bottom: 1px solid #a7bbcf;
  padding: 4px 8px;
  font-size: 10px;
  color: #46586a;
  box-shadow: inset 0 1px 0 #ffffff;
}
.post-date-strip .post-number {
  float: right;
  color: #65798c;
}
.post-date-strip .post-number::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  vertical-align: -1px;
  background: #ffffff;
  border: 1px solid #a7bbcf;
}
.post-date-strip .post-number a { color: #005EB8; }

.post-header {
  background: #e5eef7;
  border-bottom: 1px solid #a7bbcf;
  padding: 4px 8px;
  font-size: 10px;
  color: #46586a;
  box-shadow: inset 0 1px 0 #ffffff;
}
.post-header .post-date {
  display: inline;
}
.post-header .post-number {
  float: right;
  color: #65798c;
}

.post-body,
.post-body-row {
  display: flex;
  min-height: 200px;
}
.poster-info,
.post-userinfo {
  width: 150px;
  flex: 0 0 150px;
  border-right: 1px solid #c4d4e3;
  padding: 8px;
  background: #e9eef3;
  font-size: 10px;
  color: #46586a;
  text-align: center;
}
.poster-info .username,
.post-userinfo .username {
  font-size: 13px;
  font-weight: bold;
  display: block;
  margin-bottom: 3px;
}
.poster-info .usertitle,
.post-userinfo .usertitle {
  display: block;
  margin-bottom: 6px;
  font-style: italic;
  font-size: 10px;
  color: #5d656c;
}
.post-avatar,
.post-userinfo .avatar {
  width: 70px;
  height: 70px;
  margin: 6px auto;
  border: 1px solid #9fb3c6;
  background: #ffffff;
  overflow: hidden;
}
.post-avatar img,
.post-userinfo .avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}
.poster-stats,
.post-userinfo .user-stats {
  text-align: left;
  font-size: 10px;
  color: #5d656c;
  border-top: 1px dotted #b6cce0;
  padding-top: 4px;
  margin-top: 4px;
  line-height: 1.4;
}
.poster-stats strong,
.post-userinfo .user-stats strong { color: #26313b; }

.post-userinfo .rank-pips {
  margin-bottom: 6px;
  color: #9aa7b3;
  letter-spacing: 1px;
}
.post-userinfo .avatar {
  margin: 0 auto 6px auto;
  display: block;
}
.post-userinfo .avatar img[src$=".svg"] {
  opacity: 0;
}

/* Username styling: same for everyone by default */
/* Differentiation happens via .member-badge below, not via colour */
.username {
  color: #005EB8;
  font-weight: bold;
}
.user-banned { color: #999; text-decoration: line-through; }

/* Role badges (display under username/usertitle) */
.member-badge,
.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 1px 5px;
  border-radius: 2px;
  margin-top: 3px;
  border: 1px solid;
}
.badge-admin {
  background: #a4252a;
  color: #fff;
  border-color: #5c170f;
}
.badge-mod {
  background: #3d7a3a;
  color: #fff;
  border-color: #1f4a1c;
}
.badge-lifetime {
  background: #eef2f5;
  color: #46586a;
  border-color: #9fb3c6;
}
.badge-gold {
  background: #d8b536;
  color: #4a3a08;
  border-color: #8a6a10;
}
.badge-silver {
  background: #d8dee4;
  color: #2a2a3a;
  border-color: #6a6a78;
}

.post-content {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #26313b;
}
.post-content p {
  margin: 0 0 8px 0;
}
.post-content img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}
.post-content img.inline-post-img {
  max-width: 100% !important;
  width: auto;
  height: auto;
  border: 1px solid #8aa7c2;
  margin: 6px 0;
  display: block;
  background: #fff;
  padding: 2px;
  object-fit: contain;
}
.post-content img.inline-thumb {
  max-width: 280px;
  border: 1px solid #8aa7c2;
  margin: 6px 8px 6px 0;
  display: inline-block;
  background: #fff;
  padding: 2px;
}
.post-content img.inline-thumb-row,
.block-body img.inline-thumb-row {
  max-height: 200px;
  max-width: 210px;
  border: 1px solid #8aa7c2;
  margin: 6px 6px 6px 0;
  display: inline-block;
  vertical-align: top;
  background: #fff;
  padding: 2px;
}

.tapatalk-drag {
  font-style: italic;
  color: #6f8192;
  font-size: 10px;
  margin-top: 10px;
  border-top: 1px dotted #bdcddd;
  padding-top: 4px;
}

.signature {
  border-top: 1px solid #b6cce0;
  margin-top: 12px;
  padding-top: 6px;
  font-size: 10px;
  color: #5d656c;
  font-style: italic;
  line-height: 1.5;
}
.signature img { max-width: 400px; }

/* QUOTE BOX */
.quote-box {
  background: #f5f9fd;
  border: 1px solid #b8cbdd;
  border-left: 4px solid #005EB8;
  margin: 7px 0 10px 12px;
  padding: 6px 8px;
  font-size: 11px;
}
.quote-box .quote-header {
  font-style: italic;
  color: #5d656c;
  font-size: 10px;
  margin-bottom: 4px;
}
.quote-box .quote-header a { color: #005EB8; font-weight: bold; }
.quote-box .quote-body {
  color: #26313b;
}

/* POST FOOTER (action buttons) */
.post-footer {
  background: #e6eef6;
  border-top: 1px solid #bdcddd;
  padding: 4px 8px;
  font-size: 10px;
  text-align: right;
  color: #5d656c;
}
.post-footer .left {
  float: left;
  text-align: left;
}
.post-footer .btn-action {
  display: inline-block;
  padding: 1px 6px;
  background: #ffffff;
  border: 1px solid #a7bbcf;
  color: #005EB8;
  margin-left: 4px;
  font-size: 10px;
}
.post-footer .btn-action:hover {
  background: #e7f1fa;
  text-decoration: none;
}

/* OUTAGE / WARNING BANNERS */
.outage-banner {
  background: #fff8d8;
  border: 1px solid #b7a15d;
  margin: 8px 6px;
  padding: 8px 10px;
  font-size: 11px;
  color: #5f552a;
  overflow: hidden;
}
.outage-banner strong { color: #005EB8; }

.asic-banner {
  background: #f4dddd;
  border: 2px solid #005EB8;
  margin: 8px 6px;
  padding: 10px 12px;
  font-size: 11px;
  color: #4d2522;
  overflow: hidden;
}
.asic-banner strong { color: #005EB8; }
.asic-banner h3 {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 13px;
  color: #005EB8;
  margin: 0 0 6px 0;
}

/* PAGINATION (bottom of forum/thread lists) */
.pagination {
  padding: 8px 10px;
  font-size: 11px;
  color: #46586a;
}
.pagination a, .pagination span.current {
  padding: 2px 6px;
  background: #ffffff;
  border: 1px solid #a7bbcf;
  color: #005EB8;
  margin: 0 1px;
  font-size: 11px;
}
.pagination span.current {
  background: #005EB8;
  color: #fff;
  font-weight: bold;
}

/* ONLINE USERS / STATS BLOCKS */
.online-users,
.forum-stats-footer,
.forum-jump,
.side-widget {
  margin: 8px 6px;
  border: 1px solid #a7bbcf;
  background: #ffffff;
}
.online-users .block-header,
.forum-stats-footer .block-header,
.forum-jump .block-header,
.side-widget .block-header {
  background: #005EB8;
  color: #fff;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 8px;
  border-top: 1px solid #5aa1da;
  border-bottom: 1px solid #003f7f;
}
.online-users .block-body,
.forum-stats-footer .block-body,
.forum-jump .block-body,
.side-widget .block-body {
  padding: 8px;
  background: #ffffff;
  font-size: 11px;
  color: #46586a;
  line-height: 1.6;
}
.online-users .block-body a,
.forum-stats-footer .block-body a,
.forum-jump .block-body a,
.side-widget .block-body a { color: #005EB8; }

.side-widget {
  float: right;
  width: 185px;
  margin: 0 6px 8px 10px;
  font-size: 10px;
}
.side-widget .block-header {
  padding: 4px 7px;
}
.side-widget .block-body {
  padding: 7px;
  line-height: 1.45;
}
.side-widget .small-note {
  color: #65798c;
  font-size: 10px;
}

.forum-jump {
  clear: both;
}
.forum-jump form {
  margin: 0;
}
.forum-jump label {
  font-weight: bold;
  margin-right: 6px;
}
.forum-jump select {
  width: 320px;
  max-width: 70%;
  font-size: 11px;
  border: 1px solid #a7bbcf;
  background: #ffffff;
  color: #26313b;
}
.forum-jump button {
  font-size: 10px;
  padding: 1px 8px;
  border: 1px solid #7f9db8;
  background: #ffffff;
  color: #26313b;
}

.legend-strip {
  margin: 8px 6px;
  padding: 4px 8px;
  font-size: 10px;
  color: #5d656c;
  background: #f2f7fc;
  border: 1px solid #c4d4e3;
  clear: both;
}
.legend-strip .legend-item {
  display: inline-block;
  margin-right: 14px;
}

/* FOOTER */
.site-footer {
  background: #d8e5f1;
  color: #607080;
  font-size: 10px;
  padding: 16px;
  text-align: center;
  line-height: 1.5;
  border-top: 1px solid #a7bbcf;
}
.site-footer a { color: #005EB8; }
.site-footer .vb-credit {
  font-style: italic;
  margin-top: 6px;
  color: #5d656c;
}
.site-footer .disclaimer {
  font-size: 9px;
  color: #5d656c;
  margin-top: 10px;
  padding: 0 80px;
  line-height: 1.6;
}

/* ============ MOBILE (light, since vB4 didn't have it) ============ */
@media (max-width: 980px) {
  html, body { background: #ffffff; }
  .outer-wrap { width: 100%; border: none; box-shadow: none; }
  .top-nav .right,
  .user-strip .right {
    float: none;
    display: block;
    margin-top: 3px;
  }
  .site-header {
    min-height: 0;
    padding: 10px;
  }
  .site-header::after {
    position: static;
    display: block;
    width: auto;
    margin-top: 8px;
  }
  .site-header .logo-link {
    padding-right: 0;
  }
  .site-header .logo::before {
    margin-right: 5px;
    font-size: 12px;
    vertical-align: 2px;
  }
  .site-header .tagline {
    padding: 3px 0 0 0;
  }
  .post-body-row { flex-direction: column; }
  .post-body { flex-direction: column; }
  .post-userinfo {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #c4d4e3;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .post-userinfo .avatar { margin: 0; width: 60px; height: 60px; }
  .poster-info {
    width: auto;
    flex-basis: auto;
    border-right: none;
    border-bottom: 1px solid #c4d4e3;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .post-avatar { margin: 0; width: 60px; height: 60px; }
  .poster-stats {
    flex-basis: 100%;
  }
  .post-userinfo .user-stats {
    flex-basis: 100%;
  }
  .post-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .post-content img.inline-post-img {
    width: 100%;
  }
  .forum-table .stats-cell, .forum-table .last-post-cell { display: none; }
  .thread-list .replies-cell, .thread-list .views-cell { display: none; }
  .thread-list td.last-post-cell { display: none; }
  .site-header .logo { font-size: 20px; }
  .main-nav ul { flex-wrap: wrap; }
  .main-nav li { padding: 6px 10px; font-size: 10px; }
  .side-widget {
    float: none;
    width: auto;
    margin: 8px 6px;
  }
  .thread-tools-bar .right {
    float: none;
    display: block;
    margin-top: 4px;
  }
  .forum-jump select {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 4px 0;
  }
  .site-footer .disclaimer {
    padding: 0;
  }
}

/* Phone-width refinements. Keep the desktop-era forum look, but prevent
   narrow screens from clipping content or leaving orphaned table chrome. */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .outer-wrap img,
  .outer-wrap video,
  .outer-wrap iframe {
    max-width: 100% !important;
  }

  .outer-wrap img,
  .outer-wrap video {
    height: auto !important;
  }

  .top-nav,
  .user-strip,
  .breadcrumb,
  .page-title-bar,
  .account-page-body,
  .profile-tabs-content,
  .gate-page,
  .smp-page-body {
    overflow-wrap: anywhere;
  }

  .top-nav,
  .user-strip {
    line-height: 1.7;
  }

  .site-header .tagline {
    line-height: 1.45;
  }

  .site-header .established {
    display: block;
    margin: 4px 0 0;
  }

  .main-nav ul {
    align-items: stretch;
  }

  .main-nav li {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    min-height: 38px;
  }

  .main-nav li a {
    display: block;
    line-height: 1.25;
  }

  .breadcrumb {
    line-height: 1.55;
  }

  .page-title {
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .page-subtitle {
    line-height: 1.5;
  }

  .outage-banner,
  .asic-banner {
    padding: 10px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .manuals-callout {
    display: block !important;
    padding: 14px !important;
  }

  .manuals-callout > div {
    min-width: 0;
  }

  .manuals-callout-title {
    display: block;
    line-height: 1.45;
  }

  .manuals-title-tail {
    display: block;
  }

  .manuals-callout > a {
    display: block !important;
    width: 100%;
    margin-top: 12px;
    padding: 9px 12px !important;
    text-align: center;
  }

  .category-header .right {
    float: none;
    display: block;
    margin: 3px 0 0 27px;
  }

  .forum-table,
  .thread-list {
    table-layout: fixed;
  }

  .forum-table th.center,
  .forum-table th.stats-col,
  .forum-table th.last-post-col,
  .forum-table td.stats-col,
  .forum-table td.last-post-col,
  .thread-list th.center,
  .thread-list th.replies-cell,
  .thread-list th.views-cell,
  .thread-list th.last-post-cell,
  .thread-list th.stats-col,
  .thread-list th.last-post-col,
  .thread-list thead th:last-child {
    display: none;
  }

  .forum-table th,
  .forum-table td,
  .thread-list th,
  .thread-list td {
    overflow-wrap: anywhere;
  }

  .forum-table td.icon-cell,
  .thread-list td.thread-icon-cell,
  .thread-thumb-cell {
    width: 40px;
    padding-left: 5px;
    padding-right: 3px;
  }

  .thread-list .thread-title,
  .forum-table .forum-title {
    line-height: 1.35;
  }

  .thread-preview-thumb {
    width: 68px;
    height: 54px;
    margin-right: 8px;
  }

  .thread-meta-with-thumb {
    margin-left: 76px;
  }

  .thread-tools-bar {
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .thread-tools-bar .right {
    clear: both;
  }

  .post-block {
    margin-left: 4px;
    margin-right: 4px;
  }

  .post-userinfo,
  .poster-info {
    gap: 8px;
    padding: 8px;
  }

  .post-content {
    padding: 10px;
    overflow-wrap: anywhere;
  }

  .post-content code,
  .block-body code,
  .account-page code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .post-content img.inline-thumb,
  .post-content img.inline-thumb-row,
  .block-body img.inline-thumb-row,
  .signature img {
    max-width: 100% !important;
    height: auto !important;
  }

  .quote-box {
    margin-left: 0;
  }

  .post-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    padding: 6px;
  }

  .post-footer .left {
    float: none;
    flex-basis: 100%;
  }

  .post-footer .btn-action {
    margin-left: 0;
    padding: 3px 6px;
  }

  .profile-container {
    display: block !important;
    padding: 8px !important;
  }

  .profile-left,
  .profile-right {
    width: 100% !important;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .profile-avatar-large img {
    max-width: min(200px, 100%) !important;
    height: auto !important;
  }

  .profile-tabs-bar {
    display: flex;
    flex-wrap: wrap;
  }

  .profile-tabs-bar li {
    float: none;
  }

  .profile-tabs-bar a {
    padding: 7px 10px;
  }

  .account-page {
    margin: 4px;
  }

  .account-page-body,
  .profile-tabs-content {
    padding: 10px;
  }

  .account-page fieldset {
    padding: 8px;
  }

  .account-page table.form-table,
  .account-page table.form-table tbody,
  .account-page table.form-table tr,
  .account-page table.form-table td {
    display: block;
    width: 100%;
  }

  .account-page table.form-table tr {
    margin-bottom: 10px;
  }

  .account-page table.form-table td {
    padding: 3px 0;
  }

  .account-page table.form-table td.label-cell {
    width: 100%;
    text-align: left;
    padding: 0 0 3px;
  }

  .account-page input[type="text"],
  .account-page input[type="password"],
  .account-page input[type="email"],
  .account-page input[type="file"],
  .account-page select,
  .account-page textarea,
  .account-page table.form-table input,
  .account-page table.form-table select,
  .account-page table.form-table textarea {
    width: 100% !important;
    max-width: 100%;
  }

  .account-page .conditional-row.is-active {
    display: block;
  }

  .account-page .captcha-box {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    text-align: center;
  }

  .gate-page {
    margin: 4px;
    padding: 16px 10px;
  }

  .gate-page .gate-steps {
    display: block;
    padding: 10px;
  }

  .smp-page-body {
    padding: 12px;
  }

  .smp-page-body .clause {
    margin-left: 18px;
    text-indent: -16px;
  }

  .manuals-controls {
    padding: 10px !important;
  }

  .manuals-controls label,
  .manuals-controls select {
    display: block;
    width: 100%;
  }

  .manuals-controls select {
    margin: 3px 0 10px !important;
  }

  .manuals-controls span[style*="float"] {
    float: none !important;
    display: block;
    margin-top: 8px;
  }

  .manuals-table {
    table-layout: fixed;
  }

  .manuals-table th:nth-child(3),
  .manuals-table th:nth-child(4),
  .manuals-table th:nth-child(5),
  .manuals-table th:nth-child(6),
  .manuals-table td:nth-child(3),
  .manuals-table td:nth-child(4),
  .manuals-table td:nth-child(5),
  .manuals-table td:nth-child(6) {
    display: none;
  }

  .manuals-table th,
  .manuals-table td {
    padding: 6px 5px !important;
    overflow-wrap: anywhere;
  }

  .manuals-table th:first-child,
  .manuals-table td:first-child {
    width: 27% !important;
  }

  .manuals-table th:last-child,
  .manuals-table td:last-child {
    width: 82px !important;
  }

  .download-btn {
    padding: 4px 6px;
  }

  .forum-jump,
  .online-users,
  .forum-stats-footer,
  .side-widget {
    overflow-wrap: anywhere;
  }

  .open-resource-badge,
  .members-gate-badge {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 6px 0 0;
    line-height: 1.35;
  }
}

/* ============================================================
   ACCOUNT / SIGNUP / LOGIN FORM PAGES
   Period-correct vBulletin 4 form chrome
   ============================================================ */

.account-page {
  background: #ffffff;
  border: 1px solid #a7bbcf;
  border-top: 3px solid #005EB8;
  margin: 6px;
  padding: 0;
}

.account-page-header {
  background: linear-gradient(180deg, #f6f8fa 0%, #d9e2ea 100%);
  border-bottom: 1px solid #a7bbcf;
  padding: 8px 12px;
  font: bold 14px Georgia, "Times New Roman", serif;
  color: #003f7f;
}

.account-page-body {
  padding: 14px 16px;
  font-size: 12px;
  color: #2b3a4a;
  line-height: 1.5;
}

.account-page-body p {
  margin: 0 0 10px 0;
}

.account-page fieldset {
  border: 1px solid #c4cdd6;
  background: #f7f9fb;
  margin: 10px 0;
  padding: 8px 12px 12px 12px;
}

.account-page fieldset legend {
  font: bold 11px Verdana, Tahoma, sans-serif;
  color: #003f7f;
  padding: 0 6px;
  background: #ffffff;
  border: 1px solid #c4cdd6;
}

.account-page table.form-table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0;
}

.account-page table.form-table td {
  padding: 4px 6px;
  vertical-align: top;
  font-size: 11px;
}

.account-page table.form-table td.label-cell {
  width: 180px;
  text-align: right;
  font-weight: bold;
  color: #3a4a5c;
  padding-right: 12px;
}

.account-page table.form-table td.required::after {
  content: " *";
  color: #a4252a;
  font-weight: bold;
}

.account-page input[type="text"],
.account-page input[type="password"],
.account-page select,
.account-page textarea {
  font: 11px Verdana, Tahoma, sans-serif;
  border: 1px solid #9fb3c6;
  background: #ffffff;
  padding: 3px 4px;
  color: #2b3a4a;
  box-sizing: border-box;
}

.account-page input[type="text"],
.account-page input[type="password"] {
  width: 260px;
}

.account-page textarea {
  width: 360px;
  height: 80px;
}

.account-page select {
  background: #ffffff;
  padding: 2px 4px;
}

.account-page .conditional-row {
  display: none;
}

.account-page .conditional-row.is-active {
  display: table-row;
}

.netlify-hidden,
.account-page .netlify-hidden {
  display: none;
}

.account-page input[type="checkbox"],
.account-page input[type="radio"] {
  margin: 0 4px 0 0;
  vertical-align: middle;
}

.account-page .field-hint {
  display: block;
  font-size: 10px;
  color: #6a7a8a;
  font-style: italic;
  margin-top: 2px;
}

.account-page .field-error {
  display: block;
  font-size: 10px;
  color: #a4252a;
  font-weight: bold;
  margin-top: 2px;
}

.account-page .form-buttons {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #d8e0e8;
  text-align: center;
}

.account-page button.btn-submit,
.account-page input[type="submit"] {
  font: bold 11px Verdana, Tahoma, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #d9e2ea 100%);
  border: 1px solid #6a7e92;
  color: #003f7f;
  padding: 3px 14px;
  cursor: pointer;
}

.account-page button.btn-submit:hover {
  background: linear-gradient(180deg, #ffffff 0%, #c4d2dd 100%);
}

.account-page button.btn-secondary {
  font: 11px Verdana, Tahoma, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #ededed 100%);
  border: 1px solid #9aa4ae;
  color: #3a4a5c;
  padding: 2px 10px;
  margin-left: 6px;
  cursor: pointer;
}

.account-page .captcha-box {
  display: inline-block;
  border: 1px solid #9fb3c6;
  background: #eef2f5;
  padding: 8px 14px;
  font: italic bold 16px Georgia, serif;
  letter-spacing: 6px;
  color: #46586a;
  user-select: none;
  margin-right: 8px;
  text-decoration: line-through;
  text-decoration-color: #6a7a8a;
}

.account-page .agree-line {
  margin: 8px 0;
  padding: 6px 0;
  border-top: 1px solid #d8e0e8;
  border-bottom: 1px solid #d8e0e8;
  font-size: 11px;
}

.account-page .notice {
  background: #eef5fb;
  border: 1px solid #a7bbcf;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 11px;
  color: #2b3a4a;
}

.account-page .notice strong { color: #003f7f; }

.account-page .notice-warn {
  background: #fbf2ec;
  border: 1px solid #c9a87a;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 11px;
  color: #5a4226;
}

.account-page .notice-error {
  background: #f4dddd;
  border: 1px solid #a4252a;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 11px;
  color: #4d2522;
}

.account-page .notice-error strong { color: #a4252a; }

.account-side-panel {
  background: #ffffff;
  border: 1px solid #a7bbcf;
  margin-top: 10px;
}
.account-side-panel .block-header {
  background: linear-gradient(180deg, #003f7f 0%, #002f60 100%);
  color: #ffffff;
  font: bold 11px Verdana, Tahoma, sans-serif;
  padding: 4px 8px;
  border-bottom: 1px solid #001f40;
}
.account-side-panel .block-body {
  padding: 8px 10px;
  font-size: 11px;
  color: #2b3a4a;
  line-height: 1.5;
}
.account-side-panel .block-body strong { color: #003f7f; }

/* SMP rules page */
.smp-page {
  background: #ffffff;
  border: 1px solid #a7bbcf;
  border-top: 3px solid #005EB8;
  margin: 6px;
  padding: 0;
}
.smp-page-header {
  background: linear-gradient(180deg, #f6f8fa 0%, #d9e2ea 100%);
  border-bottom: 1px solid #a7bbcf;
  padding: 10px 14px;
}
.smp-page-header h1 {
  margin: 0;
  font: bold 16px Georgia, "Times New Roman", serif;
  color: #003f7f;
}
.smp-page-header .revision-line {
  margin-top: 4px;
  font-size: 10px;
  color: #6a7a8a;
  font-style: italic;
}
.smp-page-body {
  padding: 16px 22px;
  font: 12px Georgia, "Times New Roman", serif;
  color: #1f2a36;
  line-height: 1.55;
}
.smp-page-body h2 {
  font: bold 13px Verdana, Tahoma, sans-serif;
  color: #003f7f;
  border-bottom: 1px solid #c4cdd6;
  padding-bottom: 3px;
  margin: 18px 0 8px 0;
}
.smp-page-body .clause {
  margin: 4px 0 4px 24px;
  text-indent: -22px;
  padding-right: 6px;
}
.smp-page-body .clause-number {
  display: inline-block;
  width: 50px;
  font-weight: bold;
  color: #003f7f;
}
.smp-page-body .revision {
  font-size: 10px;
  font-style: italic;
  color: #6a7a8a;
  font-family: Verdana, Tahoma, sans-serif;
}
.smp-page-body .redacted {
  color: #6a7a8a;
  font-style: italic;
}
.smp-page-body .footnote {
  margin-top: 24px;
  padding-top: 10px;
  border-top: 1px dashed #c4cdd6;
  font-size: 11px;
  color: #46586a;
  font-style: italic;
}
.smp-toc {
  background: #f7f9fb;
  border: 1px solid #c4cdd6;
  padding: 8px 12px;
  margin: 0 0 16px 0;
  font: 11px Verdana, Tahoma, sans-serif;
}
.smp-toc strong { color: #003f7f; display: block; margin-bottom: 4px; }
.smp-toc a { color: #005EB8; text-decoration: none; margin-right: 14px; line-height: 1.7; }
.smp-toc a:hover { text-decoration: underline; }

/* Members-only gate */
.gate-page {
  background: #ffffff;
  border: 1px solid #a7bbcf;
  border-top: 3px solid #a4252a;
  margin: 6px;
  padding: 20px 24px;
  text-align: center;
}
.gate-page .gate-icon {
  font-size: 36px;
  color: #a4252a;
  margin-bottom: 10px;
}
.gate-page h2 {
  font: bold 16px Georgia, serif;
  color: #003f7f;
  margin: 0 0 10px 0;
}
.gate-page .gate-steps {
  display: inline-block;
  text-align: left;
  background: #f7f9fb;
  border: 1px solid #c4cdd6;
  padding: 12px 20px;
  margin: 14px 0;
  font-size: 12px;
}
.gate-page .gate-steps ol {
  margin: 4px 0;
  padding-left: 24px;
}
.gate-page .gate-steps li {
  margin: 6px 0;
  line-height: 1.5;
}

/* Profile edit tabs */
.profile-tabs {
  background: #ffffff;
  border: 1px solid #a7bbcf;
  margin: 6px;
}
.profile-tabs-bar {
  background: linear-gradient(180deg, #003f7f 0%, #002f60 100%);
  padding: 0;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid #001f40;
  overflow: hidden;
}
.profile-tabs-bar li {
  float: left;
  margin: 0;
}
.profile-tabs-bar a {
  display: block;
  padding: 6px 14px;
  color: #ffffff;
  text-decoration: none;
  font: bold 11px Verdana, Tahoma, sans-serif;
  border-right: 1px solid #001f40;
}
.profile-tabs-bar a:hover { background: #001f40; }
.profile-tabs-bar a.active {
  background: #ffffff;
  color: #003f7f;
  border-bottom: 2px solid #ffffff;
}
.profile-tabs-content {
  padding: 14px 18px;
  font-size: 12px;
  color: #2b3a4a;
}
.profile-tabs-content::after { content: ""; display: block; clear: both; }

/* Buy/Sell archive thread-row preview thumbnails */
.thread-preview-thumb {
  float: left;
  width: 90px;
  height: 70px;
  margin: 2px 10px 4px 0;
  border: 1px solid #9fb3c6;
  background: #ffffff;
  object-fit: cover;
  object-position: center;
}
.thread-title-row-with-thumb::after {
  content: "";
  display: block;
  clear: both;
}
.thread-meta-with-thumb {
  margin-left: 102px;
}


/* Buy/Sell/Swap button - black background per archive distinction */
.main-nav li.buysell-nav {
  background: #1a1a1a;
  border-right: 1px solid #2a2a2a;
  border-left: 1px solid rgba(255,255,255,0.10);
}
.main-nav li.buysell-nav a {
  color: #ffffff;
  letter-spacing: 0;
  text-transform: none;
}
.main-nav li.buysell-nav:hover { background: #0a0a0a; }
.main-nav li.buysell-nav a:hover { color: #ffffff; }


/* [MEMBERS ONLY] red prefix on locked sticky thread titles */
.members-only-prefix {
  color: #b8101a;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 11px;
  margin-right: 4px;
}
.members-only-row .thread-title a {
  color: #4a4a4a;
}
.members-only-row .thread-title a:hover {
  color: #b8101a;
}


/* OPEN RESOURCE badge - public-readable subforums */
.open-resource-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 9px;
  background: #1f7a3c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 2px;
  text-transform: uppercase;
}


/* MIXED ACCESS gate badge on Members landing */
.members-gate-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 9px;
  background: #b8101a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* Members nav button - distinct from public nav items */
.main-nav li.members-nav {
  background: #2a3441;
  border-left: 1px solid rgba(255,255,255,0.10);
}
.main-nav li.members-nav a {
  color: #ffffff;
}
.main-nav li.members-nav:hover { background: #1a2431; }


/* Per-thread row thumbnails - image refactor pass */
.thread-thumb-cell {
    width: 48px;
    padding: 4px 6px 4px 4px;
    vertical-align: middle;
}
.row-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #c4b078;
    display: block;
}
