:root { color-scheme: dark; font-family: Arial, sans-serif; background: #000; color: #bcbcbc; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #000; }
[hidden] { display: none !important; }
#game { position: fixed; inset: 0 0 36px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; background-image:url('./gfx/hexgrid-gray.png'); background-repeat:repeat;}
#game:fullscreen { width: 100%; height: 100%; inset: 0; background-image:url('./gfx/hexgrid-gray.png'); background-repeat:repeat;}
#unity-canvas { display: block; flex: none; min-width: 0; min-height: 0; background: #000; outline: none; background-image:url('./gfx/hexgrid-gray.png'); background-repeat:repeat;}
#splash { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: #000; background-image:url('./gfx/hexgrid-gray.png'); background-repeat:repeat;}
.splash-content { width: 100%; padding: 24px; text-align: center; }
#pixelspiele-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 45vh; margin: 0 auto; object-fit: contain; }
#progress { display: block; appearance: none; width: min(280px, 80%); height: 4px; margin: 40px auto 16px; border: none; border-radius: 2px; background: #202020; color: #09b59e; }
#progress::-webkit-progress-bar { background: #202020; border-radius: 2px; }
#progress::-webkit-progress-value { background: #09b59e; border-radius: 2px; }
#progress::-moz-progress-bar { background: #09b59e; border-radius: 2px; }
#status { margin: 16px auto; font-size: 14px; line-height: 1.5; }
#controls { position: fixed; inset: auto 0 0; height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 12px; background: #000; }
button { color: #ddd; background: #191919; border: 1px solid #444; border-radius: 4px; padding: 6px 12px; cursor: pointer; }
button:hover, button:focus-visible { color: #fff; border-color: #09b59e; outline: none; }
