Back to discovery
七大罪
Comic · 繁體中文

七大罪

曾經試圖顛覆王國的傳說中的逆賊‧「七大罪」,王國的中樞‧以一擋百的聖騎士們至今依然不斷在追捕他們。不過,如今心中藏著殷切想法想要尋找「七大罪」的少女出現,展開了一段足以改變世界樣貌的驚心動魄冒險!無比痛快的英雄科幻冒險故事開幕囉! 📚 作品資訊:作者 鈴木央 · 評分 10 · 共收錄 42 卷 / 382 話章節目錄與高清彩頁/條漫預覽。 📖 線上漫畫閱讀器:https://media.huangguodrama.ai/motion/comics/bilimanga-1077/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/1014689). 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-1077/index.html

■ 剧情简介:

曾经试图颠覆王国的传说中的逆贼‧「七大罪」,王国的中枢‧以一挡百的圣骑士们至今依然不断在追捕他们。不过,如今心中藏著殷切想法想要寻找「七大罪」的少女出现,展开了一段足以改变世界样貌的惊心动魄冒险!无比痛快的英雄科幻冒险故事开幕啰!

📚 作品信息:作者 铃木央 · 评分 10 · 共收录 42 卷 / 382 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 42 卷):

• 七大罪 1

• 七大罪 2

• 七大罪 3

• 七大罪 4

• 七大罪 5

• 七大罪 6

• 七大罪 7

• 七大罪 8

• 七大罪 9

• 七大罪 10

• 七大罪 11

• 七大罪 12

• 七大罪 13

• 七大罪 14

• 七大罪 15

• 七大罪 16

• 七大罪 17

• 七大罪 18

• 七大罪 19

• 七大罪 20

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

• 第1话 七大罪

• 第2话 圣骑士之剑

• 第3话 自己该做的事

• 第4话 沉睡森林之罪

• 第5话 黑暗的记忆

• 附录

• 第6话 圣骑士吉尔桑达

• 第7话 黑暗的囚犯

• 第8话 少N之梦

• 第9话 不能碰触的东西

• 第10话 看不见的恶意

• 第11话 就算妳死了也好

• 第12话 混沌之宴

• 第13话 奉献的决心

• 第14话 爆发

• 第15话 顺利重逢

• 第16话 关端的诗

• 第17话 暴风雨的预感

• 第18话 感动的重逢

• 第19话 贪心之罪

• 第20话 两条路

• 第22话 令人害怕的追踪者

• 番外篇 没有任何一样东西是白费的

• 第23话 总有一天我一定会

• 第24话 被逼入绝境的传说们

• 第25话 不介意的话就4对1吧

• 第26话 与死者们的分离

• 第27话 无Q的雨

• 第28话 危险的男人

• 第29话 黑暗的脉动

• 外传 盗贼班

• 第30话 集合吧!参加祭典的家伙

• 第31话 拜瑟尔拳头祭

• 第32话 强者蓄势待发

• 第33话 暴怒

• 第34话 梅里奥达夫对班恩

• 第35话 被剥夺的梅里奥达斯

• 第36话 一眨眼的那刹那

• 第37话 接近的邂逅

• 番外篇 她的正义

• 第38话 偶然与必然

• 第39话 经年累月的思念

• 第41话 可怕的加农砲

• 第42话 恶魔反应炉

• 第43话 危险的赌注

• 第44话 绝望的倒数

• 第45话 残暴的嘉年华

• 第46话 我们是姐妹啊

• 第47话 破坏的使者

• 第48话 可喜可贺的全数歼灭

• 第49话 逼不得已的败退

• 第50话 祭典之后

• 第51话 内心深处

• 第52话 传说的真相

• 第53话 盔甲巨人对破晓的咆哮

• 第54话 不会动的男人

• 附录

• 第55话 那个人,就是无Q

• 第56话 邪恶骑士

• 第57话 昔日的景S

• 第58话 背负的决心

• 第59话 无法判读的男人,加入

• 第60话 不断渗出的混沌

• 第61话 被迫前往的传说们

• 番外篇 他的容身之处

• 第63话 亚瑟•潘德拉刚

• 第64话 入侵王国作战!

• 第65话 无法回避的冲突

• 第66话 最初的牺牲

• 第67话 龟裂

• 第68话 压倒悻的战力差距

• 第69话 每个人都有第一次

• 第70话 罪恶的圣骑士长

• 第71话 存在于黑暗的东西

• 第72话 姗姗来运的男人

• 第73话 就算拿这条命来交换

• 外传 苦苦等候的妖精王

• 第74话 实现的约定

• 第75话 身为国王所以

• 第76话 公主们的想法

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

# 七大罪 · 首章高清画页连载预览

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

![七大罪 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_01.jpg)

![七大罪 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_02.jpg)

![七大罪 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_03.jpg)

![七大罪 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_04.jpg)

![七大罪 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_05.jpg)

![七大罪 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1077/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-1077", "mangaid": "1077", "zh_title": "七大罪", "hant_title": "七大罪", "en_title": "七大罪 (Bilimanga #1077)", "author": "铃木央", "tags": ["奇幻", "冒险", "战斗", "热血", "人外", "魔法", "恋爱", "奇幻冒险"], "zh_desc": "曾经试图颠覆王国的传说中的逆贼‧「七大罪」,王国的中枢‧以一挡百的圣骑士们至今依然不断在追捕他们。不过,如今心中藏著殷切想法想要寻找「七大罪」的少女出现,展开了一段足以改变世界样貌的惊心动魄冒险!无比痛快的英雄科幻冒险故事开幕啰!\n\n📚 作品信息:作者 铃木央 · 评分 10 · 共收录 42 卷 / 382 话章节目录与高清彩页/条漫预览。", "hant_desc": "曾經試圖顛覆王國的傳說中的逆賊‧「七大罪」,王國的中樞‧以一擋百的聖騎士們至今依然不斷在追捕他們。不過,如今心中藏著殷切想法想要尋找「七大罪」的少女出現,展開了一段足以改變世界樣貌的驚心動魄冒險!無比痛快的英雄科幻冒險故事開幕囉!\n\n📚 作品資訊:作者 鈴木央 · 評分 10 · 共收錄 42 卷 / 382 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '七大罪' (七大罪) by 铃木央. Includes 42 volumes and 382 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1077/page_06.jpg"], "volumes": [{"title_hant": "七大罪 1", "title_zh": "七大罪 1", "cover_id": 1924438, "first_chap_id": 89569, "cover_url": "https://i.motiezw.com/cover/1077/1924438.jpg"}, {"title_hant": "七大罪 2", "title_zh": "七大罪 2", "cover_id": 1924620, "first_chap_id": 89576, "cover_url": "https://i.motiezw.com/cover/1077/1924620.jpg"}, {"title_hant": "七大罪 3", "title_zh": "七大罪 3", "cover_id": 1927771, "first_chap_id": 89780, "cover_url": "https://i.motiezw.com/cover/1077/1927771.jpg"}, {"title_hant": "七大罪 4", "title_zh": "七大罪 4", "cover_id": 1927957, "first_chap_id": 89790, "cover_url": "https://i.motiezw.com/cover/1077/1927957.jpg"}, {"title_hant": "七大罪 5", "title_zh": "七大罪 5", "cover_id": 1928145, "first_chap_id": 89799, "cover_url": "https://i.motiezw.com/cover/1077/1928145.jpg"}, {"title_hant": "七大罪 6", "title_zh": "七大罪 6", "cover_id": 1928338, "first_chap_id": 89809, "cover_url": "https://i.motiezw.com/cover/1077/1928338.jpg"}, {"title_hant": "七大罪 7", "title_zh": "七大罪 7", "cover_id": 1928537, "first_chap_id": 89819, "cover_url": "https://i.motiezw.com/cover/1077/1928537.jpg"}, {"title_hant": "七大罪 8", "title_zh": "七大罪 8", "cover_id": 1928723, "first_chap_id": 89829, "cover_url": "https://i.motiezw.com/cover/1077/1928723.jpg"}, {"title_hant": "七大罪 9", "title_zh": "七大罪 9", "cover_id": 1928909, "first_chap_id": 89839, "cover_url": "https://i.motiezw.com/cover/1077/1928909.jpg"}, {"title_hant": "七大罪 10", "title_zh": "七大罪 10", "cover_id": 1929091, "first_chap_id": 89849, "cover_url": "https://i.motiezw.com/cover/1077/1929091.jpg"}, {"title_hant": "七大罪 11", "title_zh": "七大罪 11", "cover_id": 1930445, "first_chap_id": 89921, "cover_url": "https://i.motiezw.com/cover/1077/1930445.jpg"}, {"title_hant": "七大罪 12", "title_zh": "七大罪 12", "cover_id": 1930634, "first_chap_id": 89931, "cover_url": "https://i.motiezw.com/cover/1077/1930634.jpg"}], "chapters": [{"cid": "89569", "title": "第1話 七大罪", "title_zh": "第1话 七大罪"}, {"cid": "89570", "title": "第2話 聖騎士之劍", "title_zh": "第2话 圣骑士之剑"}, {"cid": "89571", "title": "第3話 自己該做的事", "title_zh": "第3话 自己该做的事"}, {"cid": "89572", "title": "第4話 沉睡森林之罪", "title_zh": "第4话 沉睡森林之罪"}, {"cid": "89573", "title": "第5話 黑暗的記憶", "title_zh": "第5话 黑暗的记忆"}, {"cid": "89574", "title": "附錄", "title_zh": "附录"}, {"cid": "89576", "title": "第6話 聖騎士吉爾桑達", "title_zh": "第6话 圣骑士吉尔桑达"}, {"cid": "89577", "title": "第7話 黑暗的囚犯", "title_zh": "第7话 黑暗的囚犯"}, {"cid": "89578", "title": "第8話 少N之夢", "title_zh": "第8话 少N之梦"}, {"cid": "89579", "title": "第9話 不能碰觸的東西", "title_zh": "第9话 不能碰触的东西"}, {"cid": "89580", "title": "第10話 看不見的惡意", "title_zh": "第10话 看不见的恶意"}, {"cid": "89581", "title": "第11話 就算妳死了也好", "title_zh": "第11话 就算妳死了也好"}, {"cid": "89582", "title": "第12話 混沌之宴", "title_zh": "第12话 混沌之宴"}, {"cid": "89583", "title": "第13話 奉獻的決心", "title_zh": "第13话 奉献的决心"}, {"cid": "89584", "title": "第14話 爆發", "title_zh": "第14话 爆发"}, {"cid": "89780", "title": "第15話 順利重逢", "title_zh": "第15话 顺利重逢"}, {"cid": "89781", "title": "第16話 關端的詩", "title_zh": "第16话 关端的诗"}, {"cid": "89782", "title": "第17話 暴風雨的預感", "title_zh": "第17话 暴风雨的预感"}, {"cid": "89783", "title": "第18話 感動的重逢", "title_zh": "第18话 感动的重逢"}, {"cid": "89784", "title": "第19話 貪心之罪", "title_zh": "第19话 贪心之罪"}, {"cid": "89785", "title": "第20話 兩條路", "title_zh": "第20话 两条路"}, {"cid": "89787", "title": "第22話 令人害怕的追蹤者", "title_zh": "第22话 令人害怕的追踪者"}, {"cid": "89788", "title": "番外篇 沒有任何一樣東西是白費的", "title_zh": "番外篇 没有任何一样东西是白费的"}, {"cid": "89790", "title": "第23話 總有一天我一定會", "title_zh": "第23话 总有一天我一定会"}, {"cid": "89791", "title": "第24話 被逼入絕境的傳說們", "title_zh": "第24话 被逼入绝境的传说们"}, {"cid": "89792", "title": "第25話 不介意的話就4對1吧", "title_zh": "第25话 不介意的话就4对1吧"}, {"cid": "89793", "title": "第26話 與死者們的分離", "title_zh": "第26话 与死者们的分离"}, {"cid": "89794", "title": "第27話 無Q的雨", "title_zh": "第27话 无Q的雨"}, {"cid": "89795", "title": "第28話 危險的男人", "title_zh": "第28话 危险的男人"}, {"cid": "89796", "title": "第29話 黑暗的脈動", "title_zh": "第29话 黑暗的脉动"}, {"cid": "89797", "title": "外傳 盗賊班", "title_zh": "外传 盗贼班"}, {"cid": "89799", "title": "第30話 集合吧!參加祭典的傢伙", "title_zh": "第30话 集合吧!参加祭典的家伙"}, {"cid": "89800", "title": "第31話 拜瑟爾拳頭祭", "title_zh": "第31话 拜瑟尔拳头祭"}, {"cid": "89801", "title": "第32話 強者蓄勢待發", "title_zh": "第32话 强者蓄势待发"}, {"cid": "89802", "title": "第33話 暴怒", "title_zh": "第33话 暴怒"}, {"cid": "89803", "title": "第34話 梅里奧達夫對班恩", "title_zh": "第34话 梅里奥达夫对班恩"}, {"cid": "89804", "title": "第35話 被剝奪的梅里奧達斯", "title_zh": "第35话 被剥夺的梅里奥达斯"}, {"cid": "89805", "title": "第36話 一眨眼的那剎那", "title_zh": "第36话 一眨眼的那刹那"}, {"cid": "89806", "title": "第37話 接近的邂逅", "title_zh": "第37话 接近的邂逅"}, {"cid": "89807", "title": "番外篇 她的正義", "title_zh": "番外篇 她的正义"}, {"cid": "89809", "title": "第38話 偶然與必然", "title_zh": "第38话 偶然与必然"}, {"cid": "89810", "title": "第39話 經年累月的思念", "title_zh": "第39话 经年累月的思念"}, {"cid": "89812", "title": "第41話 可怕的加農砲", "title_zh": "第41话 可怕的加农砲"}, {"cid": "89813", "title": "第42話 惡魔反應爐", "title_zh": "第42话 恶魔反应炉"}, {"cid": "89814", "title": "第43話 危險的賭注", "title_zh": "第43话 危险的赌注"}, {"cid": "89815", "title": "第44話 絕望的倒數", "title_zh": "第44话 绝望的倒数"}, {"cid": "89816", "title": "第45話 殘暴的嘉年華", "title_zh": "第45话 残暴的嘉年华"}, {"cid": "89817", "title": "第46話 我們是姐妹啊", "title_zh": "第46话 我们是姐妹啊"}, {"cid": "89819", "title": "第47話 破壞的使者", "title_zh": "第47话 破坏的使者"}, {"cid": "89820", "title": "第48話 可喜可賀的全數殲滅", "title_zh": "第48话 可喜可贺的全数歼灭"}, {"cid": "89821", "title": "第49話 逼不得已的敗退", "title_zh": "第49话 逼不得已的败退"}, {"cid": "89822", "title": "第50話 祭典之後", "title_zh": "第50话 祭典之后"}, {"cid": "89823", "title": "第51話 內心深處", "title_zh": "第51话 内心深处"}, {"cid": "89824", "title": "第52話 傳說的真相", "title_zh": "第52话 传说的真相"}, {"cid": "89825", "title": "第53話 盔甲巨人對破曉的咆哮", "title_zh": "第53话 盔甲巨人对破晓的咆哮"}, {"cid": "89826", "title": "第54話 不會動的男人", "title_zh": "第54话 不会动的男人"}, {"cid": "89827", "title": "附錄", "title_zh": "附录"}, {"cid": "89829", "title": "第55話 那個人,就是無Q", "title_zh": "第55话 那个人,就是无Q"}, {"cid": "89830", "title": "第56話 邪惡騎士", "title_zh": "第56话 邪恶骑士"}, {"cid": "89831", "title": "第57話 昔日的景S", "title_zh": "第57话 昔日的景S"}]};

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>