#in-game-editor{position:fixed;inset:0;z-index:20;overflow:auto;padding:30px 42px 20px;background:radial-gradient(ellipse at 70% -15%,#225969 0,transparent 55%),#0b2634;color:#edf6f3;font-family:'DM Sans',system-ui,sans-serif}
body:has(#in-game-editor:not(.hidden)) #preview-status{display:none}
#in-game-editor *{box-sizing:border-box}#in-game-editor .ig-shell{max-width:1536px;margin:auto}#in-game-editor button{font:600 12px/1.3 system-ui;cursor:pointer;transition:background .16s,transform .16s,border-color .16s}#in-game-editor button:focus-visible,#in-game-editor input:focus-visible,#ig-track-map:focus-visible{outline:3px solid #ffd154;outline-offset:4px}#in-game-editor button:disabled{opacity:.4;cursor:default}#in-game-editor button:hover:not(:disabled){filter:brightness(1.12)}#in-game-editor [hidden]{display:none!important}
#in-game-editor .ig-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 25px}#in-game-editor .ig-brand{display:flex;align-items:center;gap:20px}#in-game-editor .ig-brand-mark{font:bold 32px/1 system-ui;font-style:italic;letter-spacing:-3px;color:#ffcf42;border:1px solid #82bbbf65;padding:13px 15px;border-radius:12px}#in-game-editor .ig-brand-mark span{font-size:11px;letter-spacing:0;margin-left:3px}#in-game-editor small{font-size:10px;letter-spacing:2px;color:#88b3bc}#in-game-editor h1{font-size:clamp(18px,2vw,27px);font-weight:500;letter-spacing:-.7px;margin:5px 0}#in-game-editor .ig-header-actions{display:flex;gap:12px}#in-game-editor button{border:1px solid #51818a70;border-radius:7px;background:#214653;color:#e8f2ef;padding:10px 15px}#in-game-editor .ig-header-actions>button:first-child{background:transparent;border-color:transparent;color:#b3cdd1}#in-game-editor button.ig-primary{background:#ffcf49;color:#203940;border-color:#ffcf49;font-weight:750;padding:13px 20px}#in-game-editor .ig-primary span{margin-left:18px}
#in-game-editor .ig-project{display:flex;align-items:center;gap:22px;margin-bottom:20px;padding:13px 17px;background:#173c49;border:1px solid #42728260;border-radius:9px}#in-game-editor .ig-project label{display:flex;align-items:center;gap:14px;color:#8eb9c1;font-size:9px;letter-spacing:1.5px;white-space:nowrap}#in-game-editor #ig-track-name{width:210px;padding:7px 0;background:transparent;border:0;border-bottom:1px solid #6fa0a76b;border-radius:0;color:#f7f3df;font:600 14px system-ui}#in-game-editor .ig-summary{font-size:11px;color:#a3c2c8;flex:1}#in-game-editor .ig-project button{background:#2b5560;border:1px solid #55818a;font-size:11px}
#in-game-editor .ig-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr);gap:22px;align-items:stretch}#in-game-editor .ig-library{position:relative;display:flex;flex-direction:column;min-width:0;padding:28px 26px 18px;background:repeating-linear-gradient(0deg,transparent,transparent 23px,#8bd6e510 24px),repeating-linear-gradient(90deg,transparent,transparent 23px,#8bd6e510 24px),linear-gradient(140deg,#086477,#06435d);border:1px solid #508c98;border-radius:14px;box-shadow:inset 0 0 0 7px #073b521f,0 15px 35px #00172340}#in-game-editor .ig-library:before{content:'';position:absolute;inset:8px;border:1px solid #abdcd225;border-radius:8px;pointer-events:none}#in-game-editor .ig-library-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}#in-game-editor .ig-library h2{font:750 23px/1.2 system-ui;letter-spacing:1.5px;color:#ffcf43;margin:7px 0 0}#in-game-editor .ig-library small{color:#9dcdd1;font-size:8px}#in-game-editor .ig-count{font:10px system-ui;letter-spacing:1px;border:1px solid #b4d9da50;color:#a6d3d9;padding:7px 9px;border-radius:4px}#in-game-editor .ig-hint{color:#b4d4d9;font:11px/1.7 system-ui;min-height:36px;margin:12px 0 21px;max-width:450px}
#in-game-editor .ig-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 13px;align-content:start;flex:1;min-height:290px}#in-game-editor button.ig-card{display:flex;align-items:stretch;flex-direction:column;min-width:0;aspect-ratio:.89;background:#f0f3e8;border:0;border-radius:3px;padding:6px;color:#225064;box-shadow:0 5px 0 #002a3d55;transform:rotate(-.7deg)}#in-game-editor .ig-card:nth-child(even){transform:rotate(.6deg)}#in-game-editor .ig-card:hover:not(:disabled){transform:translateY(-4px) rotate(0);filter:none}#in-game-editor .ig-card[aria-pressed=true]{background:#ffd151;box-shadow:0 0 0 3px #f89a48,0 7px 0 #002a3d55}#in-game-editor .ig-card strong{font:600 clamp(8px,.78vw,12px)/1.25 system-ui;min-height:27px;display:flex;align-items:center;justify-content:center;padding:0 0 5px}#in-game-editor .ig-card img{display:block;min-height:0;width:100%;flex:1;object-fit:contain;background:radial-gradient(ellipse at center,#0e7283,#075268)}#in-game-editor .ig-card small{color:#5f7a7c;font:8px/1.2 system-ui;letter-spacing:0;padding-top:6px;text-align:center}#in-game-editor .ig-empty{grid-column:1/-1;align-self:center;text-align:center;color:#bedbdc;font:14px/1.8 system-ui;max-width:320px;margin:45px auto}
#in-game-editor .ig-categories{display:flex;justify-content:space-around;gap:7px;border-top:1px solid #9cccd239;margin-top:25px;padding-top:20px}#in-game-editor button.ig-category{display:flex;flex-direction:column;align-items:center;gap:10px;background:none;border:0;padding:0;color:#d1e6e5;min-width:0}#in-game-editor .ig-category>span{display:grid;place-items:center;width:clamp(48px,4.9vw,74px);aspect-ratio:1;background:#f5f6e8;border:5px solid #188aa5;border-radius:50%;box-shadow:0 3px 10px #00293844;transition:transform .15s}#in-game-editor .ig-category img{width:75%;height:75%;object-fit:contain}#in-game-editor .ig-category[aria-pressed=true]>span{border-color:#ff7646;transform:translateY(-4px)}#in-game-editor .ig-category strong{font:500 10px system-ui}#in-game-editor .ig-pagination{display:flex;justify-content:center;gap:20px;align-items:center;margin-top:14px;font-size:11px}
#in-game-editor .ig-workspace{padding:20px;background:#163c49;border:1px solid #52818c6b;border-radius:14px;min-width:0}#in-game-editor .ig-map-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}#in-game-editor .ig-map-heading h2{font:500 17px system-ui;margin:6px 0 0;letter-spacing:-.3px}#in-game-editor .ig-map-heading small{font-size:8px}#in-game-editor .ig-map-heading button{padding:6px 9px;font-size:9px}#in-game-editor .ig-active-tool{font:9px/1.4 system-ui;color:#ffd472;letter-spacing:.7px;margin:18px 0 10px}#ig-track-map{display:block;width:100%;height:auto;aspect-ratio:1152/650;border:1px solid #54879480;border-radius:7px;touch-action:none;cursor:crosshair}#in-game-editor .ig-edit-actions{display:flex;gap:6px;margin-top:10px}#in-game-editor .ig-edit-actions button{padding:8px 10px;font-size:10px}#in-game-editor .ig-edit-actions button:first-child{flex:1}#in-game-editor .ig-edit-actions [aria-pressed=true]{border-color:#e0bd62;color:#ffe29b}#in-game-editor .ig-object-controls{display:flex;gap:12px;margin-top:12px}#in-game-editor .ig-object-controls label{display:flex;align-items:center;gap:8px;font-size:10px;min-width:0}#in-game-editor input[type=range]{width:100%;min-width:0;accent-color:#ffcf49}#in-game-editor .ig-preview-heading{display:flex;justify-content:space-between;margin:23px 0 9px;color:#a1c1c5;font-size:8px;letter-spacing:1.6px}#in-game-editor .ig-preview-heading span:last-child{letter-spacing:0;color:#dae7d6}#in-game-editor .ig-preview{height:156px;overflow:hidden;border-radius:7px;background:#dcebe7}#in-game-editor .ig-preview canvas{display:block;width:100%;height:100%}#in-game-editor .ig-controls-help{color:#86abb5;font:9px/1.5 system-ui;margin:11px 0 0;text-align:center}
#in-game-editor .ig-footer{display:flex;align-items:center;gap:20px;margin-top:17px;padding:0 4px}#in-game-editor output{display:block;flex:1;color:#b5d6cd;font:11px/1.6 system-ui}#in-game-editor output:before{content:'●';color:#8aceb1;margin-right:10px}#in-game-editor output.ig-warning{color:#ffcd8f}#in-game-editor .ig-warning:before{color:#ffbd72}#in-game-editor .ig-footer button{background:none;border:0;color:#a6c4ca;font-size:11px;white-space:nowrap}body.xr #in-game-editor{display:none!important}
@media(min-width:1500px){#in-game-editor .ig-cards{gap:25px 18px}#in-game-editor .ig-preview{height:190px}}
@media(max-width:1080px){#in-game-editor{padding:20px}#in-game-editor .ig-layout{grid-template-columns:minmax(0,1fr) 340px;gap:15px}#in-game-editor .ig-library{padding:24px 19px 18px}#in-game-editor .ig-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}#in-game-editor .ig-card strong{font-size:10px}#in-game-editor .ig-library h2{font-size:19px}}
@media(max-width:760px){#in-game-editor{padding:16px}#in-game-editor .ig-layout{grid-template-columns:1fr}#in-game-editor .ig-header{flex-wrap:wrap;gap:15px}#in-game-editor .ig-brand{gap:12px}#in-game-editor .ig-brand-mark{font-size:25px}#in-game-editor .ig-header-actions{width:100%;justify-content:space-between}#in-game-editor .ig-project{flex-wrap:wrap;gap:10px}#in-game-editor .ig-project label{width:100%}#in-game-editor #ig-track-name{flex:1;min-width:0}#in-game-editor .ig-cards{grid-template-columns:repeat(5,minmax(0,1fr));min-height:0;gap:10px}#in-game-editor .ig-card strong{font-size:9px}#in-game-editor .ig-card small{font-size:7px}#in-game-editor .ig-library{padding:24px 18px 18px}#in-game-editor .ig-category>span{width:52px}#in-game-editor .ig-preview{height:200px}#in-game-editor .ig-footer{align-items:flex-start}}
@media(max-width:480px){#in-game-editor .ig-cards{grid-template-columns:repeat(3,minmax(0,1fr))}#in-game-editor .ig-card strong{font-size:10px}#in-game-editor .ig-category>span{width:44px;border-width:4px}#in-game-editor .ig-category strong{font-size:8px}#in-game-editor .ig-header h1{font-size:18px}#in-game-editor .ig-brand-mark{display:none}}
#in-game-editor .ig-ground{position:relative;height:400px;border:1px solid #719f9e;border-radius:9px;overflow:hidden;background:#c5dce0;touch-action:none}#in-game-editor .ig-ground canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}#in-game-editor .ig-empty-ground{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none;font:700 19px/1.8 system-ui;color:#184f4e;text-shadow:0 1px 8px #eaf6d8}#in-game-editor .ig-empty-ground span{font-size:12px;font-weight:500}#in-game-editor .ig-placement{min-height:38px;padding:12px 0 0;color:#b3e9d2;font:11px/1.5 system-ui}#in-game-editor .ig-placement.ig-warning{color:#ffc595}#in-game-editor .ig-history{display:flex;gap:6px;margin-top:8px}#in-game-editor .ig-history button{font-size:10px;padding:8px 10px;flex:1}#in-game-editor .ig-validation{padding-top:14px;color:#b5d6cd;font-size:11px}#in-game-editor .ig-validation.ig-warning{color:#e3c69f}#in-game-editor .ig-tractor{background:#cf9e28;color:#183d43;border-color:#f6c63b}#in-game-editor .ig-tractor[aria-pressed=true]{background:#ffcb44;box-shadow:0 0 0 2px #ff8152}#in-game-editor .ig-edit-actions button:first-child{flex:initial}#in-game-editor .ig-edit-actions button{flex:1}#in-game-editor .ig-feedback{padding:0}
@media(min-width:1081px) and (max-height:850px){#in-game-editor .ig-ground{height:300px}}
@media(max-width:760px){#in-game-editor .ig-ground{height:380px}}
#in-game-editor .ig-water-size[hidden]{display:none}
#in-game-editor .ig-completion{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #72917b80;border-radius:8px;background:#244b4d}
#in-game-editor .ig-completion button{flex-shrink:0;background:#ffcf49;border-color:#ffcf49;color:#203940;font-size:11px;padding:10px 12px}
#in-game-editor .ig-completion span{font:10px/1.5 system-ui;color:#c6dcd4}
#in-game-editor .ig-water-size{padding:12px;margin:0 0 12px;border:1px solid #43898c;border-radius:8px;background:#083e4c}
#in-game-editor .ig-water-size header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:10px;font:10px system-ui;letter-spacing:.04em;color:#c2e5df}
#in-game-editor .ig-water-dimensions{color:#ffda65}
#in-game-editor .ig-water-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
#in-game-editor .ig-water-size button{font-size:10px;padding:7px 5px}
#in-game-editor .ig-water-size label{display:grid;grid-template-columns:105px 1fr;align-items:center;gap:8px;margin:8px 0;font:10px system-ui;color:#d2eee7}
#in-game-editor .ig-water-size input{width:100%;min-width:0;accent-color:#ffd15a}
#in-game-editor .ig-water-buttons{display:flex;gap:5px;margin-top:10px}
#in-game-editor .ig-water-buttons button{flex:1}
#in-game-editor .ig-water-size p{margin:8px 0 0;font:10px/1.5 system-ui;color:#b9d5d0}
#in-game-editor .ig-object-tools[hidden],#in-game-editor .ig-object-tools [hidden]{display:none}
#in-game-editor .ig-object-tools{padding:12px;margin:0 0 12px;border:1px solid #43898c;border-radius:8px;background:#083e4c;font:11px system-ui;color:#d2eee7}
#in-game-editor .ig-object-tools strong{display:block;margin-bottom:8px;font-size:10px;letter-spacing:.07em;color:#ffda65}
#in-game-editor .ig-brush-options{display:flex;flex-wrap:wrap;gap:5px}
#in-game-editor .ig-brush-options button{flex:1;min-width:60px;padding:8px 5px;font-size:10px}
#in-game-editor .ig-brush-options button[aria-pressed="true"]{background:#ffcf3e;color:#123d49;border-color:#ffcf3e}
#in-game-editor .ig-object-tools p{font:10px/1.5 system-ui;color:#b9d5d0}
#in-game-editor .ig-object-scale label{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin:12px 0}
#in-game-editor .ig-object-scale input{grid-column:1/-1;width:100%;accent-color:#ffcf3e}
#in-game-editor .ig-scale-value{color:#ffda65;font-weight:700}
#in-game-editor .ig-object-scale button{width:100%;padding:8px;font-size:10px}
@media(min-width:1081px) and (max-height:850px){#in-game-editor{padding:18px 30px 14px}#in-game-editor .ig-header{margin-bottom:15px}#in-game-editor .ig-brand-mark{font-size:26px;padding:10px 12px}#in-game-editor .ig-project{padding:7px 14px;margin-bottom:15px}#in-game-editor .ig-library{padding:20px 24px 16px}#in-game-editor .ig-hint{min-height:0;margin:9px 0 16px}#in-game-editor .ig-cards{min-height:0;gap:15px 12px}#in-game-editor .ig-categories{padding-top:13px;margin-top:18px}#in-game-editor .ig-category>span{width:56px}#in-game-editor .ig-category{gap:5px}#in-game-editor .ig-workspace{padding:16px}#in-game-editor .ig-active-tool{margin-top:12px}#in-game-editor .ig-preview{height:105px}#in-game-editor .ig-preview-heading{margin-top:14px}#in-game-editor .ig-controls-help{margin-top:7px}#in-game-editor .ig-footer{margin-top:10px}}
