/* GeoTrotter top bar (js/nav.js), shared by every page. Uses the colour tokens of css/style.css. */
.gg-nav {
  position: relative; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  padding: max(8px, env(safe-area-inset-top)) 14px 8px; background: rgba(6, 10, 30, .72); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
}
.gg-home {
  justify-self: start; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; padding: 7px 12px;
  border-radius: 999px; border: 1px solid var(--panel-border); background: rgba(255,255,255,.05); white-space: nowrap;
}
.gg-home:hover { background: rgba(255,255,255,.12); }
.gg-logo { justify-self: center; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.gg-logo b { color: var(--accent); font-weight: 700; }
.gg-right { justify-self: end; display: flex; gap: 6px; }
.gg-btn {
  color: var(--text); font: 600 13.5px var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--panel-border); background: rgba(255,255,255,.05);
}
.gg-btn:hover { background: rgba(255,255,255,.12); }
@media (max-width: 640px) {
  .gg-nav { padding-left: 10px; padding-right: 10px; gap: 6px; }
  .gg-logo { font-size: 18px; }
  .gg-cur, .gg-fb-text { display: none; }
  .gg-home, .gg-btn { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 360px) { .gg-logo span { display: none; } }

/* while a game is being played the bar steps aside (each game has its own menu there) */
body.in-game .gg-nav, body:has(#game.active) .gg-nav, body:has(#play.active) .gg-nav { display: none; }

/* feedback form */
.gg-feedback { z-index: 60; }
.gg-fb-card { text-align: left; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; }
.gg-fb-card h2 { margin-top: 0; }
.gg-kinds { display: grid; gap: 6px; margin-bottom: 12px; }
.gg-kind { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--panel-border); cursor: pointer; background: rgba(0,0,0,.18); }
.gg-kind:has(input:checked) { border-color: var(--accent); background: rgba(255,209,102,.12); }
.gg-kind input { accent-color: var(--accent); }
.gg-field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.gg-games-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.gg-kind.small { padding: 6px 10px; font-size: 13px; color: var(--text); font-weight: 600; }
.gg-kind.small input { display: none; }
.gg-field textarea {
  width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--panel-border); background: rgba(0,0,0,.25);
  color: var(--text); font: 500 15px var(--font-body); outline: none; resize: vertical;
}
.gg-field textarea:focus { border-color: var(--accent); }
.gg-fb-note { font-size: 12px; color: var(--muted); }
.gg-fb-err { font-size: 13px; color: #ff8fa8; margin: 6px 0 0; }
.gg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
