/* Donation success — Kindora redesign. Scoped to html.ts-ds-on */
html.ts-ds-on .ts-ds-legacy{display:block !important;padding:0 !important;background:#f7f5f2 !important}
html.ts-ds-ready .ts-ds-legacy > .container{display:none !important}
html.ts-ds-on .ts-ds{--o:#f36015;--ot:#fef2ec;--ink:#1d1b19;--mu:#6b645e;--ln:#ece7e1;--ok:#17a34a;
  font-family:inherit;color:var(--ink);max-width:1080px;margin:0 auto;padding:28px 16px 56px}
.ts-ds *{box-sizing:border-box}
.ts-ds-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start}
.ts-ds-card{background:#fff;border:1px solid var(--ln);border-radius:18px;box-shadow:0 6px 24px rgba(29,27,25,.05)}
.ts-ds-hero{padding:32px 28px 26px;text-align:center;position:relative;overflow:hidden}
.ts-ds-hero:before{content:"";position:absolute;inset:0 0 auto 0;height:120px;background:linear-gradient(180deg,var(--ot),rgba(254,242,236,0))}
.ts-ds-tick{position:relative;width:76px;height:76px;margin:0 auto 16px;border-radius:50%;background:var(--ok);display:grid;place-items:center;box-shadow:0 0 0 10px rgba(23,163,74,.12);animation:tsDsPop .5s cubic-bezier(.2,1.4,.4,1) both}
.ts-ds-tick svg{width:38px;height:38px}
.ts-ds-tick path{stroke:#fff;stroke-width:3.2;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:tsDsDraw .45s .35s ease-out forwards}
@keyframes tsDsPop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes tsDsDraw{to{stroke-dashoffset:0}}
.ts-ds-eyebrow{position:relative;display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ok);background:#e9f7ef;border-radius:99px;padding:4px 12px;margin-bottom:10px}
.ts-ds-h{position:relative;font-size:clamp(24px,3.4vw,32px);font-weight:800;line-height:1.2;margin:0 0 8px;color:var(--ink)}
.ts-ds-sub{position:relative;font-size:16px;line-height:1.55;color:var(--mu);margin:0 auto;max-width:460px}
.ts-ds-sub b{color:var(--ink)}
.ts-ds-amt{position:relative;font-size:40px;font-weight:800;color:var(--o);margin:18px 0 4px;letter-spacing:-.01em}
.ts-ds-amtl{position:relative;font-size:13px;color:var(--mu)}
.ts-ds-camp{display:flex;gap:14px;align-items:center;margin:22px 0 0;padding:12px;border:1px solid var(--ln);border-radius:14px;text-align:left;text-decoration:none;color:inherit;background:#fff;position:relative}
.ts-ds-camp:hover{border-color:#fbd0b9}
.ts-ds-camp img{width:84px;height:62px;border-radius:10px;object-fit:cover;flex:none;background:var(--ot)}
.ts-ds-camp small{display:block;font-size:12px;color:var(--mu);margin-bottom:2px}
.ts-ds-camp strong{display:block;font-size:15px;line-height:1.35;color:var(--ink)}
.ts-ds-sec{padding:22px 24px}
.ts-ds-sec + .ts-ds-sec{border-top:1px solid var(--ln)}
.ts-ds-t{font-size:16px;font-weight:700;margin:0 0 4px;color:var(--ink)}
.ts-ds-p{font-size:14px;color:var(--mu);margin:0 0 14px;line-height:1.5}
.ts-ds-share{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.ts-ds-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;border-radius:12px;font-size:15px;font-weight:700;text-decoration:none !important;border:1px solid var(--ln);background:#fff;color:var(--ink) !important;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
.ts-ds-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.08)}
.ts-ds-btn:focus-visible{outline:3px solid #fbd0b9;outline-offset:2px}
.ts-ds-btn svg{width:18px;height:18px;flex:none}
.ts-ds-wa{background:#25d366;border-color:#25d366;color:#fff !important}
.ts-ds-fb{background:#1877f2;border-color:#1877f2;color:#fff !important}
.ts-ds-pri{background:var(--o);border-color:var(--o);color:#fff !important;width:100%}
.ts-ds-sec2{width:100%}
.ts-ds-acts{display:grid;gap:10px}
.ts-ds-rows{margin:0;padding:0;list-style:none}
.ts-ds-rows li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;font-size:14px;border-bottom:1px dashed var(--ln)}
.ts-ds-rows li:last-child{border-bottom:0}
.ts-ds-rows span{color:var(--mu);flex:none}
.ts-ds-rows b{font-weight:600;text-align:right;word-break:break-all;display:flex;align-items:center;gap:6px;justify-content:flex-end}
.ts-ds-rows code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:var(--ink);background:none;padding:0}
.ts-ds-copy{border:0;background:none;color:var(--o);font-size:12px;font-weight:700;cursor:pointer;padding:2px 4px;flex:none}
.ts-ds-note{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--mu);background:#faf8f6;border-radius:12px;padding:12px 14px;margin-top:14px}
.ts-ds-note svg{width:18px;height:18px;flex:none;color:var(--ok);margin-top:1px}
.ts-ds-more{margin-top:28px}
.ts-ds-more h3{font-size:20px;font-weight:800;margin:0 0 14px}
.ts-ds-mgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ts-ds-mc{display:block;text-decoration:none !important;color:inherit;overflow:hidden}
.ts-ds-mc img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;background:var(--ot)}
.ts-ds-mc div{padding:12px 14px 14px}
.ts-ds-mc strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.35;color:var(--ink);min-height:40px}
.ts-ds-mc em{display:inline-block;margin-top:8px;font-style:normal;font-size:14px;font-weight:700;color:var(--o)}
.ts-ds-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#1d1b19;color:#fff;font-size:14px;padding:10px 16px;border-radius:10px;z-index:9999;opacity:0;transition:opacity .2s;pointer-events:none}
.ts-ds-toast.on{opacity:1}
@media (max-width:991px){
  .ts-ds-grid{grid-template-columns:1fr}
  .ts-ds-mgrid{grid-template-columns:1fr 1fr}
}
@media (max-width:575px){
  html.ts-ds-on .ts-ds{padding:16px 12px 40px}
  .ts-ds-hero{padding:26px 18px 20px}
  .ts-ds-sec{padding:18px}
  .ts-ds-amt{font-size:34px}
  .ts-ds-share{grid-template-columns:1fr 1fr}
  .ts-ds-share .ts-ds-cp{grid-column:1/-1}
  .ts-ds-mgrid{grid-template-columns:1fr}
  .ts-ds-mc{display:flex}
  .ts-ds-mc img{width:112px;aspect-ratio:auto;height:auto;min-height:84px}
  .ts-ds-mc strong{min-height:0}
}
@media (prefers-reduced-motion:reduce){.ts-ds-tick,.ts-ds-tick path{animation:none;stroke-dashoffset:0}}

/* 2026-11-14: never flash the old success card. While the new panel loads, show a spinner;
   if the new panel can't load (ts-ds-fail), the old card is shown as a fallback. */
html.ts-ds-route:not(.ts-ds-ready):not(.ts-ds-fail) .bg-white.d-flex:has(.bg_thankyou) > .container{display:none !important}
html.ts-ds-route:not(.ts-ds-ready):not(.ts-ds-fail) .bg-white.d-flex:has(.bg_thankyou)::before{content:"";display:block;width:34px;height:34px;margin:120px auto;border:3px solid #fde3d6;border-top-color:#f36015;border-radius:50%;animation:ts-ds-spin .8s linear infinite}
html.ts-ds-route:not(.ts-ds-ready):not(.ts-ds-fail) .bg-white.d-flex:has(.bg_thankyou){display:block !important;min-height:60vh}
@keyframes ts-ds-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){html.ts-ds-route .bg-white.d-flex:has(.bg_thankyou)::before{animation-duration:2.4s}}
