:root{color-scheme:dark;--night:#0c1720;--navy:#122a37;--ink:#e8e9e4;--dim:#a8b8c1;--gold:#c6a572;--line:rgba(205,220,227,.17);--glass:rgba(12,25,34,.86);--cream:#f7f3eb;--font:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--night);color:var(--ink);font-family:var(--font)}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #e2c390;outline-offset:4px}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}.hidden{display:none!important}
.app{position:relative;min-height:100vh;min-height:100dvh;overflow:hidden;background:#0c1720}.grain{position:absolute;inset:0;pointer-events:none;z-index:65;opacity:.11;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E")}
.topbar{position:relative;z-index:70;display:flex;justify-content:space-between;align-items:center;min-height:69px;padding:12px clamp(16px,3.4vw,56px);border-bottom:1px solid var(--line);background:rgba(10,19,27,.96)}.brand{border:none;background:none;color:var(--ink);display:flex;gap:12px;align-items:center;font-size:15px;font-weight:650;letter-spacing:.08em;text-align:left;padding:0}.brand-mark{height:38px;width:40px;border:1px solid rgba(196,162,111,.7);border-radius:3px;display:grid;place-items:center;font-size:12px;color:var(--gold);letter-spacing:.05em}.brand small{display:block;color:#9ab0ba;font-size:9px;font-weight:400;margin-top:3px;letter-spacing:.20em}.progress{display:flex;align-items:center;gap:16px}.progress-label{font-size:12px;color:#bec9ce}.progress-track{display:flex;gap:5px}.progress-track i{display:block;width:34px;height:3px;background:#354652;border-radius:4px}.progress-track i.completed{background:var(--gold)}.toptools{display:flex;gap:7px}.iconbtn{background:transparent;color:#bec7cc;padding:9px 12px;border:1px solid rgba(196,215,226,.12);border-radius:5px;font-size:12px}.iconbtn:hover,.plainlink:hover{border-color:var(--gold);color:#fff}
.main{height:calc(100dvh - 69px);min-height:650px;position:relative;isolation:isolate;overflow:hidden}.world{position:absolute;inset:0;background:linear-gradient(180deg,#111c29,#20374a 56%,#13202a);overflow:hidden}.sky{position:absolute;inset:0;background:radial-gradient(ellipse at 64% 11%,#3d5a6e 0%,transparent 43%),linear-gradient(170deg,#101d2e 0%,#284152 59%,#1c252c 100%);transition:background .8s}.moon{position:absolute;right:17%;top:13%;width:52px;height:52px;border-radius:50%;background:#e6cbaa;box-shadow:0 0 100px 28px rgba(228,207,173,.07);opacity:.6}.skyline{position:absolute;left:-4%;width:110%;bottom:29%;height:52%;background-repeat:repeat-x;filter:drop-shadow(0 8px 12px rgba(0,0,0,.15))}.skyline-back{opacity:.58;background:linear-gradient(90deg,#172b38 0 7%,transparent 7% 11%,#182b38 11% 19%,transparent 19% 21%,#1c3240 21% 28%,transparent 28% 31%,#1a2e3b 31% 41%,transparent 41% 44%,#1b3041 44% 51%,transparent 51% 54%,#193040 54% 69%,transparent 69% 71%,#132938 71% 81%,transparent 81% 84%,#182e3d 84% 95%,transparent 95%);clip-path:polygon(0 38%,7% 38%,7% 20%,12% 20%,12% 42%,21% 42%,21% 6%,32% 6%,32% 30%,39% 30%,39% 15%,45% 15%,45% 40%,54% 40%,54% 0,60% 0,60% 33%,67% 33%,67% 16%,79% 16%,79% 33%,89% 33%,89% 20%,100% 20%,100% 100%,0 100%)}.skyline-front{height:35%;bottom:29%;background:linear-gradient(#101d29,#132432);clip-path:polygon(0 20%,12% 20%,12% 12%,23% 12%,23% 46%,32% 46%,32% 17%,41% 17%,41% 26%,53% 26%,53% 4%,66% 4%,66% 36%,75% 36%,75% 18%,86% 18%,86% 38%,100% 38%,100% 100%,0 100%)}.horizon{position:absolute;bottom:29%;height:4px;left:0;right:0;background:rgba(225,168,98,.14);box-shadow:0 0 22px rgba(219,163,91,.10)}.ground{position:absolute;bottom:0;left:0;right:0;height:29%;background:linear-gradient(#1a2b34,#0d171d);border-top:1px solid rgba(225,194,150,.25)}.road-line{position:absolute;bottom:12%;left:0;width:100%;height:1px;background:linear-gradient(90deg,transparent,#8d8375 20% 80%,transparent);opacity:.36}.window-lights{position:absolute;left:7%;bottom:38%;width:85%;height:12%;background:repeating-linear-gradient(90deg,transparent 0 24px,rgba(221,159,95,.30) 24px 26px,transparent 26px 62px);mask-image:repeating-linear-gradient(180deg,black 0 5px,transparent 5px 18px);opacity:.4}.scene-meta{position:absolute;left:clamp(18px,4vw,76px);top:35px;display:flex;gap:14px;font-size:11px;letter-spacing:.12em;color:#d2b99a;z-index:4}.scene-title{position:absolute;left:clamp(18px,7vw,118px);top:22%;max-width:380px;z-index:4}.scene-title span{font-family:Georgia,Songti SC,SimSun,serif;font-size:clamp(27px,3vw,48px);letter-spacing:.015em;line-height:1.24;display:block}.scene-title small{display:block;margin-top:20px;font-size:14px;color:#bdcbd1;line-height:1.8}.world-caption{position:absolute;bottom:26px;left:clamp(18px,5vw,78px);color:#d3bd9e;font-size:13px;letter-spacing:.04em}.decor{position:absolute;bottom:28%;width:8px;height:28%;background:#33454b;opacity:.55}.decor-left{left:7%}.decor-right{right:12%}
/* Silhouette actors, light animation deliberately restrained */
.avatar{position:absolute;bottom:24%;left:17%;height:166px;width:75px;z-index:5;transition:left .64s cubic-bezier(.18,.7,.35,1)}.avatar .head{position:absolute;top:25px;left:21px;width:36px;height:39px;background:#b98d6f;border-radius:44% 44% 45% 45%;z-index:4;box-shadow:inset -6px 0 8px rgba(26,12,7,.17)}.avatar .hair{position:absolute;top:21px;left:18px;width:41px;height:21px;background:#131b20;border-radius:48% 52% 14% 14%;z-index:5}.avatar .torso{position:absolute;top:61px;left:13px;width:51px;height:66px;background:#344958;border-radius:14px 14px 5px 5px;z-index:3;box-shadow:inset -12px 0 9px rgba(0,0,0,.12)}.avatar .arm{position:absolute;top:70px;width:13px;height:58px;background:#42596a;border-radius:10px}.arm-l{left:4px;transform:rotate(6deg)}.arm-r{left:57px;transform:rotate(-6deg)}.avatar .leg{position:absolute;top:124px;width:17px;height:45px;background:#151c29;border-radius:4px}.leg-l{left:22px}.leg-r{left:40px}.avatar.player .torso{background:#5c5860}.avatar.player .arm{background:#70636c}.avatar.npc{left:72%;transform:scale(.81);opacity:.75;filter:brightness(.82)}.avatar-name{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);color:#f0e1c9;white-space:nowrap;font-size:12px;letter-spacing:.1em}.avatar.walking .leg-l{animation:stride .25s alternate 3}.avatar.walking .leg-r{animation:stride .25s alternate-reverse 3}@keyframes stride{to{transform:rotate(15deg);transform-origin:top center}}
.machine{position:absolute;left:50%;bottom:24%;height:234px;width:158px;transform:translateX(-50%);z-index:4;cursor:pointer}.machine-screen{position:absolute;inset:0 9px 58px;border:8px solid #526873;background:linear-gradient(142deg,#182d3a,#112632);border-radius:18px;box-shadow:0 0 38px rgba(115,175,192,.2),inset 0 0 18px rgba(14,89,101,.33);display:flex;flex-direction:column;align-items:center;justify-content:center}.machine-screen span{font-family:Georgia,Songti SC,serif;font-size:23px;letter-spacing:.15em}.machine-screen small{color:#d5ad78;font-size:11px;margin-top:7px;letter-spacing:.16em}.machine-screen b{font-weight:300;color:#a2d5ce;font-size:45px;line-height:1.3}.machine-light{position:absolute;top:7px;left:17px;right:17px;height:1px;box-shadow:0 0 25px 4px #74b4ba}.machine-stand{position:absolute;bottom:0;left:54px;width:52px;height:70px;background:#52636c;border-radius:4px 4px 0 0}.hotspot{position:absolute;left:50%;bottom:53%;transform:translateX(-50%);z-index:16;background:rgba(14,28,36,.87);color:#f9e5c6;border:1px solid var(--gold);border-radius:30px;padding:13px 19px;box-shadow:0 12px 42px rgba(0,0,0,.25);font-size:13px;display:flex;align-items:center;gap:11px}.hotspot-ring{width:13px;height:13px;border-radius:100%;background:var(--gold);box-shadow:0 0 0 5px rgba(197,162,113,.17)}.hotspot:hover{transform:translateX(-50%) translateY(-3px);background:#223744}
body[data-scene="rural"] .sky{background:linear-gradient(180deg,#384d53 0%,#688080 59%,#4a6059 100%)}body[data-scene="rural"] .skyline-back{opacity:.3;clip-path:polygon(0 60%,13% 60%,13% 40%,23% 40%,23% 60%,34% 60%,34% 25%,45% 25%,45% 55%,60% 55%,60% 33%,75% 33%,75% 67%,100% 67%,100% 100%,0 100%)}body[data-scene="rural"] .skyline-front{background:#344d4d;clip-path:polygon(0 42%,18% 42%,18% 30%,36% 30%,36% 64%,48% 64%,48% 22%,66% 22%,66% 55%,82% 55%,82% 38%,100% 38%,100% 100%,0 100%)}body[data-scene="rural"] .ground{background:linear-gradient(#374944,#192c2a)}body[data-scene="rural"] .avatar.player .torso{background:#67614b}body[data-scene="factory"] .sky{background:linear-gradient(160deg,#273846,#0c1c26 68%)}body[data-scene="factory"] .skyline-back{clip-path:polygon(0 17%,100% 17%,100% 100%,0 100%);background:repeating-linear-gradient(90deg,#223641 0 30px,#293a44 30px 34px,#162b38 34px 150px)}body[data-scene="factory"] .skyline-front{clip-path:polygon(0 63%,100% 63%,100% 100%,0 100%);background:#20303a}body[data-scene="factory"] .ground{background:linear-gradient(#182530,#101a20)}
.overlay,.panel-overlay,.help-overlay,.archive{position:absolute;inset:0;z-index:20}.overlay{display:grid;place-items:center;background:linear-gradient(90deg,rgba(8,16,22,.94) 0%,rgba(8,16,22,.64) 64%,rgba(8,16,22,.18) 100%)}.intro-inner{max-width:700px;width:82%;padding:4vh 0;transform:translateY(-3%)}.eyebrow{color:#c7a873;font-size:10px;font-weight:600;letter-spacing:.28em;margin-bottom:22px}.intro h1,.end-content h1{font-family:Georgia,"Songti SC",SimSun,serif;font-size:clamp(46px,6.7vw,91px);line-height:1.18;letter-spacing:.01em;font-weight:450;margin:0 0 26px}.intro h1 em,.end-content h1 em{color:#ceb08a;font-style:normal}.intro p{font-size:17px;line-height:1.9;color:#d2d9d8;max-width:495px}.intro .intro-question{color:#efded2;font-size:20px;margin-bottom:30px}.btn{border-radius:4px;padding:14px 20px;font-size:14px;font-weight:580;border:1px solid transparent;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:13px}.btn.primary{background:#c7a97e;color:#14212a}.btn.primary:hover{background:#efd5a8}.btn.secondary{border-color:#7d91a1;background:rgba(19,37,48,.89);color:#f1f0ec}.btn.secondary:hover,.btn.ghost:hover{background:#2c414c}.btn.ghost{border-color:var(--line);background:none;color:#aabbc6}.disclaimer{font-size:11px;color:#84969f;margin-top:35px;letter-spacing:.06em;line-height:1.6}
.role-overlay{z-index:22;overflow:auto}.role-panel{max-width:960px;width:calc(100% - 64px);margin:auto}.role-panel h2{font-family:Georgia,"Songti SC",SimSun,serif;font-size:clamp(34px,4.5vw,58px);margin:0 0 10px;font-weight:500}.role-panel>p{color:#c7d0d4;line-height:1.8;max-width:520px}.role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:32px}.role-card{border:1px solid rgba(210,215,216,.22);background:rgba(15,30,40,.80);min-height:215px;display:flex;align-items:flex-start;gap:16px;text-align:left;padding:30px 26px;color:#e9e8e0;border-radius:8px;transition:transform .2s,border-color .2s}.role-card:hover,.role-card:focus-visible{border-color:var(--gold);transform:translateY(-3px);background:#1d303c}.role-badge{flex:0 0 44px;height:44px;border:1px solid #8c795e;display:grid;place-items:center;border-radius:100%;font-family:serif;font-size:20px;color:#e6ca9c}.role-copy{display:flex;flex-direction:column;gap:7px;flex:1}.role-copy strong{font-size:24px;font-family:Georgia,"Songti SC",SimSun,serif;font-weight:500}.role-copy small{font-size:12px;color:#d7b887}.role-copy>span{color:#bdc8cc;font-size:14px;line-height:1.9;margin-top:7px}.role-card b{font-size:23px;font-weight:300;color:#c2a475}.role-foot{font-size:11px!important;max-width:none!important;color:#9baab1!important;margin-top:25px}
.chat-screen{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;gap:32px;background:linear-gradient(90deg,rgba(6,13,17,.31),rgba(5,13,19,.46));padding:28px 45px 38px}.chat-context{position:absolute;left:clamp(20px,6vw,110px);top:25%;width:22%;display:flex;align-items:center;gap:13px;max-width:245px}.chat-avatar{flex:none;width:54px;height:54px;border-radius:50%;border:1px solid #c2a97f;background:#283b45;display:grid;place-items:center;font-family:serif;color:#e6cea6;font-size:25px}.chat-context span{display:block;font-size:18px;margin-bottom:6px}.chat-context small{display:block;font-size:11px;line-height:1.7;color:#b6c4cb}.chat-box{width:min(570px,52vw);height:min(750px,calc(100% - 25px));margin-left:clamp(110px,21vw,330px);background:rgba(246,245,240,.97);border:1px solid #f1e6d4;border-radius:12px;box-shadow:0 28px 120px rgba(0,0,0,.45);display:flex;flex-direction:column;overflow:hidden;color:#20313d}.chat-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:18px 25px;background:#f7f5f0;border-bottom:1px solid #e3e1db}.chat-brand{display:flex;align-items:center;gap:13px}.ai-orb{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#193444;color:#d5b481}.chat-brand strong{display:block;font-size:16px}.chat-brand small{display:block;font-size:10px;color:#63727d;margin-top:4px}.plainlink{border:none;background:none;color:#6e7b80;font-size:11px;padding:9px}.chat-messages{flex:1;overflow-y:auto;padding:26px 25px;display:flex;flex-direction:column;gap:13px;scrollbar-color:#c2c9cb transparent;scrollbar-width:thin}.msg{display:flex;max-width:88%}.msg.from-ai{align-self:flex-start}.msg.from-user{align-self:flex-end}.bubble{padding:13px 16px;line-height:1.72;font-size:14px;letter-spacing:.005em;border-radius:14px;box-shadow:0 1px 4px rgba(0,0,0,.025)}.from-ai .bubble{background:#e9ecea;color:#283944;border-radius:5px 14px 14px 14px}.from-user .bubble{background:#254451;color:#fff;border-radius:14px 5px 14px 14px}.chat-interaction{padding:16px 22px 20px;border-top:1px solid #e0e1dc;background:#f8f7f3}.step-task{font-size:12px;color:#3c5360;font-weight:700;margin:0 0 12px}.chat-options{display:grid;gap:8px}.reply-chip{background:white;border:1px solid #d8dcd9;border-radius:7px;color:#23333c;min-height:43px;padding:10px 13px;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;font-size:13px;line-height:1.48;transition:border-color .17s,background .17s}.reply-chip:hover{border-color:#688a92;background:#ecf2f1}.reply-chip b{color:#84959e;font-size:11px;font-weight:500;flex:0 0 12px}.write-line{margin-top:12px;border:1px solid #ccd5d5;background:#fff;border-radius:7px;display:flex;min-height:43px;overflow:hidden}.write-line input{min-width:0;flex:1;padding:0 12px;border:0;background:transparent;color:#1f343f;font-size:12px;outline:none}.write-line button{border:0;border-left:1px solid #dde4e2;background:#244450;color:#fff;font-size:12px;padding:0 14px}.chat-hint{font-size:10px;color:#8c9599;margin-top:9px}
.panel-overlay{z-index:51;display:grid;place-items:center;background:rgba(3,11,16,.75);padding:20px}.sheet{color:#273740;background:#f6f3ec;width:min(720px,96%);max-height:90%;overflow:auto;border-radius:9px;padding:clamp(18px,3vw,35px);box-shadow:0 30px 110px #0009}.sheet-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.17em;color:#937858;text-transform:uppercase}.sheet-top button,.help-x{background:none;border:none;color:#445963;font-size:18px}.sheet h2{font-family:Georgia,"Songti SC",SimSun,serif;font-size:clamp(25px,3vw,38px);font-weight:500;line-height:1.32;margin:18px 0}.sheet p{line-height:1.82;font-size:15px}.sheet .quiet{font-size:12px;color:#6c7980;margin-top:20px}.fact-lines{border:1px solid #d7d6cf;border-radius:7px;overflow:hidden}.fact-lines p{margin:0;padding:13px 16px;display:grid;grid-template-columns:105px 1fr;gap:15px;border-bottom:1px solid #d7d6cf;font-size:13px}.fact-lines p:last-child{border-bottom:0}.fact-lines b{color:#856e53}.fact-lines span{color:#314550}.sheet-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.compare>div{background:#e9ece8;border:1px solid #d4d8d3;padding:18px;border-radius:6px}.compare small{display:block;color:#7e8c92;margin-bottom:9px}.compare strong{font-size:19px;font-weight:500}.compare p{font-size:12px!important;color:#67767c}.quote-block{background:#e5e8e3;padding:21px;font-size:16px;line-height:1.9;border-left:3px solid #b29263}.bridge-copy{font-size:16px!important;color:#3b535d}.bridge-line{margin-top:28px;display:flex;gap:8px}.bridge-line span{flex:1;background:#e4e5df;text-align:center;padding:13px 3px;font-size:13px;color:#596b72}.bridge-line span:first-child{background:#bfa783;color:#20323c}
.factory-screen{position:absolute;inset:0;z-index:29;pointer-events:none}.factory-screen>*{pointer-events:auto}.factory-story{position:absolute;top:11%;left:8%;max-width:360px}.factory-kicker{letter-spacing:.16em;color:#c9aa77;font-size:11px}.factory-story h2{font-size:clamp(27px,3vw,45px);font-family:Georgia,"Songti SC",SimSun,serif;line-height:1.3;font-weight:450}.factory-story p{font-size:14px;color:#b9c7ca;line-height:1.85}.factory-centre{position:absolute;bottom:27%;left:49%;transform:translateX(-30%);display:flex;align-items:center;gap:80px}.factory-worker{height:155px;width:77px;position:relative}.worker-head{width:43px;height:45px;background:#966f53;border-radius:46%;left:15px;top:4px;position:absolute}.worker-body{position:absolute;left:7px;top:49px;width:63px;height:67px;background:#53697c;border-radius:16px 16px 4px 4px}.worker-arm{position:absolute;top:54px;width:12px;height:66px;background:#556b80;border-radius:9px}.worker-arm.left{left:-3px}.worker-arm.right{right:-2px}.worker-legs{position:absolute;top:114px;left:15px;width:47px;height:43px;border-left:14px solid #1d2933;border-right:14px solid #1d2933}.ar-frame{position:absolute;top:18px;left:5px;width:64px;height:24px;border:3px solid #6fd0d7;border-radius:8px;box-shadow:0 0 10px #2a9ea676}.factory-worker.perform{animation:lift .48s ease-in-out}@keyframes lift{50%{transform:translateY(-12px) rotate(5deg)}}.signal-line{width:80px;height:2px;background:linear-gradient(90deg,transparent,#a6e5e6,transparent);box-shadow:0 0 10px #9be4e6}.factory-device{min-width:150px;min-height:150px;border:4px solid #667985;background:#1a303c;box-shadow:0 0 35px #68b0aa21;border-radius:11px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px}.factory-device span{color:#bed0d2;font-size:12px}.factory-device strong{font-size:20px;color:#eacda5}.device-bits{letter-spacing:6px;color:#8de2dc}.factory-status{position:absolute;right:5%;top:13%;max-width:250px;border:1px solid #627882;padding:13px 17px;font-size:13px;line-height:1.9;background:rgba(14,31,40,.7)}.factory-controls{position:absolute;bottom:19px;left:50%;transform:translateX(-50%);width:min(800px,calc(100% - 40px));background:rgba(13,27,36,.96);border:1px solid #4c6470;border-radius:8px;padding:18px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.f-btn{border:1px solid #5a7280;color:#e9e6dc;background:#243d4a;padding:11px 15px;min-height:43px;border-radius:5px;font-size:12px}.f-btn:hover,.f-btn.selected{border-color:#c6a572;background:#304954}.f-btn.f-primary{background:#c5a876;color:#152631;border-color:#c5a876;font-weight:700}.f-motions,.license-options{display:flex;flex-wrap:wrap;gap:7px;width:100%}.f-license{width:100%;display:flex;align-items:center;gap:14px;font-size:13px}.f-license span{font-size:11px;color:#a7b6bb}.f-fine{width:100%;margin:1px 0 0;font-size:10px;color:#899da8}.ledger-list{line-height:1.9;font-size:12px;color:#465963;padding-left:18px}
.ending-screen{position:absolute;inset:0;z-index:48;overflow-y:auto;background:radial-gradient(circle at 70% 24%,#254150,#0d1b24 65%);padding:clamp(32px,5vh,65px) clamp(22px,9vw,150px)}.end-content{max-width:1060px;margin:auto}.end-content h1{font-size:clamp(38px,5vw,75px)}.end-lead{max-width:700px;color:#bdcdd2;font-size:17px;line-height:1.95}.end-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:34px 0}.end-cards article{border-top:1px solid #a28d6e;background:rgba(230,235,237,.045);padding:22px;min-height:164px}.end-cards span{font-size:10px;letter-spacing:.11em;color:#c5aa81}.end-cards p{font-size:14px;line-height:1.86;color:#c4d0d3}.end-content blockquote{font-family:Georgia,"Songti SC",serif;font-size:clamp(19px,2.3vw,31px);line-height:1.7;color:#e9d9c1;margin:22px 0 30px}.end-actions{display:flex;gap:12px;flex-wrap:wrap}.end-note{color:#8396a0;font-size:11px;margin-top:28px;line-height:1.6}
.bottomnote{position:absolute;z-index:4;right:22px;bottom:12px;color:#6b8492;font-size:9px;letter-spacing:.03em}.toast{position:absolute;z-index:90;left:50%;bottom:25px;transform:translate(-50%,18px);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;background:#d5bd96;color:#152934;padding:11px 18px;border-radius:30px;font-size:12px;max-width:calc(100% - 40px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.help-overlay{z-index:75;display:grid;place-items:center;padding:20px;background:#0c161bd9}.help-card{position:relative;background:#f5f2eb;color:#263b46;max-width:580px;width:100%;padding:34px;border-radius:9px;max-height:90%;overflow:auto}.help-card h2{font-family:serif;font-size:31px;font-weight:500}.help-card p{line-height:1.9;color:#50636a}.help-card p.small{font-size:12px}.help-card .eyebrow{color:#937858}.help-x{position:absolute;right:19px;top:16px}.archive{z-index:80;background:#101b22;overflow:auto}.archive-inner{max-width:1040px;margin:0 auto;padding:37px 26px 70px}.archive-head{display:flex;justify-content:space-between;align-items:center}.archive-head small{color:#b69a70;letter-spacing:.18em}.archive-head h2{font-size:40px;font-family:serif;font-weight:500}.archive-head button{background:transparent;color:#efdec8;border:1px solid #536c79;padding:11px 17px}.archive-inner>p{color:#a7bac2;font-size:14px;line-height:1.8}.sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:30px}.source{background:#1c303b;padding:22px;border:1px solid #39505d}.source>span{color:#bca274;font-size:10px;letter-spacing:.15em}.source h3{font-size:21px;font-family:serif;font-weight:500}.source p{font-size:13px;line-height:1.85;color:#b9c9cf}.source img{width:100%;height:235px;object-fit:contain;background:#f5f4ef;margin:12px 0}.source cite{display:block;font-style:normal;font-size:11px;color:#d8d6cf;line-height:1.7;word-break:break-word}
@media(max-width:860px){.main{min-height:calc(100dvh - 69px)}.progress{display:none}.role-panel{width:calc(100% - 38px)}.chat-screen{padding:0;justify-content:center;background:#172831}.chat-context{display:none}.chat-box{width:min(100%,650px);height:100%;border-radius:0;margin:0;box-shadow:none}.factory-story{top:8%;left:5%;max-width:320px}.factory-status{top:12%;right:4%}.factory-centre{left:55%;gap:36px}.end-cards{grid-template-columns:1fr}.end-cards article{min-height:auto}.sources{grid-template-columns:1fr}}
@media(max-width:600px){.topbar{min-height:58px;padding:9px 12px}.brand{font-size:13px;gap:7px}.brand-mark{height:32px;width:33px;font-size:10px}.brand small{font-size:8px}.toptools{gap:4px}.iconbtn{padding:7px 6px;font-size:10px}.main{height:calc(100dvh - 58px);min-height:0}.intro-inner{width:calc(100% - 44px);max-width:400px}.intro h1{font-size:clamp(43px,11vw,68px)}.intro p{font-size:14px}.intro .intro-question{font-size:17px}.disclaimer{font-size:10px}.role-overlay{align-items:start;padding:32px 0}.role-panel h2{font-size:35px}.role-options{grid-template-columns:1fr;gap:12px;margin-top:23px}.role-card{min-height:unset;padding:19px 16px}.role-copy strong{font-size:22px}.role-copy>span{font-size:12px}.role-badge{width:37px;height:37px;flex-basis:37px}.scene-title{left:18px;top:16%;max-width:220px}.scene-title span{font-size:28px}.scene-title small{font-size:11px;margin-top:9px;max-height:82px;overflow:hidden}.scene-meta{top:20px;left:18px}.machine{transform:translateX(-50%) scale(.82);transform-origin:bottom center;bottom:27%;left:57%}.avatar.player{bottom:26%;transform:scale(.82);transform-origin:bottom center}.avatar.npc{left:84%!important;bottom:25%;transform:scale(.66)}.hotspot{left:57%;bottom:53%;max-width:188px;white-space:nowrap;padding:11px 12px;font-size:11px}.world-caption{bottom:20px;left:18px;max-width:calc(100% - 35px);font-size:11px}.chat-header{min-height:62px;padding:12px 15px}.chat-brand strong{font-size:15px}.chat-brand small{font-size:9px}.chat-messages{padding:18px 15px}.bubble{font-size:13px}.chat-interaction{padding:12px 13px max(13px,env(safe-area-inset-bottom))}.step-task{margin-bottom:8px}.reply-chip{padding:9px 11px;font-size:12px;min-height:42px}.write-line input{font-size:11px}.chat-hint{font-size:9px}.panel-overlay{padding:10px}.sheet{width:100%;max-height:94%;padding:21px}.sheet h2{font-size:27px}.sheet p{font-size:13px}.fact-lines p{grid-template-columns:72px 1fr;font-size:12px;padding:11px}.compare{grid-template-columns:1fr}.factory-story{left:5%;top:5%;max-width:78%}.factory-story h2{font-size:28px;margin:7px 0}.factory-story p{font-size:11px}.factory-status{top:29%;right:4%;max-width:48%;font-size:11px;padding:9px}.factory-centre{left:48%;bottom:35%;gap:20px;transform:translateX(-37%) scale(.70);transform-origin:bottom center}.factory-controls{width:calc(100% - 18px);padding:12px;bottom:7px;gap:7px}.f-btn{min-height:38px;font-size:11px;padding:8px 9px}.f-license{display:block}.f-license span{display:block;margin-top:4px}.f-fine{font-size:9px}.ending-screen{padding:24px 19px 40px}.end-content h1{font-size:38px}.end-lead{font-size:14px}.end-cards{margin:23px 0;gap:10px}.end-cards article{padding:15px}.end-cards p{font-size:12px}.end-content blockquote{font-size:20px}.bottomnote{display:none}}
@media(max-height:720px) and (min-width:601px){.chat-box{height:96%}.chat-messages{padding:15px}.intro-inner{transform:none}.role-card{min-height:165px}.factory-centre{bottom:30%;transform:translateX(-30%) scale(.8);transform-origin:bottom center}.factory-story{top:5%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body.reduced-motion *,body.reduced-motion *:before,body.reduced-motion *:after{animation:none!important;transition:none!important}

body[data-scene="factory"] .scene-title,body[data-scene="factory"] .npc,body[data-scene="factory"] .avatar.player{display:none!important}
@media(max-width:600px){.factory-story{top:5%;left:5%;max-width:90%}.factory-story h2{font-size:24px;line-height:1.26;max-width:300px}.factory-story p{font-size:11px;line-height:1.5;margin-top:5px;max-width:320px}.factory-status{top:31%;left:5%;right:auto;max-width:88%;font-size:10px;padding:8px 10px}.factory-centre{bottom:32%;}.chat-screen~.bottomnote{display:none}}

.app:has(#intro:not(.hidden)) .scene-title,.app:has(#roleOverlay:not(.hidden)) .scene-title,.app:has(#chatScreen:not(.hidden)) .scene-title{opacity:0;pointer-events:none}
@media(max-width:600px){.f-fine{font-size:11px;line-height:1.45}}
.toast{visibility:hidden}.toast.show{visibility:visible}
/* v8: evidence-first comparison, the core reward of each finished interview */
.sheet:has(.audit-lede){width:min(955px,96vw);max-height:min(91dvh,950px);padding:28px clamp(18px,3vw,36px);border-radius:14px;box-shadow:0 38px 105px rgba(0,0,0,.55);border:1px solid rgba(174,143,96,.35)}
.sheet:has(.audit-lede) .sheet-top{border-bottom:1px solid #e4dcd0;padding-bottom:11px;margin-bottom:12px}.sheet:has(.audit-lede) #sheetKicker{color:#987443;letter-spacing:.14em}.sheet:has(.audit-lede) #sheetTitle{font-size:clamp(24px,2.7vw,36px);line-height:1.29;color:#253b48;max-width:790px;margin:7px 0 16px}.sheet:has(.audit-lede) #sheetBody{display:grid;gap:15px}
.audit-lede{border-left:3px solid #aa8656;padding:10px 14px 10px 16px;background:#eee9dd}.audit-lede .audit-knot{display:block;font:700 10px var(--font);color:#80603d;letter-spacing:.15em;margin-bottom:5px}.audit-lede p{font-size:13px;line-height:1.8;color:#40535a;margin:0}.audit-lede strong{color:#233a42}.audit-observed{background:#ffffff;border:1px solid #e4e3dd;padding:16px 19px;border-radius:9px}.audit-observed p{font-size:13px;line-height:1.76;color:#364c56;margin:7px 0 0}.audit-observed .muted{color:#667780}.audit-section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 15px;margin-bottom:8px}.audit-section-head b{font-size:14px;color:#253f48}.audit-section-head small{font-size:11px;color:#77858b}.audit-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.audit-person{border-radius:10px;border:1px solid #deddd3;background:#fdfcf9;padding:17px 18px 14px;position:relative;overflow:hidden}.audit-person:nth-child(1){border-top:3px solid #ba8e54}.audit-person:nth-child(2){border-top:3px solid #456c78}.audit-person-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.audit-person-top span{font-size:17px;font-weight:700;color:#263b47}.audit-person-top small{font-size:11px;color:#74838c}.audit-score{display:flex;align-items:baseline;gap:6px;margin:9px 0 7px}.audit-score>b{font-size:clamp(37px,4.1vw,53px);font-family:Georgia,serif;line-height:1;color:#264d5f;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.audit-score>span{font-size:12px;color:#647580;display:flex;flex-direction:column;line-height:1.6}.audit-score small{font-size:10px}.audit-person .audit-record{font-size:12px;color:#526b75;margin:5px 0 13px;line-height:1.4}.audit-route{padding:10px 12px;background:#eaf0ee;border-radius:6px;min-height:75px;display:flex;flex-direction:column;justify-content:center;gap:4px}.audit-route small{font-size:10px;letter-spacing:.03em;color:#6d7a7a}.audit-route strong{font-size:13px;line-height:1.5;color:#27404c}.audit-controlled{font-size:12px!important;line-height:1.7!important;color:#576975!important;margin:2px 0 10px!important}.audit-readout{margin-top:13px;background:#253f4d;color:#f6f0e4;padding:13px 17px;border-radius:8px}.audit-readout b{font-size:13px;color:#ead2a6}.audit-readout p{color:#e5edf0!important;margin:6px 0 0!important;font-size:13px!important;line-height:1.75!important}.audit-explainer details{background:#eceeea;border:1px solid #d7dbd6;border-radius:7px;padding:13px 16px}.audit-explainer summary{cursor:pointer;color:#294854;font-size:13px;font-weight:700;line-height:1.5}.audit-explainer p{font-size:12px!important;color:#4d6068!important;line-height:1.8!important}.audit-replay{display:grid;grid-template-columns:1fr auto;gap:10px 16px;align-items:center;padding:15px 18px;border:1px dashed #bca074;background:#f5f0e6;border-radius:9px}.audit-replay small{font-size:12px;color:#84673b;font-weight:700}.audit-replay p{font-size:12px!important;line-height:1.65!important;color:#606967!important;margin:5px 0 0!important}.audit-replay-btn{min-height:44px;padding:10px 14px;border-radius:5px;border:0;background:#284955;color:#f9f2e8;font-size:12px;font-weight:700;max-width:290px}.audit-replay-btn:disabled{opacity:.72;cursor:default}.audit-replay-result{grid-column:1/-1;border-top:1px solid #d9cbb3;padding-top:12px}.audit-replay-result b{font-size:14px;color:#25454a}.audit-smallprint{font-size:11px!important;line-height:1.7!important;color:#7e8587!important;margin:0!important}.audit-rural .audit-person>small{font-size:10px;color:#8a7f6c}.audit-rural .audit-person>p{font-size:13px;line-height:1.8;color:#354d59;margin:6px 0 13px}.audit-rural .audit-quote-bad{background:#f1e8dd;padding:10px 12px;border-left:2px solid #ad8558}
.sheet:has(.audit-lede) .sheet-actions{position:sticky;bottom:-28px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;padding:13px 0 4px;background:linear-gradient(180deg,rgba(246,243,236,.88),#f6f3ec 23%);margin-top:1px}.sheet:has(.audit-lede) .sheet-actions .btn{font-size:12px;padding:12px 13px;min-height:43px;white-space:normal;line-height:1.4}.sheet:has(.audit-lede) .sheet-actions .btn:last-child{background:#2b4c59;color:#f7f2e7;border:1px solid #2b4c59}
@media(max-width:650px){.panel-overlay:has(.audit-lede){padding:0}.sheet:has(.audit-lede){width:100%;height:100%;max-height:100%;border-radius:0;padding:16px 16px 19px}.sheet:has(.audit-lede) #sheetTitle{font-size:23px;margin:7px 0 13px}.sheet:has(.audit-lede) #sheetBody{gap:12px}.audit-lede{padding:9px 12px}.audit-lede p{font-size:12px}.audit-pair{gap:9px}.audit-person{padding:12px 10px 10px}.audit-person-top{display:block}.audit-person-top span{display:block;font-size:14px}.audit-person-top small{display:block;font-size:10px;margin-top:3px}.audit-score>b{font-size:34px}.audit-score small{font-size:9px}.audit-person .audit-record{font-size:10px;min-height:29px}.audit-route{padding:9px;min-height:82px}.audit-route strong{font-size:11px}.audit-section-head b{font-size:13px}.audit-observed{padding:13px}.audit-observed p{font-size:12px}.audit-replay{grid-template-columns:1fr;padding:13px}.audit-replay-btn{max-width:none;width:100%}.sheet:has(.audit-lede) .sheet-actions{bottom:-19px;justify-content:stretch;display:grid;grid-template-columns:1fr 1fr;gap:7px}.sheet:has(.audit-lede) .sheet-actions .btn{font-size:11px;padding:10px 8px;min-height:43px}.sheet:has(.audit-lede) .sheet-actions .btn:last-child{grid-column:1/-1;order:-1}.audit-rural .audit-person>p{font-size:11px}}
@media(max-height:680px) and (min-width:651px){.sheet:has(.audit-lede){max-height:95dvh;padding-top:18px;padding-bottom:18px}}
