/* Floating language-switch icon on view pages.
   Shown only when the current article/essay has a sibling translation. */
.lang-switch {
  position: fixed;
  top: 90px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #ffffff;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  z-index: 1000;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.lang-switch:hover {
  background: #f5f5f5;
  color: #111;
  transform: translateY(-1px);
}

.lang-switch svg {
  flex-shrink: 0;
}

.lang-switch-label {
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .lang-switch {
    top: auto;
    bottom: 20px;
    right: 16px;
    padding: 10px 14px;
  }
}
