
.jc-count-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:16px;overflow:hidden;overscroll-behavior:contain}
.jc-count-modal.is-open{display:flex}
.jc-count-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);touch-action:none}
.jc-count-card{position:relative;z-index:1;width:min(92vw,620px);max-height:calc(100dvh - 32px);margin:0;background:#fff;border-radius:22px;padding:34px 26px 28px;text-align:center;box-shadow:0 22px 60px rgba(0,0,0,.28);outline:none;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}
.jc-count-close{position:sticky;z-index:5;top:0;float:right;margin:-22px -12px 0 0;border:0;background:rgba(255,255,255,.96);border-radius:999px;font-size:30px;line-height:1;color:#666;cursor:pointer;padding:4px 8px}
body.jc-count-lock{overflow:hidden!important}
.jc-count-heart{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#c8102e;color:#fff;font-size:32px;margin:0 auto 16px}
.jc-count-card h2{margin:0 30px 10px;font-size:clamp(1.5rem,4vw,2rem);color:#111}
.jc-count-card p{color:#555;line-height:1.5;margin:0 auto 18px;max-width:430px}
.jc-count-number{margin:18px auto 8px;padding:18px;border-radius:16px;background:#f7f7f7}
.jc-count-number strong{display:block;font-size:2.25rem;line-height:1;color:#c8102e}
.jc-count-number span{display:block;margin-top:8px;font-weight:800;color:#222}
.jc-count-total{font-size:.9rem;color:#666;margin:10px 0 20px}
.jc-share-btn,.jc-done-btn{border:0;border-radius:999px;padding:13px 20px;font-weight:900;cursor:pointer;margin:5px}
.jc-share-btn{background:#c8102e;color:#fff}
.jc-done-btn{background:#ededed;color:#222}
@media(max-width:520px){.jc-count-modal{padding:10px}.jc-count-card{width:100%;max-height:calc(100dvh - 20px);padding:30px 18px 24px;border-radius:18px}.jc-share-btn,.jc-done-btn{display:block;width:100%;margin:9px 0}}

/* Public JuClick counter shown beside each live cause action. */
.jc-public-count{
  display:block;
  width:max-content;
  max-width:min(100%,520px);
  margin:12px 0 0;
  padding:9px 13px;
  border:1px solid rgba(200,16,46,.18);
  border-radius:999px;
  background:#fff7f8;
  color:#444;
  font-size:.88rem;
  line-height:1.25;
  box-shadow:0 3px 12px rgba(0,0,0,.05)
}
.jc-public-count-number{font-weight:900;color:#c8102e}
.jc-public-count-label{font-weight:750;color:#333}
.jc-public-count-overall{color:#666}
@media(max-width:520px){
  .jc-public-count{width:auto;max-width:100%;border-radius:14px;text-align:center;font-size:.82rem}
  .jc-public-count-overall{display:block;margin-top:3px}
}

/* ZIP59 Milestone 1: cause-first JuClicker share identity. */
.jc-share-card-link{display:block;width:min(100%,460px);margin:16px auto 8px;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.16);line-height:0}
.jc-share-card-link[hidden]{display:none}
.jc-share-card-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#111}
.jc-share-phrase{font-weight:900!important;color:#111!important;font-size:1.05rem;line-height:1.3!important;margin:10px auto 14px!important}
.jc-share-phrase[hidden]{display:none}
@media(max-width:520px){.jc-share-card-link{margin-top:12px}.jc-share-phrase{font-size:.95rem}}


/* ZIP62 integrated Milestone 1: cause first, voluntary JuClicker membership. */
.jc-count-card{width:min(94vw,720px);max-height:calc(100dvh - 24px);padding:24px 24px 22px}
.jc-count-heart{width:52px;height:52px;font-size:25px;margin-bottom:10px}
.jc-count-card h2{font-size:clamp(1.35rem,3.5vw,1.85rem);margin-bottom:8px}
.jc-count-card p{margin-bottom:12px;line-height:1.38}
.jc-count-number{margin:12px auto 6px;padding:12px}
.jc-count-number strong{font-size:1.9rem}
.jc-count-total{margin:7px 0 10px}
.jc-share-card-link{width:min(100%,420px);margin:10px auto 6px}
.jc-share-phrase{margin:7px auto 9px!important;font-size:.96rem}
.jc-share-btn{display:block;width:min(100%,420px);margin:8px auto;padding:15px 22px;font-size:1.02rem;box-shadow:0 7px 18px rgba(200,16,46,.2)}
.jc-join-invite{width:min(100%,420px);margin:14px auto 4px;padding-top:12px;border-top:1px solid #e8e8e8}
.jc-join-invite[hidden]{display:none!important}
.jc-join-kicker{font-weight:850!important;color:#222!important;margin:0 0 8px!important}
.jc-join-btn,.jc-register-submit{border:0;border-radius:999px;background:#111;color:#fff;font-weight:900;padding:13px 20px;cursor:pointer;width:100%}
.jc-join-note{font-size:.78rem!important;color:#777!important;margin:6px 0 4px!important}
.jc-done-btn{padding:10px 18px}
.jc-register-pane,.jc-welcome-pane{max-width:520px;margin:0 auto}
.jc-register-pane[hidden],.jc-welcome-pane[hidden],.jc-impact-pane[hidden]{display:none!important}
.jc-register-form{text-align:left;margin:16px auto 0}
.jc-register-form label{display:block;font-weight:800;color:#222;margin:11px 0}
.jc-register-form label span{font-weight:500;color:#777;font-size:.86rem}
.jc-register-form input:not([type="checkbox"]),.jc-register-form select{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #d6d6d6;border-radius:10px;background:#fff;color:#111;font:inherit;padding:12px 13px}
.jc-register-form input:focus,.jc-register-form select:focus{outline:3px solid rgba(200,16,46,.14);border-color:#c8102e}
.jc-reg-check{display:flex!important;align-items:flex-start;gap:9px;font-weight:500!important;line-height:1.35}
.jc-reg-check input{margin-top:3px;flex:0 0 auto}
.jc-register-submit{background:#c8102e;margin-top:8px}
.jc-register-submit:disabled{opacity:.65;cursor:wait}
.jc-register-status{min-height:1.2em;margin-top:9px;text-align:center;color:#a20d26;font-weight:700;font-size:.88rem}
.jc-back-btn{border:0;background:transparent;color:#555;text-decoration:underline;font-weight:750;cursor:pointer;margin-top:9px}
.jc-welcome-check{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:3px auto 12px;background:#16843c;color:#fff;font-size:30px;font-weight:900}
.jc-id-card{width:min(100%,350px);box-sizing:border-box;margin:18px auto;padding:18px;border:2px solid #c8102e;border-radius:16px;background:#fff8f9}
.jc-id-card span,.jc-id-card small{display:block;color:#666;font-weight:800;letter-spacing:.04em}
.jc-id-card strong{display:block;color:#111;font-size:clamp(1.65rem,5vw,2.2rem);margin:8px 0}
.jc-welcome-note{font-size:.88rem!important;color:#666!important}
.jc-done-wide{display:block;width:min(100%,350px);margin:12px auto 0;background:#c8102e;color:#fff}
@media(min-width:700px) and (min-height:720px){.jc-count-card{overflow-y:auto}}
@media(max-width:520px){.jc-count-card{padding:20px 15px 18px;max-height:calc(100dvh - 16px)}.jc-count-heart{width:46px;height:46px;font-size:23px}.jc-count-number{padding:10px}.jc-share-card-link{margin-top:8px}.jc-share-btn{font-size:1rem;padding:14px 18px}.jc-register-pane,.jc-welcome-pane{padding:0 2px}}

/* ZIP63 responsive popup refinement from iPad landscape testing. */
.jc-count-close{position:absolute;top:14px;right:14px;float:none;margin:0}
.jc-impact-pane{max-width:100%;margin:0 auto}
.jc-impact-pane .jc-share-card-link{margin-bottom:8px}
.jc-share-phrase{display:none!important}

/* Compact the complete JuClick journey on landscape/tablet screens so the
   Share and Become a JuClicker actions remain visible without moving the page. */
@media (min-width:700px) and (max-height:900px){
  .jc-count-modal{padding:12px}
  .jc-count-card{width:min(92vw,680px);max-height:calc(100dvh - 24px);padding:18px 22px 16px}
  .jc-count-heart{width:46px;height:46px;font-size:22px;margin-bottom:7px}
  .jc-count-card h2{font-size:1.55rem;margin:0 30px 5px}
  .jc-count-card p{font-size:.94rem;line-height:1.28;margin-bottom:7px}
  .jc-count-number{margin:7px auto 4px;padding:8px 12px}
  .jc-count-number strong{font-size:1.65rem}
  .jc-count-number span{margin-top:5px;font-size:.94rem}
  .jc-count-total{font-size:.84rem;margin:4px 0 6px}
  .jc-share-card-link{width:min(100%,340px);margin:6px auto}
  .jc-share-btn{width:min(100%,390px);margin:6px auto;padding:12px 18px;font-size:.96rem}
  .jc-join-invite{width:min(100%,390px);margin:7px auto 2px;padding-top:7px}
  .jc-join-kicker{font-size:.92rem!important;margin-bottom:5px!important}
  .jc-join-btn{padding:11px 18px}
  .jc-join-note{margin:4px 0 2px!important}
  .jc-impact-pane>.jc-done-btn{padding:7px 15px;margin:2px}
  .jc-register-pane,.jc-welcome-pane{max-width:500px}
  .jc-register-pane>p{margin-bottom:8px}
  .jc-register-form{margin-top:8px}
  .jc-register-form label{margin:7px 0}
  .jc-register-form input:not([type="checkbox"]),.jc-register-form select{margin-top:4px;padding:9px 11px}
  .jc-register-submit{padding:11px 18px;margin-top:5px}
  .jc-register-status{margin-top:5px}
  .jc-back-btn{margin-top:5px}
  .jc-welcome-check{width:48px;height:48px;font-size:25px;margin-bottom:7px}
  .jc-id-card{margin:10px auto;padding:13px}
  .jc-welcome-note{margin-bottom:7px!important}
  .jc-done-wide{margin-top:7px}
}

/* On phones and when the on-screen keyboard reduces viewport height,
   scroll only inside the popup; the page behind remains locked. */
@media (max-width:699px), (max-height:620px){
  .jc-count-card{overflow-y:auto;overscroll-behavior:contain}
}

/* ZIP64: enlarge the impact/share experience on tablet landscape and desktop.
   Keep the share artwork proportional and readable while preserving the fixed background. */
@media (min-width:900px) and (max-height:900px){
  .jc-count-card{width:min(96vw,860px);padding:14px 22px 12px}
  .jc-impact-pane .jc-share-card-link{width:min(100%,460px);margin:5px auto}
  .jc-count-heart{width:42px;height:42px;font-size:21px;margin-bottom:5px}
  .jc-count-card h2{font-size:1.45rem;margin:0 30px 4px}
  .jc-count-card p{font-size:.9rem;line-height:1.22;margin-bottom:5px;max-width:650px}
  .jc-count-number{max-width:650px;margin:5px auto 3px;padding:7px 12px}
  .jc-count-number strong{font-size:1.55rem}
  .jc-count-number span{margin-top:3px;font-size:.9rem}
  .jc-count-total{font-size:.8rem;margin:3px 0 4px}
  .jc-share-btn{width:min(100%,460px);margin:5px auto;padding:11px 18px}
  .jc-join-invite{width:min(100%,460px);margin:5px auto 1px;padding-top:5px}
  .jc-join-kicker{font-size:.9rem!important;margin-bottom:4px!important}
  .jc-join-btn{padding:10px 18px}
  .jc-join-note{font-size:.74rem!important;margin:2px 0 1px!important}
  .jc-impact-pane>.jc-done-btn{padding:6px 14px;margin:1px}
}

@media (min-width:1100px) and (min-height:760px){
  .jc-count-card{width:min(94vw,920px)}
  .jc-impact-pane .jc-share-card-link{width:min(100%,520px)}
  .jc-share-btn,.jc-join-invite{width:min(100%,520px)}
}


/* ZIP65: share-first post-JuClick experience. The website explains the process;
   the confirmation popup now gives the emotional share card the visual priority. */
#jc-count-message:empty{display:none!important}
.jc-impact-pane .jc-share-card-link{
  width:min(100%,860px);
  margin:10px auto 10px;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(0,0,0,.18)
}
.jc-impact-pane .jc-share-card-image{aspect-ratio:3/2;object-fit:cover;background:#111}
.jc-impact-pane .jc-share-btn,
.jc-impact-pane .jc-join-invite{width:min(100%,860px)}
.jc-impact-pane .jc-share-btn{min-height:54px;font-size:1.05rem}
.jc-impact-pane .jc-join-btn{min-height:50px;font-size:.98rem}
.jc-impact-pane .jc-join-note{font-size:.9rem!important;color:#444!important;font-weight:650;margin:6px 0 3px!important}
.jc-impact-pane .jc-join-kicker{font-size:1rem!important}

/* Desktop and larger tablets: use the white popup space instead of shrinking the card. */
@media (min-width:900px){
  .jc-count-card{width:min(96vw,1120px);padding:18px 26px 16px}
  .jc-impact-pane .jc-share-card-link{width:min(100%,900px)}
  .jc-impact-pane .jc-share-btn,.jc-impact-pane .jc-join-invite{width:min(100%,900px)}
  .jc-count-number{max-width:900px}
}

/* Landscape tablets/laptops with limited height: compact only the confirmation text,
   not the card. Internal popup scrolling is available if a shorter screen needs it. */
@media (min-width:700px) and (max-height:900px){
  .jc-count-card{width:min(96vw,1080px);padding:12px 22px 12px;overflow-y:auto}
  .jc-count-heart{width:40px;height:40px;font-size:20px;margin-bottom:4px}
  .jc-count-card h2{font-size:1.38rem;margin:0 30px 3px}
  .jc-count-number{margin:5px auto 3px;padding:7px 12px;max-width:900px}
  .jc-count-number strong{font-size:1.5rem}
  .jc-count-number span{margin-top:3px;font-size:.9rem}
  .jc-count-total{font-size:.8rem;margin:3px 0 5px}
  .jc-impact-pane .jc-share-card-link{width:min(100%,820px);margin:5px auto 7px}
  .jc-impact-pane .jc-share-btn{width:min(100%,820px);margin:5px auto;min-height:48px;padding:10px 18px}
  .jc-impact-pane .jc-join-invite{width:min(100%,820px);margin:5px auto 1px;padding-top:5px}
  .jc-impact-pane .jc-join-btn{min-height:46px;padding:9px 18px}
  .jc-impact-pane .jc-join-note{font-size:.84rem!important;margin:4px 0 2px!important}
  .jc-impact-pane>.jc-done-btn{padding:6px 14px;margin:2px}
}

/* Phone portrait: full-width readable card and balanced action buttons. */
@media (max-width:520px){
  .jc-count-modal{padding:6px}
  .jc-count-card{width:100%;max-height:calc(100dvh - 12px);padding:15px 10px 12px;border-radius:16px;overflow-y:auto}
  .jc-count-close{top:8px;right:8px;font-size:26px}
  .jc-count-heart{width:42px;height:42px;font-size:21px;margin-bottom:5px}
  .jc-count-card h2{font-size:1.28rem;line-height:1.12;margin:0 28px 5px}
  .jc-count-number{margin:5px auto 3px;padding:8px 8px;border-radius:13px}
  .jc-count-number strong{font-size:1.55rem}
  .jc-count-number span{font-size:.9rem;line-height:1.18;margin-top:4px}
  .jc-count-total{font-size:.84rem;margin:4px 0 6px}
  .jc-impact-pane .jc-share-card-link{width:100%;margin:6px auto 8px;border-radius:14px}
  .jc-impact-pane .jc-share-btn{width:100%;min-height:52px;margin:6px auto;padding:12px 14px;font-size:1rem}
  .jc-impact-pane .jc-join-invite{width:100%;margin:7px auto 1px;padding-top:6px}
  .jc-impact-pane .jc-join-kicker{font-size:.98rem!important;margin:0 0 6px!important}
  .jc-impact-pane .jc-join-btn{min-height:50px;padding:11px 14px;font-size:.93rem}
  .jc-impact-pane .jc-join-note{font-size:.9rem!important;color:#333!important;margin:5px 0 2px!important}
  .jc-impact-pane>.jc-done-btn{width:auto;display:inline-block;margin:3px auto 0;padding:7px 18px}
}

/* Narrow landscape phones: keep the popup usable without moving the page behind it. */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px){
  .jc-count-card{max-height:calc(100dvh - 10px);overflow-y:auto;padding:10px}
  .jc-impact-pane .jc-share-card-link{width:min(100%,620px)}
}


/* ZIP66: clear continuation after a JuClick. */
.jc-another-btn{display:block;width:min(100%,860px);margin:10px auto 3px;padding:13px 20px;border:2px solid #111;border-radius:999px;background:#fff;color:#111;text-decoration:none;text-align:center;font-weight:900;line-height:1.15}
.jc-another-btn:hover,.jc-another-btn:focus{background:#f5f5f5;color:#111}
.jc-another-wide{width:100%;max-width:520px}
@media (min-width:900px){.jc-impact-pane .jc-another-btn{width:min(100%,900px)}}
@media (min-width:700px) and (max-height:900px){.jc-impact-pane .jc-another-btn{width:min(100%,820px);margin:6px auto 2px;padding:10px 18px}}
@media (max-width:520px){.jc-impact-pane .jc-another-btn{width:100%;min-height:48px;margin:7px auto 2px;padding:12px 14px;font-size:.94rem}}
@media (max-width:900px) and (orientation:landscape) and (max-height:520px){.jc-impact-pane .jc-another-btn{width:min(100%,620px)}}


/* ZIP67: fit the share-first confirmation more naturally to short viewports.
   Keep the emotional card large, but cap it by available height so the primary
   actions stay reachable without excessive scrolling. */
@media (min-width:700px) and (max-height:900px){
  .jc-impact-pane .jc-share-card-link{
    width:min(100%,820px,calc((100dvh - 360px)*1.5));
    min-width:420px;
  }
  .jc-impact-pane .jc-share-btn{margin-top:4px}
  .jc-impact-pane .jc-join-kicker{margin-bottom:3px!important}
  .jc-impact-pane .jc-another-btn{margin-top:5px}
}
@media (max-width:699px) and (orientation:portrait){
  .jc-impact-pane .jc-share-card-link{width:min(100%,calc((100dvh - 390px)*1.5));min-width:0}
}
@media (max-width:900px) and (orientation:landscape) and (max-height:520px){
  .jc-count-heart{width:34px;height:34px;font-size:17px;margin-bottom:2px}
  .jc-count-card h2{font-size:1.12rem;margin-bottom:2px}
  .jc-count-number{padding:5px 8px;margin:3px auto 2px}
  .jc-count-number strong{font-size:1.25rem}
  .jc-count-total{margin:2px 0 3px}
  .jc-impact-pane .jc-share-card-link{width:min(100%,calc((100dvh - 265px)*1.5));min-width:300px;margin:3px auto 4px}
  .jc-impact-pane .jc-share-btn{min-height:44px;margin:4px auto;padding:9px 14px}
  .jc-impact-pane .jc-join-invite{margin:4px auto 1px;padding-top:3px}
  .jc-impact-pane .jc-join-kicker{font-size:.88rem!important;margin-bottom:3px!important}
  .jc-impact-pane .jc-join-btn{min-height:42px;padding:8px 14px}
  .jc-impact-pane .jc-join-note{font-size:.78rem!important;margin:2px 0!important}
  .jc-impact-pane .jc-another-btn{min-height:42px;margin:4px auto 1px;padding:9px 14px}
}

/* ZIP68: tablet-portrait first-view refinement.
   Keep the share card large and proportional while making the primary continuation
   actions visible on initial open. The page behind stays fixed; only the popup may
   scroll on unusually short viewports. */
@media (min-width:700px) and (max-width:1100px) and (orientation:portrait){
  .jc-count-modal{padding:8px}
  .jc-count-card{width:min(96vw,1000px);max-height:calc(100dvh - 16px);padding:10px 18px 10px;overflow-y:auto}
  .jc-count-close{top:10px;right:10px}
  .jc-count-heart{width:42px;height:42px;font-size:21px;margin-bottom:4px}
  .jc-count-card h2{font-size:1.42rem;line-height:1.12;margin:0 30px 3px}
  .jc-count-number{max-width:900px;margin:4px auto 2px;padding:6px 10px}
  .jc-count-number strong{font-size:1.48rem}
  .jc-count-number span{margin-top:3px;font-size:.9rem}
  .jc-count-total{font-size:.8rem;margin:2px 0 4px}
  .jc-impact-pane .jc-share-card-link{
    width:min(100%,760px,calc((100dvh - 420px)*1.5));
    min-width:0;
    margin:4px auto 5px;
    border-radius:18px
  }
  .jc-impact-pane .jc-share-btn{width:min(100%,900px);min-height:48px;margin:4px auto;padding:10px 16px;font-size:1rem}
  .jc-impact-pane .jc-join-invite{width:min(100%,900px);margin:4px auto 1px;padding-top:3px}
  .jc-impact-pane .jc-join-kicker{font-size:.94rem!important;margin:0 0 3px!important}
  .jc-impact-pane .jc-join-btn{min-height:44px;padding:9px 16px;font-size:.94rem}
  .jc-impact-pane .jc-join-note{font-size:.8rem!important;margin:2px 0!important}
  .jc-impact-pane .jc-another-btn{width:min(100%,900px);min-height:44px;margin:4px auto 1px;padding:9px 16px}
  .jc-impact-pane>.jc-done-btn{display:inline-block;width:auto;margin:2px auto 0;padding:6px 16px}
}


/* ZIP69: image-first popup + compact responsive three-action menu.
   Larger screens use one horizontal outlined row. iPhone portrait ALWAYS stacks. */
.jc-impact-pane .jc-share-card-link{
  width:min(100%,980px);
  margin:6px auto 10px;
  border-radius:18px;
  box-shadow:none;
}
.jc-impact-pane .jc-share-card-image{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.jc-action-row{
  width:min(100%,980px);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
.jc-action-row .jc-share-btn,
.jc-action-row .jc-join-invite,
.jc-action-row .jc-another-btn{width:100%;margin:0;padding:0;border-top:0}
.jc-action-row .jc-share-btn,
.jc-action-row .jc-join-btn,
.jc-action-row .jc-another-btn{
  min-height:50px;box-sizing:border-box;border-radius:14px;background:#fff;
  font-size:.88rem;font-weight:900;line-height:1.1;padding:10px 8px;box-shadow:none;
  display:flex;align-items:center;justify-content:center;text-align:center
}
.jc-action-row .jc-share-btn{border:2px solid #c8102e;color:#c8102e}
.jc-action-row .jc-join-btn{border:2px solid #111;color:#111}
.jc-action-row .jc-another-btn{border:2px solid #2f7d32;color:#2f7d32;text-decoration:none}
.jc-action-row .jc-share-btn:hover,.jc-action-row .jc-share-btn:focus{background:#fff5f7}
.jc-action-row .jc-join-btn:hover,.jc-action-row .jc-join-btn:focus{background:#f5f5f5}
.jc-action-row .jc-another-btn:hover,.jc-action-row .jc-another-btn:focus{background:#f3faf3;color:#2f7d32}

@media (min-width:700px){
  .jc-count-card{width:min(96vw,1120px)}
  .jc-impact-pane .jc-share-card-link,.jc-action-row{width:min(100%,980px)}
}
@media (min-width:700px) and (max-height:900px){
  .jc-count-card{padding:10px 18px 10px}
  .jc-count-heart{width:38px;height:38px;font-size:19px;margin-bottom:3px}
  .jc-count-card h2{font-size:1.3rem;margin:0 30px 2px}
  .jc-count-number{margin:3px auto 2px;padding:5px 10px;max-width:980px}
  .jc-count-number strong{font-size:1.42rem}
  .jc-count-number span{margin-top:2px;font-size:.86rem}
  .jc-count-total{font-size:.78rem;margin:2px 0 4px}
  .jc-impact-pane .jc-share-card-link{width:min(100%,900px,calc((100dvh - 235px)*1.5));margin:3px auto 7px}
  .jc-action-row{width:min(100%,900px,calc((100dvh - 235px)*1.5));gap:8px}
  .jc-action-row .jc-share-btn,.jc-action-row .jc-join-btn,.jc-action-row .jc-another-btn{min-height:46px;font-size:.84rem;padding:8px 6px}
}
/* iPad portrait: keep the artwork dominant and put all three actions on one row. */
@media (min-width:700px) and (max-width:1100px) and (orientation:portrait){
  .jc-count-card{width:min(97vw,1040px);padding:9px 14px}
  .jc-impact-pane .jc-share-card-link{width:min(100%,880px,calc((100dvh - 235px)*1.5));margin:3px auto 7px}
  .jc-action-row{width:min(100%,880px,calc((100dvh - 235px)*1.5));gap:8px}
}
/* iPhone portrait: mandatory vertical action stack for readability/tap comfort. */
@media (max-width:699px) and (orientation:portrait){
  .jc-count-card{padding:12px 9px 11px}
  .jc-impact-pane .jc-share-card-link{width:100%;margin:5px auto 8px}
  .jc-action-row{width:100%;display:flex;flex-direction:column;gap:7px}
  .jc-action-row .jc-share-btn,.jc-action-row .jc-join-btn,.jc-action-row .jc-another-btn{min-height:48px;font-size:.92rem;padding:10px 12px}
}
/* Very narrow landscape phones stack too rather than squeezing labels. */
@media (max-width:760px) and (orientation:landscape){
  .jc-action-row{grid-template-columns:1fr;gap:6px}
}
