html {
  overflow-x: auto;
  background: #000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 10px;
  min-width: 280px;
  color: rgb(92, 92, 92);
  background: #000;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
}

table,
tr,
td,
th,
button,
input {
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a,
.link-button,
.nav-tab,
#userlinks button,
#navstrip button,
.latest-news button,
.forum-name,
.track-title,
.topic-list-item strong {
  color: #f00;
  text-decoration: none;
}

a:hover,
button:hover,
a:focus-visible,
button:focus-visible {
  text-decoration: underline;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 1px dotted #f00;
  outline-offset: 2px;
}

#ipbwrapper {
  width: 100%;
}

.skip-link {
  position: fixed;
  top: -50px;
  left: 10px;
  z-index: 100;
  padding: 5px 8px;
  color: #000;
  background: #fff;
  border: 1px solid #f00;
}

.skip-link:focus {
  top: 5px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#logostrip {
  min-height: 46px;
  padding: 0;
  margin: 0;
  background: #000;
}

.logo-home {
  display: block;
  width: 285px;
  height: 42px;
  padding: 0;
  border: 0;
  background: #000;
}

.logo-home img {
  display: block;
  width: 285px;
  height: 42px;
}

#submenu,
#userlinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 25px;
  padding: 4px 7px;
  color: #ccc;
  background: #333;
  border: 1px solid #333;
  font-size: 10px;
  font-weight: bold;
}

#submenu {
  margin: 3px 0;
}

.archive-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.nav-tab,
#userlinks button,
#navstrip button,
.latest-news button {
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: bold;
}

.nav-tab {
  color: #999;
  font-size: 10px;
}

.nav-tab.is-active {
  color: #f00;
}

#userlinks button {
  color: #ccc;
  font-size: 10px;
}

#status-text {
  color: #999;
  font-weight: normal;
}

.archive-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 26px;
  padding: 3px 5px;
  color: #ccc;
  background: #111;
  font-size: 10px;
}

.archive-search label {
  font-weight: bold;
}

.archive-search input {
  width: min(360px, 42vw);
  height: 20px;
  padding: 2px 4px;
  color: #333;
  background: #fff;
  border: 1px solid #777;
  font-size: 10px;
}

.archive-search button {
  min-height: 20px;
  padding: 1px 7px;
  color: #333;
  background: #ddd;
  border: 1px solid #777;
  font-size: 10px;
  font-weight: bold;
}

#navstrip {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 3px 0;
  font-weight: bold;
}

#navstrip img {
  display: block;
  width: 24px;
  height: 24px;
}

.latest-news {
  padding: 0 0 4px;
  color: #5c5c5c;
  line-height: 15px;
  text-align: left;
}

.latest-news button {
  color: #f00;
}

#archive-view {
  min-height: 480px;
  outline: none;
}

.ipb-category,
.panel,
.topic-detail,
.topic-list,
.timeline,
.source-card,
.voice-item {
  margin: 0 0 14px;
  background: #000;
}

.section-title,
.panel-heading,
.topic-header {
  margin: 0;
  padding: 8px 5px;
  color: #fff;
  background: #333;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: left;
}

.section-title small,
.panel-heading small {
  color: #ccc;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 0;
}

.mini-nav {
  display: inline-block;
  margin-right: 5px;
  color: #f00;
  font-size: 8px;
}

.forum-table,
.data-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 1px;
  background: #000;
}

.forum-table th,
.data-table th,
.titlemedium {
  padding: 7px;
  color: #ccc;
  background: #6f6f6f;
  border: 0;
  font-size: 11px;
  font-weight: bold;
  text-align: left;
}

.forum-table td,
.data-table td {
  padding: 4px;
  color: #333;
  background: #fff;
  border: 0;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.forum-table .icon-heading,
.forum-icon-cell {
  width: 38px;
  text-align: center;
}

.forum-table .forum-heading {
  width: auto;
}

.forum-table .count-heading,
.forum-table .count-cell {
  width: 7%;
  min-width: 54px;
  text-align: center;
}

.forum-table .last-heading,
.forum-table .last-cell {
  width: 25%;
  min-width: 210px;
}

.forum-icon-cell img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.forum-icon-cell img.forum-icon {
  width: 30px;
  height: 22px;
}

.forum-icon-cell img.category-icon {
  width: 34px;
  height: 34px;
}

.forum-name {
  padding: 0;
  color: #f00;
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: bold;
  text-align: left;
}

.forum-desc,
.postdetails,
.track-context {
  color: #434951;
  font-size: 10px;
  line-height: 14px;
}

.forum-desc a,
.last-cell a {
  color: #f00;
}

.last-cell {
  white-space: nowrap;
  font-size: 10px;
  line-height: 14px;
}

.last-arrow {
  color: #f00;
  font-size: 8px;
}

.category-spacer td {
  height: 20px;
  background: #eee;
}

.board-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}

.panel-body,
.section-intro,
.board-stats,
.topic-body,
.profile-card,
.source-card-body {
  padding: 7px;
  color: #333;
  background: #fff;
  line-height: 15px;
}

.panel-body p,
.section-intro,
.board-stats {
  margin: 0;
}

.board-stats {
  margin-bottom: 14px;
}

.panel-actions,
.topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 7px;
  color: #333;
  background: #eee;
}

.button-link,
.filter-button {
  display: inline-block;
  min-height: 21px;
  padding: 2px 7px;
  color: #333;
  background: #ddd;
  border: 1px solid #777;
  font-size: 10px;
  font-weight: bold;
  text-decoration: none;
}

.button-link:hover,
.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: #666;
}

.archive-section {
  margin-bottom: 14px;
}

.section-intro {
  margin-bottom: 1px;
  border-bottom: 1px solid #000;
}

.filter-bar,
.result-count {
  margin: 0;
  padding: 6px 7px;
  color: #333;
  background: #eee;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.result-count {
  border-top: 1px solid #bbb;
  font-size: 10px;
}

.voice-list {
  margin-top: 12px;
}

.voice-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 7px;
  color: #ccc;
  background: #6f6f6f;
  font-size: 10px;
  font-weight: bold;
}

.voice-item blockquote,
.topic-summary {
  margin: 0;
  padding: 10px;
  color: #333;
  background: #fff;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 12px;
  line-height: 160%;
  white-space: pre-line;
}

.voice-actions {
  display: flex;
  justify-content: space-between;
  padding: 5px 7px;
  color: #333;
  background: #eee;
  font-size: 10px;
}

.badge,
.source-type {
  color: #666;
  font-size: 10px;
  font-weight: bold;
}

.content-note {
  padding: 5px 7px;
  color: #5a4400;
  background: #fff1bf;
  font-size: 10px;
  font-weight: bold;
}

.data-table .id-cell {
  width: 76px;
  font-family: "Courier New", monospace;
  font-weight: bold;
}

.data-table .status-cell {
  width: 150px;
}

.track-title {
  font-weight: bold;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  background: #000;
}

.source-card {
  margin: 0;
  background: #fff;
}

.source-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: #eee;
  border-bottom: 1px solid #000;
}

.source-card.wide-source img {
  object-fit: contain;
  object-position: center;
  background: #111;
}

.source-card h3 {
  margin: 3px 0 5px;
  font-size: 11px;
}

.source-card p {
  margin: 0 0 6px;
  font-size: 10px;
}

.timeline {
  margin-top: 12px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 110px 80px 130px minmax(0, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: #000;
}

.timeline-row > * {
  padding: 5px 7px;
  color: #333;
  background: #fff;
}

.timeline-row.header > * {
  color: #ccc;
  background: #6f6f6f;
  font-size: 10px;
  font-weight: bold;
}

.topic-browser {
  display: grid;
  grid-template-columns: minmax(205px, 26%) minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
  align-items: start;
}

.topic-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 1px 0 12px;
  background: #000;
}

.topic-switcher .topic-list-item {
  min-height: 70px;
  border: 0;
}

.topic-list-item {
  display: block;
  width: 100%;
  min-height: 63px;
  padding: 7px;
  color: #333;
  background: #eee;
  border: 0;
  border-bottom: 1px solid #000;
  text-align: left;
}

.topic-list-item.is-active {
  background: #fff;
}

.topic-list-item strong,
.topic-list-item small,
.topic-id {
  display: block;
  margin-top: 3px;
}

.topic-list-item small,
.topic-id {
  color: #666;
  font-size: 9px;
}

.topic-header h2 {
  margin: 4px 0 2px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.topic-header p {
  margin: 0;
  color: #ccc;
  font-weight: normal;
  letter-spacing: 0;
}

.topic-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 1px 0 0;
  background: #000;
}

.topic-meta div {
  padding: 6px;
  color: #333;
  background: #eee;
}

.topic-meta dt {
  color: #666;
  font-size: 9px;
  font-weight: bold;
}

.topic-meta dd {
  margin: 3px 0 0;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.topic-summary {
  padding: 0 0 9px;
}

.topic-body h3 {
  margin: 10px 0 5px;
  padding: 5px;
  color: #333;
  background: #eee;
  font-size: 10px;
}

.fact-list,
.reply-summary {
  margin: 0;
  padding-left: 22px;
}

.fact-list li,
.reply-summary li {
  padding: 3px 0;
}

.recovered-thread {
  margin-bottom: 14px;
}

.thread-breadcrumb {
  padding: 6px 0;
  color: #5c5c5c;
  font-weight: bold;
}

.thread-breadcrumb button,
.profile-banner button {
  padding: 0;
  color: #f00;
  background: transparent;
  border: 0;
  font-weight: bold;
}

.thread-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 6px;
  color: #fff;
  background: #333;
}

.thread-titlebar > span,
.thread-titlebar div span {
  color: #ccc;
  font-size: 10px;
}

.thread-notice {
  padding: 6px 7px;
  color: #5a4400;
  background: #fff1bf;
  border-bottom: 1px solid #000;
  font-size: 10px;
}

.thread-pages {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 7px;
  color: #333;
  background: #eee;
  font-size: 10px;
}

.thread-pages span span {
  color: #777;
}

.thread-pages .missing-page {
  color: #999;
  text-decoration: line-through;
  cursor: not-allowed;
}

.thread-posts {
  margin-top: 1px;
}

.thread-fragment {
  margin: 0;
}

.fragment-divider,
.fragment-gap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px;
  color: #333;
  background: #ddd;
  border: 1px solid #999;
  font-size: 10px;
}

.fragment-gap {
  display: block;
  margin: 8px 0;
  color: #5a4400;
  background: #fff1bf;
  border-color: #b89d3c;
  text-align: center;
}

.ipb-post {
  margin-bottom: 5px;
  background: #000;
}

.ipb-post-head,
.ipb-post-body,
.ipb-post-foot {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 1px;
  background: #000;
}

.ipb-post-head > *,
.ipb-post-body > *,
.ipb-post-foot > * {
  min-width: 0;
  padding: 6px;
}

.ipb-post-head > * {
  color: #333;
  background: #fff;
}

.post-author span {
  color: #f00;
  font-size: 12px;
  font-weight: bold;
}

.post-date {
  text-align: left;
}

.post-date a {
  float: right;
}

.post-profile,
.post-content {
  min-height: 120px;
  color: #202020;
  background: #fff;
}

.post-profile {
  font-size: 10px;
  line-height: 15px;
}

.post-content {
  padding: 10px 12px;
}

.postcolor {
  color: #202020;
  font-size: 12px;
  line-height: 160%;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.post-signature {
  margin-top: 22px;
  padding-top: 6px;
  color: #333;
  border-top: 1px dashed #777;
  font-size: 10px;
  line-height: 155%;
  white-space: pre-line;
}

.kit-inventory {
  color: #202020;
  font-size: 11px;
  line-height: 150%;
}

.inventory-note {
  margin: 0 0 10px;
  padding: 6px;
  color: #5a4400;
  background: #fff1bf;
  border: 1px solid #b89d3c;
  font-size: 10px;
}

.kit-inventory section {
  margin: 0 0 10px;
}

.kit-inventory section > b,
.dead-kit-link,
.dead-kit-more {
  display: block;
}

.kit-inventory section > b {
  margin-bottom: 2px;
  font-size: 12px;
}

.dead-kit-link {
  color: #f00;
  overflow-wrap: anywhere;
}

.dead-kit-more {
  color: #666;
  font-style: italic;
}

.quote-label {
  width: 95%;
  margin: 0 auto;
  padding: 3px;
  color: #333;
  font-size: 10px;
}

.ipb-quote {
  width: 95%;
  margin: 0 auto 10px;
  padding: 5px;
  color: #333;
  background: #eee;
  border: 1px solid #333;
  font-size: 11px;
  line-height: 150%;
}

.opening-terms {
  margin-top: 14px;
  padding: 7px;
  color: #333;
  background: #eee;
  border: 1px solid #999;
  font-size: 10px;
}

.opening-terms ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.opening-terms li {
  padding: 2px 0;
}

.recovered-artifact {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 7px;
  color: #333;
  background: #eee;
  border: 1px dotted #777;
  font-size: 10px;
}

.recovered-artifact b {
  color: #f00;
  font-size: 11px;
}

.recovered-artifact code {
  color: #555;
  font-family: "Courier New", monospace;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ipb-post-foot > * {
  min-height: 28px;
  color: #333;
  background: #eee;
  font-size: 10px;
}

.ipb-post-foot span:last-child {
  text-align: right;
}

.activeuserstrip {
  padding: 6px;
  color: #333;
  background: #999;
}

.thread-neighbors {
  padding: 6px;
  color: #333;
  background: #eee;
  text-align: center;
}

.later-board-thread .thread-titlebar {
  color: #fff;
  background: #666;
  border: 1px solid #ccc;
}

.later-board-thread .thread-pages {
  background: #f9f9f9;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.later-board-post .ipb-post-head > * {
  color: #333;
  background: #f9f9f9;
}

.later-board-post:nth-child(even) .post-profile,
.later-board-post:nth-child(even) .post-content {
  background: #f9f9f9;
}

.later-board-post .ipb-post-foot > * {
  color: #ccc;
  background: #666;
}

.later-board-post .ipb-post-foot a {
  color: #fff;
}

.later-board-thread .activeuserstrip {
  color: #ccc;
  background: #333;
}

.profile-banner {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 1px;
  margin-bottom: 12px;
  background: #000;
}

.profile-banner > * {
  padding: 10px;
  color: #333;
  background: #fff;
}

.profile-avatar {
  display: grid;
  min-height: 92px;
  place-items: center;
  color: #777;
  background: #eee;
  font-size: 28px;
  font-weight: bold;
}

.profile-banner h1 {
  margin: 7px 0 8px;
  color: #f00;
  font-size: 18px;
}

.profile-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 12px;
}

.profile-section {
  margin-bottom: 12px;
}

.profile-section h2 {
  margin: 0;
  padding: 7px;
  color: #fff;
  background: #333;
  font-size: 11px;
}

.profile-section table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 1px;
  background: #000;
}

.profile-section th,
.profile-section td {
  padding: 7px;
  color: #333;
  background: #fff;
  text-align: left;
  vertical-align: top;
}

.profile-section th {
  width: 38%;
  background: #eee;
}

.profile-source {
  padding: 8px;
  color: #333;
  background: #fff;
  line-height: 16px;
}

.catalog-actions {
  padding: 6px 7px;
  color: #333;
  background: #eee;
  border-bottom: 1px solid #000;
}

.audio-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 1px;
  background: #000;
}

.audio-stats > * {
  min-height: 42px;
  padding: 7px;
  color: #333;
  background: #eee;
}

.audio-stats b {
  display: block;
  color: #900;
  font-size: 15px;
}

.audio-list {
  display: grid;
  gap: 1px;
  background: #000;
}

.audio-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  color: #333;
  background: #fff;
}

.audio-number {
  padding: 10px 6px;
  color: #ccc;
  background: #666;
  border-right: 1px solid #000;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

.audio-main {
  min-width: 0;
  padding: 7px;
}

.audio-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.audio-title-row strong,
.audio-title-row span {
  display: block;
}

.audio-title-row strong {
  color: #f00;
  font-size: 12px;
}

.audio-title-row div > span {
  margin-top: 2px;
  color: #666;
  font-size: 9px;
}

.match-badge,
.metadata-badge {
  flex: 0 0 auto;
  padding: 2px 5px;
  color: #fff;
  background: #900;
  border: 1px solid #500;
  font-size: 9px;
  font-weight: bold;
}

.metadata-badge {
  color: #333;
  background: #ddd;
  border-color: #888;
}

.artist-note {
  margin: 6px 0;
  padding: 5px;
  color: #555;
  background: #eee;
  border-left: 3px solid #999;
  white-space: pre-line;
}

.audio-item audio {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 6px;
}

.audio-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 5px;
  color: #666;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.audio-evidence span:first-child {
  flex: 1 1 300px;
  color: #333;
}

.audio-section-title {
  margin: 14px 0 1px;
  padding: 7px;
  color: #ccc;
  background: #333;
  font-size: 11px;
  letter-spacing: 1px;
}

.audio-boundary-note {
  padding: 7px;
  color: #5a4400;
  background: #fff1bf;
  border: 1px solid #b89d3c;
  font-size: 10px;
}

.local-audio-item .audio-number {
  color: #333;
  background: #ccc;
}

.empty-state {
  padding: 20px 8px;
  color: #333;
  background: #fff;
  text-align: center;
}

.site-footer {
  margin: 12px 0 0;
  padding: 8px 0 14px;
  color: #666;
  background: #000;
  font-size: 10px;
  text-align: center;
}

.archive-label {
  margin-top: 3px;
  color: #444;
}

@media (max-width: 820px) {
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-browser {
    grid-template-columns: 1fr;
  }

  .topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    margin: 0 4px;
  }

  #submenu,
  #userlinks {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-search {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .archive-search label {
    width: 100%;
  }

  .archive-search input {
    flex: 1 1 180px;
    width: auto;
  }

  .forum-table .count-heading,
  .forum-table .count-cell {
    display: none;
  }

  .forum-table {
    table-layout: auto;
  }

  .forum-table .forum-heading {
    width: auto;
  }

  .forum-table .last-heading,
  .forum-table .last-cell {
    width: 38%;
    min-width: 0;
    white-space: normal;
  }

  .board-panels,
  .source-grid,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .topic-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audio-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audio-title-row {
    flex-direction: column;
    gap: 5px;
  }

  .ipb-post-head,
  .ipb-post-body,
  .ipb-post-foot {
    grid-template-columns: 1fr;
  }

  .post-profile {
    min-height: 0;
    padding: 6px;
  }

  .post-profile br:nth-of-type(-n + 2) {
    display: none;
  }

  .post-content {
    min-height: 0;
  }

  .ipb-post-foot span:first-child {
    display: none;
  }

  .timeline-row {
    grid-template-columns: 86px 62px 90px minmax(120px, 1fr);
    overflow-wrap: anywhere;
  }

  .topic-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .logo-home,
  .logo-home img {
    width: 242px;
    height: auto;
  }

  #logostrip {
    min-height: 39px;
  }

  .forum-table .last-heading,
  .forum-table .last-cell {
    display: none;
  }

  .forum-table .icon-heading,
  .forum-icon-cell {
    width: 35px;
  }

  .data-table .status-cell {
    display: none;
  }

  .timeline {
    overflow-x: auto;
  }

  .timeline-row {
    min-width: 500px;
  }

  .voice-meta,
  .voice-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .topic-switcher {
    grid-template-columns: 1fr;
  }

  .audio-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .audio-number {
    padding: 9px 3px;
    font-size: 10px;
  }

  .profile-banner {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}

/* Recovered TightBeatz main-site shell (2006 visual capture + 2009 homepage source). */
body.portal-mode #ipbwrapper {
  width: 760px;
  max-width: 100%;
  margin: 0 auto;
}

body.forum-mode #ipbwrapper {
  width: 100%;
}

[hidden] {
  display: none !important;
}

.portal-header {
  color: #aaa;
  background: #000;
}

.portal-brand-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 49px;
  padding: 7px 4px 4px;
  border-bottom: 1px solid #777;
  font-size: 10px;
}

.portal-brand-row span {
  padding-bottom: 8px;
}

.portal-brand-row b {
  color: #fff;
}

.portal-logo {
  width: 262px;
  height: 35px;
  padding: 0;
  overflow: hidden;
  background: #000;
  border: 0;
}

.portal-logo img {
  display: block;
  width: 262px;
  height: 35px;
}

.portal-login-nav {
  display: grid;
  grid-template-columns: 310px 1fr;
  min-height: 28px;
  color: #ddd;
  background: #111;
  border-bottom: 1px solid #777;
}

.portal-login-nav > span {
  align-self: center;
  padding: 5px 7px;
  font-size: 9px;
}

.portal-login-nav button,
.portal-minor-nav button,
.portal-sidebar button,
.portal-main-frame button {
  padding: 0;
  color: #f00;
  background: transparent;
  border: 0;
  text-align: left;
}

.portal-primary-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #333;
  border-left: 24px solid #111;
}

.portal-primary-nav button {
  min-height: 27px;
  color: #bbb;
  border-left: 1px solid #555;
  font-size: 9px;
  font-style: italic;
  font-weight: bold;
  text-align: center;
}

.portal-primary-nav button:hover,
.portal-primary-nav button.is-active {
  color: #fff;
  background: #a00;
  text-decoration: none;
}

.portal-minor-nav {
  display: flex;
  justify-content: flex-end;
  gap: 19px;
  padding: 3px 12px 4px;
  border-bottom: 1px solid #555;
}

.portal-minor-nav button {
  color: #bbb;
  font-size: 9px;
  font-style: italic;
  font-weight: bold;
}

.portal-minor-nav button.is-active {
  color: #f00;
}

.portal-archive-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  margin: 6px 0;
  color: #999;
  background: #111;
  border: 1px solid #333;
}

.portal-archive-banner b {
  color: #eee;
  font-size: 12px;
}

.archive-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #999;
  background: #111;
  border-bottom: 1px solid #333;
}

.archive-utility .archive-search {
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
}

.archive-utility #status-text {
  flex: 0 1 260px;
  padding-right: 6px;
  font-size: 9px;
  text-align: right;
}

#portal-layout {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: start;
}

body.forum-mode #portal-layout {
  display: block;
}

.portal-sidebar {
  position: relative;
  min-height: 398px;
  margin-top: 4px;
  padding: 9px 6px 24px;
  color: #ccc;
  background: #050505;
  border: 1px solid #999;
  border-right-color: #555;
  border-radius: 9px 0 0 9px;
}

.portal-sidebar section {
  margin: 0 0 6px;
}

.portal-sidebar h2 {
  margin: 0 0 2px;
  color: #fff;
  font-size: 11px;
}

.portal-sidebar button {
  display: block;
  width: 100%;
  padding: 1px 0 1px 12px;
  color: #ccc;
  font-size: 10px;
}

.portal-sidebar button::before {
  content: "\203A";
  margin-left: -9px;
  margin-right: 4px;
  color: #f00;
  font-weight: bold;
}

.portal-menu-end {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66px;
  padding: 2px 5px;
  color: #ccc;
  background: #111;
  border-top: 1px solid #f00;
  font-size: 8px;
  text-align: center;
}

body.portal-mode #archive-view {
  min-width: 0;
  min-height: 480px;
  margin-top: 4px;
  color: #333;
  background: #fff;
  border-left: 1px solid #777;
}

.portal-main-frame {
  padding: 8px 9px 14px;
  background: #fff;
  border-top: 1px solid #777;
  border-right: 1px solid #777;
  border-bottom: 1px solid #777;
}

.portal-page-title {
  margin: -1px -1px 7px;
  padding: 5px;
  color: #333;
  background: #ddd;
  border-bottom: 1px solid #888;
  font-size: 11px;
}

.portal-history {
  margin-bottom: 7px;
  padding: 7px;
  color: #333;
  background: #f5f5f5;
  border: 1px solid #ccc;
  line-height: 1.45;
}

.portal-history h1 {
  margin: 0 0 5px;
  color: #111;
  font-size: 16px;
}

.portal-history p {
  margin: 4px 0;
}

.portal-history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px dotted #aaa;
}

.portal-history-links button {
  font-weight: bold;
}

.portal-module {
  margin-bottom: 7px;
  background: #fff;
  border: 1px solid #bbb;
}

.portal-module > h1,
.portal-module > h2 {
  margin: 0;
  padding: 4px 5px;
  color: #333;
  background: #eee;
  border-bottom: 1px solid #666;
  font-size: 10px;
}

.portal-module > h2 small {
  color: #777;
  font-size: 8px;
  font-weight: normal;
}

.featured-artist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.featured-artist-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 6px;
  min-height: 90px;
  padding: 6px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.artist-placeholder {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #888;
  background: #ddd;
  border: 1px solid #777;
  font-size: 7px;
}

.featured-artist-grid h3 {
  margin: 0 0 1px;
  color: #f00;
  font-size: 10px;
}

.featured-artist-grid span {
  display: block;
  margin-bottom: 3px;
  color: #777;
  font-size: 8px;
}

.featured-artist-grid button {
  display: block;
  width: 100%;
  padding: 1px 0;
  color: #555;
  font-size: 8px;
  overflow-wrap: anywhere;
}

.featured-artist-grid button i {
  margin-right: 3px;
  color: #f00;
  font-size: 7px;
  font-style: normal;
}

.portal-home-columns {
  display: grid;
  grid-template-columns: 41% 59%;
  gap: 6px;
}

.faux-tabs {
  display: flex;
  gap: 2px;
  padding: 3px 3px 0;
  background: #fff;
}

.faux-tabs span,
.faux-tabs b {
  padding: 3px 8px;
  background: #ddd;
  border: 1px solid #aaa;
  border-bottom: 0;
  font-size: 9px;
}

.faux-tabs b {
  color: #fff;
  background: #777;
}

.chart-module ol {
  margin: 0;
  padding: 4px 5px 4px 27px;
}

.chart-module li {
  padding: 3px 0;
  border-bottom: 1px solid #eee;
  font-size: 9px;
}

.chart-module li span {
  display: block;
  color: #999;
  font-size: 8px;
}

.memory-module > p,
.community-links-module > b,
.feature-file-module > p,
.feature-file-module > h3 {
  margin: 0;
  padding: 5px;
}

.memory-module > button,
.community-links-module > button {
  display: block;
  width: 100%;
  padding: 3px 5px;
  border-top: 1px solid #eee;
}

.memory-module > button span {
  display: block;
  color: #777;
  font-size: 8px;
}

.memory-module .portal-more {
  color: #f00;
  background: #f4f4f4;
  font-weight: bold;
}

.monsta-label {
  margin: 6px;
  padding: 4px 7px;
  color: #fff;
  background: #333;
  border-left: 7px solid #f00;
  font-size: 9px;
  font-weight: bold;
  font-style: italic;
}

.feature-file-module audio {
  width: calc(100% - 10px);
  height: 31px;
  margin: 0 5px 5px;
}

.feature-file-module > button {
  margin: 0 5px 6px;
  font-weight: bold;
}

.portal-search-results .portal-list button {
  display: block;
  width: 100%;
  padding: 4px 6px;
  border-bottom: 1px solid #eee;
}

.portal-search-results .portal-list span {
  display: block;
  color: #777;
  font-size: 8px;
}

.community-boundary {
  margin-bottom: 7px;
  padding: 7px;
  color: #5a4400;
  background: #fff1bf;
  border: 1px solid #b89d3c;
  line-height: 1.4;
}

.alias-directory > p {
  margin: 0;
  padding: 5px;
}

.alias-directory table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.alias-directory th,
.alias-directory td {
  padding: 5px;
  border: 1px solid #ddd;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.alias-directory th {
  color: #fff;
  background: #6f6f6f;
  text-align: left;
}

.alias-directory th:nth-child(1),
.alias-directory th:nth-child(2) {
  width: 24%;
}

.memory-grade {
  display: inline-block;
  margin-bottom: 2px;
  padding: 2px 4px;
  color: #333;
  background: #ddd;
  border: 1px solid #999;
  font-size: 8px;
  font-weight: bold;
}

.grade-direct {
  color: #fff;
  background: #454545;
}

.grade-allegation {
  color: #721c24;
  background: #f8d7da;
  border-color: #b86b72;
}

.oral-history-list article {
  border-bottom: 1px solid #bbb;
}

.oral-history-list article header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px;
  color: #fff;
  background: #6f6f6f;
}

.oral-history-list article header span {
  font-size: 8px;
  text-align: right;
}

.oral-history-list article > div {
  padding: 6px;
}

.oral-history-list p {
  margin: 4px 0;
  line-height: 1.4;
}

.community-report-link {
  padding: 7px;
  color: #333;
  background: #eee;
  border: 1px solid #999;
  font-weight: bold;
  text-align: center;
}

.community-report-link button {
  padding: 0;
  color: #f00;
  background: transparent;
  border: 0;
  font-weight: bold;
}

.archive-timeline article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  padding: 7px;
  border-bottom: 1px solid #ddd;
}

.archive-timeline article > b {
  color: #f00;
  font-size: 11px;
}

.archive-timeline h3,
.archive-timeline p {
  margin: 0;
}

.archive-timeline h3 {
  color: #222;
  font-size: 10px;
}

.archive-timeline p {
  margin-top: 2px;
  line-height: 1.4;
}

.history-principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.history-principle-grid p {
  min-height: 72px;
  margin: 0;
  padding: 7px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  line-height: 1.4;
}

.history-principle-grid b {
  display: block;
  margin-bottom: 2px;
  color: #f00;
}

.latest-recovery-module > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.latest-recovery-module button {
  min-height: 58px;
  padding: 7px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.latest-recovery-module b,
.latest-recovery-module span {
  display: block;
}

.latest-recovery-module b {
  margin-bottom: 2px;
  color: #f00;
}

.latest-recovery-module span {
  color: #555;
  font-size: 8px;
  line-height: 1.4;
}

.business-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.business-metrics p {
  margin: 0;
  padding: 8px 6px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.business-metrics b,
.business-metrics span {
  display: block;
}

.business-metrics b {
  color: #f00;
  font-size: 13px;
}

.business-metrics span {
  margin-top: 2px;
  color: #666;
  font-size: 8px;
}

.business-snapshot > p,
.business-snapshot > a {
  display: block;
  margin: 0;
  padding: 7px;
  line-height: 1.45;
}

.business-snapshot > a {
  padding-top: 0;
  font-weight: bold;
}

.collection-list > article {
  padding: 7px;
  border-bottom: 1px solid #ccc;
}

.collection-list > article header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.collection-list > article header b {
  color: #f00;
  font-size: 11px;
}

.collection-list > article header span {
  color: #666;
  font-size: 8px;
  font-weight: bold;
  text-align: right;
}

.collection-list > article p {
  margin: 4px 0;
  line-height: 1.4;
}

.collection-list > article a {
  display: inline-block;
  margin: 2px 14px 0 0;
  font-weight: bold;
}

.mixtape-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mixtape-home-grid article {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 7px;
  border-right: 1px solid #ccc;
}

.mixtape-home-grid img {
  display: block;
  width: 128px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #333;
}

.mixtape-home-grid h3,
.mixtape-home-grid p {
  margin: 0;
}

.mixtape-home-grid h3 {
  color: #f00;
  font-size: 11px;
}

.mixtape-home-grid p {
  margin: 3px 0 8px;
  line-height: 1.35;
}

.mixtape-home-grid button {
  padding: 0;
  color: #f00;
  background: transparent;
  border: 0;
  font-weight: bold;
}

.mixtape-record {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  min-width: 0;
  border-bottom: 4px solid #444;
}

.mixtape-cover {
  padding: 8px;
  color: #ddd;
  background: #111;
}

.mixtape-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #555;
}

.mixtape-cover b,
.mixtape-cover span {
  display: block;
}

.mixtape-cover b {
  margin-top: 7px;
  color: #fff;
  font-size: 12px;
}

.mixtape-cover span {
  margin-top: 3px;
  color: #999;
  font-size: 8px;
  line-height: 1.35;
}

.mixtape-track-list a {
  display: grid;
  grid-template-columns: 28px minmax(125px, 0.8fr) minmax(150px, 1.3fr) 36px;
  gap: 7px;
  align-items: center;
  min-height: 34px;
  padding: 4px 7px;
  border-bottom: 1px solid #ddd;
}

.mixtape-track-list a:hover {
  background: #f4f4f4;
}

.mixtape-track-list a > span {
  color: #999;
  font-weight: bold;
}

.mixtape-track-list a > b {
  color: #f00;
}

.mixtape-track-list a > em {
  color: #555;
  font-style: normal;
  line-height: 1.3;
}

.mixtape-track-list a > small {
  color: #777;
  text-align: right;
}

.channel-records > div,
.myspace-index > div,
.community-network > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.channel-records > div > a,
.myspace-index > div > article,
.community-network > div > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  min-width: 0;
  padding: 6px 7px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.channel-records b,
.channel-records span,
.community-network b,
.community-network span,
.community-network code,
.myspace-index b,
.myspace-index span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.channel-records b,
.community-network b,
.myspace-index b {
  color: #f00;
}

.channel-records span,
.community-network span,
.myspace-index span {
  color: #555;
  font-size: 8px;
}

.channel-records small,
.myspace-index small {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #777;
}

.myspace-index > p,
.community-network > p {
  margin: 0;
  padding: 7px;
  line-height: 1.45;
}

.community-network code {
  grid-column: 1 / -1;
  color: #777;
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.platform-source-link {
  display: block;
  padding: 7px;
  font-weight: bold;
  text-align: right;
}

.external-community-media > p {
  margin: 0;
  padding: 7px;
  border-bottom: 1px solid #ddd;
  line-height: 1.45;
}

.external-community-media > article > header {
  padding: 6px 7px;
  color: #333;
  background: #f5f5f5;
  border-bottom: 1px solid #aaa;
}

.external-community-media h3,
.external-community-media header p {
  margin: 0;
}

.external-community-media h3 {
  color: #f00;
  font-size: 10px;
}

.external-community-media header p {
  margin-top: 2px;
  color: #666;
  font-size: 8px;
  line-height: 1.4;
}

.external-community-media article > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.external-community-media article > div > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  min-width: 0;
  padding: 7px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.external-community-media b,
.external-community-media em,
.external-community-media small,
.external-community-media code,
.external-media-date {
  min-width: 0;
  overflow-wrap: anywhere;
}

.external-media-date {
  grid-column: 1 / -1;
  color: #777;
  font-size: 8px;
}

.external-community-media b {
  color: #f00;
}

.external-community-media em {
  grid-column: 1;
  color: #555;
  font-size: 8px;
  font-style: normal;
}

.external-community-media small {
  grid-column: 2;
  grid-row: 2 / span 2;
  max-width: 112px;
  color: #777;
  font-size: 8px;
  text-align: right;
}

.external-community-media code {
  grid-column: 1 / -1;
  color: #666;
  font-family: "Courier New", monospace;
  font-size: 8px;
  white-space: normal;
}

.selected-audio > .audio-list {
  padding: 0;
}

.selected-audio .audio-item {
  border-right: 0;
  border-left: 0;
  border-bottom: 1px solid #bbb;
}

.external-track-list > p,
.music-status-key > p,
.read-only-policy > p,
.durability-note > p {
  margin: 0;
  padding: 7px;
  line-height: 1.45;
}

.external-track-list > div > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 7px;
  border-top: 1px solid #e4e4e4;
}

.external-track-list > div > article div {
  min-width: 0;
}

.external-track-list > div > article b,
.external-track-list > div > article span {
  display: block;
}

.external-track-list > div > article b {
  color: #333;
}

.external-track-list > div > article span {
  color: #777;
  font-size: 8px;
}

.external-track-list > div > article a {
  flex: 0 0 auto;
}

.method-list dl {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  margin: 0;
}

.method-list dt,
.method-list dd {
  margin: 0;
  padding: 7px;
  border-bottom: 1px solid #ddd;
}

.method-list dt {
  color: #f00;
  font-weight: bold;
}

.method-list dd {
  border-left: 1px solid #ddd;
  line-height: 1.4;
}

.source-directory > a {
  display: block;
  padding: 6px 7px;
  border-bottom: 1px solid #ddd;
}

.source-directory > a b,
.source-directory > a span {
  display: block;
}

.distributed-evidence > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.distributed-evidence > div > a {
  display: block;
  min-width: 0;
  padding: 7px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.distributed-evidence b,
.distributed-evidence span {
  display: block;
}

.distributed-evidence b {
  color: #f00;
}

.distributed-evidence span {
  margin-top: 2px;
  color: #777;
  font-size: 8px;
}

.distributed-evidence p {
  margin: 4px 0 0;
  color: #333;
  line-height: 1.4;
}

.source-directory > a span {
  margin-top: 2px;
  color: #666;
  font-size: 8px;
}

body.portal-mode .site-footer {
  margin-top: 4px;
  color: #777;
  background: #fff;
  border-top: 1px solid #555;
}

@media (max-width: 700px) {
  body.portal-mode {
    margin: 0 4px;
  }

  .portal-brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-brand-row span {
    padding: 0 0 4px 4px;
  }

  .portal-login-nav {
    grid-template-columns: 1fr;
  }

  .portal-primary-nav {
    border-left-width: 0;
  }

  .portal-minor-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px 14px;
  }

  .archive-utility {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-utility #status-text {
    flex: 0 0 auto;
    padding: 0 6px 4px;
    text-align: left;
  }

  #portal-layout {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .portal-sidebar button {
    padding-left: 10px;
    font-size: 9px;
  }

  .featured-artist-grid,
  .portal-home-columns,
  .history-principle-grid,
  .mixtape-home-grid,
  .channel-records > div,
  .myspace-index > div,
  .community-network > div,
  .latest-recovery-module > div,
  .external-community-media article > div,
  .distributed-evidence > div {
    grid-template-columns: 1fr;
  }

  .business-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .mixtape-record {
    grid-template-columns: 172px minmax(0, 1fr);
  }

  .mixtape-track-list a {
    grid-template-columns: 24px minmax(0, 1fr) 34px;
  }

  .mixtape-track-list a > em {
    grid-column: 2 / -1;
  }

  .alias-directory table,
  .alias-directory thead,
  .alias-directory tbody,
  .alias-directory tr,
  .alias-directory th,
  .alias-directory td {
    display: block;
    width: 100%;
  }

  .alias-directory thead {
    display: none;
  }

  .alias-directory tr {
    border-bottom: 3px solid #777;
  }
}

@media (max-width: 440px) {
  #portal-layout {
    display: block;
  }

  .portal-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    border-radius: 0;
  }

  .portal-sidebar[hidden] {
    display: none;
  }

  .portal-menu-end {
    display: none;
  }

  .portal-history-links,
  .oral-history-list article header,
  .collection-list > article header,
  .external-track-list > div > article {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-list dl {
    grid-template-columns: 1fr;
  }

  .method-list dd {
    border-left: 0;
  }

  .oral-history-list article header span {
    text-align: left;
  }

  .mixtape-home-grid article,
  .mixtape-record {
    grid-template-columns: 1fr;
  }

  .mixtape-home-grid img {
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .mixtape-cover img {
    width: min(100%, 420px);
  }
}
