*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#e7ddc4;color:#4d4537;font-family:"Microsoft YaHei","PingFang SC",sans-serif;display:flex;align-items:center;justify-content:center;gap:64px;background-image:radial-gradient(ellipse at 20% 20%,#f7efd9,transparent 65%),radial-gradient(ellipse at 90% 100%,#b9c7ac,transparent 55%)}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible{outline:3px solid #986b46;outline-offset:3px}#game{position:relative;width:min(100vw,calc(100dvh * 420 / 740));height:min(100dvh,calc(100vw * 740 / 420));overflow:hidden;background:#c4cf9d;box-shadow:0 28px 90px #4b574640;border:1px solid #f7eddc55;isolation:isolate}#world{width:100%;height:100%;display:block;touch-action:none;user-select:none}#screen{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:center}#screen>*{pointer-events:auto}#screen.empty{display:none}.panel{width:90%;max-height:94%;overflow:auto;padding:26px 23px;border:1px solid #fff4d6;border-radius:23px;background:#fff6e4f5;box-shadow:0 12px 45px #26332f38;text-align:center}.panel h2{font-size:26px;margin:8px 0 10px;letter-spacing:2px}.eyebrow{font-size:10px;letter-spacing:4px;color:#8b775b;font-weight:bold}.sub{font-size:12px;line-height:1.8;color:#8c816b;margin:9px 0 18px}.home{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;padding:8% 8% 7%;text-align:center;background:linear-gradient(#fbf0dfe8 0%,#fff4dbad 27%,#f8e5bd0a 55%,#f9e8cbe8 100%)}.home h1{font-family:"STKaiti","KaiTi",serif;font-size:clamp(32px,6.5vh,46px);letter-spacing:5px;margin:10px 0;color:#5e4934;text-shadow:0 2px #fff9eb}.home .subtitle{font-size:12px;letter-spacing:3px;color:#897054}.home .hero-stage{position:relative;flex:1;width:100%;min-height:90px}.hero-portrait{position:absolute;width:76%;aspect-ratio:1;left:12%;top:10%;background:url('assets/characters.webp') 0 0/400% 400%;filter:drop-shadow(0 12px 9px #66764b35);animation:float 3s ease-in-out infinite}.home .ribbon{font-size:11px;letter-spacing:2px;background:#fff4dccc;border:1px solid #decea8;padding:8px 20px;border-radius:20px;transform:rotate(-2deg);margin-bottom:18px}.primary{border:1px solid #a56546;border-bottom:4px solid #91523e;background:#be7959;color:#fff5df;border-radius:14px;padding:14px 22px;box-shadow:0 6px 15px #6a4b2820;font-weight:700;letter-spacing:2px;width:100%;font-size:15px}.primary:hover{background:#c98764}.secondary{border:1px solid #ccbda0;background:#f9efd8;color:#78664e;border-radius:12px;padding:11px 14px;font-size:12px}.secondary:hover{background:#fff9e9}.home .links{display:flex;gap:12px;margin-top:12px;width:100%}.home .links button{flex:1;background:#fff2d8bd}.version{font-size:9px;color:#9a8564;letter-spacing:1px;margin:15px 0 0}.level-card{display:block;width:100%;border:1px solid #ccbb96;border-radius:14px;padding:15px;text-align:left;color:#4e5848;background:#e2e5ca;margin:10px 0;position:relative;overflow:hidden}.level-card:nth-of-type(2){background:#cee0d9}.level-card:nth-of-type(3){background:#696b84;color:#fff3df}.level-card b{display:block;font-size:17px;margin-bottom:5px}.level-card small{font-size:10px;opacity:.8}.level-card .number{float:right;font:italic 34px Georgia;opacity:.3}.level-card:disabled{opacity:.5;cursor:default}.back{margin-top:14px;width:100%}.choice{width:100%;text-align:left;border:1px solid #decba9;border-radius:14px;padding:13px 12px;margin:6px 0;background:#fffaf0;display:flex;align-items:center;gap:12px;min-height:75px;color:#67513e}.choice:hover{border-color:#ac8054;background:#f6ebd4;transform:translateY(-1px)}.choice b{font-size:15px}.choice small{display:block;font-size:11px;line-height:1.5;color:#a0876b;margin-top:4px}.icon{display:inline-block;width:42px;height:42px;flex-shrink:0;background-image:url('assets/characters.webp');background-size:400% 400%}.generic-icon{width:42px;font-size:26px;color:#b78364;text-align:center}.row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #dfd1b6;font-size:13px;gap:10px;text-align:left}.toggle{border:1px solid #a9b89b;background:#e1e7d0;border-radius:20px;padding:7px 13px;color:#53634a;min-width:60px}.toggle.off{background:#e7ddca;color:#968976;border-color:#c8b99e}.buttons{display:grid;gap:10px;margin-top:16px}.result-cat{width:100px;height:100px;background:url('assets/characters.webp') 0 0/400% 400%;margin:auto;animation:float 1.3s ease-in-out infinite}.result-stat{display:flex;justify-content:space-around;margin:22px 0}.result-stat b{font-size:24px;display:block;color:#987349}.result-stat small{font-size:10px;color:#998970}.cats{display:flex;justify-content:center;gap:16px;margin:20px 0}.cat-entry{width:125px;background:#e6ead8;border-radius:14px;padding:12px 4px;font-size:12px}.cat-entry .icon{width:75px;height:75px}.cat-entry small{display:block;font-size:10px;line-height:1.6;color:#8e846c}.locked{filter:grayscale(1);opacity:.45}#hud{position:absolute;left:5%;right:5%;top:max(12px,env(safe-area-inset-top));pointer-events:none;color:#fff8e3;text-shadow:0 1px 3px #334235;z-index:2}.hud-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.hud-top div{display:flex;align-items:center;gap:13px}.hud-top small{letter-spacing:2px;font-size:12px}.hud-top b{font:600 19px Georgia}.hud-top button{pointer-events:auto;background:#f7edceeb;border:1px solid #b8ba9c;width:34px;height:31px;border-radius:9px;color:#52634d;font-weight:bold;font-size:17px}.health{height:12px;position:relative;border:1px solid #fff0cebc;border-radius:6px;overflow:hidden;background:#4554479e}.health i{display:block;height:100%;background:linear-gradient(90deg,#db8e87,#f0b5a0);transition:width .12s}.health span{position:absolute;inset:0;text-align:center;font:9px/11px sans-serif}.experience{height:4px;margin-top:5px;background:#3c504e80;border-radius:4px;overflow:hidden}.experience i{display:block;height:100%;background:#ffe6a1}.hud-stats{display:flex;justify-content:space-between;font-size:10px;margin-top:6px}#skills{position:absolute;top:550px;left:0;display:flex;gap:6px}#skills .slot{border:1px solid #f1debc9e;border-radius:8px;background:#4d6558aa;width:34px;height:39px;text-align:center;position:relative}#skills .slot .icon{width:28px;height:28px}#skills .slot small{position:absolute;bottom:0;left:0;right:0;font-size:8px}#saveWarning{position:absolute;bottom:0;left:0;right:0;background:#745332;color:#fff4d6;padding:5px;font-size:10px;text-align:center;z-index:20}.desktop-note{width:220px;color:#7e8067}.desktop-note>span{letter-spacing:5px;font-size:10px}.desktop-note p{font-family:"STKaiti","KaiTi",serif;line-height:1.9;font-size:25px;letter-spacing:2px}.desktop-note small{font-size:10px;line-height:2;color:#99937d}@keyframes float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-8px) rotate(2deg)}}@media(max-width:820px){.desktop-note{display:none}body{gap:0}#game{border:0}}@media(max-height:680px){.panel{padding:15px 20px}.panel h2{font-size:23px}.sub{margin:5px 0 10px}.choice{min-height:60px;padding:9px}.home{padding-top:6%}.home .ribbon{margin-bottom:10px}.version{margin-top:8px}#skills{top:460px}}

#hud{height:calc(100% - max(24px, env(safe-area-inset-top)))}#skills{top:auto;bottom:110px}

#screen{z-index:5}

input[type=range]{width:145px;accent-color:#b37857}.panel:has(input[type=range]) .row{padding:10px 0}

.new-run{margin-top:8px;width:100%}.ready-hint{pointer-events:none!important;position:absolute;bottom:24%;background:#fff5e7ed;color:#685440;border:1px solid #e5c899;border-radius:16px;padding:15px 25px;text-align:center;font-size:15px;box-shadow:0 6px 24px #34442d33}.ready-hint small{font-size:10px;line-height:2}#screen:has(.ready-hint){pointer-events:none}.home .hero-portrait{background-image:url('assets/cat-actions.webp');background-position:0 100%}.panel{padding-bottom:max(22px,env(safe-area-inset-bottom))}#skills{bottom:max(90px,calc(env(safe-area-inset-bottom) + 60px))}

.region-mode #hud .health,.region-mode #hud .experience,.region-mode #hud .hud-stats,.region-mode #skills{display:none}.region-mode #levelName{font-size:11px}.region-mode #clock{font-size:11px}.region-controls{pointer-events:auto;position:absolute;bottom:4%;display:flex;gap:8px}.region-controls button{font-size:10px;padding:6px 10px;border:1px solid #ada888;border-radius:7px;background:#fff7e6d9;color:#425239}.home>[data-action=region]{margin-top:6px}

.region-mode #screen.empty{display:flex;pointer-events:none}.region-mode #screen.empty .region-controls{pointer-events:auto}.region-mode .hud-top{background:#f9efd9df;border-radius:8px;padding:3px 8px;color:#425239;text-shadow:none}.region-controls{bottom:5.5%}

.levels-preview #levelName{font-size:10px;letter-spacing:0}.levels-preview .hud-top{background:#253345cf;border-radius:9px;padding:5px}.levels-preview .health{position:absolute;top:auto;bottom:145px;left:0;right:0}.levels-preview .experience{position:absolute;bottom:136px;left:0;right:0}.levels-preview .hud-stats{position:absolute;bottom:119px;left:0;right:0}.levels-preview #skills{bottom:68px}

.levels-preview .hud-top{background:none;padding:0;justify-content:flex-end}.levels-preview .hud-top>div{position:absolute;left:0;right:45px;bottom:174px;background:#253345d9;padding:7px 9px;border-radius:7px;justify-content:space-between}.levels-preview .hud-top b{font-size:15px}
.garden-art-controls{display:none}.garden-art .garden-art-controls{position:absolute;display:flex;gap:8px;left:12px;top:14px;z-index:3}.garden-art-controls button{padding:6px 8px;font-size:11px;border:1px solid #d0ba8f;border-radius:6px;background:#fff5dfdc;color:#394938}
.v2-controls{display:none}.combat-v2 .v2-controls{display:flex;position:absolute;right:14px;bottom:52px;gap:10px;z-index:4}.v2-controls button{border:2px solid #e9ce97;border-radius:50%;width:60px;height:60px;background:#fff0d7e8;color:#453f3a;font-weight:bold;font-size:12px}.v2-controls button:disabled{opacity:.65}.combat-v2 .garden-art-controls{display:none}.combat-v2 #skills{bottom:132px}.combat-v2 .hud-top>div{bottom:226px}.combat-v2 .health{bottom:204px}.combat-v2 .experience{bottom:195px}.combat-v2 .hud-stats{bottom:178px}
/* Compact top HUD; keep lower combat sightlines clear and controls above gesture area. */
.adventure-v3 #hud{top:max(10px,env(safe-area-inset-top));height:auto;left:4%;right:4%}
.adventure-v3 .hud-top{display:flex;justify-content:space-between;margin:0 0 5px;padding:4px 6px;background:#253345a8;border-radius:7px}
.adventure-v3 .hud-top>div{position:static;background:none;padding:0;display:flex;gap:12px;font-size:10px}
.adventure-v3 .health,.adventure-v3 .experience,.adventure-v3 .hud-stats{position:static;width:100%}
.adventure-v3 #skills{position:static;margin-top:7px;display:flex;gap:4px}
.adventure-v3 #skills .slot{width:28px;height:30px;background:#25334588}
.adventure-v3 #skills .icon{width:23px;height:23px}
.adventure-v3 .v2-controls{bottom:max(56px,calc(env(safe-area-inset-bottom) + 28px))}
.adventure-v3 .v2-controls button{width:56px;height:56px}
.home{overflow:auto}.home .hero-stage{min-height:70px}.home>button{flex-shrink:0}
.adventure-v3 .health{position:relative}.adventure-v3 .health span{line-height:11px}
.home .hero-stage{flex:0 0 120px;min-height:120px;pointer-events:none}.home .hero-portrait{width:118px;height:118px;left:calc(50% - 59px);top:0;pointer-events:none}.review-tools{width:100%;margin-top:10px;font-size:11px}.review-tools summary{cursor:pointer;padding:8px;color:#6f634e}.review-tools>button{display:block;width:100%;margin:5px 0}
.adventure-v3 .health{top:auto;bottom:auto;left:auto;right:auto}.adventure-v3 .health span{display:block}
/* A separate touch dock keeps the complete existing 420x740 battle canvas unobscured. */
#game.combat-safe{width:min(100vw,calc((100dvh - 78px - env(safe-area-inset-bottom)) * 420 / 740));height:min(calc(100dvh - 78px - env(safe-area-inset-bottom)),calc(100vw * 740 / 420));margin-bottom:calc(78px + env(safe-area-inset-bottom));overflow:visible}
.combat-safe .v2-controls{bottom:-70px;right:10px;gap:12px;background:#25354bee;border-radius:18px;padding:6px;touch-action:none}
.combat-safe .v2-controls button{width:54px;height:54px;background:#f5e3bf}
.combat-dock-hint{display:none}.combat-safe .combat-dock-hint{display:block;position:absolute;left:12px;bottom:-44px;color:#536049;font-size:12px;pointer-events:none}
#maps-v4-debug[hidden]{display:none!important}

/* Mainline task and one transient cooperation selector. Existing canvas geometry stays fixed. */
#story-objective{font-size:12px;color:#fff0be;background:#263344dd;border-radius:6px;padding:4px 7px;margin-top:4px;max-width:max-content}
#story-objective[hidden],.v2-controls [hidden]{display:none!important}
.combat-safe .v2-controls{right:6px;gap:6px;padding:5px}
.combat-safe .v2-controls button{font-size:10px}
.combat-safe .combat-dock-hint{left:8px;bottom:-14px;font-size:10px;color:#344037}
#story-choices{position:absolute;right:110px;bottom:68px;display:flex;gap:6px;padding:5px;border-radius:10px;background:#22344fee}
#story-choices button{width:80px;height:50px;border-radius:10px}

/* Phone controls stay below the battlefield, including the cooperative picker. */
#story-choices{bottom:0;right:120px;z-index:6}#story-choices button{min-width:80px;min-height:54px}.v2-controls button{touch-action:none}.v2-controls{user-select:none;-webkit-user-select:none}#story-coop.lesson{outline:3px solid #ffe499;outline-offset:2px}html,body{overscroll-behavior:none}

/* Portrait art remains fully visible; only menu layout changes, never battle zoom. */
body.moon-menu{background:#14142d;background-image:none}
body.moon-menu #game{width:min(100vw,560px);height:100dvh;max-height:none;background:#14142d;border:0}
body.moon-menu .desktop-note,body.moon-menu .v2-controls{display:none!important}
.moon-home{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#14142d;overflow:hidden}
.moon-stage{position:relative;flex:none;width:min(100%,calc((100dvh - 44px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .5628));aspect-ratio:941/1672}
.moon-backdrop{display:block;width:100%;height:100%;object-fit:contain;opacity:0}.moon-stage.ready .moon-backdrop{opacity:1}
.moon-blades{position:absolute;inset:0;pointer-events:none;overflow:hidden}.moon-fish{position:absolute;left:0;top:0;width:24%;height:auto;visibility:hidden;will-change:transform}.moon-stage.ready .moon-fish{visibility:visible}
.moon-button{position:absolute;border:0;background:transparent center/100% 100% no-repeat;color:#fff1cf;font-family:"STKaiti","KaiTi","Songti SC",serif;font-weight:800;text-shadow:0 2px 2px #06355e;min-height:44px;touch-action:manipulation;user-select:none;-webkit-user-select:none;padding:0;letter-spacing:1px}
.moon-button:active{filter:brightness(.8);transform:translateY(2px)}.moon-button:focus-visible{outline:2px solid #fff1af;outline-offset:3px}
.moon-start{left:19%;top:81%;width:62%;height:7.8%;font-size:clamp(20px,6vw,29px)}
.moon-help,.moon-settings{top:90%;width:30%;height:6.5%;font-size:clamp(15px,4.5vw,20px)}.moon-help{left:19%}.moon-settings{left:51%}
.moon-footer{min-height:32px;display:flex;align-items:center;justify-content:center;gap:10px;color:#b9b5cd;font-size:10px;flex-wrap:wrap}.moon-footer button{border:0;background:transparent;color:#d1cbe7;font-size:11px;padding:8px 0;min-height:32px}
.moon-status{position:absolute;top:45%;left:12%;right:12%;text-align:center;color:#fff2ca;background:#17142be8;border-radius:12px;font-size:12px}.moon-status:empty{display:none}.moon-panel{line-height:1.7}

.moon-stage:not(.ready) .moon-button{visibility:hidden}

#home-boot{position:fixed;inset:0;z-index:2000;background:#14142d;color:#fff1cf;display:grid;place-items:center;text-align:center;padding:30px;font-size:14px}#home-boot h2{font-size:23px}#home-boot a{color:#cec5f0;font-size:12px}
#asset-overlay{position:fixed;inset:0;z-index:1000;background:#263a40dc;display:grid;place-items:center;padding:20px;padding-bottom:max(20px,env(safe-area-inset-bottom))}#asset-overlay[hidden]{display:none}#asset-overlay>div{background:#fff5de;color:#303e37;border-radius:18px;padding:20px;max-width:430px;width:100%}#asset-overlay button{min-height:44px;padding:10px;margin:5px;touch-action:manipulation}
/* v0.5.0-preview.7: full available phone viewport, uniform world scale. */
body:not(.moon-menu){background:#172329;background-image:none;margin:0;padding:0;gap:0;overflow:hidden}
#game.mobile-battle{width:min(100vw,520px);height:100vh;height:100dvh;max-height:none;margin:0;border:0;box-shadow:none;overflow:hidden;touch-action:none}
body:has(.mobile-battle) .desktop-note{display:none}
.mobile-battle #world{display:block;width:100%;height:100%;touch-action:none}
.mobile-battle #hud{left:12px;right:12px;top:calc(env(safe-area-inset-top) + 8px);height:auto;text-shadow:0 1px 3px #14272c;pointer-events:none}
.mobile-battle .hud-top{padding:0;background:none;margin:0 50px 7px 0;min-height:20px}
.mobile-battle .hud-top>div{position:static;width:100%;padding:0;background:none;display:flex;align-items:center;gap:8px}
.mobile-battle #levelName{font-size:11px;letter-spacing:0}.mobile-battle #clock{font-size:13px}
.mobile-battle #pause{position:absolute;right:0;top:0;width:44px;height:44px;padding:0;pointer-events:auto;touch-action:manipulation;border:1px solid #d9c596;border-radius:15px;background:#203944d9;color:#fff0cf;font-size:21px;box-shadow:inset 0 0 0 3px #59716a66}
.mobile-battle .health{height:15px;width:calc(100% - 53px);border:1px solid #ddc5a2;background:#382d3bcc;border-radius:8px;overflow:hidden;margin:0}
.mobile-battle .health i{background:linear-gradient(#ffac94,#d85772);transition:width .15s}.mobile-battle .health span{line-height:13px;font-size:10px;color:white;text-shadow:0 1px 2px #722b45}
.mobile-battle .experience{height:5px;width:calc(100% - 53px);margin:5px 0;background:#162f42aa;border:1px solid #d9dda366;border-radius:4px}.mobile-battle .experience i{background:#b5df9b}
.mobile-battle .hud-stats{font-size:10px;gap:8px;justify-content:flex-start}.mobile-battle #kills{opacity:.8}
.mobile-battle #skills{margin:5px 0 0;gap:4px}.mobile-battle #skills .slot{width:27px;height:27px;border:1px solid #e2d1aa66;border-radius:8px;background:#213f4988}
.mobile-battle #story-objective{font-size:11px;margin-top:5px;padding:3px 7px;border-left:2px solid #e3d19a;background:#18384988;max-width:calc(100% - 45px)}
.mobile-battle .v2-controls{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:calc(env(safe-area-inset-bottom) + 22px);display:grid;grid-template-columns:72px 72px;gap:10px;padding:0;border:0;border-radius:0;background:none;z-index:4;touch-action:none}
.mobile-battle .v2-controls button{position:relative;width:72px;height:78px;padding:0;border:1px solid #e5cd96;border-radius:38% 38% 42% 42%;background:linear-gradient(145deg,#385b66ed,#173344ef);color:#ffefd0;box-shadow:inset 0 0 0 3px #a1c5ba44,0 3px 10px #071c3277;font-size:12px;text-shadow:0 1px 2px #061e34;touch-action:none;-webkit-tap-highlight-color:transparent}
.mobile-battle #v2-throw{grid-column:1;grid-row:2}.mobile-battle #v2-dash{grid-column:2;grid-row:2}
.mobile-battle #story-coop{grid-column:2;grid-row:1;height:48px;border-radius:20px;font-size:11px}.mobile-battle #story-interact{grid-column:1;grid-row:1;width:82px;height:48px;justify-self:end;border-radius:18px;font-size:10px}
.mobile-battle .v2-controls button svg{display:block;width:31px;height:31px;margin:3px auto 0;fill:#ffd89533;stroke:#ffe0a2;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.skill-label{display:block;font-size:12px;line-height:15px}.skill-time{display:block;font-size:9px;line-height:13px;color:#d7ecdf}
.mobile-battle .v2-controls button.cooling{opacity:.85;background:conic-gradient(from 0deg,#14283dee var(--remaining),#416573ed 0)}
.mobile-battle .v2-controls button.pressed,.mobile-battle .v2-controls button:active{transform:scale(.94);box-shadow:inset 0 0 12px #efdb9499}
.mobile-battle .combat-dock-hint{display:none!important}
.mobile-battle #story-choices{right:0;bottom:148px;gap:7px;background:#172e40ee;padding:8px;border:1px solid #d7c194;border-radius:15px;max-width:230px}
.mobile-battle #story-choices button{width:96px;height:58px;min-width:96px;min-height:58px;border-radius:12px;font-size:11px}
@keyframes health-hit{0%,50%{box-shadow:0 0 0 2px #ffccc6,0 0 12px #df7e7e}100%{box-shadow:none}}.health-hit{animation:health-hit .35s ease-out}
@media(max-width:600px){#game.mobile-battle{width:100vw}}

.mobile-battle #story-objective{width:fit-content}

#asset-overlay.stream-wait{background:transparent;align-items:flex-start;pointer-events:auto;padding-top:150px}#asset-overlay.stream-wait>div{max-width:280px;padding:12px;background:#243944e8}#asset-overlay.stream-wait h2{display:none}
#asset-overlay.stream-wait>div{color:#fff0de}
/* Three chapters share the cover palette without another large image. */
.chapter-select{width:min(100%,460px);box-sizing:border-box;padding:max(22px,env(safe-area-inset-top)) 18px max(12px,env(safe-area-inset-bottom));color:#fff0d5;background:radial-gradient(ellipse at 80% 8%,#56539a88,transparent 45%),linear-gradient(155deg,#242744,#17192f 75%);border:1px solid #ac915b55;border-radius:22px;box-shadow:0 16px 60px #0006;text-align:center;max-height:100dvh;overflow:auto;scrollbar-width:thin}
.chapter-eyebrow{font-size:10px;letter-spacing:2px;color:#d7bb81;margin:4px 0 12px}.chapter-select h2{font-size:24px;margin:0 0 10px;color:#ffebbf}.chapter-intro{font-size:12px;line-height:1.7;color:#d2cce2;margin:0 0 20px}.chapter-list{display:grid;gap:13px}.chapter-card{position:relative;display:flex;align-items:center;width:100%;min-height:128px;padding:17px 12px;border-radius:18px;border:1px solid #cdbb8288;box-shadow:inset 0 0 0 4px #fff2bf06,0 4px 9px #0003;text-align:left;color:#fff1d4;touch-action:manipulation;transition:transform .12s,filter .12s}.chapter-0{background:radial-gradient(ellipse at 0 0,#83997066,transparent 65%),linear-gradient(100deg,#365649,#233b38)}.chapter-1{background:radial-gradient(ellipse at 0 0,#92b6ca44,transparent 65%),linear-gradient(100deg,#324f67,#243448)}.chapter-2{background:radial-gradient(ellipse at 0 0,#957bd577,transparent 65%),linear-gradient(100deg,#514877,#2d294d)}.chapter-card:active:not(:disabled){transform:scale(.98);filter:brightness(1.15)}.chapter-card:disabled{opacity:.58;filter:saturate(.35)}.chapter-number{font-family:Georgia,serif;font-size:29px;color:#e7ce97;min-width:45px}.chapter-copy{display:flex;flex-direction:column;gap:8px;flex:1}.chapter-copy b{font-size:20px;letter-spacing:1px}.chapter-copy small{font-size:10px;color:#dddce4}.chapter-state{font-size:11px;color:#ffdfa0}.chapter-arrow{font-size:28px;padding-left:4px;color:#e7ce97}.chapter-companions{font-size:12px;line-height:1.8;color:#e6d5b8;margin:17px 0 12px}.chapter-companions small{font-size:11px;color:#b6aec9}.chapter-select>.secondary{background:#ffffff0b;border-color:#b3a0cc66;color:#e9def8;min-height:43px}.chapter-select .version{margin:9px 0 0;color:#a89dbf;font-size:10px}@media(max-height:700px){.chapter-card{min-height:104px}.chapter-intro{margin-bottom:12px}.chapter-select{padding-top:14px}.chapter-companions{margin:10px 0}}

.chapter-menu #screen{background:#17192f;min-height:100%;padding:0}.chapter-menu .v2-controls,.chapter-menu .combat-dock-hint,.chapter-menu .adventure-hint{display:none!important}
