:root{--navy:#102c44;--blue:#194b71;--blue2:#0d3a5c;--earth:#8b593b;--gold:#bc8b48;--ink:#172b3c;--muted:#697b89;--line:#e5e7e8;--paper:#f7f5f1;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}a{color:var(--blue)}.hidden{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shell{width:min(1160px,calc(100% - 44px));margin:auto}.topbar{background:#fff;border-bottom:1px solid #e9e8e5;position:relative;z-index:2}.header-inner{min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--navy)}.brand img{width:43px;height:43px;object-fit:contain}.brand span{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:11px;row-gap:2px}.brand strong{letter-spacing:.1em;font-size:15px}.brand small{font-size:10px;color:var(--earth);letter-spacing:.11em;font-weight:800}.topnav{display:flex;align-items:center;gap:20px}.topnav>a{text-decoration:none;font-size:13px;font-weight:700}.topnav>a:hover{color:var(--earth)}.topnav .nav-login,.nav-logout{border:0;background:var(--blue)!important;color:#fff!important;padding:11px 17px;border-radius:11px;font-weight:800;font-size:13px;white-space:nowrap}.topnav .nav-login:hover,.nav-logout:hover{background:var(--blue2)!important;color:#fff!important}.intro{padding:45px 0 23px}.overline{display:block;color:var(--earth);font-size:10px;letter-spacing:.18em;font-weight:800;text-transform:uppercase}.intro h1,.auth-intro h1{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(32px,4vw,48px);line-height:1.14;letter-spacing:-.047em;margin:8px 0}.title-accent{color:var(--gold)}.intro p,.auth-intro p{color:var(--muted);margin:0;font-size:15px}.cover{height:328px;position:relative;border-radius:21px;overflow:hidden;background:#ecd9b7 url('/assets/donor-supporter-cover.webp') center/cover no-repeat;box-shadow:0 12px 34px #112a3a16}.cover-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,32,49,.86) 0%,rgba(17,41,61,.77) 28%,rgba(17,45,66,.18) 55%,rgba(255,255,255,0) 72%)}.cover-info{position:absolute;left:32px;bottom:27px;display:flex;gap:18px;align-items:end;max-width:57%;color:#fff}.avatar-shell{width:116px;height:132px;flex:0 0 116px;border-radius:19px;border:4px solid #ffffffdc;background:#d8e2e3;box-shadow:0 10px 22px #0004;overflow:hidden}.avatar-shell img{width:100%;height:100%;object-fit:cover}.cover-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#ffdbad}.identity{min-width:0}.identity h2{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(22px,2.9vw,36px);line-height:1.13;margin:7px 0 14px;letter-spacing:-.04em;overflow-wrap:anywhere}.identity-tags{display:flex;gap:8px;flex-wrap:wrap}.identity-tags span{display:inline-flex;border-radius:50px;background:#0a263788;border:1px solid #ffffff55;padding:7px 11px;font-size:11px;font-weight:700}.welcome-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 0}.welcome-bar p{font-weight:700;font-size:16px;margin:5px 0 0}.primary-btn,.outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:11px;padding:12px 17px;text-decoration:none;font-size:13px;font-weight:800;min-height:44px;transition:background .18s,color .18s,transform .18s}.primary-btn{color:#fff;background:var(--blue)}.primary-btn:hover,.primary-btn:focus-visible{background:var(--blue2);color:#fff;transform:translateY(-1px)}.outline-btn{background:#fff;border-color:#c4d2dc;color:var(--blue)}.outline-btn:hover{background:#f2f7fa}.primary-btn:disabled{opacity:.55;cursor:wait}.full{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat{display:flex;align-items:flex-start;gap:15px;min-height:136px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:21px;box-shadow:0 8px 24px #192d3805}.stat-icon{width:40px;height:40px;flex:0 0 40px;border-radius:13px;display:grid;place-items:center;background:#edf3f8;color:var(--blue);font-size:22px}.stat small{display:block;color:#697b89;font-weight:700;font-size:12px}.stat strong{display:block;color:var(--navy);font-family:Manrope,sans-serif;font-size:28px;line-height:1.2;margin:7px 0 3px}.stat .stat-title{font-size:18px;line-height:1.4}.stat-foot{color:#80909b;font-size:11px}.main-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:20px;margin:21px 0 90px}.left-column,.right-column{display:flex;flex-direction:column;gap:20px;min-width:0}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 9px 30px #14263b07}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:22px}.panel h3{font-size:21px;letter-spacing:-.035em;margin:5px 0 0;font-family:Manrope,'DM Sans',sans-serif}.save-state{background:#eaf4ee;color:#2c7651;padding:7px 10px;border-radius:20px;font-weight:800;font-size:11px}.save-state.unsaved{background:#fff0df;color:#996026}.photo-editor{display:flex;align-items:center;gap:18px;background:#f8fafb;border:1px solid #e5eaed;border-radius:16px;padding:15px;margin-bottom:22px}.photo-editor img{width:88px;height:100px;border-radius:14px;object-fit:cover;border:3px solid #fff;background:#e3eaef;box-shadow:0 4px 12px #1a3f5510}.photo-editor strong{font-size:14px}.photo-editor p{font-size:12px;color:var(--muted);line-height:1.5;margin:5px 0 9px}.upload-button{display:inline-block;padding:8px 11px;border:1px solid #c6d3db;border-radius:9px;background:#fff;color:var(--blue);font-weight:800;cursor:pointer;font-size:12px}.text-button{border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:800;margin-left:8px;padding:7px 0}.text-button:disabled{color:#9eabb4;cursor:default}.photo-status{font-size:11px;color:var(--muted);margin-top:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.field{margin-bottom:17px}.field label{display:block;font-size:12px;color:#455769;font-weight:800;margin-bottom:7px}.field input,.field textarea{width:100%;border:1px solid #dbe2e5;background:#fff;border-radius:10px;min-height:45px;padding:10px 12px;color:var(--ink);outline:0}.field input:focus,.field textarea:focus{border-color:#6a98b6;box-shadow:0 0 0 3px #cce3f262}.field input:disabled{background:#f0f3f5;color:#718390}.field textarea{resize:vertical;line-height:1.5}.field small{display:block;font-size:11px;line-height:1.45;color:var(--muted);margin-top:6px}.optional{font-weight:500;color:var(--muted)}.form-footer{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.form-footer span{flex:1;font-size:11px;color:var(--muted);line-height:1.6}.section-description{color:var(--muted);font-size:13px;line-height:1.7;margin:13px 0 17px}.supporter-preview{position:relative;display:flex;gap:17px;align-items:center;min-height:146px;border-radius:16px;padding:22px;overflow:hidden;background:linear-gradient(120deg,#0d2e49,#225a79 65%,#a47b4a);color:#fff}.supporter-preview:after{content:' ';position:absolute;inset:0;opacity:.12;background:radial-gradient(circle at 80% 0%,#fff 0,transparent 60%);pointer-events:none}.supporter-preview img{width:61px;height:61px;border-radius:50%;object-fit:contain;background:#fff;padding:4px}.supporter-preview div{display:flex;flex-direction:column;gap:6px;min-width:0}.supporter-preview span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#f9d6ad}.supporter-preview strong{font-family:Manrope,sans-serif;font-size:20px;overflow-wrap:anywhere}.supporter-preview small{color:#d8ecf5}.preview-star{position:absolute;right:20px;top:12px;font-size:43px;color:#d9b778!important}.button-row{display:flex;flex-wrap:wrap;gap:9px}.featured-badge{display:flex;align-items:center;gap:15px;background:linear-gradient(118deg,#102e4a,#1b5574);color:#fff;padding:20px;border-radius:17px}.featured-symbol{font-size:40px;width:69px;height:69px;display:grid;place-items:center;border:1px solid #dfbb78;border-radius:50%;background:#d8ad6a1a;color:#f6d38b}.featured-badge div{display:flex;flex-direction:column;gap:6px}.featured-badge small{font-size:10px;letter-spacing:.11em;color:#c2d8e8;font-weight:800}.featured-badge strong{font-family:Manrope,sans-serif;font-size:21px}.featured-badge div span{font-size:12px;color:#d6e5ef}.progress-box{margin:18px 0 20px}.progress-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:9px}.progress-line span{font-weight:800;color:var(--blue)}.progress-track{height:9px;border-radius:20px;background:#edf0f0;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#1b6489,#d4a65a);border-radius:20px;transition:width .3s}.fine-print{font-size:11px;line-height:1.7;color:#71828e}.badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.badge-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;padding:14px 7px;border:1px solid #d5e0e6;border-radius:15px;background:#f4f8fb}.badge-item.locked{filter:grayscale(1);background:#fafafa;opacity:.55}.badge-medal{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:linear-gradient(145deg,#fae7bb,#bc8b48);color:#62441a;border:3px double #fff;font-size:22px;box-shadow:0 4px 12px #ae802533}.badge-item strong{font-size:11px;line-height:1.35}.badge-item small{font-size:10px;color:var(--muted)}.badge-item.earned{border-color:#dfc58b;background:#fcf6e9}.table-scroll{overflow:auto}.history{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.history th,.history td{padding:13px 7px;border-bottom:1px solid var(--line)}.history th{text-transform:uppercase;font-size:10px;color:var(--muted);letter-spacing:.09em}.reconciliation{background:#f4f7f8;border:1px solid #e2e9ed;border-radius:15px;padding:17px;margin-top:20px}.reconciliation strong{font-size:13px}.reconciliation p{font-size:12px;color:var(--muted);line-height:1.65;margin:8px 0}.reconciliation a{font-size:12px;font-weight:800;text-decoration:none}.alert{padding:13px 16px;border-radius:12px;background:#e9f5f0;border:1px solid #d0e6dc;color:#235e44;margin:23px 0 0;font-weight:700;font-size:13px}.alert.error{background:#fff0ec;border-color:#f2d6cf;color:#9d3b2b}.auth-view{display:grid;grid-template-columns:1fr 460px;align-items:center;gap:44px;min-height:calc(100vh - 180px);padding:45px 0 75px}.auth-intro h1{font-size:clamp(34px,4vw,57px);margin-top:15px}.auth-intro p{max-width:450px;line-height:1.7}.auth-banner{width:100%;border-radius:18px;box-shadow:0 16px 40px #172c4014;margin-top:35px}.auth-panel{border:1px solid var(--line);box-shadow:0 15px 45px #102c4410;background:white;border-radius:23px;padding:34px}.auth-panel h2{font-family:Manrope,sans-serif;font-size:28px;margin:10px 0 6px;letter-spacing:-.04em}.auth-panel>p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 24px}.auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;margin-top:19px}.auth-links a{text-decoration:none;font-weight:800}.auth-panel .fine-print{margin-top:21px}.footer{border-top:1px solid #e6e4df;padding:25px 0;color:var(--muted);font-size:12px}.footer .shell{display:flex;justify-content:space-between;gap:15px}@media(max-width:1000px){.cover-info{max-width:65%}.auth-view{grid-template-columns:1fr 410px;gap:20px}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.shell{width:min(100% - 28px,1160px)}.header-inner{min-height:70px}.brand strong{font-size:12px}.brand small{font-size:8px}.brand img{width:34px;height:34px}.topnav{gap:11px}.topnav>a{font-size:12px}.topnav>a:first-child{display:none}.topnav .nav-login,.nav-logout{padding:9px 12px;font-size:11px}.intro{padding-top:28px}.cover{height:410px;background-position:58% center}.cover-shade{background:linear-gradient(0deg,rgba(12,33,50,.93) 0%,rgba(12,33,50,.66) 38%,transparent 90%)}.cover-info{left:20px;bottom:20px;max-width:calc(100% - 40px);align-items:end;gap:12px}.avatar-shell{width:94px;height:106px;flex-basis:94px;border-radius:15px}.identity h2{font-size:25px}.cover-kicker{font-size:8px}.identity-tags span{font-size:10px;padding:6px 8px}.welcome-bar{align-items:flex-start;flex-direction:column}.stats-grid{grid-template-columns:1fr}.stat{min-height:105px}.main-grid{grid-template-columns:1fr}.panel{padding:19px}.badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-view{grid-template-columns:1fr;padding-top:35px}.auth-intro h1{font-size:39px}.auth-panel{padding:25px}.auth-banner{margin-top:20px}.footer .shell{flex-wrap:wrap}}@media(max-width:440px){.form-grid{grid-template-columns:1fr}.photo-editor{gap:12px}.photo-editor img{height:85px;width:73px}.identity-tags span{font-size:9px}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-info{display:block}.avatar-shell{width:92px;height:92px}.identity{margin-top:12px}.cover{height:440px}.brand span{display:block}.brand small{display:block;margin-top:2px}.topnav{gap:7px}.topnav a[href='/donate.html']{font-size:11px}}


/* PAMVERSE Donor App V3: screens, sidebar and mobile-first bottom navigation */
body{background:#f5f6f8;min-height:100vh}
#dashboard{padding-bottom:36px}
#dashboard .app-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:25px;align-items:start;margin:24px auto 46px}
.app-sidebar{background:#fff;border:1px solid #e5e9ef;box-shadow:0 12px 36px #14304408;border-radius:23px;padding:19px;position:sticky;top:18px;min-height:650px;display:flex;flex-direction:column;gap:22px}
.sidebar-label{font-size:10px;letter-spacing:.16em;font-weight:900;color:#9a6947;padding:10px 11px 0}
.sidebar-user{display:flex;gap:11px;align-items:center;padding:13px 9px 18px;border-bottom:1px solid #e8edf0}
.sidebar-user img{width:43px;height:43px;object-fit:cover;border-radius:14px;background:#edf1f4}
.sidebar-user strong,.sidebar-user small{display:block;max-width:144px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-user strong{font-size:12px;color:#15364c}.sidebar-user small{font-size:9px;color:#7a8993;margin-top:5px}
.app-nav{display:flex;flex-direction:column;gap:7px}.app-nav-item{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;color:#516778;padding:12px 11px;border-radius:12px;font-size:13px;font-weight:750;width:100%;transition:background .2s;color .2s}
.app-nav-item span{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#eef2f6;font-size:19px;color:#345b78}
.app-nav-item.active,.app-nav-item:hover{background:#e9f1f7;color:#124469}.app-nav-item.active span{background:#174e74;color:#fff}
.sidebar-foot{margin-top:auto;padding:13px 9px}.sidebar-foot a{display:block;text-decoration:none;border-radius:11px;background:#174c71;color:white;text-align:center;padding:12px;font-weight:800;font-size:12px}.sidebar-foot small{font-size:10px;color:#91a0a9;display:block;line-height:1.5;margin-top:13px;text-align:center}
.app-main{min-width:0}.app-screen{animation:screenIn .2s ease both}.app-screen.hidden{display:none!important}@keyframes screenIn{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.screen-header{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.screen-header h1{font:800 clamp(23px,3vw,32px)/1.25 Manrope,'DM Sans',sans-serif;letter-spacing:-.04em;margin:8px 0}.screen-header p{margin:0;color:#728493;font-size:13px;line-height:1.6}
#screen-home .cover{height:285px;border-radius:21px;margin:0 0 16px}.cover-info{max-width:75%;bottom:23px;left:23px}.identity h2{font-size:clamp(24px,3vw,32px)}
#screen-home .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.stat{min-height:115px;padding:16px 13px;gap:10px;border-radius:15px}.stat-icon{width:32px;height:32px;flex-basis:32px;border-radius:10px;font-size:18px}.stat strong{font-size:23px}.stat small{font-size:10px}.stat-foot{font-size:9px}
#screen-home .welcome-bar{background:white;border:1px solid #e4eaed;border-radius:15px;margin:14px 0;padding:17px}.welcome-bar p{font-size:14px!important}
.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.shortcut{border:1px solid #e1e9ed;border-radius:15px;background:#fff;padding:16px 13px;display:flex;flex-direction:column;text-align:left;gap:8px;color:#163e5c}.shortcut>span{display:grid;place-items:center;font-size:22px;width:38px;height:38px;background:#edf5f9;border-radius:12px}.shortcut strong{font-size:12px}.shortcut small{font-size:10px;color:#758795}.shortcut:hover{box-shadow:0 8px 22px #15283a13;border-color:#c6dae6}
#screen-profile .panel,#screen-donations .panel,#screen-badges .panel,#screen-card .panel{max-width:930px;margin:0;padding:26px}
#screen-profile .panel-head,#screen-donations .panel-head,#screen-badges .panel-head,#screen-card .panel-head{border-bottom:1px solid #e9edf0;padding-bottom:14px;margin-bottom:20px}
#screen-profile .panel-head .overline,#screen-donations .panel-head .overline,#screen-badges .panel-head .overline,#screen-card .panel-head .overline{display:none}
#screen-profile .photo-editor{padding:19px;border-radius:18px;background:#f5f8fb;align-items:center}
#screen-profile .photo-editor img{width:112px;height:112px;border-radius:24px}
#screen-badges .badge-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
#screen-badges .badge-item{padding:22px 10px;gap:10px}.badge-medal{width:68px;height:68px;font-size:31px}
#screen-card .supporter-preview{max-width:620px;min-height:230px;padding:27px;background:linear-gradient(110deg,#0c2e48,#194b71 67%,#ab7940)}
#screen-card .supporter-preview img{width:85px;height:85px}.supporter-preview strong{font-size:clamp(17px,2.5vw,25px)}
#screen-donations .history{font-size:14px}.donations-note{border-radius:13px;background:#eaf2f7;padding:17px 21px;color:#426176;font-size:12px;line-height:1.7;margin-top:16px}
.inline-feedback{background:#e8f5ee;border:1px solid #bfdeca;border-radius:11px;color:#225f42;font-size:12px;padding:12px;margin-top:14px;line-height:1.6}.inline-feedback.error{background:#fff0ee;color:#a43b30;border-color:#f2d0ca}
.app-bottom-nav{display:none}
@media(max-width:1060px){#dashboard .app-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}#screen-home .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#screen-home .stats-grid .stat:last-child{grid-column:span 2}.home-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.cover-info{max-width:86%}}
@media(max-width:760px){body{background:#f6f7f9}#dashboard .app-layout{display:block;margin:0}#dashboard .app-sidebar{display:none}.app-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));bottom:0;left:0;right:0;z-index:100;background:#fff;border-top:1px solid #e2e8ed;box-shadow:0 -7px 28px #12365013;min-height:74px;padding:7px max(5px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))}.bottom-item{border:0;background:transparent;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;color:#788994;font-weight:700;padding:3px 0;min-width:0;border-radius:10px}.bottom-item>span{font-size:24px;line-height:27px}.bottom-item small{font-size:9px;white-space:nowrap}.bottom-item.active{color:#154b73}.bottom-item.active>span{background:#e7f0f6;padding:0 11px;border-radius:11px}#dashboard{padding-bottom:100px}.screen-header{margin:25px 0 16px}.screen-header h1{font-size:26px}.screen-header p{font-size:12px}#screen-home .cover{height:310px;border-radius:17px;background-position:58% center}#screen-home .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#screen-home .stats-grid .stat:last-child{grid-column:span 2}.stat{min-height:100px;padding:13px;flex-direction:column;gap:7px}.stat strong{font-size:23px}.stat-foot{font-size:10px}.stat .stat-title{font-size:17px}.home-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shortcut{padding:12px 9px;gap:6px}.shortcut>span{width:32px;height:32px;font-size:19px}.shortcut strong{font-size:10px}.shortcut small{font-size:9px}#screen-home .welcome-bar{padding:14px}#screen-home .welcome-bar .primary-btn{font-size:11px}#screen-profile .panel,#screen-donations .panel,#screen-badges .panel,#screen-card .panel{padding:18px}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.photo-editor{flex-wrap:wrap}.photo-editor>div{flex:1;min-width:170px}.footer{padding-bottom:90px}}
@media(min-width:761px){.app-screen .screen-content{width:100%}}


/* V4 user-friendly donor dashboard additions */
.method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 10px}
.method-card{display:block;border:1px solid #d9e3ea;border-radius:16px;background:#fff;padding:14px;cursor:pointer}
.method-card input{margin-right:8px}.method-card div{display:inline-block;vertical-align:middle}.method-card strong{display:block;font-size:14px;color:#15364c}.method-card small{display:block;font-size:11px;color:#748593;margin-top:3px}
.amount-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.pill{border:1px solid #d7e0e8;background:#f7fafc;color:#164460;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer}.pill.active,.pill:hover{background:#133c5a;color:#fff;border-color:#133c5a}
.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.donate-panel{margin-bottom:18px}
.info-note{background:#f6f1e6;border:1px solid #ead9b7;border-radius:14px;padding:14px 16px;color:#6b5330;font-size:13px;line-height:1.6;margin-top:14px}
#home-badge-chip{background:#f8efe0;color:#8c5d2e;border-color:#edd7b4}
.supporter-template{position:relative;max-width:640px;margin:0 auto;border-radius:22px;overflow:hidden;box-shadow:0 18px 44px rgba(20,48,68,.12);background:#f6ead1}
.supporter-template-bg{display:block;width:100%;height:auto}
.supporter-template-photo-wrap{position:absolute;left:30.7%;top:38.6%;width:30.5%;height:33.7%;border-radius:22px;overflow:hidden;background:#c6ab8d;border:4px solid rgba(195,96,28,.55)}
.supporter-template-photo-wrap img{width:100%;height:100%;object-fit:cover}
.supporter-template-meta{position:absolute;left:0;right:0;bottom:8.4%;text-align:center;padding:0 40px;color:#7f3c14}
.supporter-template-name{font:800 clamp(26px,3vw,38px)/1.15 Manrope,sans-serif;color:#7d3d16;letter-spacing:.02em;text-transform:uppercase;text-shadow:0 1px 0 rgba(255,255,255,.5)}
.supporter-template-id{margin-top:8px;font:700 clamp(14px,2vw,20px)/1.2 'DM Sans',sans-serif;color:#254115;letter-spacing:.08em}
.supporter-template-quote{margin-top:10px;font:italic 600 clamp(14px,1.8vw,21px)/1.2 Georgia,serif;color:#9a5925}
@media(max-width:760px){.method-grid,.compact{grid-template-columns:1fr}.supporter-template-meta{bottom:7.2%;padding:0 20px}.supporter-template-name{font-size:20px}.supporter-template-id{font-size:11px}.supporter-template-quote{font-size:12px}.supporter-template-photo-wrap{border-radius:18px}}

/* V5: corrected supporter card layout, portal payments and updates */
.supporter-template{width:min(100%,650px);position:relative;margin:0 auto;aspect-ratio:1;overflow:hidden;border-radius:17px;background:#fff2d6;box-shadow:0 15px 40px #1c334622}
.supporter-template-bg{display:block;width:100%;height:100%;object-fit:contain}
.supporter-template-photo-wrap{position:absolute!important;left:32.2%!important;top:34.1%!important;width:35.6%!important;height:35.2%!important;border:0!important;border-radius:16px!important;overflow:hidden;background:#cfaa87}
.supporter-template-photo-wrap img{display:block;width:100%;height:100%;object-fit:cover}
.supporter-template-meta{position:absolute!important;top:71.9%!important;left:7%!important;right:7%!important;bottom:auto!important;text-align:center;padding:0!important;max-height:10%}
.supporter-template-name{font:800 clamp(14px,2.55vw,27px)/1.18 Manrope,'DM Sans',sans-serif!important;letter-spacing:.025em;color:#703717;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.supporter-template-id{margin-top:4px!important;font:800 clamp(12px,1.95vw,19px)/1.3 'DM Sans',sans-serif!important;color:#29441b;letter-spacing:.09em}
.supporter-template-quote{display:none!important}
.portal-donate-nav{background:transparent;border:0;color:#184c73;font-weight:800;font-size:inherit;cursor:pointer;padding:0}
.sidebar-foot .portal-donate-nav{display:block;width:100%;text-align:center;background:#174c71;color:#fff;border-radius:11px;padding:12px}
.home-updates{display:grid;grid-template-columns:1.2fr 1fr;gap:13px;margin-top:16px}
.poster-panel,.updates-panel{padding:19px}.poster-layout{display:grid;grid-template-columns:130px 1fr;gap:14px;align-items:start}.poster-layout img{width:100%;border-radius:11px;max-height:195px;object-fit:cover}.poster-layout strong{color:#18384b;font-size:13px}.poster-layout p{font-size:12px;color:#617483;line-height:1.55}.poster-layout .primary-btn{font-size:11px;padding:9px 12px}
.donor-notice{border-bottom:1px solid #e6eaee;padding:11px 0;font-size:12px;color:#496176;line-height:1.5}.donor-notice:last-child{border-bottom:0}.donor-notice strong{display:block;color:#143b57;margin-bottom:3px}
.manual-payment-box{background:#f9fafc;border:1px solid #d9e5eb;border-radius:15px;margin:15px 0;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.manual-payment-box h4{margin:0;color:#183b57}.manual-payment-box p{margin:3px 0;font-size:12px;color:#617482;line-height:1.6}.manual-payment-box>img{width:min(100%,260px);border:1px solid #e3e9ec;background:white;border-radius:11px}.manual-payment-box .upi-copy{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.manual-payment-box input{width:min(100%,390px);border:1px solid #d8e2e8;padding:11px;border-radius:9px}.manual-payment-box label{font-weight:700;font-size:12px;margin-top:8px}.materials-panel{margin-bottom:18px}.materials-panel form{display:flex;flex-direction:column;gap:13px}
@media(max-width:900px){.home-updates{grid-template-columns:1fr}.poster-layout{grid-template-columns:112px 1fr}}
@media(max-width:760px){.supporter-template-meta{top:72.2%!important}.supporter-template-name{font-size:clamp(13px,4.6vw,22px)!important}.supporter-template-id{font-size:clamp(11px,3.5vw,18px)!important}.poster-layout{grid-template-columns:110px 1fr}.method-grid{grid-template-columns:1fr}.manual-payment-box{padding:14px}}

/* V6 premium Donate & History selection and layout improvements */
#screen-donations .screen-content{max-width:940px}
#screen-donations .panel{margin-bottom:18px;border:1px solid #e1e7eb;box-shadow:0 10px 30px rgba(16,43,66,.035);border-radius:22px}
#screen-donations .donate-panel,#screen-donations .materials-panel{padding:clamp(21px,3vw,31px)}
#screen-donations .panel-head{margin-bottom:20px;padding-bottom:16px}
#screen-donations .panel-head h3{font-size:20px;letter-spacing:-.025em}
.donation-field-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:13px;font-weight:800;color:#183c55;margin-bottom:13px}
.donation-field-title span{font-size:11px;color:#8093a0;font-weight:500}
.amount-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}
#amount-pills .pill{min-height:52px;display:flex;align-items:center;justify-content:center;border-radius:13px;border:1px solid #d7e4eb;background:#f7fafc;color:#1d4b6c;font-size:14px;font-weight:850;transition:.18s ease}
#amount-pills .pill.active,#amount-pills .pill:hover{background:#184b70;border-color:#184b70;color:white;box-shadow:0 8px 18px #174d7220;transform:translateY(-1px)}
#screen-donations .field label{display:block;color:#324f64;font-size:12px;font-weight:800;margin-bottom:7px}
#screen-donations .field input,#screen-donations .field select,#screen-donations .field textarea{display:block;width:100%;min-height:49px;padding:12px 15px;border:1px solid #d6e0e8;border-radius:12px;background:#fbfcfd;color:#143750;font-size:13px;line-height:1.45;transition:border-color .15s,box-shadow .15s}
#screen-donations .field textarea{min-height:87px;resize:vertical}
#screen-donations .field select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%233d617b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding-right:44px;cursor:pointer}
#screen-donations .field input:focus,#screen-donations .field select:focus,#screen-donations .field textarea:focus{outline:none;border-color:#3a7da6;box-shadow:0 0 0 3px rgba(61,125,166,.12);background:#fff}
#screen-donations .field input::placeholder,#screen-donations .field textarea::placeholder{color:#9cabb6}
#screen-donations .form-grid{column-gap:16px;row-gap:12px}
.donation-method-title{margin:14px 0 11px}
#screen-donations .method-grid{gap:13px;margin:0 0 20px}
#screen-donations .method-card{display:flex;align-items:center;position:relative;gap:12px;min-height:91px;padding:17px 18px;background:#fff;border:1px solid #d9e5ec;border-radius:16px;box-shadow:0 2px 12px #1b4a6505;cursor:pointer;transition:border .2s,box-shadow .2s,background .2s}
#screen-donations .method-card:hover{border-color:#91b4ce;box-shadow:0 6px 20px #1b4a6510}
#screen-donations .method-card.selected,#screen-donations .method-card:has(input:checked){border-color:#195b86;background:#eef6fb;box-shadow:0 0 0 2px rgba(25,91,134,.09)}
#screen-donations .method-card input{appearance:none!important;width:17px!important;height:17px!important;min-height:17px!important;flex:0 0 17px;margin:0!important;padding:0!important;border-radius:50%!important;border:2px solid #a1b5c3!important;background:#fff!important}
#screen-donations .method-card input:checked{border-color:#195b86!important;box-shadow:inset 0 0 0 4px #fff!important;background:#195b86!important}
#screen-donations .method-card .method-emoji{display:grid;place-items:center;flex:0 0 39px;height:39px;background:#ecf3f8;border-radius:12px;color:#225e86;font-size:23px;font-weight:800}
#screen-donations .method-card.selected .method-emoji{background:#d5e8f5}
#screen-donations .method-card div{display:block;flex:1;min-width:0}
#screen-donations .method-card strong{font-size:13px;color:#193e59}
#screen-donations .method-card small{font-size:11px;color:#6d8190;margin-top:5px;line-height:1.35}
#screen-donations .method-tick{font-size:12px;font-weight:800;color:#fff;background:#1b6a92;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;opacity:0}
#screen-donations .method-card.selected .method-tick,#screen-donations .method-card:has(input:checked) .method-tick{opacity:1}
#screen-donations .primary-btn{border-radius:12px;min-height:45px;padding:13px 20px}
#screen-donations .button-row .primary-btn{width:100%;max-width:360px}
#screen-donations .materials-panel .primary-btn{width:100%;margin-top:7px}
.manual-payment-box{max-width:100%;background:#f6f9fb;border-radius:18px;padding:23px}
.manual-payment-box>img{width:min(100%,250px)}
.manual-payment-box #manual-utr{width:min(100%,430px);background:white}
.manual-payment-box label{margin-top:8px;font-size:12px;font-weight:800}
.manual-payment-box .optional{font-size:11px;color:#728798;font-weight:500}
@media(max-width:900px){#dashboard .app-layout{grid-template-columns:210px minmax(0,1fr);gap:16px}#screen-donations .method-card{padding:14px;gap:9px}.amount-pills{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#screen-donations .donate-panel,#screen-donations .materials-panel{padding:19px}#screen-donations .method-grid{grid-template-columns:1fr}#screen-donations .method-card{min-height:77px}#screen-donations .form-grid{grid-template-columns:1fr}#screen-donations .panel{border-radius:18px}.donation-field-title{display:block}.donation-field-title span{display:block;margin-top:4px}.amount-pills{grid-template-columns:repeat(2,minmax(0,1fr))}#screen-donations .button-row .primary-btn{max-width:100%}}

/* Donor Community V2 – image-accurate supporter-card canvas */
#screen-card .supporter-canvas-shell{width:min(100%,670px);margin:0 auto;position:relative;border-radius:20px;overflow:hidden;background:#fbf5e9;border:1px solid #eadcc3;box-shadow:0 24px 58px rgba(22,48,57,.14)}
#screen-card .supporter-card-canvas{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
#screen-card .supporter-canvas-status{font-size:12px;padding:10px 16px;background:#f5eee1;text-align:center;color:#8c6449;border-top:1px solid #ecdec9}
#screen-card .supporter-canvas-status.is-ready{color:#386f51}
#screen-card .button-row{justify-content:center;margin:20px auto 0}
#screen-card .section-description{max-width:670px;margin:15px auto;}
#screen-home .donor-programme-notice{padding:14px 0;border-bottom:1px solid #e3e9e8}
#screen-home .donor-notice-category{display:inline-block;font-size:9px;letter-spacing:.12em;font-weight:900;color:#8d6341;margin-bottom:6px}
#screen-home .donor-programme-notice p{margin:6px 0 8px;color:#617582;line-height:1.55}
#screen-home .donor-programme-notice a{display:inline-flex;gap:5px;font-size:11px;color:#176245;text-decoration:none;font-weight:800}
#screen-home .donor-programme-notice a:hover{text-decoration:underline}
@media(max-width:760px){#screen-card .supporter-canvas-shell{border-radius:15px}#screen-card .supporter-canvas-status{font-size:11px;padding:9px}}


/* Donor Community V3 – programmes, monthly membership, accessible notices and supplied poster */
#screen-home .home-updates{grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr);align-items:start;gap:16px}
#screen-home .donor-programme-list{display:grid;gap:13px}
#screen-home .donor-programme-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:15px;padding:12px;border:1px solid #e0e8e7;border-radius:16px;background:linear-gradient(120deg,#fcfdfb,#f4f8f5)}
#screen-home .donor-programme-card:nth-child(2){background:linear-gradient(120deg,#f7f8fc,#fff9f1)}
#screen-home .donor-programme-card>img{width:100%;height:100%;max-height:175px;min-height:145px;object-fit:cover;object-position:center;border-radius:11px}
#screen-home .donor-programme-content{min-width:0;display:flex;flex-direction:column;gap:7px}
#screen-home .donor-programme-type{font-size:9px;font-weight:900;letter-spacing:.08em;color:#8d643d}
#screen-home .donor-programme-content h4{font-size:14px;line-height:1.35;color:#18374c;margin:0}
#screen-home .donor-programme-content p{font-size:11px;color:#657681;line-height:1.6;margin:0}
#screen-home .donor-programme-content p.donor-programme-budget{color:#275b47;font-weight:600}
#screen-home .donor-programme-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:5px}
#screen-home .donor-programme-actions .primary-btn{font-size:11px;padding:10px 12px}
#screen-home .donor-programme-actions a{font-size:11px;text-decoration:none;font-weight:800;color:#1d5b7a}
#screen-home .donor-programme-actions a:hover{text-decoration:underline}
#screen-home .donor-notice-action{width:100%;display:block;text-align:left;background:#fff;color:inherit;border:1px solid #e5eaeb;border-radius:12px;padding:13px 14px;margin:9px 0;cursor:pointer;transition:border-color .18s,transform .18s,box-shadow .18s}
#screen-home .donor-notice-action:hover,#screen-home .donor-notice-action:focus-visible{border-color:#85afaf;box-shadow:0 9px 22px rgba(16,43,68,.1);transform:translateY(-1px);outline:none}
#screen-home .donor-notice-action strong{display:block;font-size:12px;margin:5px 0;color:#173c55}
#screen-home .donor-notice-action p{margin:0;color:#677b86;font-size:11px;line-height:1.55}
#screen-home .donor-notice-action .donor-notice-hint{display:block;margin-top:7px;font-size:10px;font-weight:800;color:#1c704e}
#screen-home .donor-monthly-panel{margin-top:16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:22px 24px;border:1px solid rgba(216,190,147,.45);border-radius:23px;background:radial-gradient(circle at 5% 10%,rgba(222,180,104,.15),transparent 30%),linear-gradient(120deg,#133c46,#1d584f 54%,#76563b);box-shadow:0 18px 38px rgba(16,43,68,.14);color:#fff}
#screen-home .donor-monthly-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:rgba(255,232,179,.17);border:1px solid rgba(255,232,179,.27);font-size:30px;color:#ffdd97}
#screen-home .donor-monthly-intro h3{margin:4px 0 7px;font-size:clamp(17px,2.3vw,22px);line-height:1.2;color:#fff}
#screen-home .donor-monthly-intro .overline{color:#f9cf89}
#screen-home .donor-monthly-intro p{font-size:12px;line-height:1.65;color:#e1ebe5;margin:5px 0}
#screen-home .donor-monthly-intro .donor-monthly-status{color:#ffe6aa;font-weight:700}
#screen-home .donor-monthly-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;min-width:175px}
#screen-home .donor-monthly-actions .primary-btn{background:#efbd6b;color:#20372f;border:0;white-space:nowrap}
#screen-home .monthly-secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.5);background:transparent;color:#fff;border-radius:10px;font-weight:800;padding:10px 13px;font-size:11px;cursor:pointer}
#screen-home .monthly-secondary:hover{background:rgba(255,255,255,.11)}
#dashboard .donor-info-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 36px);border:none;padding:0;border-radius:22px;box-shadow:0 26px 80px rgba(8,25,40,.35);background:#fff}
#dashboard .donor-info-dialog::backdrop{background:rgba(9,27,42,.67);backdrop-filter:blur(4px)}
#dashboard .donor-dialog-body{position:relative;display:flex;flex-direction:column;gap:12px;margin:0;padding:27px 28px 25px;color:#173b4f}
#dashboard .donor-dialog-body h3{font-size:23px;margin:2px 0 2px}
#dashboard .donor-dialog-body p{font-size:13px;color:#597280;line-height:1.7;margin:2px 0 7px}
#dashboard .donor-dialog-close{position:absolute;top:10px;right:10px;border:0;border-radius:50%;width:37px;height:37px;background:#f0f5f6;color:#123747;font-size:23px;cursor:pointer}
#dashboard .donor-dialog-body label{font-weight:800;font-size:12px;color:#1c4256}
#dashboard .donor-dialog-body select{display:block;padding:11px 13px;border:1px solid #dae4e7;border-radius:11px;background:#faffff;color:#153c50;width:100%}
#dashboard .donor-dialog-body .monthly-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:600;line-height:1.55;color:#3b5866}
#dashboard .donor-dialog-body .monthly-consent input{margin-top:3px;flex:none}
#dashboard .donor-monthly-dialog-actions{display:flex;flex-wrap:wrap;gap:10px}
#dashboard .donor-monthly-dialog-actions .monthly-secondary{color:#1f5361;border:1px solid #b4cdd3}
#screen-card .supporter-canvas-shell{background:#2d0640;border-color:#6d315e;width:min(100%,610px)}
#screen-card .supporter-card-canvas{aspect-ratio:1199/1312;object-fit:contain}
#screen-card .supporter-canvas-status{background:#250b36;color:#fff1bf;border-top-color:#644169}
@media(max-width:1050px){#screen-home .home-updates{grid-template-columns:1fr}#screen-home .donor-monthly-panel{grid-template-columns:auto 1fr}#screen-home .donor-monthly-actions{grid-column:2;flex-direction:row;flex-wrap:wrap}}
@media(max-width:700px){#screen-home .donor-monthly-panel{grid-template-columns:1fr;padding:21px}#screen-home .donor-monthly-actions{grid-column:1;flex-direction:column}#screen-home .donor-programme-card{grid-template-columns:95px minmax(0,1fr);gap:10px;padding:10px}#screen-home .donor-programme-card>img{min-height:135px}#screen-home .donor-programme-actions{gap:7px}#screen-home .donor-programme-actions .primary-btn{padding:9px 10px}#dashboard .donor-dialog-body{padding:24px 19px}}
@media(prefers-reduced-motion:reduce){#screen-home .donor-notice-action{transition:none}}

/* Donor-approved square recognition poster, 18 Nov V4 */
#screen-card .supporter-card-canvas{aspect-ratio:1/1;object-fit:contain}
#screen-card .supporter-canvas-shell{width:min(100%,640px)}

/* PAMVERSE Donor Community mobile refinement | 20 Nov 2026 */
@media (max-width:760px){
  /* Exactly five bottom destinations. Card remains accessible from dashboard shortcut and desktop sidebar. */
  .app-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;min-height:68px;padding:7px max(6px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));}
  .bottom-item{min-height:52px;gap:3px;padding:4px 1px;}
  .bottom-item>span{font-size:23px;line-height:26px;}
  .bottom-item small{font-size:10px;line-height:13px;}
  .bottom-item.active>span{padding:0 10px;}
  #dashboard{padding-bottom:calc(90px + env(safe-area-inset-bottom));}
  .header-inner{min-height:66px;gap:10px;}
  .brand{gap:8px;min-width:0;}
  .brand img{width:38px;height:38px;flex:none;}
  .brand strong{font-size:12px;letter-spacing:.09em;}
  .brand small{font-size:8px;letter-spacing:.085em;}
  .topnav{gap:9px;flex-shrink:0;}
  .topnav .portal-donate-nav{font-size:13px;}
  .topnav .nav-logout{padding:10px 12px;}
  #screen-home .cover{
    /* Complete 3:1 campaign banner, with no cropped words at mobile widths. */
    height:clamp(330px,91vw,390px);
    background-color:#162f43;
    background-image:url('/assets/donor-supporter-cover.webp');
    background-size:100% auto;
    background-position:center top;
    background-repeat:no-repeat;
    overflow:hidden;
  }
  #screen-home .cover-shade{background:linear-gradient(to bottom,rgba(13,36,53,0) 0%,rgba(13,36,53,.06) 40%,rgba(13,36,53,.86) 64%,#102d42 100%);}
  #screen-home .cover-info{left:18px;right:18px;bottom:18px;max-width:none;display:flex;align-items:flex-end;gap:12px;}
  #screen-home .avatar-shell{width:76px;height:81px;flex:0 0 76px;border-radius:14px;}
  #screen-home .identity{min-width:0;margin:0;}
  #screen-home .identity h2{font-size:clamp(19px,4.7vw,27px);overflow-wrap:anywhere;}
  #screen-home .identity-tags{display:flex;flex-wrap:wrap;gap:5px;}
  #screen-home .identity-tags span{font-size:9px;}
  #screen-home .home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));}
  #screen-home .stats-grid .stat strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
}
@media(max-width:380px){
  .topnav{gap:5px;}.topnav .portal-donate-nav{font-size:12px}.topnav .nav-logout{font-size:10px;padding:9px 10px;}
  #screen-home .cover-info{display:block;}
  #screen-home .avatar-shell{width:65px;height:68px;}
  #screen-home .identity{margin-top:8px;}
  #screen-home .cover{height:390px;}
}

/* PAMVERSE mobile dashboard polish | 20 November 2026 – v2 */
.donor-notifications-toggle{display:none;}
@media(max-width:760px){
  /* Keep the complete campaign image readable and bring the identity up. */
  #screen-home .cover{height:clamp(264px,78vw,322px);background-size:100% auto;background-position:center top;margin-bottom:13px;}
  #screen-home .cover-shade{background:linear-gradient(to bottom,transparent 0%,transparent 30%,rgba(12,35,52,.06) 42%,rgba(12,35,52,.84) 69%,#102d42 100%);}
  #screen-home .cover-info{bottom:14px;left:14px;right:14px;gap:11px;align-items:end;}
  #screen-home .avatar-shell{width:72px;height:77px;flex-basis:72px;border-radius:13px;}
  #screen-home .cover-kicker{font-size:10px;letter-spacing:.07em;}
  #screen-home .identity h2{font-size:clamp(18px,4.8vw,25px);line-height:1.15;margin:4px 0 7px;}
  #screen-home .identity-tags{gap:5px;}
  #screen-home .identity-tags span{font-size:10px;line-height:1.3;padding:5px 7px;}
  #screen-home .screen-header{margin:19px 0 14px;}
  #screen-home .screen-header h1{line-height:1.16;}
  #screen-home .screen-header p{font-size:14px;line-height:1.5;}
  #screen-home .stat{padding:15px;gap:9px;min-height:122px;}
  #screen-home .stat small{font-size:12px;line-height:1.4;}
  #screen-home .stat-foot{font-size:12px;line-height:1.45;}
  #screen-home .home-updates{gap:14px;}
  #screen-home .home-updates .panel{padding:17px 15px;border-radius:18px;}
  #screen-home .home-updates .panel-head h3{font-size:clamp(18px,4.7vw,22px);line-height:1.3;}
  #screen-home .home-updates .section-description{font-size:13px;line-height:1.5;}
  #screen-home .donor-programme-card{grid-template-columns:93px minmax(0,1fr);gap:12px;padding:11px;}
  #screen-home .donor-programme-card>img{min-height:124px;max-height:175px;}
  #screen-home .donor-programme-content{gap:6px;}
  #screen-home .donor-programme-content h4{font-size:14px;}
  #screen-home .donor-programme-content p{font-size:12px;line-height:1.5;}
  #screen-home .donor-programme-actions a{font-size:12px;}
  #screen-home .donor-notice-action{padding:13px 14px;margin:8px 0;border-radius:13px;}
  #screen-home .donor-notice-action strong{font-size:14px;line-height:1.35;}
  #screen-home .donor-notice-action p{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  #screen-home .donor-notice-category{font-size:10px;letter-spacing:.055em;}
  #screen-home .donor-notice-hint{font-size:12px!important;}
  #screen-home #donor-notifications:not(.show-all) .donor-notice-action:nth-child(n+3){display:none;}
  #screen-home .donor-notifications-toggle:not([hidden]){display:flex;justify-content:center;gap:8px;align-items:center;width:100%;margin:12px 0 5px;padding:11px 12px;border:1px solid #cbdedb;border-radius:11px;background:#f2f8f6;color:#1a5e50;font-size:13px;font-weight:800;}
  #screen-home .updates-panel .fine-print{font-size:11px;line-height:1.5;}
  #screen-home .donor-monthly-panel{padding:19px 17px;}
  #screen-home .donor-monthly-intro p{font-size:13px;line-height:1.55;}
  #screen-home .donor-monthly-actions .primary-btn,#screen-home .monthly-secondary{white-space:normal;min-height:43px;font-size:13px;}
}
@media(max-width:380px){
  #screen-home .cover{height:285px;}
  #screen-home .cover-info{display:flex;}
  #screen-home .avatar-shell{width:62px;height:68px;flex-basis:62px;}
  #screen-home .identity{margin-top:0;}
  #screen-home .identity h2{font-size:18px;}
  #screen-home .identity-tags span{font-size:9px;padding:4px 6px;}
  #screen-home .donor-programme-card{grid-template-columns:85px minmax(0,1fr);gap:9px;}
}

/* Supporter hero is a clickable shortcut to the personal downloadable card. */
#screen-home .cover[data-screen-jump="card"]{cursor:pointer;}
#screen-home .cover[data-screen-jump="card"]:focus-visible{outline:3px solid #bc8b48;outline-offset:4px;}
@media(hover:hover){#screen-home .cover[data-screen-jump="card"]:hover{box-shadow:0 14px 32px rgba(16,44,68,.22);}}
