/* Gemeinsames Aussehen der Entwickler-Website (Farben wie im Spiel, hell und dunkel) */
:root { --bg: #fbefdc; --ink: #3b2a20; --muted: #8a6f5c; --accent: #e0703a; --card: #fff8ee; --line: rgba(120, 80, 40, 0.18); }
@media (prefers-color-scheme: dark) {
  :root { --bg: #241c17; --ink: #f5e8d6; --muted: #b49c88; --card: #2e241d; --line: rgba(255, 230, 200, 0.14); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 24px 16px 40px; background: var(--bg); color: var(--ink); line-height: 1.55;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { width: 100%; max-width: 680px; margin: 0 auto; }
a { color: var(--accent); overflow-wrap: anywhere; }
h1 { margin: 0 0 4px; font-size: 1.9rem; color: var(--accent); line-height: 1.2; }
h2 { margin: 28px 0 6px; font-size: 1.2rem; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
.meta { color: var(--muted); margin-bottom: 20px; }
.card { background: var(--card); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.lang { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 12px; }
.back { display: inline-block; margin-bottom: 18px; text-decoration: none; font-weight: 600; }
footer { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
footer a { color: var(--muted); margin-right: 14px; }

/* Startseite */
.home { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; text-align: center; max-width: 420px; }
.home img { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); }
.home h1 { margin-top: 18px; font-size: 2.2rem; }
.home p { color: var(--muted); margin-bottom: 22px; }
.stores { display: grid; gap: 10px; margin-bottom: 26px; }
.stores a { display: block; padding: 14px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.home footer { border: 0; margin-top: 8px; }
.home footer a { color: var(--ink); margin: 0 8px; }


/* Sprache: lang.js setzt html[data-lang]; dann nur die aktive Sprache zeigen. Ohne JavaScript bleiben beide sichtbar. */
html[data-lang="de"] body [lang="en"], html[data-lang="en"] body [lang="de"], html[data-lang] .both-langs { display: none !important; }
html[data-lang] .lang { border-top: 0; margin-top: 0; padding-top: 0; }
.lang-switch { float: right; display: flex; gap: 0; justify-content: flex-end; margin: 0 0 6px; font-size: 0.85rem; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 4px 2px; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: var(--accent); text-decoration: underline; }
html:not([data-lang]) .lang-switch { display: none; }
.home > .lang-switch { position: absolute; top: 14px; right: 16px; float: none; margin: 0; }
