/* Geteiltes Basis-Stylesheet: Reset + Tabbar. Bewusst neutral/unauffällig gehalten. */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f4f5f7;
  color: #1f2430;
}

#app-tabbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: #ffffff;
  border-bottom: 1px solid #e2e4e9;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  overflow-x: auto;
  z-index: 999999; /* muss über allem liegen, egal was ein Spiel anstellt */
  font-size: 14px;
}

#app-tabbar a {
  color: #4b5165;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

#app-tabbar a:hover {
  background: #eef0f4;
  color: #1f2430;
}

#app-tabbar a.active {
  background: #e8eaf0;
  color: #1f2430;
  font-weight: 600;
}

#app-tabbar a.home {
  font-weight: 600;
  border-right: 1px solid #e2e4e9;
  margin-right: 6px;
  padding-right: 14px;
}

body {
  padding-top: 48px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

h1 {
  font-size: 22px;
  margin: 0 0 12px;
}

p {
  line-height: 1.55;
  color: #333947;
}

.card {
  background: #fff;
  border: 1px solid #e2e4e9;
  border-radius: 10px;
  padding: 16px 18px;
}

.btn {
  display: inline-block;
  background: #2f5bea;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
}

.btn:hover { background: #2549c2; }

.btn.secondary {
  background: #eef0f4;
  color: #1f2430;
}
.btn.secondary:hover { background: #e2e4e9; }

input[type="text"] {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #cfd3dc;
  border-radius: 6px;
  width: 100%;
}
