/* Make Guide resources unmistakably tappable, especially on touch screens. */
.guide-modal .tile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}

.guide-modal .tile-links a {
  min-height: 44px;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid #203229;
  border-radius: 6px;
  background: #203229;
  color: #fffaf0;
  box-shadow: 0 4px 10px rgba(32, 50, 41, 0.14);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.guide-modal .tile-links a::after {
  content: "\2197";
  flex: 0 0 auto;
  font-size: 0.9em;
  line-height: 1;
}

.guide-modal .tile-links a:hover {
  background: #314a3a;
  color: #fffaf0;
  box-shadow: 0 6px 14px rgba(32, 50, 41, 0.2);
  transform: translateY(-1px);
}

.guide-modal .tile-links a:active {
  box-shadow: 0 2px 6px rgba(32, 50, 41, 0.16);
  transform: translateY(1px);
}

.guide-modal .tile-links a:focus-visible {
  outline: 3px solid #c17246;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .guide-modal .tile-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .guide-modal .tile-links a {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }
}
