/* ========================================================
   Release Matrix 2004 Style - Folder 30
   Unique Webmaster Release Board (Zero template footprint)
   ======================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 16px 10px 40px 10px;
  background-color: #EDEAE5;
  background-image: radial-gradient(#D5D0C8 1px, transparent 1px);
  background-size: 16px 16px;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 12px;
  color: #222222;
  line-height: 1.35;
}

a {
  color: #CC0000;
  text-decoration: none;
}

a:hover {
  color: #FF6600;
  text-decoration: underline;
}

/* Master Centered Board */
.bbs_board {
  max-width: 980px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #B0ABA0;
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.15);
}

/* Retro Top Bar */
.bbs_top_bar {
  background: #252525;
  color: #E0E0E0;
  padding: 6px 12px;
  font-size: 11px;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #CC0000;
}

.bbs_top_left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bbs_pulse {
  color: #00FF66;
  font-weight: bold;
}

/* Main Site Header */
.bbs_header {
  padding: 20px 16px 16px 16px;
  text-align: center;
  background: #FFFFFF;
  border-bottom: 1px solid #D8D4CC;
}

.bbs_title {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  color: #FF6600;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.bbs_title a {
  color: #FF6600;
}

.bbs_title a:hover {
  color: #CC0000;
  text-decoration: none;
}

.bbs_desc {
  font-size: 12px;
  color: #555555;
  margin-top: 5px;
}

.bbs_stat_strip {
  margin-top: 8px;
  font-size: 11px;
  color: #888888;
}

/* Category Section Header */
.cat_header {
  margin: 0;
  background: linear-gradient(180deg, #CC0000 0%, #AA0000 100%);
  color: #FFFFFF;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #E63333;
  border-bottom: 1px solid #770000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cat_header.photo_cat {
  background: linear-gradient(180deg, #E65100 0%, #BF360C 100%);
  border-top: 1px solid #FF7D47;
  border-bottom: 1px solid #872300;
}

.cat_count_badge {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-family: 'Courier New', Courier, monospace;
}

/* Release Matrix (6 Columns, Compact Tiled Grid) */
.media_matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background-color: #D8D4CC;
  border-bottom: 1px solid #D8D4CC;
}

.media_cell {
  background: #FFFFFF;
  padding: 12px 6px 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  min-height: 120px;
  transition: background 0.15s ease;
}

.media_cell:hover {
  background: #FFF5F0;
  text-decoration: none;
}

.media_cell:hover .cell_title {
  color: #FF6600;
  text-decoration: underline;
}

.cell_icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 6px;
  display: block;
}

.cell_title {
  font-size: 11.5px;
  font-weight: bold;
  color: #CC0000;
  line-height: 1.25;
  margin-bottom: 4px;
  word-break: break-word;
}

.media_cell.photo_cell .cell_title {
  color: #222222;
}

.cell_dur {
  font-size: 10px;
  font-family: 'Courier New', Courier, monospace;
  color: #555555;
  background: #EEEEEE;
  padding: 1px 4px;
  border-radius: 2px;
}

.cell_tag {
  font-size: 9.5px;
  color: #777777;
  text-transform: uppercase;
  margin-top: 2px;
}

.cat_header.topic_cat {
  background: linear-gradient(180deg, #3A3A3A 0%, #222222 100%);
  border-top: 1px solid #555555;
  border-bottom: 1px solid #111111;
}

/* BBS Keywords Matrix */
.bbs_kw_matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: #D8D4CC;
  border-bottom: 1px solid #D8D4CC;
}

.bbs_kw_tag {
  background: #FFFFFF;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.bbs_kw_tag .kw_hash {
  color: #FF6600;
  font-size: 9px;
}

.bbs_kw_tag:hover {
  background: #FFF5EE;
  color: #CC0000;
  text-decoration: none;
}

.bbs_kw_tag:hover .kw_hash {
  color: #CC0000;
}

/* Retro System Specs Panel */
.bbs_specs_panel {
  padding: 14px 16px;
  background: #F4F1EA;
  border-bottom: 1px solid #D8D4CC;
  font-family: 'Courier New', Courier, monospace;
}

.bbs_specs_title {
  font-size: 11px;
  font-weight: bold;
  color: #555555;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.bbs_specs_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
  font-size: 11px;
  color: #444444;
}

.bbs_spec_item strong {
  color: #222222;
}

/* Footer Section */
.bbs_footer {
  padding: 20px 16px;
  background: #F8F7F5;
  text-align: center;
  border-top: 1px solid #D8D4CC;
}

.bbs_trade_btn {
  display: inline-block;
  background: #CC0000;
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 5px 16px;
  border: 1px solid #990000;
  margin-bottom: 12px;
}

.bbs_trade_btn:hover {
  background: #FF6600;
  border-color: #CC5200;
  text-decoration: none;
}

.bbs_disclaimer {
  max-width: 720px;
  margin: 0 auto;
  font-size: 10px;
  color: #888888;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 860px) {
  .media_matrix {
    grid-template-columns: repeat(4, 1fr);
  }
  .bbs_kw_matrix {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .media_matrix {
    grid-template-columns: repeat(3, 1fr);
  }
  .bbs_title {
    font-size: 22px;
  }
  .bbs_kw_matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .bbs_specs_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .media_matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .bbs_kw_matrix {
    grid-template-columns: 1fr;
  }
}

