.top-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.top-nav a:hover {
  border-color: var(--accent);
  background: #fff;
}

.guide-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.guide-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.guide-bar a:hover {
  background: var(--accent-weak);
}

.guide-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.guide-inline .result-jump {
  margin-top: 0;
}

@media (max-width: 980px) {
  .top-actions {
    justify-items: start;
  }

  .top-nav {
    justify-content: flex-start;
  }
}
