/* Pfützenschlucker on top of Survivor's HerpDerp skin (../css/style.css): wood tab at the top;
   start and result windows come from ../css/phone.css, buttons are the shared menu's (.phm-btn). */
#ghud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }

#gtop {
  position: absolute; top: env(safe-area-inset-top, 0px); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; white-space: nowrap;
  background: var(--wood); border: 3px solid #2b1a0e; border-top: 0; border-radius: 0 0 22px 22px; padding: 6px 18px 8px;
  box-shadow: 0 6px 0 rgba(0,0,0,.28), inset 0 2px 0 var(--wood-light);
}
#gtop .tb { display: flex; align-items: baseline; gap: 6px; text-shadow: var(--ink-outline); color: var(--muted); }
#gtop b { color: var(--gold); font-size: var(--nx2, 28px); line-height: 1; }
#gtop b.hurry { color: #ff5a3c; } /* last minute (PS-10) */
/* phones: keep clear of the system buttons top right */
@media (max-width: 520px) {
  #gtop { left: 6px; transform: none; gap: 10px; padding: 6px 12px 8px; max-width: calc(100vw - 72px); }
}

#banner { top: calc(env(safe-area-inset-top, 0px) + 70px); bottom: auto; white-space: nowrap; }

.gname { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.gname label { text-shadow: var(--phm-outline); }
.gname input { width: 9em; min-height: 40px; } /* PS-08: a 40 px tap target */
.gonline a { color: var(--phm-gold); }
.gdev { display: block; opacity: .8; } /* X-14: the best time lives on this device only */
#start, #end { z-index: 30; }
/* the round's leaderboard on its parchment card */
.glist li { line-height: 1.1; }
.glist li span { float: right; color: #7a2f10; }
.glist li.me { color: #7a2f10; }
.glist li.me b { color: #2a5fa8; }
.glist li .crown { width: 22px; height: auto; margin: 0 4px -2px -26px; image-rendering: pixelated; }
.gnext { flex: none; color: var(--phm-gold); }

/* shown until the first picture is in (gulp.js fills it in the player's language) */
.boot { position: fixed; inset: 0; display: grid; place-items: center; margin: 0; z-index: 5; pointer-events: none;
  color: #fff6dc; font-size: var(--nx2, 28px); font-weight: 700; text-shadow: 0 2px 0 #2b1a0e; }
