.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(254, 240, 138, 0.45);
  background: rgba(254, 240, 138, 0.14);
  color: var(--accent);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, filter 0.2s;
  min-height: 36px;
  flex-shrink: 0;
}

.share-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.share-btn:not(:disabled):hover {
  border-color: var(--accent);
  background: rgba(254, 240, 138, 0.22);
  filter: brightness(1.05);
}

.share-btn-header {
  min-height: 40px;
  padding: 8px 12px;
}

.share-btn-lg,
.hero-share-btn {
  width: 100%;
  max-width: 360px;
  padding: 12px 16px;
  font-size: 13px;
  border-radius: 12px;
  margin-top: 14px;
}

.hero-share-btn {
  margin-top: 12px;
}

.page-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.share-toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 10001;
  max-width: min(92vw, 360px);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--secondary);
  border: 1px solid rgba(254, 240, 138, 0.35);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.share-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .share-btn {
    min-height: 40px;
    font-size: 11px;
    padding: 8px 12px;
  }

  .share-btn-header .share-btn-text {
    display: none;
  }

  .share-btn-header {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
  }

  .page-toolbar-actions {
    width: auto;
    justify-content: flex-end;
  }

  .share-btn-lg,
  .hero-share-btn {
    font-size: 12px;
  }
}
