/* United Cause v0.4.5 — clean light-first visual system and cache-safe UX rebuild */
:root{
  --uc-bg:#ffffff!important;
  --uc-bg-2:#f7f7f5!important;
  --uc-surface:#ffffff!important;
  --uc-surface-2:#f7f7f5!important;
  --uc-ink:#161616!important;
  --uc-muted:#686868!important;
  --uc-soft:#8c8c8c!important;
  --uc-line:#e8e8e4!important;
  --uc-purple:#5e52e8!important;
  --uc-purple-2:#786df0!important;
  --uc-mint:#2f9a70!important;
  --uc-coral:#e9707c!important;
  --uc-sun:#d8a82e!important;
  --uc-focus:#1f59d8!important;
  --uc-content:1220px!important;
  --uc-header-h:68px!important;
  --uc-r-control:12px!important;
  --uc-r-card:18px!important;
  --uc-r-panel:24px!important;
  --uc-shadow-1:0 1px 2px rgba(0,0,0,.03),0 10px 30px rgba(0,0,0,.045)!important;
  --uc-shadow-2:0 24px 70px rgba(0,0,0,.16)!important;
  color-scheme:light!important;
}
html,[data-theme="dark"]{color-scheme:light!important;background:#fff!important}
[data-theme="dark"]{--uc-bg:#fff!important;--uc-bg-2:#f7f7f5!important;--uc-surface:#fff!important;--uc-surface-2:#f7f7f5!important;--uc-ink:#161616!important;--uc-muted:#686868!important;--uc-line:#e8e8e4!important}
body{background:#fff!important;color:#161616!important;overflow-x:hidden}
body::before{display:none!important}
main{min-height:calc(100dvh - var(--uc-header-h))}
.uc-wrap{width:min(var(--uc-content),calc(100% - 48px))}
.uc-view{padding-bottom:72px}
.uc-view.is-active{animation:uc45In .22s ease both}
@keyframes uc45In{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:none}}
h1,h2,h3{letter-spacing:-.045em}
.uc-kicker{color:var(--uc-purple);font-size:.72rem;letter-spacing:.11em}
.uc-muted,.uc-page-head p,.uc-section-head p{color:#6b6b6b!important}

/* Header */
.uc-topbar{height:var(--uc-header-h)!important;position:sticky;top:0;z-index:2500;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px) saturate(1.15);border-bottom:1px solid #ededeb!important;box-shadow:none!important}
.uc-topbar__inner{height:100%;width:min(var(--uc-content),calc(100% - 40px));grid-template-columns:auto minmax(0,1fr) auto!important;gap:18px!important}
.uc-brand{gap:10px!important;min-width:190px}
.uc-brand img{width:38px!important;height:38px!important}
.uc-brand__name strong{font-size:.98rem;letter-spacing:-.025em}
.uc-brand__name small{font-size:.59rem;letter-spacing:.11em;margin-top:2px}
.uc-nav{justify-self:center;background:#f7f7f5!important;border:1px solid #eeeeea!important;padding:3px!important;border-radius:13px!important;gap:1px!important;max-width:100%;min-width:0}
.uc-nav button{min-height:38px!important;padding:8px 12px!important;border-radius:10px!important;color:#545454!important;font-size:.86rem;white-space:nowrap}
.uc-nav button.is-active{background:#fff!important;color:#111!important;box-shadow:0 1px 3px rgba(0,0,0,.06)!important}
.uc-actions{gap:4px!important;min-width:max-content}
.uc-actions .uc-btn{min-height:40px!important;padding:8px 12px!important;font-size:.84rem}
.uc-access-top span{font-size:.8rem}
.uc-actions #accountBtn{background:#151515!important;color:#fff!important;border-radius:12px!important;box-shadow:none!important}
.uc-charity-link{font-weight:780}
.uc-mobile-menu-btn{display:none!important}

/* Absolutely remove the old floating accessibility control. */
#accessFab,.uc-access-fab{display:none!important;visibility:hidden!important;pointer-events:none!important}
.uc-access-panel{left:auto!important;right:18px!important;bottom:18px!important;z-index:5200!important;background:#fff!important;border:1px solid #e4e4e0!important;border-radius:20px!important;box-shadow:0 28px 80px rgba(0,0,0,.18)!important}
.uc-access-panel[aria-hidden="true"]{visibility:hidden!important;pointer-events:none!important;opacity:0!important}
.uc-access-panel.is-open,.uc-access-panel[aria-hidden="false"]{visibility:visible!important;pointer-events:auto!important;opacity:1!important}

/* Hero */
.uc-hero{grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr)!important;gap:52px!important;padding:58px 0 48px!important;align-items:center!important}
.uc-hero__copy{max-width:610px}
.uc-hero h1{font-size:clamp(3.5rem,5.7vw,5.55rem)!important;line-height:.92!important;margin:12px 0 22px!important;max-width:9.5ch!important;font-weight:900!important}
.uc-hero h1 em{color:var(--uc-purple)!important}
.uc-hero__copy>p{font-size:1.05rem!important;line-height:1.62!important;max-width:570px!important;margin-bottom:0}
.uc-hero__actions{margin-top:24px!important;gap:10px!important}
.uc-hero__actions .uc-btn{min-height:48px!important;padding:11px 17px!important;border-radius:13px!important}
.uc-trust-row{margin-top:22px!important;gap:14px 18px!important;color:#777!important;font-size:.78rem!important}
.uc-photo-stage--hero{min-height:440px!important;height:440px!important;grid-template-columns:1.25fr .75fr!important;grid-template-rows:1fr 1fr!important;gap:9px!important;border-radius:26px!important;overflow:hidden!important;background:#f4f4f1}
.uc-photo-stage--hero figure{border:0!important;border-radius:0!important;overflow:hidden!important}
.uc-photo-stage--hero figure:first-child{grid-row:1/3!important;border-radius:24px 8px 8px 24px!important}
.uc-photo-stage--hero figure:nth-child(2){border-radius:8px 24px 8px 8px!important}
.uc-photo-stage--hero figure:nth-child(3){border-radius:8px 8px 24px 8px!important}
.uc-photo-stage img{display:block;width:100%;height:100%;object-fit:cover;background:#ecece8}
.uc-photo-stage figcaption{display:none!important}
.uc-hero__live{left:18px!important;right:auto!important;bottom:18px!important;min-width:160px!important;padding:13px 15px!important;border-radius:14px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 12px 34px rgba(0,0,0,.14)!important;border:1px solid rgba(255,255,255,.76)!important;backdrop-filter:blur(12px)!important}
.uc-hero__live strong{font-size:1.55rem!important;line-height:1!important}
.uc-hero__live span{display:block;margin-top:5px;font-size:.74rem;color:#666}

/* Section rhythm */
.uc-section{padding:42px 0 58px!important}
.uc-section-head{align-items:flex-end!important;margin-bottom:22px!important;gap:20px!important}
.uc-section-head h2{font-size:clamp(1.7rem,2.5vw,2.25rem)!important;margin:4px 0 0!important}
.uc-section-head p{font-size:.93rem!important;margin-top:6px!important}
.uc-home-charities{padding-top:28px!important;border-top:1px solid #f0f0ed}
.uc-search{background:#fff!important;border-color:#deded9!important;border-radius:13px!important;box-shadow:none!important}
.uc-filter{gap:7px!important}
.uc-filter button{background:#fff!important;border-color:#e3e3de!important;min-height:36px!important;font-size:.8rem!important;padding:7px 11px!important}
.uc-filter button[aria-pressed="true"]{background:#171717!important;color:#fff!important;border-color:#171717!important}

/* Cards */
.uc-card{background:#fff!important;border:1px solid #e8e8e4!important;box-shadow:0 1px 2px rgba(0,0,0,.025)!important}
.uc-charity-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.uc-charity-card{padding:0!important;border-radius:18px!important;overflow:hidden!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important}
.uc-charity-card:hover{transform:translateY(-2px)!important;border-color:#dcdcd7!important;box-shadow:0 16px 36px rgba(0,0,0,.07)!important}
.uc-charity-card .uc-media{height:190px!important;aspect-ratio:auto!important;border-radius:0!important;background:#f1f1ee!important}
.uc-charity-card .uc-media img{transition:transform .28s ease}
.uc-charity-card:hover .uc-media img{transform:scale(1.018)}
.uc-charity-card__body{padding:18px!important}
.uc-charity-card__body h3{font-size:1.18rem!important;margin:11px 0 7px!important}
.uc-charity-card__body p{font-size:.88rem!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.uc-card-meta{gap:6px!important;margin-top:12px!important}
.uc-chip{min-height:28px!important;padding:5px 8px!important;font-size:.71rem!important;background:#fafaf8!important}
.uc-charity-card .uc-row{margin-top:14px!important}
.uc-charity-card .uc-btn{min-height:38px!important}
.uc-media--illustrative{position:relative}
.uc-media--illustrative::after{content:"Community image";position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.88);backdrop-filter:blur(8px);font-size:.58rem;font-weight:750;color:#666;letter-spacing:.02em}

/* Events and updates: use a stable grid on desktop, not a half-cut horizontal strip. */
.uc-event-rail,.uc-story-rail{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-columns:unset!important;gap:18px!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important}
.uc-event-card{padding:0!important;overflow:hidden!important;gap:0!important;display:flex!important;flex-direction:column!important;border-radius:18px!important}
.uc-event-card .uc-media{height:176px!important;aspect-ratio:auto!important;border-radius:0!important}
.uc-event-card>:not(.uc-media){margin-left:18px!important;margin-right:18px!important}
.uc-event-card__date{margin-top:16px!important;margin-bottom:6px!important;font-size:.74rem!important}
.uc-event-card h3{font-size:1.12rem!important;margin-bottom:8px!important}
.uc-event-card p{font-size:.84rem!important;line-height:1.48!important;margin-bottom:8px!important}
.uc-event-card__actions{margin-top:auto!important;margin-bottom:18px!important;padding-top:8px!important;gap:7px!important}
.uc-event-card__actions .uc-btn{font-size:.76rem!important;min-height:36px!important;padding:7px 10px!important}
.uc-post-card{padding:0!important;border-radius:18px!important;overflow:hidden!important}
.uc-post-card .uc-media{height:190px!important;aspect-ratio:auto!important;border-radius:0!important}
.uc-post-card__body{padding:18px!important;gap:10px!important}
.uc-post-card h3{font-size:1.12rem!important}
.uc-post-card p{font-size:.86rem!important;line-height:1.52!important}
.uc-campaign-grid{gap:18px!important}
.uc-campaign-card{border-radius:18px!important;background:#181818!important;color:#fff!important;box-shadow:none!important}

/* About / marketing blocks */
.uc-about-teaser{display:grid!important;grid-template-columns:1fr .9fr!important;gap:32px!important;align-items:center!important;background:#f8f8f6;border:1px solid #ecece8;border-radius:24px;padding:32px!important;margin-top:20px;margin-bottom:34px}
.uc-about-teaser__art{min-height:270px!important;border-radius:18px!important;overflow:hidden!important}
.uc-photo-stage--compact,.uc-photo-stage--portrait,.uc-photo-stage--partnership{gap:8px!important}

/* Charity detail */
.uc-charity-dialog .uc-sheet{width:min(1080px,calc(100vw - 42px))!important;max-height:calc(100dvh - 42px)!important;border-radius:24px!important;padding:0!important;overflow:hidden!important;background:#fff!important}
.uc-charity-detail{display:grid;grid-template-rows:auto auto minmax(0,1fr);height:min(820px,calc(100dvh - 42px));background:#fff}
.uc-charity-detail__hero{display:grid!important;grid-template-columns:340px minmax(0,1fr)!important;min-height:260px!important;border-bottom:1px solid #ecece8!important}
.uc-charity-detail__media{height:100%!important;min-height:260px!important;max-height:none!important;border-radius:0!important}
.uc-charity-detail__intro{padding:30px 32px 26px!important;display:flex;flex-direction:column;justify-content:center}
.uc-charity-detail__intro h2{font-size:2.2rem!important;margin:12px 0 8px!important}
.uc-charity-detail__summary{max-width:680px!important;font-size:.94rem!important;line-height:1.58!important}
.uc-charity-tabs{position:relative!important;top:auto!important;display:flex!important;gap:4px!important;padding:9px 16px!important;background:#fff!important;border-bottom:1px solid #ecece8!important;box-shadow:none!important;overflow:auto!important}
.uc-charity-tabs button{min-height:38px!important;border-radius:9px!important;padding:7px 12px!important}
.uc-charity-tabs button.is-active{background:#f3f3f0!important;color:#111!important}
.uc-charity-detail__content{max-width:none!important;margin:0!important;padding:24px 30px 30px!important;overflow:auto!important}
.uc-charity-detail__mobile-actions{display:none!important}

/* Account centre: professional desktop workspace */
.uc-account-dialog{background:#fff!important}
.uc-account-dialog::backdrop{background:#fff!important}
.uc-account-shell{min-height:100dvh!important;grid-template-columns:260px minmax(0,1fr)!important;background:#fff!important}
.uc-account-rail{padding:22px 16px!important;background:#f8f8f6!important;border-right:1px solid #e8e8e4!important}
.uc-account-rail__brand{padding:0 7px 18px!important;margin-bottom:14px!important;border-bottom:1px solid #e4e4df!important}
.uc-account-rail__brand img{width:38px!important;height:38px!important}
.uc-account-menu{gap:2px!important}
.uc-account-menu button{min-height:44px!important;padding:9px 10px!important;border-radius:10px!important;color:#5d5d5d!important;font-size:.88rem!important}
.uc-account-menu button.is-active{background:#fff!important;color:#111!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}
.uc-account-rail__bottom .uc-btn{background:#fff!important;border-color:#e2e2de!important}
.uc-account-main{padding:28px clamp(28px,4vw,64px) 72px!important;background:#fff!important;overflow:auto!important}
.uc-account-main>*{max-width:1050px;margin-left:auto;margin-right:auto}
.uc-account-top{top:0!important;z-index:20!important;margin-bottom:28px!important;padding:8px 0 15px!important;background:rgba(255,255,255,.94)!important;border-bottom:1px solid #f0f0ed!important}
.uc-account-top h2{font-size:1.85rem!important}
.uc-account-mobile-nav,.uc-account-more-sheet{display:none!important}
#accountDialog:not([open]) .uc-account-more-sheet{display:none!important}
.uc-account-card-grid{gap:16px!important}
.uc-plan-card,.uc-ticket-wallet,.uc-data-action{border-color:#e7e7e3!important;box-shadow:none!important}

/* Any closed overlay must never leak into page layout. */
.uc-account-more-sheet[aria-hidden="true"],.uc-access-panel[aria-hidden="true"]{visibility:hidden!important;pointer-events:none!important}
dialog:not([open]){display:none!important}

/* Footer */
.uc-footer{background:#fafaf8!important;border-top:1px solid #ecece8!important;padding:44px 0 60px!important}
.uc-footer__grid{grid-template-columns:1.6fr repeat(4,minmax(0,1fr))!important;gap:34px!important}
.uc-footer a{font-size:.83rem!important;color:#676767!important;margin:6px 0!important}

/* Responsive header */
@media(max-width:1180px){
  .uc-nav{display:none!important}
  .uc-mobile-menu-btn{display:inline-grid!important}
  .uc-access-top span,.uc-install-btn span{display:none!important}
  .uc-charity-link{display:none!important}
}
@media(max-width:980px){
  .uc-wrap{width:min(var(--uc-content),calc(100% - 34px))}
  .uc-hero{grid-template-columns:1fr 1fr!important;gap:28px!important}
  .uc-hero h1{font-size:clamp(3rem,7vw,4.25rem)!important}
  .uc-photo-stage--hero{height:360px!important;min-height:360px!important}
  .uc-charity-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .uc-event-rail,.uc-story-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .uc-campaign-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .uc-footer__grid{grid-template-columns:1.5fr repeat(2,minmax(0,1fr))!important}
}

/* Mobile: a real app layout, vertical-first and thumb-friendly. */
@media(max-width:720px){
  :root{--uc-page-pad:15px!important;--uc-header-h:58px!important}
  html,body{min-height:100dvh!important;overflow-x:hidden!important}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
  .uc-wrap,.uc-narrow{width:calc(100% - 30px)!important}
  .uc-topbar{height:calc(var(--uc-header-h) + env(safe-area-inset-top))!important;padding-top:env(safe-area-inset-top)!important}
  .uc-topbar__inner{width:calc(100% - 20px)!important;grid-template-columns:auto 1fr auto!important;gap:8px!important}
  .uc-brand{min-width:0!important}.uc-brand img{width:34px!important;height:34px!important}.uc-brand__name{display:none!important}
  .uc-actions{justify-self:end}.uc-actions #accountBtn,.uc-access-top,.uc-install-btn,.uc-charity-link{display:none!important}
  .uc-mobile-menu-btn{display:inline-grid!important;width:42px!important;height:42px!important;padding:0!important}
  .uc-view{padding-bottom:18px!important}
  .uc-footer{display:none!important}
  .uc-mobile-secondary{display:none!important}

  .uc-mobile-nav{display:grid!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:4900!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:5px 7px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border:0!important;border-top:1px solid #e8e8e4!important;border-radius:0!important;box-shadow:0 -7px 22px rgba(0,0,0,.07)!important;backdrop-filter:blur(18px)!important}
  .uc-mobile-nav button{min-width:0!important;min-height:54px!important;padding:4px 2px!important;border-radius:11px!important;background:transparent!important;color:#666!important;font-size:.64rem!important;gap:2px!important}
  .uc-mobile-nav button svg{width:20px!important;height:20px!important}.uc-mobile-nav button.is-active{background:#f3f3f0!important;color:#111!important;font-weight:820!important}

  /* compact but not empty home */
  .uc-hero{display:flex!important;flex-direction:column!important;gap:18px!important;padding:22px 0 18px!important}
  .uc-hero__copy{max-width:none!important;width:100%!important}
  .uc-hero .uc-kicker{font-size:.66rem!important}
  .uc-hero h1{font-size:clamp(2.35rem,12vw,3.15rem)!important;line-height:.94!important;max-width:9.5ch!important;margin:8px 0 12px!important}
  .uc-hero__copy>p{font-size:.93rem!important;line-height:1.52!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .uc-hero__actions{display:grid!important;grid-template-columns:1fr 1fr!important;margin-top:16px!important;gap:8px!important}
  .uc-hero__actions .uc-btn{min-height:44px!important;padding:8px 10px!important;font-size:.79rem!important}
  .uc-hero__actions .uc-icon{display:none!important}
  .uc-trust-row{display:none!important}
  .uc-photo-stage--hero{display:grid!important;width:100%!important;height:180px!important;min-height:180px!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr!important;gap:7px!important;border-radius:18px!important}
  .uc-photo-stage--hero figure{grid-row:auto!important;border-radius:14px!important}.uc-photo-stage--hero figure:first-child{grid-row:auto!important;border-radius:14px!important}.uc-photo-stage--hero figure:nth-child(3){display:none!important}
  .uc-hero__live{left:10px!important;bottom:10px!important;padding:8px 10px!important;min-width:125px!important;border-radius:11px!important}.uc-hero__live strong{font-size:1.15rem!important}.uc-hero__live span{font-size:.6rem!important}

  .uc-section{padding:24px 0 34px!important}
  .uc-home-charities{padding-top:18px!important}
  .uc-section-head{display:grid!important;gap:11px!important;margin-bottom:14px!important;align-items:start!important}
  .uc-section-head h2{font-size:1.45rem!important}
  .uc-section-head p{font-size:.84rem!important;line-height:1.45!important}
  .uc-section-head>.uc-btn{justify-self:start!important}
  .uc-home-charities .uc-section-head .uc-kicker{display:none!important}
  .uc-search{position:sticky!important;top:calc(var(--uc-header-h) + env(safe-area-inset-top) + 7px)!important;z-index:30!important;width:100%!important;min-width:0!important;background:#fff!important;box-shadow:0 7px 18px rgba(0,0,0,.05)!important}
  .uc-filter{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding:1px 0 5px!important;scrollbar-width:none}.uc-filter::-webkit-scrollbar{display:none}
  .uc-charity-grid{grid-template-columns:1fr!important;gap:10px!important}
  .uc-charity-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;min-height:126px!important;border-radius:15px!important;box-shadow:none!important}
  .uc-charity-card .uc-media{height:100%!important;min-height:126px!important;border-radius:0!important}
  .uc-charity-card__body{padding:12px 12px 11px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important}
  .uc-charity-card__body>.uc-cluster{position:absolute!important;top:8px!important;right:8px!important}.uc-charity-card__body>.uc-cluster .uc-chip{display:none!important}.uc-charity-card__body>.uc-cluster .uc-btn{width:34px!important;height:34px!important;min-height:34px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important}
  .uc-charity-card__body h3{font-size:.98rem!important;line-height:1.2!important;margin:0 32px 5px 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .uc-charity-card__body p{font-size:.76rem!important;line-height:1.4!important;-webkit-line-clamp:2!important;margin:0!important}
  .uc-charity-card .uc-card-meta{display:none!important}.uc-charity-card .uc-row{margin-top:8px!important;gap:6px!important}.uc-charity-card .uc-row .uc-btn{min-height:32px!important;padding:5px 9px!important;font-size:.72rem!important}.uc-charity-card .uc-row .uc-btn--secondary{display:none!important}
  .uc-media--illustrative::after{display:none!important}

  /* Events and updates are vertical on phones. */
  .uc-event-rail,.uc-story-rail{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;overflow:visible!important;margin:0!important;padding:0!important}
  .uc-event-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;grid-auto-rows:auto!important;min-height:132px!important;position:relative!important}
  .uc-event-card .uc-media{grid-row:1/8!important;height:100%!important;min-height:132px!important}
  .uc-event-card>:not(.uc-media){grid-column:2!important;margin-left:12px!important;margin-right:12px!important}
  .uc-event-card__date{margin-top:11px!important;margin-bottom:3px!important}.uc-event-card h3{font-size:.96rem!important;margin-bottom:4px!important}.uc-event-card p{font-size:.72rem!important;margin-bottom:4px!important;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.uc-event-card p:nth-of-type(n+3){display:none!important}
  .uc-event-card__actions{margin-bottom:10px!important;padding-top:3px!important;display:flex!important}.uc-event-card__actions .uc-btn:not(:first-child){display:none!important}.uc-event-card__actions .uc-btn:first-child{min-height:32px!important;font-size:.7rem!important;padding:5px 8px!important}

  /* Charity profile becomes an app page with bottom actions. */
  .uc-charity-dialog .uc-sheet{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;border:0!important}
  .uc-charity-detail{height:100dvh!important;padding-bottom:calc(70px + env(safe-area-inset-bottom))!important;display:block!important;overflow:auto!important}
  .uc-charity-detail__hero{display:block!important;min-height:0!important}.uc-charity-detail__media{height:190px!important;min-height:190px!important}.uc-charity-detail__intro{padding:18px 15px 15px!important}.uc-charity-detail__intro h2{font-size:1.65rem!important;margin:10px 42px 6px 0!important}.uc-charity-detail__summary{font-size:.85rem!important;line-height:1.48!important;-webkit-line-clamp:3!important;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
  .uc-charity-tabs{position:sticky!important;top:0!important;z-index:12!important;padding:6px 8px!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px)!important;scrollbar-width:none}.uc-charity-tabs::-webkit-scrollbar{display:none}.uc-charity-tabs button{font-size:.75rem!important;min-height:36px!important;padding:6px 9px!important}
  .uc-charity-detail__content{padding:17px 15px 24px!important;overflow:visible!important}.uc-charity-detail__desktop-actions{display:none!important}.uc-charity-detail__mobile-actions{display:grid!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:5200!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e8e8e4!important;box-shadow:0 -8px 24px rgba(0,0,0,.06)!important}

  /* Full-screen account, bottom navigation and a real vertical More sheet. */
  .uc-account-shell{display:block!important;min-height:100dvh!important;padding-bottom:calc(68px + env(safe-area-inset-bottom))!important}
  .uc-account-rail{display:none!important}
  .uc-account-main{height:100dvh!important;padding:calc(14px + env(safe-area-inset-top)) 15px calc(92px + env(safe-area-inset-bottom))!important;overflow:auto!important;scrollbar-width:none!important}.uc-account-main::-webkit-scrollbar{display:none!important}
  .uc-account-main>*{max-width:none!important}
  .uc-account-top{position:sticky!important;top:calc(-14px - env(safe-area-inset-top))!important;z-index:30!important;margin:0 -15px 18px!important;padding:calc(10px + env(safe-area-inset-top)) 15px 11px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #ecece8!important;backdrop-filter:blur(15px)!important}
  .uc-account-top h2{font-size:1.45rem!important}.uc-account-top .uc-kicker{font-size:.61rem!important}
  .uc-account-mobile-nav{display:grid!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:5400!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;padding:5px 5px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e6e6e2!important;box-shadow:0 -8px 26px rgba(0,0,0,.08)!important;backdrop-filter:blur(16px)!important}
  .uc-account-mobile-nav button{border:0!important;background:transparent!important;min-width:0!important;min-height:54px!important;border-radius:10px!important;padding:4px 2px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;color:#686868!important;font-size:.62rem!important;font-weight:700!important}.uc-account-mobile-nav button .uc-icon{width:20px!important;height:20px!important}.uc-account-mobile-nav button.is-active{background:#f2f2ef!important;color:#111!important}
  .uc-account-more-sheet{display:block!important;position:fixed!important;left:0!important;right:0!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;z-index:5350!important;max-height:min(72dvh,620px)!important;padding:9px 13px 15px!important;background:#fff!important;border:1px solid #e4e4df!important;border-bottom:0!important;border-radius:22px 22px 0 0!important;box-shadow:0 -20px 60px rgba(0,0,0,.16)!important;transform:translateY(calc(100% + 90px))!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:transform .22s ease,opacity .18s ease!important;overflow:auto!important}
  .uc-account-more-sheet.is-open{transform:translateY(0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .uc-account-more-sheet__grab{width:40px!important;height:4px!important;border-radius:999px!important;background:#d5d5d0!important;margin:0 auto 10px!important}
  .uc-account-more-sheet__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:2px 2px 12px!important}.uc-account-more-sheet__head strong{font-size:1.05rem!important}
  .uc-account-more-list{display:grid!important;gap:4px!important}
  .uc-account-more-list>button{width:100%!important;min-height:58px!important;border:0!important;border-bottom:1px solid #efefec!important;background:#fff!important;border-radius:10px!important;padding:9px 8px!important;display:grid!important;grid-template-columns:26px minmax(0,1fr) 18px!important;align-items:center!important;gap:9px!important;text-align:left!important}.uc-account-more-list>button>span{display:grid!important;gap:2px!important}.uc-account-more-list>button strong{font-size:.88rem!important}.uc-account-more-list>button small{font-size:.7rem!important;color:#777!important}.uc-account-more-list>button>.uc-icon{width:20px!important;height:20px!important}
  .uc-account-more-sheet>#accountLogoutMobile{margin-top:10px!important;min-height:45px!important}
  #accountDialog:not([open]) .uc-account-more-sheet{display:none!important}

  .uc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.uc-stat{padding:13px!important}.uc-stat strong{font-size:1.35rem!important}
  .uc-account-card-grid,.uc-data-actions{grid-template-columns:1fr!important;gap:10px!important}.uc-account-panel .uc-section-head .uc-btn{width:100%!important}

  /* Accessibility opened from menu/account behaves as a sheet, never a floating mystery pill. */
  .uc-access-panel{left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100vw!important;max-height:86dvh!important;border-radius:22px 22px 0 0!important;border:1px solid #e5e5e1!important;border-bottom:0!important;padding:18px 15px calc(20px + env(safe-area-inset-bottom))!important;transform:translateY(18px)!important}
  .uc-access-panel.is-open{transform:none!important}

  .uc-cookie-banner,.uc-install-nudge{left:10px!important;right:10px!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;z-index:4800!important}
}

@media(max-width:370px){
  .uc-wrap,.uc-narrow{width:calc(100% - 24px)!important}
  .uc-hero__actions{grid-template-columns:1fr!important}
  .uc-photo-stage--hero{height:155px!important;min-height:155px!important}
  .uc-charity-card,.uc-event-card{grid-template-columns:96px minmax(0,1fr)!important}
  .uc-account-mobile-nav{padding-inline:2px!important}.uc-account-mobile-nav button{font-size:.57rem!important}
}

@media(prefers-reduced-motion:reduce){.uc-charity-card,.uc-photo-stage img,.uc-account-more-sheet{transition:none!important}}
