/* ==========================================================================
   base / reset & global
   ========================================================================== */
*,
*::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;
  font-size: 1rem;
  line-height: 1.6;
  color: #2d2d2d;
  background-color: #f5f5f5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e94560;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #1a1a2e;
  line-height: 1.4;
}

/* ==========================================================================
   layout / shell & grid
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-inner {
  flex: 1 0 auto;
}

.site-main {
  flex: 1 0 auto;
}

.home-main {
  padding-bottom: 3rem;
}

.inner-main {
  padding-bottom: 3rem;
}

.header-shell,
.footer-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   components / header & navigation
   ========================================================================== */

.site-header {
  background-color: #1a1a2e;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
  position: relative;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding: 0.5rem 0;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffc107;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.1rem;
}

.brand-logo:hover .brand-name {
  color: #ffd54f;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
}

.nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-list a.is-current {
  color: #ffc107;
  font-weight: 600;
  background-color: rgba(255, 193, 7, 0.12);
}

/* ==========================================================================
   components / breadcrumb
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0 0.25rem;
  font-size: 0.85rem;
  color: #666;
}

.breadcrumb a {
  color: #1a1a2e;
}

.breadcrumb a:hover {
  color: #e94560;
}

.breadcrumb-sep {
  margin: 0 0.5rem;
  color: #aaa;
}

.breadcrumb-current {
  color: #888;
}

/* ==========================================================================
   components / buttons
   ========================================================================== */

.btn-primary,
.btn-secondary,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: #e94560;
  color: #fff;
  border: 2px solid #e94560;
}

.btn-primary:hover {
  background-color: #d63851;
  border-color: #d63851;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #1a1a2e;
  border: 2px solid #1a1a2e;
}

.btn-secondary:hover {
  background-color: #1a1a2e;
  color: #fff;
  transform: translateY(-2px);
}

.btn-link {
  color: #e94560;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  min-height: 44px;
}

.btn-link:hover {
  color: #c72d47;
  text-decoration: underline;
}

/* ==========================================================================
   components / page header
   ========================================================================== */

.page-header {
  padding: 1.5rem 0 1rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.page-description {
  font-size: 1rem;
  color: #555;
  max-width: 720px;
  line-height: 1.7;
}

/* ==========================================================================
   components / section title & desc
   ========================================================================== */

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  max-width: 760px;
}

.section-intro {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.25rem;
}

.section-more {
  margin-top: 1.5rem;
  text-align: right;
}

.section-more a {
  color: #e94560;
  font-weight: 600;
  font-size: 0.95rem;
}

.section-more a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   components / status tag
   ========================================================================== */

.status-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
  line-height: 1.5;
  white-space: nowrap;
}

.status-updating {
  background-color: rgba(233, 69, 96, 0.12);
  color: #e94560;
  border: 1px solid rgba(233, 69, 96, 0.3);
}

.status-finished {
  background-color: rgba(26, 26, 46, 0.08);
  color: #1a1a2e;
  border: 1px solid rgba(26, 26, 46, 0.2);
}

/* ==========================================================================
   components / cards & media
   ========================================================================== */

.comic-card,
.trending-item,
.guide-card,
.method-card,
.update-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comic-card:hover,
.trending-item:hover,
.guide-card:hover,
.method-card:hover,
.update-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.comic-card img,
.trending-item img,
.guide-card img,
.method-card img,
.update-item img,
.item-media img,
.hero-media img,
.guide-figure img,
.page-hero-figure img {
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   pages / home
   ========================================================================== */

/* hero panel */
.hero-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.hero-media {
  order: 2;
}

.hero-media img {
  width: 100%;
  height: 340px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-content {
  order: 1;
}

.hero-content h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.hero-lead {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* genre nav */
.genre-nav-section {
  padding: 2rem 0;
}

.genre-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.genre-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a2e;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.genre-tag:hover {
  background-color: #1a1a2e;
  border-color: #1a1a2e;
  color: #ffc107;
}

/* recent updates */
.recent-updates-section {
  padding: 2rem 0;
}

.update-group {
  margin-bottom: 1.5rem;
}

.update-group h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e94560;
  display: inline-block;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.update-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  align-items: center;
}

.update-item img {
  width: 96px;
  height: 128px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-info a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.update-info a:hover {
  color: #e94560;
}

.update-info .status-tag {
  margin-top: 0.25rem;
}

/* trending preview */
.trending-preview-section {
  padding: 2rem 0;
}

.trending-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.trending-item {
  padding: 1rem;
}

.trending-item img {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.trending-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.trending-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* guide tips */
.guide-tips-section {
  padding: 2rem 0;
}

.guide-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.guide-card {
  padding: 1.5rem;
}

.guide-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.guide-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.guide-card a {
  color: #e94560;
  font-weight: 600;
  font-size: 0.95rem;
}

/* site notice */
.site-notice {
  padding: 2rem 0 0;
}

.site-notice {
  max-width: 860px;
}

.site-notice h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.site-notice p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.7;
}

/* ==========================================================================
   pages / categories
   ========================================================================== */

.category-tags {
  padding: 1.5rem 0;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-item {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #1a1a2e;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.tag-item:hover {
  background-color: #e94560;
  border-color: #e94560;
  color: #fff;
}

.category-listings {
  padding: 1.5rem 0;
}

.category-group {
  margin-bottom: 2.5rem;
  padding-top: 1rem;
  scroll-margin-top: 80px;
}

.category-group h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #1a1a2e;
}

.category-group > p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  max-width: 720px;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.comic-card {
  position: relative;
}

.comic-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.comic-card figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  text-align: center;
}

/* related links */
.related-links {
  padding: 1.5rem 0;
}

.related-links h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.related-links p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
}

.related-links p a {
  display: inline-block;
  margin-right: 1.5rem;
  color: #e94560;
  font-weight: 500;
}

.related-links p a:hover {
  text-decoration: underline;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.related-links ul a {
  color: #e94560;
  font-size: 0.95rem;
}

/* ==========================================================================
   pages / guide
   ========================================================================== */

.guide-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0;
}

.guide-intro-copy h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.guide-intro-copy p {
  margin-bottom: 0.75rem;
  line-height: 1.8;
  color: #444;
}

.guide-figure img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 0.85rem;
  color: #888;
  text-align: center;
  padding-top: 0.5rem;
}

.guide-order {
  padding: 2rem 0;
}

.guide-order > p {
  color: #666;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.order-list {
  counter-reset: order-counter;
}

.order-list > li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  counter-increment: order-counter;
}

.order-list > li::before {
  content: counter(order-counter);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1a1a2e;
  color: #ffc107;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-list h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.order-list p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

.guide-tracking {
  padding: 2rem 0;
}

.guide-tracking > p {
  color: #666;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.tracking-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.method-card {
  padding: 1.5rem;
}

.method-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.method-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
}

.guide-tip {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.guide-tip a {
  color: #e94560;
  font-weight: 600;
}

.guide-tip a:hover {
  text-decoration: underline;
}

.guide-faq {
  padding: 2rem 0;
}

.guide-faq h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.guide-faq details {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.guide-faq summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: #1a1a2e;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #e94560;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.guide-faq details[open] summary::after {
  content: "−";
}

.guide-faq details p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ==========================================================================
   pages / trending
   ========================================================================== */

.trending-list-section {
  padding: 1.5rem 0;
}

.trending-list-section .trending-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.trending-list-section .trending-item {
  display: flex;
  gap: 1.25rem;
  padding: 1rem;
  align-items: flex-start;
}

.trending-list-section .item-media {
  flex-shrink: 0;
}

.trending-list-section .item-media img {
  width: 120px;
  height: 160px;
  border-radius: 6px;
  object-fit: cover;
}

.trending-list-section .item-content {
  flex: 1;
  min-width: 0;
}

.trending-list-section .item-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.item-rank {
  display: inline-block;
  background-color: #1a1a2e;
  color: #ffc107;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.item-content p:last-child {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
}

.recommendation-section {
  padding: 2rem 0;
}

.recommendation-section > p {
  color: #666;
  margin-bottom: 1rem;
  max-width: 720px;
}

.recommendation-list {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.recommendation-list li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  border-bottom: 1px dashed #eee;
}

.recommendation-list li:last-child {
  border-bottom: none;
}

.recommendation-list strong {
  color: #1a1a2e;
  margin-right: 0.5rem;
}

.related-links-section {
  padding: 1.5rem 0;
}

.related-links-section .related-links li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   pages / recent
   ========================================================================== */

.update-list {
  padding: 1.5rem 0;
}

.update-group {
  margin-bottom: 2rem;
}

.group-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e94560;
  display: inline-block;
}

.update-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.update-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  align-items: flex-start;
}

.item-media {
  flex-shrink: 0;
}

.item-media img {
  width: 96px;
  height: 128px;
  border-radius: 4px;
  object-fit: cover;
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #1a1a2e;
}

.item-desc {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.status-guide {
  padding: 2rem 0;
}

.status-guide p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  max-width: 760px;
}

.related-list li {
  margin-bottom: 0.5rem;
}

.related-list a {
  color: #e94560;
  font-size: 0.95rem;
}

/* ==========================================================================
   pages / tips
   ========================================================================== */

.page-hero-figure {
  margin: 1.5rem 0 2rem;
}

.page-hero-figure img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.tips-section {
  padding: 1.5rem 0;
}

.tips-list {
  counter-reset: tip-counter;
}

.tip-item {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  counter-increment: tip-counter;
}

.tip-item::before {
  content: counter(tip-counter);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e94560;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.tip-item p {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.7;
}

.related-section {
  padding: 1.5rem 0;
}

.related-section .related-links li {
  margin-bottom: 0.5rem;
}

.feedback-note {
  padding: 1.5rem 0;
  max-width: 760px;
}

.feedback-note p {
  font-size: 0.92rem;
  color: #777;
  line-height: 1.7;
}

/* ==========================================================================
   pages / 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 3rem 1.25rem;
}

.error-section {
  text-align: center;
  max-width: 640px;
}

.error-code {
  font-size: 5rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-section h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.error-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.error-links h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.error-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.error-links a {
  color: #e94560;
  font-size: 0.95rem;
}

.error-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   components / footer
   ========================================================================== */

.site-footer {
  background-color: #1a1a2e;
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-brand strong {
  display: block;
  font-size: 1.1rem;
  color: #ffc107;
  margin-bottom: 0.5rem;
}

.footer-links h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffc107;
}

.footer-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-meta p {
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   utilities / sr-only
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   responsive / ≤ 1024px
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-panel {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .comic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .comic-card img {
    height: 220px;
  }

  .trending-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .tracking-methods {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .guide-intro {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   responsive / ≤ 768px  (mobile)
   ========================================================================== */

@media (max-width: 768px) {
  .header-shell {
    flex-wrap: wrap;
    min-height: 56px;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .brand-logo {
    padding: 0.25rem 0;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-nav {
    order: 4;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 0.75rem 0.5rem;
    border-radius: 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  /* page title */
  .page-title {
    font-size: 1.6rem;
  }

  /* hero */
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0 1.5rem;
  }

  .hero-media {
    order: 1;
  }

  .hero-media img {
    height: 220px;
  }

  .hero-content {
    order: 2;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-link {
    width: 100%;
    min-height: 48px;
  }

  /* genre */
  .genre-tag-list {
    gap: 0.5rem;
  }

  .genre-tag {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }

  /* update list */
  .update-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .update-items {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* trending */
  .trending-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .trending-item img {
    height: 180px;
  }

  /* guide tips */
  .guide-tips-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* comic grid */
  .comic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .comic-card img {
    height: 200px;
  }

  /* guide intro */
  .guide-intro {
    grid-template-columns: 1fr;
  }

  .guide-figure img {
    height: 220px;
  }

  /* tracking methods */
  .tracking-methods {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* trending list rows */
  .trending-list-section .trending-item {
    flex-direction: column;
  }

  .trending-list-section .item-media img {
    width: 100%;
    height: 200px;
  }

  /* recent items */
  .update-item {
    flex-direction: row;
  }

  /* tips hero */
  .page-hero-figure img {
    height: 200px;
  }

  /* footer */
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .footer-links ul {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 404 */
  .error-code {
    font-size: 3.5rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 100%;
  }

  .error-links ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   responsive / ≤ 480px
   ========================================================================== */

@media (max-width: 480px) {
  .comic-grid {
    grid-template-columns: 1fr;
  }

  .comic-card img {
    height: 240px;
  }

  .update-item {
    flex-direction: column;
  }

  .update-item img,
  .item-media img {
    width: 100%;
    height: 180px;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .page-title {
    font-size: 1.4rem;
  }

  .order-list > li,
  .tip-item {
    padding-left: 1.25rem;
    padding-top: 3.5rem;
  }

  .order-list > li::before,
  .tip-item::before {
    top: 1.25rem;
    left: 1.25rem;
  }
}
