/* =========================================================
   羞羞漫画在线观看 - 整站样式表
   艺术展览风：米白背景、大图展示、极简导航、策展式文字
   ========================================================= */

/* =========================================================
   Base 基础层
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: #f5f0e8;
  color: #2c2c2c;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c9a86a;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* =========================================================
   Layout 布局骨架
   ========================================================= */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e0d4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  letter-spacing: 0.02em;
}

.brand-name::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #c9a86a;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #5a5248;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover {
  background-color: #f5f0e8;
  color: #2c2c2c;
}

.nav-link.is-current {
  color: #2c2c2c;
  font-weight: 600;
}

.nav-link.is-current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: #c9a86a;
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #2c2c2c;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.site-main {
  min-height: 60vh;
}

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e8e0d4;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 14px;
  color: #6b6258;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #6b6258;
}

.footer-links a:hover {
  color: #c9a86a;
}

.footer-note {
  font-size: 13px;
  color: #8a8178;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid #f0ebe2;
  padding: 20px 24px;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: #8a8178;
}

/* 内页骨架 */
.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8a8178;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #6b6258;
}

.breadcrumb a:hover {
  color: #c9a86a;
}

.breadcrumb-sep {
  color: #c0b8ae;
}

.breadcrumb-current {
  color: #2c2c2c;
}

.page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: #6b6258;
  max-width: 720px;
}

/* 首页主视觉 */
.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Components 组件层
   ========================================================= */

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background-color: #2c2c2c;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #c9a86a;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #2c2c2c;
  border: 1px solid #c9a86a;
}

.btn-secondary:hover {
  background-color: #c9a86a;
  color: #ffffff;
}

/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 24px;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #c9a86a;
  border-radius: 2px;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 44, 44, 0.08);
}

.tag-hot {
  background-color: #f5e6d8;
  color: #a0522d;
}

.tag-love {
  background-color: #f8e0e8;
  color: #c06080;
}

.tag-sci {
  background-color: #e0e8f5;
  color: #4060a0;
}

.tag-daily {
  background-color: #e8f0e0;
  color: #508040;
}

.tag-fantasy {
  background-color: #ece0f5;
  color: #7040a0;
}

.tag-mystery {
  background-color: #e8e8e8;
  color: #505050;
}

/* 首页 Hero 步骤区 */
.hero-steps {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}

.hero-copy h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #2c2c2c;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: #6b6258;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.1);
}

.hero-figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* 首页分类导航 */
.category-nav {
  padding: 48px 0;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 首页最近更新 */
.recent-updates {
  padding: 48px 0;
}

.update-group {
  margin-bottom: 32px;
}

.update-date {
  font-size: 16px;
  font-weight: 600;
  color: #8b7355;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.update-date::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #e8e0d4;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.update-link {
  display: flex;
  gap: 14px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.update-link:hover {
  box-shadow: 0 4px 16px rgba(44, 44, 44, 0.08);
  transform: translateY(-2px);
}

.update-link img {
  width: 64px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-meta {
  font-size: 13px;
  color: #8a8178;
}

/* 首页人气榜单 */
.ranking-preview {
  padding: 48px 0;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  transition: box-shadow 0.2s;
}

.ranking-item:hover {
  box-shadow: 0 4px 16px rgba(44, 44, 44, 0.08);
}

.rank-num {
  font-size: 28px;
  font-weight: 700;
  color: #c9a86a;
  line-height: 1.2;
  min-width: 40px;
  font-style: italic;
}

.rank-content {
  flex: 1;
}

.rank-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 4px;
}

.rank-reason {
  font-size: 14px;
  color: #6b6258;
  line-height: 1.6;
}

/* 首页阅读指南入口 */
.guide-entry {
  padding: 48px 0;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.guide-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.2s;
}

.guide-card:hover {
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.guide-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.guide-card-text {
  font-size: 15px;
  color: #6b6258;
  margin-bottom: 16px;
  line-height: 1.7;
}

.guide-link {
  font-size: 15px;
  font-weight: 600;
  color: #c9a86a;
}

.guide-link:hover {
  color: #8b7355;
}

/* 首页长尾推荐预告 */
.longtail-preview {
  padding: 48px 0 64px;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.1);
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2c2c2c;
  padding: 20px 24px 8px;
}

.feature-excerpt {
  font-size: 15px;
  color: #6b6258;
  padding: 0 24px;
  line-height: 1.6;
}

.feature-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #c9a86a;
  padding: 12px 24px 20px;
}

.feature-link:hover {
  color: #8b7355;
}

/* =========================================================
   Pages 页面级样式
   ========================================================= */

/* 首页 */
.site-home .hero-steps {
  grid-template-columns: 1.1fr 0.9fr;
}

/* 分类页 */
.category-grid-section {
  padding: 0 0 48px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.category-card:hover {
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.category-card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.category-card-body {
  padding: 16px 20px 20px;
}

.category-name {
  font-size: 18px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 6px;
}

.category-desc {
  font-size: 14px;
  color: #6b6258;
  line-height: 1.6;
  margin-bottom: 12px;
}

.category-link {
  font-size: 14px;
  font-weight: 600;
  color: #c9a86a;
}

.category-link:hover {
  color: #8b7355;
}

.category-notes-section {
  padding: 0 0 48px;
}

.notes-content {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px 32px;
}

.notes-content p {
  font-size: 15px;
  color: #6b6258;
  line-height: 1.8;
  margin-bottom: 12px;
}

.notes-content p:last-child {
  margin-bottom: 0;
}

/* 阅读指南页 */
.guide-content {
  padding: 0 0 48px;
}

.guide-content > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.guide-method-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.method-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px 32px;
}

.method-num {
  font-size: 36px;
  font-weight: 700;
  color: #c9a86a;
  line-height: 1.2;
  text-align: center;
}

.method-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.method-item p {
  font-size: 15px;
  color: #6b6258;
  line-height: 1.7;
  margin-bottom: 8px;
}

.method-item p a {
  color: #c9a86a;
  font-weight: 600;
}

.method-item p a:hover {
  color: #8b7355;
}

.guide-figure {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 13px;
  color: #8a8178;
  padding: 8px 12px;
  background-color: #f5f0e8;
}

.guide-tracking {
  padding: 0 0 48px;
}

.guide-tracking > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.tracking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tracking-step {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.tracking-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.tracking-step p {
  font-size: 14px;
  color: #6b6258;
  line-height: 1.6;
}

.guide-faq {
  padding: 0 0 48px;
}

.guide-faq > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #c9a86a;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background-color: #faf7f2;
}

.faq-item p {
  font-size: 15px;
  color: #6b6258;
  padding: 0 24px 18px;
  line-height: 1.7;
}

.guide-related {
  padding: 0 0 48px;
}

.guide-related > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 12px;
}

.guide-related > p {
  font-size: 15px;
  color: #6b6258;
  margin-bottom: 16px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.related-links li a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #c9a86a;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #e8e0d4;
}

.related-links li a:hover {
  background-color: #c9a86a;
  color: #ffffff;
  border-color: #c9a86a;
}

.guide-related > p:last-child a {
  font-size: 15px;
  font-weight: 600;
  color: #c9a86a;
}

.guide-related > p:last-child a:hover {
  color: #8b7355;
}

/* 热血漫画推荐页 */
.recommend-list {
  padding: 0 0 48px;
}

.recommend-list > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 24px;
}

.recommend-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recommend-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.recommend-card:hover {
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.card-media img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2c2c2c;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tags .tag {
  padding: 4px 12px;
  font-size: 13px;
}

.card-desc {
  font-size: 15px;
  color: #6b6258;
  line-height: 1.7;
}

.card-reason {
  font-size: 14px;
  color: #8b7355;
  line-height: 1.6;
  background-color: #faf7f2;
  border-radius: 6px;
  padding: 12px 16px;
}

.card-reason strong {
  color: #2c2c2c;
  font-weight: 600;
}

.recommend-reasons {
  padding: 0 0 48px;
}

.recommend-reasons > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 24px;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.reason-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.reason-item p {
  font-size: 14px;
  color: #6b6258;
  line-height: 1.7;
}

.follow-tips {
  padding: 0 0 48px;
}

.follow-tips > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.tips-content {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px 32px;
}

.tips-content p {
  font-size: 15px;
  color: #6b6258;
  line-height: 1.8;
  margin-bottom: 12px;
}

.tips-content p:last-child {
  margin-bottom: 0;
}

.tips-content a {
  color: #c9a86a;
  font-weight: 600;
}

.tips-content a:hover {
  color: #8b7355;
}

/* 恋爱漫画推荐页 */
.recommend-figure img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.recommend-card .recommend-figure {
  grid-column: 1;
  grid-row: 1;
}

.recommend-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recommend-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c2c2c;
}

.recommend-reason {
  font-size: 15px;
  color: #6b6258;
  line-height: 1.7;
}

.recommend-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recommend-tags .tag {
  padding: 4px 12px;
  font-size: 13px;
}

.recommend-details {
  padding: 0 0 48px;
}

.points-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.point-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.point-title {
  font-size: 17px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.point-text {
  font-size: 14px;
  color: #6b6258;
  line-height: 1.7;
}

.tips-intro {
  font-size: 15px;
  color: #6b6258;
  margin-bottom: 20px;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.tips-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  color: #6b6258;
  line-height: 1.7;
  position: relative;
  padding-left: 44px;
}

.tips-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #c9a86a;
  border-radius: 50%;
}

.tips-more {
  font-size: 15px;
  color: #6b6258;
}

.tips-more a {
  color: #c9a86a;
  font-weight: 600;
  margin-right: 12px;
}

.tips-more a:hover {
  color: #8b7355;
}

.related-links-label {
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
  margin-right: 12px;
}

.related-links-item {
  font-size: 14px;
  font-weight: 600;
  color: #c9a86a;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #e8e0d4;
  margin-right: 8px;
}

.related-links-item:hover {
  background-color: #c9a86a;
  color: #ffffff;
  border-color: #c9a86a;
}

/* 404 页 */
.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.error-code {
  font-size: 96px;
  font-weight: 700;
  color: #c9a86a;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: #6b6258;
  margin-bottom: 28px;
}

.error-action {
  display: inline-block;
  background-color: #2c2c2c;
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 32px;
}

.error-action:hover {
  background-color: #c9a86a;
  color: #ffffff;
}

.error-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.error-links a {
  font-size: 15px;
  font-weight: 600;
  color: #c9a86a;
}

.error-links a:hover {
  color: #8b7355;
}

/* =========================================================
   Responsive 响应式
   ========================================================= */
@media (max-width: 960px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .update-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .hero-figure img {
    height: 300px;
  }

  .reason-list,
  .points-list,
  .tracking-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e0d4;
    box-shadow: 0 8px 16px rgba(44, 44, 44, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid #f0ebe2;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 14px 12px;
    font-size: 16px;
  }

  .nav-link.is-current::after {
    display: none;
  }

  .nav-link.is-current {
    color: #c9a86a;
  }

  .home-main,
  .inner-main {
    padding: 0 16px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .section-title {
    font-size: 20px;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .guide-cards,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .category-card-media img {
    height: 140px;
  }

  .method-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .method-num {
    text-align: left;
    font-size: 28px;
  }

  .tracking-steps {
    grid-template-columns: 1fr;
  }

  .recommend-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .card-media img,
  .recommend-figure img {
    width: 100%;
    height: 220px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .error-code {
    font-size: 72px;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .reason-list,
  .points-list {
    grid-template-columns: 1fr;
  }

  .hero-figure img {
    height: 240px;
  }

  .feature-card img {
    height: 180px;
  }

  .update-link {
    padding: 10px;
  }

  .update-link img {
    width: 56px;
    height: 76px;
  }

  .footer-bottom {
    padding: 16px;
  }
}
