﻿.fg-page{--forest:#10251d;--forest2:#17382b;--lime:#d9ef75;--paper:#f3f2e9;--ink:#173126;color:var(--ink);font-family:inherit}.fg-page *{box-sizing:border-box}.fg-page [hidden]{display:none!important}.fg-page button{font:inherit;cursor:pointer}.fg-page button:disabled{opacity:.43;cursor:not-allowed}.fg-page a{color:inherit}.fg-page .container{width:min(100% - 44px,1440px);margin:auto}.fg-eyebrow,.fg-overline{font-size:.71rem;font-weight:850;letter-spacing:.17em;text-transform:uppercase}.fg-hero{position:relative;min-height:690px;background:#0b251b;color:#fff;overflow:hidden}.fg-hero-photo{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,20,14,.9) 0%,rgba(4,20,14,.72) 44%,rgba(4,20,14,.18) 100%),linear-gradient(0deg,rgba(4,20,14,.6),transparent 40%),url('/assets/farm-photo.jpg') center 54%/cover;transform:scale(1.02)}.fg-hero-inner{position:relative;min-height:690px;display:flex;flex-direction:column}.fg-hero .page-breadcrumb{color:#d5e3d3;padding-top:32px}.fg-hero .page-breadcrumb a{color:#d5e3d3}.fg-hero-copy{max-width:720px;padding:96px 0 75px}.fg-hero .fg-eyebrow{color:var(--lime)}.fg-hero h1,.fg-method h2{font-size:clamp(3.5rem,8vw,7.8rem);line-height:.94;letter-spacing:-.07em;margin:24px 0 28px;font-weight:750}.fg-hero h1 em,.fg-method h2 em{color:var(--lime);font-style:normal}.fg-hero-copy>p:not(.fg-eyebrow):not(.fg-hero-caption){font-size:clamp(1.08rem,1.6vw,1.33rem);line-height:1.6;max-width:630px;color:#e8f0e6}.fg-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:33px}.fg-primary,.fg-ghost{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:52px;padding:0 23px;border-radius:13px;border:1px solid transparent;text-decoration:none;font-weight:800;transition:transform .2s,background .2s,box-shadow .2s}.fg-primary{background:var(--lime);color:#173020!important;box-shadow:0 12px 28px #0003}.fg-primary:hover,.fg-ghost:hover{transform:translateY(-3px)}.fg-ghost{border-color:#e9f3dc8a;color:#fff!important;background:#ffffff12}.fg-hero-caption{font-size:.79rem!important;color:#d2ded0!important;margin-top:22px}.fg-hero-stats{margin-top:auto;display:flex;gap:0;border-top:1px solid #ffffff4d;width:100%;padding:25px 0 31px}.fg-hero-stats span{min-width:165px;padding-right:35px;color:#cbdaca;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em}.fg-hero-stats strong{display:block;font-size:2rem;letter-spacing:-.05em;color:#fff}.fg-game-wrap{background:var(--paper);padding:80px 0 92px}.fg-game-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.fg-game-title .fg-eyebrow{color:#688266}.fg-game-title h2{font-size:clamp(2.5rem,4vw,4.5rem);letter-spacing:-.06em;line-height:1;margin:8px 0 0}.fg-game-top-actions{display:flex;gap:8px}.fg-game-top-actions button{background:transparent;color:#425b4d;border:1px solid #cbd7c9;padding:11px 15px;border-radius:10px;font-size:.82rem;font-weight:700}.fg-game-top-actions button:hover{background:#e4eadd}.fg-setup{background:#fff;border:1px solid #dbe4d7;border-radius:25px;box-shadow:0 20px 65px #25402d14;padding:clamp(22px,4vw,52px)}.fg-setup-head{max-width:720px}.fg-setup-head .fg-overline{color:#618064}.fg-setup h3{font-size:clamp(2rem,3.5vw,3.7rem);letter-spacing:-.06em;line-height:1.04;margin:15px 0}.fg-setup p{color:#64756a;line-height:1.55}.fg-setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:37px}.fg-setup fieldset{border:0;margin:0;padding:0;min-width:0}.fg-setup legend{font-size:.79rem;letter-spacing:.12em;text-transform:uppercase;font-weight:850;margin-bottom:16px}.fg-choice{position:relative;display:flex;align-items:center;gap:17px;min-height:116px;padding:13px;background:#f5f7f1;border:2px solid transparent;border-radius:17px;margin:0 0 12px;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}.fg-choice:hover{transform:translateY(-2px)}.fg-choice:has(input:checked){border-color:#8fae45;box-shadow:0 7px 24px #76963425;background:#f8fbe9}.fg-choice input{position:absolute;right:16px;top:16px;accent-color:#537b2d}.fg-choice img{width:118px;height:86px;border-radius:11px;object-fit:cover}.fg-choice span{display:flex;flex-direction:column;gap:5px;padding-right:17px}.fg-choice strong{font-size:1.05rem}.fg-choice small{color:#6b7a6e;line-height:1.4}.fg-choice b{font-size:.8rem;color:#3c6837}.fg-model{min-height:116px}.fg-model i{font-size:1.45rem;color:#7d9e44;font-style:normal}.fg-setup-footer{border-top:1px solid #e2e8df;margin-top:25px;padding-top:25px;display:flex;align-items:end;justify-content:space-between;gap:20px}.fg-setup-footer label{display:flex;flex-direction:column;gap:8px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.fg-setup-footer input{border:1px solid #cbd5c7;border-radius:10px;padding:14px 16px;min-width:280px;color:#183b28;font:inherit;font-size:1rem;text-transform:none;letter-spacing:0}.fg-setup-footer button{border:0}.fg-live{background:#10251d;color:#f2f6ea;border:1px solid #274936;border-radius:25px;overflow:hidden;box-shadow:0 22px 70px #1b36252d}.fg-hud{background:#152e23;border-bottom:1px solid #ffffff21;padding:20px 25px;display:flex;justify-content:space-between;gap:25px;align-items:center}.fg-hud-brand{display:grid;gap:3px;min-width:190px}.fg-hud-brand span{font-size:.7rem;font-weight:850;letter-spacing:.16em;color:var(--lime)}.fg-hud-brand strong{font-size:.95rem}.fg-hud-metrics{display:flex;gap:clamp(15px,2.8vw,48px);flex-wrap:wrap}.fg-hud-metrics>div{display:grid;gap:4px}.fg-hud-metrics span{font-size:.61rem;letter-spacing:.13em;color:#a7b9ad;font-weight:800}.fg-hud-metrics strong{font-size:1.13rem;white-space:nowrap}.fg-hud-metrics .negative,.fg-economy-stats .negative{color:#f5a397}.fg-main-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(350px,1fr);min-height:660px}.fg-world-column{min-width:0;background:#1a3828;display:flex;flex-direction:column}.fg-world-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 21px;border-bottom:1px solid #ffffff25}.fg-world-top>div:first-child{display:grid;gap:4px}.fg-world-top .fg-overline{color:#b6d388}.fg-world-top strong{font-size:1.05rem}.fg-weather{display:flex;gap:10px;align-items:center}.fg-weather>span{font-size:1.55rem;color:var(--lime)}.fg-weather div{display:grid}.fg-weather small{color:#bad0bd;font-size:.74rem}.fg-world{min-height:470px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 40%,#7cb7bb,#24435a)}.fg-world canvas{display:block;width:100%;height:470px;cursor:grab;touch-action:none}.fg-world canvas:active{cursor:grabbing}.fg-world-overlay{position:absolute;top:15px;left:15px;display:flex;gap:6px;flex-wrap:wrap;pointer-events:none}.fg-world-overlay span{background:#0d2b24c9;border:1px solid #ffffff36;border-radius:100px;color:#e6f3d7;font-size:.67rem;padding:6px 9px}.fg-world-tooltip{position:absolute;bottom:15px;left:15px;right:15px;background:#0b281fdc;backdrop-filter:blur(12px);border:1px solid #ffffff45;border-radius:11px;padding:10px 13px;font-size:.79rem;line-height:1.35;pointer-events:none}.fg-world-fallback{position:absolute;inset:0;background:linear-gradient(#152e2266,#0b201bed),url('/assets/farm-photo.jpg') center/cover;display:grid;place-items:center;text-align:center;padding:35px;font-size:1.1rem}.fg-resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#ffffff23;border-top:1px solid #ffffff23;margin-top:auto}.fg-resource{background:#1a3828;padding:13px 18px;display:grid;grid-template-columns:1fr auto;gap:8px 6px;font-size:.75rem}.fg-resource span{color:#bad0bf}.fg-resource strong{font-size:.83rem}.fg-resource i{grid-column:1/-1;height:5px;border-radius:5px;background:linear-gradient(90deg,var(--bar) var(--fill),#ffffff26 var(--fill))}.fg-sidebar{min-width:0;background:#f7f9f3;color:#173126;display:flex;flex-direction:column}.fg-sidebar-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px}.fg-sidebar-header .fg-overline{color:#587052}.fg-sidebar-header button{background:#d8ee76;border:0;color:#243822;font-size:.78rem;font-weight:850;border-radius:9px;padding:11px 13px}.fg-sidebar-header button:hover{background:#c7e563}.fg-tabs{display:flex;padding:0 15px;gap:2px;border-bottom:1px solid #dce5d7;overflow:auto}.fg-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:12px 11px;color:#657766;font-size:.78rem;font-weight:850;white-space:nowrap}.fg-tabs button.active{border-color:#77a133;color:#213d26}.fg-sidebar-body{padding:17px;max-height:580px;overflow-y:auto;flex:1}.fg-alert{border-radius:11px;background:#eaf0df;border:1px solid #d6e5c2;padding:12px;margin-bottom:17px;font-size:.77rem;line-height:1.45}.fg-alert strong{font-size:.82rem}.fg-alert p{margin:4px 0 0}.fg-alert.warn{background:#fff0df;border-color:#eacaa8}.fg-alert.good{background:#e5f4e5}.fg-alert>div{display:grid;gap:6px;margin-top:9px}.fg-alert button{border:1px solid #d39d6a;background:white;border-radius:7px;padding:8px;text-align:left;font-size:.75rem}.fg-sidebar-footer{padding:14px 19px;background:#e7eee0;border-top:1px solid #d4dfca;display:flex;justify-content:space-between;font-size:.8rem}.fg-tab-heading h3{font-size:1.35rem;margin:0 0 5px;letter-spacing:-.03em}.fg-tab-heading p,.fg-product p,.fg-tech p{font-size:.78rem;color:#6b7e6d;line-height:1.48;margin:0 0 14px}.fg-sidebar h4{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;margin:20px 0 10px}.fg-task-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fg-task-grid button{border:1px solid #d4e0ce;background:#fff;border-radius:11px;min-height:94px;padding:10px;text-align:left;display:grid;grid-template-columns:24px 1fr;gap:2px 5px}.fg-task-grid button:hover:not(:disabled),.fg-product:hover,.fg-tech:hover{border-color:#8eb65a;background:#f7fbea}.fg-task-grid button>span{grid-row:1/3;color:#759e39;font-size:1.25rem}.fg-task-grid strong{font-size:.76rem}.fg-task-grid small{color:#6b796b;font-size:.67rem;line-height:1.3}.fg-lot,.fg-stock{background:white;border:1px solid #dce7d5;border-radius:10px;padding:12px;margin:7px 0;display:flex;gap:10px;justify-content:space-between;align-items:center}.fg-lot>div:first-child,.fg-stock>div:first-child{display:grid;gap:5px;flex:1}.fg-lot strong,.fg-stock strong{font-size:.84rem}.fg-lot small,.fg-stock small{font-size:.71rem;color:#758777}.fg-lot button,.fg-stock button,.fg-supply button,.fg-product button,.fg-tech button{border:0;border-radius:8px;background:#dcef83;color:#273e23;font-weight:800;font-size:.73rem;padding:9px}.fg-progress{height:4px;background:#e5ebdf;border-radius:5px}.fg-progress i{display:block;height:100%;border-radius:5px;background:#90bc52}.fg-empty{color:#718373;font-size:.82rem;line-height:1.5}.fg-filter-note{background:#e7eedf;padding:8px 10px;border-radius:8px;font-size:.72rem;font-weight:700;margin-bottom:12px}.fg-catalog,.fg-tech-list{display:grid;gap:9px}.fg-product,.fg-tech{background:#fff;border:1px solid #dce6d7;border-radius:12px;padding:13px;transition:background .2s,border-color .2s}.fg-product.recommended{border-color:#88ab56;box-shadow:inset 3px 0 #88ab56}.fg-product>div:first-child,.fg-tech>div:first-child{display:flex;gap:11px;align-items:center}.fg-product>div:first-child>span,.fg-tech>div:first-child>span{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;background:#eaf2dc;color:#78923d;font-size:1.2rem;flex:none}.fg-product>div:first-child>div,.fg-tech>div:first-child>div{display:grid;gap:3px}.fg-product strong,.fg-tech strong{font-size:.89rem}.fg-product small,.fg-tech small{font-size:.69rem;color:#788777}.fg-product p,.fg-tech p{margin:11px 0}.fg-product>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:7px}.fg-product a{font-size:.74rem;text-decoration:underline;color:#607c41}.fg-tech button{width:100%}.fg-tech.owned{background:#ecf4e8}.fg-market-rate{display:flex;justify-content:space-between;background:#e6f0d7;padding:14px;border-radius:10px;font-size:.8rem}.fg-stock>div:last-child{display:flex;gap:5px;flex-wrap:wrap;justify-content:end}.fg-supply{display:flex;flex-wrap:wrap;gap:7px}.fg-supply button{background:#fff;border:1px solid #bad3a5}.fg-telemetry{background:#e9f1e3;padding:15px;border-radius:11px;margin-top:18px;font-size:.79rem;line-height:1.5}.fg-telemetry h4{margin:0 0 6px}.fg-telemetry p{margin:0 0 7px}.fg-telemetry strong{color:#875732}.fg-bottom-grid{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:1px;background:#ffffff22;border-top:1px solid #ffffff22}.fg-panel{padding:24px;min-height:245px;background:#102a20}.fg-panel-heading .fg-overline{color:#bcd98c}.fg-panel h3{font-size:1.13rem;margin:7px 0 16px}.fg-panel p{font-size:.84rem;color:#c6d6c8;line-height:1.5}.fg-panel #fg-goals span{color:#d7ed8c;font-size:.79rem;font-weight:750}.fg-level-track{height:6px;background:#ffffff27;border-radius:9px;margin:19px 0}.fg-level-track div{height:100%;background:var(--lime);border-radius:9px}.fg-panel #fg-unlock-note{font-size:.74rem}.fg-economy-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.fg-economy-stats>div{display:grid;gap:5px}.fg-economy-stats span{color:#a8baa9;font-size:.69rem}.fg-economy-stats strong{font-size:.81rem}.fg-panel svg{width:100%;height:100px;margin-top:9px}.fg-panel ol{list-style:none;margin:0;padding:0;display:grid;gap:8px;max-height:165px;overflow:auto}.fg-panel li{font-size:.73rem;line-height:1.35;color:#d3e0d4;display:flex;gap:8px}.fg-panel li span{color:#b6d56f;font-weight:800}.fg-panel li.warn{color:#efbd9a}.fg-panel li.gain{color:#d8efa5}.fg-lab-link{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:32px 35px;background:#d9edab;color:#1a3420}.fg-lab-link span{font-size:.7rem;font-weight:850;letter-spacing:.15em}.fg-lab-link h3{font-size:1.5rem;margin:5px 0}.fg-lab-link p{margin:0;font-size:.82rem}.fg-lab-link a{background:#173a29;color:white;text-decoration:none;border-radius:10px;padding:13px 17px;font-size:.78rem;font-weight:850;white-space:nowrap}.fg-method{background:#0d221a;color:#fff;padding:100px 0}.fg-method-head{max-width:770px}.fg-method .fg-eyebrow{color:var(--lime)}.fg-method h2{font-size:clamp(3rem,6vw,6rem);margin:17px 0 22px}.fg-method-head>p:last-child{line-height:1.6;color:#bed1c2;font-size:1.06rem}.fg-method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:38px 0}.fg-method-grid article{border:1px solid #446451;background:#183529;padding:25px;border-radius:15px}.fg-method-grid span{color:#d2e783;font-size:.72rem;letter-spacing:.1em;font-weight:800}.fg-method-grid h3{margin:28px 0 10px;font-size:1.17rem}.fg-method-grid p{font-size:.81rem;color:#bed1c2;line-height:1.5;margin:0}.fg-sources{border-top:1px solid #ffffff30;padding-top:21px;color:#c8d9ca;font-size:.8rem;line-height:1.6}.fg-sources strong{color:#fff}.fg-sources a{color:#d8ee84;text-decoration:underline}.fg-page :focus-visible{outline:3px solid #c7e362;outline-offset:3px}
@media(max-width:1080px){.fg-main-grid{grid-template-columns:1fr}.fg-sidebar-body{max-height:none}.fg-bottom-grid{grid-template-columns:1fr 1fr}.fg-bottom-grid .fg-panel:last-child{grid-column:1/-1}.fg-method-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.fg-page .container{width:min(100% - 24px,1440px)}.fg-hero,.fg-hero-inner{min-height:610px}.fg-hero-photo{background-position:62% center}.fg-hero-copy{padding:74px 0 50px}.fg-hero h1{font-size:clamp(3.6rem,13vw,5.3rem)}.fg-hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.fg-hero-stats span{min-width:0;padding:0;font-size:.58rem}.fg-hero-stats strong{font-size:1.45rem}.fg-game-wrap{padding:54px 0}.fg-game-title{display:block}.fg-game-top-actions{margin-top:20px}.fg-setup-grid{grid-template-columns:1fr;gap:20px}.fg-setup-footer{align-items:stretch;flex-direction:column}.fg-setup-footer input{min-width:0;width:100%}.fg-hud{display:block;padding:18px}.fg-hud-metrics{margin-top:18px;gap:12px;justify-content:space-between}.fg-hud-metrics strong{font-size:.96rem}.fg-world canvas{height:390px}.fg-world{min-height:390px}.fg-world-overlay span{font-size:.59rem}.fg-resource-grid{grid-template-columns:repeat(2,1fr)}.fg-bottom-grid{grid-template-columns:1fr}.fg-bottom-grid .fg-panel:last-child{grid-column:auto}.fg-lab-link{display:block}.fg-lab-link a{display:inline-block;margin-top:20px;white-space:normal}.fg-method{padding:65px 0}.fg-method-grid{grid-template-columns:1fr}.fg-choice img{width:88px;height:78px}}
.fg-hero .page-breadcrumb{padding-top:118px;position:relative;z-index:2}.fg-hero-copy{padding-top:45px}@media(max-width:700px){.fg-hero .page-breadcrumb{padding-top:105px}.fg-hero-copy{padding-top:43px}}
.fg-scene-status{position:absolute;top:52px;right:15px;width:min(280px,calc(100% - 30px));z-index:3;background:#102a23dc;backdrop-filter:blur(15px);border:1px solid #e0efc270;border-left:4px solid #d9ef75;border-radius:12px;padding:11px 13px;pointer-events:none;box-shadow:0 12px 26px #1022194d;display:grid;gap:5px}.fg-scene-status span{font-size:.61rem;font-weight:850;letter-spacing:.15em;color:#d9ef75}.fg-scene-status strong{font-size:.77rem;line-height:1.38;font-weight:650;color:#fff}.fg-scene-status[data-tone=alert]{background:#4a221fe8;border-left-color:#ff9d79;border-color:#ffb19a8a}.fg-scene-status[data-tone=alert] span{color:#ffb79b}.fg-scene-status[data-tone=action]{border-left-color:#79dcec}.fg-scene-status[data-tone=action] span{color:#9fe3ef}.fg-scene-status[hidden]{display:none!important}@media(max-width:700px){.fg-scene-status{top:52px;right:10px;width:min(220px,calc(100% - 20px));padding:9px 11px}.fg-scene-status strong{font-size:.69rem}}
.fg-scene-reset{position:absolute;z-index:5;top:53px;left:15px;background:#102a23df;color:#eaf8d6;border:1px solid #c5df9d8c;border-radius:8px;font-size:.69rem;font-weight:800;padding:8px 10px;box-shadow:0 8px 18px #10221936}.fg-scene-reset:hover{background:#315c37}.fg-scene-reset:focus-visible{outline:3px solid #d9ef75;outline-offset:2px}@media(max-width:700px){.fg-scene-reset{top:53px;left:10px;font-size:.61rem;padding:7px 8px}}

/* Strategy game presentation: the terrain owns the space, commands remain legible. */
.fg-live{border-radius:9px;border-color:#746e52;background:#101d1c;box-shadow:0 26px 80px #10201a4a}
.fg-hud{background:linear-gradient(90deg,#172923,#202e29);border-bottom:3px solid #b69658;padding:20px 26px}
.fg-hud-brand span{color:#e3c882}.fg-hud-brand strong{font-size:1.05rem}
.fg-hud-metrics>div{padding-left:16px;border-left:1px solid #ffffff2e}
.fg-hud-metrics span{color:#bdcbbd}.fg-hud-metrics strong{color:#fff2d2}
.fg-main-grid{grid-template-columns:minmax(0,1.75fr) minmax(350px,.85fr)}
.fg-world-column{background:#152922}
.fg-world-top{background:#1d3029;border-bottom-color:#b6965866}
.fg-world-top .fg-overline{color:#d8bd7e}
.fg-world{min-height:600px;background:#79979e}
.fg-world canvas{height:600px}
.fg-world-overlay span{background:#121e1bd9;border:1px solid #e0c88a70;border-radius:4px;color:#f1e9cc}
.fg-world-tooltip{right:184px;bottom:14px;background:#12231eea;border-color:#cfb77688;border-left:3px solid #d6b76d;border-radius:5px;color:#f7efda}
.fg-scene-status{border-radius:5px;border-color:#d9c68c88;background:#172a22e8}
.fg-scene-reset{border-radius:4px;border-color:#c9b878a8;background:#15251eea;color:#f4ecd3;top:54px}
#fg-scene-aerial{left:132px}
#fg-scene-fullscreen{left:235px}
.fg-mini-map{position:absolute;right:14px;bottom:14px;z-index:4;width:154px;padding:2px;background:#182620;border:2px solid #d3ba7a;box-shadow:0 12px 30px #0008;color:#f0e6c7;text-align:center;cursor:pointer}
.fg-mini-map canvas{width:146px;height:146px;min-height:0;display:block;pointer-events:none}
.fg-mini-map span{display:block;font-size:.57rem;font-weight:850;letter-spacing:.16em;padding:5px 0 3px}
.fg-mini-map:hover{border-color:#edf3a3}
.fg-sidebar{background:#eee9da;color:#1d2e26;border-left:2px solid #a99061}
.fg-sidebar-header{background:#e1dac6;border-bottom:1px solid #c5b994}
.fg-sidebar-header .fg-overline{color:#5b6346}
.fg-sidebar-header button{background:#c8aa65;color:#1a281f;border:1px solid #9d8048;border-radius:4px;box-shadow:0 3px 0 #8c7446}
.fg-sidebar-header button:hover{background:#e2c47c}
.fg-tabs{border-bottom-color:#c8bea5}.fg-tabs button{color:#526255}.fg-tabs button.active{border-color:#a58a4c;color:#263b28}
.fg-sidebar-footer{background:#ded6bf;border-top-color:#b7a985}
.fg-task-grid button,.fg-product,.fg-tech,.fg-lot,.fg-stock{border-radius:5px;border-color:#c9cbb8}
.fg-task-grid button:hover:not(:disabled),.fg-product:hover,.fg-tech:hover{border-color:#b69c63;background:#fffaf0}
.fg-panel{background:#172a23}.fg-panel-heading .fg-overline{color:#d9c084}
#fg-live:fullscreen{width:100vw;height:100vh;overflow:auto;border:0;border-radius:0}
#fg-live:fullscreen .fg-world,#fg-live:fullscreen .fg-world canvas{min-height:max(540px,calc(100vh - 265px));height:max(540px,calc(100vh - 265px))}
@media(max-width:1080px){.fg-main-grid{grid-template-columns:1fr}.fg-sidebar{border-left:0;border-top:2px solid #a99061}}
@media(max-width:700px){.fg-hud-metrics>div{padding-left:8px}.fg-world,.fg-world canvas{min-height:430px;height:430px}.fg-world-tooltip{right:12px;bottom:120px;font-size:.7rem}.fg-mini-map{right:10px;bottom:10px;width:102px}.fg-mini-map canvas{width:94px;min-height:0;height:94px}.fg-mini-map span{font-size:.46rem;letter-spacing:.08em}.fg-scene-reset{top:50px;left:10px}#fg-scene-aerial{left:113px}#fg-scene-fullscreen{left:206px}.fg-scene-status{top:89px;left:10px;right:auto;width:min(265px,calc(100% - 20px))}}
@media(max-width:700px){.fg-world-tooltip{bottom:132px}}
.fg-rail-story{display:grid;gap:7px;padding:18px;background:#243d32;color:#f6efd5;border:1px solid #8eaa8b;border-radius:8px;margin:12px 0 16px}.fg-rail-story span{font-size:.67rem;letter-spacing:.13em;font-weight:850;color:#d9ed8d;margin-top:5px}.fg-rail-story strong{font-size:1rem}.fg-rail-story p{margin:0 0 8px;font-size:.77rem;line-height:1.48;color:#d7e5d6}.fg-rail-invest{padding:17px;background:#fffaf0;border:1px solid #c7ae78;border-radius:7px}.fg-rail-invest strong{font-size:1rem}.fg-rail-invest p,.fg-rail-note{font-size:.76rem;line-height:1.48;color:#526358}.fg-rail-actions{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.fg-rail-actions button,.fg-rail-execute{border:1px solid #577659;background:#244b39;color:#f5f7de;border-radius:5px;padding:10px 12px;font-size:.76rem;font-weight:850}.fg-rail-actions button:hover:not(:disabled),.fg-rail-execute:hover:not(:disabled){background:#356a4d}.fg-rail-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.fg-rail-metrics div{display:grid;gap:3px;padding:10px;background:#e8ecd9;border:1px solid #b8c2a6;border-radius:5px}.fg-rail-metrics span{font-size:.6rem;letter-spacing:.09em;font-weight:850;color:#63715d}.fg-rail-metrics strong{font-size:.79rem}.fg-rail-control{display:flex;align-items:end;gap:9px;margin:14px 0}.fg-rail-control label{display:grid;gap:5px;flex:1;font-size:.7rem;font-weight:850}.fg-rail-control select{min-width:0;width:100%;padding:9px;border-radius:5px;border:1px solid #9dac93;background:#fff;color:#1d3529;font:inherit}.fg-rail-coord{white-space:nowrap;padding:10px 8px;background:#d7e9ad;color:#253e2b;font-size:.73rem;font-weight:850;border-radius:4px}.fg-rail-map{display:grid;gap:4px;background:#21372d;padding:10px;border:1px solid #bca56e;border-radius:6px;overflow-x:auto}.fg-rail-map-head,.fg-rail-row{display:grid;grid-template-columns:27px repeat(6,minmax(29px,1fr));gap:3px;min-width:255px}.fg-rail-map-head span{font-size:.58rem;font-weight:850;color:#d5e8bb;text-align:center}.fg-rail-map-head span:nth-child(2){grid-column:2/5}.fg-rail-map-head span:nth-child(3){grid-column:5/8}.fg-rail-row>span{align-self:center;font-size:.64rem;font-weight:850;color:#e7e2c4}.fg-rail-row button{height:31px;border:1px solid #78927b;background:#365547;color:#cde9c7;border-radius:3px;font-weight:900}.fg-rail-row button:nth-child(n+5){background:#455f50}.fg-rail-row button.need{color:#243d2c;background:#dce98a}.fg-rail-row button.selected{outline:2px solid #f9c778;outline-offset:-2px;box-shadow:0 0 0 2px #f9c77877}.fg-rail-execute{width:100%;margin:4px 0 16px;background:#b79758;border-color:#856d41;color:#14261d}.fg-rail-execute:hover:not(:disabled){background:#e1bd74;color:#14261d}.fg-rail-plan{display:grid;gap:5px;border-top:1px solid #c5cbb8;padding-top:13px}.fg-rail-plan>strong{font-size:.79rem;margin-bottom:4px}.fg-rail-plan button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;background:#eef2e5;border:1px solid #c4d0b9;border-radius:4px;padding:9px;font-size:.73rem}.fg-rail-plan button:hover{border-color:#8cae57;background:#f8fce8}.fg-rail-plan button b{color:#466044}.fg-rail-plan p{font-size:.74rem;color:#637161}@media(max-width:700px){.fg-rail-story{padding:13px}.fg-rail-control{flex-wrap:wrap}.fg-rail-coord{width:100%}.fg-rail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fg-rail-row button[data-risk=dry]{background:#92744d;color:#fff1cb}.fg-rail-row button[data-risk=poor]{background:#8d8958;color:#fff5c6}.fg-rail-row button[data-risk=weeds]{background:#758f53;color:#f2ffd2}.fg-rail-row button[data-risk=healthy]{background:#456e53;color:#d7efce}.fg-rail-row button.need{box-shadow:inset 0 0 0 2px #ebdf91}.fg-rail-row button.selected{outline:3px solid #ffe0a0;outline-offset:-3px}.fg-rail-cell-data{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#e4e9d7;border:1px solid #bec9ad;border-radius:4px;padding:8px;margin:8px 0 12px}.fg-rail-cell-data span{grid-column:1/-1;color:#526851;font-size:.61rem;font-weight:850;letter-spacing:.08em}.fg-rail-cell-data strong{font-size:.68rem}.fg-method-grid{grid-template-columns:repeat(5,1fr)}@media(max-width:1080px){.fg-method-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.fg-method-grid{grid-template-columns:1fr}}
@media(max-width:700px){.fg-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 5px;overflow:visible}.fg-tabs button{white-space:normal;line-height:1.15;font-size:.63rem;padding:10px 2px;min-height:44px}}
.fg-rail-feature{background:#142820;color:#f8f4df;padding:88px 0;border-top:1px solid #b3a375}.fg-rail-feature-grid{display:grid;grid-template-columns:minmax(330px,.74fr) minmax(0,1.26fr);align-items:center;gap:clamp(30px,5vw,80px)}.fg-rail-feature-copy .fg-eyebrow{color:#cde17f}.fg-rail-feature h2{font-size:clamp(2.7rem,5vw,5.9rem);line-height:.99;letter-spacing:-.06em;margin:14px 0 27px}.fg-rail-feature h2 em{font-style:normal;color:#d9ef75}.fg-rail-feature-copy>p:not(.fg-eyebrow){font-size:.99rem;line-height:1.65;color:#d3dfcd;max-width:610px}.fg-rail-feature-steps{display:grid;gap:0;margin:24px 0 30px;border-top:1px solid #d9e9b13d}.fg-rail-feature-steps>div{display:flex;align-items:start;gap:15px;padding:13px 0;border-bottom:1px solid #d9e9b13d;font-size:.8rem;line-height:1.5;color:#e5eedc}.fg-rail-feature-steps b{color:#d9ef75;font-size:.71rem;letter-spacing:.12em}.fg-rail-feature figure{margin:0;min-width:0}.fg-rail-feature img{width:100%;height:auto;display:block;border-radius:7px;border:1px solid #e1d0946b;box-shadow:0 22px 70px #0006}.fg-rail-feature figcaption{font-size:.72rem;color:#b8c9b7;margin-top:11px;line-height:1.4}@media(max-width:1080px){.fg-rail-feature-grid{grid-template-columns:1fr}.fg-rail-feature{padding:65px 0}.fg-rail-feature h2{max-width:750px}.fg-rail-feature figure{max-width:900px}}@media(max-width:700px){.fg-rail-feature{padding:50px 0}.fg-rail-feature h2{font-size:clamp(2.7rem,11vw,4.6rem)}.fg-rail-feature-copy>p:not(.fg-eyebrow){font-size:.88rem}}
.fg-rail-feature-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.fg-rail-feature h2{font-size:clamp(2.7rem,4.4vw,5rem)}@media(max-width:1080px){.fg-rail-feature-grid{grid-template-columns:1fr}}@media(max-width:700px){.fg-rail-feature h2{font-size:clamp(2.7rem,11vw,4.6rem)}}

body.fg-stage{overflow:hidden}
body.fg-stage .site-header,body.fg-stage .site-footer,body.fg-stage .fg-hero,body.fg-stage .fg-rail-feature,body.fg-stage .fg-method,body.fg-stage .noise,body.fg-stage .skip-link{display:none!important}
body.fg-stage #jeu{position:fixed;inset:0;z-index:80;margin:0;padding:0;background:#07110e;overflow:hidden}
body.fg-stage:not(.fg-playing) #jeu{overflow:hidden}
body.fg-stage:not(.fg-playing) #jeu>.container{overflow:hidden;height:100%;min-height:0}
body.fg-stage #jeu>.container{width:100%;max-width:none;height:100%;margin:0;position:relative}
body.fg-stage .fg-game-title{display:none}
body.fg-stage.fg-playing .fg-game-title{display:flex;position:absolute;z-index:12;top:12px;right:12px;margin:0;width:168px;pointer-events:none}
body.fg-stage.fg-playing .fg-game-title>div:first-child{display:none}
body.fg-stage.fg-playing .fg-game-top-actions{pointer-events:auto;display:flex;flex-direction:column;gap:6px;width:100%}
body.fg-stage.fg-playing .fg-game-top-actions button{background:#0c1814c7;color:#f4ecd4;border:1px solid #d9ef7559;border-radius:999px;backdrop-filter:blur(8px);font-size:.72rem;padding:7px 10px}
body.fg-stage #fg-setup,body.fg-stage #fg-live{position:absolute;inset:0}
body.fg-stage #fg-setup{display:grid;align-content:start;justify-items:center;gap:10px;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:24px 20px 56px;border:0;border-radius:0;box-shadow:none;color:#f7f3e8;background:linear-gradient(180deg,#060e0b73,#060e0bd1),url('/assets/farm-photo.jpg') center 42%/cover}
body.fg-stage #fg-setup h3{font-size:clamp(1.9rem,3.4vw,3rem);margin:4px 0 8px}
body.fg-stage #fg-setup .fg-setup-grid{margin-top:8px;gap:18px}
body.fg-stage .fg-choice{min-height:78px;padding:8px;margin-bottom:8px}
body.fg-stage .fg-choice img{width:96px;height:72px;object-fit:cover}
body.fg-stage #fg-setup .fg-setup-head,body.fg-stage #fg-setup .fg-setup-grid,body.fg-stage #fg-setup .fg-setup-footer{width:min(1080px,100%)}
body.fg-stage #fg-setup .fg-overline,body.fg-stage #fg-setup legend{color:#d9ef75}
body.fg-stage #fg-setup h3,body.fg-stage #fg-setup strong{color:#fff}
body.fg-stage #fg-setup p,body.fg-stage #fg-setup small,body.fg-stage #fg-setup b,body.fg-stage #fg-setup label{color:#e7f0e2}
body.fg-stage #fg-setup legend{font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
body.fg-stage .fg-choice{background:#0c1614b8;color:#fff;border:2px solid #ffffff1f;backdrop-filter:blur(8px);border-radius:16px}
body.fg-stage .fg-choice:hover{transform:translateY(-3px)}
body.fg-stage .fg-choice:has(input:checked){border-color:#d9ef75;background:#1c3428e6;box-shadow:0 0 0 4px #d9ef7540}
body.fg-stage .fg-choice input{opacity:0;pointer-events:none}
body.fg-stage #fg-setup .fg-setup-footer{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:8px}
body.fg-stage #fg-setup .fg-setup-footer label{display:grid;gap:6px;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.fg-stage #fg-farm-name{min-width:min(100%,280px);background:#00000059;color:#fff;border:1px solid #d9ef7573;border-radius:12px;padding:12px 14px;font:inherit}
body.fg-stage #fg-start{min-height:54px;padding:0 22px;border:0;border-radius:999px;background:#d9ef75;color:#173126;font-weight:800}
body.fg-stage [data-leave]{color:#d9ef75;font-size:.82rem;font-weight:700;align-self:center}
body.fg-stage.fg-playing #fg-live{display:block;height:100%;border:0;border-radius:0;background:#07110e}
body.fg-stage.fg-playing #fg-live .fg-main-grid{display:block;height:100%;min-height:0}
body.fg-stage.fg-playing #fg-live .fg-world-column{position:relative;height:100%}
body.fg-stage.fg-playing #fg-live .fg-world{position:absolute;inset:0;min-height:0;height:auto}
body.fg-stage.fg-playing #fg-live .fg-world canvas{width:100%;height:100%;min-height:0}
body.fg-stage.fg-playing .fg-hud{position:absolute;z-index:7;top:10px;left:12px;right:188px;padding:8px 12px;border:1px solid #ffffff24;border-radius:12px;background:#0a1410d4;backdrop-filter:blur(14px);pointer-events:none;display:grid;gap:6px;box-shadow:0 10px 28px #0006}
body.fg-stage.fg-playing .fg-hud-brand{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px}
body.fg-stage.fg-playing .fg-hud-metrics{margin:0;gap:10px 14px}
body.fg-stage.fg-playing .fg-hud-metrics>div{padding-left:10px}
body.fg-stage.fg-playing .fg-hud-metrics strong{font-size:.92rem}
body.fg-stage.fg-playing .fg-world-top{position:absolute;z-index:5;left:14px;bottom:118px;max-width:280px;padding:8px 12px;border:0;border-radius:12px;background:#0c18148c;pointer-events:none}
body.fg-stage.fg-playing .fg-world-overlay{display:none}
body.fg-stage.fg-playing .fg-resource-grid{position:absolute;z-index:6;left:12px;right:188px;top:auto;bottom:auto;margin:0;gap:5px;background:transparent;border:0;grid-template-columns:repeat(6,minmax(0,1fr));pointer-events:none;display:grid;inset:auto;transform:none}
body.fg-stage.fg-playing .fg-hud .fg-resource-grid,body.fg-stage.fg-playing #fg-resources.fg-in-hud{position:static;inset:auto;right:auto;left:auto;width:100%;margin-top:2px}
body.fg-stage.fg-playing .fg-resource{background:#0c1814b8;border-radius:7px;padding:4px 7px;backdrop-filter:blur(8px)}
body.fg-stage.fg-playing .fg-resource span{font-size:.58rem}
body.fg-stage.fg-playing .fg-resource strong{font-size:.72rem}
body.fg-stage.fg-playing .fg-dock{position:absolute;z-index:6;left:12px;right:12px;bottom:10px;display:grid;gap:8px}
body.fg-stage.fg-playing #fg-instruction{margin:0 auto;max-width:820px;background:#0c1814c2;color:#f4efe2;border-left:3px solid #d9ef75;border-radius:10px;padding:8px 12px;font-size:.84rem;line-height:1.4}
body.fg-stage.fg-playing .fg-dock-buttons{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
body.fg-stage.fg-playing .fg-dock button{flex:0 0 auto;min-height:46px;padding:10px 14px;border-radius:999px;border:1px solid #d9ef7573;background:#101c18d1;color:#f6f3e6;font-size:.78rem;font-weight:800}
body.fg-stage.fg-playing .fg-dock button:hover:not(:disabled){background:#244232}
body.fg-stage.fg-playing .fg-dock button.fg-hint{background:#d9ef75;color:#173126;border-color:#d9ef75}
body.fg-stage.fg-playing .fg-mini-map{right:14px;bottom:112px}
body.fg-stage.fg-playing #fg-scene-reset{top:118px}
body.fg-stage.fg-playing #fg-scene-aerial{top:118px;left:132px}
body.fg-stage.fg-playing #fg-scene-fullscreen{top:118px;left:248px}
body.fg-stage.fg-playing .fg-scene-status{top:158px}
body.fg-stage.fg-playing .fg-sidebar{position:absolute;z-index:8;top:78px;right:14px;bottom:108px;width:min(420px,calc(100% - 28px));display:flex;transform:translateX(115%);transition:transform .28s ease;border:1px solid #d9ef7540;border-radius:16px;background:#0e1a16e6;color:#f4efe2;backdrop-filter:blur(16px);overflow:auto}
body.fg-stage.fg-playing #fg-live.fg-panel-open .fg-sidebar{transform:none}
body.fg-stage.fg-playing .fg-sidebar-header,body.fg-stage.fg-playing .fg-sidebar-footer{background:transparent;color:#f4efe2;border-color:#ffffff1f}
body.fg-stage.fg-playing .fg-sidebar-header{position:sticky;top:0;z-index:1;background:#0e1a16f2;padding:12px 14px}
body.fg-stage.fg-playing .fg-sidebar-header-actions{display:flex;gap:8px}
body.fg-stage.fg-playing .fg-sidebar .fg-overline{color:#d9ef75}
body.fg-stage.fg-playing .fg-sidebar h3,body.fg-stage.fg-playing .fg-sidebar h4,body.fg-stage.fg-playing .fg-sidebar p,body.fg-stage.fg-playing .fg-sidebar small,body.fg-stage.fg-playing .fg-sidebar strong,body.fg-stage.fg-playing .fg-sidebar label,body.fg-stage.fg-playing .fg-sidebar li{color:#f3efe4}
body.fg-stage.fg-playing .fg-sidebar-header button,body.fg-stage.fg-playing .fg-product button,body.fg-stage.fg-playing .fg-tech button,body.fg-stage.fg-playing .fg-lot button,body.fg-stage.fg-playing .fg-stock button,body.fg-stage.fg-playing .fg-supply button,body.fg-stage.fg-playing .fg-alert button{background:#d9ef75;color:#173126;border:0;border-radius:999px;box-shadow:none;font-weight:800}
body.fg-stage.fg-playing .fg-tabs{border-color:#ffffff1f;position:sticky;top:58px;z-index:1;background:#0e1a16f2}
body.fg-stage.fg-playing .fg-tabs button{color:#d5e0d4;background:transparent;border-radius:999px}
body.fg-stage.fg-playing .fg-tabs button.active{background:#d9ef75;color:#173126}
body.fg-stage.fg-playing .fg-task-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.fg-stage.fg-playing .fg-product,body.fg-stage.fg-playing .fg-tech,body.fg-stage.fg-playing .fg-lot,body.fg-stage.fg-playing .fg-stock,body.fg-stage.fg-playing .fg-task-grid button,body.fg-stage.fg-playing .fg-rail-invest,body.fg-stage.fg-playing .fg-rail-metrics div,body.fg-stage.fg-playing .fg-rail-plan button,body.fg-stage.fg-playing .fg-rail-cell-data,body.fg-stage.fg-playing .fg-alert{background:#ffffff10;color:#f3efe4;border-color:#d9ef7547}
body.fg-stage.fg-playing .fg-task-grid button{min-height:74px;text-align:left;border-radius:12px}
body.fg-stage.fg-playing .fg-rail-control select{background:#00000059;color:#fff;border:1px solid #d9ef7573;border-radius:10px}
body.fg-stage.fg-playing .fg-bottom-grid,body.fg-stage.fg-playing .fg-lab-link{display:none}
body.fg-stage.fg-playing #fg-live.fg-dossier .fg-bottom-grid{display:grid;position:absolute;z-index:8;left:12px;right:12px;bottom:108px;max-height:46vh;overflow:auto;gap:10px;padding:12px;border-radius:14px;background:#0e1a16f0;grid-template-columns:repeat(3,minmax(0,1fr))}
body.fg-stage.fg-playing #fg-live.fg-dossier .fg-panel{background:#ffffff10;color:#f4efe2;border-radius:12px;padding:12px}
body.fg-stage.fg-playing #fg-live.fg-dossier .fg-panel h3,body.fg-stage.fg-playing #fg-live.fg-dossier .fg-panel p,body.fg-stage.fg-playing #fg-live.fg-dossier .fg-panel li,body.fg-stage.fg-playing #fg-live.fg-dossier .fg-panel strong{color:#f4efe2}
@media(max-width:800px){
body.fg-stage.fg-playing .fg-hud{right:12px}
body.fg-stage.fg-playing .fg-resource-grid{right:12px;top:118px;grid-template-columns:repeat(3,minmax(0,1fr))}
body.fg-stage.fg-playing .fg-sidebar{top:auto;left:8px;right:8px;bottom:96px;width:auto;height:min(62vh,560px);transform:translateY(120%)}
body.fg-stage.fg-playing #fg-live.fg-panel-open .fg-sidebar{transform:none}
body.fg-stage.fg-playing .fg-mini-map{width:92px;bottom:108px}
body.fg-stage.fg-playing .fg-mini-map canvas{width:84px;height:84px}
body.fg-stage.fg-playing #fg-scene-aerial{left:108px}
body.fg-stage.fg-playing #fg-scene-fullscreen{left:196px}
body.fg-stage.fg-playing #fg-live.fg-dossier .fg-bottom-grid{grid-template-columns:1fr}
body.fg-stage .fg-setup-grid{grid-template-columns:1fr}
body.fg-stage.fg-playing .fg-game-title{top:auto;bottom:168px;right:8px}
}
body.fg-stage.fg-playing .fg-resource.fg-rupture{outline:1px solid #e07a62;background:#3a1814e6}
body.fg-stage.fg-playing .fg-resource.fg-rupture span,body.fg-stage.fg-playing .fg-resource.fg-rupture strong{color:#ffd0c4}
.fg-rupture-list{margin:0 0 10px;padding:8px 10px;border-radius:8px;background:#3a1814aa;color:#ffd7cc}
.fg-rupture-list ul{margin:6px 0 0;padding-left:16px}
.fg-fiche{margin-top:8px;font-size:.86rem;line-height:1.45}
.fg-fiche summary{cursor:pointer;font-weight:750}
.fg-fiche ul{margin:6px 0;padding-left:16px}
.fg-fiche-note{opacity:.85;font-size:.8rem}
.fg-loan{display:grid;gap:10px}
.fg-loan article,.fg-loan-offer{padding:10px 12px;border:1px solid #d9ef7547;border-radius:8px}
.fg-loan-offer small{display:block;margin-top:3px;opacity:.8}
@media(max-width:700px){body.fg-stage .fg-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
body.fg-stage.fg-playing #fg-evolution{display:block;margin-top:4px;color:#d9ef75;font-size:.68rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
body.fg-stage.fg-playing .fg-dock-buttons button{transition:transform .18s ease,background .18s ease}
body.fg-stage.fg-playing .fg-dock-buttons button:hover{transform:translateY(-2px)}
body.fg-stage.fg-playing .fg-resource i{transition:width .45s ease}


/* Depth systems */
.fg-depth-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}
.fg-chip{display:inline-block;padding:4px 9px;font:700 10px/1.2 system-ui,sans-serif;letter-spacing:.06em;border-radius:999px;background:#1e3330;color:#d7e6d4}
.fg-chip-warn{background:#3a2e12;color:#f0d48a}
.fg-chip-danger{background:#3a1818;color:#f0a8a8}
.fg-chip-good{background:#1a3224;color:#b7e0c0}
.fg-care-grid{display:grid;gap:12px;margin:12px 0 22px}
.fg-care-card{background:#15251f;border:1px solid #2c463c;padding:16px 18px}
.fg-care-card strong{display:block;font-size:16px;margin-bottom:8px}
.fg-care-card p{font-size:13px;color:#9db0a6;line-height:1.55;margin:0 0 10px}
.fg-care-mix{font-size:12px!important;color:#c5d9b8!important}
.fg-care-prog{display:grid;gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid #2c463c}
.fg-care-ok{color:#9fd6a8!important}
.fg-epidemic,.fg-threats{background:#2a2214;border:1px solid #5a4a22;padding:14px 16px;margin-bottom:16px}
.fg-epidemic strong,.fg-threats strong{display:block;color:#f0d48a;margin-bottom:8px}
.fg-epidemic p,.fg-threats li{font-size:13px;color:#d8c9a0;line-height:1.55}
.fg-care-footnote{font-size:12px;color:#7f958a;margin-top:18px}
.fg-stock p{font-size:12px;color:#8aa094;margin:4px 0 0}

.fg-farmer-bubble{position:absolute;left:0;top:0;z-index:6;pointer-events:none;display:flex;align-items:center;gap:8px;padding:7px 10px 7px 12px;background:#10261ee8;border:1px solid #d9ef7588;border-radius:999px;box-shadow:0 10px 24px #0a16108f;backdrop-filter:blur(10px);white-space:nowrap;transform:translate(-50%,-120%);will-change:transform}
.fg-farmer-bubble[hidden]{display:none!important}
.fg-farmer-bubble-label{font-size:.72rem;font-weight:700;color:#f4efd8;letter-spacing:.02em}
.fg-farmer-bubble-key{display:inline-grid;place-items:center;min-width:1.55rem;height:1.55rem;padding:0 6px;border-radius:7px;background:#d9ef75;color:#173126;font-size:.78rem;font-weight:850;border:1px solid #f0f7b8;box-shadow:0 2px 0 #8ea63a}
body.fg-stage.fg-playing .fg-world-overlay span:nth-child(3){display:none}

/* Interior building + puzzle bonus */
.fg-interior-panel{position:absolute;z-index:9;left:14px;top:158px;width:min(340px,calc(100% - 28px));max-height:min(52vh,420px);overflow:auto;padding:12px 14px;border-radius:14px;border:1px solid #d9ef7570;background:#0d1a14f0;color:#f4efe2;backdrop-filter:blur(16px);box-shadow:0 16px 36px #0007;display:grid;gap:10px}
.fg-interior-panel[hidden]{display:none!important}
.fg-interior-panel header{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fg-interior-panel header strong{font-size:.92rem}
.fg-interior-panel header button{border:1px solid #d9ef7566;background:#173126;color:#eaf8d6;border-radius:8px;padding:6px 10px;font-size:.72rem;font-weight:800}
.fg-interior-panel .fg-int-section{display:grid;gap:6px}
.fg-interior-panel .fg-int-section span{font-size:.61rem;letter-spacing:.12em;font-weight:850;color:#d9ef75;text-transform:uppercase}
.fg-interior-panel .fg-int-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 8px;background:#ffffff0d;border-radius:8px;font-size:.78rem}
.fg-interior-panel .fg-int-row button{border:0;background:#d9ef75;color:#173126;border-radius:6px;padding:5px 8px;font-size:.68rem;font-weight:850}
.fg-interior-panel .fg-int-row button:disabled{opacity:.4}
.fg-puzzle-fx{position:absolute;inset:0;z-index:12;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#1a3a288f,#07110ef2 70%);backdrop-filter:blur(6px);pointer-events:auto}
.fg-puzzle-fx[hidden]{display:none!important}
.fg-puzzle-card{width:min(440px,calc(100% - 36px));padding:18px 18px 16px;border-radius:18px;border:1px solid #d9ef7588;background:linear-gradient(160deg,#142820f5,#0c1814f0);color:#f6f1e2;box-shadow:0 0 0 1px #fff1,0 24px 60px #000a,0 0 80px #d9ef7533;animation:fgPuzzleIn .45s ease}
.fg-puzzle-card h3{margin:0 0 6px;font-size:1.05rem}
.fg-puzzle-card p{margin:0 0 14px;font-size:.86rem;line-height:1.45;color:#d7e5d4}
.fg-puzzle-opts{display:grid;gap:8px}
.fg-puzzle-opts button{text-align:left;border:1px solid #ffffff2a;background:#ffffff12;color:#f4efe2;border-radius:10px;padding:11px 12px;font-size:.84rem;font-weight:650;transition:transform .15s,background .15s,border-color .15s}
.fg-puzzle-opts button:hover{background:#d9ef7528;border-color:#d9ef75;transform:translateY(-1px)}
.fg-puzzle-opts button.correct{background:#2f6b3e;border-color:#9be28a}
.fg-puzzle-opts button.wrong{background:#6b2f2f;border-color:#e28a8a}
.fg-puzzle-bonus{margin-top:12px;font-size:.9rem;font-weight:800;color:#d9ef75;min-height:1.2em}
.fg-puzzle-fx .fg-puzzle-orbs{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.fg-puzzle-fx .fg-puzzle-orb{position:absolute;width:10px;height:10px;border-radius:50%;background:#d9ef75;opacity:.7;animation:fgOrb 2.4s ease-in-out infinite}
@keyframes fgPuzzleIn{from{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}
@keyframes fgOrb{0%,100%{transform:translateY(0) scale(1);opacity:.35}50%{transform:translateY(-28px) scale(1.35);opacity:.95}}
body.fg-stage.fg-playing.fg-interior .fg-dock{opacity:.35;pointer-events:none}
body.fg-stage.fg-playing.fg-interior .fg-farmer-bubble{display:none!important}
@media(max-width:700px){
  body.fg-stage.fg-playing .fg-hud{right:12px;top:8px}
  body.fg-stage.fg-playing #fg-scene-reset{top:auto;bottom:210px}
  body.fg-stage.fg-playing #fg-scene-aerial{top:auto;bottom:210px}
  body.fg-stage.fg-playing #fg-scene-fullscreen{top:auto;bottom:210px}
  body.fg-stage.fg-playing .fg-scene-status{top:auto;bottom:252px}
  .fg-interior-panel{top:auto;bottom:168px;max-height:38vh}
}

.fg-puzzle-card.fg-lesson-doc{width:min(640px,calc(100% - 28px));max-height:min(86vh,720px);overflow:auto;padding:0;border-radius:16px}
.fg-lesson-head{padding:14px 16px 12px;border-bottom:1px solid #d9ef7533;background:linear-gradient(90deg,#1a3328,#12241c)}
.fg-lesson-head span{display:block;font-size:.62rem;letter-spacing:.16em;font-weight:850;color:#d9ef75}
.fg-lesson-head strong{display:block;margin-top:4px;font-size:1.05rem;line-height:1.3;color:#fff8e8}
.fg-lesson-head small{display:block;margin-top:4px;font-size:.72rem;color:#b9cbb8}
.fg-lesson-body{padding:12px 16px 16px;display:grid;gap:12px}
.fg-lesson-docblock h4,.fg-lesson-form h4{margin:0 0 8px;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#d9ef75}
.fg-lesson-docblock p{margin:0 0 8px;font-size:.8rem;line-height:1.48;color:#dce8da}
.fg-lesson-facts{margin:8px 0 10px;padding-left:16px;display:grid;gap:6px}
.fg-lesson-facts li{font-size:.76rem;line-height:1.4;color:#e8f0e4}
.fg-lesson-facts strong{color:#d9ef75;margin-right:4px}
.fg-lesson-source{display:inline-block;margin-top:4px;font-size:.72rem;font-weight:750;color:#9fe3ef}
.fg-lesson-form{display:grid;gap:10px;padding:10px;border-radius:12px;background:#ffffff0c;border:1px solid #ffffff18}
.fg-lesson-field{margin:0;padding:8px 10px;border:1px solid #ffffff22;border-radius:10px}
.fg-lesson-field legend{padding:0 4px;font-size:.78rem;font-weight:750;color:#f3ecda}
.fg-lesson-opt,.fg-lesson-check{display:flex;gap:8px;align-items:flex-start;margin:6px 0;font-size:.78rem;line-height:1.35;color:#e6efe3;cursor:pointer}
.fg-lesson-opt input,.fg-lesson-check input{margin-top:3px;accent-color:#d9ef75}
.fg-lesson-field.fg-lesson-wrong,.fg-lesson-check.fg-lesson-wrong{border-color:#e28a8a;background:#6b2f2f33}
.fg-lesson-disclaimer{margin:0;font-size:.68rem;line-height:1.4;color:#a8b8a6}
.fg-lesson-actions{display:flex;flex-wrap:wrap;gap:8px}
.fg-lesson-submit{border:0;background:#d9ef75;color:#173126;border-radius:9px;padding:10px 14px;font-size:.82rem;font-weight:850}
.fg-lesson-close{border:1px solid #ffffff33;background:transparent;color:#e8f0e4;border-radius:9px;padding:10px 12px;font-size:.78rem;font-weight:750}
.fg-puzzle-bonus p{margin:6px 0 0;font-size:.78rem;font-weight:550;color:#d7e5d4;line-height:1.4}
@media(max-width:700px){.fg-puzzle-card.fg-lesson-doc{width:calc(100% - 16px);max-height:78vh}}

.fg-selected-lot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:8px 10px;border-radius:10px;background:#d9ef751a;border:1px solid #d9ef7555}
.fg-selected-lot span{font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;font-weight:850;color:#d9ef75}
.fg-selected-lot strong{font-size:.84rem;color:#f4efe2}
.fg-alert.alert,.fg-alert.warn{border-left-color:#ff9d79}
body.fg-stage.fg-playing .fg-sidebar-footer{display:grid;gap:6px}
.fg-world-fallback{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:28px 24px;color:#f3efe2;background:#0d1a16e8;z-index:4}.fg-world-fallback strong{font-size:1.05rem}.fg-world-fallback .fg-webgl-help{margin:0;padding-left:1.2rem;line-height:1.45;opacity:.92;font-size:.86rem}.fg-world-fallback kbd,.fg-world-fallback code{font-size:.8em;background:#1a2c26;padding:.1em .35em;border-radius:4px}.fg-world-fallback .fg-webgl-detail{opacity:.55;font-size:.72rem;margin:0}.fg-world-fallback #fg-webgl-retry{align-self:flex-start;margin-top:4px}.fg-world-fallback--banner{position:absolute;left:12px;right:12px;top:12px;bottom:auto;z-index:6;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 14px;border-radius:10px;background:#0d1a16d8;pointer-events:auto}.fg-world-fallback--banner span{flex:1;min-width:180px;font-size:.8rem;opacity:.9}.fg-world-fallback--banner #fg-webgl-retry{margin:0;padding:8px 12px;font-size:.78rem}

/* Équipe, programmes, tenues */
.fg-crew-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.fg-crew-toolbar button{border:0;border-radius:8px;background:#244b39;color:#f5f7de;font-weight:850;font-size:.76rem;padding:10px 12px}
.fg-crew-toolbar button:hover:not(:disabled){background:#356a4d}
.fg-crew-toolbar small{font-size:.7rem;color:#657766}
.fg-crew-grid{display:grid;gap:10px}
.fg-crew-card{background:#fff;border:1px solid #d5e0ce;border-radius:10px;padding:12px;display:grid;gap:8px}
.fg-crew-card>header{display:flex;align-items:center;gap:10px}
.fg-crew-card>header>div{flex:1;display:grid;gap:2px}
.fg-crew-card>header strong{font-size:.88rem}
.fg-crew-card>header small{font-size:.68rem;color:#6a7a6c}
.fg-crew-swatch{width:28px;height:28px;border-radius:7px;border:2px solid #fff;box-shadow:0 0 0 1px #c5d0bc;flex:none}
.fg-crew-swatch[data-outfit="0"],.fg-crew-card[data-outfit="0"]{--fit:#3a6b52}
.fg-crew-swatch[data-outfit="1"],.fg-crew-card[data-outfit="1"]{--fit:#345a8c}
.fg-crew-swatch[data-outfit="2"],.fg-crew-card[data-outfit="2"]{--fit:#a85a3a}
.fg-crew-swatch[data-outfit="3"],.fg-crew-card[data-outfit="3"]{--fit:#c9a03a}
.fg-crew-swatch[data-outfit="4"],.fg-crew-card[data-outfit="4"]{--fit:#7a2e44}
.fg-crew-swatch[data-outfit="5"],.fg-crew-card[data-outfit="5"]{--fit:#4a8aa8}
.fg-crew-swatch[data-outfit="6"],.fg-crew-card[data-outfit="6"]{--fit:#3a8a6a}
.fg-crew-swatch[data-outfit="7"],.fg-crew-card[data-outfit="7"]{--fit:#5a6270}
.fg-crew-swatch{background:var(--fit,#3a6b52)}
.fg-crew-card[data-outfit]{border-left:4px solid var(--fit,#3a6b52)}
.fg-crew-program{margin:0;padding-left:18px;font-size:.74rem;line-height:1.4;color:#405248;max-height:110px;overflow:auto}
.fg-crew-program .fg-empty{list-style:none;margin-left:-18px;color:#718373}
.fg-crew-add{display:grid;grid-template-columns:1fr 1fr auto;gap:6px}
.fg-crew-add select{min-width:0;padding:7px;border-radius:6px;border:1px solid #b7c5b0;font:inherit;font-size:.72rem;background:#fff}
.fg-crew-add button,.fg-crew-actions button{border:0;border-radius:7px;background:#dcef83;color:#273e23;font-weight:800;font-size:.72rem;padding:8px 10px}
.fg-crew-actions{display:flex;gap:6px;flex-wrap:wrap}
.fg-crew-card header button{border:1px solid #b7c5b0;background:#f3f6ec;border-radius:999px;font-size:.65rem;font-weight:850;padding:6px 9px;color:#3a5242}
.fg-crew-card header button.on{background:#244b39;color:#eef6d4;border-color:#244b39}
.fg-sale-run{background:#e8f3d4;border:1px solid #b6c98a;border-radius:9px;padding:12px;margin:0 0 12px}
.fg-sale-run strong{display:block;font-size:.86rem;margin-bottom:4px}
.fg-sale-run p{margin:0;font-size:.76rem;color:#4d6352}

.fg-crew-card.selected{box-shadow:0 0 0 2px #244b39,0 8px 18px #244b3922;background:#f7fbea}
.fg-crew-card.selected>header strong{color:#1e3d2a}
.fg-stick{position:absolute;left:12px;bottom:72px;z-index:6;display:grid;grid-template-columns:repeat(2,44px);gap:6px}
.fg-stick button{min-height:44px;border:0;border-radius:10px;background:#1c2a22cc;color:#f4f7ea;font-size:16px;touch-action:none}
/* Saved games */
.fg-open-saves{margin-top:14px;padding:11px 16px;border:1px solid #9eb77b;border-radius:10px;background:#eaf3d8;color:#173b29;font-weight:800;cursor:pointer}
body.fg-stage .fg-open-saves{background:#d9ef75;color:#173020}
#fg-saves-dialog{width:min(720px,calc(100vw - 28px));max-height:min(80vh,760px);padding:0;border:1px solid #a8bb9d;border-radius:20px;background:#f7f7ef;color:#173126;box-shadow:0 28px 100px #0008;font:inherit}
#fg-saves-dialog::backdrop{background:#06110dba}
.fg-saves-head{display:flex;justify-content:space-between;gap:20px;padding:24px 26px 18px;border-bottom:1px solid #dce5d6}
.fg-saves-head small{color:#648044;font-size:.7rem;font-weight:850;letter-spacing:.14em}
.fg-saves-head h2{margin:3px 0 5px;font-size:2rem;letter-spacing:-.05em}
.fg-saves-head p{margin:0;color:#5b7161;font-size:.85rem;line-height:1.45}
.fg-saves-head button,.fg-save-actions button{align-self:flex-start;padding:9px 13px;border:1px solid #b9cbb4;border-radius:9px;background:#fff;color:#21412c;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer}
#fg-saves-list{display:grid;gap:10px;padding:20px 26px 26px;overflow:auto;max-height:55vh}
.fg-save-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px;border:1px solid #dbe6d5;border-radius:13px;background:#fff}
.fg-save-card>div:first-child{display:grid;gap:5px;min-width:0}
.fg-save-card strong{font-size:1rem;overflow-wrap:anywhere}
.fg-save-card span{font-size:.77rem;color:#607267}
.fg-save-card em{font-size:.7rem;font-weight:800;color:#507c35;font-style:normal}
.fg-save-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.fg-save-actions button:first-child{background:#d9ef75;border-color:#d9ef75}
.fg-save-actions button:last-child{color:#9a3434}
.fg-saves-empty{margin:4px 0;color:#607267}
@media(max-width:600px){.fg-save-card{align-items:stretch;flex-direction:column}.fg-save-actions{justify-content:flex-start}.fg-saves-head{padding:18px}.fg-saves-head h2{font-size:1.55rem}#fg-saves-list{padding:16px}}
