/* 9.1免费版 - 运动/NBA风格 · 9.1免费版网站nba · 9.1免费网站NBA漫画 */
:root {
  --bg: #f8f9fa;
  --card: #fff;
  --text: #212529;
  --text-muted: #6c757d;
  --accent: #ff6b00;
  --accent-hover: #e55d00;
  --nba-blue: #17408b;
  --border: #dee2e6;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 14px; min-height: 100vh; }

header {
  background: linear-gradient(135deg, var(--nba-blue) 0%, #1d4f9f 100%);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner { max-width: 1000px; margin: 0 auto; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 700; font-size: 1.2rem; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo:hover { color: var(--accent); }
.logo-num { color: var(--accent); font-size: 1.4rem; }
.nav { list-style: none; display: flex; gap: 20px; }
.nav a { color: rgba(255,255,255,0.9); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav a:hover { color: var(--accent); }

main { max-width: 1000px; margin: 0 auto; padding: 20px; }

/* 顶部卡片条 */
.top-card {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 22px 26px;
  color: #fff;
  text-align: center;
}
.top-card h1 { font-size: 1.15rem; margin-bottom: 6px; font-weight: 600; }
.top-card p { font-size: 0.9rem; opacity: 0.95; }

.intro { background: var(--card); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.intro h2 { font-size: 1.05rem; color: var(--nba-blue); margin-bottom: 12px; font-weight: 600; }
.intro p { margin-bottom: 10px; font-size: 0.95rem; color: var(--text-muted); line-height: 1.85; }

/* 分栏：左3右1 */
.layout { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; }
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
}

.main-col { min-width: 0; }

.section { margin-bottom: 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.section-head h2 { font-size: 1rem; color: var(--text); font-weight: 600; }
.section-head .more { color: var(--accent); text-decoration: none; font-size: 13px; }
.section-head .more:hover { text-decoration: underline; }

.manga-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.manga-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.manga-card:hover { transform: translateY(-2px); box-shadow: 0 4px 18px rgba(0,0,0,0.12); }
.manga-card a { text-decoration: none; color: inherit; display: block; }
.manga-card .cover { aspect-ratio: 3/4; overflow: hidden; }
.manga-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.manga-card .info { padding: 10px; }
.manga-card .t { font-size: 13px; font-weight: 500; margin-bottom: 4px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manga-card .tag { font-size: 11px; color: var(--accent); }

.sidebar { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: sticky; top: 76px; }
.sidebar h3 { font-size: 0.95rem; color: var(--nba-blue); margin-bottom: 12px; font-weight: 600; }
.sidebar-list { list-style: none; }
.sidebar-list li { border-bottom: 1px solid var(--border); padding: 10px 0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { text-decoration: none; color: var(--text-muted); font-size: 13px; display: block; }
.sidebar-list a:hover { color: var(--accent); }
.sidebar-list .num { color: var(--accent); font-weight: 600; margin-right: 4px; }

.page-title { margin-bottom: 18px; }
.page-title h1 { font-size: 1.2rem; color: var(--text); margin-bottom: 4px; font-weight: 600; }
.page-title p { font-size: 13px; color: var(--text-muted); }

.article { max-width: 720px; margin: 0 auto; background: var(--card); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article h1 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); font-weight: 600; }
.article .meta { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.article .content p { margin-bottom: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.85; }
.article .content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.article .back { display: inline-block; margin-top: 18px; color: var(--accent); text-decoration: none; font-size: 13px; }
.article .back:hover { text-decoration: underline; }

footer { max-width: 1000px; margin: 24px auto 0; padding: 18px 20px; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-muted); }

@media (max-width: 600px) {
  .manga-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
