/* Globus mit Sonne und Monden – Farben und Kopfzeile wie karte.html */
:root { --gold:#f6b950; --dark:#262525; --grey:#b8b6b6; --light:#e3e3e3; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--dark); color: var(--light);
  font-family: 'Maven Pro', sans-serif; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; overflow: hidden;
}
.kopf { display: flex; align-items: baseline; gap: 1.2rem; padding: 0.7rem 1.2rem; border-bottom: 1px solid rgba(246,185,80,.25); }
.kopf h1 { font-family: 'Tangerine', cursive; font-size: 2.4rem; line-height: 1; color: var(--gold); }
.kopf a { color: var(--grey); text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.kopf a:hover, .kopf a:focus-visible { color: var(--gold); outline: none; }
.kopf .karten { margin-left: auto; display: flex; gap: 1.2rem; }

.haupt { flex: 1; min-height: 0; position: relative; background: radial-gradient(ellipse at center, #16181d 0%, #07080a 100%); }
#buehne { position: absolute; inset: 0; }
#buehne canvas { display: block; touch-action: none; }

.info { position: absolute; left: 12px; top: 10px; line-height: 1.5; font-size: .85rem; max-width: min(34rem, calc(100% - 24px)); pointer-events: none; }
.info small { color: #888; }
.phasen { position: absolute; left: 12px; top: 8.6rem; line-height: 1.6; font-size: .85rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.phasen span { color: var(--gold); }
.leiste {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); padding: 8px 12px; border-radius: 6px; font-size: .85rem;
}
.leiste button { font: inherit; background: #222; color: #ccc; border: 1px solid #555; border-radius: 4px; padding: 4px 10px; cursor: pointer; }
.leiste button:hover, .leiste button:focus-visible, .leiste button[aria-pressed=true] { border-color: var(--gold); color: var(--gold); outline: none; }
.leiste label { display: flex; gap: 6px; align-items: center; }
.leiste input { width: 120px; }
#tag { min-width: 11em; text-align: center; font-variant-numeric: tabular-nums; }
.ladefehler { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--grey); }

@media (max-width: 640px) {
  .kopf { gap: .8rem; padding: .5rem .8rem; } .kopf h1 { font-size: 2rem; }
  .info small { display: none; } .phasen { top: 4.2rem; }
}
