.noel-donation {
  position:fixed; right:20px; bottom:20px; width:252px; max-width:calc(100vw - 24px);
  z-index:25; border-radius:14px; border:1px solid #ffc58b;
  background:#ed7f10; color:#20252a; box-shadow:0 8px 30px #0003;
  font:16px/1.4 'DM Sans',Arial,sans-serif;
}
.noel-donation[hidden],.noel-donation [hidden] { display:none; }
.noel-donation a { display:block; padding:18px; color:inherit; text-decoration:none; border-radius:14px; }
.noel-donation-title { display:block; padding-right:34px; font-weight:800; font-size:18px; }
.noel-donation-amount { display:block; margin:10px 0 4px; font-size:30px; line-height:1.15; font-weight:800; font-variant-numeric:tabular-nums; }
.noel-donation-amount.is-pending { font-size:16px; line-height:1.4; }
.noel-donation-label,.noel-donation-date { display:block; margin-top:5px; font-size:14px; }
.noel-donation-action { display:block; margin-top:12px; font-size:14px; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.noel-donation-toggle {
  position:absolute; top:4px; right:4px; width:44px; height:44px; border:0;
  background:transparent; color:inherit; font:700 23px Arial,sans-serif; cursor:pointer;
}
.noel-donation a:focus-visible,.noel-donation-toggle:focus-visible { outline:3px solid #20252a; outline-offset:3px; }
.noel-donation.is-collapsed .noel-donation-content { display:none; }
.noel-donation a:hover { background:#ffad3540; }
@media(max-width:900px) {
  .noel-donation { right:12px; bottom:calc(88px + env(safe-area-inset-bottom)); width:215px; }
  .noel-donation a { padding:14px; }
  .noel-donation-title { font-size:16px; }
  .noel-donation-amount { font-size:26px; }
}
body:has(input:focus,textarea:focus,select:focus) .noel-donation { visibility:hidden; }

.noel-donation {
  width:320px; right:24px; bottom:24px; border:3px solid #ed7f10;
  background:#20252a; color:#fff; box-shadow:0 10px 35px #0006;
  animation:noel-counter-arrive .55s ease-out both,noel-counter-glow 1.5s .6s 3;
}
.noel-donation a { padding:20px; }
.noel-donation-title { font-size:24px; color:#ff9f3d; }
.noel-donation-amount { margin-top:12px; font-size:58px; color:#fff; }
.noel-donation-label { font-size:16px; }
.noel-donation-date { color:#d0d4d7; font-size:14px; }
.noel-donation-action { margin-top:16px; padding:11px 14px; background:#ed7f10; color:#20252a; text-align:center; border-radius:7px; text-decoration:none; }
.noel-donation a:hover { background:#ffffff08; }
.noel-donation a:focus-visible,.noel-donation-toggle:focus-visible { outline-color:#ffc07e; }
@keyframes noel-counter-arrive { from { opacity:0; transform:translateY(25px); } to { opacity:1; transform:none; } }
@keyframes noel-counter-glow { 50% { box-shadow:0 0 0 7px #ed7f1040,0 10px 35px #0006; } }
@media(max-width:900px) {
  .noel-donation { width:280px; right:12px; bottom:calc(88px + env(safe-area-inset-bottom)); }
  .noel-donation a { padding:14px 16px; }
  .noel-donation-title { font-size:21px; }
  .noel-donation-amount { font-size:44px; margin-top:6px; }
  .noel-donation-label { font-size:14px; }
  .noel-donation-action { margin-top:10px; padding:10px; }
}
@media(prefers-reduced-motion:reduce) { .noel-donation { animation:none; } }

.noel-donation .donation-odometer {
  display:flex; align-items:center; gap:3px; margin:14px 0 10px;
  font-size:var(--wheel-font,38px); font-weight:800; line-height:1.2;
  font-family:'Courier New',monospace; font-variant-numeric:tabular-nums;
}
.odometer-wheel {
  display:block; position:relative; flex:0 0 .72em; height:1.2em; overflow:hidden;
  border-radius:4px; background:linear-gradient(#f4f4ed,#fff 45%,#e4e4df); color:#20252a;
  box-shadow:inset 0 2px 5px #0003,0 1px 0 #fff5; text-align:center;
}
.odometer-wheel::after { content:''; position:absolute; top:50%; left:0; right:0; height:1px; background:#20252a15; pointer-events:none; }
.odometer-strip { display:block; will-change:transform; }
.odometer-strip > span { display:block; height:1.2em; line-height:1.2; }
.odometer-wheel.odometer-cents { background:linear-gradient(#a51f22,#cc3535 45%,#a81d21); color:#fff; }
.odometer-separator { align-self:flex-end; }
.odometer-currency { font-size:.72em; margin-left:5px; }
