/* Gedeelde stijl voor Aquariumland. */
:root { --water: #1b7fb8; --donker: #0b2a40; --licht: #e6f6fc; --accent: #ff8c1a; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: linear-gradient(#5fd0f0, #0a4a7a) fixed; color: var(--donker); min-height: 100vh; }
main { max-width: 420px; margin: 8vh auto; padding: 24px; background: #fff; border-radius: 16px; box-shadow: 0 4px 24px #0003; }
h1 { margin-top: 0; text-align: center; }
form { display: grid; gap: 10px; }
input, button { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid #bbb; }
button { background: var(--accent); color: #fff; border: 0; cursor: pointer; }
button.tweede { background: #888; }
.fout { color: #b00020; min-height: 1.2em; }
.klein { font-size: .9em; color: #666; text-align: center; }

/* Spelpagina */
body.spel { overflow: hidden; background: #062a45; }
#veld { display: block; width: 100vw; height: 100vh; touch-action: none; }
#hud { position: fixed; top: 8px; left: 8px; background: #0008; color: #fff; padding: 6px 10px; border-radius: 8px; }
#chat { position: fixed; bottom: 8px; left: 8px; width: min(420px, 90vw); }
#berichten { max-height: 30vh; overflow-y: auto; background: #0006; color: #fff; padding: 6px 10px; border-radius: 8px; font-size: .9em; }
#berichten:empty { display: none; }
#berichten .melding { color: #9fe8ff; font-style: italic; }
#chatform { display: flex; margin-top: 6px; }
#chatform input { flex: 1; min-width: 0; background: #ffffffd0; }
#uitleg { position: fixed; bottom: 8px; right: 8px; background: #0006; color: #fffc; padding: 4px 10px; border-radius: 8px; font-size: .8em; }
@media (max-width: 700px) { #uitleg { display: none; } }
