/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2b2b2b;
  background-color: #f5f0e8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #4a90d9;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff7f50;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #2b2b2b;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e0d5;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ff7f50;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2b2b2b;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list li a:hover {
  color: #ff7f50;
  background-color: #fdf6f0;
}

.nav-list li a.is-current {
  color: #ff7f50;
  font-weight: 600;
}

.nav-list li a.is-current::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background-color: #ff7f50;
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2b2b2b;
  margin: 4px 0;
  border-radius: 1px;
  transition: background-color 0.2s ease;
}

.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #8a8178;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #8a8178;
}

.breadcrumb a:hover {
  color: #ff7f50;
}

.breadcrumb-sep {
  color: #c0b8ae;
}

.breadcrumb-current {
  color: #2b2b2b;
  font-weight: 500;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e0d5;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #2b2b2b;
  margin-bottom: 8px;
}

.page-description {
  font-size: 1rem;
  color: #6b6359;
  max-width: 720px;
  line-height: 1.7;
}

.site-footer {
  background-color: #2b2b2b;
  color: #c9c2b8;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 1.375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 480px;
  color: #a39b91;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid #3d3d3d;
  border-bottom: 1px solid #3d3d3d;
}

.footer-group h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-group ul li {
  margin-bottom: 8px;
}

.footer-group ul li a {
  font-size: 0.875rem;
  color: #a39b91;
  transition: color 0.2s ease;
}

.footer-group ul li a:hover {
  color: #ff7f50;
}

.footer-copyright {
  padding-top: 24px;
  font-size: 0.8125rem;
  color: #7a736b;
  text-align: center;
}

/* ==========================================================================
   components
   ========================================================================== */

.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 20px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #ff7f50;
  border-radius: 2px;
}

.section-desc {
  font-size: 0.9375rem;
  color: #6b6359;
  margin-bottom: 20px;
  max-width: 720px;
}

.section-more {
  margin-top: 24px;
  text-align: center;
}

.section-more a {
  display: inline-block;
  padding: 8px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4a90d9;
  border: 1px solid #4a90d9;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.section-more a:hover {
  background-color: #4a90d9;
  color: #ffffff;
}

/* 按钮 */
.btn-primary,
.btn-secondary,
.btn-link {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #ff7f50;
  color: #ffffff;
  border: 1px solid #ff7f50;
}

.btn-primary:hover {
  background-color: #e66a3d;
  border-color: #e66a3d;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #4a90d9;
  border: 1px solid #4a90d9;
}

.btn-secondary:hover {
  background-color: #4a90d9;
  color: #ffffff;
}

.btn-link {
  background: none;
  border: none;
  color: #4a90d9;
  padding: 10px 8px;
  font-weight: 500;
}

.btn-link:hover {
  color: #ff7f50;
  text-decoration: underline;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 3px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 4px;
  background-color: #f0e9df;
  color: #6b6359;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* 卡片通用 */
.comic-card,
.manga-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-card:hover,
.manga-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.08);
}

/* ==========================================================================
   pages / index
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* hero */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 56px;
}

.hero-copy {
  padding-right: 8px;
}

.hero-copy h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #2b2b2b;
}

.hero-slogan {
  font-size: 1.125rem;
  font-weight: 500;
  color: #ff7f50;
  margin-bottom: 12px;
}

.hero-intro {
  font-size: 1rem;
  color: #6b6359;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-figure {
  width: 100%;
  max-width: 460px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(43, 43, 43, 0.1);
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 分类导航带 */
.category-nav-section {
  padding: 40px 0;
  border-top: 1px solid #e8e0d5;
}

.category-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.category-tags .tag {
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  color: #ffffff;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tags .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.15);
}

.category-tags .tag-hot {
  background-color: #ff7f50;
}

.category-tags .tag-romance {
  background-color: #e87a9d;
}

.category-tags .tag-work {
  background-color: #4a90d9;
}

.category-tags .tag-life {
  background-color: #6bbf8a;
}

/* 最近更新 */
.recent-updates {
  padding: 40px 0;
  border-top: 1px solid #e8e0d5;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.update-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.08);
}

.update-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.update-info {
  padding: 16px;
}

.update-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.update-info h3 a {
  color: #2b2b2b;
}

.update-info h3 a:hover {
  color: #ff7f50;
}

.update-meta {
  font-size: 0.8125rem;
  color: #8a8178;
}

/* 人气榜单 */
.ranking-preview {
  padding: 40px 0;
  border-top: 1px solid #e8e0d5;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.rank-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.08);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ff7f50;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.rank-item:nth-child(n+4) .rank-num {
  background-color: #e8e0d5;
  color: #6b6359;
}

.rank-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.rank-info h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.rank-info p {
  font-size: 0.8125rem;
  color: #8a8178;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 阅读指南入口 */
.guide-entry {
  padding: 40px 0;
  border-top: 1px solid #e8e0d5;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.08);
}

.guide-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.guide-card p {
  font-size: 0.9375rem;
  color: #6b6359;
  margin-bottom: 16px;
  line-height: 1.6;
}

.guide-card a {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #4a90d9;
  transition: color 0.2s ease;
}

.guide-card a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

/* 专题预告 */
.featured-topics {
  padding: 40px 0 56px;
  border-top: 1px solid #e8e0d5;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.08);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  padding: 20px 20px 8px;
}

.topic-card p {
  font-size: 0.9375rem;
  color: #6b6359;
  padding: 0 20px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.topic-card a {
  display: inline-block;
  margin: 0 20px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #4a90d9;
}

.topic-card a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

/* ==========================================================================
   pages / category (dmw/category.html)
   ========================================================================== */

body.page-category {
  background-color: #f5f0e8;
}

.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 56px;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-inner {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 24px 16px;
}

.sidebar-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 16px;
  padding-left: 12px;
  position: relative;
}

.sidebar-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: #ff7f50;
  border-radius: 2px;
}

.sidebar-list li {
  margin-bottom: 4px;
}

.sidebar-list li a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9375rem;
  color: #4a4a4a;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-list li a:hover {
  background-color: #fdf6f0;
  color: #ff7f50;
}

.inner-main {
  min-width: 0;
}

.category-section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}

.category-section .section-title {
  font-size: 1.25rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.comic-card {
  display: flex;
  gap: 16px;
  padding: 16px;
}

.comic-figure {
  width: 120px;
  flex-shrink: 0;
}

.comic-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.comic-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.comic-brief {
  font-size: 0.875rem;
  color: #6b6359;
  line-height: 1.5;
}

.guide-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-links p {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 20px;
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.6;
}

.guide-links a {
  font-weight: 600;
  color: #4a90d9;
}

.guide-links a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

/* ==========================================================================
   pages / guide (dmw/guide.html)
   ========================================================================== */

body.page-guide {
  background-color: #f5f0e8;
}

.guide-intro {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 32px;
  margin-bottom: 40px;
}

.guide-intro p {
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.7;
  margin-bottom: 12px;
}

.guide-intro p:last-child {
  margin-bottom: 0;
}

.tracking-tips {
  margin-bottom: 48px;
}

.tips-list {
  display: grid;
  gap: 16px;
}

.tip-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tip-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.06);
}

.tip-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2b2b2b;
}

.tip-item p {
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.6;
}

.discovery-methods {
  margin-bottom: 48px;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.method-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 24px;
}

.method-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.method-card p {
  font-size: 0.875rem;
  color: #6b6359;
  line-height: 1.6;
}

.method-card a {
  font-weight: 600;
  color: #4a90d9;
}

.method-card a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

.guide-figure {
  margin: 40px 0;
  border-radius: 8px;
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: #8a8178;
  background-color: #ffffff;
  border: 1px solid #e8e0d5;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.reading-plan {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 32px;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.plan-list li {
  padding: 12px 16px;
  background-color: #fdf6f0;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.plan-list li a {
  font-weight: 500;
  color: #4a90d9;
}

.plan-list li a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

.reading-plan > p {
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.6;
}

/* ==========================================================================
   pages / hot-blood (dmw/hot-blood.html)
   ========================================================================== */

body.page-hot-blood {
  background-color: #f5f0e8;
}

.recommendation-list {
  margin-bottom: 48px;
}

.recommendation-list h2,
.recommendation-reasons h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.recommendation-list .section-intro,
.recommendation-reasons .section-intro {
  font-size: 0.9375rem;
  color: #6b6359;
  margin-bottom: 24px;
}

.recommendation-list .comic-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommendation-list .comic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.08);
}

.comic-cover {
  width: 160px;
  flex-shrink: 0;
}

.comic-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.comic-info {
  flex: 1;
  min-width: 0;
}

.comic-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.comic-tags {
  margin-bottom: 10px;
}

.comic-tags .tag {
  background-color: #fdf6f0;
  color: #ff7f50;
  font-weight: 600;
}

.comic-desc {
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.6;
  margin-bottom: 12px;
}

.comic-reason {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.6;
  background-color: #fdf6f0;
  padding: 12px 16px;
  border-radius: 6px;
}

.comic-reason strong {
  color: #ff7f50;
  font-weight: 600;
}

.recommendation-reasons {
  margin-bottom: 48px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reason-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 24px;
}

.reason-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.reason-item p {
  font-size: 0.875rem;
  color: #6b6359;
  line-height: 1.6;
}

.reason-closing {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.8;
}

.reason-closing a {
  font-weight: 600;
  color: #4a90d9;
  margin-right: 16px;
}

.reason-closing a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

/* ==========================================================================
   pages / romance (dmw/romance.html)
   ========================================================================== */

body.page-romance {
  background-color: #f5f0e8;
}

.content-wrap {
  display: block;
}

.recommendation-list {
  margin-bottom: 48px;
}

.recommendation-list h2,
.analysis-section h2,
.related-guide h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.recommendation-list .section-intro,
.analysis-section > p {
  font-size: 0.9375rem;
  color: #6b6359;
  margin-bottom: 24px;
}

.manga-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
}

.card-media {
  width: 160px;
  flex-shrink: 0;
}

.card-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-tags {
  margin-bottom: 10px;
}

.card-tags .tag {
  background-color: #fdf6f0;
  color: #e87a9d;
  font-weight: 600;
}

.card-desc {
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-reason {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.6;
  background-color: #fdf6f0;
  padding: 12px 16px;
  border-radius: 6px;
}

.card-reason strong {
  color: #e87a9d;
  font-weight: 600;
}

.analysis-section {
  margin-bottom: 48px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.analysis-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 24px;
}

.analysis-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.analysis-item p {
  font-size: 0.875rem;
  color: #6b6359;
  line-height: 1.6;
}

.related-guide {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 32px;
  margin-bottom: 32px;
}

.related-guide p {
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.6;
  margin-bottom: 8px;
}

.related-guide a {
  font-weight: 600;
  color: #4a90d9;
}

.related-guide a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

.related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid #e8e0d5;
}

.related-links-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2b2b2b;
}

.related-links-item {
  font-size: 0.875rem;
  color: #4a90d9;
  padding: 4px 8px;
}

.related-links-item:hover {
  color: #ff7f50;
  text-decoration: underline;
}

/* ==========================================================================
   pages / 404
   ========================================================================== */

body.site-error {
  background-color: #f5f0e8;
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 20px;
}

.error-panel {
  text-align: center;
  max-width: 480px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
  padding: 48px 32px;
}

.error-code {
  font-size: 4rem;
  font-weight: 800;
  color: #ff7f50;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.9375rem;
  color: #6b6359;
  line-height: 1.6;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.error-btn-primary,
.error-btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.error-btn-primary {
  background-color: #ff7f50;
  color: #ffffff;
  border: 1px solid #ff7f50;
}

.error-btn-primary:hover {
  background-color: #e66a3d;
  border-color: #e66a3d;
  color: #ffffff;
}

.error-btn-secondary {
  background-color: transparent;
  color: #4a90d9;
  border: 1px solid #4a90d9;
}

.error-btn-secondary:hover {
  background-color: #4a90d9;
  color: #ffffff;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .rank-item:nth-child(4),
  .rank-item:nth-child(5) {
    display: none;
  }

  .update-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .methods-grid,
  .reason-grid,
  .analysis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e0d5;
    padding: 8px 16px;
    box-shadow: 0 8px 16px rgba(43, 43, 43, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    border-radius: 4px;
  }

  .nav-list li a.is-current::after {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 40px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-copy h1 {
    font-size: 1.75rem;
  }

  .hero-media {
    order: 2;
  }

  .hero-figure {
    max-width: 100%;
  }

  .category-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-tags .tag {
    text-align: center;
    padding: 12px 16px;
  }

  .update-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ranking-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .rank-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .rank-item img {
    width: 72px;
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .rank-info {
    min-width: 0;
  }

  .rank-item:nth-child(4),
  .rank-item:nth-child(5) {
    display: flex;
  }

  .guide-cards,
  .topic-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-layout.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 40px;
  }

  .category-sidebar {
    order: 1;
    position: static;
    width: 100%;
  }

  .sidebar-inner {
    padding: 16px;
  }

  .sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sidebar-list li {
    margin-bottom: 0;
  }

  .sidebar-list li a {
    padding: 8px 12px;
    text-align: center;
  }

  .inner-main {
    order: 2;
    width: 100%;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comic-card {
    flex-direction: column;
    padding: 16px;
  }

  .comic-figure {
    width: 100%;
  }

  .comic-figure img {
    aspect-ratio: 16 / 10;
  }

  .guide-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tips-list {
    gap: 12px;
  }

  .tip-item {
    padding: 20px;
  }

  .methods-grid,
  .reason-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .method-card,
  .reason-item,
  .analysis-item {
    padding: 20px;
  }

  .recommendation-list .comic-card,
  .manga-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .comic-cover,
  .card-media {
    width: 100%;
  }

  .comic-cover img,
  .card-media img {
    aspect-ratio: 16 / 10;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .footer-group h4 {
    margin-bottom: 12px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 3rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-btn-primary,
  .error-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
  }

  .brand-name {
    font-size: 1.125rem;
  }

  .hero-copy h1 {
    font-size: 1.5rem;
  }

  .hero-slogan {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-link {
    text-align: center;
  }

  .category-tags {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .inner-main {
    padding: 24px 16px 40px;
  }

  .breadcrumb {
    font-size: 0.8125rem;
  }

  .sidebar-list {
    grid-template-columns: 1fr;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
