﻿.entry-route-nav {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.entry-route-btn {
  min-height: 38px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font-weight: 800;
  font-size: 0.78rem;
}

.entry-route-btn.is-active {
  border-color: rgba(224, 195, 122, 0.55);
  background: linear-gradient(180deg, var(--pd-gold-0) 0%, var(--pd-gold-1) 100%);
  color: var(--pd-gold-ink);
}

.install-hint {
  margin-top: 8px;
  border: 2px solid var(--pd-install-line);
  border-radius: 16px;
  padding: 10px;
  background: var(--pd-install-bg);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 8px;
}

.install-hint-body {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.install-hint-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(238, 242, 255, 0.92);
}

.install-hint-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.install-hint .btn {
  min-height: 34px;
  padding: 7px 10px;
}

.surface-placeholder {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 28px 16px;
  border: 2px dashed rgba(224, 195, 122, 0.34);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
}

.surface-placeholder h2 {
  margin: 0;
}

.surface-placeholder p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .entry-route-nav {
    grid-template-columns: 1fr;
  }

  .install-hint-body {
    grid-template-columns: 1fr;
  }

  .install-hint-actions {
    justify-content: flex-end;
  }
}

/* BoardView owns its internal board grid and should not inherit the base board layout. */
.board.board-view {
  display: block;
  grid-template-columns: none;
  grid-template-rows: none;
  overflow: visible;
}
