:root{font-family:'Segoe UI',Arial,sans-serif;color:#25413c;background:#a8c9c2;--green:#21554a;--cream:#fffaf0;--line:#e3e4d6}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ecad47;outline-offset:4px}button:disabled{cursor:default}h1,h2,p{margin:0}p{line-height:1.7}button{touch-action:manipulation}.game-world{position:relative;width:100%;height:100dvh;min-height:420px;overflow:hidden;background:radial-gradient(ellipse at center,#c4d9c5,#93beb8)}#world-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#world-canvas:active{cursor:grabbing}.world-vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 160px #315d5820;background:linear-gradient(#e1eacb44,transparent 25%,transparent 70%,#3e7d7522)}.game-top{position:absolute;top:26px;left:30px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none;z-index:4}.game-top>*{pointer-events:auto}.game-brand{display:flex;gap:9px;align-items:center;background:#fffaf0e8;border:1px solid #fff8;padding:10px 17px 10px 10px;border-radius:18px;box-shadow:0 5px 0 #31534916,0 6px 20px #33584f16}.game-brand img{width:42px;height:42px}.game-brand span{font-size:23px;font-weight:800;line-height:1;letter-spacing:-.6px}.game-brand small{display:block;font-size:8px;letter-spacing:4px;font-weight:600;margin-top:5px}.game-stats{display:flex;gap:10px}.game-stats>span{background:#fffaf0ef;border-radius:30px;padding:10px 18px;font-weight:750;font-size:16px;box-shadow:0 4px 0 #466b5f1a;border:1px solid #fff9;min-width:85px;display:flex;align-items:center;gap:9px}.game-stats i{font-style:normal;color:#d4a04c;font-size:21px}.game-stats>span:nth-child(2) i{color:#da7c66}.game-stats>span:nth-child(3) i{color:#6a9b8e}.top-tools{display:flex;gap:10px}.icon-btn{width:46px;height:46px;display:inline-grid;place-items:center;border-radius:15px;background:#fffaf0f2;border:1px solid #fff8;box-shadow:0 4px 0 #3a655326;color:#34584e;font-weight:700;font-size:24px;transition:transform .12s,background .12s}.icon-btn:hover{transform:translateY(-3px);background:#fffdf5}.icon-btn:active{transform:translateY(2px);box-shadow:none}.game-dock{position:absolute;top:50%;left:28px;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;gap:15px}.game-dock .icon-btn{width:56px;height:56px;border-radius:18px;font-size:28px;background:#fff9e8}.game-dock .icon-btn[aria-current]{background:#ebbe69;color:#43573f;border-color:#f7d99d;box-shadow:0 5px 0 #ab8745}.world-labels{position:absolute;inset:0;pointer-events:none;z-index:2}.world-labels[hidden]{display:none}.world-pin{position:absolute;display:flex;align-items:center;gap:8px;padding:9px 14px;background:#fffaf0f5;border:2px solid #fffdf2;border-radius:12px;box-shadow:0 4px 0 #4a645b35,0 6px 22px #385e4925;transform:translate(-50%,-100%);white-space:nowrap;pointer-events:auto;transition:background .15s;font-size:12px;min-height:43px}.world-pin:hover{background:#ffe4a4}.world-pin:after{content:'';position:absolute;bottom:-9px;left:calc(50% - 7px);border-top:8px solid #fffaf0;border-inline:7px solid transparent}.world-pin>span{font-size:20px;color:#d49b54}.world-pin small{font-size:9px;padding:4px 6px;border-radius:6px;background:#e6eedc;color:#628367}.world-pin i{font-style:normal;font-size:11px}.mentor-pin{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;width:37px;height:45px;clip-path:polygon(0 0,100% 0,100% 78%,65% 78%,50% 100%,35% 78%,0 78%);background:#eeb958;color:#fffbe7;font-size:27px;font-weight:900;filter:drop-shadow(0 4px 1px #987b3e);animation:float 2s ease-in-out infinite}.player-corner{position:absolute;bottom:25px;left:27px;z-index:4;display:flex;align-items:center;gap:12px;background:#fffbefed;border:1px solid #fff9;padding:8px 18px 8px 8px;border-radius:24px;box-shadow:0 5px 0 #3d65522b;max-width:280px}.player-bust{width:63px;height:63px;border-radius:18px;background:#dfe5d2;overflow:hidden;padding:0}.player-bust img{width:100%;height:100%;object-fit:cover;object-position:50% 13%;transform:scale(1.7);transform-origin:50% 20%}.player-corner strong{font-size:13px;max-width:160px;overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap}.player-corner small{font-size:10px;color:#8a947d;display:block;margin-top:5px}.quest-launch{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);z-index:4}.quest-dots{display:flex;justify-content:center;gap:6px;margin-bottom:12px}.quest-dots i{width:7px;height:7px;border-radius:50%;background:#eef2dd99;box-shadow:0 1px 2px #51766b33}.quest-dots i.done{background:#3d7862}.quest-dots i.now{background:#edb85a;box-shadow:0 0 0 3px #f6de9d88}.play-quest{background:#fff9ec;border:2px solid #fffdf2;border-radius:20px;box-shadow:0 6px 0 #977d4b55,0 10px 30px #2a4b4c33;min-width:214px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 21px;color:#3e5c49}.play-quest>span:first-child{font-size:23px;color:#d2993f}.play-quest>span:last-child{font-size:25px}.play-quest b{font-size:13px;letter-spacing:1px}.play-quest:hover{background:#ffe2a1}.world-hint{position:absolute;bottom:27px;right:27px;color:#335f57a6;font-size:10px;font-weight:600}.simulation-label{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);font-size:8px;color:#2f5d5177;letter-spacing:1.5px;z-index:3;white-space:nowrap}.game-panel,.quest-panel{position:absolute;right:32px;top:115px;bottom:100px;width:420px;background:#fffaf0f5;border:2px solid #fffdf2;border-radius:28px;box-shadow:0 8px 0 #35594b24,0 20px 70px #234d4230;z-index:5;padding:22px;overflow:auto;backdrop-filter:blur(15px)}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:8px}.panel-top h1{font-size:21px}.panel-top .icon-btn{width:34px;height:34px;font-size:23px;border-radius:12px;box-shadow:none;background:#eae9db}.quest-level{background:#e7ecd9;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:700;color:#658060}.quest-npc{position:relative;width:119px;height:119px;margin:0 auto 18px}.quest-npc img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 19%;border:5px solid #e9d3a5}.quest-npc>span{position:absolute;bottom:-6px;right:-5px;font-size:32px;background:#fffaed;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 0 #d3d2b7}.quest-panel h1{text-align:center;font-size:25px;letter-spacing:-.5px}.quest-line{text-align:center;font-size:13px;color:#819075;margin-top:11px;margin-bottom:22px}.evidence-button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:13px 17px;border-radius:16px;background:#ecebd8;border:1px solid #dedfbe;color:#6c785a;margin-bottom:20px}.evidence-button>span:first-child{font-size:27px}.evidence-button b{font-size:12px}.evidence-button>span:last-child{font-size:20px}.evidence-button.read{background:#e2eddb;color:#547551}.visual-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.visual-choice{background:#fffdf6;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:2px solid #e4e5d7;border-radius:18px;padding:10px;box-shadow:0 4px 0 #c9d0b733;transition:transform .15s,border-color .15s}.visual-choice:disabled{opacity:.45}.visual-choice:not(:disabled):hover{transform:translateY(-4px);border-color:#e1b65f;background:#fff0c9}.visual-choice>span{font-size:30px}.visual-choice b{font-size:11px;line-height:1.4;text-align:center}.quest-tip{font-size:10px;display:block;text-align:center;color:#939a80;margin-top:17px}.reward{display:flex;justify-content:center;gap:10px;margin:24px 0}.reward span{padding:9px 12px;border-radius:12px;background:#e7ecd9;font-size:13px;font-weight:700;color:#5b7959}.result-actions{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:24px}.game-button{border-radius:15px;background:#e8b861;color:#5e512f;border:2px solid #f8d897;box-shadow:0 5px 0 #b58a41;padding:13px 22px;font-size:13px;font-weight:750;min-height:48px;transition:transform .12s}.game-button:hover{background:#f4cb78;transform:translateY(-2px)}.game-button:active{transform:translateY(2px);box-shadow:0 2px 0 #b58a41}.main-button{display:block;width:100%;margin-top:23px}.model-switch{display:flex;gap:8px;padding:7px;background:#e9ecdc;border-radius:16px;margin:18px 0}.model-switch button{flex:1;padding:10px 8px;border-radius:11px;background:none;font-size:12px}.model-switch .active{background:#fffaf0;box-shadow:0 2px 6px #395e4420;font-weight:700}.bcc-flow{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:23px 0}.bcc-flow>span{text-align:center;font-size:25px}.bcc-flow b{display:block;font-size:12px;margin-top:7px;white-space:nowrap}.bcc-flow i{font-style:normal;color:#b4b99d}.pool-control{font-size:11px;color:#829072;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:17px 0 10px}.pool-control>span{display:flex;align-items:center;gap:8px}.pool-control input{width:95px;background:#fffdf6;border:1px solid #d9dfc9;border-radius:11px;padding:9px;text-align:right;font-size:20px;font-weight:700;color:#3b6452}.pool-control b{font-size:11px}.pool-presets{display:flex;gap:9px;justify-content:flex-end;margin:2px 0 20px}.pool-presets button{border-radius:20px;font-size:10px;padding:6px 12px;background:#e7ecdc;color:#6a805e}.cash-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 0;border-block:1px solid var(--line)}.cash-stats>div{display:grid;gap:9px}.cash-stats span{font-size:10px;color:#869279}.cash-stats b{font-size:20px}.cash-bars{display:flex;align-items:flex-end;gap:3px;height:105px;margin-top:22px}.cash-bars i{display:block;flex:1;min-width:1px;border-radius:2px 2px 0 0;background:#558b71}.cash-bars i.phase-after{background:#d9ae68}.cash-legend{display:flex;justify-content:space-between;font-size:9px;color:#929a80;margin:8px 0 18px}.cash-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#69835d}.cash-bottom button{background:#e8ecdc;border-radius:9px;padding:5px 9px;font-size:20px}.model-info{display:block;margin:20px auto 0;background:none;text-decoration:underline;text-underline-offset:4px;font-size:10px;color:#939b80}.buy-visual{display:flex;align-items:center;justify-content:space-between;margin:45px 0 35px}.buy-visual>span{font-size:37px;text-align:center}.buy-visual b{display:block;font-size:19px;margin-top:12px}.buy-visual i{font-size:22px;font-style:normal;color:#aeb797}.buy-gap{text-align:center;border-block:1px solid #dce1cf;padding:23px;margin-top:25px}.buy-gap span{font-size:11px;color:#9b9e82;display:block}.buy-gap b{display:block;font-size:35px;margin-top:10px;color:#608360}.buy-ongoing{display:flex;align-items:center;justify-content:space-between;margin:25px 0;font-size:14px}.buy-ongoing button{font-size:22px;background:none}.skill-orbs{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:25px 0}.skill-orbs>div{text-align:center}.skill-orbs span{width:50px;height:50px;border-radius:50%;background:conic-gradient(#7da57a var(--progress),#e3e7d5 0);display:grid;place-items:center;font-size:23px;border:4px solid #e3e7d5}.skill-orbs small{font-size:8px;display:block;margin:8px 0;color:#80916e}.skill-orbs b{font-size:10px}.journal-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:25px}.journal-tiles button{display:grid;place-items:center;gap:6px;background:#eceedd;border:2px solid #e3e4d0;border-radius:18px;padding:14px 8px}.journal-tiles button:disabled{opacity:.4}.journal-tiles button>span{font-size:30px}.journal-tiles button>b{font-size:11px;color:#ba9750}.journal-actions{display:flex;justify-content:center;gap:15px;margin:25px 0}.input-error{text-align:center;padding:30px 0;color:#a75c44;font-size:13px}dialog{max-width:640px;width:calc(100% - 32px);max-height:89dvh;overflow:auto;border:3px solid #fffdf3;background:#fffaf1;border-radius:28px;padding:30px;box-shadow:0 9px 0 #324f4929,0 30px 100px #20483e44;color:#345449}dialog::backdrop{background:#274a444f;backdrop-filter:blur(7px)}.game-dialog h2{font-size:24px;text-align:center;margin:5px 35px 25px}.game-dialog>.icon-btn{position:absolute;top:18px;right:18px;width:33px;height:33px;box-shadow:none;background:#eeeddf;border:0;font-size:23px}.game-dialog p{font-size:13px;line-height:1.75;color:#7d8872;margin:16px 0}.characters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.character{background:#ecead8;border:3px solid transparent;border-radius:20px;overflow:hidden;cursor:pointer;transition:transform .15s}.character:hover{transform:translateY(-4px)}.character.chosen{border-color:#e4b75c;box-shadow:0 5px 0 #d1b07755}.character input{position:absolute;opacity:0}.character:focus-within{outline:3px solid #477b62;outline-offset:4px}.character img{display:block;width:100%;height:220px;object-fit:cover;object-position:50% 30%}.character b{font-size:11px;text-align:center;display:block;padding:13px 5px}.nickname{display:flex;align-items:center;gap:12px;max-width:260px;margin:24px auto 0;border-bottom:1px solid #d6dcc5;color:#a1ad91;padding-bottom:7px}.nickname input{min-width:0;max-width:220px;border:0;background:none;text-align:center;padding:6px;font-size:14px;color:#54735c}.dialog-foot{display:block;font-size:9px;color:#a0a48b;text-align:center;line-height:1.6;margin-top:18px}.dialog-actions{display:flex;justify-content:center;gap:15px;margin:20px 0}.evidence-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:start}.evidence-tiles>div{text-align:center;background:#f0efdf;border-radius:20px;padding:20px 12px}.evidence-tiles>div>span{font-size:36px;display:block;margin-bottom:12px}.evidence-tiles b{font-size:12px;line-height:1.6;display:block}.evidence-tiles summary{background:none;padding:12px 5px 0}.evidence-tiles details p{text-align:left;font-size:11px}.game-dialog details{border-top:1px solid #dde1cf;margin-top:18px}.game-dialog summary{padding:15px 0;cursor:pointer;font-size:12px;color:#8c997a;list-style:none;text-align:center}.notes-label{display:flex;align-items:flex-start;gap:10px;color:#8c9b7a}.notes-label textarea{width:100%;font-size:12px;border:1px solid #dbe0cb;border-radius:12px;padding:12px;background:#fffdf7;color:#587253;line-height:1.6;resize:vertical}.cash-scroll{max-height:55vh;overflow:auto}table{border-collapse:collapse;font-size:11px;width:100%;white-space:nowrap;text-align:right}th,td{padding:11px 12px;border-bottom:1px solid #e0e5d3}th:first-child,td:first-child{text-align:left}th{position:sticky;top:0;background:#e9eddc;color:#7c8d6b;font-weight:600}.building-emblem{font-size:50px;text-align:center;color:var(--unit);width:85px;height:85px;display:grid;place-items:center;background:#ececda;border-radius:25px;margin:0 auto 20px}.building-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:11px}.building-facts>span{font-size:12px;background:#e9efdf;padding:10px 14px;border-radius:13px}.help-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.help-icons>div{text-align:center;font-size:32px;background:#edefdd;border-radius:17px;padding:17px 8px}.help-icons span{display:block;font-size:10px;margin-top:12px;color:#829573}.profile-portrait{width:170px;height:230px;display:block;border-radius:25px;object-fit:cover;object-position:50% 25%;margin:0 auto}.profile-role{text-align:center;font-size:13px;color:#79916e;margin-top:14px}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes float{0%,100%{margin-top:0}50%{margin-top:-9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:1100px){.game-top{top:20px;left:22px;right:22px}.game-panel,.quest-panel{right:22px;width:360px;top:102px;bottom:102px;padding:20px}.game-brand{padding:9px 13px 9px 9px}.game-brand span{font-size:20px}.game-brand img{width:36px;height:36px}.game-stats>span{font-size:13px;padding:8px 12px;min-width:68px}.game-stats{gap:7px}.game-dock{left:22px}.game-dock .icon-btn{width:49px;height:49px;font-size:24px}.quest-panel h1{font-size:23px}.quest-npc{width:100px;height:100px;margin-bottom:15px}.skill-orbs{gap:7px}.skill-orbs span{width:44px;height:44px;font-size:20px}.skill-orbs small{font-size:7px}.world-pin{padding:8px 11px;font-size:11px}.world-pin small{font-size:8px}.player-corner{bottom:27px;left:22px}.player-bust{width:50px;height:50px}.player-corner strong{font-size:11px}.quest-launch{bottom:28px}.play-quest{padding:12px 17px;min-width:185px}.world-hint{font-size:9px}}@media(max-width:760px){.game-world{min-height:360px}.game-top{top:14px;left:14px;right:14px;gap:8px}.game-brand{padding:7px 9px 7px 7px;gap:6px;border-radius:14px}.game-brand img{width:29px;height:29px}.game-brand span{font-size:17px}.game-brand small{font-size:6px;letter-spacing:3px;margin-top:3px}.game-stats{gap:5px}.game-stats>span{font-size:11px;min-width:45px;padding:6px 8px;gap:4px}.game-stats i{font-size:14px}.top-tools{gap:5px}.top-tools .icon-btn{width:32px;height:32px;border-radius:11px;font-size:19px}.top-tools .icon-btn:first-child{display:none}.game-dock{left:12px;gap:11px;top:43%}.game-dock .icon-btn{width:42px;height:42px;border-radius:13px;font-size:23px}.world-pin{padding:6px 9px;border-width:1px;gap:5px;border-radius:10px;font-size:9px;min-height:33px}.world-pin>span{font-size:16px}.world-pin small{font-size:7px;padding:3px}.world-pin.holding small{display:none}.world-pin i{font-size:8px}.player-corner{bottom:28px;left:12px;padding:5px;border-radius:17px}.player-corner>div{display:none}.player-bust{width:44px;height:44px;border-radius:13px}.quest-launch{bottom:29px}.play-quest{padding:10px 15px;min-width:180px;gap:15px;border-radius:17px}.play-quest b{font-size:11px}.play-quest>span:first-child{font-size:20px}.play-quest>span:last-child{font-size:22px}.quest-dots{gap:5px;margin-bottom:10px}.quest-dots i{width:5px;height:5px}.world-hint{right:12px;bottom:33px;max-width:68px;text-align:right;font-size:8px;line-height:1.8}.simulation-label{bottom:9px;font-size:7px}.game-panel,.quest-panel{top:auto;bottom:100px;right:12px;left:68px;width:auto;max-height:calc(100dvh - 180px);padding:17px;border-radius:23px}.quest-npc{width:78px;height:78px;margin-top:-7px;margin-bottom:12px}.quest-npc>span{width:37px;height:37px;font-size:24px}.quest-panel h1{font-size:21px}.quest-line{font-size:11px;margin-top:8px;margin-bottom:17px}.quest-level{font-size:10px;padding:6px 9px}.panel-top .icon-btn{width:28px;height:28px;font-size:19px;border-radius:9px}.evidence-button{padding:9px 12px;margin-bottom:15px;border-radius:12px}.evidence-button>span:first-child{font-size:22px}.evidence-button b{font-size:10px}.visual-choices{gap:6px}.visual-choice{padding:7px;min-height:84px;border-radius:13px}.visual-choice>span{font-size:25px}.visual-choice b{font-size:9px}.quest-tip{font-size:9px;margin-top:12px}.game-button{font-size:12px;padding:11px 17px;min-height:42px;border-radius:13px}.reward{gap:6px}.reward span{font-size:11px;padding:8px 10px}.panel-top h1{font-size:19px}.bcc-flow>span{font-size:21px}.bcc-flow b{font-size:10px}.pool-control{font-size:10px}.pool-control input{font-size:18px;width:80px}.cash-stats b{font-size:17px}.cash-stats span{font-size:9px}.cash-bars{height:75px;gap:2px}.cash-bottom{font-size:9px}.cash-legend{font-size:8px}.model-switch button{font-size:10px}.model-switch{margin:13px 0}.model-info{margin-top:14px;font-size:9px}.skill-orbs{gap:5px}.skill-orbs span{width:35px;height:35px;font-size:17px;border-width:3px}.skill-orbs small{font-size:7px}.skill-orbs b{font-size:9px}.journal-tiles{gap:8px;margin-top:20px}.journal-tiles button{padding:10px 6px;border-radius:13px}.journal-tiles button>span{font-size:25px}.journal-actions{margin:18px 0}.buy-visual{margin:32px 0 22px}.buy-visual>span{font-size:28px}.buy-visual b{font-size:15px}.buy-gap b{font-size:27px}.buy-ongoing{font-size:11px}.game-dialog{padding:23px 18px;border-radius:24px}.game-dialog h2{font-size:21px;margin-bottom:22px}.characters{gap:7px}.character{border-radius:14px;border-width:2px}.character img{height:165px}.character b{font-size:9px;padding:11px 3px}.nickname{max-width:220px}.nickname input{max-width:190px}.evidence-tiles{gap:7px}.evidence-tiles>div{padding:16px 7px;border-radius:14px}.evidence-tiles>div>span{font-size:29px}.evidence-tiles b{font-size:10px}.game-dialog p{font-size:12px}.help-icons{gap:7px}.help-icons>div{font-size:24px;padding:13px 5px;border-radius:13px}.help-icons span{font-size:8px;line-height:1.6}.building-facts>span{font-size:10px;padding:9px 11px}.dialog-foot{font-size:8px}}@media(max-height:650px) and (min-width:761px){.quest-panel,.game-panel{top:85px;bottom:75px}.quest-npc{width:75px;height:75px;margin-bottom:10px}.quest-panel h1{font-size:22px}.quest-line{margin-bottom:15px}.visual-choice{min-height:85px}.game-top{top:15px}.game-brand img{width:32px;height:32px}.game-brand span{font-size:18px}.player-corner{bottom:17px}.quest-launch{bottom:19px}}
