Back to discovery
聖痕煉金士
Comic · 繁體中文

聖痕煉金士

就讀聖米海洛夫學園的織部真冬撿到了一個銀髮的少年。他可以藉由吸吮聖乳而自由自在地操縱特定元素,亦即人稱〝鍊金士〞的存在。就在此刻,埋藏長達兩千年之久的聖像之謎,將點燃以這所學園為舞台的眾鍊金士之戰!! 📚 作品資訊:作者 佐藤健悦 / 吉野弘幸 · 評分 10 · 共收錄 24 卷 / 116 話章節目錄與高清彩頁/條漫預覽。 📖 線上漫畫閱讀器:https://media.huangguodrama.ai/motion/comics/bilimanga-1596/index.html

Comic

Continue With Interactive Roleplay & Novel Adaptation

Keep exploring the world of 聖痕煉金士: chat with AI characters in interactive roleplay, read full web novel adaptations, or binge multi-episode vertical dramas across the Huangguo network.

Watch and read details

Available now
10 available images
Reading language
简体中文

Content record updated .

Availability describes the media currently listed here. A preview is not a complete series; more episodes or a release schedule are not promised.

Read & Watch 聖痕煉金士 Online — FAQ

Explore 聖痕煉金士 online in your browser on Reelshorts. 10 available images.

Where can I read or watch 聖痕煉金士 online?
You can explore 聖痕煉金士 directly in your browser on Reelshorts (https://reelshorts.app/title/1014764). Current availability: 10 available images.
What other collections are available on Reelshorts?
Browse Readable Novels, Short Dramas to Watch Online, Alpha King & Fated Mate Wolf Pack Dramas, Revenge Heiress & Betrayed Wife Comeback, Secret Billionaire Baby & Hidden Identity, Best Free DramaBox & ShortMax Alternatives, Top Chinese Short Dramas with English Subtitles, and Visual Stories in the Huangguo catalog.
简体中文

漫画简介与全卷章节目录

【圣痕炼金士(聖痕煉金士)· 漫画导览与全卷目录】

作者:佐藤健悦 / 吉野弘幸

评分:10

标签:校园 / 异能 / 战斗 / 奇幻 / 后宫 / 奇幻冒险 / 日本漫画 / 漫画

在线漫画阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-1596/index.html

■ 剧情简介:

就读圣米海洛夫学园的织部真冬捡到了一个银发的少年。他可以借由吸吮圣乳而自由自在地操纵特定元素,亦即人称〝炼金士〞的存在。就在此刻,埋藏长达两千年之久的圣像之谜,将点燃以这所学园为舞台的众炼金士之战!!

📚 作品信息:作者 佐藤健悦 / 吉野弘幸 · 评分 10 · 共收录 24 卷 / 116 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 24 卷):

• 圣痕炼金士 1

• 圣痕炼金士 2

• 圣痕炼金士 3

• 圣痕炼金士 4

• 圣痕炼金士 5

• 圣痕炼金士 6

• 圣痕炼金士 7

• 圣痕炼金士 8

• 圣痕炼金士 9

• 圣痕炼金士 10

• 圣痕炼金士 11

• 圣痕炼金士 12

• 圣痕炼金士 13

• 圣痕炼金士 14

• 圣痕炼金士 15

• 圣痕炼金士 16

• 圣痕炼金士 17

• 圣痕炼金士 18

• 圣痕炼金士 19

• 圣痕炼金士 20

■ 章节目录(前 80 话 / 共 116 话):

• 第1话 撼动之夜

• 第2话 从西伯利亚来的少年

• 第3话 假面的友Q

• 第4话 黄金之影

• 序章

• 第5话 N王大人与我

• 第6话 战场的白百合

• 第7话 漂泊的玛丽亚

• 第8话 皇N之卵

• 第9话 双面的气体术士 Ⅰ

• 第10话 双面的气体术士 Ⅱ

• 第11话 双面的气体术士 Ⅲ

• 第12话 第一次(?)的看家

• 第13话 Q跟R的主人甄选

• 第14话 魔N的十字架

• 第15话 鲜血之剑

• 第16话 N皇的肖像

• 第17话 Anglo-Russian Entente

• 第18话 断罪的不死鸟

• 第20话 火叹福音

• 第21话 辻堂M由梨的忧郁

• 第22话 真冬大革命

• 第23话 筒尾蛇的陷阱

• 第24话 互相吸引的事物

• 第25话 秘密的花园

• 第26话 心跳不已☆森林学校

• 第27话 禸欲兽VS.幼N王

• 第28话 水之圣堂

• 第29话 Trinity

• 第30话 雷丝玻岛的街角

• 第31话 汝、享受青春吧

• 第32话 师傅来袭!

• 第33话 Partners

• 第34话 常青之国

• 第35话 百合公主们的放学后

• 第36话 魔N的祭品

• 第37话 SNOW WING

• 外传 生日快乐

• 番外篇 圣痕☆小炼金士

• 第39话 荆棘之牢

• 第40话 狩猎魔N

• 第41话 破坏神像

• 第42话 金S森林的迷途羔羊

• 第43话 PASSING HEART

• 第44话 朋友

• 第45话 Farewell, my⋯⋯

• 第46话 Auf dem Schwarzwald

• 第47话 N皇的肖像 Ⅱ

• 第48话 重回校园

• 第49话 拥有纹章的少年

• 第50话 辻堂M由梨的叹息

• 第51话 M丽的挑战者

• 第52话 真实之貌

• 第53话 Infection —感染—

• 第54话 High school of the Puppets

• 第55话 双重陷阱

• 第56话 执行者之影

• 第57话 Brother&Sister

• 第58话 弹痕

• 第60话 灰烬与钻石

• 第61话 虚假的先导者

• 第62话 平息波动

• 第63话 该守护的事物

• 第64话 辻堂M由梨的惊愕

• 第65话 伯大尼的后裔

• 第66话 至高圣N诞辰祭揭幕

• 第67话 战斗的理由

• 第68话 回忆的迷宫

• 第69话 街角重逢

• 第70话 N皇再起

• 第71话 有力量的人

• 第72话 真相的两种面貌

• 第73话 Reviver

• 第74话 空鸟笼

• 第75话 血的恸哭

• 第76话 该前进的道路

• 第77话 innocence

• 第78话 风起之时

• 第79话 战端

• 第81话 复活者

首章高清条漫/翻页画页预览

# 圣痕炼金士 · 首章高清画页连载预览

> 在线完整下拉/翻页阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-1596/index.html

![圣痕炼金士 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_01.jpg)

![圣痕炼金士 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_02.jpg)

![圣痕炼金士 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_03.jpg)

![圣痕炼金士 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_04.jpg)

![圣痕炼金士 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_05.jpg)

![圣痕炼金士 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_06.jpg)

HTML5 在线漫画阅读器 (index.html)

<!DOCTYPE html>

<html lang="zh-CN">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=3,user-scalable=yes">

<title>圣痕炼金士 - 在线漫画阅读器</title>

<style>

*{box-sizing:border-box;margin:0;padding:0}

body{background:#0d0f17;color:#f1f5f9;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;min-height:100vh;display:flex;flex-direction:column}

header{position:sticky;top:0;z-index:50;background:rgba(13,15,23,0.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,0.09);padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}

.brand{display:flex;align-items:center;gap:10px}

.badge{background:linear-gradient(135deg,#ec4899,#8b5cf6);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:99px}

.title{font-size:16px;font-weight:700;color:#fff}

.controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

button{background:rgba(255,255,255,0.08);color:#e2e8f0;border:1px solid rgba(255,255,255,0.14);padding:6px 12px;border-radius:8px;font-size:12px;cursor:pointer;transition:.18s}

button:hover,button.active{background:#ec4899;color:#fff;border-color:#ec4899}

.hero{max-width:920px;margin:16px auto;padding:18px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:14px;display:flex;gap:18px;align-items:flex-start}

.hero img{width:120px;height:160px;object-fit:cover;border-radius:10px;flex-shrink:0;box-shadow:0 8px 24px rgba(0,0,0,0.45)}

.hero-meta h1{font-size:20px;margin-bottom:6px}

.hero-meta .sub{font-size:13px;color:#94a3b8;margin-bottom:8px}

.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}

.tag{background:rgba(236,72,153,0.16);color:#f472b6;padding:2px 8px;border-radius:6px;font-size:11px}

.desc{font-size:13px;line-height:1.6;color:#cbd5e1}

.reader-wrap{max-width:860px;width:100%;margin:0 auto 40px;padding:0 8px;flex:1}

.scroll-mode .page-card{margin-bottom:10px;background:#161925;border-radius:8px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,0.4)}

.scroll-mode .page-card img{width:100%;height:auto;display:block}

.page-footer{text-align:center;font-size:11px;color:#64748b;padding:4px 0}

.flip-controls{display:none;justify-content:center;align-items:center;gap:14px;margin:14px 0}

.flip-mode .flip-controls{display:flex}

.drawer{display:none;max-width:920px;margin:0 auto 20px;padding:16px;background:rgba(255,255,255,0.04);border-radius:12px;border:1px solid rgba(255,255,255,0.1)}

.drawer.open{display:block}

.chap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;margin-top:10px}

.chap-item{padding:8px 10px;background:rgba(255,255,255,0.06);border-radius:8px;font-size:12px;color:#e2e8f0;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.chap-item:hover{background:rgba(236,72,153,0.28)}

@media(max-width:600px){.hero{flex-direction:column;align-items:center;text-align:center}.tags{justify-content:center}}

</style>

</head>

<body>

<header>

<div class="brand">

<span class="badge">BILIMANGA · 统一媒体库</span>

<span class="title" id="hdrTitle"></span>

</div>

<div class="controls">

<button id="btnScroll" class="active" onclick="setMode('scroll')">条漫下拉模式</button>

<button id="btnFlip" onclick="setMode('flip')">单页翻页模式</button>

<button onclick="toggleCatalog()">章节目录 (<span id="chapCount">0</span>)</button>

<button onclick="cycleLang()" id="btnLang">繁/簡/EN</button>

</div>

</header>

<section class="hero">

<img id="heroCover" src="" alt="cover">

<div class="hero-meta">

<h1 id="heroTitle"></h1>

<div class="sub" id="heroSub"></div>

<div class="tags" id="heroTags"></div>

<p class="desc" id="heroDesc"></p>

</div>

</section>

<section class="drawer" id="catDrawer">

<h3 style="font-size:14px;margin-bottom:6px">全卷章节目录 (点击切换预览章节)</h3>

<div class="chap-grid" id="chapGrid"></div>

</section>

<div class="reader-wrap scroll-mode" id="readerWrap">

<div class="flip-controls">

<button onclick="stepPage(-1)">◀ 上一页</button>

<span id="pageIndicator" style="font-size:13px;color:#cbd5e1">1 / 1</span>

<button onclick="stepPage(1)">下一页 ▶</button>

</div>

<div id="pagesContainer"></div>

</div>

<script>

const COMIC = {"slug": "bilimanga-1596", "mangaid": "1596", "zh_title": "圣痕炼金士", "hant_title": "聖痕煉金士", "en_title": "圣痕炼金士 (Bilimanga #1596)", "author": "佐藤健悦 / 吉野弘幸", "tags": ["校园", "异能", "战斗", "奇幻", "后宫", "奇幻冒险", "日本漫画", "漫画"], "zh_desc": "就读圣米海洛夫学园的织部真冬捡到了一个银发的少年。他可以借由吸吮圣乳而自由自在地操纵特定元素,亦即人称〝炼金士〞的存在。就在此刻,埋藏长达两千年之久的圣像之谜,将点燃以这所学园为舞台的众炼金士之战!!\n\n📚 作品信息:作者 佐藤健悦 / 吉野弘幸 · 评分 10 · 共收录 24 卷 / 116 话章节目录与高清彩页/条漫预览。", "hant_desc": "就讀聖米海洛夫學園的織部真冬撿到了一個銀髮的少年。他可以藉由吸吮聖乳而自由自在地操縱特定元素,亦即人稱〝鍊金士〞的存在。就在此刻,埋藏長達兩千年之久的聖像之謎,將點燃以這所學園為舞台的眾鍊金士之戰!!\n\n📚 作品資訊:作者 佐藤健悦 / 吉野弘幸 · 評分 10 · 共收錄 24 卷 / 116 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '圣痕炼金士' (聖痕煉金士) by 佐藤健悦 / 吉野弘幸. Includes 24 volumes and 116 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1596/page_06.jpg"], "volumes": [{"title_hant": "聖痕煉金士 1", "title_zh": "圣痕炼金士 1", "cover_id": 2876838, "first_chap_id": 131476, "cover_url": "https://i.motiezw.com/cover/1596/2876838.jpg"}, {"title_hant": "聖痕煉金士 2", "title_zh": "圣痕炼金士 2", "cover_id": 2877035, "first_chap_id": 131482, "cover_url": "https://i.motiezw.com/cover/1596/2877035.jpg"}, {"title_hant": "聖痕煉金士 3", "title_zh": "圣痕炼金士 3", "cover_id": 2877216, "first_chap_id": 131487, "cover_url": "https://i.motiezw.com/cover/1596/2877216.jpg"}, {"title_hant": "聖痕煉金士 4", "title_zh": "圣痕炼金士 4", "cover_id": 2877404, "first_chap_id": 131493, "cover_url": "https://i.motiezw.com/cover/1596/2877404.jpg"}, {"title_hant": "聖痕煉金士 5", "title_zh": "圣痕炼金士 5", "cover_id": 2877598, "first_chap_id": 131500, "cover_url": "https://i.motiezw.com/cover/1596/2877598.jpg"}, {"title_hant": "聖痕煉金士 6", "title_zh": "圣痕炼金士 6", "cover_id": 2877781, "first_chap_id": 131505, "cover_url": "https://i.motiezw.com/cover/1596/2877781.jpg"}, {"title_hant": "聖痕煉金士 7", "title_zh": "圣痕炼金士 7", "cover_id": 2877965, "first_chap_id": 131511, "cover_url": "https://i.motiezw.com/cover/1596/2877965.jpg"}, {"title_hant": "聖痕煉金士 8", "title_zh": "圣痕炼金士 8", "cover_id": 2878153, "first_chap_id": 131517, "cover_url": "https://i.motiezw.com/cover/1596/2878153.jpg"}, {"title_hant": "聖痕煉金士 9", "title_zh": "圣痕炼金士 9", "cover_id": 2878329, "first_chap_id": 131525, "cover_url": "https://i.motiezw.com/cover/1596/2878329.jpg"}, {"title_hant": "聖痕煉金士 10", "title_zh": "圣痕炼金士 10", "cover_id": 2878516, "first_chap_id": 131530, "cover_url": "https://i.motiezw.com/cover/1596/2878516.jpg"}, {"title_hant": "聖痕煉金士 11", "title_zh": "圣痕炼金士 11", "cover_id": 2878693, "first_chap_id": 131536, "cover_url": "https://i.motiezw.com/cover/1596/2878693.jpg"}, {"title_hant": "聖痕煉金士 12", "title_zh": "圣痕炼金士 12", "cover_id": 2878879, "first_chap_id": 131542, "cover_url": "https://i.motiezw.com/cover/1596/2878879.jpg"}], "chapters": [{"cid": "131476", "title": "第1話 撼動之夜", "title_zh": "第1话 撼动之夜"}, {"cid": "131477", "title": "第2話 從西伯利亞來的少年", "title_zh": "第2话 从西伯利亚来的少年"}, {"cid": "131478", "title": "第3話 假面的友Q", "title_zh": "第3话 假面的友Q"}, {"cid": "131479", "title": "第4話 黃金之影", "title_zh": "第4话 黄金之影"}, {"cid": "131480", "title": "序章", "title_zh": "序章"}, {"cid": "131482", "title": "第5話 N王大人與我", "title_zh": "第5话 N王大人与我"}, {"cid": "131483", "title": "第6話 戰場的白百合", "title_zh": "第6话 战场的白百合"}, {"cid": "131484", "title": "第7話 漂泊的瑪麗亞", "title_zh": "第7话 漂泊的玛丽亚"}, {"cid": "131485", "title": "第8話 皇N之卵", "title_zh": "第8话 皇N之卵"}, {"cid": "131487", "title": "第9話 雙面的氣體術士 Ⅰ", "title_zh": "第9话 双面的气体术士 Ⅰ"}, {"cid": "131488", "title": "第10話 雙面的氣體術士 Ⅱ", "title_zh": "第10话 双面的气体术士 Ⅱ"}, {"cid": "131489", "title": "第11話 雙面的氣體術士 Ⅲ", "title_zh": "第11话 双面的气体术士 Ⅲ"}, {"cid": "131490", "title": "第12話 第一次(?)的看家", "title_zh": "第12话 第一次(?)的看家"}, {"cid": "131491", "title": "第13話 Q跟R的主人甄選", "title_zh": "第13话 Q跟R的主人甄选"}, {"cid": "131493", "title": "第14話 魔N的十字架", "title_zh": "第14话 魔N的十字架"}, {"cid": "131494", "title": "第15話 鮮血之劍", "title_zh": "第15话 鲜血之剑"}, {"cid": "131495", "title": "第16話 N皇的肖像", "title_zh": "第16话 N皇的肖像"}, {"cid": "131496", "title": "第17話 Anglo-Russian Entente", "title_zh": "第17话 Anglo-Russian Entente"}, {"cid": "131497", "title": "第18話 斷罪的不死鳥", "title_zh": "第18话 断罪的不死鸟"}, {"cid": "131500", "title": "第20話 火歎福音", "title_zh": "第20话 火叹福音"}, {"cid": "131501", "title": "第21話 辻堂M由梨的憂鬱", "title_zh": "第21话 辻堂M由梨的忧郁"}, {"cid": "131502", "title": "第22話 真冬大革命", "title_zh": "第22话 真冬大革命"}, {"cid": "131503", "title": "第23話 筒尾蛇的陷阱", "title_zh": "第23话 筒尾蛇的陷阱"}, {"cid": "131505", "title": "第24話 互相吸引的事物", "title_zh": "第24话 互相吸引的事物"}, {"cid": "131506", "title": "第25話 秘密的花園", "title_zh": "第25话 秘密的花园"}, {"cid": "131507", "title": "第26話 心跳不已☆森林學校", "title_zh": "第26话 心跳不已☆森林学校"}, {"cid": "131508", "title": "第27話 禸慾獸VS.幼N王", "title_zh": "第27话 禸欲兽VS.幼N王"}, {"cid": "131509", "title": "第28話 水之聖堂", "title_zh": "第28话 水之圣堂"}, {"cid": "131511", "title": "第29話 Trinity", "title_zh": "第29话 Trinity"}, {"cid": "131512", "title": "第30話 雷絲玻島的街角", "title_zh": "第30话 雷丝玻岛的街角"}, {"cid": "131513", "title": "第31話 汝、享受青春吧", "title_zh": "第31话 汝、享受青春吧"}, {"cid": "131514", "title": "第32話 師傅來襲!", "title_zh": "第32话 师傅来袭!"}, {"cid": "131515", "title": "第33話 Partners", "title_zh": "第33话 Partners"}, {"cid": "131517", "title": "第34話 常青之國", "title_zh": "第34话 常青之国"}, {"cid": "131518", "title": "第35話 百合公主們的放學後", "title_zh": "第35话 百合公主们的放学后"}, {"cid": "131519", "title": "第36話 魔N的祭品", "title_zh": "第36话 魔N的祭品"}, {"cid": "131520", "title": "第37話 SNOW WING", "title_zh": "第37话 SNOW WING"}, {"cid": "131521", "title": "外傳 生日快樂", "title_zh": "外传 生日快乐"}, {"cid": "131522", "title": "番外篇 聖痕☆小鍊金士", "title_zh": "番外篇 圣痕☆小炼金士"}, {"cid": "131525", "title": "第39話 荊棘之牢", "title_zh": "第39话 荆棘之牢"}, {"cid": "131526", "title": "第40話 狩獵魔N", "title_zh": "第40话 狩猎魔N"}, {"cid": "131527", "title": "第41話 破壞神像", "title_zh": "第41话 破坏神像"}, {"cid": "131528", "title": "第42話 金S森林的迷途羔羊", "title_zh": "第42话 金S森林的迷途羔羊"}, {"cid": "131530", "title": "第43話 PASSING HEART", "title_zh": "第43话 PASSING HEART"}, {"cid": "131531", "title": "第44話 朋友", "title_zh": "第44话 朋友"}, {"cid": "131532", "title": "第45話 Farewell, my⋯⋯", "title_zh": "第45话 Farewell, my⋯⋯"}, {"cid": "131533", "title": "第46話 Auf dem Schwarzwald", "title_zh": "第46话 Auf dem Schwarzwald"}, {"cid": "131534", "title": "第47話 N皇的肖像 Ⅱ", "title_zh": "第47话 N皇的肖像 Ⅱ"}, {"cid": "131536", "title": "第48話 重回校園", "title_zh": "第48话 重回校园"}, {"cid": "131537", "title": "第49話 擁有紋章的少年", "title_zh": "第49话 拥有纹章的少年"}, {"cid": "131538", "title": "第50話 辻堂M由梨的嘆息", "title_zh": "第50话 辻堂M由梨的叹息"}, {"cid": "131539", "title": "第51話 M麗的挑戰者", "title_zh": "第51话 M丽的挑战者"}, {"cid": "131540", "title": "第52話 真實之貌", "title_zh": "第52话 真实之貌"}, {"cid": "131542", "title": "第53話 Infection —感染—", "title_zh": "第53话 Infection —感染—"}, {"cid": "131543", "title": "第54話 High school of the Puppets", "title_zh": "第54话 High school of the Puppets"}, {"cid": "131544", "title": "第55話 雙重陷阱", "title_zh": "第55话 双重陷阱"}, {"cid": "131545", "title": "第56話 執行者之影", "title_zh": "第56话 执行者之影"}, {"cid": "131546", "title": "第57話 Brother&Sister", "title_zh": "第57话 Brother&Sister"}, {"cid": "131548", "title": "第58話 彈痕", "title_zh": "第58话 弹痕"}, {"cid": "131550", "title": "第60話 灰燼與鑽石", "title_zh": "第60话 灰烬与钻石"}]};

let lang = 'zh';

let mode = 'scroll';

let curPage = 0;

function renderMeta() {

const t = lang === 'zh' ? COMIC.zh_title : (lang === 'hant' ? COMIC.hant_title : COMIC.en_title);

const d = lang === 'zh' ? COMIC.zh_desc : (lang === 'hant' ? COMIC.hant_desc : COMIC.en_desc);

document.getElementById('hdrTitle').textContent = t;

document.getElementById('heroTitle').textContent = t;

document.getElementById('heroSub').textContent = `${COMIC.author} · 共 ${COMIC.volumes.length} 卷 / ${COMIC.chapters.length} 话`;

document.getElementById('heroDesc').textContent = d;

document.getElementById('heroCover').src = COMIC.pages[0] || '';

document.getElementById('chapCount').textContent = COMIC.chapters.length;

const tg = document.getElementById('heroTags');

tg.innerHTML = '';

(COMIC.tags || []).forEach(x => {

const s = document.createElement('span');

s.className = 'tag';

s.textContent = x;

tg.appendChild(s);

});

}

function renderCatalog() {

const g = document.getElementById('chapGrid');

g.innerHTML = '';

(COMIC.chapters || []).forEach((c, idx) => {

const d = document.createElement('div');

d.className = 'chap-item';

d.textContent = c.title_zh || c.title;

d.onclick = () => {

curPage = idx % COMIC.pages.length;

if (mode === 'flip') renderPages();

else document.querySelectorAll('.page-card')[curPage]?.scrollIntoView({behavior:'smooth'});

document.getElementById('catDrawer').classList.remove('open');

};

g.appendChild(d);

});

}

function renderPages() {

const wrap = document.getElementById('readerWrap');

wrap.className = 'reader-wrap ' + (mode === 'scroll' ? 'scroll-mode' : 'flip-mode');

const box = document.getElementById('pagesContainer');

box.innerHTML = '';

const list = mode === 'scroll' ? COMIC.pages : [COMIC.pages[curPage]];

list.forEach((url, i) => {

const idx = mode === 'scroll' ? i : curPage;

const card = document.createElement('div');

card.className = 'page-card';

card.innerHTML = `<img src="${url}" loading="lazy" alt="Page ${idx+1}"><div class="page-footer">第 ${idx+1} / ${COMIC.pages.length} 页 · ${COMIC.zh_title}</div>`;

if (mode === 'flip') card.onclick = () => stepPage(1);

box.appendChild(card);

});

document.getElementById('pageIndicator').textContent = `${curPage + 1} / ${COMIC.pages.length}`;

}

function setMode(m) {

mode = m;

document.getElementById('btnScroll').classList.toggle('active', m === 'scroll');

document.getElementById('btnFlip').classList.toggle('active', m === 'flip');

renderPages();

}

function stepPage(delta) {

curPage = (curPage + delta + COMIC.pages.length) % COMIC.pages.length;

renderPages();

}

function toggleCatalog() {

document.getElementById('catDrawer').classList.toggle('open');

}

function cycleLang() {

lang = lang === 'zh' ? 'hant' : (lang === 'hant' ? 'en' : 'zh');

renderMeta();

}

renderMeta();

renderCatalog();

renderPages();

</script>

</body>

</html>