/* ==========================================================================
   base / reset & global tokens
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #333333;
  background-color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #1e90ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0d6bd6;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

p {
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   layout / site shell
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  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;
  min-height: 64px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e90ff;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: #444;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: #eef5ff;
  color: #1e90ff;
}

.nav-list li a.is-current {
  background-color: #1e90ff;
  color: #ffffff;
}

.site-main {
  flex: 1;
  width: 100%;
}

.site-footer {
  background-color: #2c2c2c;
  color: #b8b8b8;
  margin-top: 56px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #b8b8b8;
  font-size: 0.875rem;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-copyright {
  grid-column: 1 / -1;
  border-top: 1px solid #444;
  padding-top: 16px;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.8rem;
  color: #999;
}

/* inner page shell */
.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #1e90ff;
}

.breadcrumb-sep {
  color: #bbb;
}

.breadcrumb-current {
  color: #555;
}

.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.page-description {
  font-size: 1rem;
  color: #666;
  max-width: 720px;
}

/* ==========================================================================
   components / shared
   ========================================================================== */
.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 1.4rem;
}

.section-heading .section-desc,
.section-desc {
  color: #777;
  font-size: 0.95rem;
  margin-top: 4px;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.section-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.section-link::after {
  content: " →";
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: #1e90ff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0d6bd6;
  color: #fff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1e90ff;
  border: 1px solid #1e90ff;
}

.btn-secondary:hover {
  background-color: #eef5ff;
  color: #0d6bd6;
}

/* tags */
.status-tag,
.tag-new,
.tag-continue,
.tag-pause {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.tag-new {
  background-color: #fff3e8;
  color: #ff7f50;
}

.tag-continue {
  background-color: #e8f4ff;
  color: #1e90ff;
}

.tag-pause {
  background-color: #f0f0f0;
  color: #888;
}

/* ==========================================================================
   components / header nav responsive
   ========================================================================== */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    min-height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
  }
}

/* ==========================================================================
   components / homepage hero
   ========================================================================== */
.hero-section {
  background-color: #ffffff;
  border-bottom: 1px solid #eef0f2;
  padding: 40px 0;
}

.hero-section .hero-copy,
.hero-section .hero-media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.hero-copy h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: #222;
}

.hero-lead {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-figure {
  width: 100%;
  max-width: 420px;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* ==========================================================================
   components / homepage category strip
   ========================================================================== */
.category-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 8px;
}

.category-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tag-list li a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #444;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.category-tag-list li a:hover {
  border-color: #1e90ff;
  background-color: #eef5ff;
  color: #1e90ff;
}

/* ==========================================================================
   components / homepage updates
   ========================================================================== */
.recent-updates {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 8px;
}

.update-group {
  margin-bottom: 24px;
}

.update-date {
  font-size: 1rem;
  color: #555;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.update-item {
  display: flex;
  gap: 12px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.2s ease;
}

.update-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.update-item img {
  width: 64px;
  height: 88px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.update-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.update-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.update-status {
  font-size: 0.8rem;
  color: #ff7f50;
  font-weight: 600;
}

/* ==========================================================================
   components / homepage rankings
   ========================================================================== */
.rankings-preview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 8px;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ranking-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.2s ease;
}

.ranking-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ranking-number {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-color: #1e90ff;
  color: #ffffff;
  border-radius: 6px;
  text-align: center;
  line-height: 28px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.ranking-item:nth-child(2) .ranking-number {
  background-color: #ff7f50;
}

.ranking-item:nth-child(3) .ranking-number {
  background-color: #ffa07a;
}

.ranking-info h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.ranking-info p {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0;
}

/* ==========================================================================
   components / homepage guide entry
   ========================================================================== */
.guide-entry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 8px;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guide-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.2s ease;
}

.guide-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.guide-card h3 {
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   components / homepage notice
   ========================================================================== */
.site-notice {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 8px;
}

.site-notice h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.site-notice p {
  font-size: 0.9rem;
  color: #777;
  max-width: 720px;
}

/* ==========================================================================
   pages / categories
   ========================================================================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.tag-wall-section {
  margin-bottom: 40px;
}

.tag-wall-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag-link {
  display: inline-block;
  padding: 6px 16px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #444;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tag-link:hover {
  border-color: #1e90ff;
  background-color: #eef5ff;
  color: #1e90ff;
}

.genre-intro-section {
  margin-bottom: 32px;
}

.genre-item {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid #f0f0f0;
  align-items: center;
}

.genre-text {
  min-width: 0;
}

.genre-name {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.genre-text p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 6px;
}

.genre-media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.genre-media figcaption {
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
  text-align: center;
}

.sidebar-area {
  position: sticky;
  top: 80px;
}

.sidebar-inner {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #f0f0f0;
}

.sidebar-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.hot-category-list li {
  margin-bottom: 8px;
}

.hot-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background-color: #f8f9fa;
  transition: background-color 0.2s ease;
}

.hot-cat-link:hover {
  background-color: #eef5ff;
}

.hot-cat-name {
  font-size: 0.9rem;
  color: #444;
}

.hot-cat-count {
  font-size: 0.75rem;
  color: #999;
  background-color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
}

.sidebar-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #888;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

/* related links block on categories page */
.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 0;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  margin-top: 32px;
}

.related-links h2 {
  margin-bottom: 8px;
}

.related-links p {
  font-size: 0.9rem;
  color: #666;
}

.related-links p a {
  margin-right: 16px;
  font-weight: 600;
}

/* ==========================================================================
   pages / guide
   ========================================================================== */
.guide-overview {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #f0f0f0;
}

.guide-overview h2 {
  margin-bottom: 8px;
}

.guide-overview > p {
  color: #666;
  font-size: 0.95rem;
  max-width: 720px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.overview-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
}

.overview-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1e90ff;
}

.overview-item p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0;
}

.guide-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid #f0f0f0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1e90ff;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}

.step-content {
  min-width: 0;
}

.step-content h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 8px;
}

.guide-figure {
  margin-top: 12px;
}

.guide-figure img {
  width: 100%;
  max-width: 480px;
  border-radius: 6px;
  height: auto;
}

.guide-figure figcaption {
  font-size: 0.8rem;
  color: #999;
  margin-top: 4px;
}

.guide-faq {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #f0f0f0;
}

.guide-faq h2 {
  margin-bottom: 16px;
}

.faq-list details {
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 0;
}

.faq-list details:last-child {
  border-bottom: none;
}

.faq-list summary {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: #333;
}

.faq-list details p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}

/* ==========================================================================
   pages / updates
   ========================================================================== */
.update-status-note {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  border: 1px solid #f0f0f0;
}

.update-status-note p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.status-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.update-list-section {
  margin-bottom: 32px;
}

.update-list-section .update-group {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  border: 1px solid #f0f0f0;
}

.update-list-section .update-list {
  grid-template-columns: repeat(3, 1fr);
}

.update-cover img {
  width: 72px;
  height: 96px;
  border-radius: 4px;
  object-fit: cover;
}

.update-list-section .update-info p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}

.update-tips-entry {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #f0f0f0;
}

.update-tips-entry p {
  font-size: 0.9rem;
  color: #666;
}

/* ==========================================================================
   pages / rankings
   ========================================================================== */
.ranking-section {
  margin-bottom: 32px;
}

.ranking-section .ranking-item {
  display: grid;
  grid-template-columns: 48px 88px 1fr;
  gap: 16px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border: 1px solid #f0f0f0;
}

.ranking-section .ranking-number {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 1rem;
  margin-bottom: 0;
}

.ranking-cover img {
  width: 88px;
  height: 112px;
  border-radius: 4px;
  object-fit: cover;
}

.ranking-info {
  min-width: 0;
}

.ranking-title {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.ranking-tags {
  font-size: 0.8rem;
  color: #1e90ff;
  margin-bottom: 6px;
}

.ranking-reason {
  font-size: 0.875rem;
  color: #666;
}

.ranking-reason strong {
  color: #333;
}

.ranking-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.ranking-extra {
  margin-bottom: 32px;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.extra-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #f0f0f0;
}

.extra-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.extra-card p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 12px;
}

.extra-card a {
  font-size: 0.875rem;
  font-weight: 600;
}

.feedback-note {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
  border: 1px solid #f0f0f0;
}

.feedback-note p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* ==========================================================================
   pages / tips
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.tips-article {
  min-width: 0;
}

.tips-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid #f0f0f0;
}

.tips-section h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.tips-section p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.tips-figure {
  margin-top: 12px;
}

.tips-figure img {
  width: 100%;
  max-width: 520px;
  border-radius: 6px;
  height: auto;
}

.tips-figure figcaption {
  font-size: 0.8rem;
  color: #999;
  margin-top: 4px;
}

.related-links {
  position: sticky;
  top: 80px;
}

.related-links h2 {
  font-size: 1rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.related-links ul li {
  margin-bottom: 8px;
}

.related-links ul li a {
  font-size: 0.9rem;
  color: #555;
  display: block;
  padding: 6px 0;
}

.related-links ul li a:hover {
  color: #1e90ff;
}

/* ==========================================================================
   pages / 404
   ========================================================================== */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 24px;
}

.error-section {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 4rem;
  font-weight: 800;
  color: #1e90ff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.error-section h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-section p {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.error-tip {
  font-size: 0.85rem;
  color: #aaa;
}

/* ==========================================================================
   responsive / tablet & mobile
   ========================================================================== */
@media (max-width: 992px) {
  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .ranking-list .ranking-item:nth-child(4),
  .ranking-list .ranking-item:nth-child(5) {
    grid-column: span 1;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .extra-grid {
    grid-template-columns: 1fr 1fr;
  }

  .extra-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-area {
    position: static;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .related-links {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 32px 16px;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 1.7rem;
  }

  .hero-media {
    order: 2;
  }

  .hero-figure {
    max-width: 100%;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .update-list-section .update-list {
    grid-template-columns: 1fr;
  }

  .genre-item {
    grid-template-columns: 1fr;
  }

  .genre-media img {
    height: 160px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }

  .guide-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .ranking-section .ranking-item {
    grid-template-columns: 36px 64px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .ranking-cover img {
    width: 64px;
    height: 84px;
  }

  .ranking-section .ranking-number {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 0.875rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .inner-main {
    padding: 16px 16px 0;
  }

  .page-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .extra-grid {
    grid-template-columns: 1fr;
  }

  .extra-card:last-child {
    grid-column: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .category-tag-list li a {
    padding: 6px 14px;
    font-size: 0.825rem;
  }

  .update-item {
    padding: 10px;
  }

  .ranking-section .ranking-item {
    grid-template-columns: 30px 56px 1fr;
  }

  .ranking-cover img {
    width: 56px;
    height: 76px;
  }
}
