@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=DM+Mono:wght@400;500&display=swap";:root{color:#303c31;font-synthesis:none;--muted:#81877b;--border:#e2e5d9;--green:#38543f;--mono:"DM Mono", monospace;background:#f6f7f2;font-family:DM Sans,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible{outline-offset:3px;outline:3px solid #809b65}a{color:inherit;text-decoration:none}.icon-definitions{width:0;height:0;position:absolute;overflow:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:18px;height:18px}.app-header{border-bottom:1px solid var(--border);background:#fafbf6;justify-content:space-between;align-items:center;gap:24px;height:88px;padding:0 36px;display:flex}.brand{letter-spacing:-1.2px;align-items:center;gap:12px;font-size:26px;font-weight:650;line-height:1.05;display:flex}.brand-mark{color:#38543f;width:43px;height:43px}.brand-description{letter-spacing:1.8px;color:#7b8578;margin-top:7px;font-size:8px;font-weight:550;display:block}.header-actions{align-items:center;gap:10px;display:flex}.version-label{color:#77816e;align-items:center;gap:7px;margin-right:22px;font-size:11px;display:flex}.version-label>span:last-child{font-family:var(--mono);border:1px solid #e0e5d6;border-radius:4px;margin-left:4px;padding:3px 5px;font-size:9px}.status-dot{background:#839768;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.button{border:1px solid var(--border);border-radius:6px;justify-content:center;align-items:center;gap:9px;padding:11px 15px;font-size:12px;font-weight:550;transition:background .15s,transform .15s;display:inline-flex}.button:active{transform:translateY(1px)}.button-quiet{color:#4c5947;background:0 0}.button-quiet:hover{background:#edf0e5}.button-dark{color:#f7faee;background:#3d503c;border-color:#3d503c}.button-dark:hover{background:#263e2d}.studio{grid-template-columns:296px minmax(0,1fr);min-height:calc(100vh - 88px);display:grid}.settings{border-right:1px solid var(--border);background:#fafbf6;flex-direction:column;padding:31px 26px 22px;display:flex}.eyebrow{letter-spacing:1.5px;color:#7e8876;margin:0 0 16px;font-size:9px;font-weight:600}.settings-intro .eyebrow{letter-spacing:1.2px;justify-content:space-between;font-size:8px;display:flex}.eyebrow>span{color:#a5ad9d;letter-spacing:.5px;font-size:8px}.settings-intro h1{letter-spacing:-.7px;margin:0 0 9px;font-size:21px;font-weight:500}.settings-intro>p:last-child{color:#858c7e;margin:0 0 28px;font-size:11px;line-height:1.7}.form-section{border-bottom:1px solid var(--border);margin-bottom:23px;padding-bottom:22px}.field-label{justify-content:space-between;margin-bottom:9px;font-size:11px;font-weight:550;display:flex}.label-note{letter-spacing:.7px;color:#959d8e;padding-top:2px;font-size:7px;font-weight:500}.seed-input{background:#fffef9;border:1px solid #dce1d3;border-radius:6px;align-items:center;height:42px;display:flex;overflow:hidden}.seed-input>span{font-family:var(--mono);color:#a8af9f;margin-left:12px}.seed-input input{width:100%;min-width:0;font-family:var(--mono);color:#48553e;-moz-appearance:textfield;background:0 0;border:0;padding:10px;font-size:12px}.seed-input input::-webkit-inner-spin-button{display:none}.seed-input button{color:#74816b;background:0 0;border:0;border-left:1px solid #e3e6da;align-items:center;height:24px;padding:0 11px;display:flex}.seed-input button:hover{color:#2d482e}.field-help{color:#929987;margin:8px 0 19px;font-size:10px}.size-label{margin-bottom:9px}select,.number-input{color:#5b6652;background:#fffef9;border:1px solid #dce1d3;border-radius:6px;width:100%;height:39px;padding:0 10px;font-size:11px}.section-heading{justify-content:space-between;margin-bottom:24px;font-size:12px;font-weight:550;display:flex}.tiny-label{letter-spacing:1px;color:#99a18e;padding-top:3px;font-size:7px;font-weight:400}.range-field{margin-bottom:24px}.range-field label{color:#626d58;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:11px;display:flex}.range-field label>span{align-items:center;gap:8px;display:flex}.range-field .icon{color:#7c8c6e;width:15px;height:15px}.range-field output{font-family:var(--mono);color:#526642;text-align:center;background:#eef1e4;border-radius:3px;min-width:36px;padding:4px 6px;font-size:10px}.terrain-icon{color:#7c8c6e;width:15px;font-size:23px;line-height:15px}input[type=range]{appearance:none;background:linear-gradient(to right, #839671 var(--progress,65%), #e4e8dc var(--progress,65%));cursor:pointer;border-radius:6px;width:100%;height:4px;margin:0;display:block}input[type=range]::-webkit-slider-thumb{appearance:none;background:#647c53;border:2px solid #fbfcf6;border-radius:50%;width:12px;height:12px;box-shadow:0 0 0 1px #869d72}input[type=range]::-moz-range-thumb{background:#647c53;border:2px solid #fbfcf6;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 1px #869d72}.range-hints{color:#a2a995;justify-content:space-between;margin-top:10px;font-size:9px;display:flex}.environment-section{border-bottom:0;margin-bottom:21px;padding-bottom:0}.advanced{border-top:1px solid var(--border);padding-top:14px}.advanced summary{cursor:pointer;color:#939b87;justify-content:space-between;font-size:10px;list-style:none;display:flex}.advanced summary::-webkit-details-marker{display:none}.advanced[open] summary{margin-bottom:18px}.advanced .number-input{margin-bottom:15px}.generate-button{color:#f6f8ed;background:#435d3e;border:0;justify-content:space-between;width:100%;padding:14px 15px;font-size:11px}.generate-button:hover{background:#334c2e}.generation-note{text-align:center;color:#979f8b;min-height:13px;margin:10px 0 25px;font-size:9px}.presets{border-top:1px solid var(--border);padding-top:20px}.presets .eyebrow{margin-bottom:12px;font-size:8px}.preset-buttons{gap:6px;display:flex}.preset-buttons button{color:#838d76;background:0 0;border:1px solid #e3e7d9;border-radius:5px;flex-direction:column;flex:1;align-items:center;gap:8px;padding:10px 5px;font-size:9px;display:flex}.preset-buttons button:hover{background:#edf1e3;border-color:#b6c2a6}.preset-swatch{border-radius:2px;width:24px;height:16px}.woodland{background:radial-gradient(at 30% 60%,#688764 24%,#0000 26%),radial-gradient(at 70% 40%,#92a879 38%,#0000 40%),#d8e0bd}.wetlands{background:radial-gradient(at 30% 60%,#9cc4bd 44%,#0000 46%),#d3ddbb}.grassland{background:radial-gradient(at 75% 20%,#b9c69c 24%,#0000 26%),#d9dfb7}.sidebar-footer{letter-spacing:.1px;color:#a3ab96;align-items:center;gap:7px;margin-top:auto;padding-top:29px;font-size:8px;display:flex}.sidebar-footer .status-dot{width:4px;height:4px}.workspace{min-width:0;padding:20px 24px 14px}.workspace-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;margin-bottom:14px;display:flex}.workspace-heading .eyebrow{margin-bottom:9px;font-size:8px}.workspace-heading h2{letter-spacing:-.65px;align-items:center;gap:13px;margin:0;font-size:23px;font-weight:500;display:flex}.theme-badge{color:#8a957a;letter-spacing:1px;border:1px solid #dbe1cf;border-radius:4px;padding:5px 7px;font-size:7px;font-weight:500}.origin-fields{grid-template-columns:58px 58px;gap:6px;margin-top:14px;display:grid}.origin-fields label{color:#77816e;grid-column:1/-1;font-size:9px}.origin-fields input{width:100%;font-family:var(--mono);color:#3e5b31;background:#fff;border:1px solid #dfe4d4;border-radius:4px;padding:5px 6px;font-size:10px}.origin-fields input:focus-visible{outline-offset:1px;outline:2px solid #9cb27f}.map-identifier{text-align:right;font-family:var(--mono);color:#87917c;flex-direction:column;gap:7px;font-size:8px;display:flex}.map-identifier>span:first-child{color:#a4ac9a;letter-spacing:1.5px;font-family:DM Sans,sans-serif;font-size:7px}.map-panel{background:#fcfcf6;border:1px solid #dce2d3;border-radius:9px;overflow:hidden;box-shadow:0 5px 18px #31422204}.view-toolbar{background:#fafbf5;border-bottom:1px solid #e3e6d9;align-items:center;gap:12px;height:52px;padding:0 15px;display:flex}.toolbar-label{letter-spacing:1px;color:#9ca48e;font-size:7px}.view-tabs{scrollbar-width:none;align-items:center;gap:2px;display:flex;overflow:auto}.view-tabs button{color:#8f9782;white-space:nowrap;background:0 0;border:0;border-radius:4px;padding:8px 10px;font-size:10px}.view-tabs button.active{color:#536a43;background:#e9efdf;font-weight:550}.view-tabs button:hover{color:#3e5b31;background:#eff3e8}.cell-size-field{letter-spacing:1px;color:#9ca48e;align-items:center;gap:6px;margin-left:auto;font-size:7px;display:flex}.cell-size-field select{color:#536a43;cursor:pointer;background:#fff;border:1px solid #dfe4d4;border-radius:4px;padding:3px 5px;font-size:9px}.live-indicator{color:#96a187;white-space:nowrap;align-items:center;gap:5px;margin-left:auto;font-size:8px;display:flex}.live-indicator .status-dot{width:4px;height:4px}.workspace-heading .map-summary{margin:0 auto}.workspace-heading .stat{margin-right:20px;padding-right:20px}.workspace-heading .stat strong{font-size:18px}.workspace-heading .stat-detail{display:none}.map-viewport{background:#f0f1e7 radial-gradient(#cfd6c44d .6px,#0000 .6px) 0 0/6px 6px;height:clamp(480px,100vh - 250px,900px);position:relative;overflow:hidden}canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}canvas.dragging{cursor:grabbing}.compass{pointer-events:none;color:#667456;font-family:var(--mono);flex-direction:column;align-items:center;gap:4px;font-size:9px;display:flex;position:absolute;top:24px;right:25px}.caption-stats{font-family:var(--mono);color:#a0aa8d;font-size:8px}.caption-stats:empty{display:none}.map-caption{pointer-events:none;color:#839171;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#f6f7eac9;border-radius:4px;flex-direction:column;gap:5px;padding:10px 12px;font-size:9px;display:flex;position:absolute;bottom:22px;left:24px}.caption-label{letter-spacing:1.4px;color:#a0aa8d;font-size:7px}.zoom-controls{background:#fafbf2ed;border:1px solid #d9dfcb;border-radius:5px;align-items:center;gap:2px;padding:3px;display:flex;position:absolute;bottom:22px;right:23px;box-shadow:0 2px 4px #223b1710}.zoom-controls button{color:#7f8e6f;background:0 0;border:0;border-radius:3px;place-items:center;width:29px;height:27px;font-size:18px;display:grid}.zoom-controls button:hover{background:#e9efdd}.zoom-controls output{font-size:9px;font-family:var(--mono);color:#869477;text-align:center;width:38px}.zoom-controls>span{background:#dfe4d2;width:1px;height:13px;margin:0 3px}.zoom-controls .icon{width:15px;height:15px}.map-status{height:36px;font-family:var(--mono);color:#8e9980;justify-content:space-between;align-items:center;gap:10px;padding:0 16px;font-size:8px;display:flex}.map-status>span:first-child{align-items:center;gap:7px;display:flex}.map-status .status-dot{width:4px;height:4px}.coordinates{color:#acb39f}.map-summary{align-items:center;gap:0;display:flex}.stat{border-right:1px solid #e0e5d6;grid-template-columns:auto 1fr;align-items:baseline;gap:8px;margin-right:29px;padding-right:34px;display:grid}.stat-label{color:#919d81;letter-spacing:1.2px;grid-column:1/-1;font-size:7px}.stat strong{color:#637254;letter-spacing:-.7px;font-size:22px;font-weight:450}.stat-detail{color:#a1aa93;font-size:9px}.map-summary .stat:nth-last-child(2){border-right:0}.map-legend{color:#9da68e;flex-wrap:wrap;justify-content:flex-end;gap:15px;margin-left:auto;font-size:9px;display:flex}.map-legend>span{align-items:center;gap:5px;display:flex}.map-legend i{border-radius:2px;width:7px;height:7px}.legend-land{background:#d9dfb9}.legend-forest{background:#91a878}.legend-water{background:#a6c9c6}.workspace-footer{color:#a3ac96;justify-content:space-between;gap:10px;margin:26px 0 0;font-size:8px;display:flex}.workspace-footer span span{color:#c0c8b6;margin:0 5px}.notification{overflow-wrap:anywhere;background:#ecf2e2;border:1px solid #c5d0b4;border-radius:6px;margin-top:18px;padding:13px 16px;font-size:12px;line-height:1.6}.notification.error{color:#975d46;background:#f8ede7;border-color:#dbbdb0}.empty-field{color:#69785b;text-align:center;background:#fafbf4ef;border:1px solid #dce2d3;border-radius:6px;width:350px;max-width:85%;padding:20px;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[hidden]{display:none!important}@media (width>=1600px){.workspace{padding:38px 55px}.studio{grid-template-columns:320px minmax(0,1fr)}.settings{padding:36px 30px}.map-viewport{height:calc(100vh - 350px)}}@media (width<=1200px){.version-label{display:none}.workspace{padding:27px 23px}.studio{grid-template-columns:265px minmax(0,1fr)}.settings{padding:27px 20px}.stat{margin-right:18px;padding-right:18px}.stat-detail{display:none}.map-legend{gap:9px;max-width:170px}.live-indicator{display:none}.view-tabs button{padding:8px}.theme-badge{display:none}.workspace-heading h2{font-size:21px}.workspace-heading .map-summary{order:3;justify-content:flex-start;width:100%;margin:0}.workspace-heading .map-legend{max-width:none;margin-left:auto}}@media (width<=800px){.app-header{height:76px;padding:0 20px}.brand{font-size:24px}.brand-description{font-size:7px}.brand-mark{width:36px;height:36px}.button{padding:10px;font-size:10px}.studio{grid-template-columns:230px minmax(0,1fr)}.settings{padding:23px 16px}.settings-intro h1{font-size:18px}.settings-intro .eyebrow>span{display:none}.workspace{padding:25px 17px}.workspace-heading{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:14px}.workspace-heading .map-summary{order:0;width:auto;margin:0}.workspace-heading .map-legend{margin-left:0}.map-identifier{flex-direction:row;align-items:center;gap:10px}.map-viewport{height:480px}.toolbar-label,.cell-size-field{display:none}.view-toolbar{padding:0 8px}.map-caption,.coordinates{display:none}.map-status{padding:0 9px;font-size:7px}.map-summary{flex-wrap:wrap;row-gap:20px}.stat{margin-right:16px;padding-right:16px}.stat strong{font-size:20px}.map-legend{justify-content:flex-start;width:100%;max-width:100%;margin-left:0}.workspace-footer{flex-direction:column;line-height:1.7}}@media (width<=600px){.app-header{padding:0 16px}.brand-description{display:none}.brand{gap:8px;font-size:22px}.brand-mark{width:31px;height:31px}.header-actions{gap:6px}.header-actions .icon{width:14px;height:14px}.header-actions .button{gap:5px;padding:9px 8px;font-size:9px}.studio{flex-direction:column;display:flex}.settings{border-right:0;border-bottom:1px solid var(--border);padding:24px 20px}.settings-intro{margin-bottom:20px}.settings-intro h1{font-size:23px}.settings-intro>p:last-child{margin:0}.settings-intro .eyebrow>span{display:inline}.settings-intro .eyebrow{margin-bottom:10px}#generation-form{grid-template-columns:1fr 1fr;column-gap:22px;display:grid}.form-section{border-bottom:0;margin-bottom:0;padding-bottom:0}.environment-section{grid-area:1/2/4}.section-heading{display:none}.range-field{margin-bottom:15px}.range-field label{margin-bottom:11px}.range-hints{margin-top:9px}.advanced{margin-bottom:10px}.generate-button{align-self:start;margin-top:16px;padding:12px;font-size:10px}.generation-note{margin:9px 0;font-size:8px}.presets{display:none}.sidebar-footer{margin-top:0;padding-top:10px}.workspace{padding:24px 16px}.workspace-heading{flex-direction:row;align-items:center}.workspace-heading h2{font-size:19px}.map-identifier{flex-direction:column;gap:4px;font-size:7px}.map-identifier>span:first-child{font-size:6px}.map-viewport{height:420px}.stat{margin-right:24px;padding-right:24px}.map-legend{gap:7px;width:auto;max-width:100px;margin-left:auto}.map-summary{row-gap:12px}.map-status{font-size:7px}.workspace-footer{margin-top:20px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.button{white-space:nowrap}@media (width>=601px){.studio{height:calc(100dvh - 88px);min-height:0}.settings,.workspace{overflow-y:auto}.map-viewport{height:clamp(420px,100dvh - 295px,1000px)}}@media (width>=601px) and (width<=800px){.studio{height:calc(100dvh - 76px)}}body.map-focus{overflow:hidden}body.map-focus .app-header,body.map-focus .settings,body.map-focus .workspace-heading,body.map-focus .map-caption,body.map-focus .map-status,body.map-focus .workspace-footer{display:none}body.map-focus .studio{height:100dvh;min-height:0;display:block}body.map-focus .workspace{height:100%;padding:0;overflow:hidden}body.map-focus .map-panel{height:100%;box-shadow:none;border:0;border-radius:0;flex-direction:column;display:flex}body.map-focus .map-viewport{flex:1;height:auto;min-height:0}body.map-focus canvas{width:100%;height:100%;position:absolute;inset:0}#fit-map.active{color:#3e5b31;background:#e9efdd}
