/* Delen: knoppen voor het delen van een resultaat (zie js/share.js). */

.netto-share-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  background: var(--surface); color: var(--ink);
  font: 600 14px 'Space Grotesk', sans-serif; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.netto-share-button:hover { border-color: var(--ink); }
.netto-share-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.netto-share-button svg { flex: 0 0 auto; }

/* Hoofdactie (race, live rounds): gele knop, zoals "Volgende puzzel". */
.netto-share-button.is-primary {
  width: 100%; min-height: 52px; border-color: #e7bf2a;
  background: var(--accent); color: #14163B; font-size: 15px;
}
.netto-share-button.is-primary:hover { background: #ffd43d; border-color: #e7bf2a; }

.netto-share-slot { margin: 18px 0 10px; }

/* Find the Connection: knop onder de uitslag van het verband. */
.connection-verdict .netto-share-button { margin-top: 14px; width: 100%; }

/* Library: naast de "Volgende puzzel"-knop. Het gewone knopje van die rij
   (wit, outline) past al; alleen het pictogram en de uitlijning zijn nieuw. */
.library-puzzle-view .library-actions .netto-share-button { gap: 8px; justify-content: center; }

/* Daily-uitslag: delen is de logische volgende stap na het zien van je score.
   De knop krijgt een eigen rij over de volle breedte en is groter dan het
   leaderboard, dat een rustigere vervolgactie blijft. De rest van het scherm
   blijft zoals het is. */
#results .daily-result-summary .daily-result-actions .btn-share {
  flex: 1 1 100%; grid-column: 1 / -1; min-height: 58px; font-size: 17px;
  box-shadow: 0 6px 18px -8px rgba(231, 191, 42, .9), 0 1px 0 #14163b14;
}
#results .daily-result-summary .daily-result-actions .btn-share svg { width: 20px; height: 20px; }
#results .daily-result-summary .daily-result-actions .btn-leaderboard-open { flex: 1 1 100%; grid-column: 1 / -1; min-height: 46px; }
@media (prefers-reduced-motion: no-preference) {
  #results.show .daily-result-actions .btn-share { animation: netto-share-nudge 1.1s ease-out 1.2s 2; }
}
@keyframes netto-share-nudge {
  0%, 100% { transform: none; }
  35% { transform: translateY(-3px); }
  65% { transform: translateY(0); }
}
