/* 公告（帖子列表页） */

.page-posts-main {
  padding: 20px 0 28px;
}

.posts-shell {
  background: var(--store-card, rgba(23, 35, 52, 0.92));
  border: 1px solid var(--store-border, rgba(102, 192, 244, 0.22));
  border-radius: 8px;
  padding: 16px 16px 14px;
}

.posts-head {
  margin-bottom: 10px;
}

.posts-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #ecf4fc;
  letter-spacing: 0.02em;
}

.posts-sub {
  margin: 8px 0 0;
  color: #8b9298;
  font-size: 13px;
  line-height: 1.6;
}

.posts-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.post-item:hover {
  border-color: rgba(102, 192, 244, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.post-link {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.post-item:not(.post-item--has-cover) .post-link {
  display: block;
}

.post-cover {
  width: 120px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.post-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-body {
  min-width: 0;
}

.post-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.post-title {
  font-size: 14px;
  font-weight: 900;
  color: #ecf4fc;
  line-height: 1.35;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-top-tag {
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(185, 195, 210, 0.35);
  background: rgba(185, 195, 210, 0.10);
  color: rgba(236, 244, 252, 0.92);
  flex: 0 0 auto;
}

.post-meta {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  color: #8b9298;
  font-size: 12px;
}

.post-games {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.post-chip {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(102, 192, 244, 0.28);
  background: rgba(102, 192, 244, 0.10);
  color: rgba(220, 236, 255, 0.95);
}

.post-summary {
  margin-top: 6px;
  color: #aeb8c7;
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

