@layer components {
  /* Patreon's own coral, so the button reads as a Patreon action rather than as one more
     site button. Shared by the donate page and the footer support line - the colour lives
     here precisely so those two cannot drift apart.

     Declared the way components/button.css declares .btn-light-success - base, hover and
     focus together, each with !important - because that file sets border and colour on the
     .btn-* classes with !important and would otherwise win.

     The hover lift needs !important too, which those .btn-* rules do not use. They name
     specific Bootstrap classes, and .av-patreon-btn is not one of them, so it inherits the
     flat .btn shadow and nothing else. Meanwhile base.css styles bare anchors with
     a:hover { box-shadow: none; transform: none } and is unlayered - and a normal
     declaration in unlayered CSS beats a normal declaration in any layer, regardless of
     specificity. Without !important this would be the one clickable thing on the site that
     stays flat under the cursor, which AGENTS.md forbids.

     Verified against the live CSSOM rather than by eye: that base.css rule carries an empty
     priority string for both properties, so !important here wins outright. */
  .av-patreon-btn,
  .av-patreon-btn:hover,
  .av-patreon-btn:focus {
    background-color: #ff424d !important;
    border: var(--av-btn-border-width, 2px) solid #d7343d !important;
    color: #ffffff !important;
  }

  .av-patreon-btn:hover,
  .av-patreon-btn:focus-visible {
    box-shadow: var(--av-btn-shadow-hover) !important;
    transform: scale(1.02) !important;
  }

  .av-patreon-btn:active {
    transform: translateY(1px) !important;
  }
}
