/* 解说文案库总览；与 content-tech.css 共用视觉变量，仅影响 .jn-page。 */
.jn-page :where(h1, h2, h3, p, ul, ol, li) { margin: 0; padding: 0; list-style: none; }
.jn-page a { color: inherit; text-decoration: none; }

/* ---------- 深蓝标题区与文稿装饰 ---------- */
.jn-page .jn-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 48px;
    border-bottom: 1px solid #223b63;
    background: radial-gradient(ellipse at 85% 20%, #21477980, transparent 60%), #0b1937;
}
.jn-page .jn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#94baff09 1px, transparent 1px), linear-gradient(90deg, #94baff09 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(110deg, transparent 20%, #000);
    pointer-events: none;
}
.jn-page .jn-hero > .mxs-container { position: relative; padding-right: 400px; }
.jn-page .jn-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #7c96bb; font-size: 12px; line-height: 1.8; }
.jn-page .jn-crumb a { color: #8da6cb; transition: color .2s ease; }
.jn-page .jn-crumb a:hover { color: #d7eaff; }
.jn-page .jn-crumb em { color: #d1e1f6; font-style: normal; }
.jn-page .jn-hero__title { margin-top: 28px; color: #f3f8ff; font-size: 42px; font-weight: 700; line-height: 1.4; letter-spacing: -1.2px; text-wrap: balance; }
.jn-page .jn-hero__desc { margin-top: 20px; color: #bbcee8; font-size: 14px; line-height: 2; }
.jn-page .jn-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; color: #9ab9e5; font-size: 12px; line-height: 1.8; }
.jn-page .jn-hero__meta span:first-child { color: #a6e2ff; font-size: 20px; font-weight: 600; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.jn-page .jn-hero__meta i { flex: none; width: 1px; height: 14px; background: #59769f; }
.jn-page .jn-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jn-page .jn-jump a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 9px 13px; border: 1px solid #7194c34a; border-radius: 7px; background: #9fbfff0d; color: #d8e7fc; font-size: 12px; line-height: 1.6; transition: background .2s ease, border-color .2s ease; }
.jn-page .jn-jump a em { color: #88a6d2; font-size: 10px; font-style: normal; }
.jn-page .jn-jump a:hover { border-color: #67afff; background: #4b8bf429; }
.jn-page .jn-hero__art { width: 350px; height: 300px; }
.jn-page .jn-hero__art > span { background-image: url("../images/home-tech/script-stack.jpg"); mask-image: radial-gradient(ellipse 68% 68% at center, #000 38%, transparent 78%); }
.jn-page .jn-hero__art > i { border-color: #93cbff66; background: #98c9ff1a; box-shadow: 0 0 24px #2a8eff26; }
.jn-page .jn-hero__art > i:nth-child(4) { background: #67c8ff; box-shadow: 0 0 24px #43a7ff80; }

/* ---------- 五类入口：两张宽卡与三张紧凑卡 ---------- */
.jn-page .jn-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-top: 40px; counter-reset: narration-category; }
.jn-page .jn-cat { position: relative; display: flex; flex-direction: column; grid-column: span 2; min-width: 0; padding: 26px; overflow: hidden; counter-increment: narration-category; border: 1px solid #dfe7f4; border-radius: 15px; background: #fff; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.jn-page .jn-cat:nth-child(-n+2) { grid-column: span 2; }
.jn-page .jn-cat:hover { transform: translateY(-4px); border-color: #91b2eb; box-shadow: 0 14px 30px #274f8c0d; }
.jn-page .jn-cat__visual { position: relative; display: block; flex: none; height: 176px; margin: -26px -26px 24px; overflow: hidden; background: #112344; }
.jn-page .jn-cat:nth-child(-n+2) .jn-cat__visual { height: 176px; }
.jn-page .jn-cat__visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #09193644, transparent 70%), url("../images/home-tech/scenario-film.jpg") center 45% / cover; transition: transform .65s ease; }
.jn-page .jn-cat:nth-child(2) .jn-cat__visual::before { background-image: linear-gradient(0deg, #0d244a66, transparent 75%), url("../images/home-tech/script-stack.jpg"); background-position: center 48%; }
.jn-page .jn-cat:nth-child(3) .jn-cat__visual::before { background-image: linear-gradient(0deg, #141c4a66, transparent 75%), url("../images/home-tech/scenario-orbit.jpg"); background-position: center 50%; }
.jn-page .jn-cat:nth-child(4) .jn-cat__visual::before { background-image: linear-gradient(0deg, #06282e44, transparent 75%), url("../images/home-tech/scenario-novel.jpg"); background-position: center 62%; }
.jn-page .jn-cat:nth-child(5) .jn-cat__visual::before { background-image: linear-gradient(0deg, #1a0d3d66, transparent 75%), url("../images/home-tech/scenario-drama.jpg"); background-position: center 50%; }
.jn-page .jn-cat__visual::after { content: counter(narration-category, decimal-leading-zero); position: absolute; top: 18px; right: 18px; min-width: 30px; padding: 5px 8px; border: 1px solid #a3c7ff59; border-radius: 5px; background: #10244366; color: #e2efff; font: 500 11px/1.5 Consolas, monospace; text-align: center; }
.jn-page .jn-cat:hover .jn-cat__visual::before { transform: scale(1.04); }
.jn-page .jn-cat__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
.jn-page .jn-cat__title { color: #1d3455; font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: -.5px; }
.jn-page .jn-cat:nth-child(-n+2) .jn-cat__title { font-size: 24px; }
.jn-page .jn-cat__title a { transition: color .2s ease; }
.jn-page .jn-cat__title a:hover { color: var(--ui-blue); }
.jn-page .jn-cat__count { flex: none; padding: 4px 9px; border-radius: 5px; background: #edf4ff; color: #3972c8; font-size: 11px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.jn-page .jn-cat__count--empty { background: #f0f3f8; color: #78869d; }
.jn-page .jn-cat__desc { margin-top: 16px; color: var(--ui-muted); font-size: 13px; line-height: 1.95; }
.jn-page .jn-cat__genres { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.jn-page .jn-cat__genres a { display: inline-block; padding: 5px 10px; border: 1px solid #e4ebf6; border-radius: 5px; background: #f8faff; color: #617694; font-size: 11px; line-height: 1.7; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.jn-page .jn-cat__genres a:hover { border-color: #b8d2ff; background: #edf4ff; color: #2668d5; }
.jn-page .jn-cat__more { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid #e5edf7; color: var(--ui-blue); font-size: 12px; font-weight: 600; line-height: 1.8; }
.jn-page .jn-cat__more span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #f0f5ff; font-size: 16px; font-weight: 400; transition: background .2s ease, transform .2s ease; }
.jn-page .jn-cat__more:hover span { background: #e1ecff; transform: translateX(3px); }

/* ---------- 最近收录：完整标题、独立元信息与序号 ---------- */
.jn-page .jn-latest, .jn-page .jn-steps { padding-top: 56px; }
.jn-page .jn-sec-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 26px; }
.jn-page .jn-sec-head h2 { color: var(--ui-ink); font-size: 26px; font-weight: 700; line-height: 1.5; letter-spacing: -.6px; }
.jn-page .jn-sec-head p { color: var(--ui-muted); font-size: 13px; line-height: 1.9; }
.jn-page .jn-latest__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 8px 28px; border: 1px solid #dfe7f4; border-radius: 14px; background: #fff; counter-reset: narration-latest; }
.jn-page .jn-latest__list li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: start; gap: 8px 10px; min-width: 0; padding: 22px 0; border-bottom: 1px solid #e8edf6; counter-increment: narration-latest; transition: background .2s ease; }
.jn-page .jn-latest__list li::before { content: counter(narration-latest, decimal-leading-zero); grid-row: span 2; padding-top: 2px; color: #8ba7d9; font: 500 12px/1.8 Consolas, monospace; }
.jn-page .jn-latest__list li:nth-last-child(-n+2) { border-bottom-color: transparent; }
.jn-page .jn-latest__list a { display: -webkit-box; grid-column: 2; min-width: 0; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #2f4666; font-size: 14px; line-height: 1.8; transition: color .2s ease; }
.jn-page .jn-latest__list a:hover { color: var(--ui-blue); }
.jn-page .jn-latest__meta { grid-column: 2; color: #8a98ac; font-size: 11px; line-height: 1.8; }

/* ---------- 使用流程 ---------- */
.jn-page .jn-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.jn-page .jn-step { position: relative; display: flex; align-items: flex-start; gap: 20px; min-width: 0; padding: 28px 0 0; border-top: 1px solid #d9e5f6; }
.jn-page .jn-step__num { flex: none; color: #89b2f4; font: 500 42px/1.2 Arial, sans-serif; letter-spacing: -2px; }
.jn-page .jn-step__num::before { content: "0"; }
.jn-page .jn-step__body { min-width: 0; padding-top: 4px; }
.jn-page .jn-step__body h3 { color: #244063; font-size: 17px; font-weight: 600; line-height: 1.6; }
.jn-page .jn-step__body p { margin-top: 12px; color: var(--ui-muted); font-size: 13px; line-height: 1.95; }

/* ---------- 深蓝配音与改写入口 ---------- */
.jn-page .jn-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 56px; padding: 36px 40px; border: 1px solid #2b4369; border-radius: 18px; background: linear-gradient(100deg, #0d2146e6, #0b1937), url("../images/home-tech/membership-orbit.jpg") left center / cover; }
.jn-page .jn-cta h2 { color: #f0f7ff; font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: -.5px; }
.jn-page .jn-cta p { max-width: 780px; margin-top: 14px; color: #b4c9e8; font-size: 13px; line-height: 1.95; }
.jn-page .jn-cta__btns { display: flex; flex-wrap: wrap; align-items: center; flex: none; gap: 12px; }
.jn-page .jn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid #8cb2e259; border-radius: 8px; background: #8db6f017; color: #d3e7ff; font-size: 13px; font-weight: 600; line-height: 1.6; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.jn-page .jn-btn:hover { transform: translateY(-2px); border-color: #8fc2ff; background: #8db6f026; }
.jn-page .jn-btn--main { border-color: #65a7ff; background: linear-gradient(#2e8dff, #1b5cf3); color: #fff; box-shadow: inset 0 1px #a4e4ff55, 0 6px 20px #126afa29; }
.jn-page .jn-btn--main:hover { border-color: #88c9ff; background: linear-gradient(#2881f6, #1752dd); box-shadow: 0 8px 24px #287dff3b; }
.jn-page .jn-updated { padding: 26px 0 56px; color: #8a98ad; font-size: 12px; line-height: 1.9; text-align: center; }

/* ---------- 宽度适配，不改变分类入口和页面逻辑 ---------- */
@media (max-width: 1199px) {
    .jn-page .jn-hero > .mxs-container { padding-right: 300px; }
    .jn-page .jn-hero__title { font-size: 35px; }
    .jn-page .jn-hero__art { width: 270px; height: 270px; }
    .jn-page .jn-cats { gap: 18px; }
    .jn-page .jn-cat { padding: 22px; }
    .jn-page .jn-cat__visual { margin: -22px -22px 22px; }
    .jn-page .jn-cat__title { font-size: 19px; }
    .jn-page .jn-cat:nth-child(-n+2) .jn-cat__title { font-size: 22px; }
    .jn-page .jn-steps__list { gap: 24px; }
    .jn-page .jn-step { flex-direction: column; gap: 14px; }
    .jn-page .jn-cta { flex-direction: column; align-items: flex-start; gap: 26px; }
}
@media (max-width: 900px) {
    .jn-page .jn-hero > .mxs-container { padding-right: 0; }
    .jn-page .jn-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jn-page .jn-cat, .jn-page .jn-cat:nth-child(-n+2) { grid-column: auto; }
    .jn-page .jn-cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .jn-page .jn-cat__visual, .jn-page .jn-cat:nth-child(-n+2) .jn-cat__visual { height: 150px; }
    .jn-page .jn-latest__list { grid-template-columns: 1fr; gap: 0; }
    .jn-page .jn-latest__list li:nth-last-child(2) { border-bottom-color: #e8edf6; }
}
@media (max-width: 600px) {
    .jn-page .jn-hero { padding: 28px 0 36px; }
    .jn-page .jn-hero__title { margin-top: 24px; font-size: 29px; letter-spacing: -.6px; }
    .jn-page .jn-hero__desc { margin-top: 18px; font-size: 13px; }
    .jn-page .jn-hero__meta { gap: 10px 16px; font-size: 11px; }
    .jn-page .jn-hero__meta span:first-child { width: 100%; font-size: 22px; }
    .jn-page .jn-hero__meta i { display: none; }
    .jn-page .jn-jump { gap: 8px; margin-top: 24px; }
    .jn-page .jn-jump a { gap: 7px; padding: 8px 11px; font-size: 11px; }
    .jn-page .jn-jump a em { font-size: 9px; }
    .jn-page .jn-cats { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
    .jn-page .jn-cat, .jn-page .jn-cat:nth-child(-n+2), .jn-page .jn-cat:last-child:nth-child(odd) { grid-column: auto; }
    .jn-page .jn-cat__title, .jn-page .jn-cat:nth-child(-n+2) .jn-cat__title { font-size: 21px; }
    .jn-page .jn-cat__visual, .jn-page .jn-cat:nth-child(-n+2) .jn-cat__visual { height: 140px; }
    .jn-page .jn-cat__desc { margin-top: 14px; }
    .jn-page .jn-latest, .jn-page .jn-steps { padding-top: 40px; }
    .jn-page .jn-sec-head { display: block; margin-bottom: 22px; }
    .jn-page .jn-sec-head h2 { font-size: 23px; }
    .jn-page .jn-sec-head p { margin-top: 10px; font-size: 12px; }
    .jn-page .jn-latest__list { padding: 0 20px; }
    .jn-page .jn-latest__list li { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 20px 0; }
    .jn-page .jn-latest__list a { font-size: 13px; }
    .jn-page .jn-latest__meta { font-size: 10px; }
    .jn-page .jn-steps__list { grid-template-columns: 1fr; gap: 24px; }
    .jn-page .jn-step { flex-direction: row; gap: 20px; padding-top: 24px; }
    .jn-page .jn-step__num { font-size: 36px; }
    .jn-page .jn-step__body { padding-top: 0; }
    .jn-page .jn-step__body h3 { font-size: 16px; }
    .jn-page .jn-step__body p { margin-top: 10px; font-size: 12px; }
    .jn-page .jn-cta { gap: 24px; margin-top: 40px; padding: 28px 24px; }
    .jn-page .jn-cta h2 { font-size: 22px; }
    .jn-page .jn-cta__btns { width: 100%; }
    .jn-page .jn-btn { flex: 1 1 auto; padding-right: 14px; padding-left: 14px; }
    .jn-page .jn-updated { padding-bottom: 40px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .jn-page *, .jn-page *::before, .jn-page *::after { animation: none !important; transition: none !important; }
    .jn-page .jn-cat:hover, .jn-page .jn-cat:hover .jn-cat__visual::before, .jn-page .jn-btn:hover, .jn-page .jn-cat__more:hover span { transform: none; }
}
