/* ---------- Generic content ---------- */
.page-body { padding-block: clamp(32px, 5vw, 80px) var(--section-y); }
.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: 2em 0 0.5em; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 1.25rem; }
.prose p + p, .prose ul, .prose ol { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-underline-offset: 3px; font-weight: 700; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 1024px) { .two-col, .three-col { grid-template-columns: 1fr; } }
.value h3 { margin: 14px 0 6px; }
.value__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--turq); border: var(--bw-card) solid var(--black); }
.faq details { background: #fff; border: var(--bw-card) solid var(--black); border-radius: 20px; padding: 0; box-shadow: var(--shadow-btn); }
.faq details + details { margin-top: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform var(--t-fast); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: #333; max-width: 68ch; }
.legal-banner { margin-bottom: var(--s6); }

/* ---------- Campaign detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (max-width: 1024px) { .detail { grid-template-columns: 1fr; } }
.detail__cover { position: relative; border: var(--bw-card) solid var(--black); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; aspect-ratio: 16 / 8.6; background: #dfe3ff; }
.detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; scroll-snap-align: center; }
.gallery__count { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--turq); color: var(--black); border: var(--bw) solid var(--black); border-radius: 99px; padding: 4px 14px; font-weight: 800; font-size: 0.85rem; }
.detail__tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: var(--s5); }
.detail__head .detail__title { margin-top: var(--s4); }
.story-more { display: none; padding-inline: 0; }
.detail__title { margin-top: var(--s5); font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.06; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: var(--s4); }
.organizer { display: inline-flex; gap: 12px; align-items: center; }
.organizer a { text-decoration: none; } .organizer a:hover { text-decoration: underline; }
.organizer__imgs { display: inline-flex; } .organizer__imgs img + img, .organizer__imgs a + a, .organizer__imgs a + img, .organizer__imgs img + a { margin-left: -14px; } .organizer__imgs a { display: inline-flex; border-radius: 50%; } .organizer__imgs a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.organizer img { width: 52px; height: 52px; border-radius: 50%; border: var(--bw-card) solid var(--black); }
.organizer small { display: block; font-size: var(--fs-xs); color: var(--gray); font-weight: 700; }
.organizer b { font-weight: 800; }
.detail__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--s6); }
.detail section { margin-top: clamp(32px, 4vw, 56px); scroll-margin-top: 24px; }
.detail section > h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: var(--s4); }
.story-text p + p { margin-top: 1em; }
.story-text { font-size: 1.1rem; line-height: 1.7; max-width: 68ch; }
.fund-row { display: grid; grid-template-columns: minmax(0, 1fr) 3.2rem; gap: 6px 14px; align-items: center; }
.fund-row + .fund-row { margin-top: 14px; }
.fund-row b { font-weight: 700; grid-column: 1 / -1; }
.fund-row .progress { grid-column: 1; } .fund-row output { font-weight: 800; text-align: right; }
.timeline { list-style: none; display: grid; gap: 20px; border-left: var(--bw-card) solid var(--black); margin-left: 8px; padding-left: 24px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 6px; width: 18px; height: 18px; background: var(--turq); border: var(--bw) solid var(--black); border-radius: 50%; }
.timeline time { font-size: var(--fs-small); color: var(--gray); font-weight: 700; }
.timeline h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.supporters { list-style: none; display: grid; gap: 10px; }
.supporter { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; background: #fff; border: var(--bw) solid var(--black); border-radius: 16px; }
.supporter img { width: 44px; height: 44px; border-radius: 50%; border: var(--bw) solid var(--black); }
.supporter p { font-size: var(--fs-small); color: #444; margin-top: 2px; }
.supporter .amt { font-weight: 800; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }

.donate { padding: clamp(18px, 2vw, 28px); display: grid; gap: var(--s4); }
/* The giving form floats while the story scrolls. */
.detail__side { position: sticky; top: 16px; display: grid; gap: var(--s5); max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 0 8px 8px 0; scrollbar-width: thin; }
@media (max-width: 1024px) { .detail__side { position: static; max-height: none; overflow: visible; padding: 0; } }
.donate__raised { font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.donate__raised small { display: block; font-size: 0.95rem; font-weight: 600; color: var(--gray); letter-spacing: 0; margin-top: 4px; }
.donate__stats { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; font-size: var(--fs-small); }
.donate__stats span { display: inline-flex; gap: 6px; align-items: center; }
.donate hr { border: 0; border-top: 2px dashed #bbb; width: 100%; margin: 0; }
.confirm-box { display: grid; gap: 10px; background: var(--paper); border: var(--bw) solid var(--black); border-radius: 16px; padding: 16px; }
.confirm-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.confirm-box dt { color: var(--gray); font-weight: 600; } .confirm-box dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.success { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 8px 0; }
.success__art { width: 88px; height: 88px; border-radius: 50%; background: var(--turq); border: var(--bw-card) solid var(--black); display: grid; place-items: center; box-shadow: var(--shadow-btn); }
.success__art .icon { width: 44px; height: 44px; stroke-width: 3; }

/* ---------- Start (wizard) ---------- */
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.type-card { text-align: left; padding: 22px; display: grid; gap: 8px; background: #fff; border: var(--bw-card) solid var(--black); border-radius: var(--r-card); box-shadow: var(--shadow-btn); transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.type-card:hover { transform: translate(-2px, -4px); box-shadow: var(--shadow-card); background: #f2f1ff; }
.type-card[aria-pressed="true"] { background: var(--turq); }
.type-card h3 { font-size: 1.25rem; }
.type-card p { font-size: var(--fs-small); color: #333; }
.type-card .value__icon { background: var(--blue); color: #fff; width: 48px; height: 48px; }
.wizard { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 1024px) { .wizard { grid-template-columns: 1fr; } }
.stepper { list-style: none; display: grid; gap: 12px; position: sticky; top: 20px; }
.stepper button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 14px 10px 10px; background: #fff; border: var(--bw) solid var(--black); border-radius: var(--r-pill); font-weight: 800; }
.stepper button b { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: var(--bw) solid var(--black); }
.stepper button[aria-current="step"] { background: var(--blue); color: #fff; box-shadow: 3px 4px 0 var(--black); }
.stepper button[aria-current="step"] b { background: var(--turq); color: var(--black); }
.stepper button.done b { background: var(--turq); }
.stepper button[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 1024px) { .stepper { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; position: static; padding-bottom: 8px; } .stepper button span { display: none; } .stepper button[aria-current="step"] span { display: inline; } }
.wizard__panel { padding: clamp(20px, 3vw, 40px); display: grid; gap: var(--s6); }
.wizard__panel > h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }
.wizard__nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: var(--s4); border-top: 2px dashed #bbb; }
.wizard__nav > div { display: flex; gap: 12px; flex-wrap: wrap; }
.upload { display: grid; gap: 12px; }
.dropzone { display: grid; place-items: center; gap: 8px; text-align: center; padding: clamp(28px, 5vw, 56px) 20px; border: var(--bw-card) dashed var(--black); border-radius: var(--r-card); background: var(--paper); cursor: pointer; transition: background var(--t-fast); }
.dropzone:hover, .dropzone.over { background: #e9e7ff; }
.dropzone .icon { width: 40px; height: 40px; }
.preview-img { position: relative; border: var(--bw-card) solid var(--black); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 8.4; }
.preview-img img { width: 100%; height: 100%; object-fit: cover; }
.draft-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - 100px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 1024px) { .auth { grid-template-columns: 1fr; } .auth__side { display: none; } }
.auth__side { background: var(--blue); color: #fff; --focus: #fff; position: relative; padding: clamp(32px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 20px; overflow: hidden; }
.auth__side h1 { font-size: clamp(2rem, 1rem + 2.4vw, 3.1rem); line-height: 1.04; }
.auth__side .deco { position: absolute; right: 8%; bottom: 8%; width: clamp(90px, 12vw, 170px); rotate: 8deg; }
.auth__main { display: grid; place-items: center; padding: clamp(24px, 4vw, 64px) var(--gutter); }
.auth__card { width: min(100%, 520px); padding: clamp(22px, 3vw, 40px); display: grid; gap: var(--s5); }
.auth__card form { display: grid; gap: var(--s5); }
.auth__card .notice > span { display: block; }
.auth__card h2 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.pw-rules { list-style: none; display: grid; gap: 6px; font-size: var(--fs-small); font-weight: 600; }
.pw-rules li { display: flex; gap: 8px; align-items: center; color: var(--gray); }
.pw-rules li.ok { color: var(--success); }
.pw-rules .icon { width: 16px; height: 16px; }
.row-between { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
@media (max-width: 1024px) { .dash { grid-template-columns: 1fr; } }
.dash__nav { position: sticky; top: 20px; padding: 18px; display: grid; gap: 8px; }
.dash__nav .me { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px dashed #bbb; }
.dash__nav .me b { display: block; line-height: 1.2; overflow-wrap: anywhere; } .dash__nav .me small { color: var(--gray); font-weight: 600; overflow-wrap: anywhere; }
.dash__nav button.tab { display: flex; gap: 10px; align-items: center; justify-content: flex-start; width: 100%; text-align: left; padding: 12px 16px; background: transparent; border: var(--bw) solid transparent; border-radius: var(--r-pill); font-weight: 800; }
.dash__nav button.tab:hover { background: var(--paper); border-color: var(--black); }
.dash__nav button.tab[aria-selected="true"] { background: var(--blue); color: #fff; border-color: var(--black); box-shadow: 2px 3px 0 var(--black); }
.dash__nav .count { margin-left: auto; background: var(--turq); color: var(--black); border-radius: 99px; font-size: 0.72rem; padding: 2px 8px; }
@media (max-width: 1024px) { .dash__nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; } .dash__nav .me { display: none; } .dash__nav .btn-signout { display: none; } }
.dash__panel { display: grid; gap: var(--s6); min-width: 0; }
.dash__panel > header { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.dash__panel h1 { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.1rem); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.kpi { padding: 18px 20px; display: grid; gap: 4px; }
.kpi small { font-weight: 700; color: var(--gray); } .kpi b { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.list-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; background: #fff; border: var(--bw) solid var(--black); border-radius: 18px; }
.list-row + .list-row { margin-top: 12px; }
.list-row img.thumb { width: 72px; height: 54px; border-radius: 10px; border: var(--bw) solid var(--black); object-fit: cover; }
.list-row .t { font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; } .list-row .s { font-size: var(--fs-small); color: var(--gray); font-weight: 600; }
@media (max-width: 600px) { .list-row { grid-template-columns: 56px minmax(0, 1fr); } .list-row > :last-child { grid-column: 1 / -1; } .list-row img.thumb { width: 56px; height: 44px; } }
.notif { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; background: #fff; border: var(--bw) solid var(--black); border-radius: 16px; }
.notif + .notif { margin-top: 10px; }
.notif.unread { background: #e9e7ff; }
.notif .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--turq); border: var(--bw) solid var(--black); display: grid; place-items: center; }

/* ---------- Creator profile ---------- */
.profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
@media (max-width: 640px) { .profile { grid-template-columns: 1fr; } }
.profile .avatar--lg { width: clamp(90px, 10vw, 130px); height: clamp(90px, 10vw, 130px); }
.profile h1 { font-size: clamp(1.8rem, 1.1rem + 2vw, 2.7rem); }
.profile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.profile__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: var(--s5); }
.profile__stats dt { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; } .profile__stats dd { margin: 4px 0 0; font-weight: 600; }
.profile__stats > div { display: flex; flex-direction: column; }
.profile .lead { max-width: 60ch; margin-top: 12px; }

/* ---------- Success stories ---------- */
.story-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; margin-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 1024px) { .story-feature { grid-template-columns: 1fr; } }
.story-feature__img { min-height: 260px; border-right: var(--bw-card) solid var(--black); } .story-feature__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .story-feature__img { border-right: 0; border-bottom: var(--bw-card) solid var(--black); aspect-ratio: 16 / 9; } }
.story-feature__body { padding: clamp(20px, 3vw, 44px); display: grid; gap: 16px; align-content: center; }
.quote { border-left: 6px solid var(--turq); padding: 4px 0 4px 18px; font-size: 1.15rem; font-weight: 600; max-width: 60ch; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }

/* Anchor-styled chips */
a.chip-btn { text-decoration: none; }
.related { margin-top: clamp(48px, 6vw, 96px); }

/* ---------- Wizard extras ---------- */
.dropzone:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone { position: relative; }
.fund-edit-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 44px; gap: 10px; align-items: start; }
.fund-edit-row + .fund-edit-row { margin-top: 10px; }
.fund-edit-row .icon-btn { margin-top: 5px; }
@media (max-width: 520px) { .fund-edit-row { grid-template-columns: minmax(0, 1fr) 92px 44px; } }
.fund-total { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.fund-total.ok { color: var(--success); } .fund-total.bad { color: var(--danger); }
.review-sec { display: grid; gap: 14px; }
.review-sec h3 { font-size: 1.2rem; }
.kv { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.kv dt { color: var(--gray); font-weight: 700; } .kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }
.preview-wrap { max-width: 520px; pointer-events: none; }
.help-text { font-size: var(--fs-small); color: var(--gray); font-weight: 500; }

.upload > input:focus-visible + .upload__body label { outline: 3px solid var(--blue); outline-offset: 3px; }
.draft-banner > span { display: inline-flex; gap: 10px; align-items: center; }

/* Related campaigns heading: heading left, "See all" pushed to the right with breathing room */
.related .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.related .section-head .btn { margin-left: auto; flex: none; }

/* Mobile & tablet: story and updates first, then the giving form, then Recent givers, then sharing. */
@media (max-width: 1024px) {
  .detail { display: flex; flex-direction: column; gap: var(--s6, 32px); }
  .detail__main { display: contents; }
  .detail__side { order: 2; width: 100%; }
  .detail__main #kindwords { order: 3; }
  .detail__main #share { order: 4; }
}

/* Floating Give card (mobile & tablet only; shown while the giving form is off-screen) */
.give-fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(12px, env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 520px); z-index: 40; display: grid; gap: 10px; padding: 14px 16px 16px; background: #fff; border: var(--bw-card) solid var(--black); border-radius: var(--r-card); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.give-fab[hidden] { display: none; }
@media (min-width: 1025px) { .give-fab { position: static; transform: none; width: 100%; box-shadow: var(--shadow-card); padding: 22px; gap: 14px; } .give-fab__giver { display: none !important; } }
@media (max-width: 1024px) { body.has-give { padding-bottom: 340px; } .give-fab { box-shadow: 0 10px 30px rgba(0,0,0,.22); } }
.detail .givers { padding: clamp(18px, 2vw, 24px); scroll-margin-top: 16px; }
.detail .givers > h2 { font-size: 1.3rem; margin-bottom: 6px; }
.givers .supporter { padding: 10px 12px; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; }
.givers .supporter img { width: 38px; height: 38px; }
.kind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.kind { margin: 0; padding: 18px 20px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); display: grid; gap: 12px; align-content: space-between; }
.kind blockquote { font-weight: 600; line-height: 1.5; }
.kind figcaption { font-size: var(--fs-small); color: var(--gray); font-weight: 700; } .kind figcaption b { color: var(--black); }
.give-fab__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.give-fab__raised { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.give-fab__goal { color: var(--gray); font-weight: 700; font-size: 0.85rem; margin-top: 4px; }
.give-fab__who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.give-fab__who img { width: 44px; height: 44px; border-radius: 50%; border: var(--bw) solid var(--black); flex: none; }
.give-fab__who div { display: grid; min-width: 0; font-size: 0.85rem; }
.give-fab__who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.give-fab__who small { justify-self: start; background: var(--black); color: #fff; font-size: 0.56rem; font-weight: 700; line-height: 1; padding: 2px 7px; border-radius: 99px; margin-bottom: 3px; }
.give-fab .progress { height: 16px; } .give-fab .progress__thumb { width: 44px; height: 22px; }
.give-fab__giver { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border: var(--bw) solid var(--black); border-radius: 16px; min-height: 58px; overflow: hidden; }
.give-fab__giver img { width: 40px; height: 40px; border-radius: 50%; border: var(--bw) solid var(--black); background: var(--turq); object-fit: cover; }
.give-fab__giver span:not(.amt) { color: var(--gray); font-size: 0.75rem; font-weight: 700; }
.give-fab__giver p { color: var(--gray); font-size: 0.8rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.give-fab__giver .amt { font-weight: 800; }
.give-fab__giver.in { animation: giverIn .45s ease; }
@keyframes giverIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .give-fab__giver.in { animation: none; } }
.give-fab__btn { font-size: 1.15rem; }
dialog.modal--give { max-height: 92vh; }
dialog.modal--give .modal__body { overflow-y: auto; max-height: calc(92vh - 90px); }
dialog.modal--give .donate { border: 0; box-shadow: none; padding: 0; }

/* Mobile & tablet campaign page: full-bleed photo tucked under a rounded header, tags, title, creators, then the story */
@media (max-width: 1024px) {
  html[data-ga-page="campaign"] .site-header { position: absolute; top: 12px; left: 14px; right: 14px; margin: 0; z-index: 6; }
  html[data-ga-page="campaign"] .page-body { padding-top: 0; }
  #campaignRoot > .breadcrumbs { display: none; }
  .detail__head { display: block; }
  .detail__cover { margin: 0 calc(var(--gutter) * -1) 0; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; height: min(100vw, 80vh); width: auto; }
  .detail__tags { margin-top: 18px; }
  .detail__title { font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.12; }
  .detail__meta { margin-top: 12px; gap: 16px; }
  .detail__tabs { margin-top: 24px; }
  .story-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .story-text.is-clamped p:not(:first-child) { display: none; }
  .story-more { display: inline-flex; margin-top: 6px; }
}

.detail .detail__meta { flex-direction: column; align-items: flex-start; gap: 14px; }

.give-fab__stats { font-size: 0.85rem; gap: 8px; justify-content: space-between; }
.give-fab__stats span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.detail__side { align-content: start; }
.detail .givers { margin-top: 0; }
.kind blockquote { margin: 0; }

.give-fab__giver img, .give-fab__who img { aspect-ratio: 1 / 1; object-fit: cover; flex: none; min-width: 0; }
dialog.modal--givers { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
dialog.modal--givers .modal__body { overflow-y: auto; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); }
dialog.modal--givers .word { padding: 12px 0; }
dialog.modal--givers .supporter { grid-template-columns: 40px minmax(0, 1fr) auto; }
dialog.modal--givers .supporter img { width: 40px; height: 40px; }
.give-fab__giver { border: 1px solid rgba(0,0,51,.14); }

/* Kind words / comments */
.count-badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: 8px; background: #E6E8F0; font-size: 0.9rem; font-weight: 800; letter-spacing: 0; }
.words { list-style: none; display: grid; gap: 28px; margin: 22px 0 16px; padding: 0; }
.word { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.word > img { width: 44px; height: 44px; border-radius: 50%; background: var(--turq); aspect-ratio: 1 / 1; object-fit: cover; }
.word__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; }
.word__head b { font-size: 1.05rem; }
.word__time { display: block; color: var(--gray); font-weight: 600; font-size: 0.9rem; margin-top: 2px; }
.word p { margin-top: 6px; line-height: 1.6; font-size: 1.02rem; overflow-wrap: anywhere; }
.word__menu { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: none; border: 0; color: var(--black); cursor: pointer; }
.word__menu:hover { background: #E6E8F0; } .word__menu .icon { width: 22px; height: 22px; }
.word__like { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 2px; font-weight: 800; font-size: 0.95rem; cursor: pointer; color: var(--black); }
.word__like .icon { width: 24px; height: 24px; }
.word__like[aria-pressed="true"] .icon { fill: var(--blue); stroke: var(--blue); }
.word-pop { position: absolute; right: 0; top: 40px; z-index: 5; background: #fff; border: 1px solid rgba(0,0,51,.2); border-radius: 14px; padding: 6px; min-width: 210px; }
.word-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: none; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; text-align: left; }
.word-pop button:hover { background: #F0F1F7; } .word-pop .icon { width: 18px; height: 18px; }

/* Web: slightly smaller section headings (h2) */
@media (min-width: 1025px) {
  .detail section > h2 { font-size: clamp(1.4rem, 1rem + 1.1vw, 1.95rem); }
  .prose h2 { font-size: clamp(1.4rem, 1rem + 1.1vw, 1.85rem); }
  .wizard__panel > h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); }
  .auth__card h2 { font-size: clamp(1.4rem, 1rem + 0.8vw, 1.8rem); }
}

/* Campaign title: roomier line height; recent-giver messages stay compact */
.detail__title, .detail .detail__title { line-height: 1.25; }
.supporter p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- How it works page ---------- */
.how-hero .lead { max-width: 56ch; margin-top: 14px; }
.how-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ribbon { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.ribbon li:not(.ribbon__arrow) { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(0,0,51,.2); border-radius: 999px; padding: 6px 18px 6px 6px; font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; }
.ribbon li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--turq); font-size: .95rem; }
.ribbon li:nth-child(5) span, .ribbon li:nth-child(1) span { background: var(--blue); color: #fff; }
.ribbon__arrow { font-size: 1.3rem; opacity: .55; }
.how-page .how-block { margin-top: clamp(48px, 7vw, 96px); }
.how-page .how-block:first-child { margin-top: 0; }
.how-sub { margin-top: 10px; color: var(--gray); font-weight: 500; font-size: 1.05rem; }
.how-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 36px; }
.how-tabs .chip-btn { min-height: 46px; padding-inline: 1.4em; }
.path { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 22px; position: relative; padding-top: 34px; }
.path::before { content: ""; position: absolute; top: 17px; left: 17px; right: 17px; height: 0; border-top: 2px dashed rgba(0,0,51,.35); }
.path__step { position: relative; display: flex; }
.path__num { position: absolute; top: -34px; left: 0; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--turq); font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; }
.path__card { padding: 22px; display: grid; gap: 10px; align-content: start; width: 100%; }
.path__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--blue); color: #fff; }
.path__ico .icon { width: 24px; height: 24px; }
.path__card h3 { font-family: var(--font-title); font-size: 1.35rem; line-height: 1.15; }
.path__card p { color: #2c4a48; }
.anat { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 28px; }
.anat__card { pointer-events: none; display: grid; gap: 14px; justify-items: start; }
.anat__card .cc { width: 100%; }
.anat__list { list-style: none; display: grid; gap: 20px; }
.anat__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.anat__list li > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-title); font-weight: 800; }
.anat__list h3 { font-size: 1.1rem; }
.anat__list p { margin-top: 4px; color: #2c4a48; }
.how-money { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; background: #d9fff7; border-radius: 28px; padding: clamp(24px, 4vw, 56px); }
.how-money h2 { font-family: var(--font-title); }
.how-ticks { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.how-ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.how-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fx { background: #fff; border-radius: 22px; padding: 22px; display: grid; gap: 12px; }
.fx__title { font-family: var(--font-title); font-size: 1.2rem; font-weight: 800; }
.fx__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--paper); }
.fx__row small { display: block; font-size: .72rem; color: var(--gray); font-weight: 700; }
.fx__row b { font-size: .98rem; overflow-wrap: anywhere; }
.fx__arrow { font-size: 1.2rem; color: var(--blue); font-weight: 800; }
.fx__note { font-size: .78rem; color: var(--gray); }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.promise { padding: 24px; display: grid; gap: 10px; align-content: start; }
.promise h3 { font-family: var(--font-title); font-size: 1.3rem; }
.promise p { color: #2c4a48; }
.how-page .faq details { background: #fff; }
.faq__a { padding: 0 22px 20px; color: #2c4a48; max-width: 68ch; }
.how-end { margin-top: clamp(56px, 8vw, 110px); padding-bottom: 8px; }
.how-end h2 { font-family: var(--font-title); font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.1; max-width: 16ch; }
.how-end p { margin-top: 14px; max-width: 46ch; font-weight: 500; font-size: 1.1rem; }
@media (max-width: 1024px) {
  .path { grid-template-columns: 1fr; padding: 0 0 0 0; gap: 18px; }
  .path::before { top: 18px; bottom: 18px; left: 17px; right: auto; height: auto; border-top: 0; border-left: 2px dashed rgba(0,0,51,.35); }
  .path__step { padding-left: 54px; }
  .path__num { top: 6px; left: 0; }
  .anat, .how-money { grid-template-columns: 1fr; }
  .anat__card { max-width: 440px; }
  .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } .how-hero__cta .btn { flex: 1 1 100%; } .ribbon li:not(.ribbon__arrow) { font-size: 1rem; } .fx__row { grid-template-columns: 1fr; } .fx__arrow { transform: rotate(90deg); justify-self: start; } }
.anat__card { justify-items: stretch; }
.anat__card .demo-pill { justify-self: start; }
.anat__card #anatCard { width: 100%; }

/* ---------- Our Giving Creators ---------- */
.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.creator-card { position: relative; padding: 24px; display: grid; gap: 8px; justify-items: start; align-content: start; }
.creator-card__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--turq); }
.verified { position: absolute; top: 22px; right: 20px; display: inline-flex; align-items: center; gap: 4px; background: #d9fff7; color: #000033; border-radius: 999px; padding: 4px 10px 4px 8px; font-size: .72rem; font-weight: 800; }
.verified .icon { width: 14px; height: 14px; stroke-width: 3; color: var(--blue); }
.creator-card__name { font-family: var(--font-title); font-size: 1.4rem; line-height: 1.15; margin-top: 8px; }
.creator-card__name a { text-decoration: none; }
.creator-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.creator-card:hover { transform: translateY(-3px); transition: transform var(--t-fast); }
.creator-card__meta { font-weight: 700; color: var(--gray); font-size: .88rem; }
.creator-card__bio { color: #2c4a48; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.creator-card__stats { margin-top: 6px; font-size: .88rem; }

/* How it works: even spacing between step numbers and cards */
@media (min-width: 1025px) { .path { padding-top: 56px; gap: 24px; } .path::before { top: 18px; } .path__num { top: -56px; } }
.fx__row { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 16px; }
.fx__to { text-align: right; }
.fx__arrow { text-align: center; }
@media (max-width: 560px) { .fx__row { grid-template-columns: 1fr; } .fx__to { text-align: left; } .fx__arrow { text-align: left; } }

/* ---------- Fees page ---------- */
.fee-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.fee-card { padding: 28px; display: grid; gap: 8px; align-content: start; }
.fee-card--key { background: #d9fff7; }
.fee-card__tag { justify-self: start; background: #000033; color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.fee-card__big { font-family: var(--font-title); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.4rem); line-height: 1; margin-top: 8px; }
.fee-card__big--sm { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); padding-block: .2em; }
.fee-card h3 { font-family: var(--font-title); font-size: 1.3rem; }
.fee-card p:last-child { color: #2c4a48; }
.calc { background: #fff; border-radius: 22px; padding: 24px; display: grid; gap: 14px; }
.calc label { font-weight: 800; }
.calc__input { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
.calc__input span { font-weight: 800; background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.calc__rows { display: grid; gap: 10px; margin: 0; }
.calc__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--paper); border-radius: 14px; }
.calc__rows dt { font-weight: 600; } .calc__rows dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.calc__total { background: #d9fff7 !important; }
.calc__note { font-size: .8rem; color: var(--gray); }
.how-country { background: #fff; border: 1px solid rgba(0,0,51,.2); border-radius: 24px; padding: clamp(22px, 3.5vw, 44px); }
@media (max-width: 1024px) { .fee-cards { grid-template-columns: 1fr; } }

/* Sign-up options */
.methods { display: grid; gap: 12px; margin: 18px 0 8px; }
.method { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: .6em 1.2em; background: #fff; border: 1px solid rgba(0,0,51,.25); border-radius: 999px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background var(--t-fast); }
.method:hover { background: #f1f3f8; } .method:disabled { opacity: .6; cursor: progress; }
.method svg { width: 22px; height: 22px; flex: none; }
.method svg.icon { fill: none; stroke: currentColor; stroke-width: 2; }
.back-link { margin-bottom: 14px; }

/* Round: auth side panel is light (no blue) */
html .auth .auth__side { background: transparent; color: var(--black); }
.detail__dates{display:grid;gap:2px;font-size:.9rem}

/* Success stories */
.ss-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 28px; }
.ss-stats div { display: grid; gap: 2px; }
.ss-stats dt { font-family: var(--font-title); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.1; }
.ss-stats dd { font-weight: 700; font-size: .95rem; opacity: .75; margin: 0; }
.ss-stats--card { margin: 24px 0 0; padding: 22px 26px; border: 1px solid rgba(0,0,51,.14); border-radius: 24px; background: #fff; justify-content: space-between; }
.ss-stats--card dt { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); }
.ss-feature { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(20px,4vw,48px); align-items: center; margin-bottom: var(--s8); }
.ss-feature__img { border-radius: 28px; overflow: hidden; display: block; aspect-ratio: 16/10; }
.ss-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.ss-feature__body { display: grid; gap: 16px; justify-items: start; }
.ss-feature__body h2, .story-page__main h2 { font-family: var(--font-title); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.15; }
.ss-feature__body h2 a { text-decoration: none; }
.ss-feature__out { display: flex; gap: 10px; align-items: flex-start; font-weight: 800; }
.ss-feature__out svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.ss-feature blockquote, .story-page__quote { margin: 0; padding-left: 18px; border-left: 3px solid var(--turq); font-weight: 500; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s5); }
.chip-btn { font: inherit; font-weight: 700; font-size: .9rem; padding: 9px 18px; border-radius: 99px; border: 1px solid rgba(0,0,51,.18); background: #fff; color: var(--black); cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s5); }
.story-page__in { max-width: 1040px; }
.story-page__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.story-page__title { font-family: var(--font-title); font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.15; max-width: 22ch; }
.story-page__cover { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 28px; margin-top: 24px; }
.story-page__cols { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(24px,4vw,56px); margin-top: var(--s7); align-items: start; }
.story-page__main { display: grid; gap: 16px; }
.story-page__main p { font-weight: 500; font-size: 1.05rem; line-height: 1.7; }
.story-page__who { padding: 24px; display: grid; gap: 8px; justify-items: start; position: sticky; top: 110px; }
.story-page__who h3 { font-family: var(--font-title); font-size: 1.4rem; margin-top: 6px; }
.story-page__who a { text-decoration: none; }
.story-page__more { font-family: var(--font-title); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); margin: var(--s9) 0 var(--s5); }
@media (max-width: 1024px) { .ss-feature, .story-page__cols { grid-template-columns: 1fr; } .story-page__who { position: static; } }

/* Story card (also on the stories pages) */
.story { display: flex; flex-direction: column; position: relative; overflow: hidden; height: 100%; }
.story__media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: var(--bw-card) solid var(--black); position: relative; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media .chip { position: absolute; left: 16px; top: 16px; }
.story__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.story__body h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); }
.story__body h3 a { text-decoration: none; }
.story__body h3 a::after { content: ""; position: absolute; inset: 0; }
.story__body p { color: #333; font-size: 0.96rem; }
.story__outcome { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #d9fff7; border: var(--bw) solid var(--black); font-weight: 700; font-size: var(--fs-small); }
.story__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: var(--fs-small); font-weight: 700; padding-top: 6px; }
.story__meta .who { display: inline-flex; gap: 8px; align-items: center; }
.story__meta img { width: 32px; height: 32px; border-radius: 50%; border: var(--bw) solid var(--black); }
.story { background: #fff; border: 1px solid rgba(0,0,51,.12); border-radius: 24px; } .story__media { border-bottom: 0; } .story__outcome { border: 0; } .story__meta img { border: 0; } .story__body p { color: var(--black); }
.story .chip { height: auto; }

/* Round: story page creator card (clickable, first on mobile) and structured stats */
.story-page__who { grid-column: 2; grid-row: 1; position: sticky; }
.story-page__main { grid-column: 1; grid-row: 1; }
.story-page__who a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.story-page__who { position: sticky; }
.story-page__who:hover { transform: translateY(-3px); transition: transform var(--t-fast); }
.story-page__visit { font-weight: 800; font-size: .92rem; margin-top: 4px; }
@media (max-width: 1024px) {
  .story-page__who, .story-page__main { grid-column: 1; grid-row: auto; }
  .story-page__who { position: relative; top: auto; }
}
@media (max-width: 640px) {
  .ss-stats { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 0 22px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(0,0,51,.14); align-items: start; }
  .ss-stats dt { font-size: clamp(1.25rem, 5.6vw, 1.7rem); white-space: nowrap; }
  .ss-stats dd { font-size: .8rem; }
  .ss-stats--card { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 12px; padding: 18px; }
  .ss-stats--card dt { font-size: clamp(1rem, 4.4vw, 1.3rem); }
}

/* Story-led band */
.story-band { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(20px,4vw,48px); align-items: center; margin: clamp(8px,2vw,24px) 0 clamp(32px,5vw,64px); }
.story-band__img { display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 16/10; }
.story-band__img img { width: 100%; height: 100%; object-fit: cover; }
.story-band__body { display: grid; gap: 14px; justify-items: start; }
.story-band__body h2 { font-family: var(--font-title); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height: 1.12; max-width: 16ch; }
.story-band__body p { font-weight: 500; font-size: 1.05rem; max-width: 44ch; }
.story-band__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 1024px) { .story-band { grid-template-columns: 1fr; } .story-band__cta .btn { flex: 1 1 100%; } }

/* Round: mobile stats use the Creator-profile look (body font, bold, label beneath) */
@media (max-width: 640px) {
  html .ss-stats, html .ss-stats--card { display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 0; border: 0; background: none; border-radius: 0; margin-top: 22px; }
  html .ss-stats div { display: flex; flex-direction: column; }
  html .ss-stats dt { font-family: var(--font); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
  html .ss-stats dd { font-size: 1rem; font-weight: 600; opacity: 1; margin: 4px 0 0; }
  .story-band { margin-top: 28px; }
}
@media (max-width: 640px) { html .ss-stats { gap: 16px 22px; } html .ss-stats dt { font-size: 1.45rem; } html .ss-stats--card { justify-content: flex-start; gap: 16px 28px; } }

/* Round: the intro paragraph stays visible on mobile & tablet for the story-led pages */
@media (max-width: 1024px) {
  html .page-hero:not(#profileHero) p.lead { display: block; max-width: none; margin-top: 14px; font-size: 1.05rem; line-height: 1.6; font-weight: 500; color: var(--black); opacity: .85; }
}

/* Round: mobile stats as separate cards */
@media (max-width: 640px) {
  html :is(.profile__stats, .ss-stats, .ss-stats--card) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; border: 0; background: none; }
  html :is(.profile__stats, .ss-stats) > div { flex: 1 1 auto; min-width: 0; padding: 14px 12px; background: #fff; border: 1px solid rgba(0,0,51,.12); border-radius: 18px; display: flex; flex-direction: column; }
  html :is(.profile__stats, .ss-stats) dt { font-family: var(--font); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
  html :is(.profile__stats, .ss-stats) dd { margin: 5px 0 0; font-size: .78rem; font-weight: 600; opacity: .8; }
  html .ss-stats--card > div { flex: 1 1 calc(50% - 4px); }
}
@media (max-width: 359px) { html :is(.profile__stats, .ss-stats) > div { padding: 12px 8px; } html :is(.profile__stats, .ss-stats) dt { font-size: .9rem; } html :is(.profile__stats, .ss-stats) { gap: 6px; } }
html .footer__social { flex-wrap: wrap; max-width: 100%; }

/* About */
.about-big { font-family: var(--font-title); font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem); line-height: 1.1; margin: 10px 0 16px; }
.about-split { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(20px,4vw,56px); align-items: start; }
.about-note { padding: 24px; display: grid; gap: 10px; background: #fff7d1; border: 0; }
.about-note h3 { font-family: var(--font-title); font-size: 1.3rem; }
@media (max-width: 1024px) { .about-split { grid-template-columns: 1fr; } }

/* About roles, Help, Contact, legal */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s5); margin-top: var(--s5); }
.role { padding: 26px; display: grid; gap: 10px; align-content: start; }
.role__tag { justify-self: start; background: var(--blue); color: #fff; font-weight: 800; font-size: .75rem; padding: 4px 12px; border-radius: 99px; }
.role h3 { font-family: var(--font-title); font-size: 1.5rem; line-height: 1.15; }
.role p { font-weight: 500; }
.faq-group { margin-bottom: var(--s8); }
.faq-group[hidden], .faq-group details[hidden] { display: none; }
.contact { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(20px,4vw,48px); align-items: start; }
.contact__form { padding: clamp(20px,3vw,36px); display: grid; gap: 16px; }
.contact__form h2 { font-family: var(--font-title); font-size: 1.8rem; }
.contact__side { display: grid; gap: 16px; }
.contact__card { padding: 22px; display: grid; gap: 8px; justify-items: start; }
.contact__card h3 { font-family: var(--font-title); font-size: 1.25rem; }
.contact__done { font-weight: 700; color: var(--success); }
.legal { max-width: 780px; }
.legal__sec { margin-top: var(--s6); display: grid; gap: 10px; }
.legal__sec h2 { font-family: var(--font-title); font-size: 1.5rem; }
.legal__sec p, .legal__end { font-weight: 500; line-height: 1.7; }
.legal__end { margin-top: var(--s7); }
@media (max-width: 1024px) { .roles, .contact { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { html[data-ga-page="campaign"] .site-header { position: fixed; top: 10px; left: 14px; right: 14px; margin: 0; } }

/* Founding story */
.founding__grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(24px,4vw,56px); align-items: start; margin-top: var(--s5); }
.founding__text { display: grid; gap: 16px; }
.founding__text p { font-weight: 500; font-size: 1.05rem; line-height: 1.75; }
.founding__lead { font-family: var(--font-title); font-weight: 500 !important; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem) !important; line-height: 1.2 !important; }
.founding__turn { font-family: var(--font-title); font-weight: 500 !important; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem) !important; line-height: 1.1 !important; color: var(--blue); }
.founding__results { background: var(--blue); color: #fff; border-radius: 28px; padding: clamp(22px,3vw,34px); display: grid; gap: 14px; position: sticky; top: 110px; }
.founding__results h3 { font-family: var(--font-title); font-size: 1.5rem; line-height: 1.15; }
.founding__results ul { list-style: none; display: grid; gap: 12px; padding: 0; }
.founding__results li { font-weight: 500; line-height: 1.55; padding-left: 22px; position: relative; }
.founding__results li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--turq); }
@media (max-width: 1024px) { .founding__grid { grid-template-columns: 1fr; } .founding__results { position: static; } }

/* Round: stat cards on web too */
@media (min-width: 641px) {
  html :is(.profile__stats, .ss-stats, .ss-stats--card) { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding: 0; border: 0; background: none; border-radius: 0; justify-content: flex-start; }
  html :is(.profile__stats, .ss-stats) > div { padding: 18px 24px; background: #fff; border: 1px solid rgba(0,0,51,.12); border-radius: 22px; display: flex; flex-direction: column; min-width: 130px; }
  html :is(.profile__stats, .ss-stats) dt { font-family: var(--font); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
  html :is(.profile__stats, .ss-stats) dd { margin: 6px 0 0; font-size: .9rem; font-weight: 600; opacity: .8; }
}

/* Round: stat figures use the header (title) font like the homepage hero */
html :is(.profile__stats, .ss-stats) dt { font-family: var(--font-title); font-weight: 800; letter-spacing: -0.03em; }

/* Giving Creators: country filter card */
.ctry-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px, 340px); gap: 16px 28px; align-items: center; padding: 22px 26px; margin-bottom: var(--s5); }
.ctry-card h2 { font-family: var(--font-title); font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); line-height: 1.15; }
.ctry-card p { font-weight: 500; margin-top: 6px; }
@media (max-width: 700px) { .ctry-card { grid-template-columns: 1fr; padding: 20px; } }

/* Creator social handles: flat single-colour logos */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 16px 0 0; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px; background: #fff; border: 1px solid rgba(0,0,51,.12); color: var(--black); text-decoration: none; font-weight: 700; font-size: .9rem; }
.social svg { width: 18px; height: 18px; flex: none; }
.social:hover { background: rgba(0,0,51,.05); }

/* Verified star */
.verified-star { display: inline-flex; vertical-align: middle; margin-left: 6px; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }
.verified-star .vstar { width: .6em; height: .6em; min-width: 32px; min-height: 32px; }
.verified { gap: 6px; padding: 4px 10px 4px 5px; }
.verified .vstar { flex: none; }

/* Verified star: slightly smaller on mobile */
@media (max-width: 640px) { .verified-star .vstar { min-width: 22px; min-height: 22px; width: .5em; height: .5em; } }

/* Round: Questions & answers (campaign page) */
.qa__list { list-style: none; margin: var(--s5) 0; padding: 0; display: grid; gap: var(--s5); }
.qa__q, .qa__a { display: flex; gap: 14px; align-items: flex-start; }
.qa__q img, .qa__a img { border-radius: 50%; flex: 0 0 auto; }
.qa__q p, .qa__a p { margin-top: 4px; font-weight: 500; }
.qa__a { margin: 14px 0 0 22px; padding-left: 18px; border-left: 3px solid var(--turq); }
.qa__a .chip { font-size: .7rem; padding: 2px 10px; }
.qa__wait { margin: 10px 0 0 58px; font-size: .85rem; font-weight: 600; }
.qa__form { display: grid; gap: var(--s4); }
.chips--tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: var(--s6); }
.chips--tabs::-webkit-scrollbar { display: none; }
.chips--tabs .chip-btn { flex: 0 0 auto; }
a.notif { color: inherit; text-decoration: none; }
a.notif:hover { background: var(--paper); }
a.notif.unread:hover { background: #dedaff; }

/* Round: Creator onboarding */
.steps-bar { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 var(--s5); padding: 0; }
.steps-bar li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 6px; border-radius: var(--r-pill); border: 1px solid rgba(0,0,51,.25); background: #fff; font-weight: 700; font-size: .85rem; color: var(--gray); }
.steps-bar li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); color: var(--black); font-size: .75rem; }
.steps-bar li[aria-current="step"] { color: var(--black); border-color: var(--blue); }
.steps-bar li[aria-current="step"] span, .steps-bar li.is-done span { background: var(--blue); color: #fff; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks .icon { width: 20px; height: 20px; color: var(--success); flex: 0 0 auto; margin-top: 2px; }
@media (max-width: 640px) { .steps-bar li { font-size: 0; gap: 0; padding: 0 6px; } .steps-bar li span { font-size: .75rem; } .steps-bar li[aria-current="step"] { font-size: .85rem; gap: 8px; padding: 0 14px 0 6px; } }

/* Campaign photos: grid, main-image choice, review thumbnails */
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.photo { position: relative; aspect-ratio: 16 / 10; border: 1px solid rgba(0,0,51,.18); border-radius: 14px; overflow: hidden; background: #f1f1f6; }
.photo.is-main { border: 2px solid var(--blue); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo__main { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(0,0,51,.25); font-size: .78rem; font-weight: 700; cursor: pointer; }
.photo.is-main .photo__main { background: var(--blue); color: #fff; border-color: var(--blue); }
.photo__main input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.photo__main:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.photo__rm { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,51,.25); cursor: pointer; }
.photo__rm .icon { width: 16px; height: 16px; }
.photo-count { margin: 0; font-weight: 700; font-size: .9rem; color: var(--gray); }
.rev-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.rev-thumbs img { width: 84px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(0,0,51,.18); }
.rev-thumbs img.is-main { border: 2px solid var(--blue); }

/* Sign-up: steps, role cards, segmented choice, one-time code, photo */
.steps-mini { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.steps-mini li { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--gray); }
.steps-mini li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,51,.3); font-size: .72rem; }
.steps-mini li + li::before { content: ""; width: 14px; border-top: 1px solid rgba(0,0,51,.25); }
.steps-mini li[aria-current] { color: var(--black); } .steps-mini li[aria-current] span { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps-mini li.is-done span { background: var(--turq); border-color: rgba(0,0,51,.4); color: var(--black); }
.role-pick { display: grid; gap: 12px; }
.rolepick { position: relative; display: block; cursor: pointer; }
.rolepick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rolepick__body { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid rgba(0,0,51,.25); border-radius: 16px; background: #fff; transition: background var(--t-fast), border-color var(--t-fast); }
.rolepick__body b { font-size: 1.1rem; } .rolepick__body small { font-size: .9rem; color: var(--gray); font-weight: 500; }
.rolepick:hover .rolepick__body { background: #f4f3ff; }
.rolepick input:checked + .rolepick__body { border: 2px solid var(--blue); background: #f1f0ff; padding: 15px 17px; }
.rolepick input:focus-visible + .rolepick__body { outline: 3px solid var(--blue); outline-offset: 3px; }
.role-tag { margin: 0 0 4px; font-weight: 600; color: var(--gray); }
.verify-pick { border: 0; padding: 0; margin: 0; } .verify-pick legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.seg { display: inline-flex; border: 1px solid rgba(0,0,51,.3); border-radius: 999px; padding: 3px; gap: 3px; background: #fff; }
.seg label { position: relative; cursor: pointer; } .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.seg input:checked + span { background: var(--blue); color: #fff; } .seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.otp { display: flex; gap: 8px; margin: 14px 0 4px; }
.otp__box { width: 100%; max-width: 54px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 800; border: 1px solid rgba(0,0,51,.35); border-radius: 12px; background: #fff; font-family: inherit; }
.otp__box:focus { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.photo-pick { display: flex; align-items: center; gap: 18px; }
.photo-pick__img { width: 96px; height: 96px; flex: none; border-radius: 50%; border: 1px solid rgba(0,0,51,.25); background: #f1f1f6; display: grid; place-items: center; overflow: hidden; color: var(--gray); }
.photo-pick__img img { width: 100%; height: 100%; object-fit: cover; } .photo-pick__img .icon { width: 38px; height: 38px; }

/* Verified star beside a Creator's name, wherever it appears */
.vinline { display: inline-flex; vertical-align: -.2em; margin-left: 5px; flex: none; } .vinline svg { display: block; }
/* Creator card stats as three round bubbles */
.creator-card__stats { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin-top: 10px; font-size: .8rem; }
.creator-card__stats span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(0,0,51,.18); white-space: nowrap; }
.creator-card__stats { gap: 4px; font-size: .74rem; } .creator-card__stats span { padding: 5px 9px; }
.cc__who > span { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 0; } .cc__who > span small { grid-column: 1 / -1; }
.cc__who .cc__nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cc__who .vinline { margin-left: 4px; }
.give-fab__who b { display: flex; align-items: center; min-width: 0; } .give-fab__who b .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
html .cc__who > span:not(.cc__nm):not(.vinline) { display: grid; grid-template-columns: minmax(0, auto) auto; justify-content: start; align-items: center; }
html .cc__who > span:not(.cc__nm):not(.vinline) > small { grid-column: 1 / -1; }
html .cc__who span.vinline { display: inline-flex; line-height: 0; }
html .cc__who span.cc__nm { display: block; }
.organizer b .vinline { margin-inline: 4px 2px; }
/* Name and verified star always on one line (card byline) */
html .cc__who > span:not(.cc__line):not(.cc__nm):not(.vinline) { display: block; }
html .cc__who span.cc__line { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; min-width: 0; }
html .cc__who span.cc__line .vinline { margin-left: 0; flex: none; }
html .cc__who span.cc__line .cc__nm { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* A Creator's name and verified star never split across lines */
.nw, html .cc__who span.cc__line { white-space: nowrap; }
html .cc__who span.cc__line .cc__nm { overflow: visible; text-overflow: clip; white-space: nowrap; }
html .cc__who { max-width: 100%; }
.give-fab__top { flex-wrap: wrap; row-gap: 10px; }
.give-fab__who { flex: 1 1 auto; }
.give-fab__who b { display: block; overflow: visible; text-overflow: clip; white-space: nowrap; }
.give-fab__who b .nw { display: inline-flex; align-items: center; }
.organizer b .nw { display: inline-block; }
.creator-card__name, .story-page__who h3 { }
/* Creator photos keep their full size beside the name */
.cc__who img { width: 34px; height: 34px; flex: none; min-width: 34px; }
.give-fab__who img { flex: none; }
/* campaign card: bigger avatar; name + star always on one line (givers wrap below instead of squeezing the name) */
html .cc__who { flex: 0 0 auto; max-width: 100%; gap: 10px; }
html .cc__who img { width: 46px; height: 46px; min-width: 46px; flex: none; }
html .cc__who span.cc__line { flex-wrap: nowrap; white-space: nowrap; }
html .cc__who > span:not(.cc__line):not(.cc__nm):not(.vinline) { display: block; min-width: 0; }
html .cc__foot .cc__givers { flex: 0 0 auto; margin-left: auto; }
/* v: campaign card avatar 50, name + star on one line with air */
html .cc__who img { width: 50px; height: 50px; min-width: 50px; }
html .cc__who span.cc__line { gap: 6px; }
/* give card: creator block sits on the right of the amounts */
html .give-fab__top { flex-wrap: nowrap; row-gap: 0; }
html .give-fab__top > div:first-child { flex: 0 1 auto; min-width: 0; }
html .give-fab__who { flex: 0 1 auto; margin-left: auto; justify-content: flex-end; text-align: left; }
html .give-fab__who > div { justify-items: start; }
/* creator card stat bubbles fill the card */
html .creator-card__stats { flex-wrap: nowrap; gap: 6px; justify-content: space-between; }
html .creator-card__stats span { flex: 1 1 auto; text-align: center; padding: 7px 12px; }
html .creator-card__stats { flex-wrap: wrap; }
html .creator-card__stats span { padding: 7px 14px; }
html .give-fab__who b .nw { overflow: visible; }
html .give-fab__who > div { min-width: max-content; }
@media (max-width: 380px) { html .give-fab__raised { font-size: 1.35rem; } html .give-fab__goal { font-size: .75rem; } html .give-fab__who img { width: 40px; height: 40px; } html .give-fab__top { gap: 8px; } }
@media (min-width: 361px) { html .creator-card__stats { flex-wrap: nowrap; gap: 5px; font-size: .72rem; } html .creator-card__stats span { padding: 7px 8px; flex: 1 1 auto; min-width: 0; } }
@media (max-width: 1024px) { html .story-band__body { justify-items: stretch; } html .story-band__cta { width: 100%; flex-direction: column; } html .story-band__cta .btn { width: 100%; flex: none; } }
@media (max-width: 1024px) { html .story-band__body { justify-items: start; } html .story-band__body > .story-band__cta { justify-self: stretch; } }
/* Giving Creators card: three stat bubbles share the full card width */
.creator-card__stats { display: flex !important; flex-wrap: nowrap !important; width: 100%; gap: 4px !important; justify-content: stretch !important; }
.creator-card__stats > span { flex: 1 1 auto !important; min-width: 0 !important; text-align: center; padding: 8px 4px !important; font-size: .7rem !important; }
@media (max-width: 370px) { .creator-card__stats { flex-wrap: wrap !important; } .creator-card__stats > span { flex: 1 1 auto !important; } }

/* ---------- Withdrawals tracker and the Staff / Super admin consoles ---------- */
.wd-form { display: grid; gap: var(--s4); max-width: 560px; }
.wd-item { display: grid; gap: 16px; } .wd-item__top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.wd-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; counter-reset: none; }
.wd-track li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--gray); position: relative; }
.wd-track li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: rgba(0,0,51,.15); z-index: 0; } .wd-track li:first-child::before { display: none; }
.wd-track li span { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,51,.25); font-size: .8rem; }
.wd-track li span .icon, .wd-track li span svg { width: 15px; height: 15px; }
.wd-track li.is-done, .wd-track li.is-now { color: var(--black); } .wd-track li.is-done::before, .wd-track li.is-now::before { background: var(--blue); }
.wd-track li.is-done span { background: var(--turq); border-color: var(--black); } .wd-track li.is-now span { background: var(--blue); color: #fff; border-color: var(--blue); }
.wd-declined { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff3f3; border: 1px solid rgba(180,0,0,.25); font-weight: 500; }
.op-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.op-filters .chip-btn[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); } .op-filters b { margin-left: 4px; }
.op-item { display: grid; grid-template-columns: auto minmax(0, 1fr) fit-content(44%); gap: 16px; align-items: start; } .op-item + .op-item { margin-top: 0; }
.op-thumb { width: 96px; height: 72px; border-radius: 12px; object-fit: cover; } .op-item .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.op-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid rgba(0,0,51,.2); }
.op-main { display: grid; gap: 6px; min-width: 0; } .op-main p { margin: 0; overflow-wrap: anywhere; } .op-main .muted { font-weight: 500; }
.op-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: var(--fs-small); font-weight: 600; color: var(--gray); } .op-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.op-meta svg { width: 15px; height: 15px; } .op-note { padding: 8px 12px; border-radius: 12px; background: var(--paper); font-size: var(--fs-small); font-weight: 600; }
.op-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.op-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.op-bars { display: grid; gap: 10px; } .op-bar { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: var(--fs-small); font-weight: 600; }
.op-bar i { display: block; height: 12px; width: var(--w); border-radius: 99px; background: var(--blue); }
.op-top { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; } .op-top li { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; } .op-top a { overflow-wrap: anywhere; }
.op-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .op-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.op-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; } .op-log li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: start; font-size: var(--fs-small); }
.op-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-top: 6px; }
.op-prev { display: grid; gap: 10px; } .op-prev img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 16px; } .op-prev img.op-prev__s { display: inline-block; width: calc(25% - 8px); height: 70px; margin-right: 8px; }
.kpi--btn { text-align: left; cursor: pointer; font: inherit; color: inherit; } .kpi--btn:hover { border-color: var(--black); }
@media (max-width: 760px) { .op-two { grid-template-columns: 1fr; } .op-item { grid-template-columns: auto minmax(0, 1fr); } .op-item .op-actions { grid-column: 1 / -1; justify-content: flex-start; } .op-thumb { width: 72px; height: 56px; } .op-bar { grid-template-columns: 90px minmax(0, 1fr) auto; } .op-log li { grid-template-columns: 12px minmax(0, 1fr); } .op-log time { grid-column: 2; } .wd-track li { font-size: .7rem; } }

/* Give card (phones and tablets): minimise to just the Give button, and back, with a smooth transition */
.give-fab__wrap { display: grid; grid-template-rows: 1fr; } .give-fab__body { min-height: 0; overflow: hidden; display: grid; gap: 10px; }
.give-fab__min { display: none; }
@media (max-width: 1024px) {
  html .give-fab { gap: 0; width: min(calc(100% - 24px), 520px); transition: width .35s cubic-bezier(.4,0,.2,1), padding .35s cubic-bezier(.4,0,.2,1), border-radius .35s ease, opacity .2s ease, visibility .2s; }
  .give-fab__body { padding-bottom: 10px; transition: opacity .25s ease .05s, padding .35s ease; }
  .give-fab__wrap { transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1); }
  .give-fab__min { display: grid; place-items: center; position: absolute; top: -17px; right: 20px; width: 34px; height: 34px; padding: 0; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,51,.25); color: var(--black); cursor: pointer; z-index: 2; transition: transform .35s ease; }
  .give-fab__min svg { display: block; } body.give-min .give-fab__min, .give-fab.is-min .give-fab__min { transform: rotate(180deg); }
  html .give-fab.is-min { width: min(calc(100% - 24px), 260px); padding: 8px; border-radius: 99px; }
  .give-fab.is-min .give-fab__wrap { grid-template-rows: 0fr; } .give-fab.is-min .give-fab__body { opacity: 0; padding-bottom: 0; pointer-events: none; }
  .give-fab.is-min .give-fab__btn { margin: 0; }
  body.has-give { transition: padding-bottom .35s ease; } body.has-give.give-min { padding-bottom: 110px; }
}
@media (min-width: 1025px) { .give-fab__body { overflow: visible; } }
@media (prefers-reduced-motion: reduce) { html .give-fab, .give-fab__wrap, .give-fab__body, .give-fab__min { transition: none !important; } }
@media (min-width: 1025px) { .give-fab__body { gap: 14px; } }

/* Give card toggle: clearer minimise / maximise button */
@media (max-width: 1024px) {
  html .give-fab__min { top: -20px; right: 18px; width: 40px; height: 40px; background: var(--blue); border: 3px solid #fff; color: #fff; transition: transform .35s ease, top .35s cubic-bezier(.4,0,.2,1), right .35s cubic-bezier(.4,0,.2,1), background .25s ease; }
  html .give-fab__min svg { width: 20px; height: 20px; }
  html .give-fab.is-min { width: min(calc(100% - 24px), 320px); padding: 8px 56px 8px 8px; }
  html .give-fab.is-min .give-fab__min { top: 50%; right: 8px; margin-top: -20px; background: var(--turq); color: var(--black); border: 1px solid rgba(0,0,51,.3); }
}
.wd-item + .wd-item { margin-top: 14px; }

/* Give card (phones & tablets): even spacing between rows that nothing can squeeze; minimised card spans the full width */
@media (max-width: 1024px) {
  html .give-fab__body { display: flex !important; flex-direction: column; gap: 14px !important; padding-bottom: 14px; }
  html .give-fab__body > * { margin: 0; flex: none; }
  html .give-fab .progress { margin: 6px 0 2px; }
  html .give-fab__top { gap: 12px; align-items: flex-start; }
  html .give-fab.is-min { width: min(calc(100% - 24px), 520px); padding: 8px 60px 8px 8px; }
  html .give-fab.is-min .give-fab__btn { width: 100%; }
  html .give-fab.is-min .give-fab__body { padding-bottom: 0; gap: 0 !important; }
}

/* "Creator" tag on Q&A answers: a small dark tag, like on the cards */
.qa__a .chip { display: inline-flex; padding: 3px 10px; background: var(--black); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1.2; vertical-align: 2px; }
/* Footer bottom line: smaller, quiet text */
html .footer__bottom, html .footer__bottom a, html .footer__bottom .country-btn, html .footer__bottom > span { font-size: .85rem; }
html .footer__bottom .country-btn { color: inherit; font-weight: 500; }

/* Give card: spacing made with margins (works in every browser, no reliance on flex/grid gap) */
@media (max-width: 1024px) {
  html .give-fab__body { display: block !important; gap: 0 !important; padding-bottom: 14px; }
  html .give-fab__body > * + * { margin-top: 14px !important; }
  html .give-fab__body > .progress, html .give-fab__body > .progress--card, html .give-fab__body .progress { margin-top: 18px !important; }
  html .give-fab.is-min .give-fab__body { padding-bottom: 0; }
}
@media (max-width: 1024px) { html .give-fab__giver > div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } html .give-fab__giver > div p { overflow: hidden; text-overflow: ellipsis; } }

/* Give card (mobile/tablet): explicit per-row spacing, independent of gap/grid rules above */
@media (max-width: 1024px) {
  html .give-fab .give-fab__top { margin: 0 0 18px; }
  html .give-fab .progress { margin: 0 0 14px !important; }
  html .give-fab .give-fab__stats { margin: 0 0 14px !important; }
  html .give-fab .give-fab__giver { margin: 0 0 0 !important; }
  html .give-fab .give-fab__btn { margin: 0 !important; }
  html .give-fab.is-min .give-fab__btn { margin: 0 !important; }
  html .give-fab .give-fab__min { display: grid !important; }
}

/* Footer bottom line: smaller text */
html .site-footer .footer__bottom, html .site-footer .footer__bottom > span, html .site-footer .footer__bottom a, html .site-footer .footer__bottom .country-btn { font-size: 13px !important; }

/* Recent Givers: comment text weight */
html .supporter p { font-weight: 500; }

/* Givers counter icon + Give card toggle (same size and colour open and minimised) */
.givers-ico { width: 22px; height: 22px; flex: none; display: block; }
@media (max-width: 1024px) {
  html .give-fab:not(.is-min) { padding-top: 42px; }
  html .give-fab .give-fab__min, html .give-fab.is-min .give-fab__min { width: 48px; height: 48px; background: var(--turq); color: var(--black); border: 4px solid #fff; box-shadow: none; }
  html .give-fab .give-fab__min { top: -24px; right: 18px; }
  html .give-fab.is-min .give-fab__min { top: 50%; right: 8px; margin-top: -24px; }
  html .give-fab .give-fab__min svg { width: 22px; height: 22px; }
  html .give-fab.is-min { padding-right: 64px; }
}

/* Team consoles: compact level/country selects beside the action buttons */
html .op-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
html .op-actions .op-sel { width: auto; min-width: 140px; max-width: 180px; height: 38px; padding-block: 0; font-size: .85rem; }
html .op-item .op-main { min-width: 0; overflow-wrap: anywhere; }

/* Team consoles: review popups and roomier buttons */
html .op-actions .btn, html .wd-item .btn, html .op-item .btn, html .dash .btn-sm, html .modal__foot .btn, html .rv .btn { padding-inline: 1.6em; }
html .op-actions { gap: 8px; }
.modal:has(.rv) .modal__body { max-height: 74vh; overflow: auto; }
.rv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.rv__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin: 20px 0 8px; font-weight: 800; }
.rv__left > .rv__h:first-child, .rv__right > .rv__h:first-child { margin-top: 0; }
.rv__card { pointer-events: none; max-width: 420px; }
.rv__card .cc { margin: 0; }
.rv__ph { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rv__ph img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.rv__chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rv__chk li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; font-weight: 600; }
.rv__chk .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.rv__chk .is-ok .icon { color: #0a8f3c; } .rv__chk .is-no .icon { color: #b00020; }
.rv__chk small { font-weight: 500; color: var(--gray); }
.rv__dl { margin: 0; display: grid; gap: 6px; }
.rv-kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; font-size: .92rem; }
.rv-kv dt { color: var(--gray); font-weight: 600; } .rv-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.rv__lead { margin: 14px 0 0; font-weight: 700; }
.rv__story p { margin: 0 0 10px; font-weight: 500; line-height: 1.55; }
.rv__fund { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv__fund li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .9rem; font-weight: 600; }
.rv__fund i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--turq) var(--w), #e6e6ee var(--w)); }
.rv__who { display: flex; gap: 12px; align-items: center; }
.rv__prof { text-align: center; display: grid; gap: 6px; justify-items: center; }
.rv__av { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--turq); }
.rv__prof h3 { margin: 4px 0 0; font-size: 1.3rem; }
.rv__soc { margin-top: 4px; }
@media (max-width: 1024px) { .rv { grid-template-columns: 1fr; } }

/* Dashboards: smaller, cuter buttons and bubbles with roomy sides */
html .dash .btn, html .dash .btn-sm, html #opsRoot .btn, html .modal__foot .btn, html .rv .btn { min-height: 36px; padding: .32em 1.5em; font-size: .86rem; font-weight: 700; gap: .45em; box-shadow: 1.5px 2px 0 var(--black); }
html .dash .btn:hover, html #opsRoot .btn:hover { transform: translate(-1px, -1px); box-shadow: 2px 3px 0 var(--black); }
html .dash .btn:active, html #opsRoot .btn:active { transform: translate(1px, 1px); box-shadow: 0 0 0 var(--black); }
html .dash .btn .icon, html #opsRoot .btn .icon { width: 15px; height: 15px; }
html .dash .btn-text, html #opsRoot .btn-text { min-height: 0; padding: .2em .4em; box-shadow: none; }
html .dash .chip-btn { min-height: 34px; padding: .3em 1.15em; font-size: .84rem; gap: 6px; box-shadow: none; }
html .dash .chip-btn[aria-pressed="true"] { box-shadow: 1.5px 2px 0 var(--black); }
html .dash .chip { padding: .28em .85em; font-size: .7rem; }
html .dash .dash__nav .tab { min-height: 40px; padding: .35em 1.1em; font-size: .88rem; gap: 10px; }
html .dash .dash__nav .tab .icon { width: 17px; height: 17px; }
html .dash .count { min-width: 20px; height: 20px; font-size: .68rem; padding: 0 6px; }
html .dash .op-meta .chip, html .dash .op-meta span.chip { font-size: .68rem; padding: .25em .8em; }
html .dash .notice { font-size: .86rem; padding: 10px 16px; }
html .dash .field .input, html .dash .field .select, html .dash .op-sel { min-height: 38px; font-size: .88rem; padding: .35em 1em; }
html .dash .wd-track li span { width: 26px; height: 26px; font-size: .75rem; }
html .dash .op-actions { gap: 8px; }
@media (max-width: 700px) { html .dash .btn, html .dash .btn-sm { min-height: 40px; } html .dash .dash__nav .tab { min-height: 42px; } }

/* Console: separate Users cards, "who did it" tags, Giving Creator pill states */
.op-users { display: grid; gap: 14px; }
.by-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.by-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 8px; border-radius: 14px; max-width: 100%; background: #eef0ff; color: #1000FF; font-size: .72rem; font-weight: 600; line-height: 1.3; }
.by-tag .icon { width: 12px; height: 12px; flex: none; } .by-tag b { font-weight: 800; }
html .gc-tag--off { background: #e6e6ec; color: #6a6a80; border: 0; font-family: inherit; cursor: default; }
html .gc-tag--off img { filter: grayscale(1) opacity(.55); }
html .gc-tag--btn { cursor: pointer; } html .gc-tag--btn:hover { background: #d6d6e0; color: #000033; }
html .gc-tag--on { cursor: default; }
html .op-actions .gc-tag { align-self: center; padding: 6px 14px 6px 8px; font-size: .78rem; }
html .op-meta .gc-tag { font-size: .68rem; }

/* Review popup profile: avatar left, name (first / last on two lines) beside it, email and pills under the name */
html .rv__prof { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; text-align: left; justify-items: start; align-items: center; }
html .rv__prof .rv__av { width: 88px; height: 88px; grid-row: 1; }
html .rv__id { display: grid; gap: 4px; min-width: 0; justify-items: start; }
html .rv__id h3 { margin: 0; font-size: 1.25rem; line-height: 1.1; }
html .rv__id h3 > span { display: block; }
html .rv__id h3 .vinline { display: inline-flex; vertical-align: middle; margin-left: 4px; }
html .rv__id p { margin: 0; overflow-wrap: anywhere; }
html .rv__id .op-meta { justify-content: flex-start; margin-top: 4px; }
html .rv__prof .rv__soc { grid-column: 1 / -1; }

/* Console: viewing-as banner, selects in the side menu, team photo field, avatars next to who-did-it */
.viewas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } .viewas span { flex: 1 1 260px; }
html .op-viewsel, html .tabsel select { width: 100%; margin-top: 8px; min-height: 36px; padding: .3em 2.2em .3em 1.2em; font-size: .86rem; font-weight: 700; border-radius: 999px; }
html .tabsel { display: flex; align-items: center; gap: 8px; padding: 0 !important; background: none; border: 0; }
html .tabsel > .icon { display: none; }
html .tabsel select { margin-top: 0; }
html .tabsel[aria-selected="true"] select { background-color: var(--blue); color: #fff; border-color: transparent; }
.tphoto { display: flex; align-items: center; gap: 12px; } .tphoto .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.by-tag__av { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: none; }
.op-log__av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin-top: 0; }
.op-log li { grid-template-columns: 28px minmax(0, 1fr) auto !important; }
html .op-viewsel, html .tabsel select { background-color: #fff; border: 1px solid rgba(0,0,51,.2); }
html .op-main > .chip { justify-self: start; width: fit-content; }
html .op-meta .btn-text { text-align: left; font-size: inherit; font-weight: 700; padding: 0; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
html .rv__id h3 .rv__ln { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
html .rv__id h3 .rv__ln .vinline { margin: 0; }
.rep-by { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; font-size: .85rem; } .rep-by > div { display: grid; gap: 1px; } .rep-by dt { color: var(--gray); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; } .rep-by dd { margin: 0; font-weight: 600; }
.rep-log { margin-top: 12px; padding: 12px 14px; background: var(--paper); border-radius: 14px; } .rep-log h4 { margin: 0 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); }
.rep-log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .rep-log li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-size: .85rem; } .rep-log li img { margin-top: 2px; }

/* Console cards: all action buttons sit on one row at the top right, slightly smaller, so the "who did it" tags keep their room */
@media (min-width: 761px) {
  html .op-item { grid-template-columns: auto minmax(0, 1fr) max-content; }
  html .op-item .op-actions { flex-wrap: nowrap; align-self: start; gap: 6px; white-space: nowrap; }
  html .op-item .op-actions .btn, html .op-item .op-actions .btn-sm { min-height: 32px; padding: .24em 1.3em; font-size: .8rem; }
  html .op-item .op-actions .gc-tag { padding: 4px 12px 4px 7px; font-size: .72rem; }
  html .op-item .op-actions .chip { font-size: .72rem; }
}
/* Creator cards: name and buttons on top, everything else (details, "who did it" tags) runs full width underneath */
@media (min-width: 761px) {
  html .op-item--who { grid-template-columns: auto minmax(0, 1fr) max-content; column-gap: 16px; row-gap: 6px; }
  html .op-item--who > .avatar { grid-column: 1; grid-row: 1 / span 4; }
  html .op-item--who > .op-main { display: contents; }
  html .op-item--who .op-main > * { grid-column: 2 / -1; margin: 0; }
  html .op-item--who .op-main > b { grid-column: 2; grid-row: 1; align-self: center; }
  html .op-item--who .op-main > p.muted { grid-column: 2; grid-row: 2; }
  html .op-item--who > .op-actions { grid-column: 3; grid-row: 1 / span 2; }
  html .op-item--who .by-row { margin-top: 2px; }
}
@media (min-width: 761px) and (max-width: 1240px) {
  html .op-item--who > .avatar { grid-row: 1 / span 5; }
  html .op-item--who > .op-actions { grid-column: 2 / -1; grid-row: 1; justify-self: end; }
  html .op-item--who .op-main > b { grid-column: 2 / -1; grid-row: 2; }
  html .op-item--who .op-main > p.muted { grid-column: 2 / -1; grid-row: 3; }
}
@media (min-width: 1241px) {
  html .op-item--who > .op-actions { grid-row: 1; }
  html .op-item--who .op-main > p.muted { grid-column: 2 / -1; }
}
/* Our dropdown inside consoles: same compact look the old selects had */
html .op-viewsel.ga-sel__btn, html .tabsel .ga-sel__btn { margin-top: 8px; min-height: 36px; padding: .3em 2.2em .3em 1.2em; font-size: .86rem; font-weight: 700; border-radius: 999px; background-color: #fff; border: 1px solid rgba(0,0,51,.2); }
html .tabsel .ga-sel { flex: 1; } html .tabsel .ga-sel__btn { margin-top: 0; }
html .tabsel[aria-selected="true"] .ga-sel__btn { background-color: var(--blue); color: #fff; border-color: transparent; }
html .op-actions .op-sel.ga-sel__btn { width: auto; min-width: 140px; max-width: 180px; height: 38px; padding-block: 0; font-size: .85rem; }
html .tabsel:not([aria-selected="true"]) .ga-sel__btn { color: var(--black); }

/* Category tiles: soft square with a line icon and the name underneath (home swipe row on phones, a row on desktop) */
.chips.cat-row { display: flex; flex-wrap: nowrap; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 8px; margin-bottom: var(--s5); -webkit-overflow-scrolling: touch; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 auto; width: 112px; display: grid; justify-items: center; gap: 10px; background: none; border: 0; padding: 0; font: inherit; color: var(--black); cursor: pointer; scroll-snap-align: start; text-align: center; }
.cat-tile__box { width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: #f4f4f8; border: 2px solid transparent; border-radius: 20px; transition: background .15s, border-color .15s; }
.cat-tile__box svg { width: 46%; height: 46%; }
.cat-tile .acc { fill: var(--turq); }
.cat-tile__lab { font-size: .92rem; font-weight: 500; line-height: 1.25; }
.cat-tile__n { font-size: .74rem; font-weight: 500; color: #6a6a80; margin-top: -6px; }
.cat-tile:hover .cat-tile__box { background: #e7fffa; }
.cat-tile:focus-visible .cat-tile__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.cat-tile[aria-pressed="true"] .cat-tile__box { background: #eef0ff; border-color: var(--blue); color: var(--blue); }
.cat-tile[aria-pressed="true"] .cat-tile__lab { font-weight: 700; color: var(--blue); }
@media (max-width: 1024px) { .chips.cat-row { gap: 12px; margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); } .cat-tile { width: 84px; gap: 8px; } .cat-tile__box { border-radius: 16px; } .cat-tile__lab { font-size: .8rem; } .cat-tile__n { display: none; } }

/* Phones and tablets: campaign lists become compact cards, picture on the left, details on the right (the home featured card stays large) */
.cc__loc, .cc__left, .cc__top { display: none; }
@media (max-width: 1024px) {
  html .grid-cards { grid-template-columns: 1fr; gap: 14px; padding: 0 0 8px; }
  html .grid-cards .cc:not(.cc--skeleton) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border-radius: 22px; border: 1px solid rgba(0,0,51,.12); box-shadow: 0 2px 10px rgba(0,0,51,.06); }
  html .grid-cards .cc:hover { transform: none; box-shadow: 0 2px 10px rgba(0,0,51,.06); }
  html .grid-cards .cc__media { width: 112px; height: 112px; aspect-ratio: 1; border-radius: 16px; overflow: visible; }
  html .grid-cards .cc__media > img:not(.cc__heart) { width: 112px; height: 112px; border-radius: 16px; }
  html .grid-cards .cc__days, html .grid-cards .cc__cat, html .grid-cards .cc__tag, html .grid-cards .cc__who { display: none; }
  html .grid-cards .cc__status { position: absolute; left: 6px; bottom: 6px; font-size: .62rem; padding: 2px 8px; }
  html .grid-cards .cc__save { top: 6px; left: 6px; width: 30px; height: 30px; }
  html .grid-cards .cc__save .cc__heart { width: 15px; }
  html .grid-cards .cc__body { padding: 2px 0 0; gap: 6px; min-width: 0; }
  html .grid-cards .cc__loc { display: block; margin: 0; font-size: .8rem; font-weight: 500; color: #6a6a80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html .grid-cards .cc__title { font-size: 1rem; line-height: 1.25; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
  html .grid-cards .cc__meta { gap: 8px; margin-top: 0; }
  html .grid-cards .cc__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  html .grid-cards .cc__amounts { font-size: .88rem; font-weight: 800; }
  html .grid-cards .cc__amounts svg, html .grid-cards .cc__amounts .cc__goal { display: none; }
  html .grid-cards .cc__amounts::after { content: " raised"; font-weight: 500; color: #6a6a80; }
  html .grid-cards .cc__left, html .grid-cards .cc__givers { display: inline-flex; margin: 0; font-size: .76rem; font-weight: 600; color: #6a6a80; gap: 4px; align-items: center; }
  html .grid-cards .cc__left { color: var(--blue); }
  html .grid-cards .cc__givers i img { width: 12px; height: 12px; }
}

@media (max-width: 1024px) {
  html .grid-cards .cc__amounts { display: block; border: 0; background: none; box-shadow: none; padding: 0; min-height: 0; border-radius: 0; }
  html .grid-cards .progress { height: 8px; }
  html .grid-cards .cc__givers i { width: 20px; height: 20px; min-width: 20px; display: inline-grid; place-items: center; }
  html .grid-cards .cc__givers { border: 0; background: none; box-shadow: none; padding: 0; min-height: 0; }
}

/* Phones and tablets: compact campaign card, round two */
@media (max-width: 1024px) {
  html .grid-cards .cc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
  html .grid-cards .cc__top .cc__loc { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
  html .grid-cards .cc__cat2 { display: inline-flex; flex: none; max-width: 56%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .64rem; font-weight: 600; padding: 3px 10px; }
  html .grid-cards .cc__title { font-weight: 700; }
  html .grid-cards .cc__amounts::after, html .grid-cards .cc__givers { font-weight: 500; }
  html .grid-cards .progress { height: 10px; margin-block: 6px; }
  html .grid-cards .progress__thumb { display: block; width: 34px; height: 18px; left: clamp(17px, var(--p), calc(100% - 17px)); border-width: 1px; }
  html .grid-cards .cc__left { background: var(--black); color: #fff; padding: 3px 11px; border-radius: 999px; font-size: .7rem; font-weight: 600; }
}

/* Category grid: breathing room at the edges, weight 500 text, and the campaign counter in a pill */
.chips.cat-row { scroll-padding-inline: 20px; }
@media (max-width: 1024px) { html .chips.cat-row { padding-inline: calc(var(--gutter, 16px) + 4px); } }
html .cat-tile__lab, html .cat-tile__n { font-weight: 500; }
html .cat-tile[aria-pressed="true"] .cat-tile__lab { font-weight: 700; }
html .results-meta { display: inline-flex; align-items: center; background: #fff; border: 1px solid rgba(0,0,51,.14); border-radius: 999px; padding: 6px 18px; font-size: .82rem; font-weight: 600; color: var(--black); margin: 0 0 var(--s4); }
html .results-meta:empty { display: none; }
@media (min-width: 1025px) { html .chips.cat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 20px 14px; overflow: visible; padding-inline: 2px; } html .cat-tile { width: auto; } }
@media (max-width: 1024px) {
  html .grid-cards .cc__top .cc__loc { flex: 0 0 auto; max-width: 68%; }
  html .grid-cards .cc__cat2 { flex: 0 1 auto; min-width: 0; margin-left: auto; font-size: .62rem; padding: 3px 9px; }
}

/* Home, phones and tablets: "See all campaigns" sits after the campaign cards */
/* homepage: no search box or category tiles, just sort + the cards */
html .explore-block .toolbar__search, html .explore-block .chips { display: none; }
/* Start a campaign: the same category tiles as Explore, as a grid */
html .chips.cat-grid, html .cat-row.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 20px 14px; overflow: visible; margin-inline: 0; padding-inline: 2px; }
html .cat-grid .cat-tile { width: auto; min-width: 0; }
@media (max-width: 1024px) { html .cat-row.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html .op-item--who .op-main > b { white-space: nowrap; }

/* round three: team selects, tiles, compact card foot, search title */
html .op-actions .op-sel--lvl.ga-sel__btn { min-width: 0; width: 118px; max-width: 118px; padding-inline: .8em; font-size: .78rem; }
html .op-actions .op-sel--ctry.ga-sel__btn { min-width: 0; width: 96px; max-width: 96px; padding-inline: .8em; font-size: .78rem; }
html .op-item--who .op-main > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cat-tile__box svg { width: 56%; height: 56%; }
@media (max-width: 1024px) {
  html .grid-cards .cc__foot { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px 8px; }
  html .grid-cards .cc__amounts { grid-column: 1; grid-row: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html .grid-cards .cc__givers { grid-column: 2; grid-row: 1; margin: 0; white-space: nowrap; }
}
html dialog.modal h2, html .sp__h { font-family: var(--font-title, "GivingAid Title"), "Plus Jakarta Sans", sans-serif; font-weight: 800; }
html #spQ { font-family: var(--font-title, "GivingAid Title"), "Plus Jakarta Sans", sans-serif; font-weight: 700; }
@media (max-width: 1024px) { html .grid-cards .cc__amounts::after { content: none; } }

/* round four: console glitches */
/* Needs your decision: icon, then the words right beside it, button at the far right */
html .op-list li > svg, html .op-list li > .icon { flex: none; }
html .op-list li > span { flex: 1 1 0; min-width: 0; text-align: left; }
/* "All countries" bubble */
html header > .chip.chip--turq { padding: .32em 1.2em; }
/* Withdrawal progress: first circle on the left edge, last on the right edge, even steps between */
html .wd-track { --c: 15px; }
html .dash .wd-track { --c: 13px; }
html .wd-track li:first-child { justify-items: start; text-align: left; }
html .wd-track li:last-child { justify-items: end; text-align: right; }
html .wd-track li:nth-child(2)::before { left: calc(-100% - 6px + var(--c)); width: calc(150% + 6px - var(--c)); }
html .wd-track li:nth-child(3)::before { left: calc(-50% - 6px); width: calc(100% + 6px); }
html .wd-track li:nth-child(4)::before { left: calc(-50% - 6px); width: calc(150% + 6px - var(--c)); }
html .wd-track li::before { top: calc(var(--c) - 1px); }
/* Reports: title and buttons on top, details use the full card width */
@media (min-width: 761px) {
  html .op-item--rep { grid-template-columns: auto minmax(0, 1fr) max-content; column-gap: 16px; row-gap: 8px; }
  html .op-item--rep > .op-icon { grid-column: 1; grid-row: 1 / span 6; align-self: start; }
  html .op-item--rep > .op-main { display: contents; }
  html .op-item--rep .op-main > * { grid-column: 2 / -1; margin: 0; }
  html .op-item--rep .op-main > .op-ttl { grid-column: 2; grid-row: 1; align-self: center; }
  html .op-item--rep > .op-actions { grid-column: 3; grid-row: 1; }
  html .op-item--rep .rep-by { flex-wrap: wrap; }
}
/* Users: name sits right above the email */
@media (min-width: 761px) {
  html .op-item--who { row-gap: 0; }
  html .op-item--who .op-main > b { align-self: end; }
  html .op-item--who .op-main > p.muted { align-self: start; margin-top: 1px; }
  html .op-item--who .op-main > :nth-child(n+3) { margin-top: 8px; }
}
@media (min-width: 761px) and (max-width: 1240px) {
  html .op-item--who .op-main > b { margin-top: 8px; }
}
/* Choose file buttons: rounded like the rest */
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: .85rem; color: var(--black); background: #fff; border: var(--bw, 1.5px) solid var(--black); border-radius: 999px; padding: .3em 1.3em; margin-right: 12px; cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: var(--turq); }

/* homepage: only the cards (no search, sort, category tiles or counter) */
html .explore-block .toolbar, html .explore-block .chips { display: none; }
/* compact card: no light (400) text */
@media (max-width: 1024px) { html .grid-cards .cc, html .grid-cards .cc * { font-weight: max(500, 1); } html .grid-cards .cc__title, html .grid-cards .cc__title a { font-weight: 700; } html .grid-cards .cc__amounts, html .grid-cards .cc__amounts span { font-weight: 800; } html .grid-cards .cc__cat2, html .grid-cards .cc__givers { font-weight: 600; } }

/* homepage filter pill + counter, and the "Show campaigns by" popup */
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 var(--s4, 20px); }
.fbar .results-meta { margin: 0; }
html .fpill { gap: 8px; padding-inline: 1.3em; }
html .fpill svg { width: 16px; height: 16px; flex: none; }
html .fpill .fpill__chev { width: 14px; height: 14px; }
.fmenu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 45; width: min(340px, calc(100vw - 32px)); display: grid; gap: 6px; padding: 8px; background: #fff; border: 1.5px solid rgba(0,0,51,.16); border-radius: 22px; box-shadow: 0 14px 34px rgba(0,0,51,.16); }
.fmenu .fopt { border-color: transparent; border-radius: 16px; }
.fmenu .fopt[aria-selected="true"] { border-color: var(--blue); background: #eef0ff; }
.fmenu .fopt[aria-selected="true"] .fopt__ic { background: #fff; color: var(--blue); }
.fmenu .fopt[aria-selected="true"] .fopt__dot { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 5px, #fff 5.5px); }
.fopt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1.5px solid rgba(0,0,51,.16); border-radius: 18px; padding: 12px 16px 12px 12px; cursor: pointer; font: inherit; color: var(--black); transition: background .15s, border-color .15s; }
.fopt:hover { background: #f4fffd; }
.fopt:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.fopt__ic { width: 46px; height: 46px; border-radius: 14px; background: #f4f4f8; display: grid; place-items: center; }
.fopt__ic svg { width: 24px; height: 24px; }
.fopt__tx { display: grid; gap: 2px; min-width: 0; }
.fopt__tx b { font-family: var(--font-title); font-weight: 800; font-size: 1.02rem; }
.fopt__tx small { font-size: .84rem; font-weight: 500; color: #5a5a72; }
.fopt__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(0,0,51,.3); }
.fopt[aria-checked="true"] { border-color: var(--blue); background: #eef0ff; }
.fopt[aria-checked="true"] .fopt__ic { background: #fff; color: var(--blue); }
.fopt[aria-checked="true"] .fopt__dot { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 5px, #fff 5.5px); }

/* filter dropdown: full width, grey (not blue) selected state */
html .fmenu { left: 0; right: 0; width: auto; }
html .fmenu .fopt[aria-selected="true"] { border-color: transparent; background: #f4f4f8; }
html .fmenu .fopt[aria-selected="true"] .fopt__ic { background: #fff; color: var(--black); }
html .fmenu .fopt[aria-selected="true"] .fopt__dot { border-color: #8a8a9c; background: radial-gradient(circle, #8a8a9c 0 5px, #fff 5.5px); }
html .fmenu .fopt:focus-visible { outline: 2px solid #8a8a9c; outline-offset: -2px; }

/* Explore page uses the same filter pill, so the old sort select goes */
.has-pill .toolbar__sort { display: none; }
.has-pill .toolbar { grid-template-columns: minmax(0, 1fr); }
.has-pill .fbar { margin-top: 14px; }

/* Selection look everywhere: soft grey, no blue outline */
html .cat-tile[aria-pressed="true"] .cat-tile__box { background: #e6e6ee; border-color: transparent; color: var(--black); }
html .cat-tile[aria-pressed="true"] .cat-tile__lab { color: var(--black); }
html .rolepick input:checked + .rolepick__body { border: 2px solid transparent; background: #ececf2; }
html .photo.is-main, html .rev-thumbs img.is-main { border: 2px solid #8a8a9c; }
html .photo.is-main .photo__main { background: var(--black); border-color: var(--black); }
html .steps-bar li[aria-current="step"] { border-color: #8a8a9c; }
@media (max-width: 1024px) { html .fmenu { border: 0; } html .fmenu .fopt, html .fmenu .fopt[aria-selected="true"] { border: 0; } html .fmenu .fopt:focus-visible { outline: 0; box-shadow: none; } }

/* ===== Quieter colours: flat soft grey replaces the turquoise hover and the blue "active" fill (no shadows) ===== */
:root { --grey-h: #f1f1f6; --grey-a: #e8e8ef; }
/* hover: soft grey (menus and footer links keep their turquoise text hover) */
html :is(.btn-outline, .chip-btn:not([aria-pressed="true"]), .kpi--btn, .dash__nav button.tab:not([aria-selected="true"]), .method, .share__grid a, .share__native, .share__qr, .social, .word__menu, .word-pop button, a.notif, a.notif.unread, .type-card, .gc-tag--btn):hover { background: var(--grey-h); color: var(--black); }
html .btn-dark:hover { background: #1a1a4d; color: #fff; }
html .rolepick:hover .rolepick__body { background: var(--grey-h); }
html .dropzone:hover { background: var(--grey-a); }
html :is(.st__exit, .st__ib:not(:disabled), .st__rail button:not([aria-pressed="true"]), .st-row__b, .st-fmt button, .st-item__h button, .st-libg button, .st-tile):hover { background: var(--grey-h); }
html :is(.icon-btn, .modal__head .icon-btn, .icon-btn[aria-label="Close"]):hover { background: var(--grey-h); }
html .pagination button:hover:not([disabled]):not([aria-current="page"]) { background: var(--grey-h); }
html .share__copy:hover { background: var(--grey-a); }
html .cat-tile:hover .cat-tile__box { background: var(--grey-h); }
html .fopt:hover { background: #f4f4f8; }
html input[type="file"]::file-selector-button:hover { background: var(--grey-h); }
/* active (selected) buttons: soft grey, dark text, no blue fill */
html :is(.chip-btn[aria-pressed="true"], .chip-btn[aria-current="true"], .op-filters .chip-btn[aria-pressed="true"], .pagination button[aria-current="page"], .stepper button[aria-current="step"], .dash__nav button.tab[aria-selected="true"]):not([data-filter="creators:flagged"]) { background: var(--grey-a); color: var(--black); border-color: transparent; }
html .stepper button[aria-current="step"] b { background: #fff; color: var(--black); }
html .tabsel[aria-selected="true"] select, html .tabsel[aria-selected="true"] .ga-sel__btn { background-color: var(--grey-a); color: var(--black); border-color: transparent; }
html .seg input:checked + span { background: var(--grey-a); color: var(--black); }
html .st__rail button[aria-pressed="true"] { background: var(--grey-a); color: var(--black); }
html .ga-opt.is-sel { background: #f4f4f8; color: var(--black); }
/* "How it works" step icons: light grey tile, thin dark icon (same as the filter menu) */
html .path__ico { background: #f4f4f8; color: var(--black); }
html .path__ico .icon { stroke-width: 1.6; }
@media (min-width: 1025px) { html .site-footer .footer__social a:hover { background: var(--grey-h); border-color: transparent; color: var(--black); } }
/* flat: no lift on hover */
html :is(.btn, .chip-btn, .kpi--btn, .pagination button, .type-card):hover { transform: none; }

/* every button reacts to hover (flat, quiet) */
html .btn-primary:hover { background: #00dcc1; color: var(--black); }
html .btn-secondary:hover { background: var(--grey-h); color: var(--black); }
html .cc__who:hover .cc__nm { text-decoration: underline; text-underline-offset: 3px; }
html :is(.ga-sel__btn, select.select, .input):hover:not(:focus) { background-color: #e6e8ef; }
html .dash__nav button.tab:not([aria-selected="true"]):hover { background: var(--grey-h); }
/* dropdown tabs: only the round button changes, never the square label behind it */
html label.tab.tabsel, html label.tab.tabsel:hover, html label.tab.tabsel[aria-selected="true"] { background: transparent; border-radius: 999px; }
html .tabsel:not([aria-selected="true"]):hover .ga-sel__btn { background-color: var(--grey-h); }
html .ga-opt.is-act { background: var(--grey-h); }
html :is(.chip-btn[aria-pressed="true"], .dash__nav button.tab[aria-selected="true"], .pagination button[aria-current="page"]):not([data-filter="creators:flagged"]):hover { background: #e0e0ea; }
html .tabsel[aria-selected="true"]:hover .ga-sel__btn { background-color: #e0e0ea; }
html .cat-tile[aria-pressed="true"]:hover .cat-tile__box { background: #dcdce6; }

/* Campaign page: save heart at the bottom-left of the photo; Share + Report sit side by side */
.cc__save.cc__save--detail { top: auto; bottom: 14px; left: 14px; width: 40px; height: 40px; z-index: 4; }
html .detail__cover .cc__save--detail { border: 0; }
html .share-row { flex-wrap: nowrap; }
html .share-row .btn { white-space: nowrap; }
/* Compact mobile cards: no heart on the thumbnail (it lives on the campaign page now) */
@media (max-width: 1024px) { html .grid-cards .cc__save { display: none; } }

/* Campaign page heart: keep the icon small and centred inside the white circle */
html .detail__cover .cc__save--detail { border: 0 !important; padding: 0; }
html .detail__cover .cc__save--detail .cc__heart { width: 20px; height: auto; max-width: 20px; position: static; inset: auto; border-radius: 0; }
html .detail__cover .cc__save--detail:hover, html .detail__cover .cc__save--detail:active { transform: none; }
.giv-pills{display:flex;gap:8px;flex-wrap:wrap}

/* "Thank you" card: gift, 3% processing fee and total */
.success__sum{margin:14px 0;padding:0;display:grid;gap:8px;text-align:left;width:100%;max-width:none;justify-self:stretch;align-self:stretch}
.success__sum>div{display:flex;justify-content:space-between;gap:16px;font-weight:500}
.success__sum dt{color:#5a5a7a}.success__sum dd{margin:0;font-weight:700;color:#000033}
.success__sum .success__tot{border-top:1px solid #e3e3ee;padding-top:10px}
.success__sum .success__tot dt,.success__sum .success__tot dd{color:#000033;font-weight:700}

/* Creator profile: joined date in a small light pill */
.joined-pill{display:inline-block;margin-left:8px;padding:3px 12px;border-radius:999px;background:#f1f1f6;color:#000033;font-size:.8rem;font-weight:500;line-height:1.5;white-space:nowrap;vertical-align:middle}

/* Mobile menu: the header always stays above the dropped menu panel (campaign page had a lower header layer) */
@media (max-width: 1024px) { html[data-ga-page="campaign"] .site-header { z-index: 60; } }

/* Creator profile: joined date pill, same light pill look as our other pills (white, soft grey outline) */
html .profile .joined-pill{display:inline-block;margin-left:8px;padding:4px 14px;border-radius:999px;background:#fff;border:1px solid rgba(0,0,51,.18);color:#000033;font-size:.82rem;font-weight:500;line-height:1.5;white-space:nowrap;vertical-align:middle}

/* Creator profile: smaller joined pill; no pill on plain Creators; closer Giving Creator pill */
html .profile .joined-pill{margin-left:6px;padding:2px 10px;font-size:.72rem;line-height:1.5}
@media (min-width: 1025px) {
  html .profile--plain { grid-template-areas: "av name act ." "av meta meta meta" "av bio bio bio" "av soc soc soc" "av stats stats stats"; }
  html .profile:not(.profile--plain) .profile__tag { margin-bottom: -6px; }
}
@media (max-width: 1024px) {
  html .profile--plain { grid-template-areas: "av name" "av meta" "bio bio" "soc soc" "stats stats" "act act"; }
  html .profile__tag { margin-bottom: 0; }
}

/* Mobile profile: Follow and Share profile are smaller and sit on one row */
@media (max-width: 1024px) {
  html .profile__actions { flex-direction: row; flex-wrap: nowrap; gap: 10px; justify-content: flex-start; }
  html .profile__actions .btn { width: auto; flex: 0 0 auto; min-height: 40px; padding: 8px 20px; font-size: .92rem; }
}

/* Mobile profile: Follow and Share profile share the full row equally */
@media (max-width: 1024px) {
  html .profile__actions { width: 100%; }
  html .profile__actions .btn { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; }
}

/* Co-creator search: chips and a suggestion list (flat grey, no shadows) */
.co-box{position:relative;display:grid;gap:8px}
.co-chips{display:flex;flex-wrap:wrap;gap:8px}.co-chips:empty{display:none}
.co-chip{display:inline-flex;align-items:center;gap:8px;padding:4px 6px 4px 6px;border-radius:999px;background:#f1f1f6;font-weight:500;font-size:.9rem}
.co-chip img{border-radius:50%;object-fit:cover}
.co-chip button{border:0;background:transparent;font-size:1.1rem;line-height:1;padding:0 6px;cursor:pointer;color:#000033;border-radius:50%}
.co-chip button:hover{background:#e8e8ef}
.co-list{position:absolute;left:0;right:0;top:100%;margin:6px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid rgba(0,0,51,.18);border-radius:18px;z-index:20;max-height:260px;overflow:auto}
.co-list li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;cursor:pointer;font-weight:500}
.co-list li:hover{background:#f1f1f6}.co-list li img{border-radius:50%;object-fit:cover}
.co-list small{display:block;color:#5a5a7a;font-weight:500}
.co-list .co-none{cursor:default;color:#5a5a7a}.co-list .co-none:hover{background:transparent}
.live-pick{display:flex;align-items:center;gap:12px}.live-pick img{border-radius:12px;object-fit:cover}

/* Featured campaigns (console) */
.op-item--feat{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #e3e3ee}
.feat-res{display:grid;gap:0}.feat-res .op-item--feat:first-child{border-top:0}
.op-item--feat .op-main{flex:1;min-width:0}.op-item--feat .op-main p{margin:2px 0 0}

/* Notification settings popup */
dialog.modal--nset { width: min(94vw, 680px); }
.nset { display: grid; gap: 18px; }
.nset__grid { display: grid; gap: 2px; }
.nset__row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 72px); align-items: center; gap: 8px; padding: 12px 6px; border-top: 1px solid rgba(0,0,51,.1); }
.nset__row--head { border-top: 0; padding-block: 4px; font-size: .78rem; font-weight: 700; color: #6a6a80; text-align: center; }
.nset__row--head span:first-child { text-align: left; }
.nset__what { display: grid; gap: 2px; font-weight: 500; }
.nset__what b { font-weight: 700; }
.nset__what small { font-weight: 500; font-size: .8rem; line-height: 1.35; }
.nset__cell { display: grid; place-items: center; }
.nset__cell input { width: 20px; height: 20px; accent-color: var(--black); cursor: pointer; }
.nset__cell input:disabled { opacity: .45; cursor: not-allowed; }
.nset__dev { border-top: 1px solid rgba(0,0,51,.1); padding-top: 16px; }
@media (max-width: 520px) { .nset__row { grid-template-columns: minmax(0, 1fr) repeat(3, 52px); gap: 4px; } .nset__row--head { font-size: .68rem; } }

html .contact:has(> .contact__form[hidden]) { grid-template-columns: minmax(0, 720px); }
html .contact__form[hidden] { display: none; }

/* Blog: first post is featured on wide screens; "More from the blog" under an article */
@media (min-width: 1025px) { html .stories-grid .story--big { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } html .stories-grid .story--big .story__media { height: 100%; } html .stories-grid .story--big .story__media img { height: 100%; aspect-ratio: auto; } html .stories-grid .story--big h3 { font-size: 1.9rem; } html .stories-grid .story--big .story__body { align-content: center; padding: 32px; } }
html .news-more { max-width: 1100px; margin: var(--s7, 64px) auto 0; } html .news-more h2 { margin-bottom: 20px; }
html .story__media { display: block; }
html .stories-grid .story:not(.story--big) .story__body { align-content: start; }
html .page-hero[hidden] { display: none; }
html .stories-grid .story .story__body > .story__meta:first-child { margin-top: 0; order: 0; }
