/* SEO 站通用样式 - skin1
 * 关键首屏样式已 inline 到 <head>，本文件是次屏 / 列表 / 详情样式
 */

img { max-width: 100%; height: auto; display: block; }

h1.page-title { font-size: 26px; margin: 8px 0 16px; line-height: 1.3; }
h2.page-title { font-size: 22px; margin: 8px 0 16px; }
.meta { font-size: 13px; color: #888; margin-bottom: 16px; }
.meta span { margin-right: 12px; }

/* 卡片网格 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.card .cover { aspect-ratio: 16/9; background: #eee no-repeat center/cover; display:block; }
.card .body { padding: 12px; }
.card .body h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.card .body h3 a { color: #222; }
.card .body p { margin: 0; font-size: 12px; color: #888; line-height: 1.5; max-height: 60px; overflow: hidden; }

/* 列表条目 */
.list-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.list-row .thumb { flex: 0 0 140px; aspect-ratio: 16/9; background: #eee no-repeat center/cover; border-radius: 4px; }
.list-row .info h3 { margin: 0 0 6px; font-size: 16px; }
.list-row .info p  { margin: 6px 0 0; font-size: 13px; color: #888; }

/* 文章正文 */
.article-body { font-size: 16px; line-height: 1.85; }
.article-body p { margin: 0 0 1em; }
.article-body h2 { font-size: 20px; margin: 1.5em 0 .6em; padding-left: 10px; border-left: 4px solid var(--brand); }
.article-body h3 { font-size: 17px; margin: 1.4em 0 .5em; }
.article-body img { margin: 12px auto; border-radius: 4px; }
.article-body blockquote { margin: 12px 0; padding: 8px 14px; background: #f6f9ff; border-left: 3px solid var(--brand); color: #555; }
.article-body code { background: #f5f5f5; padding: 2px 6px; border-radius: 3px; font-size: 14px; }
.article-body pre { background: #2b303b; color: #c0c5ce; padding: 12px 16px; border-radius: 4px; overflow-x: auto; }
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 6px 10px; }

/* 章节导航 */
.chapter-nav { display: flex; justify-content: space-between; gap: 8px; margin: 24px 0 8px; }
.chapter-nav a, .chapter-nav span { flex: 1; padding: 10px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 4px; text-align: center; }
.chapter-nav span { color: #aaa; }

/* 章节列表 */
.chapter-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 6px; }
.chapter-list a { padding: 8px 10px; background: var(--card); border: 1px solid var(--border); border-radius: 4px; font-size: 14px; color: #444; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }

/* 主播档案 */
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-bottom: 24px; }
.profile .avatar { width: 100%; aspect-ratio: 1/1; background: #eee no-repeat center/cover; border-radius: 8px; }
.profile dl { margin: 0; display: grid; grid-template-columns: 80px 1fr; gap: 8px 16px; }
.profile dt { color: #888; }
.profile dd { margin: 0; }

/* 图集 */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 8px; }
.photo-grid img { aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

/* 分页 */
.pagination { text-align: center; margin: 24px 0 8px; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; margin: 0 2px; border: 1px solid var(--border); border-radius: 4px; color: #444; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 标签 / 分类徽章 */
.tag { display: inline-block; padding: 2px 8px; margin: 0 4px 4px 0; background: #eef3ff; color: var(--brand); border-radius: 12px; font-size: 12px; }

/* 移动端 */
@media (max-width: 720px) {
  .profile      { grid-template-columns: 1fr; }
  .list-row     { flex-direction: column; }
  .list-row .thumb { flex: none; width: 100%; }
}
