/* Sukriti Welfare Society — shared styles: top-bar controls and high-contrast mode */
.tb-btn { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); padding: 3px 10px; line-height: 1.3; white-space: nowrap; cursor: pointer; transition: border-color .2s, color .2s; background: transparent; color: inherit; font: inherit; }
.tb-btn:hover, .tb-btn[aria-pressed="true"] { border-color: #F08A24; color: #fff; }
.tb-btn.tb-accent { background: #C85E16; border-color: #C85E16; color: #fff; }
.tb-btn.tb-accent:hover { background: #F08A24; border-color: #F08A24; }
html[lang="hi"] body { font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif; }
html[lang="hi"] .font-serif { font-family: 'Fraunces', 'Tiro Devanagari Hindi', Georgia, serif; }
html[lang="hi"] .font-hand { font-family: 'Caveat', 'Kalam', cursive; }

/* ---------- High contrast (Aa+) ---------- */
html.hc body { background: #050505 !important; color: #fff !important; font-size: 105%; }
html.hc body *:not(img):not(video):not(canvas):not(svg):not(path):not(circle) { color: #fff !important; border-color: #FACC15 !important; text-shadow: none !important; box-shadow: none !important; background-image: none !important; }
html.hc header, html.hc footer, html.hc main, html.hc section, html.hc article, html.hc aside, html.hc form, html.hc nav, html.hc figure, html.hc dl, html.hc fieldset,
html.hc .modal .panel, html.hc [class*="bg-white"], html.hc [class*="bg-parchment"], html.hc [class*="bg-burgundy"], html.hc [class*="bg-ink"], html.hc [class*="bg-ochre"], html.hc [class*="bg-olive"], html.hc .paper-texture { background-color: #0a0a0a !important; }
html.hc [class*="bg-gradient"], html.hc .absolute.inset-0[class*="from-"] { background: rgba(0,0,0,.78) !important; }
html.hc a, html.hc a *, html.hc [role="link"], html.hc [role="link"] *, html.hc .text-burgundy, html.hc .text-ochre, html.hc .text-ochre-light, html.hc .text-olive { color: #FACC15 !important; }
html.hc button, html.hc .rounded-full[class*="bg-"], html.hc a.rounded-full { background: #000 !important; color: #FACC15 !important; border: 2px solid #FACC15 !important; }
html.hc button *, html.hc a.rounded-full * { color: #FACC15 !important; }
html.hc input, html.hc textarea, html.hc select { background: #000 !important; color: #fff !important; border: 2px solid #FACC15 !important; }
html.hc ::placeholder { color: #d4d4d4 !important; opacity: 1; }
html.hc :focus-visible { outline: 3px solid #FACC15 !important; outline-offset: 2px; }
html.hc .chapter-pill.active, html.hc .amt.active, html.hc .mamt.active, html.hc .freq.active, html.hc .tab.active { background: #FACC15 !important; color: #000 !important; }
html.hc .chapter-pill.active *, html.hc .tab.active * { color: #000 !important; }
html.hc .progress-fill { background: #FACC15 !important; }
html.hc img { filter: contrast(1.05); }
html.hc .opacity-25 img, html.hc .opacity-40 img { opacity: .5; }
.chapter-pill.active { background: #7A1230; color: #FAF6F0; border-color: #7A1230; }
details > summary::-webkit-details-marker { display: none; }
/* Crisper, higher-contrast text */
body { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; text-rendering: optimizeLegibility; }
p, li, td, dd, summary { -webkit-text-stroke: 0.15px currentColor; }

/* Pledge drive button (right edge, blinking) */
.pledge-fab { position: fixed; right: 0; top: 46%; z-index: 45; display: flex; align-items: center; gap: .6rem; max-width: 270px;
  padding: .85rem 1.1rem .85rem 1rem; border-radius: 999px 0 0 999px; background: #7A1230; color: #FFF8E7;
  font: 700 .95rem/1.25 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif; cursor: pointer; text-decoration: none;
  border: 2px solid #F0B429; border-right: 0; box-shadow: 0 10px 25px rgba(76,10,29,.35); animation: pledgeBlink 1.3s ease-in-out infinite; }
.pledge-fab .pf-ico { flex: none; width: 34px; height: 34px; border-radius: 999px; background: #F0B429; color: #4C0A1D; display: grid; place-items: center; }
.pledge-fab .pf-ico svg { width: 20px; height: 20px; }
.pledge-fab:hover, .pledge-fab:focus-visible { animation-play-state: paused; background: #9C1A3C; outline: none; }
@keyframes pledgeBlink {
  0%, 100% { background: #7A1230; box-shadow: 0 0 0 0 rgba(240,180,41,.75), 0 10px 25px rgba(76,10,29,.35); }
  50% { background: #C85E16; box-shadow: 0 0 0 10px rgba(240,180,41,0), 0 10px 25px rgba(76,10,29,.35); }
}
@media (max-width: 640px) {
  .pledge-fab { top: auto; bottom: 88px; max-width: 210px; font-size: .82rem; padding: .65rem .8rem .65rem .7rem; }
  .pledge-fab .pf-ico { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .pledge-fab { animation: none; } }
@media print { .pledge-fab { display: none !important; } }

html[lang="hi"] .dup-hi { display: none !important; }
