Back to discovery
修罗之门
Comic · 简体中文

修罗之门

陆奥九十九,陆奥圆明流的传人,修罗的化身。生存的意义只在求得胜利。当他为肯定自己生存意义而远赴美国时,遇到了更多的强者…。 📚 作品信息:作者 川原正敏 · 评分 10 · 共收录 31 卷 / 145 话章节目录与高清彩页/条漫预览。 📖 在线漫画阅读器:

Comic

More series to watch

Explore other available series below. The reading and AI chat links lead to separate experiences; they are not additional episodes of 修罗之门.

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.

About 修罗之门

10 available images.

《修罗之门》目前收录了哪些内容?
当前目录收录状态:故事简介。具体可播放剧集、预告视频或正文章节均以本页实际展示为准。
在线观看或阅读《修罗之门》需要下载 App 吗?
无需下载安装 App,已收录的视频剧集与阅读章节可直接在手机或电脑浏览器打开。
《修罗之门》是否已收录完整全集?
作品页仅展示当前已上线的内容,部分作品仅收录预告片或剧情简介,请以页面分集与章节列表为准。
简体中文

漫画简介与全卷章节目录

【修罗之门(修羅之門)· 漫画导览与全卷目录】

作者:川原正敏

评分:10

标签:战斗 / 热血 / 奇幻 / 冒险 / 竞技 / 战斗热血 / 日本漫画 / 漫画

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

■ 剧情简介:

陆奥九十九,陆奥圆明流的传人,修罗的化身。生存的意义只在求得胜利。当他为肯定自己生存意义而远赴美国时,遇到了更多的强者…。

📚 作品信息:作者 川原正敏 · 评分 10 · 共收录 31 卷 / 145 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 31 卷):

• 修罗之门 1

• 修罗之门 2

• 修罗之门 3

• 修罗之门 4

• 修罗之门 5

• 修罗之门 6

• 修罗之门 7

• 修罗之门 8

• 修罗之门 9

• 修罗之门 10

• 修罗之门 11

• 修罗之门 12

• 修罗之门 13

• 修罗之门 14

• 修罗之门 15

• 修罗之门 16

• 修罗之门 17

• 修罗之门 18

• 修罗之门 19

• 修罗之门 20

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

• 第一话 他像何修罗

• 第二话 我的敌人是神武馆

• 第三话 四鬼龙现身

• 第四话 绝技

• 第五话 有杀意的战斗

• 第六话 秘诀

• 第七话 凄惨的特训

• 第八话 二个修罗

• 第九话 流血的死斗

• 第十话 无空波

• 第十一话 往鬼道馆

• 第十二话 市街战

• 第十三话 异种格斗技战

• 第十四话 兴奋的宿敌

• 第十五话 自尊心很强的泰国拳手

• 第十六话 给陆奥的挑战书

• 第十七话 兽!

• 第十八话 即使拳头碎裂

• 第十九话 以关节拳拳击手的身份

• 第二十话 神明的忠告

• 第二十一话 奇迹与完M

• 第二十二话 大攻防战

• 第二十三话 只是为了要作战

• 第二十四话 不败的男人

• 第二十五话 战票的贵公了

• 第二十六话 两雄、不会动摇

• 第二十七话 冷彻的大天才片山石京

• 第二十八话 秘诀被破解

• 第二十九话 像菩萨一样、像修罗一样

• 第三十话 不破圆明流?

• 第三十一话 圆明流的影子跟黑暗

• 第三十一话 圆明流的影子和黑暗

• 第三十二话 武神不会死

• 第三十三话 或是为了跟我交拳的男人们

• 第三十四话 疾风迅雷

• 第三十五话 凌驾「陆奥」的人

• 第三十六话 凌驾「陆奥」的人(续)

• 第三十七话 不破圆明流秘诀

• 第三十八话 因为我杀了大爵,所以

• 第四十话 阿利欧斯•吉鲁雷=黑S闪电

• 第四十一话 蜗居老人

• 第四十二话 非常大的赌注

• 第四十三话 赤脚的忍者少年(前)

• 第四十三话 赤脚的忍者少年(后)

• 第四十四话 重量级王座统一战

• 第四十五话 第七号男人

• 第四十六话 与爱德华休斯的邂逅

• 第四十七话 PRIDE&HATE(自大与憎恨)

• 第四十八话 NO BOXTNG

• 第四十九话 向神挑战者、被神选中者

• 第五十话 在汤姆的店里向神挑战者、被神选中者(续)

• 第五十一话 神看不见的力量

• 第五十二话 抵抗神!

• 第五十三话 FOOLISH FTGHTER(愚蠢的戦士)

• 第五十四话 名字叫修罗的神(前)

• 第五十四话 名字叫修罗的神(后)

• 第五十六话 以IN CENTRAH PARK

• 第五十六话 忧郁的日本朋友

• 第五十七话 强韧无比!(后)

• 第五十八话 阿修罗、愤怒、悲伤、意志

• 第五十九话 REAL STRONG MAN

• 第六十话 IN THE Name OF MY FATHER(关淤我的养父名字)

• 第六十一话 私 斗①

• 第六十一话 私 斗②

• 第六十二话 斗鬼、龙造寺 严①

• 第六十二话 斗鬼、龙造寺 严②

• 第六十三话 格斗家的名字代表「愚者」①

• 第六十三话 格斗家的名字代表「愚者」②

• 第六十四话 DEAD END 死路①

• 第六十四话 DEAD END 死路②

• 第六十五话 百年后的「重逢」①

• 第六十五话 百年后的「重逢」②

• 第六十六话 寂静跟嘈杂:决战的前夕①

• 第六十六话 寂静跟嘈杂:决战的前夕②

• 第六十七话 STAND AND FIGHT!①

• 第六十七话 STAND AND FIGHT!②

• 第六十八话 BODY AND SOVL①

• 第六十八话 BODY AND SOVL②

• 第七十话 讨厌的感觉①

• 第七十话 讨厌的感觉②

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

# 修罗之门 · 首章高清画页连载预览

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

![修罗之门 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_01.jpg)

![修罗之门 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_02.jpg)

![修罗之门 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_03.jpg)

![修罗之门 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_04.jpg)

![修罗之门 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_05.jpg)

![修罗之门 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-500/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-500", "mangaid": "500", "zh_title": "修罗之门", "hant_title": "修羅之門", "en_title": "修罗之门 (Bilimanga #500)", "author": "川原正敏", "tags": ["战斗", "热血", "奇幻", "冒险", "竞技", "战斗热血", "日本漫画", "漫画"], "zh_desc": "陆奥九十九,陆奥圆明流的传人,修罗的化身。生存的意义只在求得胜利。当他为肯定自己生存意义而远赴美国时,遇到了更多的强者…。\n\n📚 作品信息:作者 川原正敏 · 评分 10 · 共收录 31 卷 / 145 话章节目录与高清彩页/条漫预览。", "hant_desc": "陸奧九十九,陸奧圓明流的傳人,修羅的化身。生存的意義只在求得勝利。當他為肯定自己生存意義而遠赴美國時,遇到了更多的強者…。\n\n📚 作品資訊:作者 川原正敏 · 評分 10 · 共收錄 31 卷 / 145 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '修罗之门' (修羅之門) by 川原正敏. Includes 31 volumes and 145 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-500/page_06.jpg"], "volumes": [{"title_hant": "修羅之門 1", "title_zh": "修罗之门 1", "cover_id": 845688, "first_chap_id": 39562, "cover_url": "https://i.motiezw.com/cover/500/845688.jpg"}, {"title_hant": "修羅之門 2", "title_zh": "修罗之门 2", "cover_id": 845882, "first_chap_id": 39567, "cover_url": "https://i.motiezw.com/cover/500/845882.jpg"}, {"title_hant": "修羅之門 3", "title_zh": "修罗之门 3", "cover_id": 846076, "first_chap_id": 39572, "cover_url": "https://i.motiezw.com/cover/500/846076.jpg"}, {"title_hant": "修羅之門 4", "title_zh": "修罗之门 4", "cover_id": 846269, "first_chap_id": 39577, "cover_url": "https://i.motiezw.com/cover/500/846269.jpg"}, {"title_hant": "修羅之門 5", "title_zh": "修罗之门 5", "cover_id": 846453, "first_chap_id": 39581, "cover_url": "https://i.motiezw.com/cover/500/846453.jpg"}, {"title_hant": "修羅之門 6", "title_zh": "修罗之门 6", "cover_id": 846667, "first_chap_id": 39586, "cover_url": "https://i.motiezw.com/cover/500/846667.jpg"}, {"title_hant": "修羅之門 7", "title_zh": "修罗之门 7", "cover_id": 846895, "first_chap_id": 39591, "cover_url": "https://i.motiezw.com/cover/500/846895.jpg"}, {"title_hant": "修羅之門 8", "title_zh": "修罗之门 8", "cover_id": 847116, "first_chap_id": 39596, "cover_url": "https://i.motiezw.com/cover/500/847116.jpg"}, {"title_hant": "修羅之門 9", "title_zh": "修罗之门 9", "cover_id": 847332, "first_chap_id": 39601, "cover_url": "https://i.motiezw.com/cover/500/847332.jpg"}, {"title_hant": "修羅之門 10", "title_zh": "修罗之门 10", "cover_id": 847551, "first_chap_id": 39607, "cover_url": "https://i.motiezw.com/cover/500/847551.jpg"}, {"title_hant": "修羅之門 11", "title_zh": "修罗之门 11", "cover_id": 847776, "first_chap_id": 39612, "cover_url": "https://i.motiezw.com/cover/500/847776.jpg"}, {"title_hant": "修羅之門 12", "title_zh": "修罗之门 12", "cover_id": 847984, "first_chap_id": 39617, "cover_url": "https://i.motiezw.com/cover/500/847984.jpg"}], "chapters": [{"cid": "39562", "title": "第一話 他像何修羅", "title_zh": "第一话 他像何修罗"}, {"cid": "39563", "title": "第二話 我的敵人是神武館", "title_zh": "第二话 我的敌人是神武馆"}, {"cid": "39564", "title": "第三話 四鬼龍現身", "title_zh": "第三话 四鬼龙现身"}, {"cid": "39565", "title": "第四話 絕技", "title_zh": "第四话 绝技"}, {"cid": "39567", "title": "第五話 有殺意的戰鬥", "title_zh": "第五话 有杀意的战斗"}, {"cid": "39568", "title": "第六話 秘訣", "title_zh": "第六话 秘诀"}, {"cid": "39569", "title": "第七話 淒慘的特訓", "title_zh": "第七话 凄惨的特训"}, {"cid": "39570", "title": "第八話 二個修羅", "title_zh": "第八话 二个修罗"}, {"cid": "39572", "title": "第九話 流血的死鬥", "title_zh": "第九话 流血的死斗"}, {"cid": "39573", "title": "第十話 無空波", "title_zh": "第十话 无空波"}, {"cid": "39574", "title": "第十一話 往鬼道館", "title_zh": "第十一话 往鬼道馆"}, {"cid": "39575", "title": "第十二話 市街戰", "title_zh": "第十二话 市街战"}, {"cid": "39577", "title": "第十三話 異種格鬥技戰", "title_zh": "第十三话 异种格斗技战"}, {"cid": "39578", "title": "第十四話 興奮的宿敵", "title_zh": "第十四话 兴奋的宿敌"}, {"cid": "39579", "title": "第十五話 自尊心很強的泰國拳手", "title_zh": "第十五话 自尊心很强的泰国拳手"}, {"cid": "39581", "title": "第十六話 給陸奧的挑戰書", "title_zh": "第十六话 给陆奥的挑战书"}, {"cid": "39582", "title": "第十七話 獸!", "title_zh": "第十七话 兽!"}, {"cid": "39583", "title": "第十八話 即使拳頭碎裂", "title_zh": "第十八话 即使拳头碎裂"}, {"cid": "39584", "title": "第十九話 以關節拳拳擊手的身份", "title_zh": "第十九话 以关节拳拳击手的身份"}, {"cid": "39586", "title": "第二十話 神明的忠告", "title_zh": "第二十话 神明的忠告"}, {"cid": "39587", "title": "第二十一話 奇蹟與完M", "title_zh": "第二十一话 奇迹与完M"}, {"cid": "39588", "title": "第二十二話 大攻防戰", "title_zh": "第二十二话 大攻防战"}, {"cid": "39589", "title": "第二十三話 只是爲了要作戰", "title_zh": "第二十三话 只是为了要作战"}, {"cid": "39591", "title": "第二十四話 不敗的男人", "title_zh": "第二十四话 不败的男人"}, {"cid": "39592", "title": "第二十五話 戰票的貴公了", "title_zh": "第二十五话 战票的贵公了"}, {"cid": "39593", "title": "第二十六話 兩雄、不會動搖", "title_zh": "第二十六话 两雄、不会动摇"}, {"cid": "39594", "title": "第二十七話 冷徹的大天才片山石京", "title_zh": "第二十七话 冷彻的大天才片山石京"}, {"cid": "39596", "title": "第二十八話 秘訣被破解", "title_zh": "第二十八话 秘诀被破解"}, {"cid": "39597", "title": "第二十九話 像菩薩一樣、像修羅一樣", "title_zh": "第二十九话 像菩萨一样、像修罗一样"}, {"cid": "39598", "title": "第三十話 不破圓明流?", "title_zh": "第三十话 不破圆明流?"}, {"cid": "39599", "title": "第三十一話 圓明流的影子跟黑暗", "title_zh": "第三十一话 圆明流的影子跟黑暗"}, {"cid": "39601", "title": "第三十一話 圓明流的影子和黑暗", "title_zh": "第三十一话 圆明流的影子和黑暗"}, {"cid": "39602", "title": "第三十二話 武神不會死", "title_zh": "第三十二话 武神不会死"}, {"cid": "39603", "title": "第三十三話 或是爲了跟我交拳的男人們", "title_zh": "第三十三话 或是为了跟我交拳的男人们"}, {"cid": "39604", "title": "第三十四話 疾風迅雷", "title_zh": "第三十四话 疾风迅雷"}, {"cid": "39605", "title": "第三十五話 凌駕「陸奧」的人", "title_zh": "第三十五话 凌驾「陆奥」的人"}, {"cid": "39607", "title": "第三十六話 凌駕「陸奧」的人(續)", "title_zh": "第三十六话 凌驾「陆奥」的人(续)"}, {"cid": "39608", "title": "第三十七話 不破圓明流秘訣", "title_zh": "第三十七话 不破圆明流秘诀"}, {"cid": "39609", "title": "第三十八話 因爲我殺了大爵,所以", "title_zh": "第三十八话 因为我杀了大爵,所以"}, {"cid": "39612", "title": "第四十話 阿利歐斯•吉魯雷=黑S閃電", "title_zh": "第四十话 阿利欧斯•吉鲁雷=黑S闪电"}, {"cid": "39613", "title": "第四十一話 蝸居老人", "title_zh": "第四十一话 蜗居老人"}, {"cid": "39614", "title": "第四十二話 非常大的賭注", "title_zh": "第四十二话 非常大的赌注"}, {"cid": "39615", "title": "第四十三話 赤脚的忍者少年(前)", "title_zh": "第四十三话 赤脚的忍者少年(前)"}, {"cid": "39617", "title": "第四十三話 赤脚的忍者少年(後)", "title_zh": "第四十三话 赤脚的忍者少年(后)"}, {"cid": "39618", "title": "第四十四話 重量級王座統一戰", "title_zh": "第四十四话 重量级王座统一战"}, {"cid": "39619", "title": "第四十五話 第七號男人", "title_zh": "第四十五话 第七号男人"}, {"cid": "39620", "title": "第四十六話 與愛德華休斯的邂逅", "title_zh": "第四十六话 与爱德华休斯的邂逅"}, {"cid": "39622", "title": "第四十七話 PRIDE&HATE(自大與憎恨)", "title_zh": "第四十七话 PRIDE&HATE(自大与憎恨)"}, {"cid": "39623", "title": "第四十八話 NO BOXTNG", "title_zh": "第四十八话 NO BOXTNG"}, {"cid": "39624", "title": "第四十九話 向神挑戰者、被神選中者", "title_zh": "第四十九话 向神挑战者、被神选中者"}, {"cid": "39625", "title": "第五十話 在湯姆的店裏向神挑戰者、被神選中者(續)", "title_zh": "第五十话 在汤姆的店里向神挑战者、被神选中者(续)"}, {"cid": "39639", "title": "第五十一話 神看不見的力量", "title_zh": "第五十一话 神看不见的力量"}, {"cid": "39640", "title": "第五十二話 抵抗神!", "title_zh": "第五十二话 抵抗神!"}, {"cid": "39641", "title": "第五十三話 FOOLISH FTGHTER(愚蠢的戦士)", "title_zh": "第五十三话 FOOLISH FTGHTER(愚蠢的戦士)"}, {"cid": "39642", "title": "第五十四話 名字叫修羅的神(前)", "title_zh": "第五十四话 名字叫修罗的神(前)"}, {"cid": "39644", "title": "第五十四話 名字叫修羅的神(後)", "title_zh": "第五十四话 名字叫修罗的神(后)"}, {"cid": "39645", "title": "第五十六話 以IN CENTRAH PARK", "title_zh": "第五十六话 以IN CENTRAH PARK"}, {"cid": "39646", "title": "第五十六話 憂鬱的日本朋友", "title_zh": "第五十六话 忧郁的日本朋友"}, {"cid": "39649", "title": "第五十七話 強韌無比!(後)", "title_zh": "第五十七话 强韧无比!(后)"}, {"cid": "39650", "title": "第五十八話 阿修羅、憤怒、悲傷、意志", "title_zh": "第五十八话 阿修罗、愤怒、悲伤、意志"}]};

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>