Back to discovery
合租公寓的她们:三十天去留投票
Interactive · 简体中文

合租公寓的她们:三十天去留投票

你继承了已故姑婆的老洋房,却发现里面住着空姐、女主播和急诊女医生三位租客。租约写明:一个月后由她们投票决定你能否留下。门缝里不断出现署名“房东”的神秘来信,而你明明才是房东。 🎬 在线互动短剧入口:https://media.huangguodrama.ai/motion/interactive/shared-apartment/index.html

Interactive

Now playing

Original audio

Confirm you are 18 or older to enable playback.

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
4 available images · preview available
Audio
Not specified
Preview runtime
Not recorded
Preview subtitles
No subtitle tracks listed
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. 4 available images · preview available.

Where can I read or watch 合租公寓的她们:三十天去留投票 online?
You can explore 合租公寓的她们:三十天去留投票 directly in your browser on Reelshorts (https://reelshorts.app/title/1005222). Current availability: 4 available images · preview available.
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.
简体中文

互动短剧分支指南与在线入口

【合租公寓的她们:三十天去留投票 · 互动短剧分支指南】

来源/类型:Wan-3 原创真人分支互动剧 (16节点)

在线互动播放器:https://media.huangguodrama.ai/motion/interactive/shared-apartment/index.html

总节点数:19 个视频分支节点

■ 剧情简介:

你继承了已故姑婆的老洋房,却发现里面住着空姐、女主播和急诊女医生三位租客。租约写明:一个月后由她们投票决定你能否留下。门缝里不断出现署名“房东”的神秘来信,而你明明才是房东。

■ 完整分支节点图谱:

• [open] 三位租客,你先去找谁? —— 选项/结局:去找温柔的空姐温以宁 / 去找撩人的女主播江蜜 / 去找高冷的女医生秦霜 / 三个都想要 (https://media.huangguodrama.ai/motion/interactive/shared-apartment/open-6dc749756feb5b36.mp4)

• [a1] 深夜她落地回家还要给大家包饺子,你会? —— 选项/结局:让她顺便也给你包一份,边包边聊 / 夺下她的围裙,按她坐下,换你来煮 (https://media.huangguodrama.ai/motion/drama-episodes/09a39724cd400e271b36fecce8d5b7f65af010523c04b5449433f3fffa329bff.mp4)

• [a_bad] 只是客气的房客 —— 选项/结局:[BAD END] (https://media.huangguodrama.ai/motion/drama-episodes/09a48fac667795dd10614c629033c06880b2871e2fa6bee4d4bf30d50472468d.mp4)

• [a2] 她要调去迪拜常驻三年,你会? —— 选项/结局:去机场,把一把家门钥匙交到她手里 / 尊重她的前程,笑着祝她一路顺风 (https://media.huangguodrama.ai/motion/drama-episodes/0a13b4094de5f55108c801376b74ffa5ddec4c426b3f87ff34f080091a152944.mp4)

• [a_ne] 万米高空的告别 —— 选项/结局:[NORMAL END] (https://media.huangguodrama.ai/motion/drama-episodes/0a73e2f657d47800c6023da32f7179ca31e8afbc5a3cdb86e3740043d0311f45.mp4)

• [a_he] 这次换我等你 —— 选项/结局:[HAPPY END] (https://media.huangguodrama.ai/motion/drama-episodes/0a78063e4edeb9a84eea3fbcb58edb1fe8fc4cf83f4b0eb85a2828ee889f1369.mp4)

• [b1] 她拉你上直播,还收到一条神秘私信,你会? —— 选项/结局:关掉镜头,认真问她是不是遇到难处了 / 对着直播间开玩笑:她要把我卖了换钱 (https://media.huangguodrama.ai/motion/drama-episodes/0ab061ab438961acf1ecf632082ed9484fdf242bc68758b0fdf36bc00d1da68a.mp4)

• [b_bad] 被剪上热搜的房东 —— 选项/结局:[BAD END] (https://media.huangguodrama.ai/motion/drama-episodes/0af8ae360375f21f0c683d0bc7e81acfcf1bc7ef87d658726da26532eb3047f3.mp4)

• [b2] 公司逼她直播否认你,你会? —— 选项/结局:劝她先保住合约,就说你只是房东 / 告诉她:关掉美颜,我就在镜头后面 (https://media.huangguodrama.ai/motion/drama-episodes/0b161ca30dc77746fccda15ae3e54b9b6767ef301767c8acdb68fe0a3527ebf0.mp4)

• [b_ne] 屏幕外的心动 —— 选项/结局:[NORMAL END] (https://media.huangguodrama.ai/motion/drama-episodes/0b2e72b251f53477b729320c5cf7486daebe02c477a10d43d1a78c8f858406ae.mp4)

• [b_he] 关掉美颜的告白 —— 选项/结局:[HAPPY END] (https://media.huangguodrama.ai/motion/drama-episodes/0b5b9e812daa745326dc3326f676b65fa8450f0f4f406b67f021d1ce6925eb20.mp4)

• [c1] 凌晨三点她独自坐在楼梯上,你会? —— 选项/结局:追问她:你是不是认识我姑婆? / 什么都不问,陪她在楼梯上坐到天亮 (https://media.huangguodrama.ai/motion/drama-episodes/0b606829cc0314df1f82846c8144d77ceb91b677bc8474ded13080567c7b0e2f.mp4)

• [c_bad] 冰点以下 —— 选项/结局:[BAD END] (https://media.huangguodrama.ai/motion/drama-episodes/0b67b55a7526bb06f9d3f6190d61349e088c87ebb9343a9ec6702c7229d08261.mp4)

• [c2] 她想一个人扛下医疗纠纷,你会? —— 选项/结局:尊重她,让她一个人静一静 / 拎起她的行李,陪她回医院面对 (https://media.huangguodrama.ai/motion/drama-episodes/0b6daf501994d0543dfeac76e77d7f1548d69a23c5b0556820cbce1cea22abc7.mp4)

• [c_ne] 留在门口的钥匙 —— 选项/结局:[NORMAL END] (https://media.huangguodrama.ai/motion/drama-episodes/0b781615997cffd4ad2b18343e6d92514a38a4284543c6279e19a52ad6ee4ab2.mp4)

• [c_he] 急诊室的黎明 —— 选项/结局:[HAPPY END] (https://media.huangguodrama.ai/motion/drama-episodes/0b7ecbef7c70b20173b4340e4b8b010aa1c0f7c41c98ce551c62f3ac2d645242.mp4)

• [harem1] 投票之夜,三人逼你表态,你会? —— 选项/结局:说出她们每个人的好:我想留下的是这个家 / 说:你们谁投我留下,我就选谁 (https://media.huangguodrama.ai/motion/drama-episodes/0baa56b58b4322116e27abc96607972a931744ee02d9f1ce6af57d5bb7e1d376.mp4)

• [harem_bad] 空荡荡的洋房 —— 选项/结局:[BAD END] (https://media.huangguodrama.ai/motion/drama-episodes/0bfb820de2647ff6665e69ea074ce4a083ce2ae4914d333a56110ed58c0d56a0.mp4)

• [harem_true] 真正的房东 —— 选项/结局:[TRUE END] (https://media.huangguodrama.ai/motion/drama-episodes/0c02ae277be2e494d2728cb9a3541ce7003c966d459e21e2bb03e7cd0c1659d6.mp4)

分支剧情节点图谱 (JSON Graph)

{

"slug": "shared-apartment",

"title": "合租公寓的她们:三十天去留投票",

"en_title": "Something's Off About My Flatmates",

"player_url": "https://media.huangguodrama.ai/motion/interactive/shared-apartment/index.html",

"start": "open",

"nodes": {

"open": {

"id": "open",

"title": "三位租客,你先去找谁?",

"act": 1,

"route": "主线",

"video": "https://media.huangguodrama.ai/motion/interactive/shared-apartment/open-6dc749756feb5b36.mp4",

"ending": false,

"choices": [

{

"label": "去找温柔的空姐温以宁",

"to": "a1"

},

{

"label": "去找撩人的女主播江蜜",

"to": "b1"

},

{

"label": "去找高冷的女医生秦霜",

"to": "c1"

},

{

"label": "三个都想要",

"to": "harem1"

}

]

},

"a1": {

"id": "a1",

"title": "深夜她落地回家还要给大家包饺子,你会?",

"act": 2,

"route": "温以宁",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/09a39724cd400e271b36fecce8d5b7f65af010523c04b5449433f3fffa329bff.mp4",

"ending": false,

"choices": [

{

"label": "让她顺便也给你包一份,边包边聊",

"to": "a_bad"

},

{

"label": "夺下她的围裙,按她坐下,换你来煮",

"to": "a2"

}

]

},

"a_bad": {

"id": "a_bad",

"title": "只是客气的房客",

"act": 1,

"route": "温以宁",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/09a48fac667795dd10614c629033c06880b2871e2fa6bee4d4bf30d50472468d.mp4",

"ending": "BAD END",

"choices": []

},

"a2": {

"id": "a2",

"title": "她要调去迪拜常驻三年,你会?",

"act": 3,

"route": "温以宁",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0a13b4094de5f55108c801376b74ffa5ddec4c426b3f87ff34f080091a152944.mp4",

"ending": false,

"choices": [

{

"label": "去机场,把一把家门钥匙交到她手里",

"to": "a_he"

},

{

"label": "尊重她的前程,笑着祝她一路顺风",

"to": "a_ne"

}

]

},

"a_ne": {

"id": "a_ne",

"title": "万米高空的告别",

"act": 1,

"route": "温以宁",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0a73e2f657d47800c6023da32f7179ca31e8afbc5a3cdb86e3740043d0311f45.mp4",

"ending": "NORMAL END",

"choices": []

},

"a_he": {

"id": "a_he",

"title": "这次换我等你",

"act": 1,

"route": "温以宁",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0a78063e4edeb9a84eea3fbcb58edb1fe8fc4cf83f4b0eb85a2828ee889f1369.mp4",

"ending": "HAPPY END",

"choices": []

},

"b1": {

"id": "b1",

"title": "她拉你上直播,还收到一条神秘私信,你会?",

"act": 2,

"route": "江蜜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0ab061ab438961acf1ecf632082ed9484fdf242bc68758b0fdf36bc00d1da68a.mp4",

"ending": false,

"choices": [

{

"label": "关掉镜头,认真问她是不是遇到难处了",

"to": "b2"

},

{

"label": "对着直播间开玩笑:她要把我卖了换钱",

"to": "b_bad"

}

]

},

"b_bad": {

"id": "b_bad",

"title": "被剪上热搜的房东",

"act": 1,

"route": "江蜜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0af8ae360375f21f0c683d0bc7e81acfcf1bc7ef87d658726da26532eb3047f3.mp4",

"ending": "BAD END",

"choices": []

},

"b2": {

"id": "b2",

"title": "公司逼她直播否认你,你会?",

"act": 3,

"route": "江蜜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b161ca30dc77746fccda15ae3e54b9b6767ef301767c8acdb68fe0a3527ebf0.mp4",

"ending": false,

"choices": [

{

"label": "劝她先保住合约,就说你只是房东",

"to": "b_ne"

},

{

"label": "告诉她:关掉美颜,我就在镜头后面",

"to": "b_he"

}

]

},

"b_ne": {

"id": "b_ne",

"title": "屏幕外的心动",

"act": 1,

"route": "江蜜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b2e72b251f53477b729320c5cf7486daebe02c477a10d43d1a78c8f858406ae.mp4",

"ending": "NORMAL END",

"choices": []

},

"b_he": {

"id": "b_he",

"title": "关掉美颜的告白",

"act": 1,

"route": "江蜜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b5b9e812daa745326dc3326f676b65fa8450f0f4f406b67f021d1ce6925eb20.mp4",

"ending": "HAPPY END",

"choices": []

},

"c1": {

"id": "c1",

"title": "凌晨三点她独自坐在楼梯上,你会?",

"act": 2,

"route": "秦霜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b606829cc0314df1f82846c8144d77ceb91b677bc8474ded13080567c7b0e2f.mp4",

"ending": false,

"choices": [

{

"label": "追问她:你是不是认识我姑婆?",

"to": "c_bad"

},

{

"label": "什么都不问,陪她在楼梯上坐到天亮",

"to": "c2"

}

]

},

"c_bad": {

"id": "c_bad",

"title": "冰点以下",

"act": 1,

"route": "秦霜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b67b55a7526bb06f9d3f6190d61349e088c87ebb9343a9ec6702c7229d08261.mp4",

"ending": "BAD END",

"choices": []

},

"c2": {

"id": "c2",

"title": "她想一个人扛下医疗纠纷,你会?",

"act": 3,

"route": "秦霜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b6daf501994d0543dfeac76e77d7f1548d69a23c5b0556820cbce1cea22abc7.mp4",

"ending": false,

"choices": [

{

"label": "尊重她,让她一个人静一静",

"to": "c_ne"

},

{

"label": "拎起她的行李,陪她回医院面对",

"to": "c_he"

}

]

},

"c_ne": {

"id": "c_ne",

"title": "留在门口的钥匙",

"act": 1,

"route": "秦霜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b781615997cffd4ad2b18343e6d92514a38a4284543c6279e19a52ad6ee4ab2.mp4",

"ending": "NORMAL END",

"choices": []

},

"c_he": {

"id": "c_he",

"title": "急诊室的黎明",

"act": 1,

"route": "秦霜",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0b7ecbef7c70b20173b4340e4b8b010aa1c0f7c41c98ce551c62f3ac2d645242.mp4",

"ending": "HAPPY END",

"choices": []

},

"harem1": {

"id": "harem1",

"title": "投票之夜,三人逼你表态,你会?",

"act": 4,

"route": "后宫",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0baa56b58b4322116e27abc96607972a931744ee02d9f1ce6af57d5bb7e1d376.mp4",

"ending": false,

"choices": [

{

"label": "说出她们每个人的好:我想留下的是这个家",

"to": "harem_true"

},

{

"label": "说:你们谁投我留下,我就选谁",

"to": "harem_bad"

}

]

},

"harem_bad": {

"id": "harem_bad",

"title": "空荡荡的洋房",

"act": 1,

"route": "后宫",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0bfb820de2647ff6665e69ea074ce4a083ce2ae4914d333a56110ed58c0d56a0.mp4",

"ending": "BAD END",

"choices": []

},

"harem_true": {

"id": "harem_true",

"title": "真正的房东",

"act": 1,

"route": "后宫",

"video": "https://media.huangguodrama.ai/motion/drama-episodes/0c02ae277be2e494d2728cb9a3541ce7003c966d459e21e2bb03e7cd0c1659d6.mp4",

"ending": "TRUE END",

"choices": []

}

}

}

HTML5 互动短剧独立播放器 (index.html)

<!doctype html>

<html lang="zh-CN">

<head>

<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">

<title>合租公寓的她们:三十天去留投票 · Something's Off About My Flatmates | 互动短剧播放器</title>

<style>

:root {

--bg: #0c0a12; --surface: #161222; --surface-2: #221c34;

--line: rgba(255,255,255,0.14); --text: #f8f5ff; --muted: rgba(248,245,255,0.65);

--accent: #ec4899; --accent2: #38bdf8;

--good: #34d399; --gold: #fbbf24; --bad: #f87171;

}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; min-height: 100svh; }

button { font: inherit; color: inherit; cursor: pointer; }

.app { max-width: 1024px; margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; }

.bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(22,18,34,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }

.bar h1 { flex: 1; margin: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bar .sub { font-size: 12px; color: var(--muted); margin-left: 8px; font-weight: 400; }

.chip { border: 1px solid var(--line); background: rgba(255,255,255,0.05); border-radius: 999px; padding: 5px 12px; font-size: 12px; white-space: nowrap; transition: .2s; }

.chip:hover { border-color: var(--accent); background: rgba(255,255,255,0.12); }

.stage-wrap { position: relative; background: #000; width: 100%; aspect-ratio: 16 / 9; max-height: 76svh; overflow: hidden; }

video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }

.stage-wrap.frozen video { filter: brightness(0.48) saturate(0.85) blur(2px); transition: filter .35s; }

.hud { position: absolute; inset: auto 0 0; padding: 20px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.82)); display: flex; align-items: center; gap: 10px; font-size: 12px; }

.track { flex: 1; height: 5px; border-radius: 99px; background: rgba(255,255,255,0.24); position: relative; cursor: pointer; }

.fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 99px; width: 0%; }

.skip-btn { position: absolute; right: 14px; top: 14px; border: 1px solid rgba(255,255,255,0.35); background: rgba(12,10,18,0.68); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 14px; font-size: 13px; z-index: 5; }

.skip-btn:hover { border-color: var(--accent); }

.choice-overlay { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: flex-end; padding: 28px 24px; background: linear-gradient(180deg, rgba(12,10,18,0.15) 0%, rgba(12,10,18,0.92) 65%); z-index: 10; }

.choice-overlay.show { display: flex; animation: fadeIn .3s ease; }

.choice-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); font-weight: 700; margin-bottom: 4px; }

.choice-title { margin: 0 0 14px; font-size: 20px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }

.opt { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.22); background: rgba(22,18,34,0.82); backdrop-filter: blur(10px); text-align: left; transition: transform .15s, border-color .15s, background .15s; }

.opt:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(255,255,255,0.12); }

.opt .key { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 800; font-size: 14px; flex: none; }

.opt .lbl { flex: 1; font-size: 15px; font-weight: 600; }

.timer-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.16); overflow: hidden; margin-top: 12px; }

.timer-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); width: 100%; transition: width 12s linear; }

.below { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.status-card { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.status-card .route-tag { color: var(--accent2); font-size: 12px; font-weight: 700; letter-spacing: .08em; }

.status-card h2 { margin: 2px 0 0; font-size: 17px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; }

.breadcrumbs span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

.ending-modal { display: none; padding: 20px; border-radius: 16px; background: linear-gradient(145deg, var(--surface), var(--surface-2)); border: 1px solid var(--accent); flex-direction: column; gap: 12px; }

.ending-modal.show { display: flex; }

.ending-badge { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; }

.map-sheet { position: fixed; inset: 0; background: rgba(0,0,0,0.78); z-index: 30; display: none; align-items: center; justify-content: center; padding: 16px; }

.map-sheet.show { display: flex; }

.map-box { width: min(680px, 100%); max-height: 84svh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }

.map-node { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.map-node.visited { border-color: var(--accent); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

</style>

</head>

<body>

<div class="app">

<header class="bar">

<button class="chip" id="restartBtn">↺ 重头开始</button>

<h1>合租公寓的她们:三十天去留投票 <span class="sub">Something's Off About My Flatmates</span></h1>

<button class="chip" id="endingsBtn">结局 0/11</button>

<button class="chip" id="mapBtn">剧情图谱</button>

</header>

<div class="stage-wrap" id="stageWrap">

<video id="video" playsinline preload="auto" controls></video>

<button class="skip-btn" id="skipBtn">跳到选择 ›</button>

<div class="choice-overlay" id="choiceOverlay">

<div class="choice-kicker" id="choiceKicker">MAKE YOUR CHOICE · 关键抉择</div>

<h3 class="choice-title" id="choiceTitle"></h3>

<div class="options" id="optionsBox"></div>

<div class="timer-bar"><i id="timerFill"></i></div>

</div>

</div>

<div class="below">

<div class="status-card">

<div>

<div class="route-tag" id="routeTag">第 1 幕 · 主线</div>

<h2 id="nodeTitle">合租公寓的她们:三十天去留投票</h2>

</div>

<div class="breadcrumbs" id="pathBox"></div>

</div>

<div class="ending-modal" id="endingModal">

<span class="ending-badge" id="endingBadge">TRUE END</span>

<h3 id="endingTitle" style="margin:0;font-size:22px;"></h3>

<p id="endingHint" style="margin:0;color:var(--muted);">已收录至你的互动结局图鉴。你可以回溯到任意分支节点解锁其他路线!</p>

<div style="display:flex;gap:10px;flex-wrap:wrap;">

<button class="chip" id="backChoiceBtn" style="background:var(--accent);color:#fff;border:0;padding:8px 16px;font-weight:700;">返回上一选择</button>

<button class="chip" id="openMapEndBtn">查看完整剧情图谱</button>

<button class="chip" id="restartEndBtn">重新开始</button>

</div>

</div>

</div>

</div>

<div class="map-sheet" id="mapSheet">

<div class="map-box">

<div style="display:flex;justify-content:space-between;align-items:center;">

<h3 style="margin:0;">互动剧情分支图谱 · 合租公寓的她们:三十天去留投票</h3>

<button class="chip" id="closeMapBtn">关闭 ✕</button>

</div>

<div id="mapList" style="display:flex;flex-direction:column;gap:8px;"></div>

</div>

</div>

<script>

const NODES = {"open": {"id": "open", "title": "三位租客,你先去找谁?", "act": 1, "route": "主线", "video": "https://media.huangguodrama.ai/motion/interactive/shared-apartment/open-6dc749756feb5b36.mp4", "ending": false, "choices": [{"label": "去找温柔的空姐温以宁", "to": "a1"}, {"label": "去找撩人的女主播江蜜", "to": "b1"}, {"label": "去找高冷的女医生秦霜", "to": "c1"}, {"label": "三个都想要", "to": "harem1"}]}, "a1": {"id": "a1", "title": "深夜她落地回家还要给大家包饺子,你会?", "act": 2, "route": "温以宁", "video": "https://media.huangguodrama.ai/motion/drama-episodes/09a39724cd400e271b36fecce8d5b7f65af010523c04b5449433f3fffa329bff.mp4", "ending": false, "choices": [{"label": "让她顺便也给你包一份,边包边聊", "to": "a_bad"}, {"label": "夺下她的围裙,按她坐下,换你来煮", "to": "a2"}]}, "a_bad": {"id": "a_bad", "title": "只是客气的房客", "act": 1, "route": "温以宁", "video": "https://media.huangguodrama.ai/motion/drama-episodes/09a48fac667795dd10614c629033c06880b2871e2fa6bee4d4bf30d50472468d.mp4", "ending": "BAD END", "choices": []}, "a2": {"id": "a2", "title": "她要调去迪拜常驻三年,你会?", "act": 3, "route": "温以宁", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0a13b4094de5f55108c801376b74ffa5ddec4c426b3f87ff34f080091a152944.mp4", "ending": false, "choices": [{"label": "去机场,把一把家门钥匙交到她手里", "to": "a_he"}, {"label": "尊重她的前程,笑着祝她一路顺风", "to": "a_ne"}]}, "a_ne": {"id": "a_ne", "title": "万米高空的告别", "act": 1, "route": "温以宁", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0a73e2f657d47800c6023da32f7179ca31e8afbc5a3cdb86e3740043d0311f45.mp4", "ending": "NORMAL END", "choices": []}, "a_he": {"id": "a_he", "title": "这次换我等你", "act": 1, "route": "温以宁", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0a78063e4edeb9a84eea3fbcb58edb1fe8fc4cf83f4b0eb85a2828ee889f1369.mp4", "ending": "HAPPY END", "choices": []}, "b1": {"id": "b1", "title": "她拉你上直播,还收到一条神秘私信,你会?", "act": 2, "route": "江蜜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0ab061ab438961acf1ecf632082ed9484fdf242bc68758b0fdf36bc00d1da68a.mp4", "ending": false, "choices": [{"label": "关掉镜头,认真问她是不是遇到难处了", "to": "b2"}, {"label": "对着直播间开玩笑:她要把我卖了换钱", "to": "b_bad"}]}, "b_bad": {"id": "b_bad", "title": "被剪上热搜的房东", "act": 1, "route": "江蜜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0af8ae360375f21f0c683d0bc7e81acfcf1bc7ef87d658726da26532eb3047f3.mp4", "ending": "BAD END", "choices": []}, "b2": {"id": "b2", "title": "公司逼她直播否认你,你会?", "act": 3, "route": "江蜜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b161ca30dc77746fccda15ae3e54b9b6767ef301767c8acdb68fe0a3527ebf0.mp4", "ending": false, "choices": [{"label": "劝她先保住合约,就说你只是房东", "to": "b_ne"}, {"label": "告诉她:关掉美颜,我就在镜头后面", "to": "b_he"}]}, "b_ne": {"id": "b_ne", "title": "屏幕外的心动", "act": 1, "route": "江蜜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b2e72b251f53477b729320c5cf7486daebe02c477a10d43d1a78c8f858406ae.mp4", "ending": "NORMAL END", "choices": []}, "b_he": {"id": "b_he", "title": "关掉美颜的告白", "act": 1, "route": "江蜜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b5b9e812daa745326dc3326f676b65fa8450f0f4f406b67f021d1ce6925eb20.mp4", "ending": "HAPPY END", "choices": []}, "c1": {"id": "c1", "title": "凌晨三点她独自坐在楼梯上,你会?", "act": 2, "route": "秦霜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b606829cc0314df1f82846c8144d77ceb91b677bc8474ded13080567c7b0e2f.mp4", "ending": false, "choices": [{"label": "追问她:你是不是认识我姑婆?", "to": "c_bad"}, {"label": "什么都不问,陪她在楼梯上坐到天亮", "to": "c2"}]}, "c_bad": {"id": "c_bad", "title": "冰点以下", "act": 1, "route": "秦霜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b67b55a7526bb06f9d3f6190d61349e088c87ebb9343a9ec6702c7229d08261.mp4", "ending": "BAD END", "choices": []}, "c2": {"id": "c2", "title": "她想一个人扛下医疗纠纷,你会?", "act": 3, "route": "秦霜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b6daf501994d0543dfeac76e77d7f1548d69a23c5b0556820cbce1cea22abc7.mp4", "ending": false, "choices": [{"label": "尊重她,让她一个人静一静", "to": "c_ne"}, {"label": "拎起她的行李,陪她回医院面对", "to": "c_he"}]}, "c_ne": {"id": "c_ne", "title": "留在门口的钥匙", "act": 1, "route": "秦霜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b781615997cffd4ad2b18343e6d92514a38a4284543c6279e19a52ad6ee4ab2.mp4", "ending": "NORMAL END", "choices": []}, "c_he": {"id": "c_he", "title": "急诊室的黎明", "act": 1, "route": "秦霜", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0b7ecbef7c70b20173b4340e4b8b010aa1c0f7c41c98ce551c62f3ac2d645242.mp4", "ending": "HAPPY END", "choices": []}, "harem1": {"id": "harem1", "title": "投票之夜,三人逼你表态,你会?", "act": 4, "route": "后宫", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0baa56b58b4322116e27abc96607972a931744ee02d9f1ce6af57d5bb7e1d376.mp4", "ending": false, "choices": [{"label": "说出她们每个人的好:我想留下的是这个家", "to": "harem_true"}, {"label": "说:你们谁投我留下,我就选谁", "to": "harem_bad"}]}, "harem_bad": {"id": "harem_bad", "title": "空荡荡的洋房", "act": 1, "route": "后宫", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0bfb820de2647ff6665e69ea074ce4a083ce2ae4914d333a56110ed58c0d56a0.mp4", "ending": "BAD END", "choices": []}, "harem_true": {"id": "harem_true", "title": "真正的房东", "act": 1, "route": "后宫", "video": "https://media.huangguodrama.ai/motion/drama-episodes/0c02ae277be2e494d2728cb9a3541ce7003c966d459e21e2bb03e7cd0c1659d6.mp4", "ending": "TRUE END", "choices": []}};

const START = "open";

const ENDINGS = ["a_bad", "a_ne", "a_he", "b_bad", "b_ne", "b_he", "c_bad", "c_ne", "c_he", "harem_bad", "harem_true"];

const STORAGE_KEY = "hg-interactive-shared-apartment-v1";

let state = JSON.parse(localStorage.getItem(STORAGE_KEY) || "null") || {

current: START,

history: [],

visited: [START],

endings: []

};

let autoTimer = null;

const video = document.getElementById("video");

const stageWrap = document.getElementById("stageWrap");

const choiceOverlay = document.getElementById("choiceOverlay");

const endingModal = document.getElementById("endingModal");

function saveState() {

try { localStorage.setItem(STORAGE_KEY, JSON.stringify(state)); } catch (e) {}

}

function enterNode(nodeId, pushHistory = false) {

clearTimeout(autoTimer);

const node = NODES[nodeId] || NODES[START];

state.current = node.id;

if (!state.visited.includes(node.id)) state.visited.push(node.id);

stageWrap.classList.remove("frozen");

choiceOverlay.classList.remove("show");

endingModal.classList.remove("show");

document.getElementById("routeTag").textContent = `第 ${node.act || 1} 幕 · ${node.route || "主线"}`;

document.getElementById("nodeTitle").textContent = node.title;

document.getElementById("endingsBtn").textContent = `结局 ${state.endings.length}/${ENDINGS.length}`;

const pathBox = document.getElementById("pathBox");

pathBox.innerHTML = "";

state.history.slice(-5).forEach(h => {

const s = document.createElement("span");

s.textContent = h.label;

pathBox.appendChild(s);

});

video.src = node.video;

video.currentTime = 0;

video.play().catch(() => {});

saveState();

}

function onClipEnd() {

const node = NODES[state.current];

if (!node) return;

stageWrap.classList.add("frozen");

if (node.ending) {

if (!state.endings.includes(node.id)) state.endings.push(node.id);

document.getElementById("endingsBtn").textContent = `结局 ${state.endings.length}/${ENDINGS.length}`;

document.getElementById("endingBadge").textContent = `${node.ending} · 已收集 ${state.endings.length}/${ENDINGS.length}`;

document.getElementById("endingTitle").textContent = node.title;

endingModal.classList.add("show");

saveState();

return;

}

if (!node.choices || !node.choices.length) return;

document.getElementById("choiceTitle").textContent = node.title;

const box = document.getElementById("optionsBox");

box.innerHTML = "";

node.choices.forEach((c, idx) => {

const btn = document.createElement("button");

btn.className = "opt";

btn.innerHTML = `<span class="key">${"ABCD"[idx] || (idx+1)}</span><span class="lbl"></span>`;

btn.querySelector(".lbl").textContent = c.label;

btn.onclick = () => {

state.history.push({ from: node.id, label: c.label });

enterNode(c.to);

};

box.appendChild(btn);

});

choiceOverlay.classList.add("show");

const fill = document.getElementById("timerFill");

fill.style.transition = "none";

fill.style.width = "100%";

requestAnimationFrame(() => {

requestAnimationFrame(() => {

fill.style.transition = "width 12s linear";

fill.style.width = "0%";

});

});

autoTimer = setTimeout(() => {

if (choiceOverlay.classList.contains("show") && node.choices[0]) {

state.history.push({ from: node.id, label: node.choices[0].label });

enterNode(node.choices[0].to);

}

}, 12000);

}

video.addEventListener("ended", onClipEnd);

document.getElementById("skipBtn").onclick = () => {

video.pause();

onClipEnd();

};

document.getElementById("restartBtn").onclick = () => {

state.history = [];

enterNode(START);

};

document.getElementById("restartEndBtn").onclick = () => {

state.history = [];

enterNode(START);

};

document.getElementById("backChoiceBtn").onclick = () => {

const last = state.history.pop();

enterNode(last ? last.from : START);

};

function openMap() {

const list = document.getElementById("mapList");

list.innerHTML = "";

Object.values(NODES).forEach(n => {

const visited = state.visited.includes(n.id);

const row = document.createElement("div");

row.className = "map-node" + (visited ? " visited" : "");

row.innerHTML = `<div><strong>${visited ? n.title : "??? (未解锁节点)"}</strong><div style="font-size:12px;color:var(--muted);">第 ${n.act || 1} 幕 · ${n.ending || n.route || "分支"}</div></div>`;

if (visited) {

const jb = document.createElement("button");

jb.className = "chip";

jb.textContent = "跳转至此";

jb.onclick = () => {

document.getElementById("mapSheet").classList.remove("show");

enterNode(n.id);

};

row.appendChild(jb);

}

list.appendChild(row);

});

document.getElementById("mapSheet").classList.add("show");

}

document.getElementById("mapBtn").onclick = openMap;

document.getElementById("endingsBtn").onclick = openMap;

document.getElementById("openMapEndBtn").onclick = openMap;

document.getElementById("closeMapBtn").onclick = () => document.getElementById("mapSheet").classList.remove("show");

enterNode(state.current || START);

</script>

</body>

</html>