/* ==========================================================================
   CYBERDRAFT UI v6.0  2095 RETRO-FUTURE EDITION (CASSETTE FUTURISM / WIN95)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* 2095 Anodized Titanium & Orbital Ceramic Palette */
  --os-desktop: #080d14;
  --os-grid-line: rgba(56, 189, 248, 0.09);
  --os-surface: #cfd6de;
  --os-surface-alt: #dfe5ec;
  --os-paper: #f8fafc;
  --os-paper-hover: #eef5fc;

  /* Precision-Milled 3D Bevels */
  --bevel-light: #ffffff;
  --bevel-mid: #bcc6d1;
  --bevel-dark: #6c7785;
  --bevel-ink: #111822;

  /* Deep Orbital Void, Ice Cyan & Aerospace International Orange */
  --accent-navy: #091526;
  --accent-indigo: #162d52;
  --accent-cyan: #0284c7;
  --accent-cyan-glow: #38bdf8;
  --accent-orange: #ea580c;
  --accent-orange-bright: #ff6b2b;
  --titlebar-grad: linear-gradient(90deg, #07101e 0%, #0f294a 58%, #0369a1 100%);

  /* High-Contrast Typography */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-link: #075985;
  --text-link-hover: #ea580c;

  /* Authentic Win95 Milled Shadows */
  --win-frame: inset 1px 1px 0 var(--bevel-light),
               inset -1px -1px 0 var(--bevel-dark),
               1px 1px 0 var(--bevel-ink);
  --win-inset: inset 1px 1px 0 var(--bevel-dark),
               inset -1px -1px 0 var(--bevel-light),
               inset 2px 2px 0 #334155;

  /* Typography */
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;

/* 2095 Milled Titanium & Aerospace Folder Icons */
  --ico-folder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23111822' d='M2 3h6l2 2h8v12H2z'/%3E%3Cpath fill='%2394a3b8' d='M3 4h4.6l2 2H17v10H3z'/%3E%3Cpath fill='%23e2e8f0' d='M3 4h4.6l1 1H3zm0 2h14v1H3z'/%3E%3Cpath fill='%2364748b' d='M3 15h14v1H3z'/%3E%3C/svg%3E");
  --ico-folder-new: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2307101e' d='M2 3h6l2 2h8v12H2z'/%3E%3Cpath fill='%230284c7' d='M3 4h4.6l2 2H17v10H3z'/%3E%3Cpath fill='%237dd3fc' d='M3 4h4.6l1 1H3zm0 2h14v1H3z'/%3E%3Crect x='13' y='4' width='4' height='3' fill='%23ff6b2b' stroke='%2307101e' stroke-width='0.8'/%3E%3C/svg%3E");
  --ico-folder-closed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%231e293b' d='M2 3h6l2 2h8v12H2z'/%3E%3Cpath fill='%2364748b' d='M3 4h4.6l2 2H17v10H3z'/%3E%3Crect x='7' y='9' width='6' height='5' fill='%230f172a'/%3E%3Cpath d='M8.5 9V7.5a1.5 1.5 0 0 1 3 0V9' fill='none' stroke='%230f172a' stroke-width='1.3'/%3E%3C/svg%3E");
  --ico-folder-sticky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2307101e' d='M2 3h16v14H2z'/%3E%3Cpath fill='%23e2e8f0' d='M3 4h14v12H3z'/%3E%3Cpath fill='%23ea580c' d='M3 4h14v3H3z'/%3E%3Cpath fill='%230f294a' d='M5 9h10v1.5H5zm0 3h6v1.5H5z'/%3E%3C/svg%3E");
}

/*************************************************************
A - SETUP (CLEAN PUNBB BASE & TITANIUM SCROLLBARS)
**************************************************************/

*, *::before, *::after {
  box-sizing: border-box;
}

::selection {
  background: var(--accent-orange);
  color: #ffffff;
}

:focus-visible {
  outline: 1px dotted var(--bevel-ink);
  outline-offset: 2px;
}

/* Classic Win95 Titanium Scrollbars */
.punbb * {
  scrollbar-width: thin;
  scrollbar-color: var(--os-surface) var(--os-surface-alt);
}

.punbb ::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.punbb ::-webkit-scrollbar-track {
  background: var(--os-surface-alt);
  border-left: 1px solid var(--bevel-dark);
}

.punbb ::-webkit-scrollbar-thumb {
  background: var(--os-surface);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset -1px -1px 0 var(--bevel-dark);
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.punbb * {
  margin: 0;
}

.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}

.punbb img {
  border: none;
}

.punbb .main table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 0.3em;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle;
}

/* Orbital Void Desktop Wallpaper */
body {
  font-size: 13.5px;
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--os-desktop);
  background-image:
    linear-gradient(var(--os-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--os-grid-line) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, #10253b 0%, #050910 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.punbb {
  font: normal 13.5px/1.5 var(--font-sans);
  color: var(--text-primary);
  float: left;
  width: 100%;
  height: auto;
}

.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 13.5px var(--font-sans);
}

.punbb h1, .punbb h2, .punbb h3, .punbb th {
  font-size: 1em;
  font-weight: 600;
}

.punbb .post h3 {
  font-weight: 400;
}

.punbb h4, .punbb table {
  font-size: 1em;
  font-weight: normal;
}

.punbb pre {
  font: 13px/1.45 var(--font-mono);
}

.punbb address, .punbb em {
  font-style: normal;
}

.punbb .post-content em {
  font-style: italic;
}

.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.punbb a {
  color: var(--text-link);
  text-decoration: none;
}

.punbb a:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

.punbb optgroup {
  font-weight: bold;
}

/* Float clearing */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

/* Hide empty rusFF system ad slots & thin divider bars */
#pun_wrap #pun .punbb .divider,
#pun_wrap #pun .punbb .section:empty,
#pun_wrap #pun .punbb > .section[style],
#pun_wrap #pun .punbb > .main > .section[style] {
  display: none !important;
}

/* Basic page layout */
#pun {
  margin: 24px auto 48px auto;
  width: 96%;
  max-width: 1120px;
  padding: 0 12px 12px 12px;
}

#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

.punbb .section, .punbb .main {
  margin-bottom: 18px;
}

.punbb .section:last-child {
  margin-bottom: 0;
}

.punbb .category, .punbb .post {
  margin-top: 0;
  margin-bottom: 18px;
}

#html-footer .container {
  border: none;
}

.punbb .modmenu {
  margin-top: 6px;
}

/*************************************************************
B - TITANIUM WINDOW FRAMES, CONTENT, QUOTES & PAGINATION
**************************************************************/

/* 2095 Anodized Titanium Outer Window Shell */
#pun .punbb .section,
#pun .punbb .category,
#pun .punbb .post,
#pun .punbb .formal,
#pun .punbb .info,
#pun .punbb .modmenu,
#pun .punbb .usertable {
  background: var(--os-surface);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: var(--win-frame);
  padding: 3px;
}

/* Recessed Ceramic Inner Workspace */
#pun .punbb .container {
  background: var(--os-paper);
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: var(--win-inset);
}

/* Window Title Bars with Aerospace Orange Telemetry Stripe */
#pun #pun-main h1,
#pun .punbb .section h2,
#pun .punbb .category h2,
#pun .punbb .formal > h2,
#pun #pun-stats h2,
#pun #pun-debug h2 {
  background-color: #07101e;
  background-image: var(--titlebar-grad);
  border-left: 3px solid var(--accent-orange);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  margin-bottom: 3px;
}

/* Parsed Content & Typography */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Engraved Titanium Groove Signature Rule */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid var(--bevel-dark);
  border-bottom: 1px solid var(--bevel-light);
  width: 220px;
  margin: 12px 0 8px 0;
}

.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
}

.punbb .post-content p.lastedit {
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-secondary);
}

.punbb .post-content img {
  vertical-align: text-bottom;
  max-width: 100%;
}

.punbb .post-content img.postimg {
  vertical-align: middle;
}

.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

/* Recessed Archival Quotes, Code Buffers & Spoilers */
.punbb .post-content .code-box,
.punbb .post-content .quote-box {
  margin: 10px 0 14px 0;
  padding: 10px 14px;
  background: #eff3f8;
  border-top: 1px solid var(--bevel-dark);
  border-left: 3px solid var(--accent-indigo);
  border-right: 1px solid var(--bevel-mid);
  border-bottom: 1px solid var(--bevel-mid);
}

.punbb .post-content .code-box {
  background: #e9eef5;
  border-left-color: var(--accent-orange);
  font-family: var(--font-mono);
  font-size: 13px;
}

.punbb .quote-box cite,
.punbb .code-box strong.legend,
.punbb .spoiler-box > div {
  display: block;
  padding-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-navy);
  margin: 0;
}

.punbb .spoiler-box > div {
  padding-left: 24px;
  background-position: 8px center;
}

/* Information boxes */
.punbb .info-box {
  padding: 12px 16px;
  background: #eff3f8;
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-mid);
  border-bottom: 1px solid var(--bevel-mid);
  margin: 0 0 14px 0;
}

.punbb .info-box * {
  padding: 0 0 8px 0;
}

.punbb #pun-main .info-box .legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-navy);
}

/* Hover Tooltip (2095 Amber Telemetry Tag) */
body #tooltip {
  background: #fef3c7;
  color: var(--text-primary);
  font: 12px/1.4 var(--font-mono);
  padding: 4px 8px;
  max-width: 250px;
  border: 1px solid var(--bevel-ink) !important;
  border-left: 3px solid var(--accent-orange) !important;
  clip-path: none !important;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
  z-index: 10000;
}

/* Pagination & Action Toolbars (.linkst & .linksb) */
#pun_wrap #pun .punbb #pun-main .linkst,
#pun_wrap #pun .punbb #pun-main .linksb {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--os-surface);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: var(--win-frame);
  padding: 7px 12px;
  margin-top: 0;
  margin-bottom: 16px;
  height: auto;
  position: static;
  float: none;
  width: 100%;
}

#pun_wrap #pun .punbb #pun-main .linkst::before,
#pun_wrap #pun .punbb #pun-main .linkst::after,
#pun_wrap #pun .punbb #pun-main .linksb::before,
#pun_wrap #pun .punbb #pun-main .linksb::after {
  content: none;
  display: none;
}

#pun_wrap #pun .punbb #pun-main .linkst .pagelink,
#pun_wrap #pun .punbb #pun-main .linkst .postlink,
#pun_wrap #pun .punbb #pun-main .linkst noindex,
#pun_wrap #pun .punbb #pun-main .linksb .pagelink,
#pun_wrap #pun .punbb #pun-main .linksb .postlink,
#pun_wrap #pun .punbb #pun-main .linksb noindex,
#pun_wrap #pun .punbb #pun-main .linksb .subscribelink {
  position: static;
  float: none;
  width: auto;
  clear: none;
}

/* Pagination always on the LEFT */
#pun_wrap #pun .punbb #pun-main .linkst .pagelink,
#pun_wrap #pun .punbb #pun-main .linksb .pagelink {
  order: 1 !important;
  margin: 0 auto 0 0 !important;
  text-align: left;
  color: var(--text-primary);
  font-size: 13px;
}

/* Subscribe link right before the Reply button */
#pun_wrap #pun .punbb #pun-main .linksb .subscribelink {
  order: 2 !important;
  margin: 0;
  padding: 0 8px 0 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}

#pun_wrap #pun .punbb #pun-main .linksb .subscribelink a {
  color: var(--text-link);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#pun_wrap #pun .punbb #pun-main .linksb .subscribelink a:hover {
  color: var(--text-link-hover);
}

/* Action buttons always on the RIGHT */
#pun_wrap #pun .punbb #pun-main .linkst noindex,
#pun_wrap #pun .punbb #pun-main .linkst > .postlink,
#pun_wrap #pun .punbb #pun-main .linksb noindex,
#pun_wrap #pun .punbb #pun-main .linksb > .postlink {
  order: 3 !important;
  margin: 0 0 0 auto !important;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
}

#pun_wrap #pun .punbb #pun-main .linkst noindex .postlink,
#pun_wrap #pun .punbb #pun-main .linksb noindex .postlink {
  margin: 0;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
}

#pun_wrap #pun .punbb #pun-main .linkst .postlink a,
#pun_wrap #pun .punbb #pun-main .linksb .postlink a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 14px;
  background: var(--os-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset -1px -1px 0 var(--bevel-dark);
}

#pun_wrap #pun .punbb #pun-main .linkst .postlink a:hover,
#pun_wrap #pun .punbb #pun-main .linksb .postlink a:hover {
  background: var(--accent-navy);
  color: #ffffff;
  text-decoration: none;
}

.multipage {
  margin-top: 0;
}

/*************************************************************
C - FORMS, TABLES, TOPICS, PROFILE & USERLIST
**************************************************************/

/* C1 Form layout (2095 Dialog Surface & Dropdown Panels) */
#pun .punbb .formal .container {
  background: var(--os-surface);
  border: none;
  box-shadow: none;
  padding: 14px 16px;
}

#pun .punbb .formal .container[id$="-area"] {
  background: var(--os-surface);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: var(--win-frame), 2px 2px 0 rgba(7, 16, 30, 0.35);
  padding: 4px;
  z-index: 1000;
}

#pun .punbb #font-area div,
#pun .punbb #size-area div {
  padding: 3px 10px;
  line-height: 1.4;
  color: var(--text-primary);
  cursor: pointer;
}

#pun .punbb #font-area div:hover,
#pun .punbb #size-area div:hover,
#pun .punbb #size-area div:hover span {
  background: var(--accent-navy);
  color: #ffffff;
}

.punbb .formsubmit {
  padding: 0 0 0 16px;
  margin: 10px 0 0 0;
}

.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 8px 0 0;
}

.punbb fieldset {
  border: 1px solid var(--bevel-dark);
  box-shadow: inset 1px 1px 0 var(--bevel-light);
  padding: 0 16px;
  margin: 0 0 12px 0;
}

.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 10px;
  font-weight: 600;
  color: var(--accent-navy);
}

.punbb fieldset legend span {
  padding: 0 6px;
  margin: 0 0 0 -14px;
  background: var(--os-surface);
}

.punbb fieldset fieldset {
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0 0 8px 0;
}

.punbb .fs-box {
  padding: 10px 0 6px 0;
}

.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 10px 0;
}

.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 14px;
}

.punbb .inline .infofield {
  clear: both;
}

.punbb .datafield br {
  display: none;
}

.punbb .required label, .punbb .datafield span.input {
  font-weight: 600;
}

.punbb .datafield span.input a {
  font-weight: normal;
}

.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 4em 0 0;
  height: 100%;
}

.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
}

.punbb .hashelp {
  position: relative;
}

.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
}

.punbb #profile .helplinks {
  top: 1.5em;
}

.punbb .helplinks span {
  display: block;
  padding-bottom: 4px;
}

/* Milled Titanium Inputs & Buttons */
.punbb input[type="text"],
.punbb input[type="password"],
.punbb textarea,
.punbb select {
  background: var(--os-paper);
  color: var(--text-primary);
  padding: 5px 8px;
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: var(--win-inset);
}

.punbb input[type="submit"],
.punbb input[type="button"],
.punbb button,
form .button {
  min-height: 30px;
  padding: 4px 14px;
  background: var(--os-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset -1px -1px 0 var(--bevel-dark);
}

.punbb .formsubmit input[type="submit"] {
  outline: 1px solid var(--bevel-ink);
}

.punbb input[type="submit"]:hover,
.punbb button:hover {
  background: var(--os-surface-alt);
}

.punbb input[type="submit"]:active,
.punbb button:active {
  box-shadow: var(--win-inset);
  transform: translate(1px, 1px);
}

/* C2 Explorer Data Tables */
#pun .punbb .category .container,
#pun .punbb .forum .container {
  padding: 2px;
}

#pun .punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 52%;
}

#pun .punbb .main .tc2,
#pun .punbb .main .tc3,
#pun .punbb .main .tcmod {
  display: table-cell;
  text-align: center;
  width: 10%;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
}

#pun .punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 28%;
  font-size: 12.5px;
  color: var(--text-secondary);
}

#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%;
}

#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}

#pun-index .tcl h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.punbb .category th,
.punbb .forum th,
.punbb .usertable th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  background: var(--os-surface);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-dark);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset -1px 0 0 var(--bevel-mid);
}

.punbb .category td,
.punbb .forum td,
.punbb .usertable td {
  background: var(--os-paper);
  border-bottom: 1px solid #d5dde6;
  padding: 12px 14px;
  vertical-align: middle;
}

.punbb .category tbody tr:last-child td,
.punbb .forum tbody tr:last-child td,
.punbb .usertable tbody tr:last-child td {
  border-bottom: none;
}

.punbb .category tbody tr:hover td,
.punbb .forum tbody tr:hover td,
.punbb .usertable tbody tr:hover td {
  background: var(--os-paper-hover);
}

/* Unread Rows Highlighted with Aerospace Orange Signal Bar */
.punbb .category tbody tr.inew td:first-child,
.punbb .forum tbody tr.inew td:first-child {
  box-shadow: inset 3px 0 0 var(--accent-orange);
}

#pun .punbb td div.tclcon {
  margin-left: 40px;
}

#pun .punbb div.icon {
  float: left;
  display: block;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  margin-right: 12px;
  background-image: var(--ico-folder);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

#pun .punbb tr.inew div.icon {
  background-image: var(--ico-folder-new);
}

#pun .punbb tr.iclosed div.icon {
  background-image: var(--ico-folder-closed);
}

#pun .punbb tr.isticky div.icon,
#pun .punbb tr.inewisticky div.icon {
  background-image: var(--ico-folder-sticky);
}

/* Sharp Milled Sub-Channel Keys */
.punbb .subforums {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  font-size: 0;
}

.punbb .subforums a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  display: inline-block;
  padding: 2px 7px;
  background: var(--os-surface-alt);
  color: var(--text-primary);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-dark);
  border-bottom: 1px solid var(--bevel-dark);
  border-radius: 0;
}

.punbb .subforums a::before {
  content: "&#9656; ";
  color: var(--accent-orange);
}

.punbb .subforums a:hover {
  background: var(--accent-navy);
  color: #ffffff;
  border-color: var(--accent-navy);
  text-decoration: none;
}

.punbb .subforums a:hover::before {
  color: var(--accent-cyan-glow);
}

/* C3 Topics & Posts */
#pun .punbb .post h3 {
  background-color: #07101e;
  background-image: var(--titlebar-grad);
  border-left: 3px solid var(--accent-cyan-glow);
  color: #ffffff;
  padding: 5px 8px;
  margin-bottom: 3px;
}

#pun .punbb .post h3 span {
  display: block;
  overflow: hidden;
  line-height: 20px;
  width: 100%;
  margin-left: 0;
  padding: 0;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ffffff;
}

#pun .punbb .post h3 strong {
  float: left;
  width: auto;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  padding: 1px 7px;
  margin-right: 10px;
  background: var(--os-surface);
  color: var(--text-primary);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
}

#pun .punbb .post h3 strong:before {
  content: "#";
}

#pun .punbb .post h3 a {
  color: #bae6fd;
  font-family: var(--font-sans);
  font-size: 12px;
  text-decoration: none;
}

#pun .punbb .post h3 a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#pun .punbb .post h3 a.permalink {
  float: right;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  color: #e0f2fe;
  background: rgba(7, 16, 30, 0.72);
  padding: 1px 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(0, 0, 0, 0.6);
  border-right: 1px solid rgba(186, 230, 253, 0.35);
  border-bottom: 1px solid rgba(186, 230, 253, 0.35);
}

#pun .punbb .post h3 a.permalink:hover {
  background: var(--accent-navy);
  color: #ffffff;
  text-decoration: none;
}

/* Post Split-Pane Body */
#pun .punbb .post .container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px;
  background: var(--os-surface);
  border: none;
  box-shadow: none;
  padding: 2px;
}

#pun .punbb .post .clearer {
  display: none;
}

#pun .punbb .post .post-author {
  flex: 0 0 210px;
  width: 210px;
  float: none;
  margin-top: 0;
  padding: 14px;
  background: var(--os-surface-alt);
  border: 1px solid var(--bevel-dark);
  box-shadow: inset 1px 1px 0 var(--bevel-light);
  font-size: 12.5px;
  color: var(--text-secondary);
}

#pun .punbb .post .post-author ul,
#pun .punbb .post .post-author p {
  padding: 0 0 6px 0;
  line-height: 145%;
}

.pa-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

li.pa-title {
  padding-bottom: 6px;
  font-weight: 500;
  color: var(--accent-indigo);
}

/* Passepartout Avatar Frame */
li.pa-avatar img,
#profile-left li div img {
  display: block;
  margin: 8px 0 10px 0;
  padding: 3px;
  background: var(--os-paper);
  border: 1px solid var(--bevel-dark);
}

/* Hardware Square Status LED */
li.pa-online {
  line-height: 1;
  margin-top: 8px;
  font-weight: 600;
  color: #0f766e;
}

li.pa-online:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #10b981;
  border: 1px solid #064e3b;
  box-shadow: inset 1px 1px 0 #a7f3d0;
  margin-right: 6px;
  vertical-align: 1px;
}

#pun .punbb .post-body {
  flex: 1 1 0%;
  min-width: 0;
  margin-left: 0;
  background: var(--os-paper);
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: var(--win-inset);
  padding: 0;
}

.punbb .post-box {
  padding: 20px 24px;
}

#pun .punbb .post-links {
  flex: 0 0 100%;
  width: 100%;
  margin-left: 0;
  border: none;
  padding-top: 4px;
}

#pun .punbb .post-links ul {
  margin-left: 0;
  padding: 0;
  height: auto;
  line-height: normal;
  background: transparent;
  text-align: right;
}

#pun .punbb .post-links li {
  display: inline-block;
  padding-left: 0;
  margin-left: 5px;
}

#pun .punbb .post-links li.pl-email,
#pun .punbb .post-links li.pl-website {
  float: left;
  margin-left: 0;
  margin-right: 5px;
}

#pun .punbb .post-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  background: var(--os-surface);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset -1px -1px 0 var(--bevel-dark);
}

#pun .punbb .post-links li a:hover {
  background: var(--os-surface-alt);
  color: var(--accent-navy);
  text-decoration: none;
}

#pun .punbb .post-links li a:active {
  box-shadow: var(--win-inset);
}

/* C4 Moderator menu */
#pun .punbb .modmenu .container {
  padding: 6px 10px;
  text-align: right;
  background: var(--os-surface);
  border: none;
  box-shadow: none;
  font-size: 12.5px;
}

#pun .punbb .modmenu .container strong {
  float: left;
  line-height: 28px;
}

#pun .punbb .modmenu input {
  margin-left: 8px;
}

/* C5 Message boxes */
.punbb .info .container {
  padding: 14px 18px;
}

.punbb .info .container .backlink {
  padding-top: 10px;
}

/* C6 Profile */
#profile > .container {
  padding: 16px 20px;
}

#profilenav {
  display: block;
  margin-bottom: 16px;
}

#profilenav li {
  margin-bottom: 6px;
  margin-right: 4px;
  font-weight: 600;
  display: inline-block;
}

#profilenav li a {
  display: inline-block;
  padding: 5px 10px;
  background: var(--os-surface);
  color: var(--text-primary);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset -1px -1px 0 var(--bevel-dark);
  text-decoration: none;
}

#profilenav li a:hover {
  background: var(--os-surface-alt);
  color: var(--accent-navy);
}

#profilenav li.isactive a {
  background: var(--os-paper);
  color: var(--accent-navy);
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: var(--win-inset);
}

#profilenav ul {
  border: 1px solid var(--bevel-dark);
  box-shadow: inset 1px 1px 0 var(--bevel-light);
  background: var(--os-surface);
  padding: 16px 14px 8px 14px;
  margin: 0;
}

#profilenav h2 {
  background: transparent;
  border-left: none;
  color: var(--accent-navy);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin: 0 12px -8px 12px;
}

#profilenav h2 span {
  background: var(--os-surface);
  padding: 0 6px;
  position: relative;
}

#viewprofile h2 {
  background: transparent;
  border-left: none;
  color: var(--accent-navy);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin: 0 0 6px 2px;
}

#viewprofile h2 span {
  background: transparent;
  padding: 0;
}

#viewprofile ul {
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: var(--win-inset);
  background: var(--os-paper);
  padding: 16px 18px 10px 18px;
  margin: 0 0 14px 0;
}

#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 4px;
}

#viewprofile li span,
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 6px 10px;
  font-weight: 600;
}

#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 6px 10px;
  font-weight: normal;
}

.punbb img.avatardemo {
  float: right;
  margin: 0 0 10px 18px;
}

/* C7 User list */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
}

#pun-userlist .usertable .container {
  padding: 2px;
}

#pun-userlist .usertable table {
  table-layout: auto;
}

#pun #pun-userlist .usertable .tcl,
#pun #pun-userlist .usertable .tc2,
#pun #pun-userlist .usertable .tc3 {
  width: auto;
  text-align: center;
}

/*************************************************************
D - 2095 ORBITAL WORKSTATION SHELL & FOOTER SECTIONS
**************************************************************/

#pun-title,
#pun-navlinks,
#pun-pagelinks {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: auto;
}

#pun-navlinks + div {
  margin-top: 0;
}

/* Unified Top Window Stack */
#pun #pun-title,
#pun #pun-navlinks,
#pun #pun-ulinks,
#pun #pun-status,
#pun #pun-crumbs1 {
  background: var(--os-surface);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  box-shadow: inset 1px 0 0 var(--bevel-mid), inset -1px 0 0 var(--bevel-dark);
  margin-bottom: 0;
}

/* D1 Logo & System Telemetry (Cyberdraft 2095  Orbital Relay Workstation) */
#pun_wrap #pun #pun-title {
  position: relative;
  border-top: 1px solid var(--bevel-light);
  padding: 3px 3px 4px 3px;
}

/* Top 2095 Kernel Title Bar with Aerospace Orange Anchor */
#pun_wrap #pun #pun-title::before {
  content: "SYS://CDRAFT_95.KRN  [ORBITAL RELAY // 4.8 Tbps]";
  display: flex;
  align-items: center;
  height: 22px;
  padding: 0 64px 0 8px;
  margin-bottom: 3px;
  overflow: hidden;
  white-space: nowrap;
  background-color: #07101e;
  background-image: linear-gradient(90deg, #07101e 0%, #0f294a 58%, #0369a1 100%);
  border-left: 3px solid var(--accent-orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Classic Win95 [ _ ] [ &#9633; ] [ &#215; ] Controls in Titanium-Ceramic */
#pun_wrap #pun #pun-title::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 52px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='14' viewBox='0 0 52 14'%3E%3Crect x='0' y='0' width='16' height='14' fill='%23cfd6de'/%3E%3Cpath d='M0 0h15v1H1v12H0z' fill='%23ffffff'/%3E%3Cpath d='M15 0h1v14H0v-1h15z' fill='%23111822'/%3E%3Cpath d='M14 1h1v12H1v-1h13z' fill='%236c7785'/%3E%3Crect x='4' y='10' width='6' height='2' fill='%230f172a'/%3E%3Crect x='17' y='0' width='16' height='14' fill='%23cfd6de'/%3E%3Cpath d='M17 0h15v1H18v12h-1z' fill='%23ffffff'/%3E%3Cpath d='M32 0h1v14H17v-1h15z' fill='%23111822'/%3E%3Cpath d='M31 1h1v12H18v-1h13z' fill='%236c7785'/%3E%3Cpath d='M21 3h8v8h-8zm1 2v5h6V5z' fill='%230f172a'/%3E%3Crect x='36' y='0' width='16' height='14' fill='%23cfd6de'/%3E%3Cpath d='M36 0h15v1H37v12h-1z' fill='%23ffffff'/%3E%3Cpath d='M51 0h1v14H36v-1h15z' fill='%23111822'/%3E%3Cpath d='M50 1h1v12H37v-1h13z' fill='%236c7785'/%3E%3Cpath d='M41 4h2l1 2 1-2h2l-2 3 2 3h-2l-1-2-1 2h-2l2-3z' fill='%230f172a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

/* Sunken Titanium AppWorkspace (#6c7785) */
#pun_wrap #pun #pun-title .container {
  background-color: var(--bevel-dark) !important;
  background-image: none !important;
  border-top: 1px solid #334155;
  border-left: 1px solid #334155;
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: inset 1px 1px 0 var(--bevel-ink);
  padding: 0;
}

/* Precision 24px Engineering Coordinate Grid */
#pun_wrap #pun #pun-title table {
  display: table;
  border: none;
  width: 100%;
  border-collapse: separate;
  border-spacing: 24px 22px;
  background-color: var(--bevel-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Left Identity Lockup (52px height) */
#pun_wrap #pun #pun-title h1 {
  display: inline-grid;
  grid-template-columns: 52px auto;
  column-gap: 16px;
  align-items: center;
  width: fit-content;
  height: 52px;
  margin: 0;
  line-height: 1;
}

/* 52x52 Recessed Viewport with Coordinate Globe & Aerospace Orange Beacon */
#pun_wrap #pun #pun-title h1::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / 3;
  display: block;
  width: 52px;
  height: 52px;
  background-color: #050a12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='208' height='52' viewBox='0 0 208 52'%3E%3Cg stroke='%2338bdf8' fill='none'%3E%3Ccircle cx='26' cy='26' r='16' stroke-width='1.3'/%3E%3Cellipse cx='26' cy='26' rx='4.5' ry='16' stroke-width='1'/%3E%3Cline x1='10' y1='26' x2='42' y2='26' stroke-width='1'/%3E%3Cline x1='12' y1='19' x2='40' y2='19' stroke='%230284c7' stroke-width='0.8'/%3E%3Cline x1='12' y1='33' x2='40' y2='33' stroke='%230284c7' stroke-width='0.8'/%3E%3Crect x='7.5' y='9.5' width='3' height='3' fill='%23ff6b2b' stroke='none'/%3E%3Ccircle cx='78' cy='26' r='16' stroke-width='1.3'/%3E%3Cellipse cx='78' cy='26' rx='10.5' ry='16' stroke-width='1'/%3E%3Cline x1='62' y1='22' x2='94' y2='22' stroke-width='1'/%3E%3Cline x1='64' y1='30' x2='92' y2='30' stroke='%230284c7' stroke-width='0.8'/%3E%3Crect x='93.5' y='10.5' width='3' height='3' fill='%23ff6b2b' stroke='none'/%3E%3Ccircle cx='130' cy='26' r='16' stroke-width='1.3'/%3E%3Cellipse cx='130' cy='26' rx='15.2' ry='16' stroke-width='1'/%3E%3Cline x1='114' y1='30' x2='146' y2='30' stroke-width='1'/%3E%3Cline x1='116' y1='19' x2='144' y2='19' stroke='%230284c7' stroke-width='0.8'/%3E%3Crect x='144.5' y='38.5' width='3' height='3' fill='%23ff6b2b' stroke='none'/%3E%3Ccircle cx='182' cy='26' r='16' stroke-width='1.3'/%3E%3Cellipse cx='182' cy='26' rx='8' ry='16' stroke-width='1'/%3E%3Cline x1='166' y1='26' x2='198' y2='26' stroke-width='1'/%3E%3Cline x1='168' y1='19' x2='196' y2='19' stroke='%230284c7' stroke-width='0.8'/%3E%3Cline x1='168' y1='33' x2='196' y2='33' stroke='%230284c7' stroke-width='0.8'/%3E%3Crect x='163.5' y='37.5' width='3' height='3' fill='%23ff6b2b' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 0;
  border-top: 1px solid #111822;
  border-left: 1px solid #111822;
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: inset 1px 1px 0 #000000;
  animation: netscape-throbber 1.1s steps(4) infinite;
}

/* Razor-sharp Titanium Typography */
#pun_wrap #pun #pun-title h1 span {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #111822;
}

/* Engraved 2095 Relay Subtitle */
#pun_wrap #pun #pun-title h1::after {
  content: "ORBITAL T-RPG RELAY  //  REV. 2095";
  grid-column: 2;
  grid-row: 2;
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: #f1f5f9;
  text-shadow: 1px 1px 0 #1e293b;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(17, 24, 34, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Right Engraved Quantum Spec Plate (52px total height) */
#pun_wrap #pun #pun-title td.title-logo-tdr {
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

#pun_wrap #pun #pun-title td.title-logo-tdr::before,
#pun_wrap #pun #pun-title td.title-logo-tdr::after {
  display: flex;
  align-items: center;
  width: 228px;
  height: 26px;
  margin-left: auto;
  padding: 0 10px;
  font-family: var(--font-mono);
  background-color: rgba(17, 24, 34, 0.22);
  border-left: 1px solid rgba(17, 24, 34, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

#pun_wrap #pun #pun-title td.title-logo-tdr::before {
  content: "HOST // CYBERDRAFT.NET";
  font-size: 10.5px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 1px 1px 0 #111822;
  border-top: 1px solid rgba(17, 24, 34, 0.55);
  border-bottom: 1px solid rgba(17, 24, 34, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Bottom Spec Row + Stationary Blinking 2095 Quantum Dual-Transceiver */
#pun_wrap #pun #pun-title td.title-logo-tdr::after {
  content: "LINK // 4.8 TBPS Q-SYNC";
  font-size: 10.5px;
  font-weight: 500;
  color: #f1f5f9;
  text-shadow: 1px 1px 0 #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Crect x='3' y='3' width='4' height='2' fill='%23ff6b2b'/%3E%3Crect x='10' y='6' width='4' height='2' fill='%2338bdf8'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Crect x='1' y='1' width='8' height='6' fill='%23050a12' stroke='%23ffffff' stroke-width='1'/%3E%3Crect x='3' y='3' width='4' height='2' fill='%230f294a'/%3E%3Crect x='8' y='4' width='8' height='6' fill='%23050a12' stroke='%23e2e8f0' stroke-width='1'/%3E%3Crect x='10' y='6' width='4' height='2' fill='%230f294a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px 12px, 18px 12px;
  background-position: 198px center, 198px center;
  animation: win95-tray-blink 1.2s steps(1) infinite;
}

@keyframes netscape-throbber {
  0%   { background-position: 0 0; }
  100% { background-position: -208px 0; }
}

@keyframes win95-tray-blink {
  0%, 49%  { background-position: 198px center, 198px center; }
  50%, 100% { background-position: 198px -30px, 198px center; }
}

/* D2 Skip Links */
#pun-pagelinks li a {
  position: absolute;
  left: -9999px;
}

#pun-pagelinks a:focus {
  position: relative;
  left: 0;
}

/* D3 Main Program Menu Bar */
#pun #pun-navlinks {
  padding: 2px 6px;
  border-bottom: 1px solid var(--bevel-dark);
}

#pun #pun-navlinks .container {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

#pun #pun-navlinks li a {
  display: inline-block;
  padding: 5px 11px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

#pun #pun-navlinks li a::first-letter {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#pun #pun-navlinks li a:hover {
  background: var(--accent-navy);
  color: #ffffff;
  text-decoration: none;
}

/* D4 User Action Toolbar */
#pun #pun-ulinks {
  padding: 6px 8px;
  border-top: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-dark);
}

#pun #pun-ulinks .container {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#pun #pun-ulinks li a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  background: var(--os-surface);
  color: var(--text-primary);
  font-size: 12.5px;
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset -1px -1px 0 var(--bevel-dark);
}

#pun #pun-ulinks li a:hover {
  background: var(--os-surface-alt);
  color: var(--accent-navy);
  text-decoration: none;
}

#pun #pun-ulinks li a:active {
  box-shadow: var(--win-inset);
  transform: translate(1px, 1px);
}

/* D5 Welcome Box & 2095 Path Bar */
#pun #pun-status {
  padding: 6px 8px;
  border-top: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-dark);
}

#pun #pun-status .container {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

#pun #pun-status span {
  padding: 3px 8px;
  background: var(--os-surface-alt);
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
}

#pun #pun-status span:last-child {
  margin-left: auto;
}

#pun #pun-crumbs1 {
  padding: 6px 8px 8px 8px;
  border-top: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: inset 1px 0 0 var(--bevel-mid),
              inset -1px -1px 0 var(--bevel-dark),
              1px 1px 0 var(--bevel-ink);
  margin-bottom: 20px;
}

#pun #pun-crumbs1 .container,
#pun #pun-crumbs2 .container {
  display: flex;
  align-items: center;
  min-height: 30px;
  background: var(--os-paper);
  padding: 4px 10px;
  font-size: 13px;
}

#pun #pun-crumbs1 .container::before,
#pun #pun-crumbs2 .container::before {
  content: "Σηελ";
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid var(--bevel-dark);
}

/* D6 Announcement */
#pun-announcement .container {
  padding: 14px 18px;
}

/* D7 Statistics (Titanium Header/Footer + Sunken Dual Ceramic Lists) */
#pun #pun-stats .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
  background: var(--os-surface);
  border: none;
  box-shadow: none;
  padding: 6px 8px;
  font-size: 12.5px;
}

#pun #pun-stats .container::after {
  content: none;
  display: none;
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  float: none;
  clear: none;
  line-height: 155%;
  padding: 1px 4px;
}

#pun-stats li.item1 { grid-column: 1; grid-row: 1; }
#pun-stats li.item2 { grid-column: 1; grid-row: 2; padding-bottom: 6px; }
#pun-stats li.item3 { grid-column: 2; grid-row: 1; text-align: right; }
#pun-stats li.item4 { grid-column: 2; grid-row: 2; text-align: right; padding-bottom: 6px; }

#pun-stats li.onlinelist,
#pun-stats li.users_24h {
  float: none;
  width: auto;
  margin: 0;
  padding: 8px 10px;
  max-height: 92px;
  overflow-y: auto;
  line-height: 150%;
  background: var(--os-paper);
  border-top: 1px solid var(--bevel-dark);
  border-left: 1px solid var(--bevel-dark);
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: var(--win-inset);
}

#pun-stats li.onlinelist { grid-column: 1; grid-row: 3; }
#pun-stats li.users_24h { grid-column: 2; grid-row: 3; }

#pun-stats li.onlinelist div,
#pun-stats li.users_24h div {
  border: none;
  margin: 0;
  padding: 0;
}

#pun-stats li.statistics {
  grid-column: 1 / -1;
  grid-row: 4;
  float: none;
  width: auto;
  margin-top: 6px;
  padding: 6px 4px 2px 4px;
  border-top: 1px solid var(--bevel-dark);
  box-shadow: inset 0 1px 0 var(--bevel-light);
  line-height: 150%;
}

/* D8 Quick Jump - About - Bottom Breadcrumbs */
#pun-crumbs2 {
  margin-bottom: 14px;
}

#pun #pun-qjump {
  margin: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  width: 50%;
  position: relative;
  float: left;
}

#pun #pun-qjump .container {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 8px 4px;
  color: #cbd5e1;
}

#pun #pun-about {
  margin-top: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

#pun #pun-about .container {
  border: none;
  box-shadow: none;
  background: transparent;
  text-align: right;
  line-height: 150%;
  padding: 8px 4px;
  color: #cbd5e1;
  font-size: 12px;
}

#pun #pun-about a {
  color: var(--accent-cyan-glow);
}

#pun #pun-about p span {
  display: block;
  padding-left: 50%;
}

/* D10 Links in right column */
.punbb .main .tcr a:after {
  content: " »";
  font-weight: 600;
}

/* D11 Post form */
#post {
  margin: 0;
  padding: 0;
}

#post fieldset {
  border: none;
  box-shadow: none;
  padding: 0;
}

#post legend {
  display: none;
}

#post .formsubmit {
  padding: 4px 16px 14px 16px;
  margin: 0;
}

#post .fs-box.hashelp, #post .fs-box .areafield {
  padding-bottom: 0;
}

#post #main-reply {
  width: 100%;
  min-height: 140px;
}

/* D12 Admin textarea */
#pun-admain textarea {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* 2095 External Relay Banner Bay (#html-footer for 88x31 buttons) */
#pun #html-footer {
  clear: both;
  margin-top: 14px;
  background: var(--os-surface);
  border-top: 1px solid var(--bevel-light);
  border-left: 1px solid var(--bevel-light);
  border-right: 1px solid var(--bevel-ink);
  border-bottom: 1px solid var(--bevel-ink);
  box-shadow: var(--win-frame);
  padding: 3px;
}

#pun #html-footer::before {
  content: "EXT://BANNER_BAY.DAT  [RELAY LINKS]";
  display: block;
  background-color: #07101e;
  background-image: var(--titlebar-grad);
  border-left: 3px solid var(--accent-orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  margin-bottom: 3px;
}

#pun #html-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 51px;
  padding: 10px 12px;
  background: #07101e;
  border-top: 1px solid #111822;
  border-left: 1px solid #111822;
  border-right: 1px solid var(--bevel-light);
  border-bottom: 1px solid var(--bevel-light);
  box-shadow: inset 1px 1px 0 #000000;
}

/* Disable PunBB clearfix dot inside flex container so centering stays exact */
#pun #html-footer .container::after {
  content: none;
  display: none;
}

#pun #html-footer a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

#pun #html-footer img {
  display: block;
  width: 88px;
  height: 31px;
  object-fit: cover;
  image-rendering: pixelated;
  border: 1px solid #1e293b;
  background: #0f172a;
}

#pun #html-footer a:hover img,
#pun #html-footer img:hover {
  border-color: var(--accent-orange-bright);
  outline: 1px solid var(--accent-cyan-glow);
  transform: translateY(-1px);
}

/* Clean Breadcrumb Spacing (Desktop & Mobile) */
#pun #pun-crumbs1 ul,
#pun #pun-crumbs2 ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

#pun #pun-crumbs1 li,
#pun #pun-crumbs2 li {
  margin: 0;
}

/*************************************************************
E - RESPONSIVE ADJUSTMENTS (POCKET CYBERDECK 2095  CLEAN CASCADE)
    Note: !important is isolated strictly to #pun_wrap overflow and
    #pun-ulinks because rusFF mobile.css locks them with !important.
**************************************************************/
@media screen and (max-width: 768px) {
  /* Allow in-flow drawers to expand without outer clipping */
  html body #pun_wrap,
  html body #pun_wrap .punbb {
    overflow: visible !important;
  }

  /* Viewport Frame */
  html body #pun_wrap #pun {
    position: relative;
    width: 100%;
    padding: 0 4px 14px 4px;
    margin: 6px auto 24px auto;
  }

  html body #pun_wrap #pun #pun-redirect,
  html body #pun_wrap #pun #pun-maint {
    margin: 24px 4px 12px 4px;
  }

  html body #pun_wrap #pun .punbb .section,
  html body #pun_wrap #pun .punbb .category,
  html body #pun_wrap #pun .punbb .post,
  html body #pun_wrap #pun .punbb .formal,
  html body #pun_wrap #pun .punbb .info,
  html body #pun_wrap #pun .punbb .modmenu,
  html body #pun_wrap #pun .punbb .usertable {
    margin-bottom: 12px;
  }

  /* Welded Top Command Deck */
  html body #pun_wrap #pun #pun-title,
  html body #pun_wrap #pun .punbb #pun-navlinks,
  html body #pun_wrap #pun .punbb #pun-ulinks,
  html body #pun_wrap #pun .punbb #pun-crumbs1 {
    margin-bottom: 0;
  }

  /* Row 1: Mini Kernel Header (hide desktop window controls so full title fits) */
  html body #pun_wrap #pun #pun-title::before {
    padding: 0 8px;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  html body #pun_wrap #pun #pun-title::after {
    display: none;
  }

  html body #pun_wrap #pun #pun-title table {
    border-spacing: 10px 12px;
  }

  html body #pun_wrap #pun #pun-title h1 {
    column-gap: 12px;
  }

  html body #pun_wrap #pun #pun-title h1 span {
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  html body #pun_wrap #pun #pun-title td.title-logo-tdr {
    display: none;
  }

  /* Row 2: Welded Icon Switch Deck (#pun-navlinks  keeps rusFF sprite sharp) */
  html body #pun_wrap #pun .punbb #pun-navlinks {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 5px 6px;
    border-top: 1px solid var(--bevel-light);
    border-bottom: 1px solid var(--bevel-dark);
  }

  html body #pun_wrap #pun .punbb #pun-navlinks .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  html body #pun_wrap #pun .punbb #pun-navlinks li {
    margin: 0;
    padding: 0;
  }

  html body #pun_wrap #pun .punbb #pun-navlinks li a {
    display: block;
    width: 32px;
    height: 32px;
    padding: 0;
    background-color: #0f294a;
    border-top: 1px solid #38bdf8;
    border-left: 1px solid #38bdf8;
    border-right: 1px solid #050a12;
    border-bottom: 1px solid #050a12;
    box-shadow: inset -1px -1px 0 #07101e;
  }

  html body #pun_wrap #pun .punbb #pun-navlinks li.isactive a,
  html body #pun_wrap #pun .punbb #pun-navlinks li a:active {
    background-color: var(--accent-orange);
    border-top: 1px solid #050a12;
    border-left: 1px solid #050a12;
    border-right: 1px solid #fdba74;
    border-bottom: 1px solid #fdba74;
    box-shadow: inset 1px 1px 0 #7c2d12;
  }

  /* Row 3: Welded Win95 Utility Strip & In-Flow 2-Column Drawer (#pun-ulinks) */
  html body #pun_wrap #pun .punbb #pun-ulinks {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 5px 6px !important;
    background-color: var(--os-surface) !important;
    background-image: none !important;
    border-top: 1px solid var(--bevel-light) !important;
    border-bottom: 1px solid var(--bevel-dark) !important;
    z-index: 100;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks::after {
    content: "Q-SYNC // 4.8T";
    order: 2;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 7px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--os-surface-alt);
    border-top: 1px solid var(--bevel-dark);
    border-left: 1px solid var(--bevel-dark);
    border-right: 1px solid var(--bevel-light);
    border-bottom: 1px solid var(--bevel-light);
  }

  /* Close Bottom Chassis Edge on Index where #pun-crumbs1 is absent */
  html body #pun_wrap #pun #pun-index #pun-ulinks {
    border-bottom: 1px solid var(--bevel-ink) !important;
    box-shadow: inset 1px 0 0 var(--bevel-mid),
                inset -1px -1px 0 var(--bevel-dark),
                1px 1px 0 var(--bevel-ink) !important;
    margin-bottom: 12px !important;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks h2 {
    order: 1;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 9px 0 26px !important;
    background-color: var(--os-surface) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Crect x='1' y='1.5' width='10' height='1.8' fill='%230f172a'/%3E%3Crect x='1' y='5.1' width='10' height='1.8' fill='%230f172a'/%3E%3Crect x='1' y='8.7' width='10' height='1.8' fill='%230f172a'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 8px center !important;
    background-size: 12px 12px !important;
    border-top: 1px solid var(--bevel-light) !important;
    border-left: 1px solid var(--bevel-light) !important;
    border-right: 1px solid var(--bevel-ink) !important;
    border-bottom: 1px solid var(--bevel-ink) !important;
    box-shadow: inset -1px -1px 0 var(--bevel-dark) !important;
    cursor: pointer;
    user-select: none;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks h2 span {
    display: inline !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    font-family: var(--font-mono) !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    color: var(--text-primary) !important;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks h2::after {
    content: "\25BE";
    margin-left: 6px;
    font-size: 11px;
    color: var(--text-secondary);
  }

  html body #pun_wrap #pun .punbb #pun-ulinks:focus-within h2,
  html body #pun_wrap #pun .punbb #pun-ulinks:active h2,
  html body #pun_wrap #pun .punbb #pun-ulinks:hover h2 {
    background-color: var(--os-surface-alt) !important;
    border-top: 1px solid var(--bevel-dark) !important;
    border-left: 1px solid var(--bevel-dark) !important;
    border-right: 1px solid var(--bevel-light) !important;
    border-bottom: 1px solid var(--bevel-light) !important;
    box-shadow: var(--win-inset) !important;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks .container {
    order: 3;
    position: static !important;
    display: none !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 6px 0 0 0 !important;
    padding: 5px !important;
    background-color: var(--os-surface-alt) !important;
    background-image: none !important;
    border-top: 1px solid var(--bevel-dark) !important;
    border-left: 1px solid var(--bevel-dark) !important;
    border-right: 1px solid var(--bevel-light) !important;
    border-bottom: 1px solid var(--bevel-light) !important;
    box-shadow: var(--win-inset) !important;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks:focus-within .container,
  html body #pun_wrap #pun .punbb #pun-ulinks:active .container,
  html body #pun_wrap #pun .punbb #pun-ulinks:hover .container {
    display: grid !important;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks li:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks li a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 4px 9px !important;
    background-color: var(--os-surface) !important;
    background-image: none !important;
    color: var(--text-primary) !important;
    font-family: var(--font-sans) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-top: 1px solid var(--bevel-light) !important;
    border-left: 1px solid var(--bevel-light) !important;
    border-right: 1px solid var(--bevel-ink) !important;
    border-bottom: 1px solid var(--bevel-ink) !important;
    box-shadow: inset -1px -1px 0 var(--bevel-dark) !important;
    transform: none !important;
  }

  html body #pun_wrap #pun #pun-online #pun-ulinks li.navactive a {
    background-color: var(--os-paper) !important;
    color: var(--accent-navy) !important;
  }

  html body #pun_wrap #pun #pun-online #pun-ulinks li.navactive a::before {
    content: "\25B8  ";
    color: var(--accent-orange);
    margin-right: 4px;
  }

  html body #pun_wrap #pun .punbb #pun-ulinks li a:active,
  html body #pun_wrap #pun .punbb #pun-ulinks li a:hover {
    background-color: var(--accent-navy) !important;
    color: #ffffff !important;
  }

  /* Row 4: Welded Address Bar (#pun-crumbs1 & #pun-crumbs2) */
  html body #pun_wrap #pun .punbb #pun-crumbs1 {
    padding: 5px 6px 6px 6px;
    margin-bottom: 12px;
  }

  html body #pun_wrap #pun .punbb #pun-crumbs2 {
    padding: 4px;
    margin-bottom: 12px;
  }

  html body #pun_wrap #pun .punbb #pun-crumbs1 .container,
  html body #pun_wrap #pun .punbb #pun-crumbs2 .container {
    min-height: 28px;
    padding: 4px 8px;
    font-size: 12px;
  }

  /* Window Title Bars */
  html body #pun_wrap #pun #pun-main h1,
  html body #pun_wrap #pun .punbb .section h2,
  html body #pun_wrap #pun .punbb .category h2,
  html body #pun_wrap #pun .punbb .formal > h2,
  html body #pun_wrap #pun #pun-stats h2,
  html body #pun_wrap #pun #pun-debug h2 {
    padding: 5px 8px;
    font-size: 11.5px;
    margin-bottom: 3px;
  }

  /* Forum & Topic Cards inside Recessed Ceramic Workspace */
  html body #pun_wrap #pun .punbb .category .container,
  html body #pun_wrap #pun .punbb .forum .container,
  html body #pun_wrap #pun .punbb .usertable .container {
    padding: 1px;
  }

  html body #pun_wrap #pun .punbb .category table,
  html body #pun_wrap #pun .punbb .category tbody,
  html body #pun_wrap #pun .punbb .forum table,
  html body #pun_wrap #pun .punbb .forum tbody {
    display: block;
    width: 100%;
  }

  html body #pun_wrap #pun .punbb .category thead,
  html body #pun_wrap #pun .punbb .forum thead {
    display: none;
  }

  html body #pun_wrap #pun .punbb .category tbody tr,
  html body #pun_wrap #pun .punbb .forum tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 10px 11px;
    background: var(--os-paper);
    border-bottom: 1px solid #cbd5e1;
  }

  html body #pun_wrap #pun .punbb .category tbody tr:last-child,
  html body #pun_wrap #pun .punbb .forum tbody tr:last-child {
    border-bottom: none;
  }

  html body #pun_wrap #pun .punbb .category tbody tr.inew,
  html body #pun_wrap #pun .punbb .forum tbody tr.inew {
    box-shadow: inset 3px 0 0 var(--accent-orange);
    background: #f0f7ff;
  }

  html body #pun_wrap #pun .punbb .category tbody tr.inew .tcl h3::after,
  html body #pun_wrap #pun .punbb .forum tbody tr.inew .tclcon > a::after {
    content: "NEW";
    display: inline-block;
    margin-left: 6px;
    padding: 1px 4px;
    background: var(--accent-orange);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    vertical-align: middle;
  }

  html body #pun_wrap #pun .punbb .category td,
  html body #pun_wrap #pun .punbb .forum td {
    display: block;
    border: none;
    padding: 0;
    background: transparent;
  }

  html body #pun_wrap #pun .punbb .category tbody tr.inew td:first-child,
  html body #pun_wrap #pun .punbb .forum tbody tr.inew td:first-child {
    box-shadow: none;
  }

  html body #pun_wrap #pun .punbb td div.tclcon {
    margin-left: 0;
  }

  html body #pun_wrap #pun .punbb .category td.tcl,
  html body #pun_wrap #pun .punbb .forum td.tcl {
    flex: 0 0 100%;
    width: 100%;
  }

  html body #pun_wrap #pun .punbb .category td.tc2,
  html body #pun_wrap #pun .punbb .category td.tc3,
  html body #pun_wrap #pun .punbb .forum td.tc2,
  html body #pun_wrap #pun .punbb .forum td.tc3 {
    display: none;
  }

  html body #pun_wrap #pun .punbb .category td.tcr,
  html body #pun_wrap #pun .punbb .forum td.tcr {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 7px;
    padding-top: 6px;
    border-top: 1px dashed #cbd5e1;
    font-size: 11.5px;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb .category td.tcr img,
  html body #pun_wrap #pun .punbb .forum td.tcr img {
    width: 24px;
    height: 24px;
    padding: 1px;
    background: var(--os-paper);
    border: 1px solid var(--bevel-dark);
    margin-right: 7px;
  }

  html body #pun_wrap #pun .punbb .category td.tcr:empty,
  html body #pun_wrap #pun .punbb .forum td.tcr:empty {
    display: none;
  }

  html body #pun_wrap #pun .punbb .forum td.tcmod {
    width: auto;
    margin-top: 6px;
  }

  /* Member List (#pun-userlist)  Structured 2-Row Hardware Cards */
  html body #pun_wrap #pun .punbb #pun-userlist .usertable table,
  html body #pun_wrap #pun .punbb #pun-userlist .usertable tbody {
    display: block;
    width: 100%;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable thead {
    display: none;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 8px;
    width: 100%;
    padding: 10px 11px;
    background: var(--os-paper);
    border-bottom: 1px solid #cbd5e1;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable tbody tr:last-child {
    border-bottom: none;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td {
    display: block;
    border: none;
    padding: 0;
    background: transparent;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tcl {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tcl img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    padding: 1px;
    background: var(--os-paper);
    border: 1px solid var(--bevel-dark);
    flex-shrink: 0;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tc2 {
    flex: 0 0 auto;
    width: auto;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-indigo);
    background: var(--os-surface-alt);
    border: 1px solid var(--bevel-dark);
    text-align: right;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tc3,
  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tcr {
    flex: 1 1 auto;
    width: auto;
    padding-top: 6px;
    border-top: 1px dashed #cbd5e1;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-secondary);
    text-align: left;
    white-space: nowrap;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tc2 + td.tc3::before {
    content: "\0423\0412\0410\0416: ";
    font-size: 9.5px;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tc3 + td.tc3::before {
    content: "\0421\041E\041E\0411\0429: ";
    font-size: 9.5px;
  }

  html body #pun_wrap #pun .punbb #pun-userlist .usertable td.tcr::before {
    content: "\0420\0415\0413: ";
    font-size: 9.5px;
  }

  /* Active Users (#pun-online)  Clean Telemetry Activity Cards */
  html body #pun_wrap #pun .punbb #pun-online .section table,
  html body #pun_wrap #pun .punbb #pun-online .section tbody {
    display: block;
    width: 100%;
  }

  html body #pun_wrap #pun .punbb #pun-online .section thead {
    display: none;
  }

  html body #pun_wrap #pun .punbb #pun-online .section tbody tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 8px;
    width: 100%;
    padding: 9px 11px;
    background: var(--os-paper);
    border-bottom: 1px solid #cbd5e1;
  }

  html body #pun_wrap #pun .punbb #pun-online .section tbody tr:last-child {
    border-bottom: none;
  }

  html body #pun_wrap #pun .punbb #pun-online .section td {
    display: block;
    border: none;
    padding: 0;
    background: transparent;
  }

  html body #pun_wrap #pun .punbb #pun-online .section td:first-child {
    order: 1;
    flex: 1 1 auto;
    width: auto;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #pun-online .section td:last-child {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-secondary);
    text-align: right;
    white-space: nowrap;
  }

  html body #pun_wrap #pun .punbb #pun-online .section td:nth-child(2) {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: left;
  }

  /* Pagination & Topic Action Toolbars */
  html body #pun_wrap #pun .punbb #pun-main .linkst,
  html body #pun_wrap #pun .punbb #pun-main .linksb {
    padding: 6px 8px;
    gap: 6px;
    margin-bottom: 12px;
  }

  html body #pun_wrap #pun .punbb #pun-main .linkst .postlink a,
  html body #pun_wrap #pun .punbb #pun-main .linksb .postlink a {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 12px;
  }

  /* Topic Posts */
  html body #pun_wrap #pun .punbb .post h3 {
    padding: 5px 8px;
    font-size: 11px;
  }

  html body #pun_wrap #pun .punbb .post .post-author {
    flex: 0 0 100%;
    width: 100%;
    padding: 8px 10px;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb .post .post-author ul {
    padding: 0;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb .post .post-author ul:has(li.pa-avatar) {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 10px;
    align-items: start;
  }

  html body #pun_wrap #pun .punbb .post .post-author ul:has(li.pa-avatar) li {
    grid-column: 2;
    padding: 0 0 2px 0;
    line-height: 1.35;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb .post .post-author ul:has(li.pa-avatar) li.pa-avatar {
    grid-column: 1;
    grid-row: 1 / span 6;
    padding: 0;
  }

  html body #pun_wrap #pun .punbb .post .post-author li.pa-avatar img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    margin: 0;
    padding: 2px;
  }

  html body #pun_wrap #pun .punbb .pa-author {
    font-size: 14px;
  }

  html body #pun_wrap #pun .punbb li.pa-online {
    margin-top: 2px;
  }

  html body #pun_wrap #pun .punbb .post-body {
    flex: 0 0 100%;
    width: 100%;
  }

  html body #pun_wrap #pun .punbb .post-box {
    padding: 12px 13px;
  }

  html body #pun_wrap #pun .punbb .post-content {
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  html body #pun_wrap #pun .punbb .post-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
  }

  html body #pun_wrap #pun .punbb .post-links li,
  html body #pun_wrap #pun .punbb .post-links li.pl-email,
  html body #pun_wrap #pun .punbb .post-links li.pl-website {
    float: none;
    margin: 0;
  }

  html body #pun_wrap #pun .punbb .post-links li.pl-website {
    margin-right: auto;
  }

  html body #pun_wrap #pun .punbb .post-links li a {
    min-height: 28px;
    padding: 3px 9px;
    font-size: 11.5px;
  }

  /* Forms, Quick Reply & BBCode Toolbar (16px font stops iOS auto-zoom) */
  html body #pun_wrap #pun .punbb .formal .container {
    padding: 10px 12px;
  }

  html body #pun_wrap #pun .punbb .areafield span.input,
  html body #pun_wrap #pun .punbb p.longinput span.input {
    padding-right: 0;
  }

  html body #pun_wrap #pun .punbb textarea,
  html body #pun_wrap #pun .punbb .longinput input,
  html body #pun_wrap #pun .punbb input[type="text"],
  html body #pun_wrap #pun .punbb input[type="password"],
  html body #pun_wrap #pun .punbb select {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  html body #pun_wrap #pun .punbb .inline .inputfield,
  html body #pun_wrap #pun .punbb .inline .selectfield,
  html body #pun_wrap #pun .punbb .inline .passfield {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
  }

  html body #pun_wrap #pun .punbb .helplinks {
    position: static;
    width: 100%;
    margin-top: 6px;
  }

  html body #pun_wrap #pun .punbb #post .formsubmit {
    padding: 6px 10px 12px 10px;
  }

  html body #pun_wrap #pun .punbb .formsubmit input,
  html body #pun_wrap #pun .punbb .formsubmit button {
    min-height: 32px;
    margin-bottom: 4px;
  }

  html body #pun_wrap #pun .punbb #post table,
  html body #pun_wrap #pun .punbb #form-buttons {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  /* Profile Page (Overrides rusFF mobile.css forced centering via high specificity) */
  html body #pun_wrap #pun .punbb #profile > .container {
    padding: 10px;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #profilenav li a {
    padding: 5px 9px;
    font-size: 12px;
  }

  html body #pun_wrap #pun .punbb #viewprofile,
  html body #pun_wrap #pun .punbb #profile-left,
  html body #pun_wrap #pun .punbb #profile-right {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #viewprofile ul {
    padding: 10px 12px;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #profile-left ul {
    overflow: hidden;
    background: var(--os-surface-alt);
  }

  html body #pun_wrap #pun .punbb #profile-left li {
    padding: 2px 0;
    border: none;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #profile-left li:has(img) {
    float: left;
    margin-right: 12px;
    padding: 0;
  }

  html body #pun_wrap #pun .punbb #profile-left li div img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    margin: 0;
    padding: 2px;
  }

  html body #pun_wrap #pun .punbb #viewprofile li,
  html body #pun_wrap #pun .punbb #setmods dl {
    padding: 6px 0;
    border-bottom: 1px solid #cbd5e1;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #viewprofile li:last-child,
  html body #pun_wrap #pun .punbb #setmods dl:last-child {
    border-bottom: none;
  }

  html body #pun_wrap #pun .punbb #viewprofile li span,
  html body #pun_wrap #pun .punbb #setmods dt {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    padding: 0 0 2px 0;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-secondary);
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #viewprofile li strong,
  html body #pun_wrap #pun .punbb #viewprofile li div,
  html body #pun_wrap #pun .punbb #setmods dd {
    padding: 2px 0 0 0;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb img.avatardemo {
    float: none;
    margin: 0 0 10px 0;
  }

  /* Single-Column Statistics & Footer */
  html body #pun_wrap #pun .punbb #pun-stats .container {
    grid-template-columns: 1fr;
    padding: 6px;
  }

  html body #pun_wrap #pun .punbb #pun-stats li.item1,
  html body #pun_wrap #pun .punbb #pun-stats li.item2,
  html body #pun_wrap #pun .punbb #pun-stats li.item3,
  html body #pun_wrap #pun .punbb #pun-stats li.item4,
  html body #pun_wrap #pun .punbb #pun-stats li.onlinelist,
  html body #pun_wrap #pun .punbb #pun-stats li.users_24h,
  html body #pun_wrap #pun .punbb #pun-stats li.statistics {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #pun-stats li.onlinelist {
    margin-bottom: 6px;
  }

  html body #pun_wrap #pun .punbb #pun-qjump,
  html body #pun_wrap #pun .punbb #pun-about {
    width: 100%;
    float: none;
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #pun-about .container {
    text-align: left;
  }

  html body #pun_wrap #pun .punbb #pun-about p span {
    padding-left: 0;
  }

  /* 88x31 Banner Bay Mobile Padding */
  html body #pun_wrap #pun #html-footer .container {
    padding: 8px;
    gap: 5px;
  }
}

/* Fine-tuning for Narrow Phones (<= 480px) */
@media screen and (max-width: 480px) {
  html body #pun_wrap #pun #pun-title table {
    border-spacing: 10px 11px;
  }

  html body #pun_wrap #pun #pun-title h1 {
    grid-template-columns: 40px auto;
    column-gap: 10px;
    height: 40px;
  }

  html body #pun_wrap #pun #pun-title h1::before {
    width: 40px;
    height: 40px;
    background-size: 160px 40px;
    animation: netscape-throbber-mobile 1.1s steps(4) infinite;
  }

  html body #pun_wrap #pun #pun-title h1 span {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  html body #pun_wrap #pun #pun-title h1::after {
    font-size: 9px;
    letter-spacing: 0.06em;
    margin-top: 4px;
    padding-top: 4px;
  }
}

@keyframes netscape-throbber-mobile {
  0%   { background-position: 0 0; }
  100% { background-position: -160px 0; }
}