:root{color-scheme:dark;font-family:Inter,Microsoft YaHei UI,Microsoft YaHei,Segoe UI,sans-serif;color:var(--text);background:var(--canvas);font-synthesis:none;font-weight:400;--canvas: #0e171b;--surface: #152126;--surface-raised: #1c292e;--surface-deep: #0a1216;--text: #e3e7e1;--text-soft: #aebbb7;--gold: #d2b677;--gold-soft: #a9905e;--muted: #91a19e;--line: rgba(177, 194, 187, .18);--cyan: #84b6b8;--risk: #d48a74;--good: #9bb8a7}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh;background:var(--canvas)}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button{border:0;background:none}button:disabled{opacity:.56;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:4px}a{color:inherit;text-decoration:none}button:not(:disabled):hover{color:var(--text)}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}button,a{touch-action:manipulation}.app{min-height:100dvh;background:radial-gradient(ellipse at 66% 32%,#1830383d,transparent 48%),linear-gradient(135deg,#101a1e,#0e171b 60%,#10181b);padding:0 clamp(18px,3.2vw,46px);max-width:1800px;margin:auto}.topbar{min-height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px;padding:0;text-align:left;white-space:nowrap;font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-weight:700;font-size:23px;letter-spacing:3px}.brand small{display:block;font-family:Arial,sans-serif;font-size:8px;letter-spacing:2.3px;color:var(--muted);font-weight:400;margin-top:7px}.brand-mark{color:var(--gold);width:44px;height:44px;border:1px solid #786b4c;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 20px #d9ad4315}.chapter{display:flex;gap:14px;align-items:center;color:var(--text-soft);font-size:13px;letter-spacing:1px}.tiny-line{width:26px;height:1px;background:var(--gold-soft)}.header-duration{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:94px;padding-left:15px;border-left:1px solid var(--line);color:var(--muted);font-size:10px;letter-spacing:1px;white-space:nowrap}.header-duration strong{color:var(--gold);font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-size:20px;font-weight:500;letter-spacing:0;line-height:1.1}.header-duration small{margin-left:4px;color:var(--text-soft);font-size:10px;font-weight:400}.header-actions{display:flex;align-items:center;gap:17px}.header-actions button{display:flex;align-items:center;gap:8px;color:#a5aeaf;min-width:44px;min-height:44px;font-size:12px}.skip-link{position:fixed;z-index:100;top:8px;left:8px;transform:translateY(-160%);padding:11px 15px;border:1px solid var(--gold);border-radius:4px;background:var(--surface-raised);color:var(--text)}.skip-link:focus-visible{transform:translateY(0)}.game-layout:focus{outline:0}.resource-bar{display:grid;grid-template-columns:repeat(6,1fr);border-bottom:1px solid var(--line);padding:18px 0;gap:0}.resource{display:flex;gap:12px;align-items:flex-start;padding:0 18px;border-right:1px solid var(--line);position:relative;text-align:left}.resource:first-child{padding-left:8px}.resource:last-child{border-right:0}.resource>svg{color:var(--muted);width:19px;margin-top:6px;flex-shrink:0}.resource>div{display:flex;flex-direction:column;gap:4px}.resource-label{color:var(--muted);font-size:12px;letter-spacing:.5px}.resource strong{font-family:Segoe UI,Microsoft YaHei UI,sans-serif;font-size:24px;font-weight:500;letter-spacing:.5px;color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums}.stat-roll{font-variant-numeric:tabular-nums;animation:stat-readout .42s ease-out both}@keyframes stat-readout{0%{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.resource small{font-size:10px;color:var(--muted);font-size:11px;white-space:nowrap}.resource.warning>svg{color:var(--risk)}.resource.impact-preview,.phone-metric.impact-preview,.card-resource-item.impact-preview{color:var(--gold)}.resource.impact-preview>svg,.phone-metric.impact-preview>svg,.card-resource-item.impact-preview>svg{color:#f2d48d;filter:drop-shadow(0 0 5px #d2b677aa);transform-box:fill-box;transform-origin:center;animation:resource-impact-pulse .9s ease-in-out infinite}.resource.impact-preview strong,.phone-metric.impact-preview strong,.card-resource-item.impact-preview strong{color:#f2d48d}@keyframes resource-impact-pulse{0%,to{opacity:.74;transform:scale(1)}50%{opacity:1;transform:scale(1.14)}}.game-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,3.3vw,48px);padding-top:22px;max-width:1360px;margin:0 auto}.council-pane,.world-pane{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;height:36px;font-size:13px;color:var(--text-soft);letter-spacing:.6px}.section-heading>span{display:flex;align-items:center;gap:8px}.council-pane>.section-heading{justify-content:flex-end}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#8dae9d;box-shadow:0 0 7px #8dae9d55}.micro{font-size:10px;color:var(--muted);letter-spacing:.5px}.card-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;perspective:1200px;padding:7px 0 5px;overflow:hidden;min-height:700px;isolation:isolate;background:radial-gradient(ellipse at 50% 52%,#19262b36,transparent 54%)}.card-stage-header{width:100%;min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 clamp(8px,2.2vw,24px);flex-shrink:0}.card-caption{z-index:5;display:flex;align-items:center;gap:8px;color:var(--text-soft);font-size:12px;letter-spacing:.5px;white-space:nowrap;pointer-events:none}.card-topic{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;color:var(--text-soft);font-size:12px;letter-spacing:.5px;white-space:nowrap}.card-topic svg{margin-right:4px}.card-stage-actions{display:flex;align-items:center;gap:6px}.mobile-card-share{display:none}.card-visual{position:relative;width:100%;min-height:0;flex:1 1 auto;display:grid;place-items:center}.card-exit-layer{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;pointer-events:none}.decision-card{position:relative;z-index:1;width:min(400px,100%);aspect-ratio:2/3;background:url(/card-face-transparent.png) center/100% 100% no-repeat;isolation:isolate;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;will-change:transform;filter:drop-shadow(0 12px 16px #0007);transition:transform .12s ease-out}.card-resource-bar{position:relative;z-index:4;width:min(400px,calc(100% - 24px));flex-shrink:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));min-height:26px;margin:6px auto 8px;padding:4px 5px;border:1px solid #b59b6866;border-radius:4px;background:#101a1ed9;box-shadow:0 5px 14px #0006,inset 0 0 12px #91b6bc0d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);pointer-events:none}.card-resource-item{min-width:0;display:flex;align-items:center;justify-content:center;gap:3px;color:var(--text-soft);font-variant-numeric:tabular-nums}.card-resource-item+.card-resource-item{border-left:1px solid #a8b9b52e}.card-resource-item>svg{width:11px;height:11px;flex:none;color:var(--cyan)}.card-resource-item strong{min-width:0;color:var(--text);font-family:Segoe UI,Microsoft YaHei UI,sans-serif;font-size:10px;font-weight:500;line-height:1;white-space:nowrap}.card-resource-item.warning,.card-resource-item.warning>svg,.card-resource-item.warning strong{color:var(--risk)}.card-resource-item .stat-roll{animation-duration:.52s}.decision-card.entering{animation:card-face-reveal .71s 68ms cubic-bezier(.2,.75,.25,1) both}.decision-card-exit{z-index:2;pointer-events:none;will-change:transform,opacity;animation:card-smoke-away 608ms ease-out both}.decision-card-exit:after{content:"";position:absolute;z-index:5;top:4%;right:4%;bottom:4%;left:4%;pointer-events:none;background:radial-gradient(ellipse at 19% 38%,#cad7d877 0 3%,transparent 28%),radial-gradient(ellipse at 69% 58%,#b7c9ce77 0 4%,transparent 30%),radial-gradient(ellipse at 51% 20%,#e3e5d966 0 3%,transparent 24%);mix-blend-mode:screen;filter:blur(11px);opacity:0;animation:light-smoke-drift 608ms ease-out both}.card-back-overlay{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;perspective:1100px;pointer-events:none}.card-back-card{position:relative;width:min(400px,100%);aspect-ratio:2 / 3;overflow:hidden;border:1px solid #c3a86f;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#c5c9c2;background:radial-gradient(ellipse at 50% 47%,#536d7a66,transparent 47%),radial-gradient(ellipse at 50% 48%,#263942,transparent 72%),linear-gradient(145deg,#111d24,#1c2830 52%,#111a21);box-shadow:0 18px 35px #000a,inset 0 0 0 5px #0c1419,inset 0 0 0 6px #967e4c99,inset 0 0 36px #080e12;backface-visibility:hidden;transform-style:preserve-3d;animation:card-back-flip 778ms cubic-bezier(.2,.7,.18,1) both}.card-back-card:before,.card-back-card:after{content:"";position:absolute;top:13px;right:13px;bottom:13px;left:13px;border:1px solid #b7a06a66;pointer-events:none}.card-back-card:after{top:20px;right:20px;bottom:20px;left:20px;border-color:#90bbc12b}.card-back-card>span,.card-back-card>strong,.card-back-card>small,.card-back-emblem{position:relative;z-index:1}.card-back-emblem{width:100px;height:100px;display:grid;place-items:center;margin-bottom:10px;color:#dfc68e;border:1px solid #b69c6166;border-radius:50%;box-shadow:0 0 32px #7daeb02b,inset 0 0 22px #91b6bc18}.card-back-emblem i{position:absolute;top:15px;right:-5px;bottom:15px;left:-5px;border:1px solid #91b5b855;border-radius:50%;transform:rotate(38deg)}.card-back-emblem i:nth-child(2){transform:rotate(-38deg);border-color:#c5a76b66}.card-back-emblem i:nth-child(3){top:-5px;right:15px;bottom:-5px;left:15px;border-color:#91b5b833}.card-back-emblem b{font-family:Georgia,serif;font-size:36px;font-weight:400;text-shadow:0 0 18px #dfc68e88}.card-back-card>span{color:#9ab0b3;font-size:10px;letter-spacing:3px}.card-back-card>strong{color:#e6dcc4;font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-size:22px;font-weight:500;letter-spacing:3px}.card-back-card>small{color:#b19d72;font-size:11px;letter-spacing:1.5px}@keyframes card-face-reveal{0%{opacity:.35;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes card-back-flip{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:0;transform:translateY(-4px) scale(1.01)}}@keyframes card-smoke-away{0%{opacity:1;transform:translate(var(--card-exit-start-x, 0px)) rotate(var(--card-exit-start-angle, 0deg)) scale(1)}to{opacity:0;transform:translate(var(--card-exit-start-x, 0px)) rotate(var(--card-exit-start-angle, 0deg)) scale(.98)}}@keyframes light-smoke-drift{0%{opacity:0;transform:translateY(4px) scale(.9)}to{opacity:0;transform:translateY(-24px) scale(1.12)}}.card-inner{touch-action:pan-y pinch-zoom;position:absolute;top:17.8%;right:12.3%;bottom:18%;left:12.3%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;text-align:center;padding:10px 3px 0;background:radial-gradient(ellipse at 50% 25%,#17212666,transparent 70%);overflow:visible}.card-intro{flex:0 0 auto;width:100%;display:flex;flex-direction:column;align-items:center}.card-copy{flex:1 1 auto;min-height:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:5px}.card-inner.has-preview .card-intro,.card-inner.has-preview .card-copy{visibility:hidden}.card-kicker{color:var(--gold);font-size:10px;letter-spacing:1.2px;flex-shrink:0}.portrait{width:56px;height:56px;min-height:56px;border:1px solid #8b79514d;border-radius:50%;margin:8px 0 6px;display:grid;place-items:center;color:#c3b18a;position:relative;background:radial-gradient(circle,#bd96631f,transparent 70%)}.portrait:before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:50%;border:1px solid #9b87692b}.portrait-orbit{position:absolute;top:-5px;right:-11px;bottom:-5px;left:-11px;border:1px solid #7b6b472b;border-radius:50%;transform:rotate(-30deg)}.portrait-star{position:absolute;right:-6px;top:10px;color:#e7bd75;font-size:12px}.speaker{color:var(--muted);letter-spacing:.7px;font-size:11px;margin:1px 0 7px}.card-inner h1{font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-weight:600;font-size:22px;letter-spacing:.8px;line-height:1.4;color:var(--text);text-wrap:balance;flex-shrink:0;max-width:100%;overflow-wrap:anywhere}.gold-divider{display:flex;align-items:center;justify-content:center;gap:8px;color:#a48b5c;font-size:9px;width:70%;margin:7px 0;flex-shrink:0}.gold-divider i{height:1px;flex:1;background:linear-gradient(90deg,transparent,#aa8f5255)}.gold-divider i:last-child{transform:rotate(180deg)}.card-copy>p{font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-size:16px;line-height:1.7;letter-spacing:.2px;color:#d0d6d0;flex-shrink:0;width:100%;overflow-wrap:anywhere}.card-effect{font-size:12px;line-height:1.55;color:var(--muted);margin:7px 0 4px;max-width:100%;min-height:0}.card-effect.visible{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;padding:0 8px clamp(34px,10cqh,48px);color:#dec594;text-align:center}.card-effect.visible>span{max-width:100%;font-size:18px;line-height:1.5;text-wrap:pretty}.card-effect small{display:block;max-width:100%;font-size:16px;color:var(--text-soft);margin-top:10px;line-height:1.55;text-wrap:pretty}.card-id{font-family:monospace;font-size:9px;letter-spacing:.8px;color:var(--muted);margin-top:10px;padding-top:6px;padding-bottom:8px}.choice-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 8px}.choice{position:relative;border:1px solid #8b7b5866;background:linear-gradient(135deg,#1e2a2d,#172125);display:flex;align-items:center;justify-content:center;gap:9px;padding:14px 10px;min-height:76px;border-radius:5px;transition:transform .25s cubic-bezier(.2,1.65,.35,1)}.choice:hover,.choice.selected{background:#78683d2b;border-color:var(--gold)}.choice:hover:not(:disabled){transform:translateY(-1px)}.choice:active:not(:disabled){transform:translateY(2px) scale(.975);transition-duration:.07s;transition-timing-function:ease-out;box-shadow:inset 0 2px 7px #0005}.choice>span{display:flex;min-width:0;width:100%;padding:0 18px;flex-direction:column;align-items:center;gap:7px}.choice strong{font-size:13px;letter-spacing:.2px;font-weight:500;color:#e0d4b7;line-break:strict;text-wrap:balance}.choice small{font-size:11px;line-height:1.45;color:var(--text-soft)}.gesture-hint{text-align:center;color:var(--muted);font-size:11px;letter-spacing:.2px;margin:10px 0 14px}.world-pane{border-left:1px solid var(--line);padding-left:clamp(24px,2.8vw,38px);min-width:0}.view-toggle{display:flex;background:#0b1418;border:1px solid var(--line);border-radius:5px;padding:3px}.view-toggle button{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);letter-spacing:.2px;min-height:36px;padding:6px 12px}.view-toggle button.active{background:#26363a;color:var(--text);border-radius:3px}.world-display{position:relative;height:385px;border-bottom:1px solid var(--line);margin-top:10px;overflow:hidden}.world-title{position:absolute;left:2px;top:12px;z-index:2;pointer-events:none}.eyebrow{font-size:10px;color:var(--muted);letter-spacing:.8px;font-family:Arial,sans-serif}.world-title h2{font-family:Songti SC,SimSun,serif;font-size:26px;letter-spacing:3px;font-weight:400;margin-top:7px;display:flex;align-items:center;gap:14px}.world-title h2 span{font-family:inherit;font-size:9px;letter-spacing:1px;color:#bad0bd;border:1px solid #839d735e;background:#44634320;padding:4px 7px}.world-title p{font-size:11px;color:var(--text-soft);margin-top:10px;letter-spacing:.5px}.world-canvas{position:absolute;top:42px;right:-10px;bottom:30px;left:-10px;touch-action:none;color:#94a8ac;display:grid;place-items:center}.world-canvas canvas{width:100%;height:100%}.world-view{position:absolute;top:42px;right:-10px;bottom:30px;left:-10px;touch-action:none}.world-view .world-canvas{top:0;right:0;bottom:0;left:0}.world-view .world-canvas canvas{position:absolute;top:0;right:0;bottom:0;left:0}.orbit-demo-controls{position:absolute;z-index:3;left:50%;bottom:72px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:5px;max-width:calc(100% - 20px);padding:5px;border:1px solid #879a9252;border-radius:5px;background:#101b20ef;color:var(--text-soft);box-shadow:0 8px 24px #0003;touch-action:manipulation}.orbit-demo-readouts{display:grid;gap:4px;width:100%;padding:2px 8px 3px;color:var(--text-soft);font-size:10px;line-height:1.45}.orbit-demo-time{padding:0;color:var(--muted);white-space:nowrap}.orbit-demo-actions{display:flex;justify-content:center;gap:5px;width:100%;padding-top:4px;border-top:1px solid #82949330}.orbit-demo-controls button{min-width:48px;min-height:40px;padding:0 8px;border:1px solid transparent;border-radius:3px;color:var(--text-soft);font-size:11px;background:transparent}.orbit-demo-controls button:hover,.orbit-demo-controls button:focus-visible{border-color:#78aaa45c;color:var(--text);background:#23343a}.world-display.system-mode .planet-coordinates{display:none}.planet-coordinates{position:absolute;bottom:70px;width:100%;display:flex;justify-content:space-between;gap:9px;color:var(--muted);font-size:10px;letter-spacing:.2px;pointer-events:none}.planet-coordinates span:nth-child(2){margin-left:auto}.world-stats{position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(3,1fr);padding:14px 0 15px;background:linear-gradient(transparent,#111b20);gap:12px}.world-stats>div{display:flex;align-items:center;gap:10px}.world-stats svg{color:var(--cyan);flex-shrink:0}.world-stats span{font-size:10px;color:var(--text-soft);display:flex;flex-direction:column;gap:6px}.world-stats strong{font-weight:400;color:var(--text);font-size:13px;white-space:nowrap}.world-bottom{padding-top:18px}.projects-heading,.recent-title{display:flex;align-items:center;justify-content:space-between}.projects-heading h3,.recent-title h3{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.3px;font-weight:500;color:var(--text-soft)}.projects-heading>span{font-size:11px;color:var(--muted)}.project-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:15px 0}.project{border:1px solid var(--line);padding:10px 12px;text-align:left;background:#1b282b66;border-radius:4px}.project:hover{border-color:#849c8b88;background:#223236}.project>div:first-child{display:flex;justify-content:space-between;gap:8px}.project span{font-size:12px;color:var(--text-soft)}.project small{font-size:10px;color:var(--muted)}.progress-track{height:2px;background:#25363c;margin:9px 0 4px}.progress-track i{display:block;height:100%;background:#ab996a}.empty-project{display:flex;flex-direction:column;gap:8px;margin:13px 0 20px;padding:15px 16px;border:1px dashed #62767833;background:#18272b40}.empty-project span{font-size:12px;color:var(--text-soft)}.empty-project small{font-size:11px;color:var(--muted)}.recent-title{margin-top:21px;margin-bottom:14px}.recent-title button{display:flex;gap:4px;align-items:center;font-size:11px;color:var(--text-soft);min-height:44px}.echo-list{display:flex;flex-direction:column;gap:15px}.echo-list button{display:flex;gap:10px;width:100%;align-items:flex-start;min-height:40px;text-align:left}.echo-dot{width:4px;height:4px;border-radius:50%;background:#778780;margin-top:5px;flex-shrink:0}.echo-dot.project{padding:0;background:#c4ad76;border:0}.echo-list button>span:nth-child(2){min-width:0;flex:1}.echo-list strong{font-size:12px;font-weight:400;color:var(--text-soft);display:block}.echo-list small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:var(--muted);margin-top:5px;max-width:100%}.echo-list time{color:var(--muted);font-size:10px;white-space:nowrap}.statusbar{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:15px 0;margin-top:9px;color:var(--muted);font-size:10px;letter-spacing:.5px}.statusbar>span{display:flex;gap:7px;align-items:center}.statusbar b{font-weight:400;color:var(--text-soft)}.statusbar .app-version{margin-left:auto;color:var(--gold);font-variant-numeric:tabular-nums;letter-spacing:1px}.statusbar button{display:grid;place-items:center;padding:8px;min-width:44px;min-height:44px;color:var(--text-soft)}.mobile-tabs{display:none}.modal{background:transparent;border:0;color:#d1d9d6;padding:0;max-width:620px;width:calc(100% - 32px);max-height:85dvh}.modal.current-share-dialog{width:min(1120px,calc(100% - 32px));max-width:1120px}.current-share-dialog .modal-content{padding:30px}.modal::backdrop{background:#030709c9;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.modal-content{border:1px solid #88784f88;border-radius:6px;padding:35px;background:linear-gradient(140deg,#1b292e,#111b20);position:relative;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain}.close{position:absolute;right:13px;top:12px;min-width:44px;min-height:44px;display:grid;place-items:center;color:#8d9a97}.close svg{width:18px}.modal h2{font-family:SimSun,serif;font-size:25px;letter-spacing:2px;margin:12px 0 20px;color:#e0d5bb}.modal h3{font-size:14px;margin:22px 0 10px;color:#cabc98}.modal p{font-size:13px;line-height:1.9;color:var(--text-soft);margin:12px 0}.muted{font-size:12px!important;line-height:1.8;color:var(--muted)!important}.settings-button{display:flex;width:100%;align-items:center;gap:12px;min-height:53px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.settings-button svg{width:17px;color:#b5a275}.settings-button span,.settings-button small{margin-left:auto;color:#8e9a94;font-size:10px}.advance-button{display:flex;align-items:center;justify-content:center;gap:15px;background:linear-gradient(110deg,#544a32,#273130);border:1px solid #b39b6888;color:#e3d1a5;border-radius:5px;min-height:52px;padding:12px 22px;margin:13px auto;font-size:14px;letter-spacing:.3px}.seed-label{font-size:12px;color:#a5b4b2;display:flex;flex-direction:column;gap:12px;margin:22px 0}.seed-label input{font:inherit;background:#0d161b;color:#ddd8c7;padding:13px;border:1px solid #687267;border-radius:3px;width:100%;min-height:48px}.history-list{margin:25px 0}.history-list article{position:relative;border-left:1px solid #5c685950;padding:0 0 23px 20px}.history-list article:before{content:"";position:absolute;left:-3px;top:6px;width:5px;height:5px;border-radius:50%;background:#ad976c}.history-list time{font-size:10px;color:#728b93}.history-list h3{margin:8px 0;font-size:14px}.history-list p{margin:0;font-size:12px;line-height:1.8}.story-list{display:grid;gap:10px;margin-top:18px}.story-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:14px 16px;border:1px solid rgba(102,198,216,.2);border-radius:10px;background:#051015b8}.story-list h3,.story-list p{margin:0}.story-list small{color:var(--muted)}.story-list strong{align-self:center;color:var(--gold)}.story-list p{grid-column:1 / -1;margin-top:7px;color:var(--text-soft);line-height:1.55}.story-list article[data-status=已完成交接]{border-color:#66d8aa73}.story-list article[data-reveal="0"]{border-style:dashed;opacity:.76}.story-list article[data-reveal="0"] h3,.story-list article[data-reveal="0"] small,.story-list article[data-reveal="0"] p{letter-spacing:.12em}.toast{pointer-events:none}.toast,.error-bar{position:fixed;bottom:30px;left:50%;transform:translate(-50%);background:#1c302cf5;border:1px solid #91ad8c88;color:var(--text);padding:14px 22px;border-radius:5px;z-index:50;display:flex;align-items:center;gap:10px;font-size:12px;box-shadow:0 8px 30px #0007;max-width:90vw;width:max-content}.error-bar{background:#482d28;bottom:85px;color:#f0d9cc}.error-bar button{text-decoration:underline}.update-progress{position:fixed;z-index:60;top:max(14px,env(safe-area-inset-top));left:50%;width:min(360px,calc(100vw - 32px));padding:11px 13px 12px;transform:translate(-50%);border:1px solid #91ad8c88;border-radius:5px;background:#101b20f5;color:var(--text);box-shadow:0 8px 30px #0008;pointer-events:none}.update-progress-label{display:flex;align-items:center;gap:8px;font-size:12px}.update-progress-label .spin{flex:none;color:var(--cyan);animation-duration:1.2s}.update-progress-label strong{margin-left:auto;color:var(--gold);font-size:11px;font-variant-numeric:tabular-nums}.update-progress-track{height:4px;margin-top:9px;overflow:hidden;border-radius:999px;background:#d4e0db1a}.update-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cyan),var(--gold));box-shadow:0 0 10px #83b8b777;transition:width .24s ease-out}.ending-numbers{margin-top:18px;display:flex;flex-direction:column;gap:8px}.ending-numbers strong{color:#dfc18b;font-family:Georgia,serif;font-size:27px;font-weight:400}.ending-numbers span{font-size:10px;color:#7f999b}.result-share-button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #7ba99b66;border-radius:4px;color:#c8d9cb;background:#182b2a;font-size:12px;letter-spacing:.5px}.share-preview{width:min(100%,360px);margin:18px auto;border:1px solid #69807766;border-radius:5px;overflow:hidden;background:#071015}.share-preview img{display:block;width:100%;height:auto}.share-actions{display:grid;gap:2px;margin:12px 0}.current-share-layout{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-top:18px}.current-share-preview{width:100%;border:1px solid #69807766;border-radius:8px;overflow:hidden;background:#071015;box-shadow:0 12px 32px #0005}.current-share-image{display:block;width:100%;height:auto}.current-share-status{min-height:80px;display:grid;place-items:center;padding:18px;color:var(--text-soft);text-align:center}.current-share-status.error{color:#f0c8b7}.current-share-tools{min-width:0}.current-share-tools .share-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.current-share-tools .settings-button{min-height:50px;justify-content:center;border:1px solid #78908a55;border-radius:5px;background:#101d22}.current-share-link-row{display:flex;align-items:baseline;gap:12px;margin-top:12px;padding:10px 2px 0;border-top:1px solid var(--line)}.current-share-link-label{display:block;color:var(--muted);font-size:11px;flex:none}.current-share-link{display:block;color:#8dc6c5;font-size:12px;line-height:1.6;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.card-link{display:flex;align-items:center;gap:7px;color:#ceb581;margin-top:20px;font-size:13px;min-height:44px}.boot{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;color:var(--gold)}.boot h1{font:32px SimSun;letter-spacing:7px}.boot p{color:#83999d;font-size:13px}.world-loading{height:300px;display:flex;align-items:center;justify-content:center;gap:12px;color:#8aa5aa;font-size:12px}.spin{animation:spin 8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.reduced *,.reduced *:before,.reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(min-width:1500px){.game-layout{padding-top:32px;gap:60px}.card-stage{min-height:730px}.card-resource-bar{width:min(430px,calc(100% - 24px))}.decision-card{width:min(430px,100%)}.card-inner h1{font-size:24px}.card-copy>p{font-size:18px}.portrait{margin-top:10px;width:64px;height:64px;min-height:64px}.world-display{height:400px}.orbit-demo-controls{bottom:76px;gap:2px}.orbit-demo-time{padding:0}.world-bottom{padding-top:22px}}@media(max-width:1199px){.app{padding:0 25px}.resource{padding:0 13px;gap:9px}.resource strong{font-size:21px}.resource small{font-size:10px}.resource>svg{width:16px}.game-layout{gap:25px;grid-template-columns:repeat(2,minmax(0,1fr))}.card-stage{min-height:670px}.card-resource-bar{width:min(380px,calc(100% - 24px))}.decision-card,.card-back-card{width:min(380px,100%)}.world-pane{padding-left:24px}.choice-row{padding:0;gap:8px}.choice strong{font-size:12px}.world-stats{gap:7px}.world-stats>div{gap:5px}.world-stats strong{font-size:12px}.topbar{height:80px;gap:12px}.brand{gap:9px;font-size:22px;letter-spacing:3px}.chapter{gap:8px;font-size:12px;letter-spacing:1px}.tiny-line{width:16px}.header-duration{min-width:86px;padding-left:10px}.header-duration strong{font-size:18px}.header-actions{gap:10px}.world-title p{font-size:10px}}@media(min-width:1200px){.game-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,3.2vw,52px);max-width:1500px}.council-pane{padding:16px clamp(16px,1.5vw,24px) 20px;border:1px solid #82949338;border-radius:6px;background:linear-gradient(155deg,#17252a,#111b1f)}.world-pane{border-left:0;padding-left:0}.world-display{height:clamp(400px,36vw,520px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.choice small>span{display:block}.choice-duration{margin-top:3px;color:var(--muted)}.choice strong,.choice small{overflow-wrap:anywhere}.render-world .world-title p{max-width:40em;text-wrap:pretty}.story-list strong{max-width:7em;text-align:right}.mobile-layout.app{--phone-safe-top: env(safe-area-inset-top);--phone-safe-right: env(safe-area-inset-right);--phone-safe-bottom: env(safe-area-inset-bottom);--phone-safe-left: env(safe-area-inset-left);height:100dvh;min-height:0;max-width:none;padding:var(--phone-safe-top, 0px) max(14px,var(--phone-safe-right, 0px)) 0 max(14px,var(--phone-safe-left, 0px));display:grid;grid-template-rows:54px minmax(0,1fr) calc(66px + var(--phone-safe-bottom, 0px));overflow:hidden;background:radial-gradient(ellipse at 50% 44%,#24373b42,transparent 60%),linear-gradient(160deg,#101a1e,#0e171b 72%)}.phone-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:8px}.phone-brand{display:flex;gap:8px;align-items:center;color:var(--gold)}.phone-brand svg{flex:none}.phone-brand strong{font:17px SimSun,serif;letter-spacing:2px;display:block;color:#e1d8c4;white-space:nowrap}.phone-brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:.6px;margin-top:2px}.phone-brand .phone-subtitle{color:var(--text-soft);font-size:9px;letter-spacing:0;margin-top:1px;white-space:nowrap}.phone-date{display:flex;align-items:baseline;gap:5px;margin-left:auto;color:var(--text-soft);font-size:11px;white-space:nowrap}.phone-date b{font:24px Segoe UI,sans-serif,serif;color:var(--gold);font-variant-numeric:tabular-nums}.phone-tools{display:flex;gap:0}.phone-tools button{width:44px;min-height:44px;display:grid;place-items:center;color:#9aa9aa}.phone-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(44px,1fr));gap:4px 6px;padding:2px 0;border-bottom:1px solid var(--line)}.phone-metrics .phone-metric{display:flex;align-items:center;gap:6px;min-height:44px;min-width:0;border-radius:5px;padding:6px 7px;background:#9cb7b10c;color:var(--text-soft)}.phone-metrics .phone-metric>span{font-size:11px;white-space:nowrap}.phone-metrics strong{font-size:13px;font-weight:500;color:var(--text);margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}.phone-metrics svg{flex-shrink:0;width:13px}.phone-metrics .at-risk{background:#b0754020;color:var(--risk)}.mobile-layout .game-layout{display:block;width:100%;height:100%;min-height:0;min-width:0;padding:0;margin:0;overflow:hidden}.mobile-layout .council-pane,.mobile-layout .world-pane{display:none;min-height:0;height:100%;padding:0;border:0}.mobile-layout .council-pane.mobile-active{display:grid;grid-template-rows:minmax(0,1fr) auto}.mobile-layout .section-heading{height:32px;font-size:12px;letter-spacing:.4px}.mobile-layout .section-heading .micro{display:flex;gap:4px;align-items:center;letter-spacing:1px;font-family:inherit;font-size:10px;color:var(--muted)}.mobile-layout .card-stage{container-type:size;min-height:0;min-width:0;padding:0;overflow:hidden;align-items:safe center;overscroll-behavior:contain;scrollbar-width:none;perspective:none;justify-content:flex-start}.mobile-layout .card-stage-header{min-height:28px;padding:0 8px;gap:8px}.mobile-layout .card-caption,.mobile-layout .card-topic{font-size:11px}.mobile-layout .card-stage-actions{gap:4px;flex:none}.mobile-layout .mobile-card-share{width:44px;min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid #7ba99b66;border-radius:4px;color:#b7d2cf;background:#142428}.mobile-layout .mobile-card-share:disabled{opacity:.55}.mobile-layout .card-caption{min-width:0;gap:6px;overflow:hidden;text-overflow:ellipsis}.mobile-layout .card-topic{font-size:11px}.mobile-layout .card-visual{min-height:0;flex:1 0 auto}.mobile-layout .decision-card{width:min(calc(100cqw - 20px),max(246px,calc((100cqh - 44px) * 2 / 3)),318px);flex-shrink:0;max-width:100%;aspect-ratio:2 / 3}.mobile-layout .card-back-card{width:min(calc(100cqw - 20px),calc((100cqh - 2px)/1.6),318px);flex-shrink:0;max-width:100%;aspect-ratio:5 / 8;gap:9px}.mobile-layout .card-back-emblem{width:80px;height:80px;margin-bottom:5px}.mobile-layout .card-back-card>strong{font-size:19px}.mobile-layout .card-back-card>small{font-size:10px}.mobile-layout .card-inner{top:17.8%;right:12.3%;bottom:18%;left:12.3%;padding:6px 0 4px;justify-content:flex-start;overflow:visible;touch-action:pan-y pinch-zoom}.mobile-layout .card-copy{padding-bottom:0;justify-content:flex-start;flex:0 0 auto}.mobile-layout .card-resource-bar{width:calc(100% - 16px);min-height:24px;margin:0 auto 6px;padding:3px 4px}.mobile-layout .card-resource-item{gap:2px}.mobile-layout .card-resource-item>svg{width:10px;height:10px}.mobile-layout .card-resource-item strong{font-size:9px}.mobile-layout .card-kicker{font-size:10px;letter-spacing:.5px}.mobile-layout .portrait{display:grid;width:36px;height:36px;min-height:36px;margin:5px 0 4px}.mobile-layout .portrait>svg{width:23px;height:23px}.mobile-layout .speaker{font-size:10px;margin:2px 0 4px;letter-spacing:.4px}.mobile-layout .card-inner h1{font-size:clamp(18px,5.1cqw,21px);letter-spacing:.2px;line-height:1.4}.mobile-layout .gold-divider{display:none}.mobile-layout .card-copy>p{font-size:16px;line-height:1.6;letter-spacing:0;text-align:left;margin-top:7px}.mobile-layout .card-effect{font-size:10px;margin:6px 0 2px;line-height:1.5;min-height:0}.mobile-layout .card-effect:not(.visible){display:none}.mobile-layout .card-effect.visible{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;flex-direction:column;justify-content:center;margin:0;padding:18px 14px;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}.mobile-layout .card-effect.visible>span{color:#ead5a8;font-size:clamp(16px,4.85cqw,19px);line-height:1.5}.mobile-layout .card-effect small{font-size:clamp(15px,4.6cqw,18px);line-height:1.55;margin-top:12px}.mobile-layout .card-id{display:none}@media(max-width:360px){.mobile-layout .portrait{width:32px;height:32px;min-height:32px;margin:2px 0}.mobile-layout .speaker{margin:0 0 1px}.mobile-layout .card-inner h1{font-size:17px;line-height:1.35}.mobile-layout .card-copy>p{margin-top:5px}}.mobile-layout .decision-dock{padding:8px 0 4px;margin-top:0;background:linear-gradient(#0e171bcf,#0e171b);z-index:2;position:relative}.mobile-layout .choice-row{padding:0;gap:10px;margin:0}.mobile-layout .choice{min-height:56px;padding:3px 4px;gap:5px;border-color:#9b805c88;border-radius:6px;background:linear-gradient(130deg,#332e22,#1c2929)}.mobile-layout .choice strong{font-size:13px;letter-spacing:0;line-height:1.3;text-wrap:balance;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.mobile-layout .choice small{font-size:11px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.mobile-layout .choice>span{padding:0 6px;gap:2px}.mobile-layout .choice-duration{margin-top:0}.mobile-layout .gesture-hint{font-size:11px;letter-spacing:0;margin:5px 0 0;color:var(--muted)}.mobile-layout .advance-button{margin:4px auto;min-height:52px;width:100%}.phone-navigation{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr) auto;align-items:center;justify-content:stretch;border-top:1px solid #9d865755;padding:4px 8px calc(4px + var(--phone-safe-bottom, 0px));gap:8px;z-index:5;background:#0e171b}.phone-navigation>button{display:flex;align-items:center;justify-content:center;gap:11px;position:relative;width:100%;min-height:48px;border-radius:8px;color:#9ab7b9}.phone-navigation>button.active{background:#ae905624;color:#ead5a8}.phone-navigation>button>span{font-size:14px;letter-spacing:2px;text-align:left}.phone-navigation small{display:block;font-size:10px;letter-spacing:.4px;margin-top:2px;color:var(--muted)}.phone-nav-divider{height:24px;width:1px;background:#8c9e9433}.phone-app-version{align-self:end;padding:0 0 5px 2px;color:var(--gold);font-size:9px;font-variant-numeric:tabular-nums;letter-spacing:.3px;white-space:nowrap}.phone-navigation i{font-size:9px;font-style:normal;border:1px solid #557276;min-width:16px;line-height:16px;border-radius:4px;color:#c4d5d3}.mobile-layout .world-pane.mobile-active{display:block;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:max(16px,var(--phone-safe-bottom, 0px))}.mobile-layout .world-pane>.section-heading{height:48px;position:sticky;top:0;z-index:3;background:#0e171bf2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mobile-layout .view-toggle button{min-height:44px;padding:8px 14px;font-size:12px}.mobile-layout .world-display{height:clamp(355px,54dvh,480px);margin-top:0}.mobile-layout .world-title{top:14px}.mobile-layout .world-title h2{font-size:28px}.mobile-layout .world-title p{font-size:12px;line-height:1.7}.mobile-layout .world-canvas{top:55px;right:-8px;bottom:55px;left:-8px}.mobile-layout .world-display.system-mode .world-view{top:122px;right:0;bottom:50px;left:0}.mobile-layout .world-display.system-mode .world-view .world-canvas{top:72px;right:0;bottom:0;left:0}.mobile-layout .world-display.system-mode .orbit-demo-controls{top:0;right:0;bottom:auto;left:0;transform:none;width:auto;max-width:none;flex-direction:row;align-items:center;gap:6px;padding:4px 6px}.mobile-layout .world-display.system-mode .orbit-demo-readouts{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:2px 8px;width:auto;min-width:0;padding:2px 4px;font-size:9px;line-height:1.35}.mobile-layout .world-display.system-mode .orbit-demo-readouts>span{white-space:nowrap}.mobile-layout .world-display.system-mode .orbit-demo-readouts>span:last-child{flex-basis:100%;overflow:hidden;text-overflow:ellipsis}.mobile-layout .world-display.system-mode .orbit-demo-actions{flex:0 0 auto;width:auto;gap:2px;padding-top:0;border-top:0}.mobile-layout .world-display.system-mode .orbit-demo-controls button{min-width:44px;min-height:44px;padding:0 5px;font-size:10px}.mobile-layout .world-stats{gap:10px;padding:15px 0}.mobile-layout .world-stats>div{gap:6px}.mobile-layout .world-stats strong{font-size:12px}.mobile-layout .planet-coordinates{font-size:10px;letter-spacing:0}.mobile-layout .planet-coordinates span:first-child{display:none}.mobile-layout .planet-coordinates span:nth-child(2){margin-left:0}.mobile-layout .world-bottom{padding:18px 0 0}.mobile-layout .projects-heading h3,.mobile-layout .recent-title h3{font-size:13px}.mobile-layout .projects-heading>span{font-size:10px}.mobile-layout .project-list{gap:9px}.mobile-layout .project{padding:12px 10px}.mobile-layout .project span{font-size:12px}.mobile-layout .project small{font-size:10px}.mobile-layout .empty-project{padding:16px}.mobile-layout .empty-project span{font-size:12px}.mobile-layout .empty-project small{font-size:11px}.mobile-layout .echo-list{gap:12px}.mobile-layout .echo-list strong{font-size:12px}.mobile-layout .echo-list small{font-size:11px}.mobile-layout .echo-list time{font-size:11px}.phone-return{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;width:100%;padding:14px 0;border-top:1px solid var(--line);font-size:11px;color:var(--text-soft);min-height:48px}.phone-return span,.phone-return strong{display:flex;align-items:center;gap:5px}.phone-return strong{font-size:12px;color:var(--gold);font-weight:400}.mobile-layout .modal{max-height:86dvh}.mobile-layout .modal-content{padding:32px 22px}.mobile-layout .current-share-layout{grid-template-columns:minmax(0,1fr);gap:14px}.mobile-layout .current-share-preview{width:100%}.mobile-layout .current-share-tools .share-actions{grid-template-columns:minmax(0,1fr)}.mobile-layout .toast{bottom:calc(88px + var(--phone-safe-bottom, 0px))}.mobile-layout .error-bar{bottom:calc(150px + var(--phone-safe-bottom, 0px))}@media(max-width:420px){.phone-date>span:first-child{display:none}}@media(max-width:360px){.mobile-layout.app{padding-left:max(10px,var(--phone-safe-left, 0px));padding-right:max(10px,var(--phone-safe-right, 0px))}.phone-header,.phone-brand{gap:5px}.phone-brand svg{width:22px;height:22px}.phone-brand strong{font-size:15px;letter-spacing:1px}.phone-date b{font-size:20px}.phone-metrics .phone-metric{gap:5px;padding:5px}.phone-metrics strong,.mobile-layout .choice strong{font-size:12px}}@media(max-height:700px){.mobile-layout.app{grid-template-rows:48px minmax(0,1fr) calc(62px + var(--phone-safe-bottom, 0px))}.phone-navigation>button{min-height:46px}.mobile-layout .gesture-hint{display:none}.mobile-layout .choice{min-height:52px;padding-top:3px;padding-bottom:3px}.mobile-layout .card-inner h1{font-size:17px}.mobile-layout .card-copy>p{font-size:16px;line-height:1.6}.mobile-layout .card-effect{margin-top:4px}}@media(orientation:landscape)and (max-height:600px){.mobile-layout.app{grid-template-rows:48px minmax(0,1fr) calc(62px + var(--phone-safe-bottom, 0px));padding-left:max(18px,var(--phone-safe-left, 0px));padding-right:max(18px,var(--phone-safe-right, 0px))}.phone-metrics{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:minmax(44px,1fr);gap:6px;padding:3px 0}.phone-metrics .phone-metric{min-height:44px;padding:4px 6px}.phone-metrics .phone-metric>span{font-size:10px}.phone-metrics strong{font-size:12px}.phone-navigation{padding-top:3px;padding-bottom:3px}.phone-navigation>button{min-height:48px}.phone-navigation small{display:none}.mobile-layout .council-pane.mobile-active{grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);grid-template-rows:minmax(0,1fr);column-gap:18px}.mobile-layout .card-stage{grid-row:1;grid-column:1}.mobile-layout .decision-dock{grid-column:2;grid-row:1;align-self:end;padding-bottom:10px}.mobile-layout .choice-row{grid-template-columns:1fr}.mobile-layout .choice{min-height:55px}.mobile-layout .world-display{height:370px}.mobile-layout .world-bottom{max-width:650px;margin:auto}.mobile-layout .card-stage{padding:6px 0;container-type:normal;align-items:stretch}.mobile-layout .card-visual{flex:1 1 auto}.mobile-layout .card-back-overlay{display:none}.mobile-layout .decision-card{width:100%;height:100%;aspect-ratio:auto;min-height:0;border:1px solid #9b805c99;border-radius:7px;background:radial-gradient(ellipse at 10% 10%,#97713120,transparent 65%),linear-gradient(120deg,#17262b,#10191d);filter:none}.mobile-layout .card-inner{position:relative;inset:auto;max-height:100%;padding:16px 16px 10px;display:grid;grid-template-columns:34px minmax(0,1fr);grid-auto-rows:min-content;gap:5px 10px;text-align:left;align-content:start}.mobile-layout .card-intro{grid-column:1/-1;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:min-content min-content;gap:5px 10px;align-items:center}.mobile-layout .card-copy{grid-column:1/-1;width:100%;align-items:center;text-align:center}.mobile-layout .card-resource-bar{width:calc(100% - 20px);min-height:24px;margin:0 auto 8px;padding:3px 4px}.mobile-layout .card-kicker{grid-column:2;font-size:10px;align-self:end}.mobile-layout .card-intro .card-kicker{grid-column:2}.mobile-layout .portrait{grid-row:1/3;grid-column:1;margin:0;min-height:34px;width:34px;height:34px}.mobile-layout .portrait svg{width:22px;height:22px}.mobile-layout .speaker{grid-column:2;margin:0;font-size:11px;align-self:start}.mobile-layout .card-intro .speaker{grid-column:2}.mobile-layout .card-inner h1{grid-column:1/-1;font-size:20px;margin-top:5px}.mobile-layout .gold-divider{display:none}.mobile-layout .card-copy>p{grid-column:1/-1;font-size:16px;line-height:1.65;width:100%}.mobile-layout .card-effect{display:none}.mobile-layout .card-effect.visible{display:block;grid-column:1/-1}.mobile-layout .ending-numbers,.mobile-layout .card-link{grid-column:1/-1;margin-top:2px}}.mobile-layout .choice small{display:block;-webkit-line-clamp:unset;overflow:visible;line-height:1.3}.mobile-layout .card-copy{padding-inline:4px}.mobile-layout .speaker{line-height:1.5;max-width:100%}.mobile-layout.view-council{grid-template-rows:48px minmax(0,1fr) calc(58px + var(--phone-safe-bottom, 0px))}@media(max-height:700px){.mobile-layout.view-council{grid-template-rows:44px minmax(0,1fr) calc(56px + var(--phone-safe-bottom, 0px))}.view-council .phone-navigation{padding-block:2px;padding-bottom:calc(2px + var(--phone-safe-bottom, 0px))}}@media(orientation:portrait){.mobile-layout .card-intro{display:grid;grid-template-columns:30px minmax(0,1fr);gap:2px 8px;align-items:center;text-align:left;margin-bottom:8px;padding-inline:4px}.mobile-layout .card-intro .portrait{grid-column:1;grid-row:1 / 3;width:30px;height:30px;min-height:30px;margin:0}.mobile-layout .card-intro .card-kicker,.mobile-layout .card-intro .speaker{grid-column:2;margin:0}.mobile-layout .portrait-orbit{top:-3px;right:-5px;bottom:-3px;left:-5px}.mobile-layout .portrait-star{right:-4px;top:3px}.mobile-layout .card-copy>p{font-size:15.5px;line-height:1.55}}@media(orientation:portrait){.mobile-layout .card-stage{overflow-y:auto}.mobile-layout .ending-card{width:min(calc(100cqw - 20px),max(300px,calc((100cqh - 66px)/1.6)),318px)}.mobile-layout .ending-card .card-copy{padding-bottom:0}.mobile-layout .ending-card .ending-numbers{margin-top:12px;gap:6px}.mobile-layout .ending-card .card-link{margin-top:10px}}@media(orientation:portrait)and (max-height:650px),(orientation:landscape)and (max-height:450px){.mobile-layout.view-council{height:auto;min-height:100dvh;grid-template-rows:44px minmax(0,1fr) auto;overflow:visible}.view-council .game-layout,.view-council .council-pane.mobile-active{height:auto;overflow:visible}.view-council .card-stage{container-type:inline-size;overflow:visible}}@media(orientation:portrait)and (max-height:650px){.mobile-layout .decision-card:not(.ending-card){width:min(calc(100cqw - 20px),246px)}.mobile-layout .card-visual{flex:0 0 auto}.mobile-layout .ending-card .ending-numbers{margin-top:6px;gap:4px}.mobile-layout .ending-card .ending-numbers strong{font-size:25px}.mobile-layout .ending-card .card-link{margin-top:6px}}@media(orientation:landscape)and (max-height:450px){.mobile-layout .council-pane.mobile-active{min-height:320px}}@media(orientation:landscape)and (max-width:700px){.mobile-layout .card-resource-bar{grid-template-columns:repeat(3,minmax(0,1fr));min-height:40px;row-gap:5px}.mobile-layout .card-resource-item:nth-child(4){border-left:0}}.world-display.render-world{display:flex;flex-direction:column;height:auto;overflow:visible;container-type:inline-size}.render-world .world-title{position:static;padding:12px 2px 8px;pointer-events:auto}.render-world .world-title p{line-height:1.6}.render-world .world-stats{position:static;background:transparent}.world-view.render-v5{position:relative;inset:auto;display:flex;flex-direction:column;touch-action:auto;min-width:0}.render-v5 .world-stage{position:relative;height:clamp(245px,50cqw,350px);min-width:0}.render-v5 .world-canvas{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none}.render-v5 .world-canvas canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.render-v6 .orbit-offscreen{position:absolute;z-index:4;right:12px;bottom:12px;min-height:40px;padding:6px 12px;border:1px solid var(--line);border-radius:5px;color:var(--gold);background:#0d1b20e6}.render-v6 .orbit-star-direction{position:absolute;z-index:4;left:12px;bottom:12px;padding:5px 9px;border:1px solid var(--line);border-radius:4px;color:var(--text-soft);background:#0d1b20d9;font-size:12px;pointer-events:none}.render-world .render-v5 .orbit-demo-controls{position:static;transform:none;width:100%;max-width:none;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:4px 0}.render-world .render-v5 .orbit-demo-readouts{flex:1 1 180px;display:flex;flex-wrap:wrap;width:auto;gap:4px 10px;min-width:0;padding:0;font-size:11px;line-height:1.5}.render-world .render-v5 .orbit-demo-readouts>span{white-space:normal}.render-world .render-v5 .orbit-demo-readouts>span:last-child{overflow:visible;text-overflow:clip}.render-world .render-v5 .orbit-demo-actions{flex:0 0 auto;width:auto;border:0;padding:0}.render-world .render-v5 .orbit-demo-controls button{min-width:44px;min-height:44px;padding:0 7px;font-size:12px}.world-tools{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;color:var(--muted);font-size:11px;min-height:44px;border-bottom:1px solid var(--line)}.world-tools>span{flex:1 1 160px;line-height:1.6}.world-tools button{min-height:44px;padding:6px 8px;color:var(--text-soft);font-size:12px}.world-tools button[aria-pressed=true]{color:var(--gold)}.world-tools button:hover{background:#ffffff08}.world-fallback{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;background:#0e171b;text-align:center;padding:8px}.world-fallback svg{width:min(100%,200px);height:130px}.world-fallback p{color:var(--text-soft);font-size:13px;line-height:1.5;margin:4px 0}.world-fallback button{min-height:44px;padding:5px;color:var(--text);font-size:12px;border:1px solid var(--line)}@media(max-width:760px){.mobile-layout .world-display.render-world{height:auto}.mobile-layout .render-world .world-title{padding-top:12px}.mobile-layout .render-world.system-mode .world-view{inset:auto}.mobile-layout .render-v5 .world-stage{height:clamp(255px,40dvh,365px)}.mobile-layout .render-world.system-mode .world-view .world-canvas{top:0;right:0;bottom:0;left:0}.mobile-layout .world-display.render-world.system-mode .render-v5>.orbit-demo-controls{position:static;transform:none;width:100%;max-width:none;flex-direction:row;flex-wrap:wrap;padding:4px 0;gap:6px 10px}.mobile-layout .world-display.render-world.system-mode .render-v5 .orbit-demo-readouts{font-size:11px;line-height:1.5;flex:1 1 180px;padding:0}.mobile-layout .world-display.render-world.system-mode .render-v5 .orbit-demo-readouts>span{white-space:normal;overflow:visible;text-overflow:clip}.mobile-layout .world-display.render-world.system-mode .render-v5 .orbit-demo-controls button{min-width:44px;min-height:44px;padding:0 7px;font-size:12px}}@media(max-width:760px)and (orientation:landscape){.mobile-layout .render-v5 .world-stage{height:265px}}.render-v6 .world-stage.has-near-view{height:calc(clamp(245px,50cqw,350px) + var(--near-height))}.render-v6 .has-near-view .orbit-offscreen,.render-v6 .has-near-view .orbit-star-direction{bottom:calc(var(--near-height) + 12px);max-width:calc(100% - 24px)}.sun-lenses{position:absolute;inset:auto 0 0;height:var(--near-height);display:flex;align-items:end;justify-content:center;gap:clamp(8px,3cqw,20px);padding:8px 10px;border-top:1px solid var(--line);z-index:3;pointer-events:none}.sun-lens{display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px 6px;min-width:64px;min-height:44px;border:1px solid transparent;border-radius:6px;pointer-events:auto;font-size:11px;color:var(--text-soft)}.sun-lens.selected{border-color:#ad925866;color:var(--gold)}.sun-lens-image{display:block;width:56px;height:56px;pointer-events:none}.sun-lens.selected .sun-lens-image{width:100px;height:100px}@media(max-width:760px){.mobile-layout .render-v6 .world-stage.has-near-view{height:calc(clamp(255px,40dvh,365px) + var(--near-height))}.sun-lenses{gap:5px}.sun-lens{padding-inline:4px}.render-v6 .orbit-star-direction{font-size:11px}}@media(min-width:801px){.app:not(.mobile-layout){height:100dvh;min-height:680px;display:flex;flex-direction:column;padding-inline:clamp(20px,3vw,46px);font-variant-numeric:tabular-nums}.app:not(.mobile-layout) .topbar{min-height:54px;height:54px;flex:none}.app:not(.mobile-layout) .brand{font-size:20px;gap:9px}.app:not(.mobile-layout) .brand-mark{width:34px;height:34px}.app:not(.mobile-layout) .brand-mark svg{width:32px;height:32px}.app:not(.mobile-layout) .brand small{margin-top:3px}.app:not(.mobile-layout) .header-duration{font-size:11px}.app:not(.mobile-layout) .header-actions{gap:12px}.app:not(.mobile-layout) .resource-bar{min-height:62px;padding:7px 0;margin:0;flex:none}.app:not(.mobile-layout) .resource{gap:9px;padding-inline:12px}.app:not(.mobile-layout) .resource>div{gap:1px}.app:not(.mobile-layout) .resource strong{font-size:19px}.app:not(.mobile-layout) .resource small,.app:not(.mobile-layout) .resource-label{font-size:12px}.app:not(.mobile-layout) .game-layout{flex:1 1 0;min-height:0;width:100%;max-width:1500px;padding-block:10px 6px;gap:clamp(24px,3vw,44px)}.app:not(.mobile-layout) .council-pane{display:flex;flex-direction:column;min-height:0;container-type:size;padding:8px 12px 10px;--card-width: min(330px, calc((100cqh - 176px) * 2 / 3))}.app:not(.mobile-layout) .card-stage{min-height:0;flex:1 1 0;padding:0}.app:not(.mobile-layout) .card-stage-header{min-height:26px;padding-inline:8px;gap:10px}.app:not(.mobile-layout) .card-caption,.app:not(.mobile-layout) .card-topic{font-size:12px;letter-spacing:0}.app:not(.mobile-layout) .decision-card,.app:not(.mobile-layout) .card-back-card{width:var(--card-width);max-width:100%}.app:not(.mobile-layout) .card-resource-bar{width:min(410px,calc(100% - 16px));margin-block:5px 8px;min-height:28px}.app:not(.mobile-layout) .card-resource-item strong{font-size:12px}.app:not(.mobile-layout) .card-resource-item>svg{width:12px;height:12px}.app:not(.mobile-layout) .card-inner{padding:6px 4px 4px}.app:not(.mobile-layout) .card-intro{display:grid;grid-template-columns:34px minmax(0,1fr);gap:2px 9px;align-items:center;padding-inline:5px;margin-bottom:8px;text-align:left}.app:not(.mobile-layout) .card-intro .portrait{grid-column:1;grid-row:1 / 3;margin:0}.app:not(.mobile-layout) .card-intro .card-kicker,.app:not(.mobile-layout) .card-intro .speaker{grid-column:2;margin:0}.app:not(.mobile-layout) .card-kicker{font-size:11px;line-height:1.2;letter-spacing:.4px}.app:not(.mobile-layout) .portrait{width:34px;height:34px;min-height:34px;margin:5px 0 4px}.app:not(.mobile-layout) .portrait>svg{width:28px;height:28px}.app:not(.mobile-layout) .portrait-orbit{top:-3px;right:-7px;bottom:-3px;left:-7px}.app:not(.mobile-layout) .portrait-star{right:-5px;top:5px}.app:not(.mobile-layout) .speaker{font-size:11px;line-height:1.3;letter-spacing:0;margin:0 0 4px}.app:not(.mobile-layout) .card-copy{padding-inline:4px}.app:not(.mobile-layout) .card-inner h1{font-size:20px;line-height:1.25;letter-spacing:0}.app:not(.mobile-layout) .gold-divider{margin-block:8px;font-size:8px;line-height:1}.app:not(.mobile-layout) .card-copy>p{font-size:15px;line-height:1.55;letter-spacing:0}.app:not(.mobile-layout) .card-id{font-size:10px;line-height:1.2;margin-top:8px;padding:0 0 4px}.app:not(.mobile-layout) .council-pane:has(.ending-card){--card-width: min(330px, calc((100cqh - 128px) * 2 / 3))}.app:not(.mobile-layout) .card-effect.visible{padding:8px}.app:not(.mobile-layout) .card-effect.visible>span{font-size:16px;line-height:1.5}.app:not(.mobile-layout) .card-effect small{font-size:15px;line-height:1.55;margin-top:12px}.app:not(.mobile-layout) .decision-dock{flex:none}.app:not(.mobile-layout) .choice-row{gap:12px;padding-inline:8px}.app:not(.mobile-layout) .choice{padding:9px 8px;min-height:80px}.app:not(.mobile-layout) .choice>span{padding-inline:5px;gap:4px}.app:not(.mobile-layout) .choice strong{font-size:15px;line-height:1.4;letter-spacing:0}.app:not(.mobile-layout) .choice small{font-size:12px;line-height:1.4}.app:not(.mobile-layout) .choice-duration{margin-top:2px}.app:not(.mobile-layout) .gesture-hint{font-size:12px;margin:7px 0 0}.app:not(.mobile-layout) .ending-numbers{margin-top:8px;gap:3px}.app:not(.mobile-layout) .ending-numbers strong{font-size:17px}.app:not(.mobile-layout) .ending-numbers span{font-size:11px;line-height:1.35}.app:not(.mobile-layout) .card-link{font-size:12px;margin-top:8px;min-height:24px}.app:not(.mobile-layout) .advance-button,.app:not(.mobile-layout) .result-share-button{min-height:36px;margin-top:4px;font-size:14px}.app:not(.mobile-layout) .world-pane{padding-left:clamp(20px,2.5vw,34px);display:flex;flex-direction:column;min-height:0}.app:not(.mobile-layout) .section-heading{height:32px;flex:none;font-size:13px}.app:not(.mobile-layout) .view-toggle button{min-height:26px;font-size:12px;padding:3px 10px}.app:not(.mobile-layout) .world-display.render-world{flex:1 1 0;min-height:0;margin-top:6px}.app:not(.mobile-layout) .render-world .world-title{flex:none;padding:4px 2px 7px}.app:not(.mobile-layout) .eyebrow{font-size:11px}.app:not(.mobile-layout) .world-title h2{margin-top:4px;font-size:23px}.app:not(.mobile-layout) .world-title h2 span{font-size:11px;padding:3px 6px}.app:not(.mobile-layout) .world-title p{margin-top:6px;font-size:12px;letter-spacing:0}.app:not(.mobile-layout) .world-view.render-v5{flex:1 1 0;min-height:0}.app:not(.mobile-layout) .render-v5 .world-stage,.app:not(.mobile-layout) .render-v6 .world-stage.has-near-view{flex:1 1 0;height:auto;min-height:70px}.app:not(.mobile-layout) .render-v6 .world-stage.has-near-view{min-height:calc(var(--near-height) + 80px)}.app:not(.mobile-layout) .render-world .render-v5 .orbit-demo-controls{flex:none;gap:3px 8px;padding-block:2px}.app:not(.mobile-layout) .render-world .render-v5 .orbit-demo-readouts{font-size:12px;flex-basis:190px;gap:2px 8px}.app:not(.mobile-layout) .render-world .render-v5 .orbit-demo-controls button{min-width:35px;min-height:32px;padding-inline:5px}.app:not(.mobile-layout) .world-tools{min-height:32px;flex:none;font-size:12px}.app:not(.mobile-layout) .world-tools button{min-height:32px;padding-block:3px}.app:not(.mobile-layout) .render-world .world-stats{flex:none;padding-block:8px}.app:not(.mobile-layout) .world-stats span{font-size:12px;gap:3px}.app:not(.mobile-layout) .world-stats strong{font-size:15px}.app:not(.mobile-layout) .world-bottom{flex:none;padding-top:8px}.app:not(.mobile-layout) .projects-heading h3,.app:not(.mobile-layout) .recent-title h3{font-size:12px}.app:not(.mobile-layout) .projects-heading>button{color:var(--muted);font-size:12px;min-height:26px}.app:not(.mobile-layout) .project-list{grid-template-columns:1fr;margin:5px 0;gap:5px}.app:not(.mobile-layout) .project{padding:6px 10px}.app:not(.mobile-layout) .project small{font-size:11px}.app:not(.mobile-layout) .progress-track{margin:4px 0}.app:not(.mobile-layout) .empty-project{padding:8px 10px;margin:5px 0;gap:4px}.app:not(.mobile-layout) .empty-project small{font-size:12px}.app:not(.mobile-layout) .recent-title{margin:4px 0}.app:not(.mobile-layout) .recent-title button{min-height:26px;font-size:12px}.app:not(.mobile-layout) .echo-list{gap:6px}.app:not(.mobile-layout) .echo-list button{min-height:32px}.app:not(.mobile-layout) .world-pane:has(.has-near-view) .empty-project,.app:not(.mobile-layout) .world-pane:has(.has-near-view) .project-list,.app:not(.mobile-layout) .world-pane:has(.has-near-view) .echo-list{display:none}.app:not(.mobile-layout) .echo-list small{margin-top:3px;font-size:12px}.app:not(.mobile-layout) .echo-list time{font-size:12px}.app:not(.mobile-layout) .statusbar{flex:none;min-height:34px;padding:0;margin-top:0;font-size:12px}.app:not(.mobile-layout) .statusbar button{min-height:32px}}.project-register{display:block;width:100%;margin-block:10px}.project-register .project-cancel{display:block;margin-top:8px;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:4px;color:var(--risk);font-size:12px}@media(min-width:801px)and (max-height:780px){.app:not(.mobile-layout) .council-pane{--card-width: min(300px, calc((100cqh - 156px) * 2 / 3));padding-block:6px}.app:not(.mobile-layout) .council-pane:has(.ending-card){--card-width: min(330px, calc((100cqh - 128px) * 2 / 3))}.app:not(.mobile-layout) .topbar{min-height:48px;height:48px}.app:not(.mobile-layout) .resource-bar{min-height:42px;padding-block:4px}.app:not(.mobile-layout) .resource strong{font-size:17px}.app:not(.mobile-layout) .resource small{display:none}.app:not(.mobile-layout) .game-layout{padding-block:4px}.app:not(.mobile-layout) .statusbar{min-height:28px}.app:not(.mobile-layout) .statusbar button{min-height:26px}.app:not(.mobile-layout) .card-stage-header{min-height:24px}.app:not(.mobile-layout) .card-resource-bar{margin-block:3px 6px}.app:not(.mobile-layout) .choice{min-height:76px;padding-block:7px}.app:not(.mobile-layout) .choice strong{font-size:14px}.app:not(.mobile-layout) .gesture-hint{margin-top:5px}.app:not(.mobile-layout) .empty-project small,.app:not(.mobile-layout) .echo-list small{display:none}.app:not(.mobile-layout) .empty-project{padding-block:6px}.app:not(.mobile-layout) .echo-list button{min-height:24px}}@media(min-width:801px)and (max-width:1050px){.app:not(.mobile-layout) .chapter{display:none}.app:not(.mobile-layout) .resource{padding-inline:6px;gap:5px}.app:not(.mobile-layout) .resource small{white-space:normal}.app:not(.mobile-layout) .card-caption{white-space:normal}}@media(min-width:801px)and (max-height:679px){.app:not(.mobile-layout){height:auto;min-height:740px}.app:not(.mobile-layout) .game-layout{flex:none;height:595px}}@media(min-width:801px){.app:not(.mobile-layout) .topbar{height:54px;min-height:54px}.app:not(.mobile-layout) .header-duration{flex-direction:row;align-items:baseline;gap:10px;margin-left:auto}.app:not(.mobile-layout) .resource-bar{min-height:40px;padding-block:6px}.app:not(.mobile-layout) .resource{align-items:center;gap:8px}.app:not(.mobile-layout) .resource>svg{margin-top:0;width:16px;height:16px}.app:not(.mobile-layout) .resource>div{flex:1;min-width:0;flex-direction:row;align-items:baseline;justify-content:space-between;gap:8px}.app:not(.mobile-layout) .resource strong{font-size:18px}.app:not(.mobile-layout) .resource small{display:none}.app:not(.mobile-layout) .game-layout{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:clamp(20px,2.2vw,32px);max-width:1580px;padding-block:10px 8px}.app:not(.mobile-layout) .council-pane{padding:8px 12px 12px;gap:8px}.app:not(.mobile-layout) .card-stage{justify-content:flex-start}.app:not(.mobile-layout) .card-visual{container-type:size;flex:1 1 0}.app:not(.mobile-layout) .decision-card,.app:not(.mobile-layout) .card-back-card{width:min(330px,calc(100cqw - 20px),calc((100cqh - 8px) * 2 / 3));height:auto;aspect-ratio:2 / 3}.app:not(.mobile-layout):has(.ending-card){min-height:820px}.app:not(.mobile-layout):has(.ending-card) .game-layout{height:auto;flex:1 1 0}.app:not(.mobile-layout) .ending-card{width:min(360px,calc(100cqw - 20px),calc((100cqh - 8px) * 2 / 3))}.app:not(.mobile-layout) .card-inner{padding:8px 4px 4px;gap:12px;overflow:visible}.app:not(.mobile-layout) .card-intro{grid-template-columns:30px minmax(0,1fr);gap:2px 8px;margin:0}.app:not(.mobile-layout) .card-intro .portrait{width:30px;height:30px;min-height:30px}.app:not(.mobile-layout) .card-intro .speaker{line-height:1.4}.app:not(.mobile-layout) .card-copy{flex:1 1 auto;justify-content:flex-start;padding:0 4px}.app:not(.mobile-layout) .card-inner h1{font-size:clamp(20px,2.7vh,24px);line-height:1.3}.app:not(.mobile-layout) .gold-divider{margin:10px 0}.app:not(.mobile-layout) .card-copy>p{font-size:clamp(15px,2vh,18px);line-height:1.55}.app:not(.mobile-layout) .card-id{margin-top:auto;padding-top:10px;padding-bottom:4px}.app:not(.mobile-layout) .card-effect.visible{padding:12px}.app:not(.mobile-layout) .card-effect.visible>span,.app:not(.mobile-layout) .card-effect small{font-size:clamp(15px,2vh,18px);line-height:1.5}.app:not(.mobile-layout) .card-effect small{margin-top:12px}.app:not(.mobile-layout) .choice-row{padding:0;gap:10px}.app:not(.mobile-layout) .choice{min-height:64px;padding:6px 8px}.app:not(.mobile-layout) .choice>span{padding-inline:2px;gap:2px}.app:not(.mobile-layout) .choice strong{font-size:14px;line-height:1.4}.app:not(.mobile-layout) .choice small{display:block;overflow:visible;-webkit-line-clamp:unset;font-size:12px;line-height:1.4}.app:not(.mobile-layout) .world-pane{padding-left:0;gap:10px;border-left:0}.app:not(.mobile-layout) [hidden]{display:none!important}.app:not(.mobile-layout) .desktop-tabs{display:flex;flex:none;gap:4px;min-height:40px;padding:4px;border:1px solid var(--line);border-radius:5px;background:var(--surface-deep);overflow-x:auto;scrollbar-width:thin}.app:not(.mobile-layout) .desktop-tabs button{display:flex;flex:1 0 auto;align-items:center;justify-content:center;gap:6px;padding:7px 8px;font-size:13px;white-space:nowrap;color:var(--muted);border-radius:3px}.app:not(.mobile-layout) .desktop-tabs button[aria-selected=true]{background:#26363b;color:var(--text);box-shadow:inset 0 -2px var(--gold)}.app:not(.mobile-layout) .world-display.render-world{margin:0}.app:not(.mobile-layout) .desktop-detail-page{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px 22px;border:1px solid var(--line);border-radius:5px;background:linear-gradient(155deg,#17252a,#111b1f)}.app:not(.mobile-layout) .desktop-detail-page>h2{font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-size:24px;margin-block:8px 12px}.app:not(.mobile-layout) .desktop-detail-page>.muted{font-size:13px;line-height:1.7;margin-block:10px}.app:not(.mobile-layout) .desktop-detail-page .project{padding:14px}.app:not(.mobile-layout) .desktop-detail-page .project div{gap:12px}.app:not(.mobile-layout) .desktop-detail-page .progress-track{margin-block:10px}.app:not(.mobile-layout) .panel-empty{padding-block:24px}}@media(min-width:801px)and (max-width:1100px){.app:not(.mobile-layout) .game-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.app:not(.mobile-layout) .desktop-tabs button{gap:4px;padding-inline:6px;font-size:12px}}.resource-glyph{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;gap:2px;width:35px;min-width:35px;height:24px;color:var(--cyan);flex:none}.resource-glyph>svg{width:18px;height:18px;flex:none}.resource-arrow{display:inline-flex;align-items:center;justify-content:center;width:13px;min-width:13px;height:20px;font:600 17px/1 Segoe UI,sans-serif}.direction-up{color:#9fddd1}.direction-down{color:#f2ac87}.direction-mixed{color:#e6cf9a}.direction-related{color:var(--muted)}.resource-arrow.small:not(.direction-related){animation:resource-direction-pulse 1.6s ease-in-out infinite}.resource-arrow.large:not(.direction-related){animation:resource-direction-pulse .9s ease-in-out infinite}.resource-arrow.timing-later{border-bottom:1px dashed currentColor}@keyframes resource-direction-pulse{0%,to{opacity:.6}50%{opacity:1}}.resource-reading{min-height:44px;border-radius:3px}.resource-reading:focus-visible,.observation-reading:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.resource-reading:hover,.resource-reading[aria-expanded=true],.observation-reading:hover{background:#9cb7b10c}.resource-reading.warning .resource-glyph>svg{color:var(--risk)}.resource-reading .metric-copy{position:relative;min-width:0;padding-bottom:6px}.resource-capacity{position:absolute;left:0;right:0;bottom:0;display:block;height:3px;max-width:150px;overflow:hidden;border-radius:2px;background:#9ab9b02c}.resource-capacity>i,.resource-capacity>b{position:absolute;display:block;top:0;bottom:0}.resource-capacity>i{left:0;background:#85b3aa}.resource-capacity>b.gain{background:#9fddd18c}.resource-capacity>b.loss{background:#f2ac87bf}.warning .resource-capacity>i{background:#cc9675}.app:not(.mobile-layout) .resource-reading{align-items:center;gap:7px}.app:not(.mobile-layout) .resource-reading>.metric-copy{flex-direction:column;align-items:flex-start;gap:2px;justify-content:center}.app:not(.mobile-layout) .resource-reading strong{font-size:clamp(15px,1.35vw,19px);letter-spacing:0}.app:not(.mobile-layout) .resource-reading small{font-size:11px}.world-stats>.observation-reading{display:flex;align-items:center;text-align:left;gap:12px;min-width:0;min-height:44px;padding:2px}.world-stats .observation-reading strong{font-size:clamp(13px,1.35vw,18px);white-space:nowrap}.resource-popover{position:fixed;z-index:200;width:min(360px,calc(100vw - 24px));padding:8px 14px 14px;overflow-y:auto;border:1px solid #8aafa780;border-radius:8px;background:linear-gradient(145deg,#1c2b30,#101b20);box-shadow:0 12px 36px #0008;color:var(--text);text-align:left;font-size:13px;line-height:1.6}.resource-popover header{display:flex;align-items:center;gap:8px;justify-content:space-between}.resource-popover h2{font:500 15px/1.5 Microsoft YaHei UI,sans-serif;margin:0;color:#dcc998}.resource-popover header button{width:44px;min-width:44px;height:44px;display:grid;place-items:center;border-radius:4px}.resource-popover p{margin:5px 0 0;overflow-wrap:anywhere}.resource-info-impact{margin-top:12px;padding-top:8px;border-top:1px solid var(--line)}.resource-info-impact h3{margin:0;color:var(--cyan);font-size:12px;font-weight:500}.card-resource-item .resource-glyph{height:20px}.card-resource-item .resource-glyph>svg{width:15px;height:15px}.mobile-layout .card-resource-bar{grid-template-columns:repeat(6,minmax(0,1fr));width:calc(100% - 16px);min-height:50px;padding:2px 0;row-gap:0;pointer-events:auto}.mobile-layout .card-resource-item.resource-reading{display:flex;flex-direction:column;gap:0;padding:1px 2px;min-height:44px;justify-content:flex-start;border-radius:0;touch-action:manipulation}.mobile-layout .card-resource-item .resource-glyph{justify-content:center;width:31px;min-width:31px;height:22px}.mobile-layout .card-resource-item .metric-copy{width:100%;display:flex;justify-content:center;padding-bottom:5px}.mobile-layout .card-resource-item strong{font-size:11px;line-height:15px;letter-spacing:0}.mobile-layout .card-resource-item .resource-capacity{height:2px;left:4px;right:4px}.mobile-layout .resource-arrow.direction-up{animation-name:mobile-resource-rise}.mobile-layout .resource-arrow.direction-down{animation-name:mobile-resource-fall}@keyframes mobile-resource-rise{0%,to{opacity:.65;transform:translateY(1px)}50%{opacity:1;transform:translateY(-1px)}}@keyframes mobile-resource-fall{0%,to{opacity:.65;transform:translateY(-1px)}50%{opacity:1;transform:translateY(1px)}}.mobile-layout .card-resource-item:nth-child(4){border-left:1px solid #a8b9b52e}.mobile-layout .world-stats>.observation-reading{gap:6px}.mobile-layout .world-stats .observation-reading strong{font-size:12px}@media(max-height:820px)and (min-width:801px){.app:not(.mobile-layout) .resource-reading{padding-inline:6px}.app:not(.mobile-layout) .resource-reading>.metric-copy{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:6px}.app:not(.mobile-layout) .resource-reading strong{font-size:15px}.app:not(.mobile-layout) .resource-reading small{display:none}.app:not(.mobile-layout) .resource-reading:is([data-resource=粮食],[data-resource=能源])>.metric-copy{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 6px}.app:not(.mobile-layout) .resource-reading:is([data-resource=粮食],[data-resource=能源]) small{display:block;grid-column:1 / -1;font-size:10px;line-height:12px}}@media(max-width:360px){.mobile-layout .card-resource-item strong{font-size:10px}}@media(orientation:landscape)and (max-height:600px){.mobile-layout .card-resource-bar{grid-template-columns:repeat(3,minmax(0,1fr));min-height:96px;row-gap:4px}.mobile-layout .card-resource-item:nth-child(4){border-left:0}}@media(prefers-reduced-motion:reduce){.resource-arrow{animation:none!important}}
