/* ============================================================
   board-embed.css · 门户内嵌留言板（GitHub 驱动）
   主题变量沿用 style.css（--gold / --cyan / --card-bg ...）
   ============================================================ */
.board-embed { position: relative; }
.board-wrap { max-width: 900px; margin: 26px auto 0; }

.board-composer {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--cyan-glow);
}

.be-input, .be-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  padding: 11px 13px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.be-input:focus, .be-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
}
.be-textarea { min-height: 96px; resize: vertical; line-height: 1.6; }

.board-composer-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.be-hint { color: var(--text-muted); font-size: 12px; }
.be-hint b { color: var(--gold); }
.be-status { margin-top: 12px; color: var(--cyan); font-size: 13px; line-height: 1.6; }

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 26px 0 12px;
}
.be-count { color: var(--text-secondary); font-size: 13px; letter-spacing: 1px; }
.be-count b { color: var(--gold); }
.be-link {
  color: var(--cyan);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.4);
  padding-bottom: 1px;
}
.be-link:hover { border-bottom-style: solid; }

.board-list { display: grid; gap: 14px; }
.be-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform .18s ease, border-color .18s ease;
}
.be-card:hover { transform: translateY(-2px); border-color: rgba(240, 185, 11, 0.35); }
.be-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.be-ava {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: #05060d; font-weight: 700; font-size: 16px;
}
.be-who { flex: 1; min-width: 0; }
.be-name { color: var(--text-primary); font-weight: 600; font-size: 14px; }
.be-meta { display: flex; gap: 8px; align-items: center; margin-top: 2px; flex-wrap: wrap; }
.be-time { color: var(--text-muted); font-size: 12px; }
.be-badge {
  color: var(--gold); font-size: 11px;
  border: 1px solid rgba(240, 185, 11, 0.35);
  border-radius: 6px; padding: 1px 6px;
}
.be-body { color: var(--text-secondary); font-size: 14px; line-height: 1.75; word-break: break-word; }
.be-actions { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.be-act { color: var(--text-muted); font-size: 12.5px; text-decoration: none; }
.be-act:hover { color: var(--cyan); }
.be-empty { text-align: center; color: var(--text-muted); padding: 30px 0; font-size: 14px; }
.be-empty .be-link { margin-left: 6px; }

@media (max-width: 640px) {
  .board-composer-foot { flex-direction: column; align-items: stretch; }
  .board-composer-foot .btn { width: 100%; }
}
