/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2d2d2d;
  background-color: #ffffff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #f5a623;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #d48a0f;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: #333333;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-inner {
  background-color: #ffffff;
}

.home-main {
  width: 100%;
}

.inner-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
  font-size: 14px;
  color: #666666;
  margin: 0;
  text-align: center;
}

/* ==========================================================================
   components
   ========================================================================== */

/* --- brand --- */

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #f5a623;
  letter-spacing: 1px;
}

.brand-tagline {
  font-size: 13px;
  color: #999999;
  white-space: nowrap;
}

/* --- navigation --- */

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #f5a623;
  background-color: #f8f8f8;
}

.nav-list li a.is-current {
  color: #f5a623;
  background-color: rgba(245, 166, 35, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- breadcrumb --- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  font-size: 14px;
  color: #999999;
}

.breadcrumb a {
  color: #666666;
}

.breadcrumb a:hover {
  color: #f5a623;
}

.breadcrumb-sep {
  color: #cccccc;
}

.breadcrumb-current {
  color: #333333;
  font-weight: 500;
}

/* --- page header --- */

.page-header {
  padding: 8px 0 32px;
  border-bottom: 2px solid #f5a623;
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  color: #333333;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: #666666;
  max-width: 720px;
}

/* --- buttons --- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: #f5a623;
  color: #ffffff;
  border: 2px solid #f5a623;
}

.btn-primary:hover {
  background-color: #d48a0f;
  border-color: #d48a0f;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #333333;
  border: 2px solid #e0e0e0;
}

.btn-outline:hover {
  border-color: #f5a623;
  color: #f5a623;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #f8f8f8;
  color: #333333;
  border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
  border-color: #f5a623;
  color: #f5a623;
}

/* --- section titles --- */

.section-title {
  font-size: 24px;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background-color: #f5a623;
  border-radius: 2px;
}

.section-desc {
  font-size: 15px;
  color: #666666;
  margin-bottom: 24px;
  max-width: 720px;
}

.section-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 24px;
  max-width: 720px;
}

/* --- text link --- */

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #f5a623;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.text-link:hover {
  border-bottom-color: #f5a623;
}

/* ==========================================================================
   pages
   ========================================================================== */

/* --- index: hero --- */

.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.3;
  color: #333333;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 16px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- index: categories nav --- */

.categories-nav-section {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 48px 24px;
}

.categories-nav-section > h2,
.categories-nav-section > .section-desc {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.category-tags {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tags li a {
  display: inline-block;
  padding: 10px 24px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.category-tags li a:hover {
  border-color: #f5a623;
  color: #f5a623;
  background-color: rgba(245, 166, 35, 0.04);
}

/* --- index: recent updates --- */

.recent-updates-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.update-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.update-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.update-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.update-info h3 {
  font-size: 16px;
  margin: 0;
}

.update-info h3 a {
  color: #333333;
}

.update-info h3 a:hover {
  color: #f5a623;
}

.meta {
  font-size: 13px;
  color: #999999;
  margin: 0;
}

.latest {
  font-size: 13px;
  color: #f5a623;
  font-weight: 500;
  margin: 0;
}

.list-more {
  margin-top: 32px;
  text-align: center;
}

.list-more a {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.list-more a:hover {
  border-color: #f5a623;
  color: #f5a623;
}

/* --- index: ranking --- */

.ranking-preview-section {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 56px 24px;
}

.ranking-preview-section > h2,
.ranking-preview-section > .section-desc {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ranking-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ranking-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #f5a623;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.ranking-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.rank-info h3 {
  font-size: 15px;
  margin: 0;
}

.rank-info h3 a {
  color: #333333;
}

.rank-info h3 a:hover {
  color: #f5a623;
}

.rank-info p {
  font-size: 13px;
  color: #999999;
  margin: 6px 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- index: guide entry --- */

.guide-entry-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  padding: 32px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.guide-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.guide-card p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.guide-card a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #f5a623;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.guide-card a:hover {
  border-bottom-color: #f5a623;
}

/* --- index: feedback --- */

.feedback-section {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  padding: 48px 24px;
}

.feedback-section h2,
.feedback-section p {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feedback-section p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* --- categories page: anchors --- */

.category-anchors {
  margin-bottom: 40px;
}

.category-anchors ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-anchors ul li a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.category-anchors ul li a:hover {
  border-color: #f5a623;
  color: #f5a623;
}

/* --- categories page: grid --- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.category-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.category-info {
  padding: 24px;
}

.category-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.category-info p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.category-tags li {
  font-size: 13px;
  color: #666666;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 12px;
}

.category-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #f5a623;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.category-link:hover {
  border-bottom-color: #f5a623;
}

/* --- categories page: tips --- */

.category-tips {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px;
}

.category-tips p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 8px;
}

.category-tips p a {
  font-weight: 600;
}

/* --- guide page: content --- */

.guide-content {
  max-width: 820px;
}

.guide-intro {
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 48px;
}

.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5a623;
}

.guide-section > p {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 24px;
}

.guide-steps {
  display: grid;
  gap: 20px;
}

.guide-step {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f5a623;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

.guide-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-item {
  padding: 20px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.tip-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.tip-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

.settings-list {
  display: grid;
  gap: 16px;
}

.setting-item {
  padding: 20px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.setting-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.setting-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

.content-media-inline {
  margin: 40px 0;
}

.content-media-inline img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.content-media-inline figcaption {
  font-size: 13px;
  color: #999999;
  text-align: center;
  margin-top: 8px;
}

/* --- guide page: faq --- */

.guide-faq {
  max-width: 820px;
  margin-bottom: 48px;
}

.guide-faq h2 {
  font-size: 24px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5a623;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #f5a623;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

/* --- guide page: feedback --- */

.guide-feedback {
  max-width: 820px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px;
}

.guide-feedback h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.guide-feedback p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

/* --- workplace page: comic list --- */

.comic-list {
  margin-bottom: 56px;
}

.comic-list h2 {
  font-size: 24px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5a623;
}

.comic-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
}

.comic-item:last-child {
  border-bottom: none;
}

.comic-cover {
  flex-shrink: 0;
}

.comic-cover img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.comic-info {
  flex: 1;
  min-width: 0;
}

.comic-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.comic-info h3 a {
  color: #333333;
}

.comic-info h3 a:hover {
  color: #f5a623;
}

.comic-meta {
  font-size: 13px;
  color: #999999;
  margin-bottom: 8px;
}

.comic-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* --- workplace page: editor picks --- */

.editor-picks {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
}

.editor-picks h2 {
  font-size: 24px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5a623;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pick-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.pick-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.pick-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.pick-reason {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* --- workplace & life: related links --- */

.related-links {
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.related-links h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.related-links p {
  font-size: 14px;
  color: #666666;
  margin: 0;
}

.related-links p a {
  display: inline-block;
  margin-right: 24px;
  font-weight: 600;
}

/* --- life page: comic grid --- */

.comic-grid {
  margin-bottom: 56px;
}

.comic-grid .section-title {
  padding-bottom: 12px;
  border-bottom: 2px solid #f5a623;
}

.comic-grid .section-title::after {
  display: none;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.comic-grid .section-title,
.comic-grid .section-intro {
  grid-column: 1 / -1;
}

.comic-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.comic-card > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.comic-info {
  padding: 16px;
}

.comic-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.comic-info h3 a {
  color: #333333;
}

.comic-info h3 a:hover {
  color: #f5a623;
}

.comic-tags {
  font-size: 13px;
  color: #999999;
  margin-bottom: 6px;
}

.comic-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #f5a623;
  background-color: rgba(245, 166, 35, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.comic-summary {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* --- life page: editor picks --- */

.picks-list {
  display: grid;
  gap: 16px;
}

.pick-item {
  display: flex;
  gap: 20px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pick-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.pick-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.pick-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.pick-content p {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* --- 404 page --- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-block {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #f5a623;
  line-height: 1;
  margin-bottom: 16px;
}

.error-block h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 991px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-tips {
    grid-template-columns: repeat(2, 1fr);
  }

  .picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.nav-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
  }

  .nav-list li a {
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 15px;
  }

  .nav-list li a.is-current {
    background-color: rgba(245, 166, 35, 0.08);
  }

  .hero-section {
    padding: 40px 16px 40px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .categories-nav-section {
    padding: 40px 16px;
  }

  .category-tags {
    gap: 8px;
  }

  .category-tags li a {
    padding: 8px 16px;
    font-size: 14px;
  }

  .recent-updates-section {
    padding: 40px 16px;
  }

  .update-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .update-item {
    padding: 16px;
  }

  .update-item img {
    width: 80px;
    height: 80px;
  }

  .ranking-preview-section {
    padding: 40px 16px;
  }

  .ranking-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ranking-item {
    padding: 12px;
  }

  .guide-entry-section {
    padding: 40px 16px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-card {
    padding: 24px;
  }

  .feedback-section {
    padding: 40px 16px;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .breadcrumb {
    padding: 16px 0 8px;
    font-size: 13px;
  }

  .page-header {
    padding: 4px 0 24px;
    margin-bottom: 32px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-description {
    font-size: 14px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-info {
    padding: 20px;
  }

  .category-tips {
    padding: 24px;
  }

  .guide-steps {
    gap: 16px;
  }

  .guide-step {
    padding: 16px;
    gap: 16px;
  }

  .guide-tips {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comic-item {
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
  }

  .comic-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .editor-picks {
    padding: 24px 16px;
  }

  .picks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pick-item {
    flex-direction: column;
    gap: 12px;
  }

  .pick-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .related-links {
    padding: 24px 16px;
  }

  .related-links p a {
    display: block;
    margin: 0 0 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    padding: 16px;
  }

  .footer-bottom p {
    font-size: 13px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-actions .btn {
    max-width: 240px;
  }
}

@media (max-width: 479px) {
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .ranking-item img {
    width: 72px;
    height: 96px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  .rank {
    flex-shrink: 0;
  }

  .guide-card h3 {
    font-size: 18px;
  }
}
