漫画简介与全卷章节目录
【出包王女DARKNESS(出包王女DARKNESS)· 漫画导览与全卷目录】
作者:矢吹健太朗 / 长谷见沙贵
评分:10
标签:恋爱 / 后宫 / 欢乐 / 科幻 / 校园 / 萌系 / 校园青春 / 日本漫画
在线漫画阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-774/index.html
■ 剧情简介:
梨斗出包连连的每一天回来了。
菈菈的双胞胎妹妹‧茉茉与娜娜转学到彩南高中。
为了帮助梨斗变成肉食系男孩,茉茉正策划著「打造后宫」这样的诡异计划……!?
不仅如此,还出现了神秘敌人袭击梨斗!?
📚 作品信息:作者 矢吹健太朗 / 长谷见沙贵 · 评分 10 · 共收录 18 卷 / 103 话章节目录与高清彩页/条漫预览。
■ 收录分卷(共 18 卷):
• 出包王女DARKNESS 1
• 出包王女DARKNESS 2
• 出包王女DARKNESS 3
• 出包王女DARKNESS 4
• 出包王女DARKNESS 5
• 出包王女DARKNESS 6
• 出包王女DARKNESS 7
• 出包王女DARKNESS 8
• 出包王女DARKNESS 9
• 出包王女DARKNESS 10
• 出包王女DARKNESS 11
• 出包王女DARKNESS 12
• 出包王女DARKNESS 13
• 出包王女DARKNESS 14
• 出包王女DARKNESS 15
• 出包王女DARKNESS 16
• 出包王女DARKNESS 17
• 出包王女DARKNESS 18
■ 章节目录(前 80 话 / 共 103 话):
• 第O话「Prologue~计划启动~」
• 第1话「Continue~接续~」
• 第2话「Doubt and dish~疑惑与料理~」
• 第3话「Each speculation~各自的想法~」
• 第4话「Exciting squa1l~搔动突然降临~」
• 第5话「Uneasiness~平静与不安~」
• 第6话「True smile~过去与朋友与笑容~」
• 第7话「morry~连系这份想法的事物~」
• 第8话「A Man ?Moman ?~逐渐改变的人们~」
• 番外篇「Pollen plan~妹妹的危险恋爱~」
• 附录
• 第9话「Metamorphose~转变之时⋯⋯~」
• 第10话「Sisters~幸福的发明•菈菈~」
• 第11话「True self~黑暗中的真面目~」
• 第12话 Bad mood~幸福的羁绊~!
• 番外篇「First 1ove~意识到时便是初恋?~」
• 第13话「Adhesion~无法放手?不想放手?~」
• 第14话「Past~与明日相系的记忆~」
• 第15话「Refrain~温暖~」
• 第16话「Thm right thing~何谓生存方式~」
• 番外篇「Room ~少N的想法~」
• 第17话 Trigger~爱•Q•强•化~」
• 第18话「Exchange~『我』与『我』~」
• 第19话「Nostalgia~此时此地~」
• 第20话「Uneasy~内心的迷惘~」
• 番外篇「Flower~萌生的Q感?~」
• 番外篇「The changing heart~坦率的感Q~」
• 第21话「Rain~回到一如既往的日子~」
• 第22话「After a storm comes a calm~朋友~」
• 第23话「Sunmer festival~祭典的开始~」
• 第24话「The door of fate~接著,今后~」
• 番外篇「Anxious(1)~这样没问题吗?~」
• 番外篇「Anxious(2)~烦恼的少N与哥哥~」
• 附录
• 第25话「New move~相似的二人?~」
• 第26话「Unconsciously~脑子飘飘然N心儿怦怦跳~」
• 第27话 番外篇「爆热魔法少N恭子炎」
• 第27话「Adventure~梨斗鼠的冒险~」
• 第28话「Infiltration~恭子!参见?~」
• 番外篇「it feels~忍耐的老师!~」
• 第30话「Resistance~内心虽然了解~」
• 第31话「Cleaning~华丽且M丽地~」
• 第32话「Danger~危•剑~」
• 番外篇「Adhesion~虽然没有恶意~」
• 番外篇「Mobile phone~脸红心跳☆声音~」
• 第33话「Appreciation~进展的心意~」
• 第34话「When talking~姊妹恋爱故事~」
• 第35话「Kiss~接温之后的事~」
• 第36话「Real intention~烦恼的少N们~」
• 番外篇「Suddenly~想像与现实~」
• 番外篇「Ghost story~来点恐怖的如何?~」
• 第四格剧场
• 附录
• 第37话「True character~真面目曝光?~」
• 第38话「Clinic~无法坦率~」
• 第39话「The beginning of darkness~那个时刻~」
• 第40话「Release of darkness~解放~」
• 番外篇「Moonlight~月下天使~」
• 番外篇「Photography~用力拍吧!~」
• 第41话「Prediction is impossible~失控的黑暗~」
• 第42话「Escape~相信之事~」
• 第44话「Pomer and pomer~守护之人与被守护之人~」
• 番外篇「Technique~少N之门~」
• 番外篇「Holiday~料理有几颗星?~」
• 第45话「Sister~两个兵器~」
• 第46话「The end of darkness~我讨厌SS的事~」
• 第47话「Bright future~谢谢~」
• 第48话「Re-starting~乐园(后宫)计划~」
• 番外篇「Adhesion panic~妳果然…在生气?~」
• 番外篇「Bath~洗澡水真不错⋯吧?~」
• 附录
• 第49话「Mother~过于M丽的天使~」
• 第50话「Charm~伟大的母亲~」
• 第51话「Smile baby~小婴儿大混乱~」
• 第52话「Mission date~手忙脚乱的约会~」
• 第53话「Puberty?~试著坦率一些~」
• 附录
• 第54话「First accident?~第一次的…~」
• 第55话「I think~再往前踏一步~」
• 第56话「Delight~身体与心灵的成长~」
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>出包王女DARKNESS - 在线漫画阅读器</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-774", "mangaid": "774", "zh_title": "出包王女DARKNESS", "hant_title": "出包王女DARKNESS", "en_title": "出包王女DARKNESS (Bilimanga #774)", "author": "矢吹健太朗 / 长谷见沙贵", "tags": ["恋爱", "后宫", "欢乐", "科幻", "校园", "萌系", "校园青春", "日本漫画"], "zh_desc": "梨斗出包连连的每一天回来了。\n\r\n菈菈的双胞胎妹妹‧茉茉与娜娜转学到彩南高中。\n\r\n为了帮助梨斗变成肉食系男孩,茉茉正策划著「打造后宫」这样的诡异计划……!?\n\r\n不仅如此,还出现了神秘敌人袭击梨斗!?\n\n📚 作品信息:作者 矢吹健太朗 / 长谷见沙贵 · 评分 10 · 共收录 18 卷 / 103 话章节目录与高清彩页/条漫预览。", "hant_desc": "梨斗出包連連的每一天回來了。\n\r\n菈菈的雙胞胎妹妹‧茉茉與娜娜轉學到彩南高中。\n\r\n為了幫助梨斗變成肉食系男孩,茉茉正策劃著「打造後宮」這樣的詭異計畫……!?\n\r\n不僅如此,還出現了神祕敵人襲擊梨斗!?\n\n📚 作品資訊:作者 矢吹健太朗 / 長谷見沙貴 · 評分 10 · 共收錄 18 卷 / 103 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '出包王女DARKNESS' (出包王女DARKNESS) by 矢吹健太朗 / 长谷见沙贵. Includes 18 volumes and 103 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-774/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-774/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-774/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-774/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-774/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-774/page_06.jpg"], "volumes": [{"title_hant": "出包王女DARKNESS 1", "title_zh": "出包王女DARKNESS 1", "cover_id": 1328515, "first_chap_id": 60920, "cover_url": "https://i.motiezw.com/cover/774/1328515.jpg"}, {"title_hant": "出包王女DARKNESS 2", "title_zh": "出包王女DARKNESS 2", "cover_id": 1328753, "first_chap_id": 60926, "cover_url": "https://i.motiezw.com/cover/774/1328753.jpg"}, {"title_hant": "出包王女DARKNESS 3", "title_zh": "出包王女DARKNESS 3", "cover_id": 1328968, "first_chap_id": 60933, "cover_url": "https://i.motiezw.com/cover/774/1328968.jpg"}, {"title_hant": "出包王女DARKNESS 4", "title_zh": "出包王女DARKNESS 4", "cover_id": 1329187, "first_chap_id": 60939, "cover_url": "https://i.motiezw.com/cover/774/1329187.jpg"}, {"title_hant": "出包王女DARKNESS 5", "title_zh": "出包王女DARKNESS 5", "cover_id": 1329384, "first_chap_id": 60946, "cover_url": "https://i.motiezw.com/cover/774/1329384.jpg"}, {"title_hant": "出包王女DARKNESS 6", "title_zh": "出包王女DARKNESS 6", "cover_id": 1329588, "first_chap_id": 60953, "cover_url": "https://i.motiezw.com/cover/774/1329588.jpg"}, {"title_hant": "出包王女DARKNESS 7", "title_zh": "出包王女DARKNESS 7", "cover_id": 1329794, "first_chap_id": 60961, "cover_url": "https://i.motiezw.com/cover/774/1329794.jpg"}, {"title_hant": "出包王女DARKNESS 8", "title_zh": "出包王女DARKNESS 8", "cover_id": 1329994, "first_chap_id": 60969, "cover_url": "https://i.motiezw.com/cover/774/1329994.jpg"}, {"title_hant": "出包王女DARKNESS 9", "title_zh": "出包王女DARKNESS 9", "cover_id": 1330201, "first_chap_id": 60975, "cover_url": "https://i.motiezw.com/cover/774/1330201.jpg"}, {"title_hant": "出包王女DARKNESS 10", "title_zh": "出包王女DARKNESS 10", "cover_id": 1330415, "first_chap_id": 60984, "cover_url": "https://i.motiezw.com/cover/774/1330415.jpg"}, {"title_hant": "出包王女DARKNESS 11", "title_zh": "出包王女DARKNESS 11", "cover_id": 1330613, "first_chap_id": 60991, "cover_url": "https://i.motiezw.com/cover/774/1330613.jpg"}, {"title_hant": "出包王女DARKNESS 12", "title_zh": "出包王女DARKNESS 12", "cover_id": 1330809, "first_chap_id": 60998, "cover_url": "https://i.motiezw.com/cover/774/1330809.jpg"}], "chapters": [{"cid": "60920", "title": "第O話「Prologue~計劃啟動~」", "title_zh": "第O话「Prologue~计划启动~」"}, {"cid": "60921", "title": "第1話「Continue~接續~」", "title_zh": "第1话「Continue~接续~」"}, {"cid": "60922", "title": "第2話「Doubt and dish~疑惑與料理~」", "title_zh": "第2话「Doubt and dish~疑惑与料理~」"}, {"cid": "60923", "title": "第3話「Each speculation~各自的想法~」", "title_zh": "第3话「Each speculation~各自的想法~」"}, {"cid": "60924", "title": "第4話「Exciting squa1l~搔動突然降臨~」", "title_zh": "第4话「Exciting squa1l~搔动突然降临~」"}, {"cid": "60926", "title": "第5話「Uneasiness~平靜與不安~」", "title_zh": "第5话「Uneasiness~平静与不安~」"}, {"cid": "60927", "title": "第6話「True smile~過去與朋友與笑容~」", "title_zh": "第6话「True smile~过去与朋友与笑容~」"}, {"cid": "60928", "title": "第7話「morry~連繫這份想法的事物~」", "title_zh": "第7话「morry~连系这份想法的事物~」"}, {"cid": "60929", "title": "第8話「A Man ?Moman ?~逐漸改變的人們~」", "title_zh": "第8话「A Man ?Moman ?~逐渐改变的人们~」"}, {"cid": "60930", "title": "番外篇「Pollen plan~妹妹的危險戀愛~」", "title_zh": "番外篇「Pollen plan~妹妹的危险恋爱~」"}, {"cid": "60931", "title": "附錄", "title_zh": "附录"}, {"cid": "60933", "title": "第9話「Metamorphose~轉變之時⋯⋯~」", "title_zh": "第9话「Metamorphose~转变之时⋯⋯~」"}, {"cid": "60934", "title": "第10話「Sisters~幸福的發明•菈菈~」", "title_zh": "第10话「Sisters~幸福的发明•菈菈~」"}, {"cid": "60935", "title": "第11話「True self~黑暗中的真面目~」", "title_zh": "第11话「True self~黑暗中的真面目~」"}, {"cid": "60936", "title": "第12話 Bad mood~幸福的羈絆~!", "title_zh": "第12话 Bad mood~幸福的羁绊~!"}, {"cid": "60937", "title": "番外篇「First 1ove~意識到時便是初戀?~」", "title_zh": "番外篇「First 1ove~意识到时便是初恋?~」"}, {"cid": "60939", "title": "第13話「Adhesion~無法放手?不想放手?~」", "title_zh": "第13话「Adhesion~无法放手?不想放手?~」"}, {"cid": "60940", "title": "第14話「Past~與明日相繫的記憶~」", "title_zh": "第14话「Past~与明日相系的记忆~」"}, {"cid": "60941", "title": "第15話「Refrain~溫暖~」", "title_zh": "第15话「Refrain~温暖~」"}, {"cid": "60942", "title": "第16話「Thm right thing~何謂生存方式~」", "title_zh": "第16话「Thm right thing~何谓生存方式~」"}, {"cid": "60944", "title": "番外篇「Room ~少N的想法~」", "title_zh": "番外篇「Room ~少N的想法~」"}, {"cid": "60946", "title": "第17話 Trigger~愛•Q•強•化~」", "title_zh": "第17话 Trigger~爱•Q•强•化~」"}, {"cid": "60947", "title": "第18話「Exchange~『我』與『我』~」", "title_zh": "第18话「Exchange~『我』与『我』~」"}, {"cid": "60948", "title": "第19話「Nostalgia~此時此地~」", "title_zh": "第19话「Nostalgia~此时此地~」"}, {"cid": "60949", "title": "第20話「Uneasy~內心的迷惘~」", "title_zh": "第20话「Uneasy~内心的迷惘~」"}, {"cid": "60950", "title": "番外篇「Flower~萌生的Q感?~」", "title_zh": "番外篇「Flower~萌生的Q感?~」"}, {"cid": "60951", "title": "番外篇「The changing heart~坦率的感Q~」", "title_zh": "番外篇「The changing heart~坦率的感Q~」"}, {"cid": "60953", "title": "第21話「Rain~回到一如既往的日子~」", "title_zh": "第21话「Rain~回到一如既往的日子~」"}, {"cid": "60954", "title": "第22話「After a storm comes a calm~朋友~」", "title_zh": "第22话「After a storm comes a calm~朋友~」"}, {"cid": "60955", "title": "第23話「Sunmer festival~祭典的開始~」", "title_zh": "第23话「Sunmer festival~祭典的开始~」"}, {"cid": "60956", "title": "第24話「The door of fate~接著,今後~」", "title_zh": "第24话「The door of fate~接著,今后~」"}, {"cid": "60957", "title": "番外篇「Anxious(1)~這樣沒問題嗎?~」", "title_zh": "番外篇「Anxious(1)~这样没问题吗?~」"}, {"cid": "60958", "title": "番外篇「Anxious(2)~煩惱的少N與哥哥~」", "title_zh": "番外篇「Anxious(2)~烦恼的少N与哥哥~」"}, {"cid": "60959", "title": "附錄", "title_zh": "附录"}, {"cid": "60961", "title": "第25話「New move~相似的二人?~」", "title_zh": "第25话「New move~相似的二人?~」"}, {"cid": "60962", "title": "第26話「Unconsciously~腦子飄飄然N心兒怦怦跳~」", "title_zh": "第26话「Unconsciously~脑子飘飘然N心儿怦怦跳~」"}, {"cid": "60963", "title": "第27話 番外篇「爆熱魔法少N恭子炎」", "title_zh": "第27话 番外篇「爆热魔法少N恭子炎」"}, {"cid": "60964", "title": "第27話「Adventure~梨斗鼠的冒險~」", "title_zh": "第27话「Adventure~梨斗鼠的冒险~」"}, {"cid": "60965", "title": "第28話「Infiltration~恭子!參見?~」", "title_zh": "第28话「Infiltration~恭子!参见?~」"}, {"cid": "60966", "title": "番外篇「it feels~忍耐的老師!~」", "title_zh": "番外篇「it feels~忍耐的老师!~」"}, {"cid": "60969", "title": "第30話「Resistance~內心雖然了解~」", "title_zh": "第30话「Resistance~内心虽然了解~」"}, {"cid": "60970", "title": "第31話「Cleaning~華麗且M麗地~」", "title_zh": "第31话「Cleaning~华丽且M丽地~」"}, {"cid": "60971", "title": "第32話「Danger~危•劍~」", "title_zh": "第32话「Danger~危•剑~」"}, {"cid": "60972", "title": "番外篇「Adhesion~雖然沒有惡意~」", "title_zh": "番外篇「Adhesion~虽然没有恶意~」"}, {"cid": "60973", "title": "番外篇「Mobile phone~臉紅心跳☆聲音~」", "title_zh": "番外篇「Mobile phone~脸红心跳☆声音~」"}, {"cid": "60975", "title": "第33話「Appreciation~進展的心意~」", "title_zh": "第33话「Appreciation~进展的心意~」"}, {"cid": "60976", "title": "第34話「When talking~姊妹戀愛故事~」", "title_zh": "第34话「When talking~姊妹恋爱故事~」"}, {"cid": "60977", "title": "第35話「Kiss~接溫之後的事~」", "title_zh": "第35话「Kiss~接温之后的事~」"}, {"cid": "60978", "title": "第36話「Real intention~煩惱的少N們~」", "title_zh": "第36话「Real intention~烦恼的少N们~」"}, {"cid": "60979", "title": "番外篇「Suddenly~想像與現實~」", "title_zh": "番外篇「Suddenly~想像与现实~」"}, {"cid": "60980", "title": "番外篇「Ghost story~來點恐怖的如何?~」", "title_zh": "番外篇「Ghost story~来点恐怖的如何?~」"}, {"cid": "60981", "title": "第四格劇場", "title_zh": "第四格剧场"}, {"cid": "60982", "title": "附錄", "title_zh": "附录"}, {"cid": "60984", "title": "第37話「True character~真面目曝光?~」", "title_zh": "第37话「True character~真面目曝光?~」"}, {"cid": "60985", "title": "第38話「Clinic~無法坦率~」", "title_zh": "第38话「Clinic~无法坦率~」"}, {"cid": "60986", "title": "第39話「The beginning of darkness~那個時刻~」", "title_zh": "第39话「The beginning of darkness~那个时刻~」"}, {"cid": "60987", "title": "第40話「Release of darkness~解放~」", "title_zh": "第40话「Release of darkness~解放~」"}, {"cid": "60988", "title": "番外篇「Moonlight~月下天使~」", "title_zh": "番外篇「Moonlight~月下天使~」"}, {"cid": "60989", "title": "番外篇「Photography~用力拍吧!~」", "title_zh": "番外篇「Photography~用力拍吧!~」"}, {"cid": "60991", "title": "第41話「Prediction is impossible~失控的黑暗~」", "title_zh": "第41话「Prediction is impossible~失控的黑暗~」"}]};
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>