/* ─── Board.exe — Bounty Board ──────────────────────────────── */
.window-board {
  width: 680px;
  max-width: 95vw;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.bounties-toolbar {
  display: flex;
  align-items: center;
  padding: 4px 6px;
  gap: 2px;
  border-bottom: 1px solid #808080;
  background: #d4d0c8;
}

.bounties-tab {
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  padding: 2px 10px;
  border: 1px solid #808080;
  border-bottom: none;
  background: #d4d0c8;
  cursor: pointer;
  margin-bottom: -1px;
}

.bounties-tab.active {
  background: #fff;
  border-bottom: 1px solid #fff;
  font-weight: bold;
}

.bounties-tab:hover:not(.active) {
  background: #e8e4dc;
}

.bounties-spacer { flex: 1; }

.bounties-body {
  flex: 1;
  overflow: auto;
  background: #fff;
  border: 1px inset #808080;
  margin: 0 2px;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
}

.bounties-empty {
  text-align: center;
  padding: 30px;
  color: #888;
}

/* ── Bounty list table ─────────────────────────────────────── */
.bounties-table {
  width: 100%;
  border-collapse: collapse;
}

.bounties-table th {
  position: sticky;
  top: 0;
  background: #d4d0c8;
  border: 1px outset #fff;
  padding: 3px 6px;
  text-align: left;
  font-weight: normal;
  font-size: 11px;
}

.bounties-table td {
  padding: 3px 6px;
  border-bottom: 1px solid #e8e4dc;
}

.bounties-table tr:hover {
  background: #e0e8f0;
  cursor: pointer;
}

.bounties-status-open { color: #006600; }
.bounties-status-claimed { color: #886600; }
.bounties-status-paid { color: #0000cc; }
.bounties-status-cancelled { color: #990000; }

/* ── Detail panel ──────────────────────────────────────────── */
.bounties-detail {
  padding: 12px;
  border-top: 1px solid #808080;
}

.bounties-detail h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.bounties-detail-meta {
  font-size: 10px;
  color: #666;
  margin-bottom: 8px;
}

.bounties-detail-desc {
  white-space: pre-wrap;
  margin-bottom: 12px;
  padding: 6px;
  background: #f8f8f0;
  border: 1px inset #d4d0c8;
}

.bounties-detail-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── Post form ─────────────────────────────────────────────── */
.bounties-form {
  padding: 12px;
  border-top: 1px solid #808080;
}

.bounties-form-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.bounties-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
}

.bounties-form input,
.bounties-form textarea,
.bounties-form select {
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  border: 1px inset #808080;
  padding: 2px 4px;
}

/* ── Reputation tooltip ────────────────────────────────────── */
.bounties-rep {
  font-size: 9px;
  color: #666;
  cursor: help;
}

.bounties-statusbar {
  padding: 3px 8px;
  font-size: 10px;
  color: #666;
  background: #d4d0c8;
  border-top: 1px solid #808080;
  font-family: Tahoma, sans-serif;
}

@media (max-width: 1024px) {
  .window-board {
    width: 100%;
    max-width: 100%;
  }
}
