/* FORGEFRONT economy sandbox: standalone, keyboard-friendly, no external deps */
.ff56-page{background:#0b1422;color:#eaf0f8;font-family:Inter,system-ui,sans-serif;min-height:100vh}.ff56-page *{box-sizing:border-box}.ff56-page button,.ff56-page a{font-family:inherit}.ff56-page [hidden]{display:none!important}.ff56-page button:focus-visible,.ff56-page a:focus-visible{outline:3px solid #ff9b62;outline-offset:3px}.ff56-hero{border-bottom:1px solid #324154;background:radial-gradient(ellipse at 80% 0%,#273c50,transparent 65%),#101b2c}.ff56-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center;padding-block:58px}.ff56-back{display:inline-block;color:#bdcede;font-size:.85rem;margin-bottom:30px}.ff56-kicker{display:block;font-size:.69rem;color:#ffaa76;letter-spacing:.15em;font-weight:850}.ff56-hero h1{font-size:clamp(2.6rem,5vw,5.4rem);color:#fff;line-height:1.02;letter-spacing:-.065em;margin:15px 0 23px}.ff56-page h1 em,.ff56-page h2 em{color:#ff9c6a;font-style:normal}.ff56-hero p{max-width:580px;font-size:1.01rem;line-height:1.72;color:#bacada;margin:0 0 24px}.ff56-tagrow{display:flex;flex-wrap:wrap;gap:8px}.ff56-tagrow span{font-size:.71rem;letter-spacing:.06em;padding:9px 12px;border-radius:20px;border:1px solid #465a70;background:#172b40;color:#d4deea}.ff56-art{height:325px;position:relative;border:1px solid #465b72;border-radius:17px;overflow:hidden;box-shadow:0 30px 66px #050911}.ff56-art img{width:100%;height:100%;object-fit:cover}.ff56-art span{position:absolute;bottom:13px;left:14px;padding:8px 11px;background:#101b2de8;border:1px solid #71849c;color:#eef2f8;border-radius:6px;font-size:.65rem;letter-spacing:.08em;font-weight:800}.ff56-wrap{padding-block:28px 85px}.ff56-disclaimer{padding:15px 18px;border:1px solid #4b5362;border-left:4px solid #ff9965;border-radius:9px;background:#142439;color:#bfcfdd;font-size:.85rem;line-height:1.65;margin-bottom:30px}.ff56-disclaimer strong{color:white}.ff56-mission{display:grid;grid-template-columns:1fr 300px;gap:25px;align-items:center;padding-bottom:22px}.ff56-mission h2,.ff56-bottom h2{color:#fff;font-size:clamp(1.5rem,2.5vw,2.1rem);letter-spacing:-.045em;margin:8px 0 6px}.ff56-mission p,.ff56-bottom p{color:#b6c6d8;line-height:1.55;margin:0;font-size:.88rem}.ff56-goal{border:1px solid #3b4c63;border-radius:10px;padding:15px;background:#16263a}.ff56-goal>div:first-child{display:flex;gap:15px;justify-content:space-between;align-items:center;font-size:.76rem;color:#c6d4e5}.ff56-goal strong{font-size:.95rem;color:#ffb784;white-space:nowrap}.ff56-progress-track,.ff56-energy-track{height:8px;background:#0b1626;overflow:hidden;border-radius:10px;margin:11px 0}.ff56-progress-track i{display:block;background:linear-gradient(90deg,#e87536,#ffb578);width:0;height:100%;transition:width .2s}.ff56-goal small{color:#a6bacf;font-size:.72rem}.ff56-resources{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:16px}.ff56-resources>div{min-width:0;border:1px solid #33465b;background:#17283c;border-radius:10px;padding:13px 15px}.ff56-resources span{display:block;color:#aebdd1;font-size:.7rem;margin-bottom:7px}.ff56-resources b{color:#fff;font-size:1.36rem}.ff56-resources .ff56-stat-power{border-color:#da8e545c}.ff56-stat-power b{color:#ffbc87}.ff56-interface{display:grid;grid-template-columns:minmax(210px,235px) minmax(0,1fr) minmax(220px,260px);gap:12px;align-items:stretch}.ff56-tools,.ff56-map-wrap,.ff56-inspector{min-width:0;border:1px solid #354960;border-radius:13px;background:#101d30;padding:18px}.ff56-panel-head h3,.ff56-map-top h3{margin:6px 0 7px;font-size:1.16rem;color:#f5f8ff}.ff56-panel-head p{color:#9fb2c9;line-height:1.5;font-size:.77rem;margin:0 0 18px}.ff56-build-menu{display:grid;grid-template-columns:1fr;gap:7px}.ff56-build-menu button{width:100%;display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;text-align:left;column-gap:8px;align-items:center;min-height:57px;border-radius:8px;border:1px solid #32465b;background:#182a3f;color:#e8eef7;padding:7px 10px;cursor:pointer}.ff56-build-menu button:hover{border-color:#ca936e;background:#24374d}.ff56-build-menu button[aria-pressed=true]{background:#4b352d;border-color:#ffa26b;box-shadow:0 0 0 1px #ffa26b33 inset}.ff56-build-menu button>span{grid-row:span 2;text-align:center;font-size:1.5rem;color:#ffc48d}.ff56-build-menu button strong{font-size:.8rem}.ff56-build-menu button small{font-size:.68rem;color:#acbed2}.ff56-builder-hint{font-size:.74rem;color:#f1ba90;margin:14px 0 0;line-height:1.5}.ff56-map-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.ff56-reset{border:1px solid #5a6c82;background:#16263a;border-radius:8px;padding:9px 11px;color:#e8eef5;cursor:pointer;font-size:.78rem}.ff56-reset:hover{background:#293c54}.ff56-grid-frame{background:radial-gradient(ellipse at 50% 35%,#253e3b,#0c2026);padding:10px;border:1px solid #3d5558;border-radius:12px}.ff56-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px;aspect-ratio:1.5}.ff56-grid button{min-width:0;min-height:0;position:relative;padding:0;border:1px solid #7080743d;border-radius:4px;display:grid;place-items:center;color:#e9f5ed;background:linear-gradient(140deg,#2c4338,#21392f);cursor:pointer;transition:filter .1s,border-color .1s;overflow:hidden}.ff56-grid button:hover,.ff56-grid button:focus-visible{filter:brightness(1.28);border-color:#ffba72;z-index:1}.ff56-grid .ff56-forest{background:linear-gradient(135deg,#254a32,#1e3a32)}.ff56-grid .ff56-ore{background:linear-gradient(135deg,#545b5c,#3b464d)}.ff56-grid .ff56-hq{background:linear-gradient(135deg,#d47d32,#795037)}.ff56-grid .ff56-building{background:linear-gradient(140deg,#b4a080,#4f6761)}.ff56-grid .ff56-paused{filter:saturate(.4) brightness(.7)}.ff56-grid button>span{font-size:clamp(17px,2.25vw,28px);text-shadow:0 2px 4px #06100688;pointer-events:none}.ff56-grid button>small{position:absolute;bottom:1px;right:3px;font-size:.5rem;font-weight:900;color:#fff6ca}.ff56-grid button.ff56-selected{outline:2px solid #ffad62;z-index:2}.ff56-legend{display:flex;flex-wrap:wrap;gap:7px 13px;margin-top:15px}.ff56-legend span{display:flex;align-items:center;gap:5px;font-size:.65rem;color:#aec1d2}.ff56-legend i{width:10px;height:10px;border-radius:2px;background:#2e693f}.ff56-legend .ff56-legend-ore{background:#777b7e}.ff56-legend .ff56-legend-plain{background:#315b48}.ff56-event{min-height:50px;margin-top:18px;line-height:1.5;padding:11px 13px;background:#1c3045;border-left:3px solid #ffb279;border-radius:4px;color:#e4eef9;font-size:.82rem}.ff56-inspector .ff56-panel-head{margin-bottom:14px}.ff56-energy{padding:14px;border:1px solid #38516a;border-radius:10px;background:#17283f}.ff56-energy>div:first-child{display:flex;justify-content:space-between;font-size:.74rem;color:#b9cada;gap:10px}.ff56-energy strong{color:#f8f9fb}.ff56-energy-track{background:#101b2b}.ff56-energy-track i{display:block;width:0;height:100%;background:#60bea4;transition:width .2s}.ff56-energy p{color:#aebfd1;line-height:1.5;font-size:.71rem;margin:0}.ff56-inspector-main{margin-top:22px}.ff56-inspector-main h4{margin:0 0 12px;color:white;font-size:.91rem}.ff56-inspector-main [data-ff56-inspector]{color:#b9c8d8;line-height:1.6;font-size:.78rem;min-height:50px}.ff56-inspector-main [data-ff56-inspector] strong{display:block;color:#f4f6fb;margin-bottom:4px}.ff56-inspector-main [data-ff56-inspector] span{display:block}.ff56-inspector-main>button{border:1px solid #ffac82;color:#ffbb94;border-radius:7px;background:transparent;padding:9px 13px;cursor:pointer;margin-top:14px}.ff56-help{margin-top:25px;border-top:1px solid #34485e;padding-top:18px}.ff56-help strong{color:white;font-size:.83rem}.ff56-help p{color:#afbed0;line-height:1.55;font-size:.74rem}.ff56-help small{color:#869fb5;font-size:.67rem}.ff56-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:38px 0;margin-top:60px;border-block:1px solid #34475b}.ff56-bottom>div{max-width:680px}.ff56-bottom a{white-space:nowrap;padding:14px 18px;background:#ff995f;border-radius:8px;color:#30170a;font-size:.82rem;font-weight:900}.ff56-bottom a:hover{background:#ffb187}
@media(max-width:1080px){.ff56-interface{grid-template-columns:210px minmax(0,1fr)}.ff56-inspector{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:17px}.ff56-inspector>.ff56-panel-head{margin:0}.ff56-inspector-main,.ff56-help{margin:0}.ff56-hero-grid{gap:25px}}
@media(max-width:760px){.ff56-hero-grid{grid-template-columns:1fr;padding-block:38px}.ff56-hero h1{font-size:clamp(2.5rem,9vw,4.2rem)}.ff56-art{height:250px}.ff56-mission{grid-template-columns:1fr}.ff56-resources{grid-template-columns:repeat(3,minmax(0,1fr))}.ff56-interface{grid-template-columns:1fr}.ff56-build-menu{grid-template-columns:repeat(3,1fr)}.ff56-build-menu button{grid-template-columns:1fr;text-align:center;gap:2px;min-height:87px;padding:8px 4px}.ff56-build-menu button>span{grid-row:1;font-size:1.4rem}.ff56-build-menu button strong{font-size:.72rem}.ff56-build-menu button small{font-size:.58rem}.ff56-inspector{grid-template-columns:1fr}.ff56-grid{aspect-ratio:1.55}.ff56-grid button>span{font-size:clamp(18px,4.4vw,29px)}.ff56-bottom{align-items:start;flex-direction:column}}
@media(max-width:420px){.ff56-resources{grid-template-columns:repeat(2,minmax(0,1fr))}.ff56-resources .ff56-stat-power{grid-column:span 2}.ff56-tools,.ff56-map-wrap,.ff56-inspector{padding:11px}.ff56-build-menu{grid-template-columns:repeat(2,1fr)}.ff56-grid-frame{padding:5px}.ff56-grid{gap:2px}.ff56-grid button>span{font-size:17px}.ff56-page .cg-portal-wrap{width:calc(100% - 26px)}}
@media(prefers-reduced-motion:reduce){.ff56-page *{transition:none!important}}
