/* 40 韩漫画网站 - 左侧固定边栏 + 主区无大图首屏，深青绿配色 */
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #f0fdfa; color: #134e4a; line-height: 1.7; }

.layout { display: flex; min-height: 100vh; }
/* 左侧边栏 */
.side { width: 200px; flex-shrink: 0; background: #0f766e; color: #fff; padding: 24px 0; position: sticky; top: 0; height: 100vh; }
.side .logo { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.2); margin-bottom: 20px; }
.side .logo a { font-size: 1.1rem; font-weight: 700; color: #fff; text-decoration: none; }
.side .logo a:hover { color: #99f6e4; }
.side .nav { padding: 0 12px; }
.side .nav a { display: block; padding: 10px 12px; color: #99f6e4; text-decoration: none; font-size: 0.9rem; border-radius: 6px; margin-bottom: 2px; }
.side .nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.side .nav a.on { background: rgba(255,255,255,0.15); color: #fff; font-weight: 600; }

.main-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* 主区顶部条：无大图 */
.top-bar { background: #ccfbf1; padding: 20px 28px; border-bottom: 2px solid #0f766e; }
.top-bar .title { font-size: 1.15rem; font-weight: 700; color: #134e4a; margin: 0 0 4px; }
.top-bar .sub { font-size: 0.85rem; color: #0f766e; margin: 0; }

.content { padding: 28px; flex: 1; }

/* 精选：双列卡片，左侧色条 */
.sec { margin-bottom: 32px; }
.sec .sec-tit { font-size: 1rem; font-weight: 700; color: #0f766e; margin: 0 0 14px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards .card { display: flex; background: #fff; border-radius: 0 8px 8px 0; overflow: hidden; box-shadow: 0 1px 3px rgba(15,118,110,0.1); border-left: 4px solid #0f766e; }
.cards .card a { display: flex; text-decoration: none; color: inherit; flex: 1; min-width: 0; }
.cards .card .thumb { width: 90px; flex-shrink: 0; }
.cards .card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cards .card .thumb { aspect-ratio: 1; }
.cards .card .txt { padding: 12px 14px; flex: 1; min-width: 0; }
.cards .card .txt .t { font-size: 0.9rem; font-weight: 600; color: #134e4a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cards .card .txt .d { font-size: 0.8rem; color: #0f766e; margin-top: 4px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; display: -webkit-box; }

/* 栏目链接列表 */
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid #99f6e4; }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; color: #134e4a; text-decoration: none; font-size: 0.95rem; }
.link-list a:hover { color: #0f766e; }
.link-list .arrow { color: #0f766e; font-size: 0.8rem; }

/* 首页长文案 */
.prose { max-width: 640px; margin-top: 28px; }
.prose .prose-tit { font-size: 0.95rem; font-weight: 700; color: #0f766e; margin: 0 0 10px; }
.prose p { font-size: 0.9rem; color: #134e4a; margin-bottom: 1em; }

/* 列表页 */
.list-page .path { font-size: 0.8rem; color: #0f766e; margin-bottom: 10px; }
.list-page .path a { color: #0f766e; text-decoration: none; }
.list-page h1 { font-size: 1.2rem; color: #134e4a; margin: 0 0 8px; }
.list-page .lead { font-size: 0.88rem; color: #0f766e; margin: 0 0 20px; }
.list-page .items { margin: 0; padding: 0; list-style: none; }
.list-page .items .item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #99f6e4; }
.list-page .items .item:last-child { border-bottom: 0; }
.list-page .items .thumb { width: 100px; flex-shrink: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.list-page .items .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-page .items .info { flex: 1; min-width: 0; }
.list-page .items .info .t { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.list-page .items .info .t a { color: #134e4a; text-decoration: none; }
.list-page .items .info .t a:hover { color: #0f766e; }
.list-page .items .info .d { font-size: 0.85rem; color: #0f766e; margin-bottom: 8px; }
.list-page .items .info .more { font-size: 0.85rem; color: #0f766e; text-decoration: none; font-weight: 500; }
.list-page .items .info .more:hover { text-decoration: underline; }
.list-page .back { display: inline-block; margin-top: 20px; color: #0f766e; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.list-page .back:hover { text-decoration: underline; }

/* 内容页 */
.article-page .path { font-size: 0.8rem; color: #0f766e; margin-bottom: 8px; }
.article-page .path a { color: #0f766e; text-decoration: none; }
.article-page h1 { font-size: 1.2rem; color: #134e4a; margin: 0 0 8px; line-height: 1.4; }
.article-page .meta { font-size: 0.8rem; color: #0f766e; margin: 0 0 16px; }
.article-page .banner { border-radius: 8px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 16/9; background: #ccfbf1; }
.article-page .banner img { width: 100%; height: 100%; object-fit: cover; }
.article-page .body p { font-size: 0.9rem; color: #134e4a; margin-bottom: 1em; }
.article-page .body h2 { font-size: 1rem; margin: 1.5em 0 0.5em; color: #0f766e; }
.article-page .tags { margin-top: 20px; }
.article-page .tags span { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; background: #ccfbf1; color: #0f766e; border-radius: 4px; font-size: 0.8rem; }
.article-page .back { display: inline-block; margin-top: 16px; color: #0f766e; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.article-page .back:hover { text-decoration: underline; }

.foot { background: #0f766e; color: #99f6e4; padding: 20px 28px; }
.foot .copy { font-size: 0.85rem; margin: 0 0 10px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot .links a { color: #99f6e4; text-decoration: none; font-size: 0.85rem; }
.foot .links a:hover { color: #fff; }

/* 移动端：边栏收起到顶部 */
@media (max-width: 768px) {
  .layout { flex-direction: column; }
  .side { width: 100%; height: auto; position: relative; padding: 12px 16px; }
  .side .logo { padding: 0 0 12px; margin-bottom: 12px; }
  .side .nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
  .side .nav a { margin-bottom: 0; padding: 8px 12px; }
  .content { padding: 16px; }
  .cards { grid-template-columns: 1fr; }
  .cards .card .thumb { width: 70px; }
  .list-page .items .item { flex-direction: column; }
  .list-page .items .thumb { width: 100%; max-width: 200px; aspect-ratio: 16/10; }
}
