Back to discovery
美食猎人
Comic · 简体中文

美食猎人

世界进入了美食时代! IGO直属饭店的大厨‧小松接到来自局长的命令要去猎捕「凯拉巨鳄」!! 而接下这个任务的是最强的「美食猎人」特瑞科!! 两人为寻求最高级的食材,开始了一场攸关性命的旅行…!! 📚 作品信息:作者 岛袋光年 · 评分 10 · 共收录 44 卷 / 426 话章节目录与高清彩页/条漫预览。 📖 在线漫画阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-1025/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/1014700). 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-1025/index.html

■ 剧情简介:

世界进入了美食时代!

IGO直属饭店的大厨‧小松接到来自局长的命令要去猎捕「凯拉巨鳄」!!

而接下这个任务的是最强的「美食猎人」特瑞科!!

两人为寻求最高级的食材,开始了一场攸关性命的旅行…!!

📚 作品信息:作者 岛袋光年 · 评分 10 · 共收录 44 卷 / 426 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 44 卷):

• 美食猎人 1

• 美食猎人 2

• 美食猎人 3

• 美食猎人 4

• 美食猎人 5

• 美食猎人 6

• 美食猎人 7

• 美食猎人 8

• 美食猎人 9

• 美食猎人 10

• 美食猎人 11

• 美食猎人 12

• 美食猎人 13

• 美食猎人 14

• 美食猎人 15

• 美食猎人 16

• 美食猎人 17

• 美食猎人 18

• 美食猎人 19

• 美食猎人 20

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

• M食1 M食猎人•特瑞科!

• M食2 叉和刀!

• M食3 虹果实!

• M食4 钉拳!

• M食5 妖精巨猿的陷阱!

• M食6 不吃的话!

• M食7 在HOTLE GOURMET!

• 附录

• M食8 库克!!

• M食9 “四天王”的过去!!

• M食10 库克的秘密!!

• M食11 前往洞窟的深处⋯!!

• M食12 对决!恶魔大蛇

• M食13 “5连发”!!

• M食14 小松之死!?

• M食15 豚鲸!!

• M食16 捕获豚鲸!!

• M食17 实际品尝豚鲸!!

• M食18 出现的物体!!

• M食19 M食会!!

• M食20 M食研究所!!

• M食22 战斗狼!!

• M食23「欢迎光临」!!

• M食24 趁乱而来的人!!

• M食25「爱」的时间!!

• M食26 GT机体!!

• M食27 愤怒的理由!!

• M食28 你是⋯

• M食29 吃饭!!

• M食30 萨尼!!

• M食31 第1动物楼地!!

• M食32 滚石多拉姆!!

• M食33 萨尼的“开放式厨房”!!

• M食34 小松&萨尼!!

• 番外篇

• M食35 前进利卡尔高原!!

• M食36 冲啊!利卡尔岛!!

• M食37 M食会和M食细胞!!

• M食38 恶灵游戏场

• M食39 暴力象!!

• M食40 出现的男人!!

• M食41 对决&入侵!!

• M食42 死相⋯!?

• 附录

• M食44 库克,认真!!

• M食45〝王水〞!!

• M食46 死相!!

• M食47 发战争!!

• M食48 最糟糕的相遇!!

• M食49 进化的前兆!!

• M食50 限时5分钟!!

• M食51 觉悟!!

• M食52〝10连”!!

• 附录

• M食53 逃T!!

• M食54 享用利卡尔猛玛象!!

• M食55 绒毛的菜单!!

• M食56 前进植物地狱!!

• M食57 王者的遗传!!

• M食58 森林的结品!!

• M食59 享用BB玉米!!

• M食60 最后的食材!!

• M食61 射程距离!!

• 附录

• M食63 进化的结果⋯!!

• M食64 满腹都市「M食城」!!

• M食65 M食人间国宝「节乃」!!

• M食66 世纪汤!!

• M食67 节乃食堂的秘密!!

• M食68 相遇的酒店「Bar Heavy Lodge」!!

• M食69 前往「冰地狱」的航路!!

• M食70 船上的狂宴!!

• 附录

• M食71 逆风之路!!

• M食72 各自的路线!!

• M食73 M味不宜迟!!

• M食74 冒险的理由!!

• M食75 开战!!

• M食76 羽音!!

• M食77 冰点下的决战!!

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

# 美食猎人 · 首章高清画页连载预览

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

![美食猎人 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_01.jpg)

![美食猎人 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_02.jpg)

![美食猎人 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_03.jpg)

![美食猎人 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_04.jpg)

![美食猎人 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_05.jpg)

![美食猎人 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1025/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-1025", "mangaid": "1025", "zh_title": "美食猎人", "hant_title": "美食獵人", "en_title": "美食猎人 (Bilimanga #1025)", "author": "岛袋光年", "tags": ["冒险", "奇幻", "战斗", "热血", "旅行", "美食", "人外", "奇幻冒险"], "zh_desc": "世界进入了美食时代!\n\r\nIGO直属饭店的大厨‧小松接到来自局长的命令要去猎捕「凯拉巨鳄」!!\n\r\n而接下这个任务的是最强的「美食猎人」特瑞科!!\n\r\n两人为寻求最高级的食材,开始了一场攸关性命的旅行…!!\n\n📚 作品信息:作者 岛袋光年 · 评分 10 · 共收录 44 卷 / 426 话章节目录与高清彩页/条漫预览。", "hant_desc": "世界進入了美食時代!\n\r\nIGO直屬飯店的大廚‧小松接到來自局長的命令要去獵捕「凱拉巨鱷」!!\n\r\n而接下這個任務的是最強的「美食獵人」特瑞科!!\n\r\n兩人為尋求最高級的食材,開始了一場攸關性命的旅行…!!\n\n📚 作品資訊:作者 島袋光年 · 評分 10 · 共收錄 44 卷 / 426 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '美食猎人' (美食獵人) by 岛袋光年. Includes 44 volumes and 426 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1025/page_06.jpg"], "volumes": [{"title_hant": "美食獵人 1", "title_zh": "美食猎人 1", "cover_id": 1815843, "first_chap_id": 84329, "cover_url": "https://i.motiezw.com/cover/1025/1815843.jpg"}, {"title_hant": "美食獵人 2", "title_zh": "美食猎人 2", "cover_id": 1816045, "first_chap_id": 84338, "cover_url": "https://i.motiezw.com/cover/1025/1816045.jpg"}, {"title_hant": "美食獵人 3", "title_zh": "美食猎人 3", "cover_id": 1816230, "first_chap_id": 84348, "cover_url": "https://i.motiezw.com/cover/1025/1816230.jpg"}, {"title_hant": "美食獵人 4", "title_zh": "美食猎人 4", "cover_id": 1821527, "first_chap_id": 84633, "cover_url": "https://i.motiezw.com/cover/1025/1821527.jpg"}, {"title_hant": "美食獵人 5", "title_zh": "美食猎人 5", "cover_id": 1821709, "first_chap_id": 84644, "cover_url": "https://i.motiezw.com/cover/1025/1821709.jpg"}, {"title_hant": "美食獵人 6", "title_zh": "美食猎人 6", "cover_id": 1821904, "first_chap_id": 84655, "cover_url": "https://i.motiezw.com/cover/1025/1821904.jpg"}, {"title_hant": "美食獵人 7", "title_zh": "美食猎人 7", "cover_id": 1822087, "first_chap_id": 84666, "cover_url": "https://i.motiezw.com/cover/1025/1822087.jpg"}, {"title_hant": "美食獵人 8", "title_zh": "美食猎人 8", "cover_id": 1822280, "first_chap_id": 84678, "cover_url": "https://i.motiezw.com/cover/1025/1822280.jpg"}, {"title_hant": "美食獵人 9", "title_zh": "美食猎人 9", "cover_id": 1822470, "first_chap_id": 84688, "cover_url": "https://i.motiezw.com/cover/1025/1822470.jpg"}, {"title_hant": "美食獵人 10", "title_zh": "美食猎人 10", "cover_id": 1822664, "first_chap_id": 84699, "cover_url": "https://i.motiezw.com/cover/1025/1822664.jpg"}, {"title_hant": "美食獵人 11", "title_zh": "美食猎人 11", "cover_id": 1822858, "first_chap_id": 84710, "cover_url": "https://i.motiezw.com/cover/1025/1822858.jpg"}, {"title_hant": "美食獵人 12", "title_zh": "美食猎人 12", "cover_id": 1823052, "first_chap_id": 84721, "cover_url": "https://i.motiezw.com/cover/1025/1823052.jpg"}], "chapters": [{"cid": "84329", "title": "M食1 M食獵人•特瑞科!", "title_zh": "M食1 M食猎人•特瑞科!"}, {"cid": "84330", "title": "M食2 叉和刀!", "title_zh": "M食2 叉和刀!"}, {"cid": "84331", "title": "M食3 虹果實!", "title_zh": "M食3 虹果实!"}, {"cid": "84332", "title": "M食4 釘拳!", "title_zh": "M食4 钉拳!"}, {"cid": "84333", "title": "M食5 妖精巨猿的陷阱!", "title_zh": "M食5 妖精巨猿的陷阱!"}, {"cid": "84334", "title": "M食6 不吃的話!", "title_zh": "M食6 不吃的话!"}, {"cid": "84335", "title": "M食7 在HOTLE GOURMET!", "title_zh": "M食7 在HOTLE GOURMET!"}, {"cid": "84336", "title": "附錄", "title_zh": "附录"}, {"cid": "84338", "title": "M食8 庫克!!", "title_zh": "M食8 库克!!"}, {"cid": "84339", "title": "M食9 “四天王”的過去!!", "title_zh": "M食9 “四天王”的过去!!"}, {"cid": "84340", "title": "M食10 庫克的秘密!!", "title_zh": "M食10 库克的秘密!!"}, {"cid": "84341", "title": "M食11 前往洞窟的深處⋯!!", "title_zh": "M食11 前往洞窟的深处⋯!!"}, {"cid": "84342", "title": "M食12 對決!惡魔大蛇", "title_zh": "M食12 对决!恶魔大蛇"}, {"cid": "84343", "title": "M食13 “5連發”!!", "title_zh": "M食13 “5连发”!!"}, {"cid": "84344", "title": "M食14 小松之死!?", "title_zh": "M食14 小松之死!?"}, {"cid": "84345", "title": "M食15 豚鯨!!", "title_zh": "M食15 豚鲸!!"}, {"cid": "84346", "title": "M食16 捕獲豚鯨!!", "title_zh": "M食16 捕获豚鲸!!"}, {"cid": "84348", "title": "M食17 實際品嚐豚鯨!!", "title_zh": "M食17 实际品尝豚鲸!!"}, {"cid": "84349", "title": "M食18 出現的物體!!", "title_zh": "M食18 出现的物体!!"}, {"cid": "84350", "title": "M食19 M食會!!", "title_zh": "M食19 M食会!!"}, {"cid": "84351", "title": "M食20 M食研究所!!", "title_zh": "M食20 M食研究所!!"}, {"cid": "84353", "title": "M食22 戰鬥狼!!", "title_zh": "M食22 战斗狼!!"}, {"cid": "84354", "title": "M食23「歡迎光臨」!!", "title_zh": "M食23「欢迎光临」!!"}, {"cid": "84355", "title": "M食24 趁亂而來的人!!", "title_zh": "M食24 趁乱而来的人!!"}, {"cid": "84356", "title": "M食25「愛」的時間!!", "title_zh": "M食25「爱」的时间!!"}, {"cid": "84633", "title": "M食26 GT機體!!", "title_zh": "M食26 GT机体!!"}, {"cid": "84634", "title": "M食27 憤怒的理由!!", "title_zh": "M食27 愤怒的理由!!"}, {"cid": "84635", "title": "M食28 你是⋯", "title_zh": "M食28 你是⋯"}, {"cid": "84636", "title": "M食29 吃飯!!", "title_zh": "M食29 吃饭!!"}, {"cid": "84637", "title": "M食30 薩尼!!", "title_zh": "M食30 萨尼!!"}, {"cid": "84638", "title": "M食31 第1動物樓地!!", "title_zh": "M食31 第1动物楼地!!"}, {"cid": "84639", "title": "M食32 滾石多拉姆!!", "title_zh": "M食32 滚石多拉姆!!"}, {"cid": "84640", "title": "M食33 薩尼的“開放式廚房”!!", "title_zh": "M食33 萨尼的“开放式厨房”!!"}, {"cid": "84641", "title": "M食34 小松&薩尼!!", "title_zh": "M食34 小松&萨尼!!"}, {"cid": "84642", "title": "番外篇", "title_zh": "番外篇"}, {"cid": "84644", "title": "M食35 前進利卡爾高原!!", "title_zh": "M食35 前进利卡尔高原!!"}, {"cid": "84645", "title": "M食36 衝啊!利卡爾島!!", "title_zh": "M食36 冲啊!利卡尔岛!!"}, {"cid": "84646", "title": "M食37 M食會和M食細胞!!", "title_zh": "M食37 M食会和M食细胞!!"}, {"cid": "84647", "title": "M食38 惡靈遊戲場", "title_zh": "M食38 恶灵游戏场"}, {"cid": "84648", "title": "M食39 暴力象!!", "title_zh": "M食39 暴力象!!"}, {"cid": "84649", "title": "M食40 出現的男人!!", "title_zh": "M食40 出现的男人!!"}, {"cid": "84650", "title": "M食41 對決&入侵!!", "title_zh": "M食41 对决&入侵!!"}, {"cid": "84651", "title": "M食42 死相⋯!?", "title_zh": "M食42 死相⋯!?"}, {"cid": "84653", "title": "附錄", "title_zh": "附录"}, {"cid": "84655", "title": "M食44 庫克,認真!!", "title_zh": "M食44 库克,认真!!"}, {"cid": "84656", "title": "M食45〝王水〞!!", "title_zh": "M食45〝王水〞!!"}, {"cid": "84657", "title": "M食46 死相!!", "title_zh": "M食46 死相!!"}, {"cid": "84658", "title": "M食47 髮戰爭!!", "title_zh": "M食47 发战争!!"}, {"cid": "84659", "title": "M食48 最糟糕的相遇!!", "title_zh": "M食48 最糟糕的相遇!!"}, {"cid": "84660", "title": "M食49 進化的前兆!!", "title_zh": "M食49 进化的前兆!!"}, {"cid": "84661", "title": "M食50 限時5分鐘!!", "title_zh": "M食50 限时5分钟!!"}, {"cid": "84662", "title": "M食51 覺悟!!", "title_zh": "M食51 觉悟!!"}, {"cid": "84663", "title": "M食52〝10連”!!", "title_zh": "M食52〝10连”!!"}, {"cid": "84664", "title": "附錄", "title_zh": "附录"}, {"cid": "84666", "title": "M食53 逃T!!", "title_zh": "M食53 逃T!!"}, {"cid": "84667", "title": "M食54 享用利卡爾猛瑪象!!", "title_zh": "M食54 享用利卡尔猛玛象!!"}, {"cid": "84668", "title": "M食55 絨毛的菜單!!", "title_zh": "M食55 绒毛的菜单!!"}, {"cid": "84669", "title": "M食56 前進植物地獄!!", "title_zh": "M食56 前进植物地狱!!"}, {"cid": "84670", "title": "M食57 王者的遺傳!!", "title_zh": "M食57 王者的遗传!!"}, {"cid": "84671", "title": "M食58 森林的結品!!", "title_zh": "M食58 森林的结品!!"}]};

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>