/* ==========================================================================
   base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #22262b;
  background-color: #f6f7f9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3f5efb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p, figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e3e6ea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #22262b;
  font-size: 18px;
  font-weight: 700;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: #3f5efb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #5a6470;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-list li a:hover {
  color: #2f4cdd;
  background-color: #eef2ff;
  text-decoration: none;
}

.nav-list li a.is-current {
  color: #2f4cdd;
  background-color: #eef2ff;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  background-color: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #22262b;
  border-radius: 1px;
}

.site-main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e3e6ea;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-slogan {
  font-size: 16px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 13px;
  color: #5a6470;
  max-width: 560px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e3e6ea;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 12px;
}

.footer-nav li {
  margin-bottom: 6px;
}

.footer-nav li a {
  font-size: 13px;
  color: #5a6470;
}

.footer-nav li a:hover {
  color: #2f4cdd;
}

.footer-bottom {
  padding-top: 16px;
  text-align: center;
}

.copyright {
  font-size: 12px;
  color: #8a929c;
}

/* ==========================================================================
   components
   ========================================================================== */

/* breadcrumb */

.breadcrumb {
  padding: 16px 0 0;
  font-size: 13px;
  color: #5a6470;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #3f5efb;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #b0b6bf;
}

.breadcrumb-current {
  color: #5a6470;
}

/* page header */

.page-header {
  padding: 24px 0 28px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #22262b;
  line-height: 1.3;
  margin-bottom: 8px;
}

.page-description {
  font-size: 14px;
  color: #5a6470;
  max-width: 720px;
}

/* section titles */

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #22262b;
  line-height: 1.4;
}

.section-note {
  font-size: 13px;
  color: #5a6470;
  margin-top: 4px;
}

/* status tags */

.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  background-color: #e4f6ee;
  color: #14804b;
  white-space: nowrap;
}

.status-organizing {
  background-color: #fef4e6;
  color: #b45309;
}

.status-pending {
  background-color: #f1f3f5;
  color: #5a6470;
}

/* text link */

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #3f5efb;
}

.text-link:hover {
  text-decoration: underline;
}

/* buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  background-color: #3f5efb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #3f5efb;
  min-height: 44px;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #2f4cdd;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  background-color: #ffffff;
  color: #2f4cdd;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #cfd6e4;
  min-height: 44px;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background-color: #eef2ff;
  border-color: #b6c2f0;
  text-decoration: none;
}

/* related links */

.related-links {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e3e6ea;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 13px;
  color: #5a6470;
  font-weight: 600;
}

.related-links-item {
  font-size: 13px;
  color: #3f5efb;
}

.related-links-item:hover {
  text-decoration: underline;
}

/* ==========================================================================
   pages
   ========================================================================== */

/* ---------- index ---------- */

.hero-console {
  padding: 32px 0 8px;
}

.console-panel {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 24px;
}

.console-head {
  margin-bottom: 20px;
}

.console-title {
  font-size: 28px;
  font-weight: 700;
  color: #22262b;
  line-height: 1.3;
  margin-bottom: 6px;
}

.console-desc {
  font-size: 14px;
  color: #5a6470;
}

.console-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.recent-list {
  min-width: 0;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: #5a6470;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.recent-items {
  border-top: 1px solid #e3e6ea;
}

.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid #e3e6ea;
}

.recent-title {
  font-size: 14px;
  font-weight: 600;
  color: #22262b;
}

.recent-date {
  font-size: 12px;
  color: #8a929c;
  white-space: nowrap;
}

.hero-side {
  min-width: 0;
}

.hero-figure {
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e3e6ea;
}

.hero-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hot-tags {
  margin-bottom: 20px;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-group li {
  display: inline-block;
}

.tag-item {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  background-color: #eef2ff;
  color: #2f4cdd;
  font-size: 12px;
  line-height: 1.4;
  transition: background-color 0.2s;
}

.tag-item:hover {
  background-color: #dfe7fd;
  text-decoration: none;
}

.tag-link {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  background-color: #eef2ff;
  color: #2f4cdd;
  font-size: 12px;
  line-height: 1.4;
  transition: background-color 0.2s;
}

.tag-link:hover {
  background-color: #dfe7fd;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.position-bar {
  margin: 24px 0;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
}

.position-text {
  font-size: 14px;
  color: #5a6470;
}

.genre-wall {
  margin-bottom: 40px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head .section-title {
  margin-bottom: 4px;
}

.section-desc {
  font-size: 13px;
  color: #5a6470;
}

.genre-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.genre-group {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 16px;
}

.group-name {
  font-size: 16px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3e6ea;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  display: inline-block;
}

.tag-list .tag-item {
  background-color: #f6f7f9;
  color: #3a4250;
}

.tag-list .tag-item:hover {
  background-color: #eef2ff;
  color: #2f4cdd;
}

.schedule-summary {
  margin-bottom: 40px;
}

.summary-list {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  overflow: hidden;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #e3e6ea;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-date {
  font-size: 13px;
  color: #8a929c;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 72px;
}

.summary-content {
  flex: 1;
  font-size: 14px;
  color: #22262b;
}

.featured-preview {
  margin-bottom: 40px;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.featured-card {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.featured-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.featured-card .card-body {
  padding: 14px 16px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #22262b;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
}

.guide-snapshot {
  margin-bottom: 40px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 16px 20px;
}

.faq-question {
  font-size: 15px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
}

.guide-snapshot .btn-primary {
  margin-top: 16px;
}

.notice-bar {
  margin-bottom: 32px;
  padding: 14px 20px;
  background-color: #eef2ff;
  border: 1px solid #d5defb;
  border-radius: 6px;
}

.notice-text {
  font-size: 13px;
  color: #2f4cdd;
  line-height: 1.6;
}

/* ---------- catalog ---------- */

.catalog-figure {
  margin-bottom: 28px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e3e6ea;
}

.catalog-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.catalog-figure figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: #8a929c;
  background-color: #ffffff;
}

.catalog-tree-section {
  margin-bottom: 36px;
}

.catalog-tree-section .section-title {
  margin-bottom: 4px;
}

.catalog-tree-list {
  margin-top: 16px;
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  overflow: hidden;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #e3e6ea;
}

.tree-item:last-child {
  border-bottom: none;
}

.tree-item a {
  font-size: 14px;
  font-weight: 600;
  color: #3f5efb;
  flex-shrink: 0;
}

.tree-item a:hover {
  text-decoration: underline;
}

.tree-desc {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.5;
}

.catalog-groups-section {
  margin-bottom: 36px;
}

.catalog-groups-section .section-title {
  margin-bottom: 4px;
}

.catalog-group {
  margin-top: 20px;
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 20px;
}

.group-title {
  font-size: 16px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 4px;
}

.group-desc {
  font-size: 13px;
  color: #5a6470;
  margin-bottom: 12px;
}

.group-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.group-item {
  padding: 10px 12px;
  background-color: #f6f7f9;
  border-radius: 6px;
  border: 1px solid #eef0f3;
}

.group-item a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2f4cdd;
  margin-bottom: 2px;
}

.group-item a:hover {
  text-decoration: underline;
}

.item-desc {
  font-size: 12px;
  color: #5a6470;
  line-height: 1.5;
  display: block;
}

.catalog-boundary-section {
  margin-bottom: 8px;
}

.catalog-boundary-section .section-title {
  margin-bottom: 4px;
}

.boundary-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.boundary-card {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 18px 20px;
}

.boundary-title {
  font-size: 14px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 6px;
}

.boundary-desc {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
  margin-bottom: 8px;
}

.boundary-card a {
  font-size: 13px;
  font-weight: 600;
  color: #3f5efb;
}

.boundary-card a:hover {
  text-decoration: underline;
}

.catalog-related .related-links {
  margin-top: 24px;
}

/* ---------- genres ---------- */

.layout-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.genre-tree {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 16px;
  position: sticky;
  top: 80px;
}

.aside-title {
  font-size: 14px;
  font-weight: 700;
  color: #22262b;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3e6ea;
  margin-bottom: 10px;
}

.tree-list > .tree-item {
  display: block;
  padding: 0;
  border: none;
}

.tree-list > .tree-item > a {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #22262b;
  margin-bottom: 2px;
}

.tree-list > .tree-item > a:hover {
  background-color: #eef2ff;
  color: #2f4cdd;
  text-decoration: none;
}

.tree-list > .tree-item > a.is-current {
  background-color: #eef2ff;
  color: #2f4cdd;
}

.tree-sub {
  padding: 0 0 6px 16px;
}

.tree-sub li a {
  display: block;
  padding: 5px 10px;
  font-size: 13px;
  color: #5a6470;
  border-radius: 4px;
}

.tree-sub li a:hover {
  background-color: #f6f7f9;
  color: #2f4cdd;
  text-decoration: none;
}

.genre-content {
  min-width: 0;
}

.genre-section {
  margin-bottom: 36px;
  scroll-margin-top: 80px;
}

.genre-section .section-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #e3e6ea;
  margin-bottom: 16px;
}

.genre-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.genre-card {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.genre-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.genre-card .card-body {
  padding: 14px 16px;
}

.card-text {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
  margin-top: 4px;
}

.card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3f5efb;
}

.card-link:hover {
  text-decoration: underline;
}

.genre-content .related-links {
  margin-top: 8px;
}

/* ---------- schedule ---------- */

.status-legend {
  margin-bottom: 28px;
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 16px 20px;
}

.status-legend .section-title {
  font-size: 16px;
  margin-bottom: 12px;
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-desc {
  font-size: 13px;
  color: #5a6470;
}

.schedule-timeline {
  margin-bottom: 32px;
}

.schedule-timeline .section-title {
  margin-bottom: 20px;
}

.timeline-group {
  margin-bottom: 28px;
}

.timeline-date {
  font-size: 15px;
  font-weight: 700;
  color: #22262b;
  padding-bottom: 8px;
  border-bottom: 2px solid #3f5efb;
  display: inline-block;
  margin-bottom: 14px;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 14px;
  align-items: flex-start;
}

.timeline-figure {
  flex-shrink: 0;
  width: 88px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e3e6ea;
}

.timeline-figure img {
  width: 88px;
  height: 66px;
  object-fit: cover;
}

.timeline-content {
  flex: 1;
  min-width: 0;
}

.timeline-title {
  font-size: 14px;
  font-weight: 600;
  color: #22262b;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
  margin-bottom: 6px;
}

.timeline-links {
  margin-bottom: 8px;
}

.timeline-links .section-title {
  margin-bottom: 6px;
}

.links-desc {
  font-size: 13px;
  color: #5a6470;
  margin-bottom: 12px;
}

.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.links-list li a {
  font-size: 14px;
  font-weight: 600;
  color: #3f5efb;
}

.links-list li a:hover {
  text-decoration: underline;
}

/* ---------- guide ---------- */

.guide-steps {
  margin-bottom: 36px;
}

.guide-steps .section-title {
  margin-bottom: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.step-card {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 20px;
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: #3f5efb;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
  margin-bottom: 8px;
}

.step-card p a {
  font-size: 13px;
  font-weight: 600;
  color: #3f5efb;
}

.step-card p a:hover {
  text-decoration: underline;
}

.guide-visual {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e3e6ea;
}

.guide-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.guide-visual figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: #8a929c;
  background-color: #ffffff;
}

.guide-faq {
  margin-bottom: 36px;
}

.guide-faq .section-title {
  margin-bottom: 16px;
}

.guide-faq details.faq-item {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
}

.guide-faq details.faq-item summary {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #22262b;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.guide-faq details.faq-item summary::-webkit-details-marker {
  display: none;
}

.guide-faq details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #5a6470;
  font-weight: 400;
}

.guide-faq details.faq-item[open] summary::after {
  content: "−";
}

.guide-faq details.faq-item summary:hover {
  background-color: #f6f7f9;
}

.guide-faq details.faq-item p {
  padding: 0 20px 14px;
  font-size: 13px;
  color: #5a6470;
  line-height: 1.7;
}

.guide-faq details.faq-item p a {
  font-weight: 600;
  color: #3f5efb;
}

.guide-faq details.faq-item p a:hover {
  text-decoration: underline;
}

.guide-checklist {
  margin-bottom: 8px;
}

.guide-checklist .section-title {
  margin-bottom: 16px;
}

.check-list {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 20px;
}

.check-list li {
  font-size: 14px;
  color: #22262b;
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #e4f6ee;
  color: #14804b;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-related .related-links {
  margin-top: 24px;
}

.related-title {
  font-size: 16px;
  font-weight: 700;
  color: #22262b;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.related-links ul li a {
  font-size: 14px;
  font-weight: 600;
  color: #3f5efb;
}

.related-links ul li a:hover {
  text-decoration: underline;
}

/* ---------- featured ---------- */

.featured-grid-section {
  margin-bottom: 40px;
}

.featured-grid-section .section-title {
  margin-bottom: 16px;
}

.featured-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.featured-card {
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.featured-card-media {
  overflow: hidden;
}

.featured-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.featured-card-body {
  padding: 14px 16px;
}

.featured-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 4px;
}

.featured-card-desc {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
}

.featured-genre-section {
  margin-bottom: 8px;
}

.featured-genre-section .section-title {
  margin-bottom: 20px;
}

.genre-recommend-block {
  margin-bottom: 28px;
}

.block-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #22262b;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3e6ea;
  margin-bottom: 14px;
}

.genre-recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.genre-recommend-card {
  display: flex;
  gap: 14px;
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 12px;
  align-items: flex-start;
}

.genre-recommend-media {
  flex-shrink: 0;
  width: 96px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e3e6ea;
}

.genre-recommend-media img {
  width: 96px;
  height: 72px;
  object-fit: cover;
}

.genre-recommend-body {
  flex: 1;
  min-width: 0;
}

.genre-recommend-title {
  font-size: 14px;
  font-weight: 600;
  color: #22262b;
  margin-bottom: 4px;
}

.genre-recommend-desc {
  font-size: 13px;
  color: #5a6470;
  line-height: 1.6;
}

.featured-related .related-links {
  margin-top: 24px;
}

.related-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.related-link-list li a {
  font-size: 14px;
  font-weight: 600;
  color: #3f5efb;
}

.related-link-list li a:hover {
  text-decoration: underline;
}

/* ---------- 404 ---------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.error-panel {
  max-width: 480px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 40px 32px;
}

.error-code {
  font-size: 56px;
  font-weight: 700;
  color: #3f5efb;
  line-height: 1.2;
  margin-bottom: 8px;
}

.error-title {
  font-size: 18px;
  font-weight: 700;
  color: #22262b;
  margin-bottom: 10px;
}

.error-desc {
  font-size: 14px;
  color: #5a6470;
  margin-bottom: 24px;
  line-height: 1.6;
}

.error-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 6px;
  background-color: #3f5efb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  margin-bottom: 16px;
}

.error-action:hover {
  background-color: #2f4cdd;
  text-decoration: none;
}

.error-help {
  font-size: 13px;
  color: #8a929c;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 992px) {
  .genre-groups {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-shell {
    grid-template-columns: 200px 1fr;
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .featured-card-grid {
    gap: 12px;
  }

  .genre-card-grid {
    gap: 12px;
  }

  .genre-recommend-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e3e6ea;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .console-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-figure img {
    height: 180px;
  }

  .genre-groups {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-cards {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .genre-tree {
    position: static;
    order: 2;
  }

  .genre-content {
    order: 1;
  }

  .group-list {
    grid-template-columns: 1fr;
  }

  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .featured-card-grid {
    grid-template-columns: 1fr;
  }

  .genre-recommend-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-figure {
    width: 100%;
  }

  .timeline-figure img {
    width: 100%;
    height: 120px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .summary-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .summary-date {
    min-width: auto;
  }

  .summary-content {
    flex-basis: 100%;
    order: 3;
  }

  .legend-list {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
  }

  .home-main,
  .inner-main {
    padding: 0 12px;
  }

  .brand-link {
    font-size: 16px;
  }

  .console-panel {
    padding: 16px;
  }

  .console-title {
    font-size: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .genre-groups {
    grid-template-columns: 1fr;
  }

  .genre-card-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 24px;
  }

  .page-header {
    padding: 16px 0 20px;
  }

  .breadcrumb {
    padding-top: 12px;
  }

  .recent-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .summary-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-content {
    flex-basis: auto;
    order: 0;
  }

  .timeline-item {
    padding: 12px;
  }

  .genre-recommend-card {
    flex-direction: column;
  }

  .genre-recommend-media {
    width: 100%;
  }

  .genre-recommend-media img {
    width: 100%;
    height: 140px;
  }

  .step-card {
    padding: 16px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .error-main {
    padding: 40px 12px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 44px;
  }
}
