/* Buy me a lunch (js/features/support.js): "Buy me a lunch" in the ⚙ menu, the card at the bottom of What's new, and the dialog.
   Files in css/ load in name order (index.html); later files win on equal selectors. */
/* ⚙ menu item */
.sp-menu-item { gap: 10px; }
.sp-menu-item svg, .sp-card-ico svg { flex: none; width: 17px; height: 17px; fill: none; stroke: #f4b860; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Card at the bottom of What's new */
.sp-card {
  display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 28px; padding: 16px 18px; border-radius: 18px; cursor: pointer;
  text-align: left; font: inherit; font-size: 14px; line-height: 1.45; color: var(--muted);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, #f4b860, #ff7ad9) border-box;
  border: 1px solid transparent; transition: transform .15s;
}
.sp-card[hidden] { display: none; }
.sp-card b { color: var(--text); }
.sp-card-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, #f4b860 14%, transparent); }
.sp-card-ico svg { width: 20px; height: 20px; }
.sp-card-go { margin-left: auto; font-size: 18px; color: var(--text); }
@media (hover: hover) { .sp-card:hover { transform: translateY(-2px); } }

.support-dlg .rl-card { width: min(440px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto; }
.sp-art { display: block; width: 150px; height: auto; margin: 0 auto 6px; color: var(--text); animation: spBob 3.2s ease-in-out infinite; }
.sp-spark { transform-box: fill-box; transform-origin: center; animation: spTwinkle 2.4s ease-in-out infinite; }
.sp-spark.two { animation-delay: -1.2s; }
@keyframes spBob { 50% { transform: translateY(-4px); } }
@keyframes spTwinkle { 50% { transform: scale(.55) rotate(20deg); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .sp-art, .sp-spark { animation: none; } }
.support-dlg .v2-title { margin-bottom: 8px; padding-right: 36px; }
.sp-text { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sp-text b { color: var(--text); }
.support-dlg .rl-actions { margin-top: 16px; }
.sp-go { display: block; line-height: 48px; text-align: center; white-space: nowrap; height: 48px; border-radius: 14px; font-weight: 750; font-size: 14px; text-decoration: none; flex: 1.6 !important; }
.sp-fine { margin-top: 12px; text-align: center; }

@media (max-width: 560px) {
  .support-dlg .rl-card { padding: 22px 18px 18px; }
  .sp-art { width: 128px; }
  .support-dlg .rl-actions { flex-direction: column-reverse; }
  .support-dlg .rl-actions > * { flex: none !important; width: 100%; }
}
