Back to discovery
五等分的新娘
Comic · 繁體中文

五等分的新娘

一直過著貧窮生活的資優生上杉風太郎,有一天居然得到了一個從天而降的大好打工機會,那就是當有錢人家女兒的家教。可是對象居然是自己曾經得罪過的女同學!不只如此,風太郎還發現了一個驚人的事實,他的學生不是一個人,而是如假包換的五胞胎!面對超有個性、瀕臨留級卻抗拒唸書的五胞胎,風太郎有辦法完成任務,讓她們五人順利畢業嗎? 📚 作品資訊:作者 春場葱 · 評分 9.5 · 共收錄 14 卷 / 117 話章節目錄與高清彩頁/條漫預覽。 📖 線上漫畫閱讀器:https://media.huangguodrama.ai/motion/comics/bilimanga-79/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/1009977). 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.
简体中文

漫画简介与全卷章节目录

【五等分的新娘(五等分的新娘)· 漫画导览与全卷目录】

作者:春场葱

评分:9.5

标签:校园 / 日常 / 恋爱 / 后宫 / 欢乐 / 校园青春 / 日本漫画 / 漫画

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

■ 剧情简介:

一直过著贫穷生活的资优生上杉风太郎,有一天居然得到了一个从天而降的大好打工机会,那就是当有钱人家女儿的家教。可是对象居然是自己曾经得罪过的女同学!不只如此,风太郎还发现了一个惊人的事实,他的学生不是一个人,而是如假包换的五胞胎!面对超有个性、濒临留级却抗拒念书的五胞胎,风太郎有办法完成任务,让她们五人顺利毕业吗?

📚 作品信息:作者 春场葱 · 评分 9.5 · 共收录 14 卷 / 117 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 14 卷):

• 五等分的新娘 1

• 五等分的新娘 2

• 五等分的新娘 3

• 五等分的新娘 4

• 五等分的新娘 5

• 五等分的新娘 6

• 五等分的新娘 7

• 五等分的新娘 8

• 五等分的新娘 9

• 五等分的新娘 10

• 五等分的新娘 11

• 五等分的新娘 12

• 五等分的新娘 13

• 五等分的新娘 14

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

• 第1话 五等分的新娘

• 第2话 家庭访问

• 第3话 屋顶上的告白

• 第4话 总计100分

• 第5话 问题堆积如山

• 第6话 开门

• 第7话 今天是假日①

• 第8话 今天是假日②

• 第9话 今天是假日③

• 第10话 今天是假日④

• 第11话 今天是假日⑤

• 第12话 今天是假日⑥

• 第13话 惹人喜欢的好人

• 第14话 开始的照片

• 第15话 累积的成果

• 第16话 爱逞强

• 第17话 夜晚的读书会

• 第18话 骗子当然会说谎吧

• 第19话 焦虑的死亡之路

• 第20话 期中考

• 第21话 魔法

• 第23话 6人的林间学校

• 第24话 结缘传说 第1天

• 第25话 结缘传说 第2天①

• 第26话 结缘传说 第2天②

• 第27话 结缘传说 第2天③

• 第28话 结缘传说 第2天④

• 第29话 结缘传说 第3天①

• 第30话 结缘传说 第3天②

• 第31话 结缘传说 第3天③

• 第32话 结缘传说 第2000天

• 第33话 探病遭遇

• 第34话 今天和京都的凶与共

• 第35话 侦探风太郎和五名嫌疑犯

• 第36话 慰劳感谢旅程①

• 第37话 慰劳感谢旅程②

• 第38话 在客厅的告白

• 第39话 七个再见①

• 第40话 七个再见②

• 第41话 七个再见③

• 第42话 七个再见④

• 第43话 七个再见⑤

• 第45话 七个再见⑦

• 第46话 七个再见⑧

• 第47话 七个再见⑨

• 第48话 七个再见⑩

• 第49话 七个再见⑪

• 第50话 七个再见⑫

• 第51话 初春

• 第52话 今天辛苦了①

• 第53话 今天辛苦了②

• 第54话 愚者的奋战

• 第55话 最后的考试,三玖的Q况

• 第56话 最后的考试,四叶的Q况

• 第57话 最后的考试,五月的Q况

• 第58话 最后的考试,一花的Q况

• 第59话 最后的考试,二乃的Q况

• 第60话 开始攻占

• 第61话 西式炒蛋①

• 第62话 西式炒蛋②

• 第63话 西式炒蛋③

• 第64话 西式炒蛋④

• 第65话 西式炒蛋⑤

• 第66话 西式炒蛋⑥

• 第68话 西式炒蛋⑧

• 第69话 欢迎来到3年1班

• 第70话 班长的工作

• 第71话 领先

• 第72话 班长的传闻

• 第73话 新川中岛

• 第74话 用变化球定胜负

• 第75话 五鹤报恩

• 第76话 男人之战

• 第77话 N人之战

• 第78话 姊妹大战 第一回合

• 第79话 姊妹大战 第二回合

• 第80话 姊妹大战 第三回合

• 第81话 姊妹大战 第四回合

• 第82话 姊妹大战 第五回合

• 第83话 姊妹大战 第六回合

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

# 五等分的新娘 · 首章高清画页连载预览

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

![五等分的新娘 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_01.jpg)

![五等分的新娘 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_02.jpg)

![五等分的新娘 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_03.jpg)

![五等分的新娘 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_04.jpg)

![五等分的新娘 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_05.jpg)

![五等分的新娘 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-79/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-79", "mangaid": "79", "zh_title": "五等分的新娘", "hant_title": "五等分的新娘", "en_title": "五等分的新娘 (Bilimanga #79)", "author": "春场葱", "tags": ["校园", "日常", "恋爱", "后宫", "欢乐", "校园青春", "日本漫画", "漫画"], "zh_desc": "一直过著贫穷生活的资优生上杉风太郎,有一天居然得到了一个从天而降的大好打工机会,那就是当有钱人家女儿的家教。可是对象居然是自己曾经得罪过的女同学!不只如此,风太郎还发现了一个惊人的事实,他的学生不是一个人,而是如假包换的五胞胎!面对超有个性、濒临留级却抗拒念书的五胞胎,风太郎有办法完成任务,让她们五人顺利毕业吗?\n\n📚 作品信息:作者 春场葱 · 评分 9.5 · 共收录 14 卷 / 117 话章节目录与高清彩页/条漫预览。", "hant_desc": "一直過著貧窮生活的資優生上杉風太郎,有一天居然得到了一個從天而降的大好打工機會,那就是當有錢人家女兒的家教。可是對象居然是自己曾經得罪過的女同學!不只如此,風太郎還發現了一個驚人的事實,他的學生不是一個人,而是如假包換的五胞胎!面對超有個性、瀕臨留級卻抗拒唸書的五胞胎,風太郎有辦法完成任務,讓她們五人順利畢業嗎?\n\n📚 作品資訊:作者 春場葱 · 評分 9.5 · 共收錄 14 卷 / 117 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '五等分的新娘' (五等分的新娘) by 春场葱. Includes 14 volumes and 117 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-79/page_06.jpg"], "volumes": [{"title_hant": "五等分的新娘 1", "title_zh": "五等分的新娘 1", "cover_id": 101110, "first_chap_id": 4624, "cover_url": "https://i.motiezw.com/cover/79/101110.jpg"}, {"title_hant": "五等分的新娘 2", "title_zh": "五等分的新娘 2", "cover_id": 101302, "first_chap_id": 4630, "cover_url": "https://i.motiezw.com/cover/79/101302.jpg"}, {"title_hant": "五等分的新娘 3", "title_zh": "五等分的新娘 3", "cover_id": 101494, "first_chap_id": 4640, "cover_url": "https://i.motiezw.com/cover/79/101494.jpg"}, {"title_hant": "五等分的新娘 4", "title_zh": "五等分的新娘 4", "cover_id": 101686, "first_chap_id": 4650, "cover_url": "https://i.motiezw.com/cover/79/101686.jpg"}, {"title_hant": "五等分的新娘 5", "title_zh": "五等分的新娘 5", "cover_id": 101878, "first_chap_id": 4660, "cover_url": "https://i.motiezw.com/cover/79/101878.jpg"}, {"title_hant": "五等分的新娘 6", "title_zh": "五等分的新娘 6", "cover_id": 102070, "first_chap_id": 4670, "cover_url": "https://i.motiezw.com/cover/79/102070.jpg"}, {"title_hant": "五等分的新娘 7", "title_zh": "五等分的新娘 7", "cover_id": 102262, "first_chap_id": 4680, "cover_url": "https://i.motiezw.com/cover/79/102262.jpg"}, {"title_hant": "五等分的新娘 8", "title_zh": "五等分的新娘 8", "cover_id": 102454, "first_chap_id": 4690, "cover_url": "https://i.motiezw.com/cover/79/102454.jpg"}, {"title_hant": "五等分的新娘 9", "title_zh": "五等分的新娘 9", "cover_id": 102646, "first_chap_id": 4700, "cover_url": "https://i.motiezw.com/cover/79/102646.jpg"}, {"title_hant": "五等分的新娘 10", "title_zh": "五等分的新娘 10", "cover_id": 102838, "first_chap_id": 4710, "cover_url": "https://i.motiezw.com/cover/79/102838.jpg"}, {"title_hant": "五等分的新娘 11", "title_zh": "五等分的新娘 11", "cover_id": 103030, "first_chap_id": 4720, "cover_url": "https://i.motiezw.com/cover/79/103030.jpg"}, {"title_hant": "五等分的新娘 12", "title_zh": "五等分的新娘 12", "cover_id": 103222, "first_chap_id": 4730, "cover_url": "https://i.motiezw.com/cover/79/103222.jpg"}], "chapters": [{"cid": "4624", "title": "第1話 五等分的新娘", "title_zh": "第1话 五等分的新娘"}, {"cid": "4625", "title": "第2話 家庭訪問", "title_zh": "第2话 家庭访问"}, {"cid": "4626", "title": "第3話 屋頂上的告白", "title_zh": "第3话 屋顶上的告白"}, {"cid": "4627", "title": "第4話 總計100分", "title_zh": "第4话 总计100分"}, {"cid": "4628", "title": "第5話 問題堆積如山", "title_zh": "第5话 问题堆积如山"}, {"cid": "4630", "title": "第6話 開門", "title_zh": "第6话 开门"}, {"cid": "4631", "title": "第7話 今天是假日①", "title_zh": "第7话 今天是假日①"}, {"cid": "4632", "title": "第8話 今天是假日②", "title_zh": "第8话 今天是假日②"}, {"cid": "4633", "title": "第9話 今天是假日③", "title_zh": "第9话 今天是假日③"}, {"cid": "4634", "title": "第10話 今天是假日④", "title_zh": "第10话 今天是假日④"}, {"cid": "4635", "title": "第11話 今天是假日⑤", "title_zh": "第11话 今天是假日⑤"}, {"cid": "4636", "title": "第12話 今天是假日⑥", "title_zh": "第12话 今天是假日⑥"}, {"cid": "4637", "title": "第13話 惹人喜歡的好人", "title_zh": "第13话 惹人喜欢的好人"}, {"cid": "4638", "title": "第14話 開始的照片", "title_zh": "第14话 开始的照片"}, {"cid": "4640", "title": "第15話 累積的成果", "title_zh": "第15话 累积的成果"}, {"cid": "4641", "title": "第16話 愛逞強", "title_zh": "第16话 爱逞强"}, {"cid": "4642", "title": "第17話 夜晚的讀書會", "title_zh": "第17话 夜晚的读书会"}, {"cid": "4643", "title": "第18話 騙子當然會說謊吧", "title_zh": "第18话 骗子当然会说谎吧"}, {"cid": "4644", "title": "第19話 焦慮的死亡之路", "title_zh": "第19话 焦虑的死亡之路"}, {"cid": "4645", "title": "第20話 期中考", "title_zh": "第20话 期中考"}, {"cid": "4646", "title": "第21話 魔法", "title_zh": "第21话 魔法"}, {"cid": "4648", "title": "第23話 6人的林間學校", "title_zh": "第23话 6人的林间学校"}, {"cid": "4650", "title": "第24話 結緣傳說 第1天", "title_zh": "第24话 结缘传说 第1天"}, {"cid": "4651", "title": "第25話 結緣傳說 第2天①", "title_zh": "第25话 结缘传说 第2天①"}, {"cid": "4652", "title": "第26話 結緣傳說 第2天②", "title_zh": "第26话 结缘传说 第2天②"}, {"cid": "4653", "title": "第27話 結緣傳說 第2天③", "title_zh": "第27话 结缘传说 第2天③"}, {"cid": "4654", "title": "第28話 結緣傳說 第2天④", "title_zh": "第28话 结缘传说 第2天④"}, {"cid": "4655", "title": "第29話 結緣傳說 第3天①", "title_zh": "第29话 结缘传说 第3天①"}, {"cid": "4656", "title": "第30話 結緣傳說 第3天②", "title_zh": "第30话 结缘传说 第3天②"}, {"cid": "4657", "title": "第31話 結緣傳說 第3天③", "title_zh": "第31话 结缘传说 第3天③"}, {"cid": "4658", "title": "第32話 結緣傳說 第2000天", "title_zh": "第32话 结缘传说 第2000天"}, {"cid": "4660", "title": "第33話 探病遭遇", "title_zh": "第33话 探病遭遇"}, {"cid": "4661", "title": "第34話 今天和京都的凶與共", "title_zh": "第34话 今天和京都的凶与共"}, {"cid": "4662", "title": "第35話 偵探風太郎和五名嫌疑犯", "title_zh": "第35话 侦探风太郎和五名嫌疑犯"}, {"cid": "4663", "title": "第36話 慰勞感謝旅程①", "title_zh": "第36话 慰劳感谢旅程①"}, {"cid": "4664", "title": "第37話 慰勞感謝旅程②", "title_zh": "第37话 慰劳感谢旅程②"}, {"cid": "4665", "title": "第38話 在客廳的告白", "title_zh": "第38话 在客厅的告白"}, {"cid": "4666", "title": "第39話 七個再見①", "title_zh": "第39话 七个再见①"}, {"cid": "4667", "title": "第40話 七個再見②", "title_zh": "第40话 七个再见②"}, {"cid": "4668", "title": "第41話 七個再見③", "title_zh": "第41话 七个再见③"}, {"cid": "4670", "title": "第42話 七個再見④", "title_zh": "第42话 七个再见④"}, {"cid": "4671", "title": "第43話 七個再見⑤", "title_zh": "第43话 七个再见⑤"}, {"cid": "4673", "title": "第45話 七個再見⑦", "title_zh": "第45话 七个再见⑦"}, {"cid": "4674", "title": "第46話 七個再見⑧", "title_zh": "第46话 七个再见⑧"}, {"cid": "4675", "title": "第47話 七個再見⑨", "title_zh": "第47话 七个再见⑨"}, {"cid": "4676", "title": "第48話 七個再見⑩", "title_zh": "第48话 七个再见⑩"}, {"cid": "4677", "title": "第49話 七個再見⑪", "title_zh": "第49话 七个再见⑪"}, {"cid": "4678", "title": "第50話 七個再見⑫", "title_zh": "第50话 七个再见⑫"}, {"cid": "4680", "title": "第51話 初春", "title_zh": "第51话 初春"}, {"cid": "4681", "title": "第52話 今天辛苦了①", "title_zh": "第52话 今天辛苦了①"}, {"cid": "4682", "title": "第53話 今天辛苦了②", "title_zh": "第53话 今天辛苦了②"}, {"cid": "4683", "title": "第54話 愚者的奮戰", "title_zh": "第54话 愚者的奋战"}, {"cid": "4684", "title": "第55話 最後的考試,三玖的Q況", "title_zh": "第55话 最后的考试,三玖的Q况"}, {"cid": "4685", "title": "第56話 最後的考試,四葉的Q況", "title_zh": "第56话 最后的考试,四叶的Q况"}, {"cid": "4686", "title": "第57話 最後的考試,五月的Q況", "title_zh": "第57话 最后的考试,五月的Q况"}, {"cid": "4687", "title": "第58話 最後的考試,一花的Q況", "title_zh": "第58话 最后的考试,一花的Q况"}, {"cid": "4688", "title": "第59話 最後的考試,二乃的Q況", "title_zh": "第59话 最后的考试,二乃的Q况"}, {"cid": "4690", "title": "第60話 開始攻占", "title_zh": "第60话 开始攻占"}, {"cid": "4691", "title": "第61話 西式炒蛋①", "title_zh": "第61话 西式炒蛋①"}, {"cid": "4692", "title": "第62話 西式炒蛋②", "title_zh": "第62话 西式炒蛋②"}]};

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>