/*
Theme Name: Space 2047 Landscape
Theme URI: https://example.com/
Author: OpenAI
Description: Full-screen procedural isometric landscape theme using the supplied grass, water, rock, paving and meadow artwork.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: space2047-landscape
Tags: game, full-width-template, custom-background
*/
:root{
  --panel:rgba(6,22,17,.88);
  --line:rgba(255,255,255,.16);
  --text:#f4fff7;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#061119}
body.admin-bar #space2047-world{height:calc(100vh - 32px)}
#space2047-world{
  position:relative;
  width:100vw;
  height:100vh;
  overflow:hidden;
  touch-action:none;
  background:radial-gradient(circle at 50% 38%,#284b5d 0,#0c2029 56%,#061119 100%);
}
#space2047-canvas{display:block;width:100%;height:100%}
.space2047-menu{
  position:absolute;top:10px;right:10px;z-index:30;
  display:flex;gap:7px;padding:7px;
  border:1px solid var(--line);border-radius:16px;
  background:var(--panel);backdrop-filter:blur(12px);
  box-shadow:0 16px 44px rgba(0,0,0,.32);
}
.space2047-menu button{
  height:40px;min-width:40px;padding:0 12px;
  border:1px solid rgba(255,255,255,.16);border-radius:12px;
  background:linear-gradient(180deg,#2c7048,#17452c);
  color:#fff;font:800 .78rem system-ui,sans-serif;cursor:pointer;
}
.space2047-menu button:active{transform:translateY(1px)}
.space2047-stats{
  position:absolute;left:10px;bottom:10px;z-index:15;
  max-width:calc(100vw - 80px);padding:7px 11px;border-radius:999px;
  background:rgba(4,18,13,.72);color:#cce3d3;
  font:700 .74rem system-ui,sans-serif;
  pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.space2047-pad-toggle{
  position:absolute;right:10px;bottom:10px;z-index:28;
  width:48px;height:48px;border:1px solid var(--line);
  border-radius:16px;background:var(--panel);color:#fff;
  box-shadow:0 16px 44px rgba(0,0,0,.3);font-size:1.1rem;cursor:pointer;
}
.space2047-pad{
  position:absolute;right:10px;bottom:66px;z-index:27;
  display:none;grid-template-columns:repeat(3,48px);gap:6px;
  padding:8px;border:1px solid var(--line);border-radius:18px;
  background:var(--panel);backdrop-filter:blur(12px);
}
.space2047-pad.open{display:grid}
.space2047-pad button{
  width:48px;height:48px;border:1px solid rgba(255,255,255,.16);
  border-radius:14px;background:linear-gradient(180deg,#286b44,#17452c);
  color:#fff;font-size:1rem;touch-action:none;
}
@media(max-width:700px){
  body.admin-bar #space2047-world{height:calc(100vh - 46px)}
  .space2047-menu{top:8px;right:8px;padding:6px}
  .space2047-menu button{height:36px;padding:0 10px;font-size:.72rem}
  .space2047-pad-toggle{right:8px;bottom:8px;width:44px;height:44px;border-radius:14px}
  .space2047-pad{right:8px;bottom:58px;grid-template-columns:repeat(3,44px)}
  .space2047-pad button{width:44px;height:44px}
}
