:root{font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:#253d33;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#c9ddc8;overflow:hidden}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid #d0a447;outline-offset:2px}#game{position:relative;width:100vw;height:100dvh;overflow:hidden;background:linear-gradient(#d9e7d0,#bed1b3)}#world{width:100%;height:100%;display:block;touch-action:none}.hidden{display:none!important}
.head{position:absolute;top:16px;left:18px;right:18px;display:flex;align-items:flex-start;gap:12px;z-index:5;pointer-events:none}.head>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:10px;background:#f8f7eef0;border:1px solid #fff9;padding:8px 12px;border-radius:16px;box-shadow:0 6px 30px #263c3014}.brand strong{display:block;font-size:14px}.brand small{font-size:10px;color:#7e9485}.mark{font-weight:900;background:#eabf73;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#3e4f3d;font-size:16px;transform:rotate(-9deg)}.agePill{display:flex;align-items:center;gap:9px;background:#f5f5eae8;border-radius:14px;padding:10px 16px;box-shadow:0 5px 25px #2a3b3010}.agePill strong{font-size:15px}.agePill small{color:#698376;font-size:11px}.quick{margin-left:auto;display:flex;gap:6px}.quick button,.storyFooter button{background:#fffdf2e8;border:1px solid #f4f1e4;border-radius:12px;padding:10px 12px;color:#40594b;font-size:12px}
.status{position:absolute;top:100px;left:18px;width:min(315px,calc(100% - 36px));z-index:4;background:#fbfbf2e7;border:1px solid #ffffffe8;border-radius:20px;padding:17px 18px;box-shadow:0 14px 40px #2443351a;backdrop-filter:blur(12px)}.statusHead{display:flex;justify-content:space-between;font-size:11px;color:#6b887a;font-weight:700}.status h2{font-size:18px;line-height:1.45;margin:9px 0 5px}.status p{font-size:12px;line-height:1.7;color:#6b7e72;margin:0 0 13px}.twoStats{display:flex;gap:13px;font-size:11px;color:#789183}.twoStats b{font-size:12px;color:#435c4d}.journeyTrack{margin-top:14px;background:#dfe7d9;border-radius:8px;height:5px;overflow:hidden}.journeyFill{width:0%;background:#73aa88;height:100%;border-radius:8px;transition:width .22s}.status>small{display:block;font-size:10px;color:#779182;margin-top:9px;line-height:1.5}
.npcTag{position:absolute;z-index:4;display:flex;align-items:center;gap:7px;transform:translate(-50%,-100%);background:#fff9dfed;box-shadow:0 3px 0 #b9aa8a;border:1px solid #b9aa8a;border-radius:11px;padding:8px 10px;font-size:12px;white-space:nowrap;pointer-events:none}.npcTag b{color:#c08a3f}.npcTag small{font-size:10px;color:#7e8d7b}
.innerVoice{position:absolute;z-index:8;bottom:130px;left:50%;transform:translateX(-50%);width:max-content;max-width:min(570px,80vw);background:#23392fe6;border-radius:16px;padding:13px 24px;text-align:center;color:#f9f8ef;box-shadow:0 10px 35px #14281c44;pointer-events:none}.innerVoice small{color:#c8d5c1;font-size:10px}.innerVoice p{margin:6px 0 0;line-height:1.6;font-size:16px;font-weight:650}.worldNote{position:absolute;z-index:10;left:50%;top:19%;transform:translateX(-50%);background:#fff8eadd;color:#405448;font-size:12px;padding:10px 20px;border-radius:14px;box-shadow:0 7px 24px #3c50341b;max-width:70vw;text-align:center}
.controls{position:absolute;bottom:25px;left:23px;right:23px;z-index:5;display:flex;align-items:end;justify-content:space-between;pointer-events:none}.controls>*{pointer-events:auto}.joyZone{display:flex;flex-direction:column;gap:8px;align-items:center}.joy{width:100px;height:100px;background:#e8ead27a;border:2px solid #ffffffa5;border-radius:50%;display:grid;place-items:center;touch-action:none;box-shadow:0 5px 30px #455c3b25}.joy:before{content:"";width:84px;height:84px;border:1px solid #ffffffe0;border-radius:50%;position:absolute}.joy>div{height:48px;width:48px;background:linear-gradient(#f2dc9b,#d6c079);border:3px solid #ffffff80;border-radius:50%;box-shadow:0 2px 10px #344f2433;position:relative}.joyZone small{font-size:10px;color:#365849;background:#fffce3c9;border-radius:8px;padding:4px 8px}.goZone{display:flex;gap:10px;align-items:center;flex-direction:column}.goBtn,.holdBtn{border:0;border-radius:15px;padding:14px 19px;background:#315d49;color:white;font-weight:700;box-shadow:0 7px 20px #244f3870;min-width:205px}.goBtn span{font-size:12px;margin-left:8px}.holdBtn{background:#e6c17c;color:#36493d}.goZone small{font-size:10px;color:#476757;background:#fff8e5b8;border-radius:8px;padding:5px 10px}.bottomRight{position:absolute;bottom:20px;right:24px;z-index:5}.storyBtn{background:#fff8db;border:1px solid #d9c79c;border-radius:14px;color:#3e5d4c;padding:12px;font-weight:650}.tinyFooter{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);color:#4c6650;font-size:9px;white-space:nowrap;pointer-events:none}
.modal,.introBackdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#1b3023ad;backdrop-filter:blur(8px);padding:20px}.introBackdrop{z-index:30}.introCard,.storyCard,.journalCard,.endCard{background:#fbfaf2;border-radius:26px;padding:30px;width:min(570px,100%);max-height:92dvh;overflow-y:auto;box-shadow:0 25px 80px #16261a66}.introCard{text-align:center}.eyebrow,.storyEyebrow{font-size:11px;letter-spacing:1.5px;color:#6c907b;font-weight:750}.logoArt{height:75px;width:75px;background:#e4b760;border-radius:25px;display:grid;place-items:center;margin:24px auto 12px;transform:rotate(-8deg);font-weight:1000;font-size:32px;color:#395441;box-shadow:6px 6px #769d7e}.introCard h1{font-size:27px;line-height:1.3;margin:20px 0 10px}.introCard p{font-size:14px;line-height:1.95;color:#688073;max-width:420px;margin:0 auto 28px}.primary,.secondary{padding:14px 25px;border-radius:14px;border:0;font-weight:750;background:#36745a;color:white;min-width:70%;margin:4px auto;display:block}.secondary{background:#e7ecdf;color:#55715e}.introCard>small{display:block;font-size:10px;color:#9ba99a;margin-top:15px}
.storyCard{max-width:620px}.storyEyebrow{display:flex;justify-content:space-between;gap:8px}.storyCard h2{font-size:24px;margin:16px 0 12px;color:#294938}.storyCard>p{font-size:14px;line-height:1.93;color:#587065}.choiceHint{font-size:12px!important;color:#997c4e!important;margin:18px 0 10px}.choices{display:grid;gap:10px}.choice{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e1e8d8;background:#f5f7ee;color:#2f5642;padding:13px;border-radius:14px;width:100%;min-height:73px}.choice:hover{border-color:#88b69d;background:#eff7eb}.choiceIcon{font-size:24px;min-width:36px;text-align:center}.choice strong{font-size:13px;display:block}.choice small{font-size:10px;color:#779085;margin-top:5px;display:block}.storyFooter{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px}.storyFooter span{color:#9aab9d;font-size:10px}.storyFooter button{font-size:11px}.drawerHead{display:flex;justify-content:space-between;align-items:center}.drawerHead h2{margin:5px 0 16px}.drawerHead button{border:0;background:#e8eee3;border-radius:12px;padding:6px 13px;font-size:22px}.journalItems{max-height:65vh;overflow:auto}.historyItem{border-bottom:1px solid #e4e9df;padding:12px 0}.historyItem small{color:#74927e}.historyItem strong{display:block;margin:5px 0;font-size:13px}.historyItem p{font-size:12px;color:#778879;line-height:1.65;margin:0}.endCard h2{font-size:25px;color:#365846}.endCard p{line-height:1.8;color:#668274}.endNumbers{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.endNumbers span{background:#edf1e7;padding:8px 12px;border-radius:10px;font-size:12px}.endHistory{max-height:37dvh;overflow:auto;border-top:1px solid #e0e8dc;margin-bottom:20px}.endHistory article{padding:10px 0;border-bottom:1px solid #e6e9e1;font-size:12px;line-height:1.6;color:#688072}.endHistory article b{color:#3c604b}
@media(max-width:620px){.head{top:7px;left:7px;right:7px;gap:5px;flex-wrap:wrap}.brand{padding:5px 8px;border-radius:11px;gap:6px}.brand strong{font-size:11px}.brand small{font-size:8px}.mark{width:25px;height:25px;font-size:13px}.agePill{padding:7px 8px;border-radius:9px;gap:5px}.agePill strong{font-size:12px}.agePill small{font-size:8px;max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick{width:100%;justify-content:flex-end;gap:5px}.quick button{font-size:10px;padding:6px 9px;border-radius:9px}.status{top:82px;left:8px;padding:10px 12px;width:min(270px,calc(100% - 16px));border-radius:15px}.status h2{font-size:14px;margin:6px 0}.status p{font-size:10px;margin-bottom:7px}.statusHead{font-size:9px}.twoStats{font-size:10px}.journeyTrack{margin-top:9px}.status>small{font-size:9px}.controls{bottom:28px;left:10px;right:10px}.joy{height:80px;width:80px}.joy:before{width:70px;height:70px}.joy>div{height:38px;width:38px}.joyZone small{display:none}.goBtn,.holdBtn{min-width:150px;max-width:170px;font-size:12px;padding:12px}.goZone small{display:none}.innerVoice{bottom:135px;max-width:90vw;padding:11px 16px}.innerVoice p{font-size:13px}.npcTag{font-size:10px;padding:5px 7px}.npcTag small{font-size:8px}.introCard,.storyCard,.journalCard,.endCard{border-radius:20px;padding:19px}.storyCard h2{font-size:19px}.storyCard>p{font-size:12px;line-height:1.8}.choice{min-height:61px;padding:10px}.choice strong{font-size:12px}.choice small{font-size:9px}.choiceIcon{font-size:18px}.storyFooter span{display:none}.introCard h1{font-size:24px}.introCard p{font-size:12px}.status{backdrop-filter:blur(7px)}}
