.view-switch{display:flex;gap:8px;padding:10px 14px;background:#111815;border-bottom:1px solid #31473b}.view-switch button,.terrain-heading button{border:1px solid #557866;border-radius:12px;background:#22322a;color:#f2efd9;padding:10px 14px;font:inherit;font-weight:650;touch-action:manipulation}.view-switch button[aria-pressed="true"]{background:#36765c;border-color:#9dd4b2;color:#fff}.view-switch button:disabled{opacity:.5}.terrain-panel{padding:14px;max-width:1040px;margin:auto}.terrain-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.terrain-heading strong,.terrain-heading span{display:block}.terrain-heading strong{font-size:1.05rem}.terrain-heading span,.terrain-note{color:#bdc9bf;font-size:.9rem}.terrain-wrap{height:min(72vh,760px);min-height:380px;border:1px solid #557866;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at center,#548d6d,#286049 72%,#1b4836)}#terrain-canvas{display:block;width:100%;height:100%;touch-action:none}.terrain-note{margin:9px 2px 0}.site-footer{margin-top:16px;padding:14px 16px;border-top:1px solid #31473b;background:#111815;color:#bdc9bf;text-align:center;font-size:.82rem}#prototype-pages[hidden],.terrain-panel[hidden]{display:none!important}@media(max-width:720px){.view-switch{padding:8px 12px}.view-switch button{flex:1;padding:10px 8px;font-size:.9rem}.terrain-panel{padding:12px}.terrain-wrap{height:68vh;min-height:380px}.terrain-heading{align-items:flex-start}.terrain-heading span{font-size:.82rem}.terrain-heading button{padding:9px 10px}}

.terrain-wrap{position:relative}#terrain-error{position:absolute;z-index:1;inset:50% 14px auto;transform:translateY(-50%);margin:0 auto;max-width:32rem;padding:12px 16px;border:1px solid #e6c78c;border-radius:12px;background:#203b2c;color:#fff4d5;text-align:center;line-height:1.45}#terrain-error[hidden]{display:none}
#terrain-canvas[hidden]{visibility:hidden}
