/* =========================================================
   base — 全局基础
   ========================================================= */
:root {
  --color-bg: #f7f7f7;
  --color-text: #333333;
  --color-text-light: #4a4a4a;
  --color-accent: #ff6b6b;
  --color-white: #ffffff;
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --container-padding: 0 20px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition-base: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #e05555;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =========================================================
   layout — 全局布局骨架
   ========================================================= */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.brand-logo:hover {
  color: var(--color-text);
}

.brand-name {
  display: inline-block;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav .nav-list a {
  display: inline-block;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 64px;
  border-bottom: 2px solid transparent;
}

.site-nav .nav-list a:hover {
  color: var(--color-accent);
}

.site-nav .nav-list a.is-current {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  content: "";
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 6px;
}

.site-main {
  flex: 1;
}

.inner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: #999;
}

.breadcrumb-current {
  color: var(--color-text);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 720px;
}

/* 通用区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 720px;
}

/* 页脚 */
.site-footer {
  background-color: #2e2e2e;
  color: #bdbdbd;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: #888;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  font-size: 14px;
  color: #bdbdbd;
}

.footer-nav a:hover {
  color: var(--color-white);
}

/* =========================================================
   components — 通用组件
   ========================================================= */
/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #e05555;
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text);
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* 更多链接 */
.more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

.more-link::after {
  content: "→";
  margin-left: 4px;
}

/* =========================================================
   pages — 首页
   ========================================================= */
.home-main {
  width: 100%;
}

/* hero */
.hero-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 20px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.hero-content {
  padding: 8px 0;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-label {
  font-size: 14px;
  color: var(--color-text-light);
}

.tag-link {
  font-size: 14px;
  padding: 6px 16px;
  background-color: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.tag-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* 题材分类导航 */
.genre-nav-section,
.updates-section,
.ranking-preview-section,
.guide-entry-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 20px;
}

.genre-nav-section {
  background-color: var(--color-white);
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.genre-tags-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.genre-tag {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-bg);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.genre-tag:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* 最近更新 */
.update-date-group {
  margin-bottom: 24px;
}

.update-date {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  margin-bottom: 16px;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.update-item {
  display: flex;
  gap: 14px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.update-item:hover {
  box-shadow: var(--shadow-hover);
}

.update-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.update-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.update-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.update-link:hover {
  color: var(--color-accent);
}

.update-chapter {
  font-size: 13px;
  color: var(--color-text-light);
}

/* 人气榜单预览 */
.ranking-preview-section {
  background-color: var(--color-white);
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ranking-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background-color: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.rank-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  min-width: 36px;
  text-align: center;
}

.ranking-item img {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.ranking-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ranking-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.ranking-link:hover {
  color: var(--color-accent);
}

.ranking-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 阅读指南入口 */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-base);
}

.guide-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

.guide-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.guide-card-text {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
}

/* 版权与反馈说明 */
.site-notice {
  background-color: #f0f0f0;
  border-top: 1px solid #e0e0e0;
  padding: 24px 20px;
}

.site-notice .notice-text {
  max-width: var(--container-width);
  margin: 0 auto;
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* =========================================================
   pages — 题材分类页
   ========================================================= */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.genre-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.genre-card:hover {
  box-shadow: var(--shadow-hover);
}

.genre-figure {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.genre-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.genre-card:hover .genre-image {
  transform: scale(1.03);
}

.genre-info {
  padding: 20px;
}

.genre-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.genre-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.genre-example {
  font-size: 13px;
  color: #888;
}

.genre-example-text {
  color: var(--color-accent);
}

/* 题材简介区 */
.genre-intro-section {
  margin-top: 48px;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.intro-figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.intro-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.intro-text p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   pages — 最近更新页
   ========================================================= */
.updates-section .update-group {
  margin-bottom: 32px;
}

.updates-section .update-list {
  grid-template-columns: repeat(3, 1fr);
}

.updates-section .update-item {
  flex-direction: column;
  gap: 12px;
}

.updates-section .update-item img {
  width: 100%;
  height: 160px;
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.update-meta {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.update-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 更新页指南入口 */
.update-guide {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 48px;
  box-shadow: var(--shadow-card);
}

.update-guide .section-intro {
  margin-bottom: 8px;
}

.update-guide .section-intro a {
  font-weight: 600;
}

/* =========================================================
   pages — 人气榜单页
   ========================================================= */
.ranking-section {
  margin-bottom: 48px;
}

.ranking-section .ranking-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.ranking-section .ranking-item {
  background-color: transparent;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  padding: 20px 8px;
}

.ranking-section .rank-number {
  font-size: 28px;
}

.rank-cover {
  width: 72px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.rank-info h3 a {
  color: var(--color-text);
}

.rank-info h3 a:hover {
  color: var(--color-accent);
}

.rank-tags {
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.rank-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 编辑推荐 */
.editor-picks-section {
  margin-bottom: 48px;
}

.section-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pick-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.pick-card:hover {
  box-shadow: var(--shadow-hover);
}

.pick-cover {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.pick-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pick-body {
  padding: 20px;
}

.pick-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pick-tags {
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.pick-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 相关链接 */
.related-links {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 16px;
}

.related-links p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 2;
}

.related-links p a {
  margin-right: 16px;
  font-weight: 600;
}

.related-links[aria-label="相关内容"] {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.related-links-item {
  font-size: 14px;
}

/* =========================================================
   pages — 阅读指南页
   ========================================================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.guide-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.guide-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.guide-section p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.guide-section p a {
  font-weight: 600;
}

.guide-figure {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 13px;
  color: #888;
  padding: 12px;
  background-color: var(--color-white);
  text-align: center;
}

/* 侧栏 */
.guide-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}

.aside-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.aside-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.aside-links li {
  margin-bottom: 10px;
}

.aside-links a {
  font-size: 14px;
  color: var(--color-text-light);
}

.aside-links a:hover {
  color: var(--color-accent);
}

/* =========================================================
   pages — 日常漫画推荐页
   ========================================================= */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.recommend-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.recommend-card:hover {
  box-shadow: var(--shadow-hover);
}

.card-media {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  background-color: rgba(255, 107, 107, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
}

/* 推荐理由 */
.recommend-reasons {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.reasons-intro {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.reasons-list {
  margin-bottom: 20px;
}

.reasons-list li {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.reasons-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.reasons-list strong {
  color: var(--color-text);
  font-weight: 600;
}

.reasons-note {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.reasons-note a {
  margin-right: 12px;
  font-weight: 600;
}

.back-home-link {
  text-align: center;
  margin-top: 32px;
}

.back-home-link a {
  font-size: 15px;
  font-weight: 600;
}

/* =========================================================
   pages — 404
   ========================================================= */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  flex: 1;
}

.error-panel {
  text-align: center;
  max-width: 480px;
}

.error-title {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
  margin-bottom: 16px;
}

.error-message {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 8px;
  line-height: 1.7;
}

.error-back {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: background-color var(--transition-base);
}

.error-back:hover {
  background-color: #e05555;
  color: var(--color-white);
}

/* =========================================================
   responsive — 响应式
   ========================================================= */
@media (max-width: 992px) {
  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .updates-section .update-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .aside-card {
    flex: 1;
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list a {
    display: block;
    line-height: 48px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
  }

  .site-nav .nav-list li:last-child a {
    border-bottom: none;
  }

  .site-nav .nav-list a.is-current {
    border-bottom: none;
    color: var(--color-accent);
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 32px;
    gap: 24px;
  }

  .hero-image {
    height: 240px;
  }

  .hero-title {
    font-size: 26px;
  }

  .update-list,
  .ranking-list,
  .guide-cards,
  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .intro-image {
    height: 200px;
  }

  .genre-grid {
    grid-template-columns: 1fr;
  }

  .updates-section .update-list {
    grid-template-columns: 1fr;
  }

  .picks-grid {
    grid-template-columns: 1fr;
  }

  .genre-tags-list {
    gap: 8px;
  }

  .genre-tag {
    padding: 8px 18px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .inner-main {
    padding: 24px 16px 48px;
  }

  .page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .genre-tags-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .genre-tag {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .update-item img {
    width: 72px;
    height: 96px;
  }

  .ranking-item img {
    width: 56px;
    height: 76px;
  }

  .rank-number {
    font-size: 20px;
    min-width: 28px;
  }

  .guide-card {
    padding: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .error-title {
    font-size: 56px;
  }
}
