/* Charities pages: list, each charity, Find your cause, hero motion. Uses the tokens from styles.css. */

/* ---------- Charity avatar (logo or monogram), squircle ---------- */
.ch-av { flex: none; display: grid; place-items: center; background: #D5E8E3; color: #1A7068; font-family: var(--serif); font-weight: 600; overflow: hidden; border-radius: 30%; }
.ch-av.s { width: 48px; height: 48px; font-size: 20px; }
.ch-av.m { width: 72px; height: 72px; font-size: 30px; }
.ch-av.l { width: 112px; height: 112px; font-size: 46px; }
.ch-av.logo { background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.ch-av.logo img { width: 74%; height: 74%; object-fit: contain; }

.ch-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--muted); color: var(--action); font-size: 13px; font-weight: 500; align-self: flex-start; }
.ch-tag svg.i { width: 15px; height: 15px; }

/* ---------- Hero ---------- */
.ch-hero { position: relative; background: var(--deep); color: var(--on-deep); display: grid; grid-template-columns: 1fr var(--wall-w, 584px); min-height: 560px; }
.ch-copy { padding: 64px 0 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ch-copy .eyebrow { color: var(--deep-eyebrow); }
.ch-copy .h-xl { max-width: 560px; }
.ch-copy .body { color: var(--on-deep-2); max-width: 520px; }
.ch-stats { display: flex; gap: 40px; padding-top: 16px; }
.ch-stats > div { display: flex; flex-direction: column; }
.ch-stats svg.i { width: 20px; height: 20px; color: var(--on-deep-2); margin-bottom: 8px; }
.ch-stats .v { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 44px; font-variant-numeric: tabular-nums; }
.ch-stats .l { font-size: 15px; line-height: 20px; color: var(--on-deep-2); }
.ch-copy > * { transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.ch-hero:not([data-step="4"]) .ch-copy > * { opacity: 0; transform: translateY(16px); }
.ch-hero[data-step="4"] .ch-copy > :nth-child(1) { transition-delay: .2s; }
.ch-hero[data-step="4"] .ch-copy > :nth-child(2) { transition-delay: .28s; }
.ch-hero[data-step="4"] .ch-copy > :nth-child(3) { transition-delay: .36s; }
.ch-hero[data-step="4"] .ch-copy > :nth-child(4) { transition-delay: .44s; }
.ch-hero.skipped .ch-copy > * { transition-delay: 0s !important; }

/* the wall: staggered columns drifting up and down (website), two lanes (phone) */
.ch-wall { position: relative; overflow: hidden; display: flex; gap: 16px; padding-left: 24px; --size: 112px; --gap: 16px; }
.ch-wall::before, .ch-wall::after { content: ""; position: absolute; left: 0; right: 0; height: 56px; z-index: 2; pointer-events: none; }
.ch-wall::before { top: 0; background: linear-gradient(180deg, var(--deep), transparent); }
.ch-wall::after { bottom: 0; background: linear-gradient(0deg, var(--deep), transparent); }
.ch-col { position: relative; flex: none; width: var(--size); height: 100%; will-change: transform, opacity; }
.ch-track { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; gap: var(--gap); animation: ch-drift var(--dur) linear infinite; animation-play-state: paused; transform: translateY(var(--from)); }
.ch-hero.running .ch-track { animation-play-state: running; }
.ch-hero.running .ch-wall:hover .ch-track { animation-play-state: paused; }
@keyframes ch-drift { from { transform: translateY(var(--from)); } to { transform: translateY(var(--to)); } }
@keyframes ch-parade { from { transform: translateX(var(--from)); } to { transform: translateX(var(--to)); } }
.ch-track a { display: block; transition: transform .2s; }
.ch-track a:hover { transform: scale(1.04); }

/* intro: one continuous line */
.ch-intro { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ch-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 5px rgba(183, 212, 206, .55)); }
.ch-line path { fill: none; stroke: var(--on-deep); stroke-linecap: round; stroke-linejoin: round; }
.ch-caps { position: absolute; left: 0; right: 0; top: 420px; text-align: center; }
.ch-cap { position: absolute; left: 0; right: 0; margin: 0 auto; max-width: 1000px; font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 48px; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.ch-hero[data-step="1"] .ch-cap:nth-child(1), .ch-hero[data-step="2"] .ch-cap:nth-child(2), .ch-hero[data-step="3"] .ch-cap:nth-child(3) { opacity: 1; transform: none; }
.ch-skip { position: absolute; right: 32px; bottom: 28px; z-index: 4; color: var(--on-deep-2); font-size: 14px; font-weight: 500; padding: 6px 4px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.ch-skip:hover { color: var(--on-deep); }
.ch-hero[data-step="1"] .ch-skip, .ch-hero[data-step="2"] .ch-skip, .ch-hero[data-step="3"] .ch-skip { opacity: 1; pointer-events: auto; }

.m .ch-hero { display: flex; flex-direction: column; min-height: 0; padding: 24px; }
.m .ch-copy { padding: 0; gap: 12px; }
.m .ch-copy .body { font-size: 16px; line-height: 23px; }
.m .ch-stats { gap: 12px; padding-top: 8px; }
.m .ch-stats > div { flex: 1; }
.m .ch-stats .v { font-size: 26px; line-height: 30px; }
.m .ch-stats .l { font-size: 13px; line-height: 17px; }
.m .ch-wall { display: block; flex: none; height: calc(2 * var(--size) + var(--gap)); margin: 20px -24px 0; padding: 0; --size: 72px; --gap: 10px; }
.m .ch-wall::before, .m .ch-wall::after { display: none; }
.m .ch-col { position: absolute; left: 0; width: auto; height: var(--size); }
.m .ch-track { flex-direction: row; animation-name: ch-parade; transform: translateX(var(--from)); }
.m .ch-cap { font-size: 28px; line-height: 32px; left: 24px; right: 24px; }
.m .ch-skip { right: 24px; bottom: 20px; font-size: 13px; }

/* ---------- Find your cause ---------- */
.ch-cause { background: var(--card); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.ch-cause-head { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.ch-cause-head .body { font-size: 17px; line-height: 25px; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-size: 15px; font-weight: 500; transition: background-color .15s, border-color .15s, color .15s; }
.ch-chip svg.i { width: 20px; height: 20px; color: var(--action); }
.ch-chip:hover { border-color: var(--action); }
.ch-chip.on { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.ch-chip.on svg.i { color: var(--on-deep); }
.ch-res { display: flex; flex-direction: column; gap: 20px; padding-top: 4px; animation: ch-in .35s ease; }
@keyframes ch-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ch-res-count { margin: 0; font-size: 16px; color: var(--txt2); }
.ch-res-count b { color: var(--txt); font-weight: 600; }
.ch-match { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ch-match a { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-card); background: var(--page); transition: box-shadow .15s; }
.ch-match a:hover { box-shadow: 0 0 0 2px var(--action) inset; }
.ch-match .t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ch-match .t b { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 23px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ch-match .t span { font-size: 14px; color: var(--txt2); }
.ch-res-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ch-link-btn { color: var(--action); font-size: 15px; font-weight: 500; padding: 0 8px; height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.ch-donate { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 14px; color: var(--txt2); }
.ch-donate svg.i { color: var(--action); width: 18px; height: 18px; }
.ch-pick-hint { margin: 0; font-size: 14px; color: var(--txt2); }
.m .ch-cause { padding: 24px 20px; gap: 18px; }
.m .ch-cause-head .body { font-size: 15px; line-height: 22px; }
/* phone: two rows that scroll sideways and run off the card edge */
.m .ch-chips { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; scrollbar-width: none; }
.ch-chip-row { display: flex; gap: 8px; width: max-content; }
.m .ch-chips::-webkit-scrollbar { display: none; }
.m .ch-chip { white-space: nowrap; }
.m .ch-chip { height: 40px; font-size: 14px; padding: 0 14px 0 12px; }
.m .ch-match { grid-template-columns: 1fr; gap: 8px; }
.m .ch-match a { padding: 12px; }
.m .ch-match .t b { font-size: 18px; line-height: 21px; }
.m .ch-res-actions .btn { flex: 1; }

/* ---------- Sections ---------- */
.ch-sec { display: flex; flex-direction: column; gap: 24px; }
.ch-sec-head { display: flex; align-items: flex-end; gap: 16px; }
.ch-sec-head > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ch-sec-head p { margin: 0; color: var(--txt2); font-size: 16px; }
.ch-see { color: var(--action); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.m .ch-sec { gap: 16px; }
.m .ch-sec-head p { font-size: 14px; }

/* featured cards */
.ch-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ch-fcard { background: var(--card); border-radius: var(--r-card); box-shadow: var(--raised); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.ch-fcard-h { display: flex; gap: 14px; align-items: center; min-height: 77px; }
.ch-fcard-h b { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 28px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ch-fcard-h span { font-size: 14px; color: var(--txt2); }
.ch-fcard-h .t { display: flex; flex-direction: column; gap: 2px; }
.ch-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; border-radius: var(--r-thumb); background: var(--muted); }
/* cut-out photos come on white, like the planned pipeline output */
.ch-thumbs img[src*="/cut/"] { background: var(--card); padding: 6px; }
.ch-fcard-f { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 500; }
.ch-fcard-f span { display: inline-flex; gap: 6px; align-items: center; }
.ch-fcard-f svg.i { width: 18px; height: 18px; color: var(--action); }
.ch-fcard-f a { color: var(--action); display: inline-flex; gap: 2px; align-items: center; }
.m .ch-feat { display: flex; overflow-x: auto; gap: 12px; padding: 4px 20px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.m .ch-feat::-webkit-scrollbar { display: none; }
.m .ch-fcard { width: 296px; flex: none; padding: 16px; gap: 16px; scroll-snap-align: start; }
.m .ch-fcard-h { min-height: 66px; }
.m .ch-fcard-h b { font-size: 20px; line-height: 24px; }
.m .ch-fcard-f { font-size: 14px; }

/* all charities */
.ch-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ch-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; width: 400px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--txt2); }
.ch-search input { border: 0; outline: 0; flex: 1; background: none; font-size: 16px; color: var(--txt); min-width: 0; }
.ch-sort { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-size: 15px; font-weight: 500; }
.ch-sort.on { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.ch-count { margin-left: auto; color: var(--txt2); font-size: 15px; }
.ch-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.ch-filters .pill { height: 36px; font-size: 14px; }
.ch-filters .pill svg.i { width: 16px; height: 16px; }
.ch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ch-card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--raised); padding: 24px; display: flex; flex-direction: column; gap: 20px; transition: box-shadow .15s, transform .15s; }
.ch-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgb(15 59 55 / .12); }
.ch-card-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--txt2); }
.ch-card b { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 26px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ch-card-stats { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ch-card-stats span { display: flex; gap: 8px; align-items: center; }
.ch-card-stats svg.i { width: 18px; height: 18px; color: var(--action); }
.ch-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; color: var(--txt2); font-size: 14px; }
.ch-none { text-align: center; color: var(--txt2); padding: 40px 20px; }
.m .ch-tools { padding: 0 20px; gap: 8px; }
.m .ch-search { width: 100%; }
.m .ch-sort { height: 36px; font-size: 14px; padding: 0 14px; }
.m .ch-count { font-size: 13px; }
.m .ch-filters { padding: 0 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.m .ch-filters::-webkit-scrollbar { display: none; }
.m .ch-filters .pill { flex: none; }
.ch-rows { background: var(--card); border-radius: var(--r-card); box-shadow: var(--raised); margin: 0 20px; padding: 4px 0; }
.ch-row { display: flex; gap: 12px; align-items: center; padding: 12px 16px; position: relative; }
.ch-row + .ch-row::before { content: ""; position: absolute; left: 76px; right: 0; top: 0; height: 1px; background: var(--border); }
.ch-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ch-row .t b { font-weight: 500; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-row .t span { font-size: 13px; color: var(--txt2); }
.ch-row > svg.i { color: var(--txt2); width: 20px; height: 20px; }
.m .ch-more { padding: 8px 20px 0; }
.m .ch-more .btn { width: 100%; }

/* ---------- Charity page ---------- */
.ch-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ch-who { background: var(--card); border-radius: var(--r-container); box-shadow: var(--raised); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.ch-who h1 { margin: 0; }
.ch-who .body { font-size: 18px; }
.ch-who-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 4px; }
.ch-who-actions .ch-tag { margin-left: auto; align-self: center; }
.ch-icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; }
.ch-impact { background: var(--deep); color: var(--on-deep); border-radius: var(--r-container); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.ch-impact .eyebrow { color: var(--deep-eyebrow); }
.ch-big { font-family: var(--serif); font-weight: 600; font-size: 88px; line-height: 92px; margin: 4px 0; font-variant-numeric: tabular-nums; }
.ch-impact .line { color: var(--on-deep-2); font-size: 18px; line-height: 27px; margin: 0; }
.ch-impact hr { border: 0; height: 1px; background: var(--on-deep-2); opacity: .3; margin: 0; width: 100%; }
.ch-istats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ch-istats > div { display: flex; flex-direction: column; gap: 6px; }
.ch-istats svg.i { width: 20px; height: 20px; color: var(--on-deep-2); }
.ch-istats .v { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 40px; }
.ch-istats .l { font-size: 15px; line-height: 20px; color: var(--on-deep-2); }
.ch-mid { display: grid; grid-template-columns: 1fr 520px; gap: 24px; align-items: stretch; }
.ch-mid.solo { grid-template-columns: 1fr; }
.ch-panel { background: var(--card); border-radius: var(--r-container); box-shadow: var(--raised); padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.ch-panel h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 32px; margin: 0; }
.ch-panel > p { margin: 0; color: var(--txt2); font-size: 15px; }
/* chart */
.ch-chart { position: relative; height: 300px; margin-top: 24px; display: grid; grid-template-columns: 52px 1fr; }
.ch-axis { position: relative; }
.ch-axis span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 12px; color: var(--txt2); }
.ch-plot { position: relative; border-bottom: 1px solid var(--border); }
.ch-plot .gl { position: absolute; left: 0; right: 0; height: 1px; background: var(--border); }
.ch-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.ch-bar { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; }
.ch-bar i { display: block; width: 56%; max-width: 30px; background: #1E7E74; border-radius: 4px 4px 0 0; transition: filter .15s; }
.ch-bar.partial i { background: #B7D4CE; }
.ch-bar:hover i, .ch-bar:focus-visible i { filter: brightness(1.15); }
.ch-bar .tip { position: absolute; bottom: calc(var(--h) + 10px); left: 50%; transform: translateX(-50%); background: var(--card); border-radius: 12px; box-shadow: 0 8px 28px rgb(0 0 0 / .16); padding: 8px 12px; font-size: 12px; color: var(--txt2); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2; text-align: left; }
.ch-bar .tip b { display: block; color: var(--txt); font-size: 16px; font-weight: 600; }
.ch-bar:hover .tip, .ch-bar:focus-visible .tip { opacity: 1; }
.ch-months { display: grid; grid-template-columns: 52px repeat(12, 1fr); font-size: 13px; color: var(--txt2); text-align: center; margin-top: 8px; }
.ch-legend { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--txt2); margin-top: 12px; }
.ch-legend i { width: 12px; height: 12px; border-radius: 3px; background: #B7D4CE; }
/* recent sales */
.ch-gifts { display: flex; flex-direction: column; padding-top: 12px; }
.ch-gift { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.ch-gift:last-child { border-bottom: 0; }
.ch-gift img, .ch-gift .ph { width: 42px; height: 56px; border-radius: 8px; object-fit: contain; flex: none; background: var(--muted); display: grid; place-items: center; color: var(--txt2); }
.ch-gift img[src*="/cut/"] { background: var(--card); padding: 2px; }
.ch-gift .ph svg.i { width: 18px; height: 18px; }
.ch-gift .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ch-gift .t b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-gift .t span { font-size: 13px; color: var(--txt2); }
.ch-gift .amt { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
.ch-gift .amt span { font-size: 13px; color: var(--txt2); }
.ch-gift .amt b { font-weight: 600; font-size: 15px; color: var(--action); }
/* nothing on the racks */
.ch-emptycard { background: var(--card); border-radius: var(--r-container); box-shadow: var(--raised); padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ch-emptycard .ic { width: 64px; height: 64px; border-radius: 999px; background: var(--muted); display: grid; place-items: center; color: var(--action); }
.ch-emptycard h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 32px; }
.ch-emptycard p { margin: 0; color: var(--txt2); font-size: 16px; line-height: 24px; max-width: 520px; }
.ch-soon { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ch-soon h2 { font-family: var(--serif); font-weight: 600; font-size: 48px; line-height: 52px; margin: 0; }
.ch-soon p { margin: 0; color: var(--on-deep-2); font-size: 18px; line-height: 27px; }
.ch-white-btn { align-self: flex-start; height: 44px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--action); font-weight: 500; display: inline-flex; align-items: center; }

/* phone header: back, logo, share. Stays on top while scrolling. */
.ch-mh { position: sticky; top: 0; z-index: 30; height: 56px; background: var(--card); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 8px; }
.ch-mh .l { justify-self: start; }
.ch-mh .r { justify-self: end; }
.ch-mh .l a, .ch-mh .l button { color: var(--action); display: inline-flex; align-items: center; gap: 2px; height: 44px; padding: 0 8px; font-size: 16px; }
.ch-mh .r button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--txt); }
.ch-mh .logo img { height: 34px; width: auto; }
.ch-detail { gap: 24px; }
.m .ch-detail { gap: 12px; }
.m .ch-page, .m .ch-detail { padding-top: 16px; }
.m .ch-top, .m .ch-mid { display: flex; flex-direction: column; gap: 12px; padding: 0 20px; }
.m .ch-who { padding: 20px; gap: 14px; border-radius: var(--r-container); }
.m .ch-who .body { font-size: 15px; line-height: 22px; }
.m .ch-who-actions { flex-wrap: wrap; }
.m .ch-who-actions .btn { flex: 1 1 100%; }
.m .ch-impact { padding: 24px; gap: 16px; }
.m .ch-big { font-size: 64px; line-height: 68px; }
.m .ch-impact .line { font-size: 15px; line-height: 22px; }
.m .ch-istats { gap: 12px; }
.m .ch-istats .v { font-size: 26px; line-height: 30px; }
.m .ch-istats .l { font-size: 13px; line-height: 17px; }
.m .ch-panel { padding: 20px; }
.m .ch-gift .t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 20px; }
.m .ch-panel h2 { font-size: 24px; line-height: 28px; }
.m .ch-chart { height: 200px; margin-top: 16px; grid-template-columns: 40px 1fr; }
.m .ch-axis span { font-size: 11px; }
.m .ch-months { grid-template-columns: 40px repeat(12, 1fr); font-size: 11px; }
.m .ch-bar i { width: 62%; }
.m .ch-pieces { padding: 0 20px; }
.m .ch-emptycard { padding: 28px 20px; }
.m .ch-emptycard h3 { font-size: 24px; line-height: 28px; }
.m .ch-emptycard p { font-size: 15px; line-height: 22px; }
.m .ch-soon h2 { font-size: 34px; line-height: 37px; }
.m .ch-soon p { font-size: 15px; line-height: 22px; }
.m .ch-white-btn { align-self: stretch; justify-content: center; }
.m .ch-pieces-grid { display: flex; overflow-x: auto; gap: 12px; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; }
.m .ch-pieces-grid .card { width: 172px; flex: none; }
.ch-pieces-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* ---------- Ways in from the store ---------- */
.story-btns { display: flex; gap: 12px; flex-wrap: wrap; }
a.info-box { color: inherit; }
a.info-box:hover { box-shadow: 0 0 0 1px var(--action) inset; }
.ch-acc-link { max-width: 440px; margin: 16px auto 0; width: 100%; background: var(--card); border-radius: var(--r-card); box-shadow: var(--raised); padding: 16px; display: flex; gap: 12px; align-items: center; }
.ch-acc-link svg.i { color: var(--action); }
.ch-acc-link .t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ch-acc-link small { color: var(--txt2); font-size: 13px; }
.pop-charity-link { display: inline-flex; align-items: center; gap: 2px; color: var(--action); font-size: 13px; font-weight: 500; padding: 4px 12px 8px; }
.pal-sec .sub { margin: 10px 0 6px; font-size: 13px; color: #6A6764; }
.pal-sec .jump { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.pal-sec .jump a { font-size: 13px; color: #1A7068; font-weight: 500; }
