
.top-navbar {
  width: min(1500px, 100%);
  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 16px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;

  background: rgba(15, 23, 42, 0.4);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.brand-block {
  display: flex;
  align-items: center;
}

.top-navbar .eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a7f3d0;
  font-weight: 900;
}

.top-navbar h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-navbar .status-pill {
  margin: 0;
}

.navbar-menu {  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.navbar-menu:empty {
  display: none;
}

.navbar-link {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: transparent;
  color: #cbd5e1;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
}

.navbar-link {
  background: rgba(255, 255, 255, 0.08);
}

.navbar-link.is-active {
  background: rgba(255, 255, 255, 0.219);
  color:#a7f3d0;
}

.language-switcher {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 4px;

  border-radius: 8px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.language-button {
  width: 34px;
  height: 24px;

  padding: 0;
  border: 0;
  border-radius: 4px;

  overflow: hidden;
  cursor: pointer;

  background: transparent;
  opacity: 0.65;
}

.language-button svg {
  width: 100%;
  height: 100%;
  display: block;
}

.language-button:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.language-button.is-active {
  opacity: 1;
  outline: 2px solid rgba(52, 211, 153, 0.75);
}


.game-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(720px, 1fr) 360px;
  gap: 24px;
  align-items: start;
  max-width: 1560px;
  margin: 0 auto;
}

.game-shell.game-layout {
  width: min(1500px, 100%);
  display: grid;
  grid-template-columns: minmax(620px, 1.35fr) minmax(620px, 1fr);
  gap: 12px;
  align-items: start;
}

.left-column,
.right-column {
  display: grid;
  gap: 12px;
  min-width: 0;
  align-content: start;
}

.right-bottom-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: 12px;
  align-items: start;
}

.craft-side-panel,
.info-side-panel {
  top: 88px;
  min-width: 0;
  display: grid;
  gap: 12px;
}

.main-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.goals-panel {
  overflow: hidden;
  width: min(1500px, 100%);
  margin: 0 auto 12px;
}

.goals-toggle {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  font: inherit;
}

.goals-title {
  flex: 0 0 auto;
  font-weight: 700;
}

.goals-toggle span:first-child {
  font-size: 1rem;
  font-weight: 700;
}

.goals-progress {
  flex: 1;
  display: grid;
  gap: 4px;
}

.goal-progress-cell {
  height: 10px;
  border: 1px solid rgba(190, 175, 135, 0.7);
  border-radius: 2px;
  background: rgba(30, 27, 22, 0.85);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.65);
}

.goal-progress-cell.is-completed {
  border-color: rgba(105, 190, 105, 0.9);
  background: rgba(70, 165, 75, 0.95);
  box-shadow:
    inset 0 0 3px rgba(255, 255, 255, 0.2),
    0 0 5px rgba(75, 185, 85, 0.35);
}

.goals-arrow {
  opacity: 0.75;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.goals-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.goals-list {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  grid-auto-flow: column;
  justify-content: start;
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.88);
}

.goal-check {
  width: 18px;
  min-width: 18px;
  display: inline-flex;
  justify-content: center;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.85rem;
}

.goal-text {
  line-height: 1.35;
}

.goal-completed {
  color: rgba(148, 163, 184, 0.75);
}

.goal-completed .goal-check {
  color: rgba(34, 197, 94, 0.95);
}

.goal-completed .goal-text {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(148, 163, 184, 0.65);
}