/* Result in place: when a Cover round or a Relations level ends, the screen gets
   .is-complete and these buttons replace the tool buttons under the board, at the same height. */

.result-actions {
  display: none;
  margin-top: var(--space-3);
  gap: var(--space-2);
}

.is-complete .result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: result-in 0.25s ease;
}

.result-actions button {
  min-height: 56px;
  padding: 0 var(--space-2);
  white-space: nowrap;
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-height: 760px) {
  .result-actions {
    margin-top: var(--space-2);
  }

  .result-actions button {
    min-height: 48px;
  }
}

@media (max-height: 640px) {
  .result-actions button {
    min-height: 44px;
  }
}

@media (max-width: 350px) {
  .result-actions button {
    font-size: var(--text-small);
  }
}
