/* ==========================================================================
   神马午夜电影 · 通用型影视内容目录站
   样式分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #f7f8fa;
  color: #1f2328;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    sans-serif;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #2f6fd0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #2f6fd0;
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

strong {
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout · 全站骨架
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.75;
  color: #1f2328;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: #ffffff;
  border-bottom: 1px solid #d8dde3;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1120px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #eef4fc;
  color: #1f2328;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  border-color: #2f6fd0;
  color: #2f6fd0;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li {
  display: block;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: #5c6672;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1f2328;
  text-decoration: none;
}

.nav-link.is-current {
  color: #1f2328;
  font-weight: 600;
  border-bottom-color: #2f6fd0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #ffffff;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1f2328;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main,
.inner-main {
  display: block;
}

.home-main > section,
.inner-main > section,
.inner-main > div,
.inner-main > nav,
.inner-main > figure {
  width: 100%;
}

.home-main > section,
.home-main > figure,
.inner-main > section,
.inner-main > div,
.inner-main > nav,
.inner-main > figure {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 内页统一容器宽度与纵向节奏 */
.inner-main {
  padding-top: 20px;
  padding-bottom: 56px;
}

.inner-main > section + section,
.inner-main > div + div,
.inner-main > section + div,
.inner-main > div + section,
.inner-main > figure + section {
  margin-top: 36px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #5c6672;
}

.breadcrumb a {
  color: #5c6672;
}

.breadcrumb a:hover {
  color: #2f6fd0;
}

.breadcrumb-sep {
  color: #d8dde3;
}

.breadcrumb-current {
  color: #1f2328;
}

.page-header {
  margin-top: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d8dde3;
}

.page-title {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 600;
  color: #1f2328;
}

.page-description {
  margin-top: 10px;
  max-width: 860px;
  color: #5c6672;
}

.site-footer {
  flex: 0 0 auto;
  background-color: #ffffff;
  border-top: 1px solid #d8dde3;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 28px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
}

.footer-desc {
  margin-top: 8px;
  max-width: 560px;
  color: #5c6672;
  font-size: 14px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.footer-links {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  min-height: 28px;
  color: #5c6672;
  font-size: 14px;
}

.footer-links a:hover {
  color: #2f6fd0;
}

.footer-bottom {
  border-top: 1px solid #d8dde3;
}

.footer-copy {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  color: #5c6672;
  font-size: 13px;
}

/* ==========================================================================
   components · 通用组件
   ========================================================================== */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: #2f6fd0;
  border-color: #2f6fd0;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #2860b6;
  border-color: #2860b6;
}

.btn-ghost {
  background-color: #ffffff;
  border-color: #d8dde3;
  color: #1f2328;
}

.btn-ghost:hover {
  border-color: #2f6fd0;
  color: #2f6fd0;
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #2f6fd0;
  font-size: 14px;
}

.text-link:hover {
  text-decoration: underline;
}

.section-more {
  margin-top: 16px;
}

/* 区块通用 */
.section {
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #d8dde3;
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2328;
}

.section-desc {
  margin-top: 8px;
  max-width: 860px;
  color: #5c6672;
}

.section-intro {
  margin-top: 8px;
  max-width: 860px;
  color: #5c6672;
}

.section-note {
  margin-top: 16px;
  color: #5c6672;
  font-size: 14px;
}

.section-foot-link {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* 表格 */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #ffffff;
}

.table-caption {
  padding: 12px 16px;
  color: #5c6672;
  font-size: 13px;
  text-align: left;
  border-bottom: 1px solid #d8dde3;
}

.field-table,
.data-table {
  width: 100%;
  background-color: #ffffff;
}

.field-table th,
.field-table td,
.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #d8dde3;
  font-size: 14px;
  line-height: 1.6;
}

.field-table thead th,
.data-table thead th {
  background-color: #eef4fc;
  color: #1f2328;
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody th,
.data-table tbody th {
  color: #1f2328;
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td,
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.field-table tbody tr:hover {
  background-color: #f7f8fa;
}

.data-table td,
.field-table td {
  color: #1f2328;
}

/* 字段名与数值用等宽字体对齐 */
.field-table th,
.data-table th,
.field-name,
.step-index,
.step-no,
.step-io-name {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono",
    "Courier New", monospace;
}

/* 状态标签 */
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 4px;
  background-color: #eef4fc;
  color: #2f6fd0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* 编号步骤清单 */
.step-list {
  display: grid;
  gap: 12px;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  padding: 16px;
}

.step-name,
.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
}

.step-index,
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 4px;
  background-color: #eef4fc;
  color: #2f6fd0;
  font-size: 13px;
  font-weight: 600;
}

/* 图片容器与图注 */
.hero-media,
.content-media,
.channel-block-media,
.collection-cover,
.page-figure,
.guide-figure {
  margin: 0;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #ffffff;
  overflow: hidden;
}

.hero-media img,
.content-media img,
.channel-block-media img,
.collection-cover img,
.page-figure img,
.guide-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #eef4fc;
}

figcaption,
.figure-caption,
.channel-block-caption {
  padding: 10px 14px;
  color: #5c6672;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid #d8dde3;
  background-color: #ffffff;
}

/* 要点列表 */
.channel-point-list,
.collection-points,
.note-list,
.boundary-list,
.scope-list,
.guide-point-list,
.compare-list,
.aside-list {
  display: grid;
  gap: 8px;
}

.channel-point,
.collection-points li,
.note-item,
.boundary-item,
.scope-item,
.guide-point,
.compare-list li,
.aside-list li {
  position: relative;
  padding-left: 16px;
  color: #1f2328;
}

.channel-point::before,
.collection-points li::before,
.note-item::before,
.boundary-item::before,
.scope-item::before,
.guide-point::before,
.compare-list li::before,
.aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #2f6fd0;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

.home-main {
  padding-top: 0;
  padding-bottom: 0;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background-color: #eef4fc;
  color: #2f6fd0;
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 600;
  color: #1f2328;
}

.hero-lead {
  margin-top: 14px;
  max-width: 520px;
  color: #5c6672;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-panel {
  min-width: 0;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #ffffff;
  overflow: hidden;
}

.hero-panel-title {
  padding: 12px 16px;
  border-bottom: 1px solid #d8dde3;
  background-color: #eef4fc;
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.hero-table th,
.hero-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #d8dde3;
  font-size: 14px;
  line-height: 1.6;
}

.hero-table tr:last-child th,
.hero-table tr:last-child td {
  border-bottom: 0;
}

.hero-table th {
  width: 34%;
  color: #5c6672;
  font-weight: 600;
  white-space: nowrap;
}

.hero-table td {
  color: #1f2328;
}

.hero-media,
.content-media-primary {
  margin-top: 28px;
  aspect-ratio: 16 / 7;
}

.content-media-primary {
  aspect-ratio: 16 / 6;
}

/* 题材频道方向总览 */
.channel-rows {
  display: grid;
  gap: 0;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #ffffff;
  overflow: hidden;
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #d8dde3;
}

.channel-row:last-child {
  border-bottom: 0;
}

.channel-row:hover {
  background-color: #f7f8fa;
}

.channel-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.channel-focus {
  min-width: 0;
  color: #5c6672;
  font-size: 14px;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #2f6fd0;
  font-size: 14px;
  white-space: nowrap;
}

/* 本期专题片单速览 */
.collection-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.collection-card:hover {
  border-color: #2f6fd0;
  transform: translateY(-1px);
}

.collection-name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
}

.collection-scope,
.collection-desc {
  margin-top: 8px;
  color: #5c6672;
  font-size: 14px;
}

.collection-order {
  margin-top: 8px;
  color: #5c6672;
  font-size: 13px;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 12px;
  color: #2f6fd0;
  font-size: 14px;
}

/* 条目字段说明摘要表 */
.fields-summary {
  border: 1px solid #d8dde3;
  border-radius: 6px;
  overflow: hidden;
}

/* 查阅路径三步概览 */
.section-path .step-item {
  display: grid;
  gap: 6px;
}

.step-input,
.step-result {
  color: #5c6672;
  font-size: 14px;
}

/* 收录边界与站内反馈入口 */
.boundary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.boundary-list {
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.boundary-feedback {
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.boundary-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.boundary-feedback p {
  margin-top: 8px;
  color: #5c6672;
  font-size: 14px;
}

.boundary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}

/* ==========================================================================
   pages · 题材频道
   ========================================================================== */

.channel-index-list {
  display: grid;
  gap: 0;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #ffffff;
  overflow: hidden;
}

.channel-index-item {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #d8dde3;
}

.channel-index-item:last-child {
  border-bottom: 0;
}

.channel-index-item:hover {
  background-color: #f7f8fa;
}

.channel-index-name {
  font-size: 15px;
  font-weight: 600;
  color: #2f6fd0;
}

.channel-index-desc {
  min-width: 0;
  color: #5c6672;
  font-size: 14px;
}

.channel-detail {
  display: grid;
  gap: 24px;
}

.channel-block {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.channel-block-text {
  min-width: 0;
}

.channel-block-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2328;
}

.channel-block-desc {
  margin-top: 10px;
  color: #5c6672;
}

.channel-point-list {
  margin-top: 12px;
}

.channel-link-row {
  margin-top: 14px;
}

.channel-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #2f6fd0;
  font-size: 14px;
}

.channel-block-media {
  min-width: 0;
  aspect-ratio: 4 / 3;
}

.channel-block-media img {
  aspect-ratio: 4 / 3;
}

/* 频道与专题对应关系表 */
.channel-mapping .data-table {
  border: 1px solid #d8dde3;
  border-radius: 6px;
  overflow: hidden;
}

.channel-mapping .data-table th:first-child {
  width: 32%;
}

/* 频道查阅顺序建议 */
.channel-order .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.step-body {
  min-width: 0;
}

.step-desc {
  margin-top: 6px;
  color: #5c6672;
  font-size: 14px;
}

/* ==========================================================================
   pages · 专题片单
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}

.layout-main {
  min-width: 0;
  display: grid;
  gap: 36px;
}

.layout-aside {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.aside-block {
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.aside-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.aside-list {
  margin-top: 12px;
}

.aside-list li {
  font-size: 14px;
  color: #1f2328;
}

.section-collection-overview .collection-card {
  padding: 0;
  overflow: hidden;
}

.collection-cover {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #d8dde3;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.collection-cover img {
  aspect-ratio: 16 / 9;
}

.section-collection-overview .collection-name,
.section-collection-overview .collection-desc,
.section-collection-overview .collection-link {
  padding-left: 16px;
  padding-right: 16px;
}

.section-collection-overview .collection-name {
  margin-top: 14px;
}

.section-collection-overview .collection-link {
  padding-bottom: 16px;
}

.section-collection-detail {
  display: grid;
  gap: 20px;
}

.section-collection-detail .section-title,
.section-collection-detail .section-desc {
  grid-column: 1 / -1;
}

.collection-block {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.collection-block-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.collection-block-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2328;
}

.collection-block-desc {
  margin-top: 10px;
  color: #5c6672;
}

.collection-points {
  margin-top: 12px;
}

.collection-map-table {
  border: 1px solid #d8dde3;
  border-radius: 6px;
  overflow: hidden;
}

.collection-map-table th:first-child {
  width: 32%;
}

.section-collection-order .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.section-collection-order .step-title {
  font-size: 15px;
}

.section-collection-order .step-desc {
  grid-column: 2 / 3;
  margin-top: 4px;
  color: #5c6672;
  font-size: 14px;
}

/* ==========================================================================
   pages · 条目字段说明
   ========================================================================== */

.page-figure {
  margin-top: 24px;
  aspect-ratio: 16 / 7;
}

.content-section + .content-section {
  margin-top: 36px;
}

.content-section > h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2328;
}

.fields-table {
  border: 1px solid #d8dde3;
  border-radius: 6px;
  overflow: hidden;
}

.fields-table .field-name {
  width: 22%;
  color: #2f6fd0;
  font-weight: 600;
  white-space: nowrap;
}

.fields-order-list .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.fields-order-list .step-title {
  font-size: 15px;
}

.fields-order-list .step-text {
  grid-column: 2 / 3;
  margin-top: 4px;
  color: #5c6672;
  font-size: 14px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compare-col {
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.compare-wrong {
  border-left: 3px solid #d8dde3;
}

.compare-right {
  border-left: 3px solid #2f6fd0;
}

.compare-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.compare-list {
  margin-top: 12px;
}

.compare-right .compare-list li::before {
  background-color: #2f6fd0;
}

.note-list {
  margin-top: 4px;
}

.section-fields-feedback .section-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* ==========================================================================
   pages · 查阅路径
   ========================================================================== */

.guide-section + .guide-section {
  margin-top: 36px;
}

.guide-section > h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2328;
}

.guide-group {
  margin-top: 20px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.guide-group-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.guide-group .step-list {
  margin-top: 12px;
}

.guide-group .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background-color: #f7f8fa;
}

.guide-group .step-name {
  font-size: 15px;
}

.guide-group .step-text {
  grid-column: 2 / 3;
  margin-top: 4px;
  color: #5c6672;
  font-size: 14px;
}

.guide-figure {
  margin-top: 20px;
  aspect-ratio: 16 / 7;
}

.step-io-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.step-io-item {
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.step-io-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
}

.step-io-input,
.step-io-result {
  margin-top: 8px;
  color: #1f2328;
  font-size: 14px;
}

.io-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-right: 8px;
  padding: 0 8px;
  border-radius: 4px;
  background-color: #eef4fc;
  color: #2f6fd0;
  font-size: 12px;
  font-weight: 600;
}

.guide-point-list {
  margin-top: 4px;
}

.guide-point strong {
  color: #1f2328;
  margin-right: 6px;
}

.scope-list {
  margin-top: 4px;
}

.scope-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 72px;
}

.error-inner {
  width: 100%;
  max-width: 720px;
  padding: 28px;
  background-color: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.error-code {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono",
    "Courier New", monospace;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #2f6fd0;
}

.error-title {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 600;
  color: #1f2328;
}

.error-text {
  margin-top: 10px;
  color: #5c6672;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.error-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #d8dde3;
}

.error-note h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
}

.error-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.error-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #2f6fd0;
  font-size: 14px;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 8px 20px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid #d8dde3;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 0 4px;
    border-bottom: 0;
    border-left: 2px solid transparent;
    padding-left: 10px;
  }

  .nav-link.is-current {
    border-bottom-color: transparent;
    border-left-color: #2f6fd0;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 26px;
  }

  .channel-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .home-main > section,
  .home-main > figure,
  .inner-main > section,
  .inner-main > div,
  .inner-main > nav,
  .inner-main > figure {
    padding: 0 16px;
  }

  .hero {
    padding: 24px 16px 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .page-title {
    font-size: 24px;
  }

  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .channel-row,
  .channel-index-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .collection-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media,
  .content-media-primary,
  .page-figure,
  .guide-figure {
    aspect-ratio: 4 / 3;
  }

  .error-inner {
    padding: 20px;
  }

  .error-code {
    font-size: 32px;
  }

  .footer-copy {
    padding: 14px 16px;
  }
}
