Back to discovery
人渣的本愿
Comic · 简体中文

人渣的本愿

安乐冈花火和粟屋麦看起来是一对理想的高中生情侣,然而实际上两人都知道对方心有所属,并因此才在一起。花火从小时候就开始仰慕钟井鸣海,麦则是喜欢他以前的家庭教师皆川茜。同时成为了花火他们所在学校的老师的钟井和茜也缩短了距离,看著这些的花火和麦产生了和对方相近的感觉。为了无法实现的恋情,他们结为「契约恋人」,并过著将对方当作所爱之人,互相感受温暖的日子。 📚 作品信息:作者 横枪萌果 · 评分 9.7 · 共收录 9 卷 / 65 话章节目录与高清彩页/条漫预览。 📖 在线漫画阅读器:

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,已收录的视频剧集与阅读章节可直接在手机或电脑浏览器打开。
《人渣的本愿》是否已收录完整全集?
作品页仅展示当前已上线的内容,部分作品仅收录预告片或剧情简介,请以页面分集与章节列表为准。
简体中文

漫画简介与全卷章节目录

【人渣的本愿(人渣的本願)· 漫画导览与全卷目录】

作者:横枪萌果

评分:9.7

标签:校园 / 日常 / 恋爱 / NTR / 欢乐 / 爱情浪漫 / 日本漫画 / 漫画

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

■ 剧情简介:

安乐冈花火和粟屋麦看起来是一对理想的高中生情侣,然而实际上两人都知道对方心有所属,并因此才在一起。花火从小时候就开始仰慕钟井鸣海,麦则是喜欢他以前的家庭教师皆川茜。同时成为了花火他们所在学校的老师的钟井和茜也缩短了距离,看著这些的花火和麦产生了和对方相近的感觉。为了无法实现的恋情,他们结为「契约恋人」,并过著将对方当作所爱之人,互相感受温暖的日子。

📚 作品信息:作者 横枪萌果 · 评分 9.7 · 共收录 9 卷 / 65 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 9 卷):

• 人渣的本愿 1

• 人渣的本愿 2

• 人渣的本愿 3

• 人渣的本愿 4

• 人渣的本愿 5

• 人渣的本愿 6

• 人渣的本愿 7

• 人渣的本愿 8

• 人渣的本愿 9

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

• 第一话 请实现我的愿望

• 第二话 绝无仅有

• 第三话 青春生存游戏

• 第四话 高中N生安眠曲

• 第五话 DREAMING GIRL

• 番外篇 喵喵前奏曲

• 第六话 我需要这份温暖

• 第七话 Unhappy refrain

• 第八话 Prisoner Of Love

• 第九话 单恋Finally

• 第十话 youthful days

• 番外篇1

• 番外篇2

• 第十一话 千钧一发

• 第十二话 Show Me Love (Not A Dream)

• 第十三话 Bad Apple !

• 第十四话 纯爱妄想

• 第十五话 任悻、随悻、爱的玩笑

• 第十六话 言不尽意

• 番外篇

• 附录

• 第十七话 Holiday

• 第十八话 DESTRUCTION BABY

• 第十九话 浪漫街道

• 第二十话 每夜每夜每夜

• 第二十一话 青春的瞬间

• 第二十二话 谁所呼唤的海。

• 番外篇

• 第二十三话 FAKE IT

• 第二十四话 我是乐器

• 第二十五话 欢迎来到又次元

• 第二十六话 和你看电影

• 第二十七话 令人操心的Mylove

• 第二十八话 偏爱

• 番外篇

• 第二十九话 LOTS OF LOVE

• 第三十话 你喜欢的人

• 第三十一话 Sweet Refrain

• 第三十二话 Ultra soda

• 第三十三话 爱的讯息

• 第三十四话 地狱有何不好

• 第三十五话 世人皆孤独

• 附录

• 第三十六话 butterfly swimmer

• 第三十七话 窗户

• 第三十八话 壳的碎片

• 第三十九话 妳会成为恶魔或少N

• 第四十话 补丁

• 第四十一话 真实恋爱尚远

• 附录

• 第四十二话 香味与影子

• 第四十三话 寂寞的神

• 第四十四话 Digital Love

• 第四十五话 touch A

• 第四十六话 自相矛盾200

• 第四十七话 2人的故事

• 附录

• 第一话 地铁的灰姑娘

• 第二话 SUPER FOLK SONG

• 第三话 月与蛹(前篇)

• 第四话 月与蛹(后篇)

• 番外篇的番外篇 不灭之心

• 第五话 friended

• 最终话 恋

• 后记

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

# 人渣的本愿 · 首章高清画页连载预览

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

![人渣的本愿 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_01.jpg)

![人渣的本愿 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_02.jpg)

![人渣的本愿 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_03.jpg)

![人渣的本愿 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_04.jpg)

![人渣的本愿 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_05.jpg)

![人渣的本愿 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-302/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-302", "mangaid": "302", "zh_title": "人渣的本愿", "hant_title": "人渣的本願", "en_title": "人渣的本愿 (Bilimanga #302)", "author": "横枪萌果", "tags": ["校园", "日常", "恋爱", "NTR", "欢乐", "爱情浪漫", "日本漫画", "漫画"], "zh_desc": "安乐冈花火和粟屋麦看起来是一对理想的高中生情侣,然而实际上两人都知道对方心有所属,并因此才在一起。花火从小时候就开始仰慕钟井鸣海,麦则是喜欢他以前的家庭教师皆川茜。同时成为了花火他们所在学校的老师的钟井和茜也缩短了距离,看著这些的花火和麦产生了和对方相近的感觉。为了无法实现的恋情,他们结为「契约恋人」,并过著将对方当作所爱之人,互相感受温暖的日子。\n\n📚 作品信息:作者 横枪萌果 · 评分 9.7 · 共收录 9 卷 / 65 话章节目录与高清彩页/条漫预览。", "hant_desc": "安樂岡花火和粟屋麥看起來是一對理想的高中生情侶,然而實際上兩人都知道對方心有所屬,並因此才在一起。花火從小時候就開始仰慕鐘井鳴海,麥則是喜歡他以前的家庭教師皆川茜。同時成為了花火他們所在學校的老師的鐘井和茜也縮短了距離,看著這些的花火和麥產生了和對方相近的感覺。為了無法實現的戀情,他們結為「契約戀人」,並過著將對方當作所愛之人,互相感受溫暖的日子。\n\n📚 作品資訊:作者 橫槍萌果 · 評分 9.7 · 共收錄 9 卷 / 65 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '人渣的本愿' (人渣的本願) by 横枪萌果. Includes 9 volumes and 65 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-302/page_06.jpg"], "volumes": [{"title_hant": "人渣的本願 1", "title_zh": "人渣的本愿 1", "cover_id": 554276, "first_chap_id": 25565, "cover_url": "https://i.motiezw.com/cover/302/554276.jpg"}, {"title_hant": "人渣的本願 2", "title_zh": "人渣的本愿 2", "cover_id": 556304, "first_chap_id": 25660, "cover_url": "https://i.motiezw.com/cover/302/556304.jpg"}, {"title_hant": "人渣的本願 3", "title_zh": "人渣的本愿 3", "cover_id": 556485, "first_chap_id": 25668, "cover_url": "https://i.motiezw.com/cover/302/556485.jpg"}, {"title_hant": "人渣的本願 4", "title_zh": "人渣的本愿 4", "cover_id": 556674, "first_chap_id": 25677, "cover_url": "https://i.motiezw.com/cover/302/556674.jpg"}, {"title_hant": "人渣的本願 5", "title_zh": "人渣的本愿 5", "cover_id": 556855, "first_chap_id": 25685, "cover_url": "https://i.motiezw.com/cover/302/556855.jpg"}, {"title_hant": "人渣的本願 6", "title_zh": "人渣的本愿 6", "cover_id": 557046, "first_chap_id": 25693, "cover_url": "https://i.motiezw.com/cover/302/557046.jpg"}, {"title_hant": "人渣的本願 7", "title_zh": "人渣的本愿 7", "cover_id": 557227, "first_chap_id": 25702, "cover_url": "https://i.motiezw.com/cover/302/557227.jpg"}, {"title_hant": "人渣的本願 8", "title_zh": "人渣的本愿 8", "cover_id": 557400, "first_chap_id": 25710, "cover_url": "https://i.motiezw.com/cover/302/557400.jpg"}, {"title_hant": "人渣的本願 9", "title_zh": "人渣的本愿 9", "cover_id": 557600, "first_chap_id": 25718, "cover_url": "https://i.motiezw.com/cover/302/557600.jpg"}], "chapters": [{"cid": "25565", "title": "第一話 請實現我的願望", "title_zh": "第一话 请实现我的愿望"}, {"cid": "25566", "title": "第二話 絕無僅有", "title_zh": "第二话 绝无仅有"}, {"cid": "25567", "title": "第三話 青春生存遊戲", "title_zh": "第三话 青春生存游戏"}, {"cid": "25568", "title": "第四話 高中N生安眠曲", "title_zh": "第四话 高中N生安眠曲"}, {"cid": "25569", "title": "第五話 DREAMING GIRL", "title_zh": "第五话 DREAMING GIRL"}, {"cid": "25570", "title": "番外篇 喵喵前奏曲", "title_zh": "番外篇 喵喵前奏曲"}, {"cid": "25660", "title": "第六話 我需要這份溫暖", "title_zh": "第六话 我需要这份温暖"}, {"cid": "25661", "title": "第七話 Unhappy refrain", "title_zh": "第七话 Unhappy refrain"}, {"cid": "25662", "title": "第八話 Prisoner Of Love", "title_zh": "第八话 Prisoner Of Love"}, {"cid": "25663", "title": "第九話 單戀Finally", "title_zh": "第九话 单恋Finally"}, {"cid": "25664", "title": "第十話 youthful days", "title_zh": "第十话 youthful days"}, {"cid": "25665", "title": "番外篇1", "title_zh": "番外篇1"}, {"cid": "25666", "title": "番外篇2", "title_zh": "番外篇2"}, {"cid": "25668", "title": "第十一話 千鈞一髮", "title_zh": "第十一话 千钧一发"}, {"cid": "25669", "title": "第十二話 Show Me Love (Not A Dream)", "title_zh": "第十二话 Show Me Love (Not A Dream)"}, {"cid": "25670", "title": "第十三話 Bad Apple !", "title_zh": "第十三话 Bad Apple !"}, {"cid": "25671", "title": "第十四話 純愛妄想", "title_zh": "第十四话 纯爱妄想"}, {"cid": "25672", "title": "第十五話 任悻、隨悻、愛的玩笑", "title_zh": "第十五话 任悻、随悻、爱的玩笑"}, {"cid": "25673", "title": "第十六話 言不盡意", "title_zh": "第十六话 言不尽意"}, {"cid": "25674", "title": "番外篇", "title_zh": "番外篇"}, {"cid": "25675", "title": "附錄", "title_zh": "附录"}, {"cid": "25677", "title": "第十七話 Holiday", "title_zh": "第十七话 Holiday"}, {"cid": "25678", "title": "第十八話 DESTRUCTION BABY", "title_zh": "第十八话 DESTRUCTION BABY"}, {"cid": "25679", "title": "第十九話 浪漫街道", "title_zh": "第十九话 浪漫街道"}, {"cid": "25680", "title": "第二十話 每夜每夜每夜", "title_zh": "第二十话 每夜每夜每夜"}, {"cid": "25681", "title": "第二十一話 青春的瞬間", "title_zh": "第二十一话 青春的瞬间"}, {"cid": "25682", "title": "第二十二話 誰所呼喚的海。", "title_zh": "第二十二话 谁所呼唤的海。"}, {"cid": "25683", "title": "番外篇", "title_zh": "番外篇"}, {"cid": "25685", "title": "第二十三話 FAKE IT", "title_zh": "第二十三话 FAKE IT"}, {"cid": "25686", "title": "第二十四話 我是樂器", "title_zh": "第二十四话 我是乐器"}, {"cid": "25687", "title": "第二十五話 歡迎來到又次元", "title_zh": "第二十五话 欢迎来到又次元"}, {"cid": "25688", "title": "第二十六話 和你看電影", "title_zh": "第二十六话 和你看电影"}, {"cid": "25689", "title": "第二十七話 令人操心的Mylove", "title_zh": "第二十七话 令人操心的Mylove"}, {"cid": "25690", "title": "第二十八話 偏愛", "title_zh": "第二十八话 偏爱"}, {"cid": "25691", "title": "番外篇", "title_zh": "番外篇"}, {"cid": "25693", "title": "第二十九話 LOTS OF LOVE", "title_zh": "第二十九话 LOTS OF LOVE"}, {"cid": "25694", "title": "第三十話 你喜歡的人", "title_zh": "第三十话 你喜欢的人"}, {"cid": "25695", "title": "第三十一話 Sweet Refrain", "title_zh": "第三十一话 Sweet Refrain"}, {"cid": "25696", "title": "第三十二話 Ultra soda", "title_zh": "第三十二话 Ultra soda"}, {"cid": "25697", "title": "第三十三話 愛的訊息", "title_zh": "第三十三话 爱的讯息"}, {"cid": "25698", "title": "第三十四話 地獄有何不好", "title_zh": "第三十四话 地狱有何不好"}, {"cid": "25699", "title": "第三十五話 世人皆孤獨", "title_zh": "第三十五话 世人皆孤独"}, {"cid": "25700", "title": "附錄", "title_zh": "附录"}, {"cid": "25702", "title": "第三十六話 butterfly swimmer", "title_zh": "第三十六话 butterfly swimmer"}, {"cid": "25703", "title": "第三十七話 窗戶", "title_zh": "第三十七话 窗户"}, {"cid": "25704", "title": "第三十八話 殼的碎片", "title_zh": "第三十八话 壳的碎片"}, {"cid": "25705", "title": "第三十九話 妳會成為惡魔或少N", "title_zh": "第三十九话 妳会成为恶魔或少N"}, {"cid": "25706", "title": "第四十話 補丁", "title_zh": "第四十话 补丁"}, {"cid": "25707", "title": "第四十一話 真實戀愛尚遠", "title_zh": "第四十一话 真实恋爱尚远"}, {"cid": "25708", "title": "附錄", "title_zh": "附录"}, {"cid": "25710", "title": "第四十二話 香味與影子", "title_zh": "第四十二话 香味与影子"}, {"cid": "25711", "title": "第四十三話 寂寞的神", "title_zh": "第四十三话 寂寞的神"}, {"cid": "25712", "title": "第四十四話 Digital Love", "title_zh": "第四十四话 Digital Love"}, {"cid": "25713", "title": "第四十五話 touch A", "title_zh": "第四十五话 touch A"}, {"cid": "25714", "title": "第四十六話 自相矛盾200", "title_zh": "第四十六话 自相矛盾200"}, {"cid": "25715", "title": "第四十七話 2人的故事", "title_zh": "第四十七话 2人的故事"}, {"cid": "25716", "title": "附錄", "title_zh": "附录"}, {"cid": "25718", "title": "第一話 地鐵的灰姑娘", "title_zh": "第一话 地铁的灰姑娘"}, {"cid": "25719", "title": "第二話 SUPER FOLK SONG", "title_zh": "第二话 SUPER FOLK SONG"}, {"cid": "25720", "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>