/* Fest support card (fest-support.js), shared by fest.html and
   fest-coming-soon.html. Uses the page's --line, --ink and --muted tokens. */
/* Support card (fest-support.js): the Fest page's own version of the team
   pages' card - sunset colours, Fest words, same links. A pill in the
   corner; on phones the card is a bottom sheet over a dimmed page. */
.fs-pill { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255,170,90,.55); border-radius: 999px; color: #fff3e6; font: 700 14px "Libre Franklin", sans-serif; cursor: pointer;
  background: linear-gradient(120deg, rgba(120,36,60,.92), rgba(196,84,40,.92)); box-shadow: 0 10px 26px -10px rgba(0,0,0,.8), 0 0 0 4px rgba(255,140,60,.08); }
.fs-pill:hover { border-color: #ffc27a; }
.fs-pill[hidden], .fs-card[hidden], .fs-backdrop[hidden] { display: none; }
.fs-sun { font-size: 18px; line-height: 1; }
.fs-backdrop { position: fixed; inset: 0; z-index: 61; background: rgba(4,8,14,.6); }
.fs-card { position: fixed; right: 18px; bottom: 18px; z-index: 62; width: min(380px, calc(100vw - 36px)); padding: 18px 18px 14px; border: 1px solid rgba(255,170,90,.45); border-radius: 18px;
  background: linear-gradient(170deg, rgba(64,24,44,.97) 0%, rgba(20,22,40,.98) 42%, rgba(10,22,36,.98) 100%); box-shadow: 0 24px 60px -18px rgba(0,0,0,.9); outline: none; }
.fs-head { display: flex; align-items: center; gap: 10px; }
.fs-head .fs-sun { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd27a, #ff8a3d 70%); font-size: 20px; }
.fs-head h2 { flex: 1; margin: 0; font: 800 24px/1.05 "Barlow Condensed", sans-serif; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.fs-head h2 span { color: #ffb36b; }
.fs-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
.fs-close:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.fs-text { margin: 12px 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.fs-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fs-amount { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6,18,32,.6); color: var(--ink); font: 800 16px "Libre Franklin", sans-serif; cursor: pointer; }
.fs-amount:hover { border-color: #ffb36b; }
.fs-amount[aria-pressed="true"] { border-color: #ffb36b; background: linear-gradient(180deg, rgba(255,140,60,.22), rgba(255,140,60,.06)); color: #ffd3a6; box-shadow: 0 0 0 1px #ffb36b inset; }
.fs-emoji { font-size: 30px; line-height: 1.1; }
.fs-cta { display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; text-align: center; text-decoration: none;
  font-weight: 800; font-size: 16px; color: #2a0f00; background: linear-gradient(90deg, #ffc46b, #ff8a3d); }
.fs-cta:hover { filter: brightness(1.06); }
.fs-sub { margin: 6px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.fs-venmo { display: block; margin-top: 8px; text-align: center; font-size: 14px; font-weight: 700; color: #ffb36b; }
@media (max-width: 640px) {
  .fs-pill { right: 12px; bottom: 12px; padding: 8px 14px 8px 10px; font-size: 13px; }
  .fs-card { right: 0; left: 0; bottom: 0; width: auto; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; border-bottom: 0; }
  .fs-emoji { font-size: 26px; }
}
