/* game-navbar.css — Shared top navbar for all Otto games */

.game-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 48px;
  background: var(--cream, #fff6e4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 8px rgba(45, 31, 23, 0.1);
  font-family: 'Fredoka', sans-serif;
}

.game-navbar__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #2d1f17);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.game-navbar__center {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #2d1f17);
}

.game-navbar__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--berry, #e26a73);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 0 rgba(176, 78, 85, 0.4);
}

.game-navbar__close:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(176, 78, 85, 0.4);
}

.game-navbar__close:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Push game content below navbar */
.game-navbar + #game-wrapper {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
}
