/* YATU — Share controls
   Sits in the right side of the inline .essay-toolbar at top of article.
   Used on /post-american-world-order/* essays. */

.yatu-share {
  display: inline-flex;
  align-items: center;
}

.yatu-share .ys-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.yatu-share .ys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Icon-only: brand logos (X, LinkedIn, WhatsApp, Facebook, Telegram) and
     well-known utility icons (envelope, chain, share-arrows) carry the meaning;
     text label is redundant. Tooltip via aria-label / title supplies context
     for assistive tech and unfamiliar users. */
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 168, 67, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--text-body, #C8C3B8);
  font-family: 'Philosopher', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.15s;
  line-height: 1;
}

/* Hide text labels in all viewports — icon-only by design. */
.yatu-share .ys-btn span { display: none; }

/* Bump icon size since the label no longer carries weight. */
.yatu-share .ys-btn svg { width: 16px; height: 16px; }

.yatu-share .ys-btn svg {
  flex-shrink: 0;
  display: inline-block;
}

.yatu-share .ys-btn:hover {
  color: var(--gold, #d4a843);
  border-color: var(--gold, #d4a843);
  background: rgba(212, 168, 67, 0.08);
  transform: translateY(-1px);
}

.yatu-share .ys-btn:focus-visible {
  outline: 2px solid var(--gold, #d4a843);
  outline-offset: 2px;
}

.yatu-share .ys-btn:active {
  transform: translateY(0);
}

.yatu-share .ys-btn-success,
.yatu-share .ys-btn-success:hover {
  color: var(--gold, #d4a843);
  border-color: var(--gold, #d4a843);
  background: rgba(212, 168, 67, 0.16);
}

/* Mobile compact — slightly smaller circles + tighter gap. */
@media (max-width: 640px) {
  .yatu-share .ys-buttons { gap: 0.35rem; }
  .yatu-share .ys-btn {
    width: 32px;
    height: 32px;
    padding: 0.45rem;
  }
  .yatu-share .ys-btn svg { width: 14px; height: 14px; }
}

/* Print: hidden via .essay-toolbar in reading-controls.css */
